btcpayserver/BTCPayServer.Client/Models/CreateApiKeyRequest.cs

14 lines
332 B
C#
Raw Normal View History

2020-04-30 16:44:27 +02:00
using BTCPayServer.Client.JsonConverters;
2020-03-27 18:42:59 +09:00
using Newtonsoft.Json;
namespace BTCPayServer.Client.Models
{
public class CreateApiKeyRequest
{
public string Label { get; set; }
2020-04-30 16:44:27 +02:00
2020-03-27 18:42:59 +09:00
[JsonProperty(ItemConverterType = typeof(PermissionJsonConverter))]
public Permission[] Permissions { get; set; }
}
}