Skip to content

Commit 24e84db

Browse files
SP-18211 - update models
1 parent d5be216 commit 24e84db

File tree

4 files changed

+5
-98
lines changed

4 files changed

+5
-98
lines changed

client/src/main/generated/com/regula/documentreader/webclient/model/RFIDErrorCodes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ public enum RFIDErrorCodes {
357357
RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE(2248147721l),
358358

359359
/** RFID: Failed */
360-
RFID_ERROR_FAILED(4294967295l),
360+
RFID_ERROR_FAILED(-1l),
361361

362362
/** RFID: No error */
363363
RFID_ERROR_NO_ERROR(1l),

client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureItem.java

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ public class SecurityFeatureItem {
6161
@javax.annotation.Nullable
6262
private AreaContainer areaList;
6363

64-
public static final String SERIALIZED_NAME_RESULT = "Result";
65-
66-
@SerializedName(SERIALIZED_NAME_RESULT)
67-
@javax.annotation.Nullable
68-
private Integer result;
69-
7064
public static final String SERIALIZED_NAME_RESERVED2 = "Reserved2";
7165

7266
@SerializedName(SERIALIZED_NAME_RESERVED2)
@@ -172,25 +166,6 @@ public void setAreaList(@javax.annotation.Nullable AreaContainer areaList) {
172166
this.areaList = areaList;
173167
}
174168

175-
public SecurityFeatureItem result(@javax.annotation.Nullable Integer result) {
176-
this.result = result;
177-
return this;
178-
}
179-
180-
/**
181-
* Get result
182-
*
183-
* @return result
184-
*/
185-
@javax.annotation.Nullable
186-
public Integer getResult() {
187-
return result;
188-
}
189-
190-
public void setResult(@javax.annotation.Nullable Integer result) {
191-
this.result = result;
192-
}
193-
194169
public SecurityFeatureItem reserved2(@javax.annotation.Nullable Integer reserved2) {
195170
this.reserved2 = reserved2;
196171
return this;
@@ -224,14 +199,12 @@ public boolean equals(Object o) {
224199
&& Objects.equals(this.visibility, securityFeatureItem.visibility)
225200
&& Objects.equals(this.criticalFlag, securityFeatureItem.criticalFlag)
226201
&& Objects.equals(this.areaList, securityFeatureItem.areaList)
227-
&& Objects.equals(this.result, securityFeatureItem.result)
228202
&& Objects.equals(this.reserved2, securityFeatureItem.reserved2);
229203
}
230204

231205
@Override
232206
public int hashCode() {
233-
return Objects.hash(
234-
elementType, elementRect, visibility, criticalFlag, areaList, result, reserved2);
207+
return Objects.hash(elementType, elementRect, visibility, criticalFlag, areaList, reserved2);
235208
}
236209

237210
@Override
@@ -243,7 +216,6 @@ public String toString() {
243216
sb.append(" visibility: ").append(toIndentedString(visibility)).append("\n");
244217
sb.append(" criticalFlag: ").append(toIndentedString(criticalFlag)).append("\n");
245218
sb.append(" areaList: ").append(toIndentedString(areaList)).append("\n");
246-
sb.append(" result: ").append(toIndentedString(result)).append("\n");
247219
sb.append(" reserved2: ").append(toIndentedString(reserved2)).append("\n");
248220
sb.append("}");
249221
return sb.toString();
@@ -270,7 +242,6 @@ private String toIndentedString(Object o) {
270242
openapiFields.add("Visibility");
271243
openapiFields.add("CriticalFlag");
272244
openapiFields.add("AreaList");
273-
openapiFields.add("Result");
274245
openapiFields.add("Reserved2");
275246

276247
// a set of required properties/fields (JSON key names)

client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureResult.java

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ public class SecurityFeatureResult extends AuthenticityCheckResultItem {
6161
@javax.annotation.Nullable
6262
private AreaContainer areaList;
6363

64-
public static final String SERIALIZED_NAME_RESULT = "Result";
65-
66-
@SerializedName(SERIALIZED_NAME_RESULT)
67-
@javax.annotation.Nullable
68-
private Integer result;
69-
7064
public static final String SERIALIZED_NAME_RESERVED2 = "Reserved2";
7165

7266
@SerializedName(SERIALIZED_NAME_RESERVED2)
@@ -172,25 +166,6 @@ public void setAreaList(@javax.annotation.Nullable AreaContainer areaList) {
172166
this.areaList = areaList;
173167
}
174168

175-
public SecurityFeatureResult result(@javax.annotation.Nullable Integer result) {
176-
this.result = result;
177-
return this;
178-
}
179-
180-
/**
181-
* Get result
182-
*
183-
* @return result
184-
*/
185-
@javax.annotation.Nullable
186-
public Integer getResult() {
187-
return result;
188-
}
189-
190-
public void setResult(@javax.annotation.Nullable Integer result) {
191-
this.result = result;
192-
}
193-
194169
public SecurityFeatureResult reserved2(@javax.annotation.Nullable Integer reserved2) {
195170
this.reserved2 = reserved2;
196171
return this;
@@ -224,22 +199,14 @@ public boolean equals(Object o) {
224199
&& Objects.equals(this.visibility, securityFeatureResult.visibility)
225200
&& Objects.equals(this.criticalFlag, securityFeatureResult.criticalFlag)
226201
&& Objects.equals(this.areaList, securityFeatureResult.areaList)
227-
&& Objects.equals(this.result, securityFeatureResult.result)
228202
&& Objects.equals(this.reserved2, securityFeatureResult.reserved2)
229203
&& super.equals(o);
230204
}
231205

232206
@Override
233207
public int hashCode() {
234208
return Objects.hash(
235-
elementType,
236-
elementRect,
237-
visibility,
238-
criticalFlag,
239-
areaList,
240-
result,
241-
reserved2,
242-
super.hashCode());
209+
elementType, elementRect, visibility, criticalFlag, areaList, reserved2, super.hashCode());
243210
}
244211

245212
@Override
@@ -252,7 +219,6 @@ public String toString() {
252219
sb.append(" visibility: ").append(toIndentedString(visibility)).append("\n");
253220
sb.append(" criticalFlag: ").append(toIndentedString(criticalFlag)).append("\n");
254221
sb.append(" areaList: ").append(toIndentedString(areaList)).append("\n");
255-
sb.append(" result: ").append(toIndentedString(result)).append("\n");
256222
sb.append(" reserved2: ").append(toIndentedString(reserved2)).append("\n");
257223
sb.append("}");
258224
return sb.toString();
@@ -283,7 +249,6 @@ private String toIndentedString(Object o) {
283249
openapiFields.add("Visibility");
284250
openapiFields.add("CriticalFlag");
285251
openapiFields.add("AreaList");
286-
openapiFields.add("Result");
287252
openapiFields.add("Reserved2");
288253

289254
// a set of required properties/fields (JSON key names)

client/src/main/generated/com/regula/documentreader/webclient/model/VerifiedFieldMap.java

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,6 @@ public class VerifiedFieldMap {
7575
@javax.annotation.Nonnull
7676
private List<VerificationResult> matrix;
7777

78-
public static final String SERIALIZED_NAME_FIELD_TYPE = "FieldType";
79-
80-
@SerializedName(SERIALIZED_NAME_FIELD_TYPE)
81-
@javax.annotation.Nullable
82-
private Integer fieldType;
83-
8478
public VerifiedFieldMap() {}
8579

8680
public VerifiedFieldMap wFieldType(@javax.annotation.Nonnull TextFieldType wFieldType) {
@@ -235,25 +229,6 @@ public void setMatrix(@javax.annotation.Nonnull List<VerificationResult> matrix)
235229
this.matrix = matrix;
236230
}
237231

238-
public VerifiedFieldMap fieldType(@javax.annotation.Nullable Integer fieldType) {
239-
this.fieldType = fieldType;
240-
return this;
241-
}
242-
243-
/**
244-
* Get fieldType
245-
*
246-
* @return fieldType
247-
*/
248-
@javax.annotation.Nullable
249-
public Integer getFieldType() {
250-
return fieldType;
251-
}
252-
253-
public void setFieldType(@javax.annotation.Nullable Integer fieldType) {
254-
this.fieldType = fieldType;
255-
}
256-
257232
@Override
258233
public boolean equals(Object o) {
259234
if (this == o) {
@@ -269,14 +244,12 @@ public boolean equals(Object o) {
269244
&& Objects.equals(this.fieldVisual, verifiedFieldMap.fieldVisual)
270245
&& Objects.equals(this.fieldBarcode, verifiedFieldMap.fieldBarcode)
271246
&& Objects.equals(this.fieldRFID, verifiedFieldMap.fieldRFID)
272-
&& Objects.equals(this.matrix, verifiedFieldMap.matrix)
273-
&& Objects.equals(this.fieldType, verifiedFieldMap.fieldType);
247+
&& Objects.equals(this.matrix, verifiedFieldMap.matrix);
274248
}
275249

276250
@Override
277251
public int hashCode() {
278-
return Objects.hash(
279-
wFieldType, wLCID, fieldMRZ, fieldVisual, fieldBarcode, fieldRFID, matrix, fieldType);
252+
return Objects.hash(wFieldType, wLCID, fieldMRZ, fieldVisual, fieldBarcode, fieldRFID, matrix);
280253
}
281254

282255
@Override
@@ -290,7 +263,6 @@ public String toString() {
290263
sb.append(" fieldBarcode: ").append(toIndentedString(fieldBarcode)).append("\n");
291264
sb.append(" fieldRFID: ").append(toIndentedString(fieldRFID)).append("\n");
292265
sb.append(" matrix: ").append(toIndentedString(matrix)).append("\n");
293-
sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n");
294266
sb.append("}");
295267
return sb.toString();
296268
}
@@ -318,7 +290,6 @@ private String toIndentedString(Object o) {
318290
openapiFields.add("Field_Barcode");
319291
openapiFields.add("Field_RFID");
320292
openapiFields.add("Matrix");
321-
openapiFields.add("FieldType");
322293

323294
// a set of required properties/fields (JSON key names)
324295
openapiRequiredFields = new HashSet<String>();

0 commit comments

Comments
 (0)