From 35a7986b3f2c40e66bb7da6a9ae91b38cc763422 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 9 May 2013 18:43:11 -0400 Subject: added model classes for remote control --- MediaBrowser.Controller/Session/SessionInfo.cs | 66 ++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 MediaBrowser.Controller/Session/SessionInfo.cs (limited to 'MediaBrowser.Controller/Session/SessionInfo.cs') diff --git a/MediaBrowser.Controller/Session/SessionInfo.cs b/MediaBrowser.Controller/Session/SessionInfo.cs new file mode 100644 index 0000000000..21c65df975 --- /dev/null +++ b/MediaBrowser.Controller/Session/SessionInfo.cs @@ -0,0 +1,66 @@ +using MediaBrowser.Common.Net; +using MediaBrowser.Controller.Entities; +using System; + +namespace MediaBrowser.Controller.Session +{ + /// + /// Class SessionInfo + /// + public class SessionInfo + { + /// + /// Gets or sets the id. + /// + /// The id. + public Guid Id { get; set; } + + /// + /// Gets or sets the user id. + /// + /// The user id. + public Guid? UserId { get; set; } + + /// + /// Gets or sets the type of the client. + /// + /// The type of the client. + public string Client { get; set; } + + /// + /// Gets or sets the last activity date. + /// + /// The last activity date. + public DateTime LastActivityDate { get; set; } + + /// + /// Gets or sets the name of the device. + /// + /// The name of the device. + public string DeviceName { get; set; } + + /// + /// Gets or sets the now playing item. + /// + /// The now playing item. + public BaseItem NowPlayingItem { get; set; } + + /// + /// Gets or sets the now playing position ticks. + /// + /// The now playing position ticks. + public long? NowPlayingPositionTicks { get; set; } + + /// + /// Gets or sets the device id. + /// + /// The device id. + public string DeviceId { get; set; } + + /// + /// Gets or sets the web socket. + /// + /// The web socket. + public IWebSocketConnection WebSocket { get; set; } + } +} -- cgit v1.2.3