mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-12-27 12:35:35 +08:00
24 lines
563 B
C#
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; }
|
||
|
}
|
||
|
}
|
||
|
}
|