aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/SyncPlay/Requests/NewGroupRequest.cs
blob: 1321f0de8e8af72728a3d9f59ad44f4650c093f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using MediaBrowser.Model.SyncPlay;

namespace MediaBrowser.Controller.SyncPlay.Requests
{
    /// <summary>
    /// Class NewGroupRequest.
    /// </summary>
    public class NewGroupRequest : ISyncPlayRequest
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="NewGroupRequest"/> class.
        /// </summary>
        /// <param name="groupName">The name of the new group.</param>
        public NewGroupRequest(string groupName)
        {
            GroupName = groupName;
        }

        /// <summary>
        /// Gets the group name.
        /// </summary>
        /// <value>The name of the new group.</value>
        public string GroupName { get; }

        /// <inheritdoc />
        public RequestType Type { get; } = RequestType.NewGroup;
    }
}