mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
25 lines
554 B
C#
25 lines
554 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
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; }
|
|
}
|
|
}
|