mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
22 lines
487 B
C#
22 lines
487 B
C#
using BTCPayServer.Client.JsonConverters;
|
|
using BTCPayServer.Lightning;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace BTCPayServer.Client.Models
|
|
{
|
|
public class ConnectToNodeRequest
|
|
{
|
|
public ConnectToNodeRequest()
|
|
{
|
|
|
|
}
|
|
public ConnectToNodeRequest(NodeInfo nodeInfo)
|
|
{
|
|
NodeURI = nodeInfo;
|
|
}
|
|
[JsonConverter(typeof(NodeUriJsonConverter))]
|
|
[JsonProperty("nodeURI")]
|
|
public NodeInfo NodeURI { get; set; }
|
|
}
|
|
}
|