using MediaBrowser.Model.Entities; using ProtoBuf; using System; namespace MediaBrowser.Model.Connectivity { /// /// Class ClientConnectionInfo /// [ProtoContract] public class ClientConnectionInfo { /// /// Gets or sets the user id. /// /// The user id. [ProtoMember(1)] public string UserId { get; set; } /// /// Gets or sets the type of the client. /// /// The type of the client. [ProtoMember(2)] public string Client { get; set; } /// /// Gets or sets the last activity date. /// /// The last activity date. [ProtoMember(3)] public DateTime LastActivityDate { get; set; } /// /// Gets or sets the name of the device. /// /// The name of the device. [ProtoMember(4)] public string DeviceName { get; set; } /// /// Gets or sets the now playing item. /// /// The now playing item. [ProtoMember(5)] public BaseItemInfo NowPlayingItem { get; set; } /// /// Gets or sets the now playing position ticks. /// /// The now playing position ticks. [ProtoMember(6)] public long? NowPlayingPositionTicks { get; set; } /// /// Gets or sets the device id. /// /// The device id. [ProtoMember(7)] public string DeviceId { get; set; } } }