| | | 1 | | using System; |
| | | 2 | | using System.Collections.Generic; |
| | | 3 | | |
| | | 4 | | namespace MediaBrowser.Model.SyncPlay |
| | | 5 | | { |
| | | 6 | | /// <summary> |
| | | 7 | | /// Class GroupInfoDto. |
| | | 8 | | /// </summary> |
| | | 9 | | public class GroupInfoDto |
| | | 10 | | { |
| | | 11 | | /// <summary> |
| | | 12 | | /// Initializes a new instance of the <see cref="GroupInfoDto"/> class. |
| | | 13 | | /// </summary> |
| | | 14 | | /// <param name="groupId">The group identifier.</param> |
| | | 15 | | /// <param name="groupName">The group name.</param> |
| | | 16 | | /// <param name="state">The group state.</param> |
| | | 17 | | /// <param name="participants">The participants.</param> |
| | | 18 | | /// <param name="lastUpdatedAt">The date when this DTO has been created.</param> |
| | | 19 | | public GroupInfoDto(Guid groupId, string groupName, GroupStateType state, IReadOnlyList<string> participants, Da |
| | | 20 | | { |
| | | 21 | | GroupId = groupId; |
| | | 22 | | GroupName = groupName; |
| | | 23 | | State = state; |
| | | 24 | | Participants = participants; |
| | | 25 | | LastUpdatedAt = lastUpdatedAt; |
| | 0 | 26 | | } |
| | | 27 | | |
| | | 28 | | /// <summary> |
| | | 29 | | /// Gets the group identifier. |
| | | 30 | | /// </summary> |
| | | 31 | | /// <value>The group identifier.</value> |
| | | 32 | | public Guid GroupId { get; } |
| | | 33 | | |
| | | 34 | | /// <summary> |
| | | 35 | | /// Gets the group name. |
| | | 36 | | /// </summary> |
| | | 37 | | /// <value>The group name.</value> |
| | | 38 | | public string GroupName { get; } |
| | | 39 | | |
| | | 40 | | /// <summary> |
| | | 41 | | /// Gets the group state. |
| | | 42 | | /// </summary> |
| | | 43 | | /// <value>The group state.</value> |
| | | 44 | | public GroupStateType State { get; } |
| | | 45 | | |
| | | 46 | | /// <summary> |
| | | 47 | | /// Gets the participants. |
| | | 48 | | /// </summary> |
| | | 49 | | /// <value>The participants.</value> |
| | | 50 | | public IReadOnlyList<string> Participants { get; } |
| | | 51 | | |
| | | 52 | | /// <summary> |
| | | 53 | | /// Gets the date when this DTO has been created. |
| | | 54 | | /// </summary> |
| | | 55 | | /// <value>The date when this DTO has been created.</value> |
| | | 56 | | public DateTime LastUpdatedAt { get; } |
| | | 57 | | } |
| | | 58 | | } |