namespace MediaBrowser.Model.SyncPlay
{
    /// 
    /// Class GroupStateUpdate.
    /// 
    public class GroupStateUpdate
    {
        /// 
        /// Initializes a new instance of the  class.
        /// 
        /// The state of the group.
        /// The reason of the state change.
        public GroupStateUpdate(GroupStateType state, PlaybackRequestType reason)
        {
            State = state;
            Reason = reason;
        }
        /// 
        /// Gets the state of the group.
        /// 
        /// The state of the group.
        public GroupStateType State { get; }
        /// 
        /// Gets the reason of the state change.
        /// 
        /// The reason of the state change.
        public PlaybackRequestType Reason { get; }
    }
}