diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES
index 4ffc2c0..55e0511 100644
--- a/.openapi-generator/FILES
+++ b/.openapi-generator/FILES
@@ -52,6 +52,7 @@ src/Regula.DocumentReader.WebClient/Model/CrossSourceValueComparison.cs
src/Regula.DocumentReader.WebClient/Model/DataModule.cs
src/Regula.DocumentReader.WebClient/Model/DatabaseDocument.cs
src/Regula.DocumentReader.WebClient/Model/DatabaseDocumentList.cs
+src/Regula.DocumentReader.WebClient/Model/DetailsAge.cs
src/Regula.DocumentReader.WebClient/Model/DetailsOptical.cs
src/Regula.DocumentReader.WebClient/Model/DetailsRFID.cs
src/Regula.DocumentReader.WebClient/Model/DeviceInfo.cs
@@ -59,6 +60,7 @@ src/Regula.DocumentReader.WebClient/Model/DeviceInfoDocumentsDatabase.cs
src/Regula.DocumentReader.WebClient/Model/DocBarCodeInfo.cs
src/Regula.DocumentReader.WebClient/Model/DocBarCodeInfoFieldsList.cs
src/Regula.DocumentReader.WebClient/Model/DocBarCodeInfoItem.cs
+src/Regula.DocumentReader.WebClient/Model/DocFeature.cs
src/Regula.DocumentReader.WebClient/Model/DocGraphicsInfoItem.cs
src/Regula.DocumentReader.WebClient/Model/DocVisualExtendedField.cs
src/Regula.DocumentReader.WebClient/Model/DocVisualExtendedFieldItem.cs
@@ -131,6 +133,9 @@ src/Regula.DocumentReader.WebClient/Model/ListVerifiedFields.cs
src/Regula.DocumentReader.WebClient/Model/ListVerifiedFieldsItem.cs
src/Regula.DocumentReader.WebClient/Model/LivenessParams.cs
src/Regula.DocumentReader.WebClient/Model/LogLevel.cs
+src/Regula.DocumentReader.WebClient/Model/MDLDeviceEngagement.cs
+src/Regula.DocumentReader.WebClient/Model/MDLDeviceRetrieval.cs
+src/Regula.DocumentReader.WebClient/Model/MDLServerRetrieval.cs
src/Regula.DocumentReader.WebClient/Model/MRZDetectorResult.cs
src/Regula.DocumentReader.WebClient/Model/MRZFormat.cs
src/Regula.DocumentReader.WebClient/Model/MRZPositionResult.cs
@@ -139,6 +144,7 @@ src/Regula.DocumentReader.WebClient/Model/MRZTestQuality.cs
src/Regula.DocumentReader.WebClient/Model/MRZTestQualityItem.cs
src/Regula.DocumentReader.WebClient/Model/MRZTestQualityResult.cs
src/Regula.DocumentReader.WebClient/Model/MeasureSystem.cs
+src/Regula.DocumentReader.WebClient/Model/Message.cs
src/Regula.DocumentReader.WebClient/Model/MrzDetectModeEnum.cs
src/Regula.DocumentReader.WebClient/Model/MrzPositionItem.cs
src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextItem.cs
@@ -149,6 +155,7 @@ src/Regula.DocumentReader.WebClient/Model/OriginalSymbol.cs
src/Regula.DocumentReader.WebClient/Model/OutData.cs
src/Regula.DocumentReader.WebClient/Model/OutDataTransactionImagesFieldValue.cs
src/Regula.DocumentReader.WebClient/Model/PArrayField.cs
+src/Regula.DocumentReader.WebClient/Model/PID.cs
src/Regula.DocumentReader.WebClient/Model/ParsedData.cs
src/Regula.DocumentReader.WebClient/Model/ParsingErrorCodes.cs
src/Regula.DocumentReader.WebClient/Model/ParsingNotificationCodes.cs
@@ -246,6 +253,14 @@ src/Regula.DocumentReader.WebClient/Model/TransactionProcessRequest.cs
src/Regula.DocumentReader.WebClient/Model/TransactionProcessResult.cs
src/Regula.DocumentReader.WebClient/Model/TrfFtBytes.cs
src/Regula.DocumentReader.WebClient/Model/TrfFtString.cs
+src/Regula.DocumentReader.WebClient/Model/VDItem.cs
+src/Regula.DocumentReader.WebClient/Model/VDSData.cs
+src/Regula.DocumentReader.WebClient/Model/VDSDataItem.cs
+src/Regula.DocumentReader.WebClient/Model/VDSDataResult.cs
+src/Regula.DocumentReader.WebClient/Model/VDSNCData.cs
+src/Regula.DocumentReader.WebClient/Model/VDSNCDataItem.cs
+src/Regula.DocumentReader.WebClient/Model/VDSNCDataResult.cs
+src/Regula.DocumentReader.WebClient/Model/VEItem.cs
src/Regula.DocumentReader.WebClient/Model/VerificationResult.cs
src/Regula.DocumentReader.WebClient/Model/VerifiedFieldMap.cs
src/Regula.DocumentReader.WebClient/Model/Visibility.cs
diff --git a/src/Regula.DocumentReader.WebClient/Model/ContainerListListInner.cs b/src/Regula.DocumentReader.WebClient/Model/ContainerListListInner.cs
index a435bb8..3be3e9b 100644
--- a/src/Regula.DocumentReader.WebClient/Model/ContainerListListInner.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/ContainerListListInner.cs
@@ -323,6 +323,30 @@ public ContainerListListInner(RFIDTextDataResult actualInstance)
this.ActualInstance = actualInstance ?? throw new ArgumentException("Invalid instance found. Must not be null.");
}
+ ///
+ /// Initializes a new instance of the class
+ /// with the class
+ ///
+ /// An instance of VDSNCDataResult.
+ public ContainerListListInner(VDSNCDataResult actualInstance)
+ {
+ this.IsNullable = false;
+ this.SchemaType= "oneOf";
+ this.ActualInstance = actualInstance ?? throw new ArgumentException("Invalid instance found. Must not be null.");
+ }
+
+ ///
+ /// Initializes a new instance of the class
+ /// with the class
+ ///
+ /// An instance of VDSDataResult.
+ public ContainerListListInner(VDSDataResult actualInstance)
+ {
+ this.IsNullable = false;
+ this.SchemaType= "oneOf";
+ this.ActualInstance = actualInstance ?? throw new ArgumentException("Invalid instance found. Must not be null.");
+ }
+
private Object _actualInstance;
@@ -433,9 +457,17 @@ public override Object ActualInstance
{
this._actualInstance = value;
}
+ else if (value.GetType() == typeof(VDSDataResult) || value is VDSDataResult)
+ {
+ this._actualInstance = value;
+ }
+ else if (value.GetType() == typeof(VDSNCDataResult) || value is VDSNCDataResult)
+ {
+ this._actualInstance = value;
+ }
else
{
- throw new ArgumentException("Invalid instance found. Must be the following types: AuthenticityResult, BarcodePositionResult, ByteArrayResult, ChosenDocumentTypeResult, DocBarCodeInfo, DocumentBinaryInfoResult, DocumentImageResult, DocumentPositionResult, DocumentTypesCandidatesResult, EncryptedRCLResult, FaceDetectionResult, GraphicsResult, ImageQualityResult, ImagesResult, LexicalAnalysisResult, LicenseResult, MRZDetectorResult, MRZPositionResult, MRZTestQualityResult, RFIDGraphicsInfoResult, RFIDTextDataResult, StatusResult, TextDataResult, TextResult");
+ throw new ArgumentException("Invalid instance found. Must be the following types: AuthenticityResult, BarcodePositionResult, ByteArrayResult, ChosenDocumentTypeResult, DocBarCodeInfo, DocumentBinaryInfoResult, DocumentImageResult, DocumentPositionResult, DocumentTypesCandidatesResult, EncryptedRCLResult, FaceDetectionResult, GraphicsResult, ImageQualityResult, ImagesResult, LexicalAnalysisResult, LicenseResult, MRZDetectorResult, MRZPositionResult, MRZTestQualityResult, RFIDGraphicsInfoResult, RFIDTextDataResult, StatusResult, TextDataResult, TextResult, VDSDataResult, VDSNCDataResult");
}
}
}
@@ -680,6 +712,26 @@ public RFIDTextDataResult GetRFIDTextDataResult()
return (RFIDTextDataResult)this.ActualInstance;
}
+ ///
+ /// Get the actual instance of `VDSNCDataResult`. If the actual instance is not `VDSNCDataResult`,
+ /// the InvalidClassException will be thrown
+ ///
+ /// An instance of VDSNCDataResult
+ public VDSNCDataResult GetVDSNCDataResult()
+ {
+ return (VDSNCDataResult)this.ActualInstance;
+ }
+
+ ///
+ /// Get the actual instance of `VDSDataResult`. If the actual instance is not `VDSDataResult`,
+ /// the InvalidClassException will be thrown
+ ///
+ /// An instance of VDSDataResult
+ public VDSDataResult GetVDSDataResult()
+ {
+ return (VDSDataResult)this.ActualInstance;
+ }
+
///
/// Returns the string presentation of the object
///
@@ -1198,6 +1250,46 @@ public static ContainerListListInner FromJson(string jsonString)
System.Diagnostics.Debug.WriteLine(string.Format("Failed to deserialize `{0}` into TextResult: {1}", jsonString, exception.ToString()));
}
+ try
+ {
+ // if it does not contains "AdditionalProperties", use SerializerSettings to deserialize
+ if (typeof(VDSDataResult).GetProperty("AdditionalProperties") == null)
+ {
+ newContainerListListInner = new ContainerListListInner(JsonConvert.DeserializeObject(jsonString, ContainerListListInner.SerializerSettings));
+ }
+ else
+ {
+ newContainerListListInner = new ContainerListListInner(JsonConvert.DeserializeObject(jsonString, ContainerListListInner.AdditionalPropertiesSerializerSettings));
+ }
+ matchedTypes.Add("VDSDataResult");
+ match++;
+ }
+ catch (Exception exception)
+ {
+ // deserialization failed, try the next one
+ System.Diagnostics.Debug.WriteLine(string.Format("Failed to deserialize `{0}` into VDSDataResult: {1}", jsonString, exception.ToString()));
+ }
+
+ try
+ {
+ // if it does not contains "AdditionalProperties", use SerializerSettings to deserialize
+ if (typeof(VDSNCDataResult).GetProperty("AdditionalProperties") == null)
+ {
+ newContainerListListInner = new ContainerListListInner(JsonConvert.DeserializeObject(jsonString, ContainerListListInner.SerializerSettings));
+ }
+ else
+ {
+ newContainerListListInner = new ContainerListListInner(JsonConvert.DeserializeObject(jsonString, ContainerListListInner.AdditionalPropertiesSerializerSettings));
+ }
+ matchedTypes.Add("VDSNCDataResult");
+ match++;
+ }
+ catch (Exception exception)
+ {
+ // deserialization failed, try the next one
+ System.Diagnostics.Debug.WriteLine(string.Format("Failed to deserialize `{0}` into VDSNCDataResult: {1}", jsonString, exception.ToString()));
+ }
+
if (match == 0)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` cannot be deserialized into any schema defined.");
diff --git a/src/Regula.DocumentReader.WebClient/Model/DetailsAge.cs b/src/Regula.DocumentReader.WebClient/Model/DetailsAge.cs
new file mode 100644
index 0000000..97b6925
--- /dev/null
+++ b/src/Regula.DocumentReader.WebClient/Model/DetailsAge.cs
@@ -0,0 +1,133 @@
+/*
+ * Regula Document Reader Web API
+ *
+ * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
+ *
+ * The version of the OpenAPI document: 8.1.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Text.RegularExpressions;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using Newtonsoft.Json.Linq;
+using System.ComponentModel.DataAnnotations;
+using FileParameter = Regula.DocumentReader.WebClient.Client.FileParameter;
+using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
+
+namespace Regula.DocumentReader.WebClient.Model
+{
+ ///
+ /// DetailsAge
+ ///
+ [DataContract(Name = "DetailsAge")]
+ public partial class DetailsAge : IValidatableObject
+ {
+
+ ///
+ /// Gets or Sets OverThreshold
+ ///
+ [DataMember(Name = "overThreshold", IsRequired = true, EmitDefaultValue = true)]
+ public CheckResult OverThreshold { get; set; }
+
+ ///
+ /// Gets or Sets Over18
+ ///
+ [DataMember(Name = "over18", IsRequired = true, EmitDefaultValue = true)]
+ public CheckResult Over18 { get; set; }
+
+ ///
+ /// Gets or Sets Over21
+ ///
+ [DataMember(Name = "over21", IsRequired = true, EmitDefaultValue = true)]
+ public CheckResult Over21 { get; set; }
+
+ ///
+ /// Gets or Sets Over25
+ ///
+ [DataMember(Name = "over25", IsRequired = true, EmitDefaultValue = true)]
+ public CheckResult Over25 { get; set; }
+
+ ///
+ /// Gets or Sets Over65
+ ///
+ [DataMember(Name = "over65", IsRequired = true, EmitDefaultValue = true)]
+ public CheckResult Over65 { get; set; }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ [JsonConstructorAttribute]
+ protected DetailsAge() { }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// threshold (required).
+ /// overThreshold (required).
+ /// over18 (required).
+ /// over21 (required).
+ /// over25 (required).
+ /// over65 (required).
+ public DetailsAge(int threshold = default(int), CheckResult overThreshold = default(CheckResult), CheckResult over18 = default(CheckResult), CheckResult over21 = default(CheckResult), CheckResult over25 = default(CheckResult), CheckResult over65 = default(CheckResult))
+ {
+ this.Threshold = threshold;
+ this.OverThreshold = overThreshold;
+ this.Over18 = over18;
+ this.Over21 = over21;
+ this.Over25 = over25;
+ this.Over65 = over65;
+ }
+
+ ///
+ /// Gets or Sets Threshold
+ ///
+ [DataMember(Name = "threshold", IsRequired = true, EmitDefaultValue = true)]
+ public int Threshold { get; set; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class DetailsAge {\n");
+ sb.Append(" Threshold: ").Append(Threshold).Append("\n");
+ sb.Append(" OverThreshold: ").Append(OverThreshold).Append("\n");
+ sb.Append(" Over18: ").Append(Over18).Append("\n");
+ sb.Append(" Over21: ").Append(Over21).Append("\n");
+ sb.Append(" Over25: ").Append(Over25).Append("\n");
+ sb.Append(" Over65: ").Append(Over65).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns the JSON string presentation of the object
+ ///
+ /// JSON string presentation of the object
+ public virtual string ToJson()
+ {
+ return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
+ {
+ yield break;
+ }
+ }
+
+}
diff --git a/src/Regula.DocumentReader.WebClient/Model/DocFeature.cs b/src/Regula.DocumentReader.WebClient/Model/DocFeature.cs
new file mode 100644
index 0000000..6b85f94
--- /dev/null
+++ b/src/Regula.DocumentReader.WebClient/Model/DocFeature.cs
@@ -0,0 +1,102 @@
+/*
+ * Regula Document Reader Web API
+ *
+ * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
+ *
+ * The version of the OpenAPI document: 8.1.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Text.RegularExpressions;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using Newtonsoft.Json.Linq;
+using System.ComponentModel.DataAnnotations;
+using FileParameter = Regula.DocumentReader.WebClient.Client.FileParameter;
+using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
+
+namespace Regula.DocumentReader.WebClient.Model
+{
+ ///
+ /// DocFeature
+ ///
+ [DataContract(Name = "DocFeature")]
+ public partial class DocFeature : IValidatableObject
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ [JsonConstructorAttribute]
+ protected DocFeature() { }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// type (required).
+ /// data (required).
+ public DocFeature(decimal type = default(decimal), TrfFtBytes data = default(TrfFtBytes))
+ {
+ this.Type = type;
+ // to ensure "data" is required (not null)
+ if (data == null)
+ {
+ throw new ArgumentNullException("data is a required property for DocFeature and cannot be null");
+ }
+ this.Data = data;
+ }
+
+ ///
+ /// Gets or Sets Type
+ ///
+ [DataMember(Name = "Type", IsRequired = true, EmitDefaultValue = true)]
+ public decimal Type { get; set; }
+
+ ///
+ /// Gets or Sets Data
+ ///
+ [DataMember(Name = "Data", IsRequired = true, EmitDefaultValue = true)]
+ public TrfFtBytes Data { get; set; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class DocFeature {\n");
+ sb.Append(" Type: ").Append(Type).Append("\n");
+ sb.Append(" Data: ").Append(Data).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns the JSON string presentation of the object
+ ///
+ /// JSON string presentation of the object
+ public virtual string ToJson()
+ {
+ return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
+ {
+ yield break;
+ }
+ }
+
+}
diff --git a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs
index ad5ea9f..97df41c 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@e5d994d
+ [B@27e6ab90
*/
[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 bce5582..3c0645a 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@e5d994d
+ [B@27e6ab90
*/
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
public byte[] EncryptedRCL { get; set; }
diff --git a/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs b/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs
index 127a89f..e0d9e24 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@5c344ece
+ [B@5713fdbb
*/
[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 ad8ed44..13a3e9b 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@5c344ece
+ [B@5713fdbb
*/
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
public byte[] License { get; set; }
diff --git a/src/Regula.DocumentReader.WebClient/Model/MDLDeviceEngagement.cs b/src/Regula.DocumentReader.WebClient/Model/MDLDeviceEngagement.cs
new file mode 100644
index 0000000..a5e4b8a
--- /dev/null
+++ b/src/Regula.DocumentReader.WebClient/Model/MDLDeviceEngagement.cs
@@ -0,0 +1,45 @@
+/*
+ * Regula Document Reader Web API
+ *
+ * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
+ *
+ * The version of the OpenAPI document: 8.1.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Text.RegularExpressions;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using Newtonsoft.Json.Linq;
+using System.ComponentModel.DataAnnotations;
+using FileParameter = Regula.DocumentReader.WebClient.Client.FileParameter;
+using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
+
+namespace Regula.DocumentReader.WebClient.Model
+{
+ ///
+ /// Defines MDLDeviceEngagement
+ ///
+ public enum MDLDeviceEngagement
+ {
+ ///
+ /// Enum QR for value: 0
+ ///
+ QR = 0,
+
+ ///
+ /// Enum NFC for value: 1
+ ///
+ NFC = 1
+ }
+
+}
diff --git a/src/Regula.DocumentReader.WebClient/Model/MDLDeviceRetrieval.cs b/src/Regula.DocumentReader.WebClient/Model/MDLDeviceRetrieval.cs
new file mode 100644
index 0000000..b2ee50d
--- /dev/null
+++ b/src/Regula.DocumentReader.WebClient/Model/MDLDeviceRetrieval.cs
@@ -0,0 +1,50 @@
+/*
+ * Regula Document Reader Web API
+ *
+ * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
+ *
+ * The version of the OpenAPI document: 8.1.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Text.RegularExpressions;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using Newtonsoft.Json.Linq;
+using System.ComponentModel.DataAnnotations;
+using FileParameter = Regula.DocumentReader.WebClient.Client.FileParameter;
+using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
+
+namespace Regula.DocumentReader.WebClient.Model
+{
+ ///
+ /// Defines MDLDeviceRetrieval
+ ///
+ public enum MDLDeviceRetrieval
+ {
+ ///
+ /// Enum NFC for value: 1
+ ///
+ NFC = 1,
+
+ ///
+ /// Enum BLE for value: 2
+ ///
+ BLE = 2,
+
+ ///
+ /// Enum WIFI_AWARE for value: 3
+ ///
+ WIFI_AWARE = 3
+ }
+
+}
diff --git a/src/Regula.DocumentReader.WebClient/Model/MDLServerRetrieval.cs b/src/Regula.DocumentReader.WebClient/Model/MDLServerRetrieval.cs
new file mode 100644
index 0000000..f7e0e39
--- /dev/null
+++ b/src/Regula.DocumentReader.WebClient/Model/MDLServerRetrieval.cs
@@ -0,0 +1,45 @@
+/*
+ * Regula Document Reader Web API
+ *
+ * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
+ *
+ * The version of the OpenAPI document: 8.1.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Text.RegularExpressions;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using Newtonsoft.Json.Linq;
+using System.ComponentModel.DataAnnotations;
+using FileParameter = Regula.DocumentReader.WebClient.Client.FileParameter;
+using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
+
+namespace Regula.DocumentReader.WebClient.Model
+{
+ ///
+ /// Defines MDLServerRetrieval
+ ///
+ public enum MDLServerRetrieval
+ {
+ ///
+ /// Enum WEB_API for value: 0
+ ///
+ WEB_API = 0,
+
+ ///
+ /// Enum OIDC for value: 1
+ ///
+ OIDC = 1
+ }
+
+}
diff --git a/src/Regula.DocumentReader.WebClient/Model/Message.cs b/src/Regula.DocumentReader.WebClient/Model/Message.cs
new file mode 100644
index 0000000..274375e
--- /dev/null
+++ b/src/Regula.DocumentReader.WebClient/Model/Message.cs
@@ -0,0 +1,101 @@
+/*
+ * Regula Document Reader Web API
+ *
+ * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
+ *
+ * The version of the OpenAPI document: 8.1.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Text.RegularExpressions;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using Newtonsoft.Json.Linq;
+using System.ComponentModel.DataAnnotations;
+using FileParameter = Regula.DocumentReader.WebClient.Client.FileParameter;
+using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
+
+namespace Regula.DocumentReader.WebClient.Model
+{
+ ///
+ /// Message
+ ///
+ [DataContract(Name = "Message")]
+ public partial class Message : IValidatableObject
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// pid.
+ /// uvci.
+ /// ve.
+ public Message(PID pid = default(PID), string uvci = default(string), List ve = default(List))
+ {
+ this.Pid = pid;
+ this.Uvci = uvci;
+ this.Ve = ve;
+ }
+
+ ///
+ /// Gets or Sets Pid
+ ///
+ [DataMember(Name = "pid", EmitDefaultValue = false)]
+ public PID? Pid { get; set; }
+
+ ///
+ /// Gets or Sets Uvci
+ ///
+ [DataMember(Name = "uvci", EmitDefaultValue = false)]
+ public string? Uvci { get; set; }
+
+ ///
+ /// Gets or Sets Ve
+ ///
+ [DataMember(Name = "ve", EmitDefaultValue = false)]
+ public List? Ve { get; set; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class Message {\n");
+ sb.Append(" Pid: ").Append(Pid).Append("\n");
+ sb.Append(" Uvci: ").Append(Uvci).Append("\n");
+ sb.Append(" Ve: ").Append(Ve).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns the JSON string presentation of the object
+ ///
+ /// JSON string presentation of the object
+ public virtual string ToJson()
+ {
+ return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
+ {
+ yield break;
+ }
+ }
+
+}
diff --git a/src/Regula.DocumentReader.WebClient/Model/PID.cs b/src/Regula.DocumentReader.WebClient/Model/PID.cs
new file mode 100644
index 0000000..b605146
--- /dev/null
+++ b/src/Regula.DocumentReader.WebClient/Model/PID.cs
@@ -0,0 +1,110 @@
+/*
+ * Regula Document Reader Web API
+ *
+ * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
+ *
+ * The version of the OpenAPI document: 8.1.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Text.RegularExpressions;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using Newtonsoft.Json.Linq;
+using System.ComponentModel.DataAnnotations;
+using FileParameter = Regula.DocumentReader.WebClient.Client.FileParameter;
+using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
+
+namespace Regula.DocumentReader.WebClient.Model
+{
+ ///
+ /// PID
+ ///
+ [DataContract(Name = "PID")]
+ public partial class PID : IValidatableObject
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// dob.
+ /// i.
+ /// n.
+ /// sex.
+ public PID(string dob = default(string), string i = default(string), string n = default(string), string sex = default(string))
+ {
+ this.Dob = dob;
+ this.I = i;
+ this.N = n;
+ this.Sex = sex;
+ }
+
+ ///
+ /// Gets or Sets Dob
+ ///
+ [DataMember(Name = "dob", EmitDefaultValue = false)]
+ public string? Dob { get; set; }
+
+ ///
+ /// Gets or Sets I
+ ///
+ [DataMember(Name = "i", EmitDefaultValue = false)]
+ public string? I { get; set; }
+
+ ///
+ /// Gets or Sets N
+ ///
+ [DataMember(Name = "n", EmitDefaultValue = false)]
+ public string? N { get; set; }
+
+ ///
+ /// Gets or Sets Sex
+ ///
+ [DataMember(Name = "sex", EmitDefaultValue = false)]
+ public string? Sex { get; set; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class PID {\n");
+ sb.Append(" Dob: ").Append(Dob).Append("\n");
+ sb.Append(" I: ").Append(I).Append("\n");
+ sb.Append(" N: ").Append(N).Append("\n");
+ sb.Append(" Sex: ").Append(Sex).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns the JSON string presentation of the object
+ ///
+ /// JSON string presentation of the object
+ public virtual string ToJson()
+ {
+ return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
+ {
+ yield break;
+ }
+ }
+
+}
diff --git a/src/Regula.DocumentReader.WebClient/Model/Result.cs b/src/Regula.DocumentReader.WebClient/Model/Result.cs
index a820d96..d738ce4 100644
--- a/src/Regula.DocumentReader.WebClient/Model/Result.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/Result.cs
@@ -209,7 +209,37 @@ public enum Result
///
/// Enum DTC_VC for value: 109
///
- DTC_VC = 109
+ DTC_VC = 109,
+
+ ///
+ /// Enum MDL_DEVICE_RAW_RESPONSE for value: 120
+ ///
+ MDL_DEVICE_RAW_RESPONSE = 120,
+
+ ///
+ /// Enum MDL_DEVICE_PARSED_RESPONSE for value: 121
+ ///
+ MDL_DEVICE_PARSED_RESPONSE = 121,
+
+ ///
+ /// Enum MDL_SERVER_RAW_RESPONSE for value: 122
+ ///
+ MDL_SERVER_RAW_RESPONSE = 122,
+
+ ///
+ /// Enum MDL_SERVER_PARSED_RESPONSE for value: 123
+ ///
+ MDL_SERVER_PARSED_RESPONSE = 123,
+
+ ///
+ /// Enum VDS_NC for value: 124
+ ///
+ VDS_NC = 124,
+
+ ///
+ /// Enum VDS for value: 125
+ ///
+ VDS = 125
}
}
diff --git a/src/Regula.DocumentReader.WebClient/Model/ResultItem.cs b/src/Regula.DocumentReader.WebClient/Model/ResultItem.cs
index 67eb0a7..c8d0095 100644
--- a/src/Regula.DocumentReader.WebClient/Model/ResultItem.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/ResultItem.cs
@@ -39,6 +39,8 @@ namespace Regula.DocumentReader.WebClient.Model
[JsonSubtypes.KnownSubType(typeof(DocumentBinaryInfoResult), "104")]
[JsonSubtypes.KnownSubType(typeof(RFIDGraphicsInfoResult), "105")]
[JsonSubtypes.KnownSubType(typeof(ByteArrayResult), "109")]
+ [JsonSubtypes.KnownSubType(typeof(VDSNCDataResult), "124")]
+ [JsonSubtypes.KnownSubType(typeof(VDSDataResult), "125")]
[JsonSubtypes.KnownSubType(typeof(LexicalAnalysisResult), "15")]
[JsonSubtypes.KnownSubType(typeof(DocumentImageResult), "16")]
[JsonSubtypes.KnownSubType(typeof(TextDataResult), "17")]
diff --git a/src/Regula.DocumentReader.WebClient/Model/Status.cs b/src/Regula.DocumentReader.WebClient/Model/Status.cs
index 279f9f8..0928bb6 100644
--- a/src/Regula.DocumentReader.WebClient/Model/Status.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/Status.cs
@@ -62,6 +62,18 @@ public partial class Status : IValidatableObject
///
[DataMember(Name = "stopList", IsRequired = true, EmitDefaultValue = true)]
public CheckResult StopList { get; set; }
+
+ ///
+ /// Gets or Sets Age
+ ///
+ [DataMember(Name = "age", IsRequired = true, EmitDefaultValue = true)]
+ public CheckResult Age { get; set; }
+
+ ///
+ /// Gets or Sets MDL
+ ///
+ [DataMember(Name = "mDL", IsRequired = true, EmitDefaultValue = true)]
+ public CheckResult MDL { get; set; }
///
/// Initializes a new instance of the class.
///
@@ -77,7 +89,10 @@ protected Status() { }
/// stopList (required).
/// detailsRFID.
/// detailsOptical (required).
- public Status(CheckResult overallStatus = default(CheckResult), CheckResult optical = default(CheckResult), CheckResult portrait = default(CheckResult), CheckResult rfid = default(CheckResult), CheckResult stopList = default(CheckResult), DetailsRFID detailsRFID = default(DetailsRFID), DetailsOptical detailsOptical = default(DetailsOptical))
+ /// age (required).
+ /// detailsAge (required).
+ /// mDL (required).
+ public Status(CheckResult overallStatus = default(CheckResult), CheckResult optical = default(CheckResult), CheckResult portrait = default(CheckResult), CheckResult rfid = default(CheckResult), CheckResult stopList = default(CheckResult), DetailsRFID detailsRFID = default(DetailsRFID), DetailsOptical detailsOptical = default(DetailsOptical), CheckResult age = default(CheckResult), DetailsAge detailsAge = default(DetailsAge), CheckResult mDL = default(CheckResult))
{
this.OverallStatus = overallStatus;
this.Optical = optical;
@@ -90,6 +105,14 @@ protected Status() { }
throw new ArgumentNullException("detailsOptical is a required property for Status and cannot be null");
}
this.DetailsOptical = detailsOptical;
+ this.Age = age;
+ // to ensure "detailsAge" is required (not null)
+ if (detailsAge == null)
+ {
+ throw new ArgumentNullException("detailsAge is a required property for Status and cannot be null");
+ }
+ this.DetailsAge = detailsAge;
+ this.MDL = mDL;
this.DetailsRFID = detailsRFID;
}
@@ -105,6 +128,12 @@ protected Status() { }
[DataMember(Name = "detailsOptical", IsRequired = true, EmitDefaultValue = true)]
public DetailsOptical DetailsOptical { get; set; }
+ ///
+ /// Gets or Sets DetailsAge
+ ///
+ [DataMember(Name = "detailsAge", IsRequired = true, EmitDefaultValue = true)]
+ public DetailsAge DetailsAge { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -120,6 +149,9 @@ public override string ToString()
sb.Append(" StopList: ").Append(StopList).Append("\n");
sb.Append(" DetailsRFID: ").Append(DetailsRFID).Append("\n");
sb.Append(" DetailsOptical: ").Append(DetailsOptical).Append("\n");
+ sb.Append(" Age: ").Append(Age).Append("\n");
+ sb.Append(" DetailsAge: ").Append(DetailsAge).Append("\n");
+ sb.Append(" MDL: ").Append(MDL).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
diff --git a/src/Regula.DocumentReader.WebClient/Model/TextFieldType.cs b/src/Regula.DocumentReader.WebClient/Model/TextFieldType.cs
index 33c58ca..a5af7de 100644
--- a/src/Regula.DocumentReader.WebClient/Model/TextFieldType.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/TextFieldType.cs
@@ -3274,7 +3274,22 @@ public enum TextFieldType
///
/// Enum FT_FIRST_ISSUE_DATE_CHECKSUM for value: 699
///
- FT_FIRST_ISSUE_DATE_CHECKSUM = 699
+ FT_FIRST_ISSUE_DATE_CHECKSUM = 699,
+
+ ///
+ /// Enum FT_COMMERCIAL_INDICATOR for value: 701
+ ///
+ FT_COMMERCIAL_INDICATOR = 701,
+
+ ///
+ /// Enum FT_NON_DOMICILED_INDICATOR for value: 702
+ ///
+ FT_NON_DOMICILED_INDICATOR = 702,
+
+ ///
+ /// Enum FT_JURISDICTION_SPECIFIC_DATA for value: 703
+ ///
+ FT_JURISDICTION_SPECIFIC_DATA = 703
}
}
diff --git a/src/Regula.DocumentReader.WebClient/Model/TrfFtString.cs b/src/Regula.DocumentReader.WebClient/Model/TrfFtString.cs
index 32df89e..7425c0e 100644
--- a/src/Regula.DocumentReader.WebClient/Model/TrfFtString.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/TrfFtString.cs
@@ -32,29 +32,19 @@ namespace Regula.DocumentReader.WebClient.Model
[DataContract(Name = "TrfFtString")]
public partial class TrfFtString : IValidatableObject
{
- ///
- /// Initializes a new instance of the class.
- ///
- [JsonConstructorAttribute]
- protected TrfFtString() { }
///
/// Initializes a new instance of the class.
///
/// type.
/// Result of logical analysis of compliance of the contents of the field with the requirements of the specification.
/// Mask of format of text information (for example, «YYMMDD» for date of birth).
- /// Numeric value. (required).
+ /// Numeric value..
public TrfFtString(int type = default(int), int status = default(int), string format = default(string), string data = default(string))
{
- // to ensure "data" is required (not null)
- if (data == null)
- {
- throw new ArgumentNullException("data is a required property for TrfFtString and cannot be null");
- }
- this.Data = data;
this.Type = type;
this.Status = status;
this.Format = format;
+ this.Data = data;
}
///
@@ -81,8 +71,8 @@ protected TrfFtString() { }
/// Numeric value.
///
/// Numeric value.
- [DataMember(Name = "Data", IsRequired = true, EmitDefaultValue = true)]
- public string Data { get; set; }
+ [DataMember(Name = "Data", EmitDefaultValue = false)]
+ public string? Data { get; set; }
///
/// Returns the string presentation of the object
diff --git a/src/Regula.DocumentReader.WebClient/Model/VDItem.cs b/src/Regula.DocumentReader.WebClient/Model/VDItem.cs
new file mode 100644
index 0000000..e9aaa33
--- /dev/null
+++ b/src/Regula.DocumentReader.WebClient/Model/VDItem.cs
@@ -0,0 +1,119 @@
+/*
+ * Regula Document Reader Web API
+ *
+ * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
+ *
+ * The version of the OpenAPI document: 8.1.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Text.RegularExpressions;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using Newtonsoft.Json.Linq;
+using System.ComponentModel.DataAnnotations;
+using FileParameter = Regula.DocumentReader.WebClient.Client.FileParameter;
+using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
+
+namespace Regula.DocumentReader.WebClient.Model
+{
+ ///
+ /// VDItem
+ ///
+ [DataContract(Name = "VDItem")]
+ public partial class VDItem : IValidatableObject
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// adm.
+ /// ctr.
+ /// dvc.
+ /// lot.
+ /// seq.
+ public VDItem(string adm = default(string), string ctr = default(string), string dvc = default(string), string lot = default(string), int seq = default(int))
+ {
+ this.Adm = adm;
+ this.Ctr = ctr;
+ this.Dvc = dvc;
+ this.Lot = lot;
+ this.Seq = seq;
+ }
+
+ ///
+ /// Gets or Sets Adm
+ ///
+ [DataMember(Name = "adm", EmitDefaultValue = false)]
+ public string? Adm { get; set; }
+
+ ///
+ /// Gets or Sets Ctr
+ ///
+ [DataMember(Name = "ctr", EmitDefaultValue = false)]
+ public string? Ctr { get; set; }
+
+ ///
+ /// Gets or Sets Dvc
+ ///
+ [DataMember(Name = "dvc", EmitDefaultValue = false)]
+ public string? Dvc { get; set; }
+
+ ///
+ /// Gets or Sets Lot
+ ///
+ [DataMember(Name = "lot", EmitDefaultValue = false)]
+ public string? Lot { get; set; }
+
+ ///
+ /// Gets or Sets Seq
+ ///
+ [DataMember(Name = "seq", EmitDefaultValue = false)]
+ public int? Seq { get; set; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class VDItem {\n");
+ sb.Append(" Adm: ").Append(Adm).Append("\n");
+ sb.Append(" Ctr: ").Append(Ctr).Append("\n");
+ sb.Append(" Dvc: ").Append(Dvc).Append("\n");
+ sb.Append(" Lot: ").Append(Lot).Append("\n");
+ sb.Append(" Seq: ").Append(Seq).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns the JSON string presentation of the object
+ ///
+ /// JSON string presentation of the object
+ public virtual string ToJson()
+ {
+ return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
+ {
+ yield break;
+ }
+ }
+
+}
diff --git a/src/Regula.DocumentReader.WebClient/Model/VDSData.cs b/src/Regula.DocumentReader.WebClient/Model/VDSData.cs
new file mode 100644
index 0000000..1639cff
--- /dev/null
+++ b/src/Regula.DocumentReader.WebClient/Model/VDSData.cs
@@ -0,0 +1,191 @@
+/*
+ * Regula Document Reader Web API
+ *
+ * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
+ *
+ * The version of the OpenAPI document: 8.1.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Text.RegularExpressions;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using Newtonsoft.Json.Linq;
+using System.ComponentModel.DataAnnotations;
+using FileParameter = Regula.DocumentReader.WebClient.Client.FileParameter;
+using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
+
+namespace Regula.DocumentReader.WebClient.Model
+{
+ ///
+ /// VDSData
+ ///
+ [DataContract(Name = "VDSData")]
+ public partial class VDSData : IValidatableObject
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// certificate.
+ /// certificateChain.
+ /// docFeatures.
+ /// docIssueDate.
+ /// docType.
+ /// featureRef.
+ /// issuingCountry.
+ /// notifications.
+ /// signature.
+ /// signatureDate.
+ /// signer.
+ /// type.
+ /// varVersion.
+ public VDSData(string certificate = default(string), List certificateChain = default(List), List docFeatures = default(List), string docIssueDate = default(string), int docType = default(int), int featureRef = default(int), string issuingCountry = default(string), List notifications = default(List), TrfFtBytes signature = default(TrfFtBytes), string signatureDate = default(string), string signer = default(string), int type = default(int), int varVersion = default(int))
+ {
+ this.Certificate = certificate;
+ this.CertificateChain = certificateChain;
+ this.DocFeatures = docFeatures;
+ this.DocIssueDate = docIssueDate;
+ this.DocType = docType;
+ this.FeatureRef = featureRef;
+ this.IssuingCountry = issuingCountry;
+ this.Notifications = notifications;
+ this.Signature = signature;
+ this.SignatureDate = signatureDate;
+ this.Signer = signer;
+ this.Type = type;
+ this.VarVersion = varVersion;
+ }
+
+ ///
+ /// Gets or Sets Certificate
+ ///
+ [DataMember(Name = "Certificate", EmitDefaultValue = false)]
+ public string? Certificate { get; set; }
+
+ ///
+ /// Gets or Sets CertificateChain
+ ///
+ [DataMember(Name = "CertificateChain", EmitDefaultValue = false)]
+ public List? CertificateChain { get; set; }
+
+ ///
+ /// Gets or Sets DocFeatures
+ ///
+ [DataMember(Name = "DocFeatures", EmitDefaultValue = false)]
+ public List? DocFeatures { get; set; }
+
+ ///
+ /// Gets or Sets DocIssueDate
+ ///
+ [DataMember(Name = "DocIssueDate", EmitDefaultValue = false)]
+ public string? DocIssueDate { get; set; }
+
+ ///
+ /// Gets or Sets DocType
+ ///
+ [DataMember(Name = "DocType", EmitDefaultValue = false)]
+ public int? DocType { get; set; }
+
+ ///
+ /// Gets or Sets FeatureRef
+ ///
+ [DataMember(Name = "FeatureRef", EmitDefaultValue = false)]
+ public int? FeatureRef { get; set; }
+
+ ///
+ /// Gets or Sets IssuingCountry
+ ///
+ [DataMember(Name = "IssuingCountry", EmitDefaultValue = false)]
+ public string? IssuingCountry { get; set; }
+
+ ///
+ /// Gets or Sets Notifications
+ ///
+ [DataMember(Name = "Notifications", EmitDefaultValue = false)]
+ public List? Notifications { get; set; }
+
+ ///
+ /// Gets or Sets Signature
+ ///
+ [DataMember(Name = "Signature", EmitDefaultValue = false)]
+ public TrfFtBytes? Signature { get; set; }
+
+ ///
+ /// Gets or Sets SignatureDate
+ ///
+ [DataMember(Name = "SignatureDate", EmitDefaultValue = false)]
+ public string? SignatureDate { get; set; }
+
+ ///
+ /// Gets or Sets Signer
+ ///
+ [DataMember(Name = "Signer", EmitDefaultValue = false)]
+ public string? Signer { get; set; }
+
+ ///
+ /// Gets or Sets Type
+ ///
+ [DataMember(Name = "Type", EmitDefaultValue = false)]
+ public int? Type { get; set; }
+
+ ///
+ /// Gets or Sets VarVersion
+ ///
+ [DataMember(Name = "Version", EmitDefaultValue = false)]
+ public int? VarVersion { get; set; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class VDSData {\n");
+ sb.Append(" Certificate: ").Append(Certificate).Append("\n");
+ sb.Append(" CertificateChain: ").Append(CertificateChain).Append("\n");
+ sb.Append(" DocFeatures: ").Append(DocFeatures).Append("\n");
+ sb.Append(" DocIssueDate: ").Append(DocIssueDate).Append("\n");
+ sb.Append(" DocType: ").Append(DocType).Append("\n");
+ sb.Append(" FeatureRef: ").Append(FeatureRef).Append("\n");
+ sb.Append(" IssuingCountry: ").Append(IssuingCountry).Append("\n");
+ sb.Append(" Notifications: ").Append(Notifications).Append("\n");
+ sb.Append(" Signature: ").Append(Signature).Append("\n");
+ sb.Append(" SignatureDate: ").Append(SignatureDate).Append("\n");
+ sb.Append(" Signer: ").Append(Signer).Append("\n");
+ sb.Append(" Type: ").Append(Type).Append("\n");
+ sb.Append(" VarVersion: ").Append(VarVersion).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns the JSON string presentation of the object
+ ///
+ /// JSON string presentation of the object
+ public virtual string ToJson()
+ {
+ return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
+ {
+ yield break;
+ }
+ }
+
+}
diff --git a/src/Regula.DocumentReader.WebClient/Model/VDSDataItem.cs b/src/Regula.DocumentReader.WebClient/Model/VDSDataItem.cs
new file mode 100644
index 0000000..118db31
--- /dev/null
+++ b/src/Regula.DocumentReader.WebClient/Model/VDSDataItem.cs
@@ -0,0 +1,93 @@
+/*
+ * Regula Document Reader Web API
+ *
+ * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
+ *
+ * The version of the OpenAPI document: 8.1.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Text.RegularExpressions;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using Newtonsoft.Json.Linq;
+using System.ComponentModel.DataAnnotations;
+using FileParameter = Regula.DocumentReader.WebClient.Client.FileParameter;
+using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
+
+namespace Regula.DocumentReader.WebClient.Model
+{
+ ///
+ /// VDSDataItem
+ ///
+ [DataContract(Name = "VDSDataItem")]
+ public partial class VDSDataItem : IValidatableObject
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ [JsonConstructorAttribute]
+ protected VDSDataItem() { }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// dftVDS (required).
+ public VDSDataItem(VDSData dftVDS = default(VDSData))
+ {
+ // to ensure "dftVDS" is required (not null)
+ if (dftVDS == null)
+ {
+ throw new ArgumentNullException("dftVDS is a required property for VDSDataItem and cannot be null");
+ }
+ this.DftVDS = dftVDS;
+ }
+
+ ///
+ /// Gets or Sets DftVDS
+ ///
+ [DataMember(Name = "dftVDS", IsRequired = true, EmitDefaultValue = true)]
+ public VDSData DftVDS { get; set; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class VDSDataItem {\n");
+ sb.Append(" DftVDS: ").Append(DftVDS).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns the JSON string presentation of the object
+ ///
+ /// JSON string presentation of the object
+ public virtual string ToJson()
+ {
+ return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
+ {
+ yield break;
+ }
+ }
+
+}
diff --git a/src/Regula.DocumentReader.WebClient/Model/VDSDataResult.cs b/src/Regula.DocumentReader.WebClient/Model/VDSDataResult.cs
new file mode 100644
index 0000000..7f18153
--- /dev/null
+++ b/src/Regula.DocumentReader.WebClient/Model/VDSDataResult.cs
@@ -0,0 +1,114 @@
+/*
+ * Regula Document Reader Web API
+ *
+ * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
+ *
+ * The version of the OpenAPI document: 8.1.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Text.RegularExpressions;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using Newtonsoft.Json.Linq;
+using JsonSubTypes;
+using System.ComponentModel.DataAnnotations;
+using FileParameter = Regula.DocumentReader.WebClient.Client.FileParameter;
+using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
+
+namespace Regula.DocumentReader.WebClient.Model
+{
+ ///
+ /// VDSDataResult
+ ///
+ [DataContract(Name = "VDSDataResult")]
+ public partial class VDSDataResult : ResultItem, IValidatableObject
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ [JsonConstructorAttribute]
+ protected VDSDataResult() { }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// dftVDS (required).
+ /// bufLength.
+ /// light.
+ /// listIdx.
+ /// pageIdx.
+ /// resultType (required) (default to Result.VDS).
+ public VDSDataResult(VDSData dftVDS = default(VDSData), int bufLength = default(int), int light = default(int), int listIdx = default(int), int pageIdx = default(int), Result resultType = Result.VDS) : base(bufLength, light, listIdx, pageIdx, resultType)
+ {
+ // to ensure "dftVDS" is required (not null)
+ if (dftVDS == null)
+ {
+ throw new ArgumentNullException("dftVDS is a required property for VDSDataResult and cannot be null");
+ }
+ this.DftVDS = dftVDS;
+ }
+
+ ///
+ /// Gets or Sets DftVDS
+ ///
+ [DataMember(Name = "dftVDS", IsRequired = true, EmitDefaultValue = true)]
+ public VDSData DftVDS { get; set; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class VDSDataResult {\n");
+ sb.Append(" ").Append(base.ToString().Replace("\n", "\n ")).Append("\n");
+ sb.Append(" DftVDS: ").Append(DftVDS).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns the JSON string presentation of the object
+ ///
+ /// JSON string presentation of the object
+ public override string ToJson()
+ {
+ return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
+ {
+ return this.BaseValidate(validationContext);
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ protected IEnumerable BaseValidate(ValidationContext validationContext)
+ {
+ foreach (var x in base.BaseValidate(validationContext))
+ {
+ yield return x;
+ }
+ yield break;
+ }
+ }
+
+}
diff --git a/src/Regula.DocumentReader.WebClient/Model/VDSNCData.cs b/src/Regula.DocumentReader.WebClient/Model/VDSNCData.cs
new file mode 100644
index 0000000..4b586d3
--- /dev/null
+++ b/src/Regula.DocumentReader.WebClient/Model/VDSNCData.cs
@@ -0,0 +1,155 @@
+/*
+ * Regula Document Reader Web API
+ *
+ * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
+ *
+ * The version of the OpenAPI document: 8.1.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Text.RegularExpressions;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using Newtonsoft.Json.Linq;
+using System.ComponentModel.DataAnnotations;
+using FileParameter = Regula.DocumentReader.WebClient.Client.FileParameter;
+using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
+
+namespace Regula.DocumentReader.WebClient.Model
+{
+ ///
+ /// VDSNCData
+ ///
+ [DataContract(Name = "VDSNCData")]
+ public partial class VDSNCData : IValidatableObject
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// certificate.
+ /// certificateChain.
+ /// issuingCountry.
+ /// message.
+ /// notifications.
+ /// signature.
+ /// signatureAlg.
+ /// type.
+ /// varVersion.
+ public VDSNCData(TrfFtBytes certificate = default(TrfFtBytes), List certificateChain = default(List), string issuingCountry = default(string), Message message = default(Message), List notifications = default(List), TrfFtBytes signature = default(TrfFtBytes), string signatureAlg = default(string), string type = default(string), int varVersion = default(int))
+ {
+ this.Certificate = certificate;
+ this.CertificateChain = certificateChain;
+ this.IssuingCountry = issuingCountry;
+ this.Message = message;
+ this.Notifications = notifications;
+ this.Signature = signature;
+ this.SignatureAlg = signatureAlg;
+ this.Type = type;
+ this.VarVersion = varVersion;
+ }
+
+ ///
+ /// Gets or Sets Certificate
+ ///
+ [DataMember(Name = "Certificate", EmitDefaultValue = false)]
+ public TrfFtBytes? Certificate { get; set; }
+
+ ///
+ /// Gets or Sets CertificateChain
+ ///
+ [DataMember(Name = "CertificateChain", EmitDefaultValue = false)]
+ public List? CertificateChain { get; set; }
+
+ ///
+ /// Gets or Sets IssuingCountry
+ ///
+ [DataMember(Name = "IssuingCountry", EmitDefaultValue = false)]
+ public string? IssuingCountry { get; set; }
+
+ ///
+ /// Gets or Sets Message
+ ///
+ [DataMember(Name = "Message", EmitDefaultValue = false)]
+ public Message? Message { get; set; }
+
+ ///
+ /// Gets or Sets Notifications
+ ///
+ [DataMember(Name = "Notifications", EmitDefaultValue = false)]
+ public List? Notifications { get; set; }
+
+ ///
+ /// Gets or Sets Signature
+ ///
+ [DataMember(Name = "Signature", EmitDefaultValue = false)]
+ public TrfFtBytes? Signature { get; set; }
+
+ ///
+ /// Gets or Sets SignatureAlg
+ ///
+ [DataMember(Name = "SignatureAlg", EmitDefaultValue = false)]
+ public string? SignatureAlg { get; set; }
+
+ ///
+ /// Gets or Sets Type
+ ///
+ [DataMember(Name = "Type", EmitDefaultValue = false)]
+ public string? Type { get; set; }
+
+ ///
+ /// Gets or Sets VarVersion
+ ///
+ [DataMember(Name = "Version", EmitDefaultValue = false)]
+ public int? VarVersion { get; set; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class VDSNCData {\n");
+ sb.Append(" Certificate: ").Append(Certificate).Append("\n");
+ sb.Append(" CertificateChain: ").Append(CertificateChain).Append("\n");
+ sb.Append(" IssuingCountry: ").Append(IssuingCountry).Append("\n");
+ sb.Append(" Message: ").Append(Message).Append("\n");
+ sb.Append(" Notifications: ").Append(Notifications).Append("\n");
+ sb.Append(" Signature: ").Append(Signature).Append("\n");
+ sb.Append(" SignatureAlg: ").Append(SignatureAlg).Append("\n");
+ sb.Append(" Type: ").Append(Type).Append("\n");
+ sb.Append(" VarVersion: ").Append(VarVersion).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns the JSON string presentation of the object
+ ///
+ /// JSON string presentation of the object
+ public virtual string ToJson()
+ {
+ return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
+ {
+ yield break;
+ }
+ }
+
+}
diff --git a/src/Regula.DocumentReader.WebClient/Model/VDSNCDataItem.cs b/src/Regula.DocumentReader.WebClient/Model/VDSNCDataItem.cs
new file mode 100644
index 0000000..bc74400
--- /dev/null
+++ b/src/Regula.DocumentReader.WebClient/Model/VDSNCDataItem.cs
@@ -0,0 +1,93 @@
+/*
+ * Regula Document Reader Web API
+ *
+ * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
+ *
+ * The version of the OpenAPI document: 8.1.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Text.RegularExpressions;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using Newtonsoft.Json.Linq;
+using System.ComponentModel.DataAnnotations;
+using FileParameter = Regula.DocumentReader.WebClient.Client.FileParameter;
+using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
+
+namespace Regula.DocumentReader.WebClient.Model
+{
+ ///
+ /// VDSNCDataItem
+ ///
+ [DataContract(Name = "VDSNCDataItem")]
+ public partial class VDSNCDataItem : IValidatableObject
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ [JsonConstructorAttribute]
+ protected VDSNCDataItem() { }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// dftVDSNC (required).
+ public VDSNCDataItem(VDSNCData dftVDSNC = default(VDSNCData))
+ {
+ // to ensure "dftVDSNC" is required (not null)
+ if (dftVDSNC == null)
+ {
+ throw new ArgumentNullException("dftVDSNC is a required property for VDSNCDataItem and cannot be null");
+ }
+ this.DftVDSNC = dftVDSNC;
+ }
+
+ ///
+ /// Gets or Sets DftVDSNC
+ ///
+ [DataMember(Name = "dftVDS_NC", IsRequired = true, EmitDefaultValue = true)]
+ public VDSNCData DftVDSNC { get; set; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class VDSNCDataItem {\n");
+ sb.Append(" DftVDSNC: ").Append(DftVDSNC).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns the JSON string presentation of the object
+ ///
+ /// JSON string presentation of the object
+ public virtual string ToJson()
+ {
+ return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
+ {
+ yield break;
+ }
+ }
+
+}
diff --git a/src/Regula.DocumentReader.WebClient/Model/VDSNCDataResult.cs b/src/Regula.DocumentReader.WebClient/Model/VDSNCDataResult.cs
new file mode 100644
index 0000000..c9e6faf
--- /dev/null
+++ b/src/Regula.DocumentReader.WebClient/Model/VDSNCDataResult.cs
@@ -0,0 +1,114 @@
+/*
+ * Regula Document Reader Web API
+ *
+ * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
+ *
+ * The version of the OpenAPI document: 8.1.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Text.RegularExpressions;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using Newtonsoft.Json.Linq;
+using JsonSubTypes;
+using System.ComponentModel.DataAnnotations;
+using FileParameter = Regula.DocumentReader.WebClient.Client.FileParameter;
+using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
+
+namespace Regula.DocumentReader.WebClient.Model
+{
+ ///
+ /// VDSNCDataResult
+ ///
+ [DataContract(Name = "VDSNCDataResult")]
+ public partial class VDSNCDataResult : ResultItem, IValidatableObject
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ [JsonConstructorAttribute]
+ protected VDSNCDataResult() { }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// dftVDSNC (required).
+ /// bufLength.
+ /// light.
+ /// listIdx.
+ /// pageIdx.
+ /// resultType (required) (default to Result.VDS_NC).
+ public VDSNCDataResult(VDSNCData dftVDSNC = default(VDSNCData), int bufLength = default(int), int light = default(int), int listIdx = default(int), int pageIdx = default(int), Result resultType = Result.VDS_NC) : base(bufLength, light, listIdx, pageIdx, resultType)
+ {
+ // to ensure "dftVDSNC" is required (not null)
+ if (dftVDSNC == null)
+ {
+ throw new ArgumentNullException("dftVDSNC is a required property for VDSNCDataResult and cannot be null");
+ }
+ this.DftVDSNC = dftVDSNC;
+ }
+
+ ///
+ /// Gets or Sets DftVDSNC
+ ///
+ [DataMember(Name = "dftVDS_NC", IsRequired = true, EmitDefaultValue = true)]
+ public VDSNCData DftVDSNC { get; set; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class VDSNCDataResult {\n");
+ sb.Append(" ").Append(base.ToString().Replace("\n", "\n ")).Append("\n");
+ sb.Append(" DftVDSNC: ").Append(DftVDSNC).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns the JSON string presentation of the object
+ ///
+ /// JSON string presentation of the object
+ public override string ToJson()
+ {
+ return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
+ {
+ return this.BaseValidate(validationContext);
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ protected IEnumerable BaseValidate(ValidationContext validationContext)
+ {
+ foreach (var x in base.BaseValidate(validationContext))
+ {
+ yield return x;
+ }
+ yield break;
+ }
+ }
+
+}
diff --git a/src/Regula.DocumentReader.WebClient/Model/VEItem.cs b/src/Regula.DocumentReader.WebClient/Model/VEItem.cs
new file mode 100644
index 0000000..ae409b1
--- /dev/null
+++ b/src/Regula.DocumentReader.WebClient/Model/VEItem.cs
@@ -0,0 +1,110 @@
+/*
+ * Regula Document Reader Web API
+ *
+ * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
+ *
+ * The version of the OpenAPI document: 8.1.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Text.RegularExpressions;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using Newtonsoft.Json.Linq;
+using System.ComponentModel.DataAnnotations;
+using FileParameter = Regula.DocumentReader.WebClient.Client.FileParameter;
+using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
+
+namespace Regula.DocumentReader.WebClient.Model
+{
+ ///
+ /// VEItem
+ ///
+ [DataContract(Name = "VEItem")]
+ public partial class VEItem : IValidatableObject
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// des.
+ /// dis.
+ /// nam.
+ /// vd.
+ public VEItem(string des = default(string), string dis = default(string), string nam = default(string), List vd = default(List))
+ {
+ this.Des = des;
+ this.Dis = dis;
+ this.Nam = nam;
+ this.Vd = vd;
+ }
+
+ ///
+ /// Gets or Sets Des
+ ///
+ [DataMember(Name = "des", EmitDefaultValue = false)]
+ public string? Des { get; set; }
+
+ ///
+ /// Gets or Sets Dis
+ ///
+ [DataMember(Name = "dis", EmitDefaultValue = false)]
+ public string? Dis { get; set; }
+
+ ///
+ /// Gets or Sets Nam
+ ///
+ [DataMember(Name = "nam", EmitDefaultValue = false)]
+ public string? Nam { get; set; }
+
+ ///
+ /// Gets or Sets Vd
+ ///
+ [DataMember(Name = "vd", EmitDefaultValue = false)]
+ public List? Vd { get; set; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class VEItem {\n");
+ sb.Append(" Des: ").Append(Des).Append("\n");
+ sb.Append(" Dis: ").Append(Dis).Append("\n");
+ sb.Append(" Nam: ").Append(Nam).Append("\n");
+ sb.Append(" Vd: ").Append(Vd).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns the JSON string presentation of the object
+ ///
+ /// JSON string presentation of the object
+ public virtual string ToJson()
+ {
+ return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
+ {
+ yield break;
+ }
+ }
+
+}