mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
21 lines
487 B
C#
21 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; }
|
|
}
|
|
}
|