mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-28 16:58:00 +01:00
18 lines
422 B
C#
18 lines
422 B
C#
|
using Newtonsoft.Json;
|
||
|
|
||
|
namespace BTCPayServer.Payments.Changelly.Models
|
||
|
{
|
||
|
|
||
|
public class ChangellyResponse<T>
|
||
|
{
|
||
|
[JsonProperty("jsonrpc")]
|
||
|
public string JsonRPC { get; set; }
|
||
|
[JsonProperty("id")]
|
||
|
public object Id { get; set; }
|
||
|
[JsonProperty("result")]
|
||
|
public T Result { get; set; }
|
||
|
[JsonProperty("error")]
|
||
|
public Error Error { get; set; }
|
||
|
}
|
||
|
}
|