mirror of
https://github.com/yaobiao131/downkyicore.git
synced 2025-08-10 00:52:31 +00:00
25 lines
549 B
C#
25 lines
549 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace DownKyi.Core.Aria2cNet.Client.Entity;
|
|
|
|
//{
|
|
//"id": "downkyi",
|
|
//"jsonrpc": "2.0",
|
|
//"result": "1aac102a4875c8cd"
|
|
//}
|
|
[JsonObject]
|
|
public class AriaAddUri
|
|
{
|
|
[JsonProperty("id")] public string Id { get; set; }
|
|
|
|
[JsonProperty("jsonrpc")] public string Jsonrpc { get; set; }
|
|
|
|
[JsonProperty("result")] public string Result { get; set; }
|
|
|
|
[JsonProperty("error")] public AriaError Error { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return JsonConvert.SerializeObject(this);
|
|
}
|
|
} |