BililiveRecorder/BililiveRecorder.Core/Api/BilibiliApiResponse.cs

14 lines
273 B
C#

using Newtonsoft.Json;
namespace BililiveRecorder.Core.Api
{
internal class BilibiliApiResponse<T> where T : class
{
[JsonProperty("code")]
public int? Code { get; set; }
[JsonProperty("data")]
public T? Data { get; set; }
}
}