Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ 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/MrzDetectModeEnum.cs
src/Regula.DocumentReader.WebClient/Model/MrzPosition.cs
src/Regula.DocumentReader.WebClient/Model/MrzPositionItem.cs
src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextItem.cs
src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextResult.cs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected DocVisualExtendedField() { }
/// <param name="wLCID">wLCID.</param>
/// <param name="reserved2">reserved2.</param>
/// <param name="reserved3">reserved3.</param>
public DocVisualExtendedField(RectangleCoordinates fieldRect = default(RectangleCoordinates), TextFieldType wFieldType = default(TextFieldType), string fieldName = default(string), decimal stringsCount = default(decimal), List<StringRecognitionResult> stringsResult = default(List<StringRecognitionResult>), decimal bufLength = default(decimal), string bufText = default(string), string fieldMask = default(string), int validity = default(int), int inComparison = default(int), int wLCID = default(int), int reserved2 = default(int), int reserved3 = default(int)) : base(wFieldType, fieldName, stringsCount, stringsResult, bufLength, bufText, fieldMask, validity, inComparison, wLCID, reserved2, reserved3)
public DocVisualExtendedField(RectangleCoordinates fieldRect = default(RectangleCoordinates), TextFieldType wFieldType = default(TextFieldType), string fieldName = default(string), decimal stringsCount = default(decimal), List<StringRecognitionResult> stringsResult = default(List<StringRecognitionResult>), decimal bufLength = default(decimal), string bufText = default(string), string fieldMask = default(string), int validity = default(int), int inComparison = default(int), LCID? wLCID = default(LCID?), int reserved2 = default(int), int reserved3 = default(int)) : base(wFieldType, fieldName, stringsCount, stringsResult, bufLength, bufText, fieldMask, validity, inComparison, wLCID, reserved2, reserved3)
{
// to ensure "fieldRect" is required (not null)
if (fieldRect == null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected EncryptedRCLItem() { }
/// </summary>
/// <value>Base64 encoded data</value>
/*
<example>[B@5022ed18</example>
<example>[B@671e627</example>
*/
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
public byte[] EncryptedRCL { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
/// </summary>
/// <value>Base64 encoded data</value>
/*
<example>[B@5022ed18</example>
<example>[B@671e627</example>
*/
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
public byte[] EncryptedRCL { get; set; }
Expand Down Expand Up @@ -105,7 +105,7 @@
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
protected IEnumerable<ValidationResult> BaseValidate(ValidationContext validationContext)

Check warning on line 108 in src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs

View workflow job for this annotation

GitHub Actions / run_smoke_test

'EncryptedRCLResult.BaseValidate(ValidationContext)' hides inherited member 'ResultItem.BaseValidate(ValidationContext)'. Use the new keyword if hiding was intended.
{
foreach (var x in base.BaseValidate(validationContext))
{
Expand Down
2 changes: 1 addition & 1 deletion src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected LicenseItem() { }
/// </summary>
/// <value>Base64 encoded data</value>
/*
<example>[B@77df6449</example>
<example>[B@3768c9b</example>
*/
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
public byte[] License { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ protected LicenseResult() { }
/// </summary>
/// <value>Base64 encoded data</value>
/*
<example>[B@77df6449</example>
<example>[B@3768c9b</example>
*/
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
public byte[] License { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
/// <param name="listIdx">listIdx.</param>
/// <param name="pageIdx">pageIdx.</param>
/// <param name="resultType">resultType (required) (default to Result.MRZ_POSITION).</param>
public MRZPositionResult(MrzPosition mrzPosition = default(MrzPosition), int bufLength = default(int), int light = default(int), int listIdx = default(int), int pageIdx = default(int), Result resultType = Result.MRZ_POSITION) : base(bufLength, light, listIdx, pageIdx, resultType)
public MRZPositionResult(DocumentPosition mrzPosition = default(DocumentPosition), int bufLength = default(int), int light = default(int), int listIdx = default(int), int pageIdx = default(int), Result resultType = Result.MRZ_POSITION) : base(bufLength, light, listIdx, pageIdx, resultType)
{
// to ensure "mrzPosition" is required (not null)
if (mrzPosition == null)
Expand All @@ -61,7 +61,7 @@
/// Gets or Sets MrzPosition
/// </summary>
[DataMember(Name = "MrzPosition", IsRequired = true, EmitDefaultValue = true)]
public MrzPosition MrzPosition { get; set; }
public DocumentPosition MrzPosition { get; set; }

/// <summary>
/// Returns the string presentation of the object
Expand Down Expand Up @@ -101,7 +101,7 @@
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
protected IEnumerable<ValidationResult> BaseValidate(ValidationContext validationContext)

Check warning on line 104 in src/Regula.DocumentReader.WebClient/Model/MRZPositionResult.cs

View workflow job for this annotation

GitHub Actions / run_smoke_test

'MRZPositionResult.BaseValidate(ValidationContext)' hides inherited member 'ResultItem.BaseValidate(ValidationContext)'. Use the new keyword if hiding was intended.
{
foreach (var x in base.BaseValidate(validationContext))
{
Expand Down
74 changes: 37 additions & 37 deletions src/Regula.DocumentReader.WebClient/Model/MRZTestQuality.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,42 @@ namespace Regula.DocumentReader.WebClient.Model
[DataContract(Name = "MRZTestQuality")]
public partial class MRZTestQuality : IValidatableObject
{

/// <summary>
/// Gets or Sets CHECK_SUMS
/// </summary>
[DataMember(Name = "CHECK_SUMS", IsRequired = true, EmitDefaultValue = true)]
public CheckResult CHECK_SUMS { get; set; }

/// <summary>
/// Gets or Sets CONTRAST_PRINT
/// </summary>
[DataMember(Name = "CONTRAST_PRINT", IsRequired = true, EmitDefaultValue = true)]
public CheckResult CONTRAST_PRINT { get; set; }

/// <summary>
/// Gets or Sets PRINT_POSITION
/// </summary>
[DataMember(Name = "PRINT_POSITION", IsRequired = true, EmitDefaultValue = true)]
public CheckResult PRINT_POSITION { get; set; }

/// <summary>
/// Gets or Sets STAIN_MRZ
/// </summary>
[DataMember(Name = "STAIN_MRZ", IsRequired = true, EmitDefaultValue = true)]
public CheckResult STAIN_MRZ { get; set; }

/// <summary>
/// Gets or Sets SYMBOLS_PARAM
/// </summary>
[DataMember(Name = "SYMBOLS_PARAM", IsRequired = true, EmitDefaultValue = true)]
public CheckResult SYMBOLS_PARAM { get; set; }

/// <summary>
/// Gets or Sets TEXTUAL_FILLING
/// </summary>
[DataMember(Name = "TEXTUAL_FILLING", IsRequired = true, EmitDefaultValue = true)]
public CheckResult TEXTUAL_FILLING { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="MRZTestQuality" /> class.
/// </summary>
Expand All @@ -50,7 +86,7 @@ protected MRZTestQuality() { }
/// <param name="strCount">strCount (required).</param>
/// <param name="strings">strings (required).</param>
/// <param name="tEXTUALFILLING">tEXTUALFILLING (required).</param>
public MRZTestQuality(int cHECKSUMS = default(int), int cONTRASTPRINT = default(int), int dOCFORMAT = default(int), int mRZFORMAT = default(int), int pRINTPOSITION = default(int), int sTAINMRZ = default(int), int sYMBOLSPARAM = default(int), int strCount = default(int), List<StringItem> strings = default(List<StringItem>), int tEXTUALFILLING = default(int))
public MRZTestQuality(CheckResult cHECKSUMS = default(CheckResult), CheckResult cONTRASTPRINT = default(CheckResult), int dOCFORMAT = default(int), int mRZFORMAT = default(int), CheckResult pRINTPOSITION = default(CheckResult), CheckResult sTAINMRZ = default(CheckResult), CheckResult sYMBOLSPARAM = default(CheckResult), int strCount = default(int), List<StringItem> strings = default(List<StringItem>), CheckResult tEXTUALFILLING = default(CheckResult))
{
this.CHECK_SUMS = cHECKSUMS;
this.CONTRAST_PRINT = cONTRASTPRINT;
Expand All @@ -69,18 +105,6 @@ protected MRZTestQuality() { }
this.TEXTUAL_FILLING = tEXTUALFILLING;
}

/// <summary>
/// Gets or Sets CHECK_SUMS
/// </summary>
[DataMember(Name = "CHECK_SUMS", IsRequired = true, EmitDefaultValue = true)]
public int CHECK_SUMS { get; set; }

/// <summary>
/// Gets or Sets CONTRAST_PRINT
/// </summary>
[DataMember(Name = "CONTRAST_PRINT", IsRequired = true, EmitDefaultValue = true)]
public int CONTRAST_PRINT { get; set; }

/// <summary>
/// Gets or Sets DOC_FORMAT
/// </summary>
Expand All @@ -93,24 +117,6 @@ protected MRZTestQuality() { }
[DataMember(Name = "MRZ_FORMAT", IsRequired = true, EmitDefaultValue = true)]
public int MRZ_FORMAT { get; set; }

/// <summary>
/// Gets or Sets PRINT_POSITION
/// </summary>
[DataMember(Name = "PRINT_POSITION", IsRequired = true, EmitDefaultValue = true)]
public int PRINT_POSITION { get; set; }

/// <summary>
/// Gets or Sets STAIN_MRZ
/// </summary>
[DataMember(Name = "STAIN_MRZ", IsRequired = true, EmitDefaultValue = true)]
public int STAIN_MRZ { get; set; }

/// <summary>
/// Gets or Sets SYMBOLS_PARAM
/// </summary>
[DataMember(Name = "SYMBOLS_PARAM", IsRequired = true, EmitDefaultValue = true)]
public int SYMBOLS_PARAM { get; set; }

/// <summary>
/// Gets or Sets StrCount
/// </summary>
Expand All @@ -123,12 +129,6 @@ protected MRZTestQuality() { }
[DataMember(Name = "Strings", IsRequired = true, EmitDefaultValue = true)]
public List<StringItem> Strings { get; set; }

/// <summary>
/// Gets or Sets TEXTUAL_FILLING
/// </summary>
[DataMember(Name = "TEXTUAL_FILLING", IsRequired = true, EmitDefaultValue = true)]
public int TEXTUAL_FILLING { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand Down
Loading
Loading