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