aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Session/GeneralCommand.cs
blob: dfbb616aa884ad39efee8495535eeb3c116f2eec (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
#pragma warning disable CS1591

using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;

namespace MediaBrowser.Model.Session;

public class GeneralCommand
{
    public GeneralCommand()
        : this(new Dictionary<string, string>())
    {
    }

    [JsonConstructor]
    public GeneralCommand(Dictionary<string, string>? arguments)
    {
        Arguments = arguments ?? new Dictionary<string, string>();
    }

    public GeneralCommandType Name { get; set; }

    public Guid ControllingUserId { get; set; }

    public Dictionary<string, string> Arguments { get; }
}