Skip to content

Commit 340937f

Browse files
Update JsonProperty attributes to allow null values for Id, Name, SubType, and WalletId
1 parent 846a4e7 commit 340937f

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/MyJetWallet.Fireblocks.Client/ApiClients.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38571,16 +38571,20 @@ public partial class SourceTransferPeerPath
3857138571
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
3857238572
public TransferPeerPathType Type { get; set; }
3857338573

38574+
[System.Text.Json.Serialization.JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
3857438575
[Newtonsoft.Json.JsonProperty("subType", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
3857538576
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
3857638577
public TransferPeerPathSubType? SubType { get; set; }
3857738578

38579+
[System.Text.Json.Serialization.JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
3857838580
[Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
3857938581
public string Id { get; set; }
3858038582

38583+
[System.Text.Json.Serialization.JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
3858138584
[Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
3858238585
public string Name { get; set; }
3858338586

38587+
[System.Text.Json.Serialization.JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
3858438588
[Newtonsoft.Json.JsonProperty("walletId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
3858538589
public System.Guid? WalletId { get; set; }
3858638590

@@ -38627,19 +38631,24 @@ public partial class DestinationTransferPeerPath
3862738631
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
3862838632
public TransferPeerPathType Type { get; set; }
3862938633

38634+
[System.Text.Json.Serialization.JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
3863038635
[Newtonsoft.Json.JsonProperty("subType", Required = Newtonsoft.Json.Required.AllowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
3863138636
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
3863238637
public TransferPeerPathSubType? SubType { get; set; }
3863338638

38639+
[System.Text.Json.Serialization.JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
3863438640
[Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.AllowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
3863538641
public string Id { get; set; }
3863638642

38643+
[System.Text.Json.Serialization.JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
3863738644
[Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.AllowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
3863838645
public string Name { get; set; }
3863938646

38647+
[System.Text.Json.Serialization.JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
3864038648
[Newtonsoft.Json.JsonProperty("walletId", Required = Newtonsoft.Json.Required.AllowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
3864138649
public System.Guid? WalletId { get; set; }
3864238650

38651+
[System.Text.Json.Serialization.JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
3864338652
[Newtonsoft.Json.JsonProperty("oneTimeAddress", Required = Newtonsoft.Json.Required.AllowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
3864438653
public OneTimeAddress OneTimeAddress { get; set; }
3864538654

0 commit comments

Comments
 (0)