BililiveRecorder/BililiveRecorder.Core/Api/Model/DanmuInfo.cs
2021-02-23 18:03:37 +08:00

24 lines
563 B
C#

using System;
using Newtonsoft.Json;
namespace BililiveRecorder.Core.Api.Model
{
public class DanmuInfo
{
[JsonProperty("host_list")]
public HostListItem[] HostList { get; set; } = Array.Empty<HostListItem>();
[JsonProperty("token")]
public string Token { get; set; } = string.Empty;
public class HostListItem
{
[JsonProperty("host")]
public string Host { get; set; } = string.Empty;
[JsonProperty("port")]
public int Port { get; set; }
}
}
}