diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-01-03 21:35:41 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-01-03 21:35:41 -0500 |
| commit | 135168b0e0640211aee5cda9285cffb184385e83 (patch) | |
| tree | ccbdd9a8a5299aa557b888919b1884e5705ed05e /MediaBrowser.Model/Session | |
| parent | 6da42312441dcdad2fbbd831a219398371340b43 (diff) | |
support adding additional users to sessions
Diffstat (limited to 'MediaBrowser.Model/Session')
| -rw-r--r-- | MediaBrowser.Model/Session/SessionInfoDto.cs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Session/SessionInfoDto.cs b/MediaBrowser.Model/Session/SessionInfoDto.cs index 80f6ea2c0..f3980e2e4 100644 --- a/MediaBrowser.Model/Session/SessionInfoDto.cs +++ b/MediaBrowser.Model/Session/SessionInfoDto.cs @@ -44,6 +44,12 @@ namespace MediaBrowser.Model.Session public string UserName { get; set; } /// <summary> + /// Gets or sets the additional users present. + /// </summary> + /// <value>The additional users present.</value> + public List<SessionUserInfo> AdditionalUsersPresent { get; set; } + + /// <summary> /// Gets or sets the application version. /// </summary> /// <value>The application version.</value> @@ -128,5 +134,27 @@ namespace MediaBrowser.Model.Session public bool SupportsRemoteControl { get; set; } public event PropertyChangedEventHandler PropertyChanged; + + public SessionInfoDto() + { + AdditionalUsersPresent = new List<SessionUserInfo>(); + } + } + + /// <summary> + /// Class SessionUserInfo. + /// </summary> + public class SessionUserInfo + { + /// <summary> + /// Gets or sets the user identifier. + /// </summary> + /// <value>The user identifier.</value> + public string UserId { get; set; } + /// <summary> + /// Gets or sets the name of the user. + /// </summary> + /// <value>The name of the user.</value> + public string UserName { get; set; } } } |
