From 86a2614576168ae95be0f16dc70acaa7f59de3f8 Mon Sep 17 00:00:00 2001
From: Kevin Jones <3537215+kevinpjones@users.noreply.github.com>
Date: Thu, 18 Jan 2024 09:42:38 -0700
Subject: [PATCH] fix(GC-2069): Setting Color to `false` Produces API
Validation Error (#31)
---
.gitignore | 5 ++++-
src/lob.dotnet/Model/Address.cs | 2 +-
src/lob.dotnet/Model/AddressDeletion.cs | 2 +-
src/lob.dotnet/Model/AddressList.cs | 4 ++--
src/lob.dotnet/Model/BankAccount.cs | 4 ++--
src/lob.dotnet/Model/BankAccountDeletion.cs | 2 +-
src/lob.dotnet/Model/BankAccountList.cs | 4 ++--
src/lob.dotnet/Model/BillingGroupList.cs | 2 +-
src/lob.dotnet/Model/Card.cs | 10 +++++-----
src/lob.dotnet/Model/CardDeletion.cs | 2 +-
src/lob.dotnet/Model/CardList.cs | 4 ++--
src/lob.dotnet/Model/CardOrder.cs | 8 ++++----
src/lob.dotnet/Model/CardOrderEditable.cs | 2 +-
src/lob.dotnet/Model/CardOrderList.cs | 2 +-
src/lob.dotnet/Model/CardUpdatable.cs | 4 ++--
src/lob.dotnet/Model/Check.cs | 6 +++---
src/lob.dotnet/Model/CheckDeletion.cs | 2 +-
src/lob.dotnet/Model/CheckEditable.cs | 4 ++--
src/lob.dotnet/Model/CheckList.cs | 4 ++--
src/lob.dotnet/Model/CountryExtended.cs | 0
src/lob.dotnet/Model/DeliverabilityAnalysis.cs | 2 +-
src/lob.dotnet/Model/EventType.cs | 2 +-
src/lob.dotnet/Model/IntlVerifications.cs | 2 +-
src/lob.dotnet/Model/Letter.cs | 6 +++---
src/lob.dotnet/Model/LetterDeletion.cs | 2 +-
src/lob.dotnet/Model/LetterDetailsReturned.cs | 6 +++---
src/lob.dotnet/Model/LetterDetailsWritable.cs | 6 +++---
src/lob.dotnet/Model/LetterEditable.cs | 4 ++--
src/lob.dotnet/Model/LetterList.cs | 4 ++--
src/lob.dotnet/Model/LocationAnalysis.cs | 2 +-
src/lob.dotnet/Model/Postcard.cs | 2 +-
src/lob.dotnet/Model/PostcardDeletion.cs | 2 +-
src/lob.dotnet/Model/PostcardDetailsReturned.cs | 2 +-
src/lob.dotnet/Model/PostcardList.cs | 4 ++--
src/lob.dotnet/Model/SelfMailerDeletion.cs | 2 +-
src/lob.dotnet/Model/SelfMailerList.cs | 4 ++--
src/lob.dotnet/Model/Template.cs | 2 +-
src/lob.dotnet/Model/TemplateDeletion.cs | 2 +-
src/lob.dotnet/Model/TemplateList.cs | 4 ++--
src/lob.dotnet/Model/TemplateVersion.cs | 4 ++--
src/lob.dotnet/Model/TemplateVersionDeletion.cs | 2 +-
src/lob.dotnet/Model/TemplateVersionList.cs | 4 ++--
src/lob.dotnet/Model/TrackingEventDetails.cs | 2 +-
src/lob.dotnet/Model/UsAutocompletionsWritable.cs | 2 +-
src/lob.dotnet/Model/UsComponents.cs | 2 +-
src/lob.dotnet/Model/UsVerification.cs | 2 +-
src/lob.dotnet/Model/UsVerificationOrError.cs | 0
src/lob.dotnet/Model/UsVerifications.cs | 2 +-
src/lob.dotnet/Model/ZipLookupCity.cs | 2 +-
src/lob.dotnet/lob.dotnet.csproj | 4 ++--
50 files changed, 81 insertions(+), 78 deletions(-)
mode change 100755 => 100644 src/lob.dotnet/Model/Address.cs
mode change 100755 => 100644 src/lob.dotnet/Model/AddressDeletion.cs
mode change 100755 => 100644 src/lob.dotnet/Model/AddressList.cs
mode change 100755 => 100644 src/lob.dotnet/Model/BankAccount.cs
mode change 100755 => 100644 src/lob.dotnet/Model/BankAccountDeletion.cs
mode change 100755 => 100644 src/lob.dotnet/Model/BankAccountList.cs
mode change 100755 => 100644 src/lob.dotnet/Model/BillingGroupList.cs
mode change 100755 => 100644 src/lob.dotnet/Model/Card.cs
mode change 100755 => 100644 src/lob.dotnet/Model/CardDeletion.cs
mode change 100755 => 100644 src/lob.dotnet/Model/CardList.cs
mode change 100755 => 100644 src/lob.dotnet/Model/CardOrder.cs
mode change 100755 => 100644 src/lob.dotnet/Model/CardOrderEditable.cs
mode change 100755 => 100644 src/lob.dotnet/Model/CardOrderList.cs
mode change 100755 => 100644 src/lob.dotnet/Model/CardUpdatable.cs
mode change 100755 => 100644 src/lob.dotnet/Model/Check.cs
mode change 100755 => 100644 src/lob.dotnet/Model/CheckDeletion.cs
mode change 100755 => 100644 src/lob.dotnet/Model/CheckEditable.cs
mode change 100755 => 100644 src/lob.dotnet/Model/CheckList.cs
mode change 100755 => 100644 src/lob.dotnet/Model/CountryExtended.cs
mode change 100755 => 100644 src/lob.dotnet/Model/DeliverabilityAnalysis.cs
mode change 100755 => 100644 src/lob.dotnet/Model/EventType.cs
mode change 100755 => 100644 src/lob.dotnet/Model/IntlVerifications.cs
mode change 100755 => 100644 src/lob.dotnet/Model/Letter.cs
mode change 100755 => 100644 src/lob.dotnet/Model/LetterDeletion.cs
mode change 100755 => 100644 src/lob.dotnet/Model/LetterDetailsReturned.cs
mode change 100755 => 100644 src/lob.dotnet/Model/LetterDetailsWritable.cs
mode change 100755 => 100644 src/lob.dotnet/Model/LetterEditable.cs
mode change 100755 => 100644 src/lob.dotnet/Model/LetterList.cs
mode change 100755 => 100644 src/lob.dotnet/Model/LocationAnalysis.cs
mode change 100755 => 100644 src/lob.dotnet/Model/PostcardDeletion.cs
mode change 100755 => 100644 src/lob.dotnet/Model/PostcardDetailsReturned.cs
mode change 100755 => 100644 src/lob.dotnet/Model/PostcardList.cs
mode change 100755 => 100644 src/lob.dotnet/Model/SelfMailerDeletion.cs
mode change 100755 => 100644 src/lob.dotnet/Model/SelfMailerList.cs
mode change 100755 => 100644 src/lob.dotnet/Model/Template.cs
mode change 100755 => 100644 src/lob.dotnet/Model/TemplateDeletion.cs
mode change 100755 => 100644 src/lob.dotnet/Model/TemplateList.cs
mode change 100755 => 100644 src/lob.dotnet/Model/TemplateVersion.cs
mode change 100755 => 100644 src/lob.dotnet/Model/TemplateVersionDeletion.cs
mode change 100755 => 100644 src/lob.dotnet/Model/TemplateVersionList.cs
mode change 100755 => 100644 src/lob.dotnet/Model/TrackingEventDetails.cs
mode change 100755 => 100644 src/lob.dotnet/Model/UsAutocompletionsWritable.cs
mode change 100755 => 100644 src/lob.dotnet/Model/UsComponents.cs
mode change 100755 => 100644 src/lob.dotnet/Model/UsVerification.cs
mode change 100755 => 100644 src/lob.dotnet/Model/UsVerificationOrError.cs
mode change 100755 => 100644 src/lob.dotnet/Model/UsVerifications.cs
mode change 100755 => 100644 src/lob.dotnet/Model/ZipLookupCity.cs
mode change 100755 => 100644 src/lob.dotnet/lob.dotnet.csproj
diff --git a/.gitignore b/.gitignore
index c35c159..3d02364 100644
--- a/.gitignore
+++ b/.gitignore
@@ -364,4 +364,7 @@ MigrationBackup/
FodyWeavers.xsd
.env
-LOCAL.env
\ No newline at end of file
+LOCAL.env
+
+# Rider
+.idea/
diff --git a/src/lob.dotnet/Model/Address.cs b/src/lob.dotnet/Model/Address.cs
old mode 100755
new mode 100644
index 61441be..956b828
--- a/src/lob.dotnet/Model/Address.cs
+++ b/src/lob.dotnet/Model/Address.cs
@@ -201,7 +201,7 @@ public enum ObjectEnum
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
diff --git a/src/lob.dotnet/Model/AddressDeletion.cs b/src/lob.dotnet/Model/AddressDeletion.cs
old mode 100755
new mode 100644
index 99fa956..6468b6e
--- a/src/lob.dotnet/Model/AddressDeletion.cs
+++ b/src/lob.dotnet/Model/AddressDeletion.cs
@@ -79,7 +79,7 @@ public enum ObjectEnum
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
diff --git a/src/lob.dotnet/Model/AddressList.cs b/src/lob.dotnet/Model/AddressList.cs
old mode 100755
new mode 100644
index 6f1048d..aaee69f
--- a/src/lob.dotnet/Model/AddressList.cs
+++ b/src/lob.dotnet/Model/AddressList.cs
@@ -83,14 +83,14 @@ public partial class AddressList : IEquatable, IValidatableObject
/// number of resources in a set
///
/// number of resources in a set
- [DataMember(Name = "count", EmitDefaultValue = false)]
+ [DataMember(Name = "count", EmitDefaultValue = true)]
public int Count { get; set; }
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
- [DataMember(Name = "total_count", EmitDefaultValue = false)]
+ [DataMember(Name = "total_count", EmitDefaultValue = true)]
public int TotalCount { get; set; }
///
diff --git a/src/lob.dotnet/Model/BankAccount.cs b/src/lob.dotnet/Model/BankAccount.cs
old mode 100755
new mode 100644
index 2e8601f..a8b8e0f
--- a/src/lob.dotnet/Model/BankAccount.cs
+++ b/src/lob.dotnet/Model/BankAccount.cs
@@ -202,7 +202,7 @@ protected BankAccount() { }
/// A bank account must be verified before a check can be created.
///
/// A bank account must be verified before a check can be created.
- [DataMember(Name = "verified", EmitDefaultValue = false)]
+ [DataMember(Name = "verified", EmitDefaultValue = true)]
public bool Verified { get; set; }
///
@@ -223,7 +223,7 @@ protected BankAccount() { }
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
diff --git a/src/lob.dotnet/Model/BankAccountDeletion.cs b/src/lob.dotnet/Model/BankAccountDeletion.cs
old mode 100755
new mode 100644
index 8cc522b..98755d0
--- a/src/lob.dotnet/Model/BankAccountDeletion.cs
+++ b/src/lob.dotnet/Model/BankAccountDeletion.cs
@@ -79,7 +79,7 @@ public enum ObjectEnum
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
diff --git a/src/lob.dotnet/Model/BankAccountList.cs b/src/lob.dotnet/Model/BankAccountList.cs
old mode 100755
new mode 100644
index 3806a28..5c52ca9
--- a/src/lob.dotnet/Model/BankAccountList.cs
+++ b/src/lob.dotnet/Model/BankAccountList.cs
@@ -83,14 +83,14 @@ public partial class BankAccountList : IEquatable, IValidatable
/// number of resources in a set
///
/// number of resources in a set
- [DataMember(Name = "count", EmitDefaultValue = false)]
+ [DataMember(Name = "count", EmitDefaultValue = true)]
public int Count { get; set; }
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
- [DataMember(Name = "total_count", EmitDefaultValue = false)]
+ [DataMember(Name = "total_count", EmitDefaultValue = true)]
public int TotalCount { get; set; }
///
diff --git a/src/lob.dotnet/Model/BillingGroupList.cs b/src/lob.dotnet/Model/BillingGroupList.cs
old mode 100755
new mode 100644
index 74c15a7..4be32dd
--- a/src/lob.dotnet/Model/BillingGroupList.cs
+++ b/src/lob.dotnet/Model/BillingGroupList.cs
@@ -81,7 +81,7 @@ public partial class BillingGroupList : IEquatable, IValidatab
/// number of resources in a set
///
/// number of resources in a set
- [DataMember(Name = "count", EmitDefaultValue = false)]
+ [DataMember(Name = "count", EmitDefaultValue = true)]
public int Count { get; set; }
///
diff --git a/src/lob.dotnet/Model/Card.cs b/src/lob.dotnet/Model/Card.cs
old mode 100755
new mode 100644
index beab80e..35cc958
--- a/src/lob.dotnet/Model/Card.cs
+++ b/src/lob.dotnet/Model/Card.cs
@@ -226,7 +226,7 @@ protected Card() { }
/// True if the cards should be auto-reordered.
///
/// True if the cards should be auto-reordered.
- [DataMember(Name = "auto_reorder", IsRequired = true, EmitDefaultValue = false)]
+ [DataMember(Name = "auto_reorder", IsRequired = true, EmitDefaultValue = true)]
public bool AutoReorder { get; set; }
///
@@ -267,21 +267,21 @@ protected Card() { }
/// The available quantity of cards.
///
/// The available quantity of cards.
- [DataMember(Name = "available_quantity", IsRequired = true, EmitDefaultValue = false)]
+ [DataMember(Name = "available_quantity", IsRequired = true, EmitDefaultValue = true)]
public int AvailableQuantity { get; set; }
///
/// The pending quantity of cards.
///
/// The pending quantity of cards.
- [DataMember(Name = "pending_quantity", IsRequired = true, EmitDefaultValue = false)]
+ [DataMember(Name = "pending_quantity", IsRequired = true, EmitDefaultValue = true)]
public int PendingQuantity { get; set; }
///
/// The threshold amount of the card
///
/// The threshold amount of the card
- [DataMember(Name = "threshold_amount", EmitDefaultValue = false)]
+ [DataMember(Name = "threshold_amount", EmitDefaultValue = true)]
public int ThresholdAmount { get; set; }
///
@@ -302,7 +302,7 @@ protected Card() { }
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
diff --git a/src/lob.dotnet/Model/CardDeletion.cs b/src/lob.dotnet/Model/CardDeletion.cs
old mode 100755
new mode 100644
index 25aa3a6..71cc857
--- a/src/lob.dotnet/Model/CardDeletion.cs
+++ b/src/lob.dotnet/Model/CardDeletion.cs
@@ -79,7 +79,7 @@ public enum ObjectEnum
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
diff --git a/src/lob.dotnet/Model/CardList.cs b/src/lob.dotnet/Model/CardList.cs
old mode 100755
new mode 100644
index 98d0982..c00558c
--- a/src/lob.dotnet/Model/CardList.cs
+++ b/src/lob.dotnet/Model/CardList.cs
@@ -83,14 +83,14 @@ public partial class CardList : IEquatable, IValidatableObject
/// number of resources in a set
///
/// number of resources in a set
- [DataMember(Name = "count", EmitDefaultValue = false)]
+ [DataMember(Name = "count", EmitDefaultValue = true)]
public int Count { get; set; }
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
- [DataMember(Name = "total_count", EmitDefaultValue = false)]
+ [DataMember(Name = "total_count", EmitDefaultValue = true)]
public int TotalCount { get; set; }
///
diff --git a/src/lob.dotnet/Model/CardOrder.cs b/src/lob.dotnet/Model/CardOrder.cs
old mode 100755
new mode 100644
index 73877a7..467a4b9
--- a/src/lob.dotnet/Model/CardOrder.cs
+++ b/src/lob.dotnet/Model/CardOrder.cs
@@ -144,21 +144,21 @@ protected CardOrder() { }
/// The inventory of the card order.
///
/// The inventory of the card order.
- [DataMember(Name = "inventory", EmitDefaultValue = false)]
+ [DataMember(Name = "inventory", EmitDefaultValue = true)]
public decimal Inventory { get; set; }
///
/// The quantity of cards ordered
///
/// The quantity of cards ordered
- [DataMember(Name = "quantity_ordered", EmitDefaultValue = false)]
+ [DataMember(Name = "quantity_ordered", EmitDefaultValue = true)]
public decimal QuantityOrdered { get; set; }
///
/// The unit price for the card order.
///
/// The unit price for the card order.
- [DataMember(Name = "unit_price", EmitDefaultValue = false)]
+ [DataMember(Name = "unit_price", EmitDefaultValue = true)]
public decimal UnitPrice { get; set; }
///
@@ -200,7 +200,7 @@ protected CardOrder() { }
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
diff --git a/src/lob.dotnet/Model/CardOrderEditable.cs b/src/lob.dotnet/Model/CardOrderEditable.cs
old mode 100755
new mode 100644
index a22539d..e211968
--- a/src/lob.dotnet/Model/CardOrderEditable.cs
+++ b/src/lob.dotnet/Model/CardOrderEditable.cs
@@ -49,7 +49,7 @@ protected CardOrderEditable() { }
///
/// Gets or Sets Quantity
///
- [DataMember(Name = "quantity", IsRequired = true, EmitDefaultValue = false)]
+ [DataMember(Name = "quantity", IsRequired = true, EmitDefaultValue = true)]
public int Quantity { get; set; }
///
diff --git a/src/lob.dotnet/Model/CardOrderList.cs b/src/lob.dotnet/Model/CardOrderList.cs
old mode 100755
new mode 100644
index 1410070..64651e2
--- a/src/lob.dotnet/Model/CardOrderList.cs
+++ b/src/lob.dotnet/Model/CardOrderList.cs
@@ -81,7 +81,7 @@ public partial class CardOrderList : IEquatable, IValidatableObje
/// number of resources in a set
///
/// number of resources in a set
- [DataMember(Name = "count", EmitDefaultValue = false)]
+ [DataMember(Name = "count", EmitDefaultValue = true)]
public int Count { get; set; }
///
diff --git a/src/lob.dotnet/Model/CardUpdatable.cs b/src/lob.dotnet/Model/CardUpdatable.cs
old mode 100755
new mode 100644
index c0e11aa..8e09a8d
--- a/src/lob.dotnet/Model/CardUpdatable.cs
+++ b/src/lob.dotnet/Model/CardUpdatable.cs
@@ -56,14 +56,14 @@ public partial class CardUpdatable : IEquatable, IValidatableObje
/// Allows for auto reordering
///
/// Allows for auto reordering
- [DataMember(Name = "auto_reorder", EmitDefaultValue = false)]
+ [DataMember(Name = "auto_reorder", EmitDefaultValue = true)]
public bool AutoReorder { get; set; }
///
/// The quantity of items to be reordered (only required when auto_reorder is true).
///
/// The quantity of items to be reordered (only required when auto_reorder is true).
- [DataMember(Name = "reorder_quantity", EmitDefaultValue = false)]
+ [DataMember(Name = "reorder_quantity", EmitDefaultValue = true)]
public decimal ReorderQuantity { get; set; }
///
diff --git a/src/lob.dotnet/Model/Check.cs b/src/lob.dotnet/Model/Check.cs
old mode 100755
new mode 100644
index 7241d72..e6a81bf
--- a/src/lob.dotnet/Model/Check.cs
+++ b/src/lob.dotnet/Model/Check.cs
@@ -246,7 +246,7 @@ protected Check() { }
/// An integer that designates the check number. If `check_number` is not provided, checks created from a new `bank_account` will start at `10000` and increment with each check created with the `bank_account`. A provided `check_number` overrides the defaults. Subsequent checks created with the same `bank_account` will increment from the provided check number.
///
/// An integer that designates the check number. If `check_number` is not provided, checks created from a new `bank_account` will start at `10000` and increment with each check created with the `bank_account`. A provided `check_number` overrides the defaults. Subsequent checks created with the same `bank_account` will increment from the provided check number.
- [DataMember(Name = "check_number", EmitDefaultValue = false)]
+ [DataMember(Name = "check_number", EmitDefaultValue = true)]
public int CheckNumber { get; set; }
///
@@ -260,7 +260,7 @@ protected Check() { }
/// The payment amount to be sent in US dollars.
///
/// The payment amount to be sent in US dollars.
- [DataMember(Name = "amount", IsRequired = true, EmitDefaultValue = false)]
+ [DataMember(Name = "amount", IsRequired = true, EmitDefaultValue = true)]
public float Amount { get; set; }
///
@@ -343,7 +343,7 @@ protected Check() { }
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
diff --git a/src/lob.dotnet/Model/CheckDeletion.cs b/src/lob.dotnet/Model/CheckDeletion.cs
old mode 100755
new mode 100644
index 416ab0a..3942c45
--- a/src/lob.dotnet/Model/CheckDeletion.cs
+++ b/src/lob.dotnet/Model/CheckDeletion.cs
@@ -79,7 +79,7 @@ public enum ObjectEnum
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
diff --git a/src/lob.dotnet/Model/CheckEditable.cs b/src/lob.dotnet/Model/CheckEditable.cs
old mode 100755
new mode 100644
index 27e0ce5..96668b7
--- a/src/lob.dotnet/Model/CheckEditable.cs
+++ b/src/lob.dotnet/Model/CheckEditable.cs
@@ -145,7 +145,7 @@ protected CheckEditable() { }
/// The payment amount to be sent in US dollars.
///
/// The payment amount to be sent in US dollars.
- [DataMember(Name = "amount", IsRequired = true, EmitDefaultValue = false)]
+ [DataMember(Name = "amount", IsRequired = true, EmitDefaultValue = true)]
public float Amount { get; set; }
///
@@ -208,7 +208,7 @@ protected CheckEditable() { }
/// An integer that designates the check number.
///
/// An integer that designates the check number.
- [DataMember(Name = "check_number", EmitDefaultValue = false)]
+ [DataMember(Name = "check_number", EmitDefaultValue = true)]
public int CheckNumber { get; set; }
///
diff --git a/src/lob.dotnet/Model/CheckList.cs b/src/lob.dotnet/Model/CheckList.cs
old mode 100755
new mode 100644
index 913b344..45af281
--- a/src/lob.dotnet/Model/CheckList.cs
+++ b/src/lob.dotnet/Model/CheckList.cs
@@ -83,14 +83,14 @@ public partial class CheckList : IEquatable, IValidatableObject
/// number of resources in a set
///
/// number of resources in a set
- [DataMember(Name = "count", EmitDefaultValue = false)]
+ [DataMember(Name = "count", EmitDefaultValue = true)]
public int Count { get; set; }
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
- [DataMember(Name = "total_count", EmitDefaultValue = false)]
+ [DataMember(Name = "total_count", EmitDefaultValue = true)]
public int TotalCount { get; set; }
///
diff --git a/src/lob.dotnet/Model/CountryExtended.cs b/src/lob.dotnet/Model/CountryExtended.cs
old mode 100755
new mode 100644
diff --git a/src/lob.dotnet/Model/DeliverabilityAnalysis.cs b/src/lob.dotnet/Model/DeliverabilityAnalysis.cs
old mode 100755
new mode 100644
index c9d0c3c..f5539aa
--- a/src/lob.dotnet/Model/DeliverabilityAnalysis.cs
+++ b/src/lob.dotnet/Model/DeliverabilityAnalysis.cs
@@ -556,7 +556,7 @@ protected DeliverabilityAnalysis() { }
/// indicates whether or not an address has been flagged in the [Early Warning System](https://docs.informatica.com/data-engineering/data-engineering-quality/10-4-0/address-validator-port-reference/postal-carrier-certification-data-ports/early-warning-system-return-code.html), meaning the address is under development and not yet ready to receive mail. However, it should become available in a few months.
///
/// indicates whether or not an address has been flagged in the [Early Warning System](https://docs.informatica.com/data-engineering/data-engineering-quality/10-4-0/address-validator-port-reference/postal-carrier-certification-data-ports/early-warning-system-return-code.html), meaning the address is under development and not yet ready to receive mail. However, it should become available in a few months.
- [DataMember(Name = "ews_match", IsRequired = true, EmitDefaultValue = false)]
+ [DataMember(Name = "ews_match", IsRequired = true, EmitDefaultValue = true)]
public bool EwsMatch { get; set; }
///
diff --git a/src/lob.dotnet/Model/EventType.cs b/src/lob.dotnet/Model/EventType.cs
old mode 100755
new mode 100644
index fcfc036..4b22ec6
--- a/src/lob.dotnet/Model/EventType.cs
+++ b/src/lob.dotnet/Model/EventType.cs
@@ -146,7 +146,7 @@ protected EventType() { }
/// Value is `true` if the event type is enabled in both the test and live environments.
///
/// Value is `true` if the event type is enabled in both the test and live environments.
- [DataMember(Name = "enabled_for_test", IsRequired = true, EmitDefaultValue = false)]
+ [DataMember(Name = "enabled_for_test", IsRequired = true, EmitDefaultValue = true)]
public bool EnabledForTest { get; set; }
///
diff --git a/src/lob.dotnet/Model/IntlVerifications.cs b/src/lob.dotnet/Model/IntlVerifications.cs
old mode 100755
new mode 100644
index 0aa4212..cc7981f
--- a/src/lob.dotnet/Model/IntlVerifications.cs
+++ b/src/lob.dotnet/Model/IntlVerifications.cs
@@ -63,7 +63,7 @@ protected IntlVerifications() { }
/// Indicates whether any errors occurred during the verification process.
///
/// Indicates whether any errors occurred during the verification process.
- [DataMember(Name = "errors", IsRequired = true, EmitDefaultValue = false)]
+ [DataMember(Name = "errors", IsRequired = true, EmitDefaultValue = true)]
public bool Errors { get; set; }
///
diff --git a/src/lob.dotnet/Model/Letter.cs b/src/lob.dotnet/Model/Letter.cs
old mode 100755
new mode 100644
index 8b8dd6c..9a66022
--- a/src/lob.dotnet/Model/Letter.cs
+++ b/src/lob.dotnet/Model/Letter.cs
@@ -259,7 +259,7 @@ protected Letter() { }
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
@@ -356,14 +356,14 @@ protected Letter() { }
/// Set this key to `true` if you would like to print in color. Set to `false` if you would like to print in black and white.
///
/// Set this key to `true` if you would like to print in color. Set to `false` if you would like to print in black and white.
- [DataMember(Name = "color", EmitDefaultValue = false)]
+ [DataMember(Name = "color", EmitDefaultValue = true)]
public bool Color { get; set; }
///
/// Set this attribute to `true` for double sided printing, or `false` for for single sided printing. Defaults to `true`.
///
/// Set this attribute to `true` for double sided printing, or `false` for for single sided printing. Defaults to `true`.
- [DataMember(Name = "double_sided", EmitDefaultValue = false)]
+ [DataMember(Name = "double_sided", EmitDefaultValue = true)]
public bool DoubleSided { get; set; }
///
diff --git a/src/lob.dotnet/Model/LetterDeletion.cs b/src/lob.dotnet/Model/LetterDeletion.cs
old mode 100755
new mode 100644
index 6cf7d17..aaa9c30
--- a/src/lob.dotnet/Model/LetterDeletion.cs
+++ b/src/lob.dotnet/Model/LetterDeletion.cs
@@ -79,7 +79,7 @@ public enum ObjectEnum
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
diff --git a/src/lob.dotnet/Model/LetterDetailsReturned.cs b/src/lob.dotnet/Model/LetterDetailsReturned.cs
old mode 100755
new mode 100644
index 7356291..e30ddf1
--- a/src/lob.dotnet/Model/LetterDetailsReturned.cs
+++ b/src/lob.dotnet/Model/LetterDetailsReturned.cs
@@ -117,7 +117,7 @@ protected LetterDetailsReturned() { }
/// Set this key to `true` if you would like to print in color, false for black and white.
///
/// Set this key to `true` if you would like to print in color, false for black and white.
- [DataMember(Name = "color", IsRequired = true, EmitDefaultValue = false)]
+ [DataMember(Name = "color", IsRequired = true, EmitDefaultValue = true)]
public bool Color { get; set; }
///
@@ -137,7 +137,7 @@ protected LetterDetailsReturned() { }
/// Set this attribute to `true` for double sided printing, `false` for for single sided printing.
///
/// Set this attribute to `true` for double sided printing, `false` for for single sided printing.
- [DataMember(Name = "double_sided", EmitDefaultValue = false)]
+ [DataMember(Name = "double_sided", EmitDefaultValue = true)]
public bool DoubleSided { get; set; }
///
@@ -163,7 +163,7 @@ protected LetterDetailsReturned() { }
/// Allows for letter bleed. Enabled only with specific feature flags.
///
/// Allows for letter bleed. Enabled only with specific feature flags.
- [DataMember(Name = "bleed", EmitDefaultValue = false)]
+ [DataMember(Name = "bleed", EmitDefaultValue = true)]
public bool Bleed { get; set; }
///
diff --git a/src/lob.dotnet/Model/LetterDetailsWritable.cs b/src/lob.dotnet/Model/LetterDetailsWritable.cs
old mode 100755
new mode 100644
index 2065401..da45874
--- a/src/lob.dotnet/Model/LetterDetailsWritable.cs
+++ b/src/lob.dotnet/Model/LetterDetailsWritable.cs
@@ -120,14 +120,14 @@ protected LetterDetailsWritable() { }
/// Set this key to `true` if you would like to print in color. Set to `false` if you would like to print in black and white.
///
/// Set this key to `true` if you would like to print in color. Set to `false` if you would like to print in black and white.
- [DataMember(Name = "color", IsRequired = true, EmitDefaultValue = false)]
+ [DataMember(Name = "color", IsRequired = true, EmitDefaultValue = true)]
public bool Color { get; set; }
///
/// Set this attribute to `true` for double sided printing, or `false` for for single sided printing. Defaults to `true`.
///
/// Set this attribute to `true` for double sided printing, or `false` for for single sided printing. Defaults to `true`.
- [DataMember(Name = "double_sided", EmitDefaultValue = false)]
+ [DataMember(Name = "double_sided", EmitDefaultValue = true)]
public bool DoubleSided { get; set; }
///
@@ -146,7 +146,7 @@ protected LetterDetailsWritable() { }
///
/// Gets or Sets ReturnEnvelope
///
- [DataMember(Name = "return_envelope", EmitDefaultValue = false)]
+ [DataMember(Name = "return_envelope", EmitDefaultValue = true)]
public bool ReturnEnvelope { get; set; }
///
diff --git a/src/lob.dotnet/Model/LetterEditable.cs b/src/lob.dotnet/Model/LetterEditable.cs
old mode 100755
new mode 100644
index d5e5d30..8281a91
--- a/src/lob.dotnet/Model/LetterEditable.cs
+++ b/src/lob.dotnet/Model/LetterEditable.cs
@@ -228,14 +228,14 @@ protected LetterEditable() { }
/// Set this key to `true` if you would like to print in color. Set to `false` if you would like to print in black and white.
///
/// Set this key to `true` if you would like to print in color. Set to `false` if you would like to print in black and white.
- [DataMember(Name = "color", IsRequired = true, EmitDefaultValue = false)]
+ [DataMember(Name = "color", IsRequired = true, EmitDefaultValue = true)]
public bool Color { get; set; }
///
/// Set this attribute to `true` for double sided printing, or `false` for for single sided printing. Defaults to `true`.
///
/// Set this attribute to `true` for double sided printing, or `false` for for single sided printing. Defaults to `true`.
- [DataMember(Name = "double_sided", EmitDefaultValue = false)]
+ [DataMember(Name = "double_sided", EmitDefaultValue = true)]
public bool DoubleSided { get; set; }
///
diff --git a/src/lob.dotnet/Model/LetterList.cs b/src/lob.dotnet/Model/LetterList.cs
old mode 100755
new mode 100644
index d422e15..e537c7d
--- a/src/lob.dotnet/Model/LetterList.cs
+++ b/src/lob.dotnet/Model/LetterList.cs
@@ -83,14 +83,14 @@ public partial class LetterList : IEquatable, IValidatableObject
/// number of resources in a set
///
/// number of resources in a set
- [DataMember(Name = "count", EmitDefaultValue = false)]
+ [DataMember(Name = "count", EmitDefaultValue = true)]
public int Count { get; set; }
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
- [DataMember(Name = "total_count", EmitDefaultValue = false)]
+ [DataMember(Name = "total_count", EmitDefaultValue = true)]
public int TotalCount { get; set; }
///
diff --git a/src/lob.dotnet/Model/LocationAnalysis.cs b/src/lob.dotnet/Model/LocationAnalysis.cs
old mode 100755
new mode 100644
index a9374be..2f279fc
--- a/src/lob.dotnet/Model/LocationAnalysis.cs
+++ b/src/lob.dotnet/Model/LocationAnalysis.cs
@@ -78,7 +78,7 @@ protected LocationAnalysis() { }
/// The distance from the input location to this exact zip code in miles.
///
/// The distance from the input location to this exact zip code in miles.
- [DataMember(Name = "distance", IsRequired = true, EmitDefaultValue = false)]
+ [DataMember(Name = "distance", IsRequired = true, EmitDefaultValue = true)]
public float Distance { get; set; }
///
diff --git a/src/lob.dotnet/Model/Postcard.cs b/src/lob.dotnet/Model/Postcard.cs
index 5dbfae6..541f22f 100755
--- a/src/lob.dotnet/Model/Postcard.cs
+++ b/src/lob.dotnet/Model/Postcard.cs
@@ -199,7 +199,7 @@ protected Postcard() { }
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
diff --git a/src/lob.dotnet/Model/PostcardDeletion.cs b/src/lob.dotnet/Model/PostcardDeletion.cs
old mode 100755
new mode 100644
index 084d413..c03b4f3
--- a/src/lob.dotnet/Model/PostcardDeletion.cs
+++ b/src/lob.dotnet/Model/PostcardDeletion.cs
@@ -79,7 +79,7 @@ public enum ObjectEnum
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
diff --git a/src/lob.dotnet/Model/PostcardDetailsReturned.cs b/src/lob.dotnet/Model/PostcardDetailsReturned.cs
old mode 100755
new mode 100644
index 2fb6176..831fbd7
--- a/src/lob.dotnet/Model/PostcardDetailsReturned.cs
+++ b/src/lob.dotnet/Model/PostcardDetailsReturned.cs
@@ -64,7 +64,7 @@ public partial class PostcardDetailsReturned : IEquatable
/// Gets or Sets Setting
///
- [DataMember(Name = "setting", EmitDefaultValue = false)]
+ [DataMember(Name = "setting", EmitDefaultValue = true)]
public int Setting { get; set; }
///
diff --git a/src/lob.dotnet/Model/PostcardList.cs b/src/lob.dotnet/Model/PostcardList.cs
old mode 100755
new mode 100644
index 55c33c1..d9cf44a
--- a/src/lob.dotnet/Model/PostcardList.cs
+++ b/src/lob.dotnet/Model/PostcardList.cs
@@ -83,14 +83,14 @@ public partial class PostcardList : IEquatable, IValidatableObject
/// number of resources in a set
///
/// number of resources in a set
- [DataMember(Name = "count", EmitDefaultValue = false)]
+ [DataMember(Name = "count", EmitDefaultValue = true)]
public int Count { get; set; }
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
- [DataMember(Name = "total_count", EmitDefaultValue = false)]
+ [DataMember(Name = "total_count", EmitDefaultValue = true)]
public int TotalCount { get; set; }
///
diff --git a/src/lob.dotnet/Model/SelfMailerDeletion.cs b/src/lob.dotnet/Model/SelfMailerDeletion.cs
old mode 100755
new mode 100644
index 2de6053..e50ef09
--- a/src/lob.dotnet/Model/SelfMailerDeletion.cs
+++ b/src/lob.dotnet/Model/SelfMailerDeletion.cs
@@ -79,7 +79,7 @@ public enum ObjectEnum
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
diff --git a/src/lob.dotnet/Model/SelfMailerList.cs b/src/lob.dotnet/Model/SelfMailerList.cs
old mode 100755
new mode 100644
index cafd6f4..db395d5
--- a/src/lob.dotnet/Model/SelfMailerList.cs
+++ b/src/lob.dotnet/Model/SelfMailerList.cs
@@ -83,14 +83,14 @@ public partial class SelfMailerList : IEquatable, IValidatableOb
/// number of resources in a set
///
/// number of resources in a set
- [DataMember(Name = "count", EmitDefaultValue = false)]
+ [DataMember(Name = "count", EmitDefaultValue = true)]
public int Count { get; set; }
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
- [DataMember(Name = "total_count", EmitDefaultValue = false)]
+ [DataMember(Name = "total_count", EmitDefaultValue = true)]
public int TotalCount { get; set; }
///
diff --git a/src/lob.dotnet/Model/Template.cs b/src/lob.dotnet/Model/Template.cs
old mode 100755
new mode 100644
index 801d5da..e13ed42
--- a/src/lob.dotnet/Model/Template.cs
+++ b/src/lob.dotnet/Model/Template.cs
@@ -152,7 +152,7 @@ protected Template() { }
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
diff --git a/src/lob.dotnet/Model/TemplateDeletion.cs b/src/lob.dotnet/Model/TemplateDeletion.cs
old mode 100755
new mode 100644
index 67a009b..d9b5f67
--- a/src/lob.dotnet/Model/TemplateDeletion.cs
+++ b/src/lob.dotnet/Model/TemplateDeletion.cs
@@ -79,7 +79,7 @@ public enum ObjectEnum
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
diff --git a/src/lob.dotnet/Model/TemplateList.cs b/src/lob.dotnet/Model/TemplateList.cs
old mode 100755
new mode 100644
index 6c37d7b..6abc146
--- a/src/lob.dotnet/Model/TemplateList.cs
+++ b/src/lob.dotnet/Model/TemplateList.cs
@@ -83,14 +83,14 @@ public partial class TemplateList : IEquatable, IValidatableObject
/// number of resources in a set
///
/// number of resources in a set
- [DataMember(Name = "count", EmitDefaultValue = false)]
+ [DataMember(Name = "count", EmitDefaultValue = true)]
public int Count { get; set; }
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
- [DataMember(Name = "total_count", EmitDefaultValue = false)]
+ [DataMember(Name = "total_count", EmitDefaultValue = true)]
public int TotalCount { get; set; }
///
diff --git a/src/lob.dotnet/Model/TemplateVersion.cs b/src/lob.dotnet/Model/TemplateVersion.cs
old mode 100755
new mode 100644
index 7b9f0c3..294b9a0
--- a/src/lob.dotnet/Model/TemplateVersion.cs
+++ b/src/lob.dotnet/Model/TemplateVersion.cs
@@ -128,7 +128,7 @@ protected TemplateVersion() { }
/// Used by frontend, true if the template uses advanced features.
///
/// Used by frontend, true if the template uses advanced features.
- [DataMember(Name = "suggest_json_editor", EmitDefaultValue = false)]
+ [DataMember(Name = "suggest_json_editor", EmitDefaultValue = true)]
public bool SuggestJsonEditor { get; set; }
///
@@ -156,7 +156,7 @@ protected TemplateVersion() { }
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
diff --git a/src/lob.dotnet/Model/TemplateVersionDeletion.cs b/src/lob.dotnet/Model/TemplateVersionDeletion.cs
old mode 100755
new mode 100644
index c677c25..e7ec95b
--- a/src/lob.dotnet/Model/TemplateVersionDeletion.cs
+++ b/src/lob.dotnet/Model/TemplateVersionDeletion.cs
@@ -79,7 +79,7 @@ public enum ObjectEnum
/// Only returned if the resource has been successfully deleted.
///
/// Only returned if the resource has been successfully deleted.
- [DataMember(Name = "deleted", EmitDefaultValue = false)]
+ [DataMember(Name = "deleted", EmitDefaultValue = true)]
public bool Deleted { get; set; }
///
diff --git a/src/lob.dotnet/Model/TemplateVersionList.cs b/src/lob.dotnet/Model/TemplateVersionList.cs
old mode 100755
new mode 100644
index 119a242..a19eb82
--- a/src/lob.dotnet/Model/TemplateVersionList.cs
+++ b/src/lob.dotnet/Model/TemplateVersionList.cs
@@ -83,14 +83,14 @@ public partial class TemplateVersionList : IEquatable, IVal
/// number of resources in a set
///
/// number of resources in a set
- [DataMember(Name = "count", EmitDefaultValue = false)]
+ [DataMember(Name = "count", EmitDefaultValue = true)]
public int Count { get; set; }
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
///
/// indicates the total number of records. Provided when the request specifies an \"include\" query parameter
- [DataMember(Name = "total_count", EmitDefaultValue = false)]
+ [DataMember(Name = "total_count", EmitDefaultValue = true)]
public int TotalCount { get; set; }
///
diff --git a/src/lob.dotnet/Model/TrackingEventDetails.cs b/src/lob.dotnet/Model/TrackingEventDetails.cs
old mode 100755
new mode 100644
index 63f503d..472d204
--- a/src/lob.dotnet/Model/TrackingEventDetails.cs
+++ b/src/lob.dotnet/Model/TrackingEventDetails.cs
@@ -280,7 +280,7 @@ protected TrackingEventDetails() { }
/// `true` if action is required by the end recipient, `false` otherwise.
///
/// `true` if action is required by the end recipient, `false` otherwise.
- [DataMember(Name = "action_required", IsRequired = true, EmitDefaultValue = false)]
+ [DataMember(Name = "action_required", IsRequired = true, EmitDefaultValue = true)]
public bool ActionRequired { get; set; }
///
diff --git a/src/lob.dotnet/Model/UsAutocompletionsWritable.cs b/src/lob.dotnet/Model/UsAutocompletionsWritable.cs
old mode 100755
new mode 100644
index 75b1697..d38fdb9
--- a/src/lob.dotnet/Model/UsAutocompletionsWritable.cs
+++ b/src/lob.dotnet/Model/UsAutocompletionsWritable.cs
@@ -91,7 +91,7 @@ protected UsAutocompletionsWritable() { }
/// If `true`, sort suggestions by proximity to the IP set in the `X-Forwarded-For` header.
///
/// If `true`, sort suggestions by proximity to the IP set in the `X-Forwarded-For` header.
- [DataMember(Name = "geo_ip_sort", EmitDefaultValue = false)]
+ [DataMember(Name = "geo_ip_sort", EmitDefaultValue = true)]
public bool GeoIpSort { get; set; }
///
diff --git a/src/lob.dotnet/Model/UsComponents.cs b/src/lob.dotnet/Model/UsComponents.cs
old mode 100755
new mode 100644
index 5212f1f..da78c19
--- a/src/lob.dotnet/Model/UsComponents.cs
+++ b/src/lob.dotnet/Model/UsComponents.cs
@@ -649,7 +649,7 @@ protected UsComponents() { }
/// Designates whether or not the address is the default address for a building containing multiple delivery points.
///
/// Designates whether or not the address is the default address for a building containing multiple delivery points.
- [DataMember(Name = "default_building_address", IsRequired = true, EmitDefaultValue = false)]
+ [DataMember(Name = "default_building_address", IsRequired = true, EmitDefaultValue = true)]
public bool DefaultBuildingAddress { get; set; }
///
diff --git a/src/lob.dotnet/Model/UsVerification.cs b/src/lob.dotnet/Model/UsVerification.cs
old mode 100755
new mode 100644
index e597658..84244b2
--- a/src/lob.dotnet/Model/UsVerification.cs
+++ b/src/lob.dotnet/Model/UsVerification.cs
@@ -181,7 +181,7 @@ public enum ObjectEnum
/// This field indicates whether an address was found in a more comprehensive address dataset that includes sources from the USPS, open source mapping data, and our proprietary mail delivery data. This field can be interpreted as a representation of whether an address is a real location or not. Additionally a valid address may contradict the deliverability field since an address can be a real valid location but the USPS may not deliver to that address.
///
/// This field indicates whether an address was found in a more comprehensive address dataset that includes sources from the USPS, open source mapping data, and our proprietary mail delivery data. This field can be interpreted as a representation of whether an address is a real location or not. Additionally a valid address may contradict the deliverability field since an address can be a real valid location but the USPS may not deliver to that address.
- [DataMember(Name = "valid_address", EmitDefaultValue = false)]
+ [DataMember(Name = "valid_address", EmitDefaultValue = true)]
public bool ValidAddress { get; set; }
///
diff --git a/src/lob.dotnet/Model/UsVerificationOrError.cs b/src/lob.dotnet/Model/UsVerificationOrError.cs
old mode 100755
new mode 100644
diff --git a/src/lob.dotnet/Model/UsVerifications.cs b/src/lob.dotnet/Model/UsVerifications.cs
old mode 100755
new mode 100644
index 5399c68..4a155c1
--- a/src/lob.dotnet/Model/UsVerifications.cs
+++ b/src/lob.dotnet/Model/UsVerifications.cs
@@ -63,7 +63,7 @@ protected UsVerifications() { }
/// Indicates whether any errors occurred during the verification process.
///
/// Indicates whether any errors occurred during the verification process.
- [DataMember(Name = "errors", IsRequired = true, EmitDefaultValue = false)]
+ [DataMember(Name = "errors", IsRequired = true, EmitDefaultValue = true)]
public bool Errors { get; set; }
///
diff --git a/src/lob.dotnet/Model/ZipLookupCity.cs b/src/lob.dotnet/Model/ZipLookupCity.cs
old mode 100755
new mode 100644
index 6692d05..f92c7d8
--- a/src/lob.dotnet/Model/ZipLookupCity.cs
+++ b/src/lob.dotnet/Model/ZipLookupCity.cs
@@ -105,7 +105,7 @@ protected ZipLookupCity() { }
/// Indicates whether or not the city is the [USPS default city](https://en.wikipedia.org/wiki/ZIP_Code#ZIP_Codes_and_previous_zoning_lines) (preferred city) of a ZIP code. There is only one preferred city per ZIP code, which will always be in position 0 in the array of cities.
///
/// Indicates whether or not the city is the [USPS default city](https://en.wikipedia.org/wiki/ZIP_Code#ZIP_Codes_and_previous_zoning_lines) (preferred city) of a ZIP code. There is only one preferred city per ZIP code, which will always be in position 0 in the array of cities.
- [DataMember(Name = "preferred", IsRequired = true, EmitDefaultValue = false)]
+ [DataMember(Name = "preferred", IsRequired = true, EmitDefaultValue = true)]
public bool Preferred { get; set; }
///
diff --git a/src/lob.dotnet/lob.dotnet.csproj b/src/lob.dotnet/lob.dotnet.csproj
old mode 100755
new mode 100644
index 57302b9..ddcb9dd
--- a/src/lob.dotnet/lob.dotnet.csproj
+++ b/src/lob.dotnet/lob.dotnet.csproj
@@ -11,11 +11,11 @@
OpenAPI Library
A library generated from a OpenAPI spec for the Csharp language
lob.dotnet
- 1.1.1
+ 1.1.2
bin\$(Configuration)\$(TargetFramework)\lob.dotnet.xml
https://github.com/lob/lob-dotnet
git
- Beta Release
+ Fixed an issue where passing false for bool properties could cause API validation errors.
MIT
https://github.com/lob/lob-dotnet
address verification;address validation;address autocomplete;lob;lob.com