Files
nadekobot/src/NadekoBot.Voice/Models/SelectProtocol.cs
2024-04-27 22:45:14 +00:00

23 lines
578 B
C#

using Newtonsoft.Json;
namespace NadekoBot.Voice.Models
{
public sealed class SelectProtocol
{
[JsonProperty("protocol")]
public string Protocol { get; set; }
[JsonProperty("data")]
public ProtocolData Data { get; set; }
public sealed class ProtocolData
{
[JsonProperty("address")]
public string Address { get; set; }
[JsonProperty("port")]
public int Port { get; set; }
[JsonProperty("mode")]
public string Mode { get; set; }
}
}
}