diff --git a/DotNut/ApiModels/GetKeysResponse.cs b/DotNut/ApiModels/GetKeysResponse.cs index 8ac03f4..db21c2b 100644 --- a/DotNut/ApiModels/GetKeysResponse.cs +++ b/DotNut/ApiModels/GetKeysResponse.cs @@ -10,6 +10,9 @@ public class KeysetItemResponse { [JsonPropertyName("id")] public KeysetId Id { get; set; } [JsonPropertyName("unit")] public string Unit { get; set; } + [JsonPropertyName("active")] public bool? Active { get; set; } // nullable until wider adoption + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + [JsonPropertyName("input_fee_ppk")] public ulong? InputFeePpk { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] [JsonPropertyName("final_expiry")] public ulong? FinalExpiry { get; set; } [JsonPropertyName("keys")] public Keyset Keys { get; set; }