Skip to content

Commit 70b07c0

Browse files
committed
- Use lists instead of arrays
1 parent 0f96384 commit 70b07c0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

EasyPost/Models/API/Options.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ public class Options : EasyPostObject
524524
[JsonProperty("fulfiller_order_id")]
525525
public string? FulfillerOrderId { get; set; }
526526
[JsonProperty("fulfiller_order_items")]
527-
public string[]? FulfillerOrderItems { get; set; } // array
527+
public List<string>? FulfillerOrderItems { get; set; } // array
528528
[JsonProperty("group")]
529529
public string? Group { get; set; } // any
530530

@@ -698,7 +698,7 @@ public class Options : EasyPostObject
698698
[JsonProperty("non_contact")]
699699
public bool? NonContact { get; set; } // bool
700700
[JsonProperty("notifications")]
701-
public string[]? Notifications { get; set; } // array
701+
public List<string>? Notifications { get; set; } // array
702702
[JsonProperty("one_page")]
703703
public bool? OnePage { get; set; }
704704
[JsonProperty("origin_terminal")]
@@ -786,7 +786,7 @@ public class Options : EasyPostObject
786786
[JsonProperty("postage_label_inline")]
787787
public bool? PostageLabelInline { get; set; } // bool
788788
[JsonProperty("print_custom")]
789-
public string[]? PrintCustom { get; set; } // array
789+
public List<string>? PrintCustom { get; set; } // array
790790
/// <summary>
791791
/// You can optionally print custom messages on labels.
792792
/// Message to print on the label in spot 1.
@@ -1010,7 +1010,7 @@ public class Options : EasyPostObject
10101010
[JsonProperty("saturday_delivery")]
10111011
public bool? SaturdayDelivery { get; set; } // bool
10121012
[JsonProperty("service_codes")]
1013-
public string[]? ServiceCodes { get; set; } // array
1013+
public List<string>? ServiceCodes { get; set; } // array
10141014
[JsonProperty("settlement_method")]
10151015
public string? SettlementMethod { get; set; }
10161016

0 commit comments

Comments
 (0)