btcpayserver/BTCPayServer.Client/Models/CreateApiKeyRequest.cs
2020-06-28 21:44:35 -05:00

14 lines
329 B
C#

using BTCPayServer.Client.JsonConverters;
using Newtonsoft.Json;
namespace BTCPayServer.Client.Models
{
public class CreateApiKeyRequest
{
public string Label { get; set; }
[JsonProperty(ItemConverterType = typeof(PermissionJsonConverter))]
public Permission[] Permissions { get; set; }
}
}