diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-09 18:43:11 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-09 18:43:11 -0400 |
| commit | 35a7986b3f2c40e66bb7da6a9ae91b38cc763422 (patch) | |
| tree | a81b31b24b2372ce2c8f23faedcf240f8bd7e700 /MediaBrowser.Model/Session/SessionInfoDto.cs | |
| parent | 2b2832076471f789d46faf938596c57a18601e1f (diff) | |
added model classes for remote control
Diffstat (limited to 'MediaBrowser.Model/Session/SessionInfoDto.cs')
| -rw-r--r-- | MediaBrowser.Model/Session/SessionInfoDto.cs | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Session/SessionInfoDto.cs b/MediaBrowser.Model/Session/SessionInfoDto.cs new file mode 100644 index 000000000..0548876a1 --- /dev/null +++ b/MediaBrowser.Model/Session/SessionInfoDto.cs @@ -0,0 +1,62 @@ +using MediaBrowser.Model.Entities; +using System; + +namespace MediaBrowser.Model.Session +{ + public class SessionInfoDto + { + /// <summary> + /// Gets or sets the id. + /// </summary> + /// <value>The id.</value> + public Guid Id { get; set; } + + /// <summary> + /// Gets or sets the user id. + /// </summary> + /// <value>The user id.</value> + public string UserId { get; set; } + + /// <summary> + /// Gets or sets the type of the client. + /// </summary> + /// <value>The type of the client.</value> + public string Client { get; set; } + + /// <summary> + /// Gets or sets the last activity date. + /// </summary> + /// <value>The last activity date.</value> + public DateTime LastActivityDate { get; set; } + + /// <summary> + /// Gets or sets the name of the device. + /// </summary> + /// <value>The name of the device.</value> + public string DeviceName { get; set; } + + /// <summary> + /// Gets or sets the now playing item. + /// </summary> + /// <value>The now playing item.</value> + public BaseItemInfo NowPlayingItem { get; set; } + + /// <summary> + /// Gets or sets the now playing position ticks. + /// </summary> + /// <value>The now playing position ticks.</value> + public long? NowPlayingPositionTicks { get; set; } + + /// <summary> + /// Gets or sets the device id. + /// </summary> + /// <value>The device id.</value> + public string DeviceId { get; set; } + + /// <summary> + /// Gets or sets a value indicating whether [supports remote control]. + /// </summary> + /// <value><c>true</c> if [supports remote control]; otherwise, <c>false</c>.</value> + public bool SupportsRemoteControl { get; set; } + } +} |
