diff options
Diffstat (limited to 'MediaBrowser.Model/Devices/DeviceInfo.cs')
| -rw-r--r-- | MediaBrowser.Model/Devices/DeviceInfo.cs | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/MediaBrowser.Model/Devices/DeviceInfo.cs b/MediaBrowser.Model/Devices/DeviceInfo.cs index fce3b02f6..e5efe9f60 100644 --- a/MediaBrowser.Model/Devices/DeviceInfo.cs +++ b/MediaBrowser.Model/Devices/DeviceInfo.cs @@ -1,15 +1,35 @@ -using System; -using MediaBrowser.Model.Session; +using MediaBrowser.Model.Session; +using System; namespace MediaBrowser.Model.Devices { public class DeviceInfo { /// <summary> - /// Gets or sets the name. + /// Gets or sets the name of the reported. + /// </summary> + /// <value>The name of the reported.</value> + public string ReportedName { get; set; } + /// <summary> + /// Gets or sets the name of the custom. + /// </summary> + /// <value>The name of the custom.</value> + public string CustomName { get; set; } + /// <summary> + /// Gets or sets the camera upload path. + /// </summary> + /// <value>The camera upload path.</value> + public string CameraUploadPath { get; set; } + + /// <summary> + /// Gets the name. /// </summary> /// <value>The name.</value> - public string Name { get; set; } + public string Name + { + get { return string.IsNullOrEmpty(CustomName) ? ReportedName : CustomName; } + } + /// <summary> /// Gets or sets the identifier. /// </summary> |
