You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
downkyi/DownKyi.Core/Aria2cNet/Client/Entity/AriaAddUri.cs

31 lines
652 B

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);
}
}
}