namespace MediaBrowser.Model.Net;
///
/// Class holding information for a published server URI override.
///
public class PublishedServerUriOverride
{
///
/// Initializes a new instance of the class.
///
/// The .
/// The override.
/// A value indicating whether the override is for internal requests.
/// A value indicating whether the override is for external requests.
public PublishedServerUriOverride(IPData data, string overrideUri, bool internalOverride, bool externalOverride)
{
Data = data;
OverrideUri = overrideUri;
IsInternalOverride = internalOverride;
IsExternalOverride = externalOverride;
}
///
/// Gets or sets the object's IP address.
///
public IPData Data { get; set; }
///
/// Gets or sets the override URI.
///
public string OverrideUri { get; set; }
///
/// Gets or sets a value indicating whether the override should be applied to internal requests.
///
public bool IsInternalOverride { get; set; }
///
/// Gets or sets a value indicating whether the override should be applied to external requests.
///
public bool IsExternalOverride { get; set; }
}