diff --git a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs
index fd328d9..cf81f78 100644
--- a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs
@@ -56,7 +56,7 @@ protected EncryptedRCLItem() { }
///
/// Base64 encoded data
/*
- [B@671e627
+ [B@71ccb5a9
*/
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
public byte[] EncryptedRCL { get; set; }
diff --git a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs
index 6b1944e..b16d783 100644
--- a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs
@@ -62,7 +62,7 @@ protected EncryptedRCLResult() { }
///
/// Base64 encoded data
/*
- [B@671e627
+ [B@71ccb5a9
*/
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
public byte[] EncryptedRCL { get; set; }
diff --git a/src/Regula.DocumentReader.WebClient/Model/FDSIDList.cs b/src/Regula.DocumentReader.WebClient/Model/FDSIDList.cs
index 8cb5e7e..47678d1 100644
--- a/src/Regula.DocumentReader.WebClient/Model/FDSIDList.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/FDSIDList.cs
@@ -53,13 +53,13 @@ protected FDSIDList() { }
/// Initializes a new instance of the class.
///
/// ICAO code of the issuing country (required).
- /// Number of elements in the List (required).
- /// Document identifiers in 'Information Reference Systems' (required).
+ /// Number of elements in the List.
+ /// Document identifiers in 'Information Reference Systems'.
/// dType (required).
/// dFormat (required).
/// Flag indicating the presence of MRZ on the document (required).
/// Document description.
- /// Year of publication of the document (required).
+ /// Year of publication of the document.
/// Issuing country name (required).
/// Issuing state code.
/// Issuing state name.
@@ -72,22 +72,9 @@ protected FDSIDList() { }
throw new ArgumentNullException("iCAOCode is a required property for FDSIDList and cannot be null");
}
this.ICAOCode = iCAOCode;
- this.Count = count;
- // to ensure "list" is required (not null)
- if (list == null)
- {
- throw new ArgumentNullException("list is a required property for FDSIDList and cannot be null");
- }
- this.List = list;
this.DType = dType;
this.DFormat = dFormat;
this.DMRZ = dMRZ;
- // to ensure "dYear" is required (not null)
- if (dYear == null)
- {
- throw new ArgumentNullException("dYear is a required property for FDSIDList and cannot be null");
- }
- this.DYear = dYear;
// to ensure "dCountryName" is required (not null)
if (dCountryName == null)
{
@@ -95,7 +82,10 @@ protected FDSIDList() { }
}
this.DCountryName = dCountryName;
this.IsDeprecated = isDeprecated;
+ this.Count = count;
+ this.List = list;
this.DDescription = dDescription;
+ this.DYear = dYear;
this.DStateCode = dStateCode;
this.DStateName = dStateName;
}
@@ -111,15 +101,15 @@ protected FDSIDList() { }
/// Number of elements in the List
///
/// Number of elements in the List
- [DataMember(Name = "Count", IsRequired = true, EmitDefaultValue = true)]
- public decimal Count { get; set; }
+ [DataMember(Name = "Count", EmitDefaultValue = false)]
+ public decimal? Count { get; set; }
///
/// Document identifiers in 'Information Reference Systems'
///
/// Document identifiers in 'Information Reference Systems'
- [DataMember(Name = "List", IsRequired = true, EmitDefaultValue = true)]
- public List List { get; set; }
+ [DataMember(Name = "List", EmitDefaultValue = false)]
+ public List? List { get; set; }
///
/// Flag indicating the presence of MRZ on the document
@@ -139,8 +129,8 @@ protected FDSIDList() { }
/// Year of publication of the document
///
/// Year of publication of the document
- [DataMember(Name = "dYear", IsRequired = true, EmitDefaultValue = true)]
- public string DYear { get; set; }
+ [DataMember(Name = "dYear", EmitDefaultValue = false)]
+ public string? DYear { get; set; }
///
/// Issuing country name
diff --git a/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs b/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs
index acd6e24..60294b7 100644
--- a/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs
@@ -56,7 +56,7 @@ protected LicenseItem() { }
///
/// Base64 encoded data
/*
- [B@3768c9b
+ [B@6511807b
*/
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
public byte[] License { get; set; }
diff --git a/src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs b/src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs
index 64171c0..34ab1a4 100644
--- a/src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs
@@ -62,7 +62,7 @@ protected LicenseResult() { }
///
/// Base64 encoded data
/*
- [B@3768c9b
+ [B@6511807b
*/
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
public byte[] License { get; set; }