using System;
using MediaBrowser.Model.SyncPlay;
namespace MediaBrowser.Controller.SyncPlay.Requests
{
    /// 
    /// Class JoinGroupRequest.
    /// 
    public class JoinGroupRequest : ISyncPlayRequest
    {
        /// 
        /// Initializes a new instance of the  class.
        /// 
        /// The identifier of the group to join.
        public JoinGroupRequest(Guid groupId)
        {
            GroupId = groupId;
        }
        /// 
        /// Gets the group identifier.
        /// 
        /// The identifier of the group to join.
        public Guid GroupId { get; }
        /// 
        public RequestType Type { get; } = RequestType.JoinGroup;
    }
}