2020-02-04 01:49:27 +01:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 21:02:23 +01:00
|
|
|
using System;
|
2019-01-13 20:26:15 +01:00
|
|
|
using System.Collections.Generic;
|
2022-03-01 01:30:17 +01:00
|
|
|
using System.Text.Json.Serialization;
|
2018-12-28 00:27:57 +01:00
|
|
|
|
2022-03-01 01:30:17 +01:00
|
|
|
namespace MediaBrowser.Model.Session;
|
|
|
|
|
|
|
|
public class GeneralCommand
|
2018-12-28 00:27:57 +01:00
|
|
|
{
|
2022-03-01 01:30:17 +01:00
|
|
|
public GeneralCommand()
|
|
|
|
: this(new Dictionary<string, string>())
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
[JsonConstructor]
|
2022-06-12 02:34:29 +02:00
|
|
|
public GeneralCommand(Dictionary<string, string>? arguments)
|
2018-12-28 00:27:57 +01:00
|
|
|
{
|
2022-06-12 02:34:29 +02:00
|
|
|
Arguments = arguments ?? new Dictionary<string, string>();
|
2022-03-01 01:30:17 +01:00
|
|
|
}
|
2021-02-20 23:13:04 +01:00
|
|
|
|
2022-03-01 01:30:17 +01:00
|
|
|
public GeneralCommandType Name { get; set; }
|
2021-02-20 23:13:04 +01:00
|
|
|
|
2022-03-01 01:30:17 +01:00
|
|
|
public Guid ControllingUserId { get; set; }
|
2021-02-20 23:13:04 +01:00
|
|
|
|
2022-03-01 01:30:17 +01:00
|
|
|
public Dictionary<string, string> Arguments { get; }
|
2018-12-28 00:27:57 +01:00
|
|
|
}
|