using System;
using System.Collections.Generic;
namespace MediaBrowser.Model.SyncPlay
{
    /// 
    /// Class GroupInfoDto.
    /// 
    public class GroupInfoDto
    {
        /// 
        /// Initializes a new instance of the  class.
        /// 
        /// The group identifier.
        /// The group name.
        /// The group state.
        /// The participants.
        /// The date when this DTO has been created.
        public GroupInfoDto(Guid groupId, string groupName, GroupStateType state, IReadOnlyList participants, DateTime lastUpdatedAt)
        {
            GroupId = groupId;
            GroupName = groupName;
            State = state;
            Participants = participants;
            LastUpdatedAt = lastUpdatedAt;
        }
        /// 
        /// Gets the group identifier.
        /// 
        /// The group identifier.
        public Guid GroupId { get; }
        /// 
        /// Gets the group name.
        /// 
        /// The group name.
        public string GroupName { get; }
        /// 
        /// Gets the group state.
        /// 
        /// The group state.
        public GroupStateType State { get; }
        /// 
        /// Gets the participants.
        /// 
        /// The participants.
        public IReadOnlyList Participants { get; }
        /// 
        /// Gets the date when this DTO has been created.
        /// 
        /// The date when this DTO has been created.
        public DateTime LastUpdatedAt { get; }
    }
}