btcpayserver/BTCPayServer.Client/Models/ApiKeyData.cs

15 lines
363 B
C#
Raw Normal View History

2020-03-20 10:56:30 +01:00
using BTCPayServer.Client.JsonConverters;
using Newtonsoft.Json;
namespace BTCPayServer.Client.Models
{
public class ApiKeyData
{
public string ApiKey { get; set; }
public string Label { get; set; }
2020-04-30 16:44:27 +02:00
2020-03-20 10:56:30 +01:00
[JsonProperty(ItemConverterType = typeof(PermissionJsonConverter))]
public Permission[] Permissions { get; set; }
}
}