btcpayserver/BTCPayServer.Client/Models/ApiKeyData.cs
2020-04-30 16:44:27 +02:00

15 lines
363 B
C#

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