Skip to content

Commit 01029d3

Browse files
authored
Merge pull request #46 from regulaforensics/40913188
update clients
2 parents 99e660f + 0592b51 commit 01029d3

File tree

9 files changed

+1017
-9
lines changed

9 files changed

+1017
-9
lines changed

.openapi-generator/FILES

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,16 @@ src/Regula.DocumentReader.WebClient/Model/AreaArray.cs
1313
src/Regula.DocumentReader.WebClient/Model/AreaContainer.cs
1414
src/Regula.DocumentReader.WebClient/Model/AuthenticityCheckList.cs
1515
src/Regula.DocumentReader.WebClient/Model/AuthenticityResult.cs
16+
src/Regula.DocumentReader.WebClient/Model/BcPDF417INFO.cs
17+
src/Regula.DocumentReader.WebClient/Model/BcROIDETECT.cs
1618
src/Regula.DocumentReader.WebClient/Model/ChosenDocumentType.cs
1719
src/Regula.DocumentReader.WebClient/Model/ChosenDocumentTypeResult.cs
1820
src/Regula.DocumentReader.WebClient/Model/CrossSourceValueComparison.cs
21+
src/Regula.DocumentReader.WebClient/Model/DataModule.cs
1922
src/Regula.DocumentReader.WebClient/Model/DetailsOptical.cs
2023
src/Regula.DocumentReader.WebClient/Model/DetailsRFID.cs
2124
src/Regula.DocumentReader.WebClient/Model/DeviceInfo.cs
25+
src/Regula.DocumentReader.WebClient/Model/DocBarCodeInfo.cs
2226
src/Regula.DocumentReader.WebClient/Model/DocVisualExtendedField.cs
2327
src/Regula.DocumentReader.WebClient/Model/DocVisualExtendedInfo.cs
2428
src/Regula.DocumentReader.WebClient/Model/DocumentImage.cs
@@ -51,6 +55,7 @@ src/Regula.DocumentReader.WebClient/Model/ListVerifiedFields.cs
5155
src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextResult.cs
5256
src/Regula.DocumentReader.WebClient/Model/OneCandidate.cs
5357
src/Regula.DocumentReader.WebClient/Model/OriginalSymbol.cs
58+
src/Regula.DocumentReader.WebClient/Model/PArrayField.cs
5459
src/Regula.DocumentReader.WebClient/Model/PerDocumentConfig.cs
5560
src/Regula.DocumentReader.WebClient/Model/PhotoIdentResult.cs
5661
src/Regula.DocumentReader.WebClient/Model/Point.cs
Lines changed: 204 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,204 @@
1+
/*
2+
* Regula Document Reader Web API
3+
*
4+
* 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
5+
*
6+
* The version of the OpenAPI document: 6.1.0
7+
*
8+
* Generated by: https://github.com/openapitools/openapi-generator.git
9+
*/
10+
11+
using System;
12+
using System.Linq;
13+
using System.IO;
14+
using System.Text;
15+
using System.Text.RegularExpressions;
16+
using System.Collections;
17+
using System.Collections.Generic;
18+
using System.Collections.ObjectModel;
19+
using System.Runtime.Serialization;
20+
using Newtonsoft.Json;
21+
using Newtonsoft.Json.Converters;
22+
using System.ComponentModel.DataAnnotations;
23+
using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
24+
25+
namespace Regula.DocumentReader.WebClient.Model
26+
{
27+
/// <summary>
28+
/// BcPDF417INFO
29+
/// </summary>
30+
[DataContract]
31+
public partial class BcPDF417INFO : IEquatable<BcPDF417INFO>, IValidatableObject
32+
{
33+
/// <summary>
34+
/// Initializes a new instance of the <see cref="BcPDF417INFO" /> class.
35+
/// </summary>
36+
/// <param name="angle">angle.</param>
37+
/// <param name="bcColumn">bcColumn.</param>
38+
/// <param name="bcErrorLevel">bcErrorLevel.</param>
39+
/// <param name="bcRow">bcRow.</param>
40+
/// <param name="minX">minX.</param>
41+
/// <param name="minY">minY.</param>
42+
public BcPDF417INFO(float angle = default(float), int bcColumn = default(int), int bcErrorLevel = default(int), int bcRow = default(int), float minX = default(float), float minY = default(float))
43+
{
44+
this.Angle = angle;
45+
this.BcColumn = bcColumn;
46+
this.BcErrorLevel = bcErrorLevel;
47+
this.BcRow = bcRow;
48+
this.MinX = minX;
49+
this.MinY = minY;
50+
}
51+
52+
/// <summary>
53+
/// Gets or Sets Angle
54+
/// </summary>
55+
[DataMember(Name="Angle", EmitDefaultValue=false)]
56+
public float Angle { get; set; }
57+
58+
/// <summary>
59+
/// Gets or Sets BcColumn
60+
/// </summary>
61+
[DataMember(Name="bcColumn", EmitDefaultValue=false)]
62+
public int BcColumn { get; set; }
63+
64+
/// <summary>
65+
/// Gets or Sets BcErrorLevel
66+
/// </summary>
67+
[DataMember(Name="bcErrorLevel", EmitDefaultValue=false)]
68+
public int BcErrorLevel { get; set; }
69+
70+
/// <summary>
71+
/// Gets or Sets BcRow
72+
/// </summary>
73+
[DataMember(Name="bcRow", EmitDefaultValue=false)]
74+
public int BcRow { get; set; }
75+
76+
/// <summary>
77+
/// Gets or Sets MinX
78+
/// </summary>
79+
[DataMember(Name="minX", EmitDefaultValue=false)]
80+
public float MinX { get; set; }
81+
82+
/// <summary>
83+
/// Gets or Sets MinY
84+
/// </summary>
85+
[DataMember(Name="minY", EmitDefaultValue=false)]
86+
public float MinY { get; set; }
87+
88+
/// <summary>
89+
/// Returns the string presentation of the object
90+
/// </summary>
91+
/// <returns>String presentation of the object</returns>
92+
public override string ToString()
93+
{
94+
var sb = new StringBuilder();
95+
sb.Append("class BcPDF417INFO {\n");
96+
sb.Append(" Angle: ").Append(Angle).Append("\n");
97+
sb.Append(" BcColumn: ").Append(BcColumn).Append("\n");
98+
sb.Append(" BcErrorLevel: ").Append(BcErrorLevel).Append("\n");
99+
sb.Append(" BcRow: ").Append(BcRow).Append("\n");
100+
sb.Append(" MinX: ").Append(MinX).Append("\n");
101+
sb.Append(" MinY: ").Append(MinY).Append("\n");
102+
sb.Append("}\n");
103+
return sb.ToString();
104+
}
105+
106+
/// <summary>
107+
/// Returns the JSON string presentation of the object
108+
/// </summary>
109+
/// <returns>JSON string presentation of the object</returns>
110+
public virtual string ToJson()
111+
{
112+
return JsonConvert.SerializeObject(this, Formatting.Indented);
113+
}
114+
115+
/// <summary>
116+
/// Returns true if objects are equal
117+
/// </summary>
118+
/// <param name="input">Object to be compared</param>
119+
/// <returns>Boolean</returns>
120+
public override bool Equals(object input)
121+
{
122+
return this.Equals(input as BcPDF417INFO);
123+
}
124+
125+
/// <summary>
126+
/// Returns true if BcPDF417INFO instances are equal
127+
/// </summary>
128+
/// <param name="input">Instance of BcPDF417INFO to be compared</param>
129+
/// <returns>Boolean</returns>
130+
public bool Equals(BcPDF417INFO input)
131+
{
132+
if (input == null)
133+
return false;
134+
135+
return
136+
(
137+
this.Angle == input.Angle ||
138+
(this.Angle != null &&
139+
this.Angle.Equals(input.Angle))
140+
) &&
141+
(
142+
this.BcColumn == input.BcColumn ||
143+
(this.BcColumn != null &&
144+
this.BcColumn.Equals(input.BcColumn))
145+
) &&
146+
(
147+
this.BcErrorLevel == input.BcErrorLevel ||
148+
(this.BcErrorLevel != null &&
149+
this.BcErrorLevel.Equals(input.BcErrorLevel))
150+
) &&
151+
(
152+
this.BcRow == input.BcRow ||
153+
(this.BcRow != null &&
154+
this.BcRow.Equals(input.BcRow))
155+
) &&
156+
(
157+
this.MinX == input.MinX ||
158+
(this.MinX != null &&
159+
this.MinX.Equals(input.MinX))
160+
) &&
161+
(
162+
this.MinY == input.MinY ||
163+
(this.MinY != null &&
164+
this.MinY.Equals(input.MinY))
165+
);
166+
}
167+
168+
/// <summary>
169+
/// Gets the hash code
170+
/// </summary>
171+
/// <returns>Hash code</returns>
172+
public override int GetHashCode()
173+
{
174+
unchecked // Overflow is fine, just wrap
175+
{
176+
int hashCode = 41;
177+
if (this.Angle != null)
178+
hashCode = hashCode * 59 + this.Angle.GetHashCode();
179+
if (this.BcColumn != null)
180+
hashCode = hashCode * 59 + this.BcColumn.GetHashCode();
181+
if (this.BcErrorLevel != null)
182+
hashCode = hashCode * 59 + this.BcErrorLevel.GetHashCode();
183+
if (this.BcRow != null)
184+
hashCode = hashCode * 59 + this.BcRow.GetHashCode();
185+
if (this.MinX != null)
186+
hashCode = hashCode * 59 + this.MinX.GetHashCode();
187+
if (this.MinY != null)
188+
hashCode = hashCode * 59 + this.MinY.GetHashCode();
189+
return hashCode;
190+
}
191+
}
192+
193+
/// <summary>
194+
/// To validate all properties of the instance
195+
/// </summary>
196+
/// <param name="validationContext">Validation context</param>
197+
/// <returns>Validation Result</returns>
198+
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
199+
{
200+
yield break;
201+
}
202+
}
203+
204+
}

0 commit comments

Comments
 (0)