diff --git a/client/.openapi-generator/FILES b/client/.openapi-generator/FILES index e23f745b..28315430 100755 --- a/client/.openapi-generator/FILES +++ b/client/.openapi-generator/FILES @@ -24,8 +24,11 @@ src/main/generated/com/regula/documentreader/webclient/model/AuthParams.java src/main/generated/com/regula/documentreader/webclient/model/AuthenticityCheckList.java src/main/generated/com/regula/documentreader/webclient/model/AuthenticityCheckResultItem.java src/main/generated/com/regula/documentreader/webclient/model/AuthenticityResult.java +src/main/generated/com/regula/documentreader/webclient/model/BarCodeModuleType.java +src/main/generated/com/regula/documentreader/webclient/model/BarcodeType.java src/main/generated/com/regula/documentreader/webclient/model/BcPDF417INFO.java src/main/generated/com/regula/documentreader/webclient/model/BcROIDETECT.java +src/main/generated/com/regula/documentreader/webclient/model/BinaryData.java src/main/generated/com/regula/documentreader/webclient/model/ByteArrayResult.java src/main/generated/com/regula/documentreader/webclient/model/ChosenDocumentType.java src/main/generated/com/regula/documentreader/webclient/model/ChosenDocumentTypeResult.java @@ -37,6 +40,9 @@ src/main/generated/com/regula/documentreader/webclient/model/DeviceInfo.java src/main/generated/com/regula/documentreader/webclient/model/DocBarCodeInfo.java src/main/generated/com/regula/documentreader/webclient/model/DocBarCodeInfoFieldsList.java src/main/generated/com/regula/documentreader/webclient/model/DocVisualExtendedField.java +src/main/generated/com/regula/documentreader/webclient/model/DocVisualExtendedFieldRect.java +src/main/generated/com/regula/documentreader/webclient/model/DocVisualExtendedFieldRfid.java +src/main/generated/com/regula/documentreader/webclient/model/DocumentBinaryInfoResult.java src/main/generated/com/regula/documentreader/webclient/model/DocumentImage.java src/main/generated/com/regula/documentreader/webclient/model/DocumentImageResult.java src/main/generated/com/regula/documentreader/webclient/model/DocumentPosition.java @@ -52,6 +58,8 @@ src/main/generated/com/regula/documentreader/webclient/model/FaceApiSearch.java src/main/generated/com/regula/documentreader/webclient/model/FiberResult.java src/main/generated/com/regula/documentreader/webclient/model/GetTransactionsByTagResponse.java src/main/generated/com/regula/documentreader/webclient/model/GraphicField.java +src/main/generated/com/regula/documentreader/webclient/model/GraphicFieldRect.java +src/main/generated/com/regula/documentreader/webclient/model/GraphicFieldRfid.java src/main/generated/com/regula/documentreader/webclient/model/GraphicFieldsList.java src/main/generated/com/regula/documentreader/webclient/model/GraphicsResult.java src/main/generated/com/regula/documentreader/webclient/model/Healthcheck.java @@ -71,8 +79,7 @@ src/main/generated/com/regula/documentreader/webclient/model/ImagesResult.java src/main/generated/com/regula/documentreader/webclient/model/InData.java src/main/generated/com/regula/documentreader/webclient/model/InDataTransactionImagesFieldValue.java src/main/generated/com/regula/documentreader/webclient/model/InDataVideo.java -src/main/generated/com/regula/documentreader/webclient/model/InlineResponse200.java -src/main/generated/com/regula/documentreader/webclient/model/InlineResponse2001.java +src/main/generated/com/regula/documentreader/webclient/model/InputImageQualityChecks.java src/main/generated/com/regula/documentreader/webclient/model/LexicalAnalysisResult.java src/main/generated/com/regula/documentreader/webclient/model/LicenseResult.java src/main/generated/com/regula/documentreader/webclient/model/ListTransactionsByTagResponse.java @@ -85,6 +92,7 @@ src/main/generated/com/regula/documentreader/webclient/model/OriginalSymbol.java src/main/generated/com/regula/documentreader/webclient/model/OutData.java src/main/generated/com/regula/documentreader/webclient/model/OutDataTransactionImagesFieldValue.java src/main/generated/com/regula/documentreader/webclient/model/PArrayField.java +src/main/generated/com/regula/documentreader/webclient/model/ParsingErrorCodes.java src/main/generated/com/regula/documentreader/webclient/model/ParsingNotificationCodes.java src/main/generated/com/regula/documentreader/webclient/model/PerDocumentConfig.java src/main/generated/com/regula/documentreader/webclient/model/PhotoIdentResult.java @@ -97,10 +105,40 @@ src/main/generated/com/regula/documentreader/webclient/model/ProcessRequest.java src/main/generated/com/regula/documentreader/webclient/model/ProcessRequestImage.java src/main/generated/com/regula/documentreader/webclient/model/ProcessResponse.java src/main/generated/com/regula/documentreader/webclient/model/ProcessSystemInfo.java +src/main/generated/com/regula/documentreader/webclient/model/RFIDErrorCodes.java +src/main/generated/com/regula/documentreader/webclient/model/RFIDPKDResourceType.java src/main/generated/com/regula/documentreader/webclient/model/RawImageContainerList.java src/main/generated/com/regula/documentreader/webclient/model/RectangleCoordinates.java src/main/generated/com/regula/documentreader/webclient/model/ResultItem.java +src/main/generated/com/regula/documentreader/webclient/model/RfidAChip.java +src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControlInfo.java +src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControlProcedureType.java +src/main/generated/com/regula/documentreader/webclient/model/RfidAccessKey.java +src/main/generated/com/regula/documentreader/webclient/model/RfidApplication.java +src/main/generated/com/regula/documentreader/webclient/model/RfidApplicationType.java +src/main/generated/com/regula/documentreader/webclient/model/RfidAttributeData.java +src/main/generated/com/regula/documentreader/webclient/model/RfidAttributeName.java +src/main/generated/com/regula/documentreader/webclient/model/RfidAuthenticationProcedureType.java +src/main/generated/com/regula/documentreader/webclient/model/RfidBaudRate.java +src/main/generated/com/regula/documentreader/webclient/model/RfidCardPropertiesExt.java +src/main/generated/com/regula/documentreader/webclient/model/RfidCertificateEx.java +src/main/generated/com/regula/documentreader/webclient/model/RfidCertificateOrigin.java +src/main/generated/com/regula/documentreader/webclient/model/RfidCertificateType.java +src/main/generated/com/regula/documentreader/webclient/model/RfidDG1.java +src/main/generated/com/regula/documentreader/webclient/model/RfidDataFile.java +src/main/generated/com/regula/documentreader/webclient/model/RfidDataFileType.java +src/main/generated/com/regula/documentreader/webclient/model/RfidDataGroupTypeTag.java +src/main/generated/com/regula/documentreader/webclient/model/RfidDistinguishedName.java src/main/generated/com/regula/documentreader/webclient/model/RfidOrigin.java +src/main/generated/com/regula/documentreader/webclient/model/RfidPasswordType.java +src/main/generated/com/regula/documentreader/webclient/model/RfidPkiExtension.java +src/main/generated/com/regula/documentreader/webclient/model/RfidSecurityObject.java +src/main/generated/com/regula/documentreader/webclient/model/RfidSessionData.java +src/main/generated/com/regula/documentreader/webclient/model/RfidSignerInfoEx.java +src/main/generated/com/regula/documentreader/webclient/model/RfidTerminal.java +src/main/generated/com/regula/documentreader/webclient/model/RfidTerminalType.java +src/main/generated/com/regula/documentreader/webclient/model/RfidType.java +src/main/generated/com/regula/documentreader/webclient/model/RfidValidity.java src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureResult.java src/main/generated/com/regula/documentreader/webclient/model/SourceValidity.java src/main/generated/com/regula/documentreader/webclient/model/Status.java @@ -108,6 +146,7 @@ src/main/generated/com/regula/documentreader/webclient/model/StatusResult.java src/main/generated/com/regula/documentreader/webclient/model/StringRecognitionResult.java src/main/generated/com/regula/documentreader/webclient/model/SymbolCandidate.java src/main/generated/com/regula/documentreader/webclient/model/SymbolRecognitionResult.java +src/main/generated/com/regula/documentreader/webclient/model/TDocBinaryInfo.java src/main/generated/com/regula/documentreader/webclient/model/Text.java src/main/generated/com/regula/documentreader/webclient/model/TextAvailableSource.java src/main/generated/com/regula/documentreader/webclient/model/TextDataResult.java @@ -118,4 +157,8 @@ src/main/generated/com/regula/documentreader/webclient/model/TransactionImage.ja src/main/generated/com/regula/documentreader/webclient/model/TransactionInfo.java src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessGetResponse.java src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessRequest.java +src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessResponse.java +src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessResult.java +src/main/generated/com/regula/documentreader/webclient/model/TrfFtBytes.java +src/main/generated/com/regula/documentreader/webclient/model/TrfFtString.java src/main/generated/com/regula/documentreader/webclient/model/VerifiedFieldMap.java diff --git a/client/src/main/generated/com/regula/documentreader/webclient/ApiCallback.java b/client/src/main/generated/com/regula/documentreader/webclient/ApiCallback.java index 6cfd6fbe..ffa22e98 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/ApiCallback.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/ApiCallback.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/ApiClient.java b/client/src/main/generated/com/regula/documentreader/webclient/ApiClient.java index d55c4e2f..9b6bf85b 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/ApiClient.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/ApiClient.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/ApiException.java b/client/src/main/generated/com/regula/documentreader/webclient/ApiException.java index a74bacaa..fb8fb833 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/ApiException.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/ApiException.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/ApiResponse.java b/client/src/main/generated/com/regula/documentreader/webclient/ApiResponse.java index 613d5bcf..dc7f2b15 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/ApiResponse.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/ApiResponse.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/Configuration.java b/client/src/main/generated/com/regula/documentreader/webclient/Configuration.java index 879915be..77868554 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/Configuration.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/Configuration.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/GzipRequestInterceptor.java b/client/src/main/generated/com/regula/documentreader/webclient/GzipRequestInterceptor.java index 1bb31265..72d610eb 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/GzipRequestInterceptor.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/GzipRequestInterceptor.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/JSON.java b/client/src/main/generated/com/regula/documentreader/webclient/JSON.java index bf4cd778..99c092ba 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/JSON.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/JSON.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -46,46 +46,6 @@ public class JSON { private LocalDateTypeAdapter localDateTypeAdapter = new LocalDateTypeAdapter(); private ByteArrayAdapter byteArrayAdapter = new ByteArrayAdapter(); - public static Map childOfAuthenticityCheckResultItemByDiscriminatorValue = - new HashMap(); - - static { - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("1", SecurityFeatureResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("1024", IdentResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("1048576", IdentResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("128", PhotoIdentResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("131072", IdentResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("16", FiberResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("16384", FiberResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("2", SecurityFeatureResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("2048", IdentResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("256", PhotoIdentResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("262144", IdentResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("32", IdentResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("32768", IdentResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("4", IdentResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("4096", SecurityFeatureResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("512", SecurityFeatureResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("524288", IdentResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("64", OCRSecurityTextResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put( - "65536", SecurityFeatureResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("8", SecurityFeatureResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("8192", SecurityFeatureResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put( - "8388608", SecurityFeatureResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("FiberResult", FiberResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put("IdentResult", IdentResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put( - "OCRSecurityTextResult", OCRSecurityTextResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put( - "PhotoIdentResult", PhotoIdentResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put( - "SecurityFeatureResult", SecurityFeatureResult.class); - childOfAuthenticityCheckResultItemByDiscriminatorValue.put( - "AuthenticityCheckResultItem", AuthenticityCheckResultItem.class); - } - public static Map childOfAuthenticityResultByDiscriminatorValue = new HashMap(); @@ -93,6 +53,7 @@ public class JSON { childOfAuthenticityResultByDiscriminatorValue.put("1", DocumentImageResult.class); childOfAuthenticityResultByDiscriminatorValue.put("102", TextDataResult.class); childOfAuthenticityResultByDiscriminatorValue.put("103", GraphicsResult.class); + childOfAuthenticityResultByDiscriminatorValue.put("104", DocumentBinaryInfoResult.class); childOfAuthenticityResultByDiscriminatorValue.put("109", ByteArrayResult.class); childOfAuthenticityResultByDiscriminatorValue.put("15", LexicalAnalysisResult.class); childOfAuthenticityResultByDiscriminatorValue.put("16", DocumentImageResult.class); @@ -100,17 +61,23 @@ public class JSON { childOfAuthenticityResultByDiscriminatorValue.put("18", TextDataResult.class); childOfAuthenticityResultByDiscriminatorValue.put("19", GraphicsResult.class); childOfAuthenticityResultByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfAuthenticityResultByDiscriminatorValue.put("26", TextDataResult.class); childOfAuthenticityResultByDiscriminatorValue.put("3", TextDataResult.class); childOfAuthenticityResultByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfAuthenticityResultByDiscriminatorValue.put("32", GraphicsResult.class); childOfAuthenticityResultByDiscriminatorValue.put("33", StatusResult.class); childOfAuthenticityResultByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfAuthenticityResultByDiscriminatorValue.put("35", GraphicsResult.class); childOfAuthenticityResultByDiscriminatorValue.put("36", TextResult.class); childOfAuthenticityResultByDiscriminatorValue.put("37", ImagesResult.class); + childOfAuthenticityResultByDiscriminatorValue.put("38", GraphicsResult.class); childOfAuthenticityResultByDiscriminatorValue.put("39", AuthenticityResult.class); childOfAuthenticityResultByDiscriminatorValue.put("49", EncryptedRCLResult.class); childOfAuthenticityResultByDiscriminatorValue.put("5", DocBarCodeInfo.class); childOfAuthenticityResultByDiscriminatorValue.put("50", LicenseResult.class); childOfAuthenticityResultByDiscriminatorValue.put("6", GraphicsResult.class); + childOfAuthenticityResultByDiscriminatorValue.put("61", DocumentPositionResult.class); + childOfAuthenticityResultByDiscriminatorValue.put("62", DocumentPositionResult.class); childOfAuthenticityResultByDiscriminatorValue.put("8", DocumentTypesCandidatesResult.class); childOfAuthenticityResultByDiscriminatorValue.put("85", DocumentPositionResult.class); childOfAuthenticityResultByDiscriminatorValue.put("9", ChosenDocumentTypeResult.class); @@ -125,6 +92,7 @@ public class JSON { childOfByteArrayResultByDiscriminatorValue.put("1", DocumentImageResult.class); childOfByteArrayResultByDiscriminatorValue.put("102", TextDataResult.class); childOfByteArrayResultByDiscriminatorValue.put("103", GraphicsResult.class); + childOfByteArrayResultByDiscriminatorValue.put("104", DocumentBinaryInfoResult.class); childOfByteArrayResultByDiscriminatorValue.put("109", ByteArrayResult.class); childOfByteArrayResultByDiscriminatorValue.put("15", LexicalAnalysisResult.class); childOfByteArrayResultByDiscriminatorValue.put("16", DocumentImageResult.class); @@ -132,17 +100,23 @@ public class JSON { childOfByteArrayResultByDiscriminatorValue.put("18", TextDataResult.class); childOfByteArrayResultByDiscriminatorValue.put("19", GraphicsResult.class); childOfByteArrayResultByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfByteArrayResultByDiscriminatorValue.put("26", TextDataResult.class); childOfByteArrayResultByDiscriminatorValue.put("3", TextDataResult.class); childOfByteArrayResultByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfByteArrayResultByDiscriminatorValue.put("32", GraphicsResult.class); childOfByteArrayResultByDiscriminatorValue.put("33", StatusResult.class); childOfByteArrayResultByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfByteArrayResultByDiscriminatorValue.put("35", GraphicsResult.class); childOfByteArrayResultByDiscriminatorValue.put("36", TextResult.class); childOfByteArrayResultByDiscriminatorValue.put("37", ImagesResult.class); + childOfByteArrayResultByDiscriminatorValue.put("38", GraphicsResult.class); childOfByteArrayResultByDiscriminatorValue.put("39", AuthenticityResult.class); childOfByteArrayResultByDiscriminatorValue.put("49", EncryptedRCLResult.class); childOfByteArrayResultByDiscriminatorValue.put("5", DocBarCodeInfo.class); childOfByteArrayResultByDiscriminatorValue.put("50", LicenseResult.class); childOfByteArrayResultByDiscriminatorValue.put("6", GraphicsResult.class); + childOfByteArrayResultByDiscriminatorValue.put("61", DocumentPositionResult.class); + childOfByteArrayResultByDiscriminatorValue.put("62", DocumentPositionResult.class); childOfByteArrayResultByDiscriminatorValue.put("8", DocumentTypesCandidatesResult.class); childOfByteArrayResultByDiscriminatorValue.put("85", DocumentPositionResult.class); childOfByteArrayResultByDiscriminatorValue.put("9", ChosenDocumentTypeResult.class); @@ -156,6 +130,7 @@ public class JSON { childOfChosenDocumentTypeResultByDiscriminatorValue.put("1", DocumentImageResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("102", TextDataResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("103", GraphicsResult.class); + childOfChosenDocumentTypeResultByDiscriminatorValue.put("104", DocumentBinaryInfoResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("109", ByteArrayResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("15", LexicalAnalysisResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("16", DocumentImageResult.class); @@ -163,17 +138,23 @@ public class JSON { childOfChosenDocumentTypeResultByDiscriminatorValue.put("18", TextDataResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("19", GraphicsResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfChosenDocumentTypeResultByDiscriminatorValue.put("26", TextDataResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("3", TextDataResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfChosenDocumentTypeResultByDiscriminatorValue.put("32", GraphicsResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("33", StatusResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfChosenDocumentTypeResultByDiscriminatorValue.put("35", GraphicsResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("36", TextResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("37", ImagesResult.class); + childOfChosenDocumentTypeResultByDiscriminatorValue.put("38", GraphicsResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("39", AuthenticityResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("49", EncryptedRCLResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("5", DocBarCodeInfo.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("50", LicenseResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("6", GraphicsResult.class); + childOfChosenDocumentTypeResultByDiscriminatorValue.put("61", DocumentPositionResult.class); + childOfChosenDocumentTypeResultByDiscriminatorValue.put("62", DocumentPositionResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put( "8", DocumentTypesCandidatesResult.class); childOfChosenDocumentTypeResultByDiscriminatorValue.put("85", DocumentPositionResult.class); @@ -189,6 +170,7 @@ public class JSON { childOfDocBarCodeInfoByDiscriminatorValue.put("1", DocumentImageResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("102", TextDataResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("103", GraphicsResult.class); + childOfDocBarCodeInfoByDiscriminatorValue.put("104", DocumentBinaryInfoResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("109", ByteArrayResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("15", LexicalAnalysisResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("16", DocumentImageResult.class); @@ -196,23 +178,69 @@ public class JSON { childOfDocBarCodeInfoByDiscriminatorValue.put("18", TextDataResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("19", GraphicsResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfDocBarCodeInfoByDiscriminatorValue.put("26", TextDataResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("3", TextDataResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfDocBarCodeInfoByDiscriminatorValue.put("32", GraphicsResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("33", StatusResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfDocBarCodeInfoByDiscriminatorValue.put("35", GraphicsResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("36", TextResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("37", ImagesResult.class); + childOfDocBarCodeInfoByDiscriminatorValue.put("38", GraphicsResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("39", AuthenticityResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("49", EncryptedRCLResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("5", DocBarCodeInfo.class); childOfDocBarCodeInfoByDiscriminatorValue.put("50", LicenseResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("6", GraphicsResult.class); + childOfDocBarCodeInfoByDiscriminatorValue.put("61", DocumentPositionResult.class); + childOfDocBarCodeInfoByDiscriminatorValue.put("62", DocumentPositionResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("8", DocumentTypesCandidatesResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("85", DocumentPositionResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("9", ChosenDocumentTypeResult.class); childOfDocBarCodeInfoByDiscriminatorValue.put("DocBarCodeInfo", DocBarCodeInfo.class); } + public static Map childOfDocumentBinaryInfoResultByDiscriminatorValue = + new HashMap(); + + static { + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("1", DocumentImageResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("102", TextDataResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("103", GraphicsResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("104", DocumentBinaryInfoResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("109", ByteArrayResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("15", LexicalAnalysisResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("16", DocumentImageResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("17", TextDataResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("18", TextDataResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("19", GraphicsResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("26", TextDataResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("3", TextDataResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("32", GraphicsResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("33", StatusResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("35", GraphicsResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("36", TextResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("37", ImagesResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("38", GraphicsResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("39", AuthenticityResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("49", EncryptedRCLResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("5", DocBarCodeInfo.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("50", LicenseResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("6", GraphicsResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("61", DocumentPositionResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("62", DocumentPositionResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put( + "8", DocumentTypesCandidatesResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("85", DocumentPositionResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put("9", ChosenDocumentTypeResult.class); + childOfDocumentBinaryInfoResultByDiscriminatorValue.put( + "DocumentBinaryInfoResult", DocumentBinaryInfoResult.class); + } + public static Map childOfDocumentImageResultByDiscriminatorValue = new HashMap(); @@ -220,6 +248,7 @@ public class JSON { childOfDocumentImageResultByDiscriminatorValue.put("1", DocumentImageResult.class); childOfDocumentImageResultByDiscriminatorValue.put("102", TextDataResult.class); childOfDocumentImageResultByDiscriminatorValue.put("103", GraphicsResult.class); + childOfDocumentImageResultByDiscriminatorValue.put("104", DocumentBinaryInfoResult.class); childOfDocumentImageResultByDiscriminatorValue.put("109", ByteArrayResult.class); childOfDocumentImageResultByDiscriminatorValue.put("15", LexicalAnalysisResult.class); childOfDocumentImageResultByDiscriminatorValue.put("16", DocumentImageResult.class); @@ -227,17 +256,23 @@ public class JSON { childOfDocumentImageResultByDiscriminatorValue.put("18", TextDataResult.class); childOfDocumentImageResultByDiscriminatorValue.put("19", GraphicsResult.class); childOfDocumentImageResultByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfDocumentImageResultByDiscriminatorValue.put("26", TextDataResult.class); childOfDocumentImageResultByDiscriminatorValue.put("3", TextDataResult.class); childOfDocumentImageResultByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfDocumentImageResultByDiscriminatorValue.put("32", GraphicsResult.class); childOfDocumentImageResultByDiscriminatorValue.put("33", StatusResult.class); childOfDocumentImageResultByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfDocumentImageResultByDiscriminatorValue.put("35", GraphicsResult.class); childOfDocumentImageResultByDiscriminatorValue.put("36", TextResult.class); childOfDocumentImageResultByDiscriminatorValue.put("37", ImagesResult.class); + childOfDocumentImageResultByDiscriminatorValue.put("38", GraphicsResult.class); childOfDocumentImageResultByDiscriminatorValue.put("39", AuthenticityResult.class); childOfDocumentImageResultByDiscriminatorValue.put("49", EncryptedRCLResult.class); childOfDocumentImageResultByDiscriminatorValue.put("5", DocBarCodeInfo.class); childOfDocumentImageResultByDiscriminatorValue.put("50", LicenseResult.class); childOfDocumentImageResultByDiscriminatorValue.put("6", GraphicsResult.class); + childOfDocumentImageResultByDiscriminatorValue.put("61", DocumentPositionResult.class); + childOfDocumentImageResultByDiscriminatorValue.put("62", DocumentPositionResult.class); childOfDocumentImageResultByDiscriminatorValue.put("8", DocumentTypesCandidatesResult.class); childOfDocumentImageResultByDiscriminatorValue.put("85", DocumentPositionResult.class); childOfDocumentImageResultByDiscriminatorValue.put("9", ChosenDocumentTypeResult.class); @@ -252,6 +287,7 @@ public class JSON { childOfDocumentPositionResultByDiscriminatorValue.put("1", DocumentImageResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("102", TextDataResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("103", GraphicsResult.class); + childOfDocumentPositionResultByDiscriminatorValue.put("104", DocumentBinaryInfoResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("109", ByteArrayResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("15", LexicalAnalysisResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("16", DocumentImageResult.class); @@ -259,17 +295,23 @@ public class JSON { childOfDocumentPositionResultByDiscriminatorValue.put("18", TextDataResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("19", GraphicsResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfDocumentPositionResultByDiscriminatorValue.put("26", TextDataResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("3", TextDataResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfDocumentPositionResultByDiscriminatorValue.put("32", GraphicsResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("33", StatusResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfDocumentPositionResultByDiscriminatorValue.put("35", GraphicsResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("36", TextResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("37", ImagesResult.class); + childOfDocumentPositionResultByDiscriminatorValue.put("38", GraphicsResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("39", AuthenticityResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("49", EncryptedRCLResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("5", DocBarCodeInfo.class); childOfDocumentPositionResultByDiscriminatorValue.put("50", LicenseResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("6", GraphicsResult.class); + childOfDocumentPositionResultByDiscriminatorValue.put("61", DocumentPositionResult.class); + childOfDocumentPositionResultByDiscriminatorValue.put("62", DocumentPositionResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("8", DocumentTypesCandidatesResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("85", DocumentPositionResult.class); childOfDocumentPositionResultByDiscriminatorValue.put("9", ChosenDocumentTypeResult.class); @@ -284,6 +326,8 @@ public class JSON { childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("1", DocumentImageResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("102", TextDataResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("103", GraphicsResult.class); + childOfDocumentTypesCandidatesResultByDiscriminatorValue.put( + "104", DocumentBinaryInfoResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("109", ByteArrayResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("15", LexicalAnalysisResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("16", DocumentImageResult.class); @@ -291,17 +335,25 @@ public class JSON { childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("18", TextDataResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("19", GraphicsResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("26", TextDataResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("3", TextDataResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("32", GraphicsResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("33", StatusResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("35", GraphicsResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("36", TextResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("37", ImagesResult.class); + childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("38", GraphicsResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("39", AuthenticityResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("49", EncryptedRCLResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("5", DocBarCodeInfo.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("50", LicenseResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put("6", GraphicsResult.class); + childOfDocumentTypesCandidatesResultByDiscriminatorValue.put( + "61", DocumentPositionResult.class); + childOfDocumentTypesCandidatesResultByDiscriminatorValue.put( + "62", DocumentPositionResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put( "8", DocumentTypesCandidatesResult.class); childOfDocumentTypesCandidatesResultByDiscriminatorValue.put( @@ -319,6 +371,7 @@ public class JSON { childOfEncryptedRCLResultByDiscriminatorValue.put("1", DocumentImageResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("102", TextDataResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("103", GraphicsResult.class); + childOfEncryptedRCLResultByDiscriminatorValue.put("104", DocumentBinaryInfoResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("109", ByteArrayResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("15", LexicalAnalysisResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("16", DocumentImageResult.class); @@ -326,17 +379,23 @@ public class JSON { childOfEncryptedRCLResultByDiscriminatorValue.put("18", TextDataResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("19", GraphicsResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfEncryptedRCLResultByDiscriminatorValue.put("26", TextDataResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("3", TextDataResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfEncryptedRCLResultByDiscriminatorValue.put("32", GraphicsResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("33", StatusResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfEncryptedRCLResultByDiscriminatorValue.put("35", GraphicsResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("36", TextResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("37", ImagesResult.class); + childOfEncryptedRCLResultByDiscriminatorValue.put("38", GraphicsResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("39", AuthenticityResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("49", EncryptedRCLResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("5", DocBarCodeInfo.class); childOfEncryptedRCLResultByDiscriminatorValue.put("50", LicenseResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("6", GraphicsResult.class); + childOfEncryptedRCLResultByDiscriminatorValue.put("61", DocumentPositionResult.class); + childOfEncryptedRCLResultByDiscriminatorValue.put("62", DocumentPositionResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("8", DocumentTypesCandidatesResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("85", DocumentPositionResult.class); childOfEncryptedRCLResultByDiscriminatorValue.put("9", ChosenDocumentTypeResult.class); @@ -344,35 +403,6 @@ public class JSON { "EncryptedRCLResult", EncryptedRCLResult.class); } - public static Map childOfFiberResultByDiscriminatorValue = - new HashMap(); - - static { - childOfFiberResultByDiscriminatorValue.put("1", SecurityFeatureResult.class); - childOfFiberResultByDiscriminatorValue.put("1024", IdentResult.class); - childOfFiberResultByDiscriminatorValue.put("1048576", IdentResult.class); - childOfFiberResultByDiscriminatorValue.put("128", PhotoIdentResult.class); - childOfFiberResultByDiscriminatorValue.put("131072", IdentResult.class); - childOfFiberResultByDiscriminatorValue.put("16", FiberResult.class); - childOfFiberResultByDiscriminatorValue.put("16384", FiberResult.class); - childOfFiberResultByDiscriminatorValue.put("2", SecurityFeatureResult.class); - childOfFiberResultByDiscriminatorValue.put("2048", IdentResult.class); - childOfFiberResultByDiscriminatorValue.put("256", PhotoIdentResult.class); - childOfFiberResultByDiscriminatorValue.put("262144", IdentResult.class); - childOfFiberResultByDiscriminatorValue.put("32", IdentResult.class); - childOfFiberResultByDiscriminatorValue.put("32768", IdentResult.class); - childOfFiberResultByDiscriminatorValue.put("4", IdentResult.class); - childOfFiberResultByDiscriminatorValue.put("4096", SecurityFeatureResult.class); - childOfFiberResultByDiscriminatorValue.put("512", SecurityFeatureResult.class); - childOfFiberResultByDiscriminatorValue.put("524288", IdentResult.class); - childOfFiberResultByDiscriminatorValue.put("64", OCRSecurityTextResult.class); - childOfFiberResultByDiscriminatorValue.put("65536", SecurityFeatureResult.class); - childOfFiberResultByDiscriminatorValue.put("8", SecurityFeatureResult.class); - childOfFiberResultByDiscriminatorValue.put("8192", SecurityFeatureResult.class); - childOfFiberResultByDiscriminatorValue.put("8388608", SecurityFeatureResult.class); - childOfFiberResultByDiscriminatorValue.put("FiberResult", FiberResult.class); - } - public static Map childOfGraphicsResultByDiscriminatorValue = new HashMap(); @@ -380,6 +410,7 @@ public class JSON { childOfGraphicsResultByDiscriminatorValue.put("1", DocumentImageResult.class); childOfGraphicsResultByDiscriminatorValue.put("102", TextDataResult.class); childOfGraphicsResultByDiscriminatorValue.put("103", GraphicsResult.class); + childOfGraphicsResultByDiscriminatorValue.put("104", DocumentBinaryInfoResult.class); childOfGraphicsResultByDiscriminatorValue.put("109", ByteArrayResult.class); childOfGraphicsResultByDiscriminatorValue.put("15", LexicalAnalysisResult.class); childOfGraphicsResultByDiscriminatorValue.put("16", DocumentImageResult.class); @@ -387,52 +418,29 @@ public class JSON { childOfGraphicsResultByDiscriminatorValue.put("18", TextDataResult.class); childOfGraphicsResultByDiscriminatorValue.put("19", GraphicsResult.class); childOfGraphicsResultByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfGraphicsResultByDiscriminatorValue.put("26", TextDataResult.class); childOfGraphicsResultByDiscriminatorValue.put("3", TextDataResult.class); childOfGraphicsResultByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfGraphicsResultByDiscriminatorValue.put("32", GraphicsResult.class); childOfGraphicsResultByDiscriminatorValue.put("33", StatusResult.class); childOfGraphicsResultByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfGraphicsResultByDiscriminatorValue.put("35", GraphicsResult.class); childOfGraphicsResultByDiscriminatorValue.put("36", TextResult.class); childOfGraphicsResultByDiscriminatorValue.put("37", ImagesResult.class); + childOfGraphicsResultByDiscriminatorValue.put("38", GraphicsResult.class); childOfGraphicsResultByDiscriminatorValue.put("39", AuthenticityResult.class); childOfGraphicsResultByDiscriminatorValue.put("49", EncryptedRCLResult.class); childOfGraphicsResultByDiscriminatorValue.put("5", DocBarCodeInfo.class); childOfGraphicsResultByDiscriminatorValue.put("50", LicenseResult.class); childOfGraphicsResultByDiscriminatorValue.put("6", GraphicsResult.class); + childOfGraphicsResultByDiscriminatorValue.put("61", DocumentPositionResult.class); + childOfGraphicsResultByDiscriminatorValue.put("62", DocumentPositionResult.class); childOfGraphicsResultByDiscriminatorValue.put("8", DocumentTypesCandidatesResult.class); childOfGraphicsResultByDiscriminatorValue.put("85", DocumentPositionResult.class); childOfGraphicsResultByDiscriminatorValue.put("9", ChosenDocumentTypeResult.class); childOfGraphicsResultByDiscriminatorValue.put("GraphicsResult", GraphicsResult.class); } - public static Map childOfIdentResultByDiscriminatorValue = - new HashMap(); - - static { - childOfIdentResultByDiscriminatorValue.put("1", SecurityFeatureResult.class); - childOfIdentResultByDiscriminatorValue.put("1024", IdentResult.class); - childOfIdentResultByDiscriminatorValue.put("1048576", IdentResult.class); - childOfIdentResultByDiscriminatorValue.put("128", PhotoIdentResult.class); - childOfIdentResultByDiscriminatorValue.put("131072", IdentResult.class); - childOfIdentResultByDiscriminatorValue.put("16", FiberResult.class); - childOfIdentResultByDiscriminatorValue.put("16384", FiberResult.class); - childOfIdentResultByDiscriminatorValue.put("2", SecurityFeatureResult.class); - childOfIdentResultByDiscriminatorValue.put("2048", IdentResult.class); - childOfIdentResultByDiscriminatorValue.put("256", PhotoIdentResult.class); - childOfIdentResultByDiscriminatorValue.put("262144", IdentResult.class); - childOfIdentResultByDiscriminatorValue.put("32", IdentResult.class); - childOfIdentResultByDiscriminatorValue.put("32768", IdentResult.class); - childOfIdentResultByDiscriminatorValue.put("4", IdentResult.class); - childOfIdentResultByDiscriminatorValue.put("4096", SecurityFeatureResult.class); - childOfIdentResultByDiscriminatorValue.put("512", SecurityFeatureResult.class); - childOfIdentResultByDiscriminatorValue.put("524288", IdentResult.class); - childOfIdentResultByDiscriminatorValue.put("64", OCRSecurityTextResult.class); - childOfIdentResultByDiscriminatorValue.put("65536", SecurityFeatureResult.class); - childOfIdentResultByDiscriminatorValue.put("8", SecurityFeatureResult.class); - childOfIdentResultByDiscriminatorValue.put("8192", SecurityFeatureResult.class); - childOfIdentResultByDiscriminatorValue.put("8388608", SecurityFeatureResult.class); - childOfIdentResultByDiscriminatorValue.put("IdentResult", IdentResult.class); - } - public static Map childOfImageQualityResultByDiscriminatorValue = new HashMap(); @@ -440,6 +448,7 @@ public class JSON { childOfImageQualityResultByDiscriminatorValue.put("1", DocumentImageResult.class); childOfImageQualityResultByDiscriminatorValue.put("102", TextDataResult.class); childOfImageQualityResultByDiscriminatorValue.put("103", GraphicsResult.class); + childOfImageQualityResultByDiscriminatorValue.put("104", DocumentBinaryInfoResult.class); childOfImageQualityResultByDiscriminatorValue.put("109", ByteArrayResult.class); childOfImageQualityResultByDiscriminatorValue.put("15", LexicalAnalysisResult.class); childOfImageQualityResultByDiscriminatorValue.put("16", DocumentImageResult.class); @@ -447,17 +456,23 @@ public class JSON { childOfImageQualityResultByDiscriminatorValue.put("18", TextDataResult.class); childOfImageQualityResultByDiscriminatorValue.put("19", GraphicsResult.class); childOfImageQualityResultByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfImageQualityResultByDiscriminatorValue.put("26", TextDataResult.class); childOfImageQualityResultByDiscriminatorValue.put("3", TextDataResult.class); childOfImageQualityResultByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfImageQualityResultByDiscriminatorValue.put("32", GraphicsResult.class); childOfImageQualityResultByDiscriminatorValue.put("33", StatusResult.class); childOfImageQualityResultByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfImageQualityResultByDiscriminatorValue.put("35", GraphicsResult.class); childOfImageQualityResultByDiscriminatorValue.put("36", TextResult.class); childOfImageQualityResultByDiscriminatorValue.put("37", ImagesResult.class); + childOfImageQualityResultByDiscriminatorValue.put("38", GraphicsResult.class); childOfImageQualityResultByDiscriminatorValue.put("39", AuthenticityResult.class); childOfImageQualityResultByDiscriminatorValue.put("49", EncryptedRCLResult.class); childOfImageQualityResultByDiscriminatorValue.put("5", DocBarCodeInfo.class); childOfImageQualityResultByDiscriminatorValue.put("50", LicenseResult.class); childOfImageQualityResultByDiscriminatorValue.put("6", GraphicsResult.class); + childOfImageQualityResultByDiscriminatorValue.put("61", DocumentPositionResult.class); + childOfImageQualityResultByDiscriminatorValue.put("62", DocumentPositionResult.class); childOfImageQualityResultByDiscriminatorValue.put("8", DocumentTypesCandidatesResult.class); childOfImageQualityResultByDiscriminatorValue.put("85", DocumentPositionResult.class); childOfImageQualityResultByDiscriminatorValue.put("9", ChosenDocumentTypeResult.class); @@ -472,6 +487,7 @@ public class JSON { childOfImagesResultByDiscriminatorValue.put("1", DocumentImageResult.class); childOfImagesResultByDiscriminatorValue.put("102", TextDataResult.class); childOfImagesResultByDiscriminatorValue.put("103", GraphicsResult.class); + childOfImagesResultByDiscriminatorValue.put("104", DocumentBinaryInfoResult.class); childOfImagesResultByDiscriminatorValue.put("109", ByteArrayResult.class); childOfImagesResultByDiscriminatorValue.put("15", LexicalAnalysisResult.class); childOfImagesResultByDiscriminatorValue.put("16", DocumentImageResult.class); @@ -479,17 +495,23 @@ public class JSON { childOfImagesResultByDiscriminatorValue.put("18", TextDataResult.class); childOfImagesResultByDiscriminatorValue.put("19", GraphicsResult.class); childOfImagesResultByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfImagesResultByDiscriminatorValue.put("26", TextDataResult.class); childOfImagesResultByDiscriminatorValue.put("3", TextDataResult.class); childOfImagesResultByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfImagesResultByDiscriminatorValue.put("32", GraphicsResult.class); childOfImagesResultByDiscriminatorValue.put("33", StatusResult.class); childOfImagesResultByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfImagesResultByDiscriminatorValue.put("35", GraphicsResult.class); childOfImagesResultByDiscriminatorValue.put("36", TextResult.class); childOfImagesResultByDiscriminatorValue.put("37", ImagesResult.class); + childOfImagesResultByDiscriminatorValue.put("38", GraphicsResult.class); childOfImagesResultByDiscriminatorValue.put("39", AuthenticityResult.class); childOfImagesResultByDiscriminatorValue.put("49", EncryptedRCLResult.class); childOfImagesResultByDiscriminatorValue.put("5", DocBarCodeInfo.class); childOfImagesResultByDiscriminatorValue.put("50", LicenseResult.class); childOfImagesResultByDiscriminatorValue.put("6", GraphicsResult.class); + childOfImagesResultByDiscriminatorValue.put("61", DocumentPositionResult.class); + childOfImagesResultByDiscriminatorValue.put("62", DocumentPositionResult.class); childOfImagesResultByDiscriminatorValue.put("8", DocumentTypesCandidatesResult.class); childOfImagesResultByDiscriminatorValue.put("85", DocumentPositionResult.class); childOfImagesResultByDiscriminatorValue.put("9", ChosenDocumentTypeResult.class); @@ -503,6 +525,7 @@ public class JSON { childOfLexicalAnalysisResultByDiscriminatorValue.put("1", DocumentImageResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("102", TextDataResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("103", GraphicsResult.class); + childOfLexicalAnalysisResultByDiscriminatorValue.put("104", DocumentBinaryInfoResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("109", ByteArrayResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("15", LexicalAnalysisResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("16", DocumentImageResult.class); @@ -510,17 +533,23 @@ public class JSON { childOfLexicalAnalysisResultByDiscriminatorValue.put("18", TextDataResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("19", GraphicsResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfLexicalAnalysisResultByDiscriminatorValue.put("26", TextDataResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("3", TextDataResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfLexicalAnalysisResultByDiscriminatorValue.put("32", GraphicsResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("33", StatusResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfLexicalAnalysisResultByDiscriminatorValue.put("35", GraphicsResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("36", TextResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("37", ImagesResult.class); + childOfLexicalAnalysisResultByDiscriminatorValue.put("38", GraphicsResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("39", AuthenticityResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("49", EncryptedRCLResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("5", DocBarCodeInfo.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("50", LicenseResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("6", GraphicsResult.class); + childOfLexicalAnalysisResultByDiscriminatorValue.put("61", DocumentPositionResult.class); + childOfLexicalAnalysisResultByDiscriminatorValue.put("62", DocumentPositionResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("8", DocumentTypesCandidatesResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("85", DocumentPositionResult.class); childOfLexicalAnalysisResultByDiscriminatorValue.put("9", ChosenDocumentTypeResult.class); @@ -535,6 +564,7 @@ public class JSON { childOfLicenseResultByDiscriminatorValue.put("1", DocumentImageResult.class); childOfLicenseResultByDiscriminatorValue.put("102", TextDataResult.class); childOfLicenseResultByDiscriminatorValue.put("103", GraphicsResult.class); + childOfLicenseResultByDiscriminatorValue.put("104", DocumentBinaryInfoResult.class); childOfLicenseResultByDiscriminatorValue.put("109", ByteArrayResult.class); childOfLicenseResultByDiscriminatorValue.put("15", LexicalAnalysisResult.class); childOfLicenseResultByDiscriminatorValue.put("16", DocumentImageResult.class); @@ -542,82 +572,29 @@ public class JSON { childOfLicenseResultByDiscriminatorValue.put("18", TextDataResult.class); childOfLicenseResultByDiscriminatorValue.put("19", GraphicsResult.class); childOfLicenseResultByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfLicenseResultByDiscriminatorValue.put("26", TextDataResult.class); childOfLicenseResultByDiscriminatorValue.put("3", TextDataResult.class); childOfLicenseResultByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfLicenseResultByDiscriminatorValue.put("32", GraphicsResult.class); childOfLicenseResultByDiscriminatorValue.put("33", StatusResult.class); childOfLicenseResultByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfLicenseResultByDiscriminatorValue.put("35", GraphicsResult.class); childOfLicenseResultByDiscriminatorValue.put("36", TextResult.class); childOfLicenseResultByDiscriminatorValue.put("37", ImagesResult.class); + childOfLicenseResultByDiscriminatorValue.put("38", GraphicsResult.class); childOfLicenseResultByDiscriminatorValue.put("39", AuthenticityResult.class); childOfLicenseResultByDiscriminatorValue.put("49", EncryptedRCLResult.class); childOfLicenseResultByDiscriminatorValue.put("5", DocBarCodeInfo.class); childOfLicenseResultByDiscriminatorValue.put("50", LicenseResult.class); childOfLicenseResultByDiscriminatorValue.put("6", GraphicsResult.class); + childOfLicenseResultByDiscriminatorValue.put("61", DocumentPositionResult.class); + childOfLicenseResultByDiscriminatorValue.put("62", DocumentPositionResult.class); childOfLicenseResultByDiscriminatorValue.put("8", DocumentTypesCandidatesResult.class); childOfLicenseResultByDiscriminatorValue.put("85", DocumentPositionResult.class); childOfLicenseResultByDiscriminatorValue.put("9", ChosenDocumentTypeResult.class); childOfLicenseResultByDiscriminatorValue.put("LicenseResult", LicenseResult.class); } - public static Map childOfOCRSecurityTextResultByDiscriminatorValue = - new HashMap(); - - static { - childOfOCRSecurityTextResultByDiscriminatorValue.put("1", SecurityFeatureResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("1024", IdentResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("1048576", IdentResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("128", PhotoIdentResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("131072", IdentResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("16", FiberResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("16384", FiberResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("2", SecurityFeatureResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("2048", IdentResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("256", PhotoIdentResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("262144", IdentResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("32", IdentResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("32768", IdentResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("4", IdentResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("4096", SecurityFeatureResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("512", SecurityFeatureResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("524288", IdentResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("64", OCRSecurityTextResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("65536", SecurityFeatureResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("8", SecurityFeatureResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("8192", SecurityFeatureResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put("8388608", SecurityFeatureResult.class); - childOfOCRSecurityTextResultByDiscriminatorValue.put( - "OCRSecurityTextResult", OCRSecurityTextResult.class); - } - - public static Map childOfPhotoIdentResultByDiscriminatorValue = - new HashMap(); - - static { - childOfPhotoIdentResultByDiscriminatorValue.put("1", SecurityFeatureResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("1024", IdentResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("1048576", IdentResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("128", PhotoIdentResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("131072", IdentResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("16", FiberResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("16384", FiberResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("2", SecurityFeatureResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("2048", IdentResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("256", PhotoIdentResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("262144", IdentResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("32", IdentResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("32768", IdentResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("4", IdentResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("4096", SecurityFeatureResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("512", SecurityFeatureResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("524288", IdentResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("64", OCRSecurityTextResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("65536", SecurityFeatureResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("8", SecurityFeatureResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("8192", SecurityFeatureResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("8388608", SecurityFeatureResult.class); - childOfPhotoIdentResultByDiscriminatorValue.put("PhotoIdentResult", PhotoIdentResult.class); - } - public static Map childOfResultItemByDiscriminatorValue = new HashMap(); @@ -625,6 +602,7 @@ public class JSON { childOfResultItemByDiscriminatorValue.put("1", DocumentImageResult.class); childOfResultItemByDiscriminatorValue.put("102", TextDataResult.class); childOfResultItemByDiscriminatorValue.put("103", GraphicsResult.class); + childOfResultItemByDiscriminatorValue.put("104", DocumentBinaryInfoResult.class); childOfResultItemByDiscriminatorValue.put("109", ByteArrayResult.class); childOfResultItemByDiscriminatorValue.put("15", LexicalAnalysisResult.class); childOfResultItemByDiscriminatorValue.put("16", DocumentImageResult.class); @@ -632,17 +610,23 @@ public class JSON { childOfResultItemByDiscriminatorValue.put("18", TextDataResult.class); childOfResultItemByDiscriminatorValue.put("19", GraphicsResult.class); childOfResultItemByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfResultItemByDiscriminatorValue.put("26", TextDataResult.class); childOfResultItemByDiscriminatorValue.put("3", TextDataResult.class); childOfResultItemByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfResultItemByDiscriminatorValue.put("32", GraphicsResult.class); childOfResultItemByDiscriminatorValue.put("33", StatusResult.class); childOfResultItemByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfResultItemByDiscriminatorValue.put("35", GraphicsResult.class); childOfResultItemByDiscriminatorValue.put("36", TextResult.class); childOfResultItemByDiscriminatorValue.put("37", ImagesResult.class); + childOfResultItemByDiscriminatorValue.put("38", GraphicsResult.class); childOfResultItemByDiscriminatorValue.put("39", AuthenticityResult.class); childOfResultItemByDiscriminatorValue.put("49", EncryptedRCLResult.class); childOfResultItemByDiscriminatorValue.put("5", DocBarCodeInfo.class); childOfResultItemByDiscriminatorValue.put("50", LicenseResult.class); childOfResultItemByDiscriminatorValue.put("6", GraphicsResult.class); + childOfResultItemByDiscriminatorValue.put("61", DocumentPositionResult.class); + childOfResultItemByDiscriminatorValue.put("62", DocumentPositionResult.class); childOfResultItemByDiscriminatorValue.put("8", DocumentTypesCandidatesResult.class); childOfResultItemByDiscriminatorValue.put("85", DocumentPositionResult.class); childOfResultItemByDiscriminatorValue.put("9", ChosenDocumentTypeResult.class); @@ -651,6 +635,8 @@ public class JSON { childOfResultItemByDiscriminatorValue.put( "ChosenDocumentTypeResult", ChosenDocumentTypeResult.class); childOfResultItemByDiscriminatorValue.put("DocBarCodeInfo", DocBarCodeInfo.class); + childOfResultItemByDiscriminatorValue.put( + "DocumentBinaryInfoResult", DocumentBinaryInfoResult.class); childOfResultItemByDiscriminatorValue.put("DocumentImageResult", DocumentImageResult.class); childOfResultItemByDiscriminatorValue.put( "DocumentPositionResult", DocumentPositionResult.class); @@ -668,36 +654,6 @@ public class JSON { childOfResultItemByDiscriminatorValue.put("ResultItem", ResultItem.class); } - public static Map childOfSecurityFeatureResultByDiscriminatorValue = - new HashMap(); - - static { - childOfSecurityFeatureResultByDiscriminatorValue.put("1", SecurityFeatureResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("1024", IdentResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("1048576", IdentResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("128", PhotoIdentResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("131072", IdentResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("16", FiberResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("16384", FiberResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("2", SecurityFeatureResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("2048", IdentResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("256", PhotoIdentResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("262144", IdentResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("32", IdentResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("32768", IdentResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("4", IdentResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("4096", SecurityFeatureResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("512", SecurityFeatureResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("524288", IdentResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("64", OCRSecurityTextResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("65536", SecurityFeatureResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("8", SecurityFeatureResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("8192", SecurityFeatureResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put("8388608", SecurityFeatureResult.class); - childOfSecurityFeatureResultByDiscriminatorValue.put( - "SecurityFeatureResult", SecurityFeatureResult.class); - } - public static Map childOfStatusResultByDiscriminatorValue = new HashMap(); @@ -705,6 +661,7 @@ public class JSON { childOfStatusResultByDiscriminatorValue.put("1", DocumentImageResult.class); childOfStatusResultByDiscriminatorValue.put("102", TextDataResult.class); childOfStatusResultByDiscriminatorValue.put("103", GraphicsResult.class); + childOfStatusResultByDiscriminatorValue.put("104", DocumentBinaryInfoResult.class); childOfStatusResultByDiscriminatorValue.put("109", ByteArrayResult.class); childOfStatusResultByDiscriminatorValue.put("15", LexicalAnalysisResult.class); childOfStatusResultByDiscriminatorValue.put("16", DocumentImageResult.class); @@ -712,17 +669,23 @@ public class JSON { childOfStatusResultByDiscriminatorValue.put("18", TextDataResult.class); childOfStatusResultByDiscriminatorValue.put("19", GraphicsResult.class); childOfStatusResultByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfStatusResultByDiscriminatorValue.put("26", TextDataResult.class); childOfStatusResultByDiscriminatorValue.put("3", TextDataResult.class); childOfStatusResultByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfStatusResultByDiscriminatorValue.put("32", GraphicsResult.class); childOfStatusResultByDiscriminatorValue.put("33", StatusResult.class); childOfStatusResultByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfStatusResultByDiscriminatorValue.put("35", GraphicsResult.class); childOfStatusResultByDiscriminatorValue.put("36", TextResult.class); childOfStatusResultByDiscriminatorValue.put("37", ImagesResult.class); + childOfStatusResultByDiscriminatorValue.put("38", GraphicsResult.class); childOfStatusResultByDiscriminatorValue.put("39", AuthenticityResult.class); childOfStatusResultByDiscriminatorValue.put("49", EncryptedRCLResult.class); childOfStatusResultByDiscriminatorValue.put("5", DocBarCodeInfo.class); childOfStatusResultByDiscriminatorValue.put("50", LicenseResult.class); childOfStatusResultByDiscriminatorValue.put("6", GraphicsResult.class); + childOfStatusResultByDiscriminatorValue.put("61", DocumentPositionResult.class); + childOfStatusResultByDiscriminatorValue.put("62", DocumentPositionResult.class); childOfStatusResultByDiscriminatorValue.put("8", DocumentTypesCandidatesResult.class); childOfStatusResultByDiscriminatorValue.put("85", DocumentPositionResult.class); childOfStatusResultByDiscriminatorValue.put("9", ChosenDocumentTypeResult.class); @@ -736,6 +699,7 @@ public class JSON { childOfTextDataResultByDiscriminatorValue.put("1", DocumentImageResult.class); childOfTextDataResultByDiscriminatorValue.put("102", TextDataResult.class); childOfTextDataResultByDiscriminatorValue.put("103", GraphicsResult.class); + childOfTextDataResultByDiscriminatorValue.put("104", DocumentBinaryInfoResult.class); childOfTextDataResultByDiscriminatorValue.put("109", ByteArrayResult.class); childOfTextDataResultByDiscriminatorValue.put("15", LexicalAnalysisResult.class); childOfTextDataResultByDiscriminatorValue.put("16", DocumentImageResult.class); @@ -743,17 +707,23 @@ public class JSON { childOfTextDataResultByDiscriminatorValue.put("18", TextDataResult.class); childOfTextDataResultByDiscriminatorValue.put("19", GraphicsResult.class); childOfTextDataResultByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfTextDataResultByDiscriminatorValue.put("26", TextDataResult.class); childOfTextDataResultByDiscriminatorValue.put("3", TextDataResult.class); childOfTextDataResultByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfTextDataResultByDiscriminatorValue.put("32", GraphicsResult.class); childOfTextDataResultByDiscriminatorValue.put("33", StatusResult.class); childOfTextDataResultByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfTextDataResultByDiscriminatorValue.put("35", GraphicsResult.class); childOfTextDataResultByDiscriminatorValue.put("36", TextResult.class); childOfTextDataResultByDiscriminatorValue.put("37", ImagesResult.class); + childOfTextDataResultByDiscriminatorValue.put("38", GraphicsResult.class); childOfTextDataResultByDiscriminatorValue.put("39", AuthenticityResult.class); childOfTextDataResultByDiscriminatorValue.put("49", EncryptedRCLResult.class); childOfTextDataResultByDiscriminatorValue.put("5", DocBarCodeInfo.class); childOfTextDataResultByDiscriminatorValue.put("50", LicenseResult.class); childOfTextDataResultByDiscriminatorValue.put("6", GraphicsResult.class); + childOfTextDataResultByDiscriminatorValue.put("61", DocumentPositionResult.class); + childOfTextDataResultByDiscriminatorValue.put("62", DocumentPositionResult.class); childOfTextDataResultByDiscriminatorValue.put("8", DocumentTypesCandidatesResult.class); childOfTextDataResultByDiscriminatorValue.put("85", DocumentPositionResult.class); childOfTextDataResultByDiscriminatorValue.put("9", ChosenDocumentTypeResult.class); @@ -767,6 +737,7 @@ public class JSON { childOfTextResultByDiscriminatorValue.put("1", DocumentImageResult.class); childOfTextResultByDiscriminatorValue.put("102", TextDataResult.class); childOfTextResultByDiscriminatorValue.put("103", GraphicsResult.class); + childOfTextResultByDiscriminatorValue.put("104", DocumentBinaryInfoResult.class); childOfTextResultByDiscriminatorValue.put("109", ByteArrayResult.class); childOfTextResultByDiscriminatorValue.put("15", LexicalAnalysisResult.class); childOfTextResultByDiscriminatorValue.put("16", DocumentImageResult.class); @@ -774,17 +745,23 @@ public class JSON { childOfTextResultByDiscriminatorValue.put("18", TextDataResult.class); childOfTextResultByDiscriminatorValue.put("19", GraphicsResult.class); childOfTextResultByDiscriminatorValue.put("20", AuthenticityResult.class); + childOfTextResultByDiscriminatorValue.put("26", TextDataResult.class); childOfTextResultByDiscriminatorValue.put("3", TextDataResult.class); childOfTextResultByDiscriminatorValue.put("30", ImageQualityResult.class); + childOfTextResultByDiscriminatorValue.put("32", GraphicsResult.class); childOfTextResultByDiscriminatorValue.put("33", StatusResult.class); childOfTextResultByDiscriminatorValue.put("34", AuthenticityResult.class); + childOfTextResultByDiscriminatorValue.put("35", GraphicsResult.class); childOfTextResultByDiscriminatorValue.put("36", TextResult.class); childOfTextResultByDiscriminatorValue.put("37", ImagesResult.class); + childOfTextResultByDiscriminatorValue.put("38", GraphicsResult.class); childOfTextResultByDiscriminatorValue.put("39", AuthenticityResult.class); childOfTextResultByDiscriminatorValue.put("49", EncryptedRCLResult.class); childOfTextResultByDiscriminatorValue.put("5", DocBarCodeInfo.class); childOfTextResultByDiscriminatorValue.put("50", LicenseResult.class); childOfTextResultByDiscriminatorValue.put("6", GraphicsResult.class); + childOfTextResultByDiscriminatorValue.put("61", DocumentPositionResult.class); + childOfTextResultByDiscriminatorValue.put("62", DocumentPositionResult.class); childOfTextResultByDiscriminatorValue.put("8", DocumentTypesCandidatesResult.class); childOfTextResultByDiscriminatorValue.put("85", DocumentPositionResult.class); childOfTextResultByDiscriminatorValue.put("9", ChosenDocumentTypeResult.class); @@ -794,16 +771,6 @@ public class JSON { public static GsonBuilder createGson() { GsonFireBuilder fireBuilder = new GsonFireBuilder() - .registerTypeSelector( - AuthenticityCheckResultItem.class, - new TypeSelector() { - @Override - public Class getClassForElement(JsonElement readElement) { - return getClassByDiscriminator( - childOfAuthenticityCheckResultItemByDiscriminatorValue, - getDiscriminatorValue(readElement, "Type")); - } - }) .registerTypeSelector( AuthenticityResult.class, new TypeSelector() { @@ -844,6 +811,16 @@ public Class getClassForElement(JsonElement readElement) { getDiscriminatorValue(readElement, "result_type")); } }) + .registerTypeSelector( + DocumentBinaryInfoResult.class, + new TypeSelector() { + @Override + public Class getClassForElement(JsonElement readElement) { + return getClassByDiscriminator( + childOfDocumentBinaryInfoResultByDiscriminatorValue, + getDiscriminatorValue(readElement, "result_type")); + } + }) .registerTypeSelector( DocumentImageResult.class, new TypeSelector() { @@ -884,16 +861,6 @@ public Class getClassForElement(JsonElement readElement) { getDiscriminatorValue(readElement, "result_type")); } }) - .registerTypeSelector( - FiberResult.class, - new TypeSelector() { - @Override - public Class getClassForElement(JsonElement readElement) { - return getClassByDiscriminator( - childOfFiberResultByDiscriminatorValue, - getDiscriminatorValue(readElement, "Type")); - } - }) .registerTypeSelector( GraphicsResult.class, new TypeSelector() { @@ -904,16 +871,6 @@ public Class getClassForElement(JsonElement readElement) { getDiscriminatorValue(readElement, "result_type")); } }) - .registerTypeSelector( - IdentResult.class, - new TypeSelector() { - @Override - public Class getClassForElement(JsonElement readElement) { - return getClassByDiscriminator( - childOfIdentResultByDiscriminatorValue, - getDiscriminatorValue(readElement, "Type")); - } - }) .registerTypeSelector( ImageQualityResult.class, new TypeSelector() { @@ -954,26 +911,6 @@ public Class getClassForElement(JsonElement readElement) { getDiscriminatorValue(readElement, "result_type")); } }) - .registerTypeSelector( - OCRSecurityTextResult.class, - new TypeSelector() { - @Override - public Class getClassForElement(JsonElement readElement) { - return getClassByDiscriminator( - childOfOCRSecurityTextResultByDiscriminatorValue, - getDiscriminatorValue(readElement, "Type")); - } - }) - .registerTypeSelector( - PhotoIdentResult.class, - new TypeSelector() { - @Override - public Class getClassForElement(JsonElement readElement) { - return getClassByDiscriminator( - childOfPhotoIdentResultByDiscriminatorValue, - getDiscriminatorValue(readElement, "Type")); - } - }) .registerTypeSelector( ResultItem.class, new TypeSelector() { @@ -984,16 +921,6 @@ public Class getClassForElement(JsonElement readElement) { getDiscriminatorValue(readElement, "result_type")); } }) - .registerTypeSelector( - SecurityFeatureResult.class, - new TypeSelector() { - @Override - public Class getClassForElement(JsonElement readElement) { - return getClassByDiscriminator( - childOfSecurityFeatureResultByDiscriminatorValue, - getDiscriminatorValue(readElement, "Type")); - } - }) .registerTypeSelector( StatusResult.class, new TypeSelector() { diff --git a/client/src/main/generated/com/regula/documentreader/webclient/Pair.java b/client/src/main/generated/com/regula/documentreader/webclient/Pair.java index 23b13ea6..5fe8cd4c 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/Pair.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/Pair.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/ProgressRequestBody.java b/client/src/main/generated/com/regula/documentreader/webclient/ProgressRequestBody.java index f412234f..4f1a057d 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/ProgressRequestBody.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/ProgressRequestBody.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/ProgressResponseBody.java b/client/src/main/generated/com/regula/documentreader/webclient/ProgressResponseBody.java index cf95814e..f09fd254 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/ProgressResponseBody.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/ProgressResponseBody.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/StringUtil.java b/client/src/main/generated/com/regula/documentreader/webclient/StringUtil.java index 190e7a1c..b74740a3 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/StringUtil.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/StringUtil.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/api/HealthcheckApi.java b/client/src/main/generated/com/regula/documentreader/webclient/api/HealthcheckApi.java index 5032ce19..2a1f30c9 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/api/HealthcheckApi.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/api/HealthcheckApi.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/api/ProcessApi.java b/client/src/main/generated/com/regula/documentreader/webclient/api/ProcessApi.java index 5c2a8bdb..255e92f5 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/api/ProcessApi.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/api/ProcessApi.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/api/TransactionApi.java b/client/src/main/generated/com/regula/documentreader/webclient/api/TransactionApi.java index 5a91ba00..297ab233 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/api/TransactionApi.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/api/TransactionApi.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,11 +19,11 @@ import com.regula.documentreader.webclient.ApiResponse; import com.regula.documentreader.webclient.Configuration; import com.regula.documentreader.webclient.Pair; -import com.regula.documentreader.webclient.model.InlineResponse200; -import com.regula.documentreader.webclient.model.InlineResponse2001; import com.regula.documentreader.webclient.model.ListTransactionsByTagResponse; import com.regula.documentreader.webclient.model.TransactionProcessGetResponse; import com.regula.documentreader.webclient.model.TransactionProcessRequest; +import com.regula.documentreader.webclient.model.TransactionProcessResponse; +import com.regula.documentreader.webclient.model.TransactionProcessResult; import java.io.File; import java.lang.reflect.Type; import java.util.ArrayList; @@ -703,7 +703,7 @@ private okhttp3.Call apiV2TransactionTransactionIdProcessPostValidateBeforeCall( * * @param transactionId Transaction id (required) * @param transactionProcessRequest (required) - * @return InlineResponse200 + * @return TransactionProcessResult * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -714,9 +714,9 @@ private okhttp3.Call apiV2TransactionTransactionIdProcessPostValidateBeforeCall( * 403 Bad license. Either server or request does not contain valid license. - * */ - public InlineResponse200 apiV2TransactionTransactionIdProcessPost( + public TransactionProcessResult apiV2TransactionTransactionIdProcessPost( UUID transactionId, TransactionProcessRequest transactionProcessRequest) throws ApiException { - ApiResponse localVarResp = + ApiResponse localVarResp = apiV2TransactionTransactionIdProcessPostWithHttpInfo( transactionId, transactionProcessRequest); return localVarResp.getData(); @@ -727,7 +727,7 @@ public InlineResponse200 apiV2TransactionTransactionIdProcessPost( * * @param transactionId Transaction id (required) * @param transactionProcessRequest (required) - * @return ApiResponse<InlineResponse200> + * @return ApiResponse<TransactionProcessResult> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -738,12 +738,12 @@ public InlineResponse200 apiV2TransactionTransactionIdProcessPost( * 403 Bad license. Either server or request does not contain valid license. - * */ - public ApiResponse apiV2TransactionTransactionIdProcessPostWithHttpInfo( + public ApiResponse apiV2TransactionTransactionIdProcessPostWithHttpInfo( UUID transactionId, TransactionProcessRequest transactionProcessRequest) throws ApiException { okhttp3.Call localVarCall = apiV2TransactionTransactionIdProcessPostValidateBeforeCall( transactionId, transactionProcessRequest, null); - Type localVarReturnType = new TypeToken() {}.getType(); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -766,13 +766,13 @@ public ApiResponse apiV2TransactionTransactionIdProcessPostWi public okhttp3.Call apiV2TransactionTransactionIdProcessPostAsync( UUID transactionId, TransactionProcessRequest transactionProcessRequest, - final ApiCallback _callback) + final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = apiV2TransactionTransactionIdProcessPostValidateBeforeCall( transactionId, transactionProcessRequest, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } @@ -858,7 +858,7 @@ private okhttp3.Call apiV2TransactionTransactionIdResultsGetValidateBeforeCall( * * @param transactionId Transaction id (required) * @param withImages With base64 images or url (optional) - * @return InlineResponse2001 + * @return TransactionProcessResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -869,9 +869,9 @@ private okhttp3.Call apiV2TransactionTransactionIdResultsGetValidateBeforeCall( * 403 Bad license. Either server or request does not contain valid license. - * */ - public InlineResponse2001 apiV2TransactionTransactionIdResultsGet( + public TransactionProcessResponse apiV2TransactionTransactionIdResultsGet( UUID transactionId, Boolean withImages) throws ApiException { - ApiResponse localVarResp = + ApiResponse localVarResp = apiV2TransactionTransactionIdResultsGetWithHttpInfo(transactionId, withImages); return localVarResp.getData(); } @@ -881,7 +881,7 @@ public InlineResponse2001 apiV2TransactionTransactionIdResultsGet( * * @param transactionId Transaction id (required) * @param withImages With base64 images or url (optional) - * @return ApiResponse<InlineResponse2001> + * @return ApiResponse<TransactionProcessResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -892,11 +892,12 @@ public InlineResponse2001 apiV2TransactionTransactionIdResultsGet( * 403 Bad license. Either server or request does not contain valid license. - * */ - public ApiResponse apiV2TransactionTransactionIdResultsGetWithHttpInfo( - UUID transactionId, Boolean withImages) throws ApiException { + public ApiResponse + apiV2TransactionTransactionIdResultsGetWithHttpInfo(UUID transactionId, Boolean withImages) + throws ApiException { okhttp3.Call localVarCall = apiV2TransactionTransactionIdResultsGetValidateBeforeCall(transactionId, withImages, null); - Type localVarReturnType = new TypeToken() {}.getType(); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -917,13 +918,15 @@ public ApiResponse apiV2TransactionTransactionIdResultsGetWi * */ public okhttp3.Call apiV2TransactionTransactionIdResultsGetAsync( - UUID transactionId, Boolean withImages, final ApiCallback _callback) + UUID transactionId, + Boolean withImages, + final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = apiV2TransactionTransactionIdResultsGetValidateBeforeCall( transactionId, withImages, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/auth/ApiKeyAuth.java b/client/src/main/generated/com/regula/documentreader/webclient/auth/ApiKeyAuth.java index 232efa5d..5e93f099 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/auth/ApiKeyAuth.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/auth/ApiKeyAuth.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/auth/Authentication.java b/client/src/main/generated/com/regula/documentreader/webclient/auth/Authentication.java index 049b2d43..2b08349c 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/auth/Authentication.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/auth/Authentication.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/auth/HttpBasicAuth.java b/client/src/main/generated/com/regula/documentreader/webclient/auth/HttpBasicAuth.java index 034725d4..a614eafc 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/auth/HttpBasicAuth.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/auth/HttpBasicAuth.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/auth/HttpBearerAuth.java b/client/src/main/generated/com/regula/documentreader/webclient/auth/HttpBearerAuth.java index 92e831ea..894d4923 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/auth/HttpBearerAuth.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/auth/HttpBearerAuth.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/AreaArray.java b/client/src/main/generated/com/regula/documentreader/webclient/model/AreaArray.java index 649b0d3f..9b1db084 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/AreaArray.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/AreaArray.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,21 +13,45 @@ package com.regula.documentreader.webclient.model; import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import java.util.Objects; /** AreaArray */ public class AreaArray { + public static final String SERIALIZED_NAME_COUNT = "Count"; + + @SerializedName(SERIALIZED_NAME_COUNT) + private BigDecimal count; + public static final String SERIALIZED_NAME_LIST = "List"; @SerializedName(SERIALIZED_NAME_LIST) - private List list = null; + private List list = new ArrayList(); public static final String SERIALIZED_NAME_POINTS = "Points"; @SerializedName(SERIALIZED_NAME_POINTS) - private List points = null; + private List points = new ArrayList(); + + public AreaArray withCount(BigDecimal count) { + this.count = count; + return this; + } + + /** + * Number of elements in List and Points + * + * @return count + */ + public BigDecimal getCount() { + return count; + } + + public void setCount(BigDecimal count) { + this.count = count; + } public AreaArray withList(List list) { this.list = list; @@ -35,9 +59,6 @@ public AreaArray withList(List list) { } public AreaArray addListItem(RectangleCoordinates listItem) { - if (this.list == null) { - this.list = new ArrayList(); - } this.list.add(listItem); return this; } @@ -47,7 +68,6 @@ public AreaArray addListItem(RectangleCoordinates listItem) { * * @return list */ - @javax.annotation.Nullable public List getList() { return list; } @@ -62,9 +82,6 @@ public AreaArray withPoints(List points) { } public AreaArray addPointsItem(PointArray pointsItem) { - if (this.points == null) { - this.points = new ArrayList(); - } this.points.add(pointsItem); return this; } @@ -74,7 +91,6 @@ public AreaArray addPointsItem(PointArray pointsItem) { * * @return points */ - @javax.annotation.Nullable public List getPoints() { return points; } @@ -92,19 +108,21 @@ public boolean equals(java.lang.Object o) { return false; } AreaArray areaArray = (AreaArray) o; - return Objects.equals(this.list, areaArray.list) + return Objects.equals(this.count, areaArray.count) + && Objects.equals(this.list, areaArray.list) && Objects.equals(this.points, areaArray.points); } @Override public int hashCode() { - return Objects.hash(list, points); + return Objects.hash(count, list, points); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AreaArray {\n"); + sb.append(" count: ").append(toIndentedString(count)).append("\n"); sb.append(" list: ").append(toIndentedString(list)).append("\n"); sb.append(" points: ").append(toIndentedString(points)).append("\n"); sb.append("}"); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/AreaContainer.java b/client/src/main/generated/com/regula/documentreader/webclient/model/AreaContainer.java index 0174a4a5..0d2a75b9 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/AreaContainer.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/AreaContainer.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,12 +27,12 @@ public class AreaContainer { public static final String SERIALIZED_NAME_LIST = "List"; @SerializedName(SERIALIZED_NAME_LIST) - private List list = null; + private List list = new ArrayList(); public static final String SERIALIZED_NAME_POINTS = "Points"; @SerializedName(SERIALIZED_NAME_POINTS) - private List points = null; + private List points = new ArrayList(); public AreaContainer withCount(Integer count) { this.count = count; @@ -44,7 +44,6 @@ public AreaContainer withCount(Integer count) { * * @return count */ - @javax.annotation.Nullable public Integer getCount() { return count; } @@ -59,9 +58,6 @@ public AreaContainer withList(List list) { } public AreaContainer addListItem(RectangleCoordinates listItem) { - if (this.list == null) { - this.list = new ArrayList(); - } this.list.add(listItem); return this; } @@ -71,7 +67,6 @@ public AreaContainer addListItem(RectangleCoordinates listItem) { * * @return list */ - @javax.annotation.Nullable public List getList() { return list; } @@ -86,9 +81,6 @@ public AreaContainer withPoints(List points) { } public AreaContainer addPointsItem(PointsContainer pointsItem) { - if (this.points == null) { - this.points = new ArrayList(); - } this.points.add(pointsItem); return this; } @@ -98,7 +90,6 @@ public AreaContainer addPointsItem(PointsContainer pointsItem) { * * @return points */ - @javax.annotation.Nullable public List getPoints() { return points; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/AuthParams.java b/client/src/main/generated/com/regula/documentreader/webclient/model/AuthParams.java index a087a5f6..ac682f7b 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/AuthParams.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/AuthParams.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/AuthenticityCheckList.java b/client/src/main/generated/com/regula/documentreader/webclient/model/AuthenticityCheckList.java index 37e34c5f..d63eca9c 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/AuthenticityCheckList.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/AuthenticityCheckList.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -39,7 +39,6 @@ public AuthenticityCheckList withCount(Integer count) { * * @return count */ - @javax.annotation.Nullable public Integer getCount() { return count; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/AuthenticityCheckResultItem.java b/client/src/main/generated/com/regula/documentreader/webclient/model/AuthenticityCheckResultItem.java index b921fdf3..456750aa 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/AuthenticityCheckResultItem.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/AuthenticityCheckResultItem.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,7 +20,7 @@ public class AuthenticityCheckResultItem { public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) - protected Integer type = 0; + private Integer type = 0; public static final String SERIALIZED_NAME_ELEMENT_RESULT = "ElementResult"; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/AuthenticityResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/AuthenticityResult.java index 9739620c..f93a2d14 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/AuthenticityResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/AuthenticityResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/AuthenticityResultType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/AuthenticityResultType.java index e023b30b..99ae6ae5 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/AuthenticityResultType.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/AuthenticityResultType.java @@ -1,82 +1,160 @@ /* * 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: 7.2.0 + * 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: 7.4.0 + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -package com.regula.documentreader.webclient.model; - -public class AuthenticityResultType { - - /** Document luminescence check in UV light */ - public static final int UV_LUMINESCENCE = 1; - - /** B900 ink MRZ contrast check in IR light */ - public static final int IR_B900 = 2; - - /** Image patterns presence/absence check (position, shape, color) */ - public static final int IMAGE_PATTERN = 4; - - /** Confirm laminate integrity check in axial light */ - public static final int AXIAL_PROTECTION = 8; - - /** Protection fibers presence check (color, density) in UV light */ - public static final int UV_FIBERS = 16; - - /** Document elements visibility check in IR light */ - public static final int IR_VISIBILITY = 32; - - /** OCR for the text field in UV light comparison with other text sources check */ - public static final int OCR_SECURITY_TEXT = 64; - - /** Invisible Personal Information (IPI) visualization */ - public static final int IPI = 128; - /** Owner's photo embedding check (is photo printed or sticked) */ - public static final int PHOTO_EMBED_TYPE = 512; - - /** OVI check. Deprecated, use Document liveness check instead */ - public static final int OVI = 1024; - - /** Hologram presence check. Deprecated */ - public static final int HOLOGRAMS = 4096; - - /** Owner's photo area advanced check (photo shape, size, position, etc.) */ - public static final int PHOTO_AREA = 8192; - - /** Portrait comparison check (document printed vs chip vs live) */ - public static final int PORTRAIT_COMPARISON = 32768; - - /** Barcode format check (code metadata, data format, contents format, etc.) */ - public static final int BARCODE_FORMAT_CHECK = 65536; - - /** Kinegram check */ - public static final int KINEGRAM = 131072; - - /** LetterScreen check */ - public static final int LETTER_SCREEN = 262144; - - /** Hologram detection and validation check */ - public static final int HOLOGRAM_DETECTION = 524288; +package com.regula.documentreader.webclient.model; - /** Fingerprint comparison check */ - public static final int FINGERPRINT_COMPARISON = 1048576; +import java.util.Objects; +import java.util.Arrays; +import io.swagger.annotations.ApiModel; +import com.google.gson.annotations.SerializedName; - /** Document liveness check */ - public static final int LIVENESS = 2097152; - /** Extended OCR Check */ - public static final int EXTENDED_OCR_CHECK = 4194304; +public class AuthenticityResultType { - /** Extended MRZ check */ - public static final int EXTENDED_MRZ_CHECK = 8388608; + /** + * No authenticity control procedure + */ + public static final int NONE = 0; + + /** + * Document luminescence check in UV light + */ + public static final int UV_LUMINESCENCE = 1; + + /** + * B900 ink MRZ contrast check in IR light + */ + public static final int IR_B900 = 2; + + /** + * Image patterns presence/absence check (position, shape, color) + */ + public static final int IMAGE_PATTERN = 4; + + /** + * Confirm laminate integrity check in axial light + */ + public static final int AXIAL_PROTECTION = 8; + + /** + * Protection fibers presence check (color, density) in UV light + */ + public static final int UV_FIBERS = 16; + + /** + * Document elements visibility check in IR light + */ + public static final int IR_VISIBILITY = 32; + + /** + * OCR for the text field in UV light comparison with other text sources check + */ + public static final int OCR_SECURITY_TEXT = 64; + + /** + * Invisible Personal Information (IPI) visualization + */ + public static final int IPI = 128; + + /** + * Document photo check in IR light + */ + public static final int IR_PHOTO = 256; + + /** + * Owner's photo embedding check (is photo printed or sticked) + */ + public static final int PHOTO_EMBED_TYPE = 512; + + /** + * OVI check. Deprecated, use Document liveness check instead + */ + public static final int OVI = 1024; + + /** + * IR luminescence check + */ + public static final int IR_LUMINESCENCE = 2048; + + /** + * Hologram presence check. Deprecated + */ + public static final int HOLOGRAMS = 4096; + + /** + * Owner's photo area advanced check (photo shape, size, position, etc.) + */ + public static final int PHOTO_AREA = 8192; + + /** + * UV background check + */ + public static final int UV_BACKGROUND = 16384; + + /** + * Portrait comparison check (document printed vs chip vs live) + */ + public static final int PORTRAIT_COMPARISON = 32768; + + /** + * Barcode format check (code metadata, data format, contents format, etc.) + */ + public static final int BARCODE_FORMAT_CHECK = 65536; + + /** + * Kinegram check + */ + public static final int KINEGRAM = 131072; + + /** + * LetterScreen check + */ + public static final int LETTER_SCREEN = 262144; + + /** + * Hologram detection and validation check + */ + public static final int HOLOGRAM_DETECTION = 524288; + + /** + * Fingerprint comparison check + */ + public static final int FINGERPRINT_COMPARISON = 1048576; + + /** + * Document liveness check + */ + public static final int LIVENESS = 2097152; + + /** + * Extended OCR Check + */ + public static final int EXTENDED_OCR_CHECK = 4194304; + + /** + * Extended MRZ check + */ + public static final int EXTENDED_MRZ_CHECK = 8388608; + + /** + * Encrypted IPI + */ + public static final int ENCRYPTED_IPI = 16777216; + + /** + * Flag for status-only authenticity + */ + public static final int STATUS_ONLY = 2147483648; - /** Encrypted IPI */ - public static final int ENCRYPTED_IPI = 16777216; } + diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/BarCodeModuleType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/BarCodeModuleType.java new file mode 100644 index 00000000..b611b681 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/BarCodeModuleType.java @@ -0,0 +1,31 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class BarCodeModuleType { + + /** Module contains text data */ + public static final int TEXT = 0; + + /** Module contains byte data */ + public static final int BYTE = 1; + + /** Module contains numeric data */ + public static final int NUM = 2; + + /** Shifts in byte compaction mode (for PDF417) */ + public static final int SHIFT = 3; + + /** Module contains any data */ + public static final int ALL = 4; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/BarcodeType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/BarcodeType.java new file mode 100644 index 00000000..4cd103b6 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/BarcodeType.java @@ -0,0 +1,81 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class BarcodeType { + + /** Unknown type */ + public static final int UNKNOWN = 0; + + /** One-dimensional bar-code, ISO 15417 (ANSI/AIM BC4-1999 Code 128) */ + public static final int CODE128 = 1; + + /** One-dimensional bar-code, ISO 16388 (ANSI/AIM BC1-1995 Code 39) */ + public static final int CODE39 = 2; + + /** One-dimensional bar-code, EAN8, ISO 15418 */ + public static final int EAN8 = 3; + + /** + * One-dimensional bar-code, Interleaved 2 of 5, ISO 16390 (ANSI/AIM BC2-1995 Interleaved 2 of 5) + */ + public static final int ITF = 4; + + /** Two-dimensional bar-code, ISO 15438 (AIM USS PDF417) */ + public static final int PDF417 = 5; + + /** One-dimensional bar-code, Standard 2 of 5 (Industrial) */ + public static final int STF = 6; + + /** One-dimensional bar-code, Matrix 2 of 5 */ + public static final int MTF = 7; + + /** One-dimensional bar-code, IATA 2 of 5 (Airline) */ + public static final int IATA = 8; + + /** One-dimensional bar-code, (ANSI/AIM BC3-1995, USS - Codabar) */ + public static final int CODABAR = 9; + + /** One-dimensional bar-code, UPC-A */ + public static final int UPCA = 10; + + /** One-dimensional bar-code, (ANSI/AIM BC5-1995, USS - Code 93) */ + public static final int CODE93 = 11; + + /** One-dimensional bar-code, UPC-E */ + public static final int UPCE = 12; + + /** One-dimensional bar-code, EAN13, ISO 15418 */ + public static final int EAN13 = 13; + + /** Two-dimensional QRCODE bar-code */ + public static final int QRCODE = 14; + + /** Two-dimensional AZTEC bar-code */ + public static final int AZTEC = 15; + + /** Two-dimensional DATAMATRIX bar-code */ + public static final int DATAMATRIX = 16; + + /** Type for internal use, representing all 1D bar-codes */ + public static final int ALL_1D = 17; + + /** One-dimensional bar-code CODE11 */ + public static final int CODE11 = 18; + + /** JAB code */ + public static final int JABCODE = 19; + + /** For internal use */ + public static final int END = 20; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/BcPDF417INFO.java b/client/src/main/generated/com/regula/documentreader/webclient/model/BcPDF417INFO.java index fcfb0c87..b8cb2fb9 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/BcPDF417INFO.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/BcPDF417INFO.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,7 +20,7 @@ public class BcPDF417INFO { public static final String SERIALIZED_NAME_ANGLE = "Angle"; @SerializedName(SERIALIZED_NAME_ANGLE) - private Float angle = null; + private Float angle; public static final String SERIALIZED_NAME_BC_COLUMN = "bcColumn"; @@ -40,12 +40,12 @@ public class BcPDF417INFO { public static final String SERIALIZED_NAME_MIN_X = "minX"; @SerializedName(SERIALIZED_NAME_MIN_X) - private Float minX = null; + private Float minX; public static final String SERIALIZED_NAME_MIN_Y = "minY"; @SerializedName(SERIALIZED_NAME_MIN_Y) - private Float minY = null; + private Float minY; public BcPDF417INFO withAngle(Float angle) { this.angle = angle; @@ -57,7 +57,6 @@ public BcPDF417INFO withAngle(Float angle) { * * @return angle */ - @javax.annotation.Nullable public Float getAngle() { return angle; } @@ -76,7 +75,6 @@ public BcPDF417INFO withBcColumn(Integer bcColumn) { * * @return bcColumn */ - @javax.annotation.Nullable public Integer getBcColumn() { return bcColumn; } @@ -95,7 +93,6 @@ public BcPDF417INFO withBcErrorLevel(Integer bcErrorLevel) { * * @return bcErrorLevel */ - @javax.annotation.Nullable public Integer getBcErrorLevel() { return bcErrorLevel; } @@ -114,7 +111,6 @@ public BcPDF417INFO withBcRow(Integer bcRow) { * * @return bcRow */ - @javax.annotation.Nullable public Integer getBcRow() { return bcRow; } @@ -133,7 +129,6 @@ public BcPDF417INFO withMinX(Float minX) { * * @return minX */ - @javax.annotation.Nullable public Float getMinX() { return minX; } @@ -152,7 +147,6 @@ public BcPDF417INFO withMinY(Float minY) { * * @return minY */ - @javax.annotation.Nullable public Float getMinY() { return minY; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/BcROIDETECT.java b/client/src/main/generated/com/regula/documentreader/webclient/model/BcROIDETECT.java index c688fdcb..5f3caab9 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/BcROIDETECT.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/BcROIDETECT.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -47,7 +47,6 @@ public BcROIDETECT withBottom(Integer bottom) { * * @return bottom */ - @javax.annotation.Nullable public Integer getBottom() { return bottom; } @@ -66,7 +65,6 @@ public BcROIDETECT withLeft(Integer left) { * * @return left */ - @javax.annotation.Nullable public Integer getLeft() { return left; } @@ -85,7 +83,6 @@ public BcROIDETECT withRight(Integer right) { * * @return right */ - @javax.annotation.Nullable public Integer getRight() { return right; } @@ -104,7 +101,6 @@ public BcROIDETECT withTop(Integer top) { * * @return top */ - @javax.annotation.Nullable public Integer getTop() { return top; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/BinaryData.java b/client/src/main/generated/com/regula/documentreader/webclient/model/BinaryData.java new file mode 100644 index 00000000..be5fbae5 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/BinaryData.java @@ -0,0 +1,2286 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** Structure is used for storing the results of one bar-code module reading. */ +public class BinaryData { + public static final String SERIALIZED_NAME_RF_I_D_AUTHENTICATION_INFO = + "RFID_Authentication_Info"; + + @SerializedName(SERIALIZED_NAME_RF_I_D_AUTHENTICATION_INFO) + private Map rfIDAuthenticationInfo = null; + + public static final String SERIALIZED_NAME_RF_I_D_M_I_F_A_R_E_DATA_VALIDITY = + "RFID_MIFARE_Data_Validity"; + + @SerializedName(SERIALIZED_NAME_RF_I_D_M_I_F_A_R_E_DATA_VALIDITY) + private Map rfIDMIFAREDataValidity = null; + + public static final String SERIALIZED_NAME_RF_I_D_M_I_F_A_R_E_DATA = "RFID_MIFARE_Data"; + + @SerializedName(SERIALIZED_NAME_RF_I_D_M_I_F_A_R_E_DATA) + private Map rfIDMIFAREData = null; + + public static final String SERIALIZED_NAME_R_F_I_D_E_F_C_O_M = "RFID_EF_COM"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_E_F_C_O_M) + private Map RFID_EF_COM = null; + + public static final String SERIALIZED_NAME_R_F_I_D_D_G1 = "RFID_DG1"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_D_G1) + private RfidDG1 RFID_DG1; + + public static final String SERIALIZED_NAME_R_F_I_D_D_G2 = "RFID_DG2"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_D_G2) + private Map RFID_DG2 = null; + + public static final String SERIALIZED_NAME_R_F_I_D_D_G3 = "RFID_DG3"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_D_G3) + private Map RFID_DG3 = null; + + public static final String SERIALIZED_NAME_R_F_I_D_D_G4 = "RFID_DG4"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_D_G4) + private Map RFID_DG4 = null; + + public static final String SERIALIZED_NAME_R_F_I_D_D_G5 = "RFID_DG5"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_D_G5) + private Map RFID_DG5 = null; + + public static final String SERIALIZED_NAME_R_F_I_D_D_G6 = "RFID_DG6"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_D_G6) + private Map RFID_DG6 = null; + + public static final String SERIALIZED_NAME_R_F_I_D_D_G7 = "RFID_DG7"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_D_G7) + private Map RFID_DG7 = null; + + public static final String SERIALIZED_NAME_R_F_I_D_D_G8 = "RFID_DG8"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_D_G8) + private Map RFID_DG8 = null; + + public static final String SERIALIZED_NAME_R_F_I_D_D_G9 = "RFID_DG9"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_D_G9) + private Map RFID_DG9 = null; + + public static final String SERIALIZED_NAME_R_F_I_D_D_G10 = "RFID_DG10"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_D_G10) + private Map RFID_DG10 = null; + + public static final String SERIALIZED_NAME_R_F_I_D_D_G11 = "RFID_DG11"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_D_G11) + private Map RFID_DG11 = null; + + public static final String SERIALIZED_NAME_R_F_I_D_D_G12 = "RFID_DG12"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_D_G12) + private Map RFID_DG12 = null; + + public static final String SERIALIZED_NAME_R_F_I_D_D_G13 = "RFID_DG13"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_D_G13) + private Map RFID_DG13 = null; + + public static final String SERIALIZED_NAME_R_F_I_D_D_G14 = "RFID_DG14"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_D_G14) + private Map RFID_DG14 = null; + + public static final String SERIALIZED_NAME_R_F_I_D_D_G15 = "RFID_DG15"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_D_G15) + private Map RFID_DG15 = null; + + public static final String SERIALIZED_NAME_R_F_I_D_D_G16 = "RFID_DG16"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_D_G16) + private Map RFID_DG16 = null; + + public static final String SERIALIZED_NAME_R_F_I_D_E_F_S_O_D = "RFID_EF_SOD"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_E_F_S_O_D) + private Map RFID_EF_SOD = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G1 = "eID_DG1"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G1) + private Map eIDDG1 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G2 = "eID_DG2"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G2) + private Map eIDDG2 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G3 = "eID_DG3"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G3) + private Map eIDDG3 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G4 = "eID_DG4"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G4) + private Map eIDDG4 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G5 = "eID_DG5"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G5) + private Map eIDDG5 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G6 = "eID_DG6"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G6) + private Map eIDDG6 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G7 = "eID_DG7"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G7) + private Map eIDDG7 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G8 = "eID_DG8"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G8) + private Map eIDDG8 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G9 = "eID_DG9"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G9) + private Map eIDDG9 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G10 = "eID_DG10"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G10) + private Map eIDDG10 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G11 = "eID_DG11"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G11) + private Map eIDDG11 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G12 = "eID_DG12"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G12) + private Map eIDDG12 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G13 = "eID_DG13"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G13) + private Map eIDDG13 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G14 = "eID_DG14"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G14) + private Map eIDDG14 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G15 = "eID_DG15"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G15) + private Map eIDDG15 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G16 = "eID_DG16"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G16) + private Map eIDDG16 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G17 = "eID_DG17"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G17) + private Map eIDDG17 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G18 = "eID_DG18"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G18) + private Map eIDDG18 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G19 = "eID_DG19"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G19) + private Map eIDDG19 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G20 = "eID_DG20"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G20) + private Map eIDDG20 = null; + + public static final String SERIALIZED_NAME_E_I_D_D_G21 = "eID_DG21"; + + @SerializedName(SERIALIZED_NAME_E_I_D_D_G21) + private Map eIDDG21 = null; + + public static final String SERIALIZED_NAME_E_D_L_C_O_M = "eDL_COM"; + + @SerializedName(SERIALIZED_NAME_E_D_L_C_O_M) + private Map eDLCOM = null; + + public static final String SERIALIZED_NAME_E_D_L_S_O_D = "eDL_SOD"; + + @SerializedName(SERIALIZED_NAME_E_D_L_S_O_D) + private Map eDLSOD = null; + + public static final String SERIALIZED_NAME_E_D_L_D_G1 = "eDL_DG1"; + + @SerializedName(SERIALIZED_NAME_E_D_L_D_G1) + private Map eDLDG1 = null; + + public static final String SERIALIZED_NAME_E_D_L_D_G2 = "eDL_DG2"; + + @SerializedName(SERIALIZED_NAME_E_D_L_D_G2) + private Map eDLDG2 = null; + + public static final String SERIALIZED_NAME_E_D_L_D_G3 = "eDL_DG3"; + + @SerializedName(SERIALIZED_NAME_E_D_L_D_G3) + private Map eDLDG3 = null; + + public static final String SERIALIZED_NAME_E_D_L_D_G4 = "eDL_DG4"; + + @SerializedName(SERIALIZED_NAME_E_D_L_D_G4) + private Map eDLDG4 = null; + + public static final String SERIALIZED_NAME_E_D_L_D_G5 = "eDL_DG5"; + + @SerializedName(SERIALIZED_NAME_E_D_L_D_G5) + private Map eDLDG5 = null; + + public static final String SERIALIZED_NAME_E_D_L_D_G6 = "eDL_DG6"; + + @SerializedName(SERIALIZED_NAME_E_D_L_D_G6) + private Map eDLDG6 = null; + + public static final String SERIALIZED_NAME_E_D_L_D_G7 = "eDL_DG7"; + + @SerializedName(SERIALIZED_NAME_E_D_L_D_G7) + private Map eDLDG7 = null; + + public static final String SERIALIZED_NAME_E_D_L_D_G8 = "eDL_DG8"; + + @SerializedName(SERIALIZED_NAME_E_D_L_D_G8) + private Map eDLDG8 = null; + + public static final String SERIALIZED_NAME_E_D_L_D_G9 = "eDL_DG9"; + + @SerializedName(SERIALIZED_NAME_E_D_L_D_G9) + private Map eDLDG9 = null; + + public static final String SERIALIZED_NAME_E_D_L_D_G10 = "eDL_DG10"; + + @SerializedName(SERIALIZED_NAME_E_D_L_D_G10) + private Map eDLDG10 = null; + + public static final String SERIALIZED_NAME_E_D_L_D_G11 = "eDL_DG11"; + + @SerializedName(SERIALIZED_NAME_E_D_L_D_G11) + private Map eDLDG11 = null; + + public static final String SERIALIZED_NAME_E_D_L_D_G12 = "eDL_DG12"; + + @SerializedName(SERIALIZED_NAME_E_D_L_D_G12) + private Map eDLDG12 = null; + + public static final String SERIALIZED_NAME_E_D_L_D_G13 = "eDL_DG13"; + + @SerializedName(SERIALIZED_NAME_E_D_L_D_G13) + private Map eDLDG13 = null; + + public static final String SERIALIZED_NAME_E_D_L_D_G14 = "eDL_DG14"; + + @SerializedName(SERIALIZED_NAME_E_D_L_D_G14) + private Map eDLDG14 = null; + + public static final String SERIALIZED_NAME_VISIBLE_DIGITAL_SEAL = "Visible_Digital_Seal"; + + @SerializedName(SERIALIZED_NAME_VISIBLE_DIGITAL_SEAL) + private Map visibleDigitalSeal = null; + + public static final String SERIALIZED_NAME_VISIBLE_DIGITAL_SEAL_N_C = "Visible_Digital_Seal_NC"; + + @SerializedName(SERIALIZED_NAME_VISIBLE_DIGITAL_SEAL_N_C) + private Map visibleDigitalSealNC = null; + + public static final String SERIALIZED_NAME_DIGITAL_SIGNATURE = "Digital_Signature"; + + @SerializedName(SERIALIZED_NAME_DIGITAL_SIGNATURE) + private Map digitalSignature = null; + + public static final String SERIALIZED_NAME_RF_I_D_SESSION_DATA = "RFID_Session_Data"; + + @SerializedName(SERIALIZED_NAME_RF_I_D_SESSION_DATA) + private RfidSessionData rfIDSessionData; + + public static final String SERIALIZED_NAME_RF_I_D_SESSION_DATA_STATUS = + "RFID_Session_Data_Status"; + + @SerializedName(SERIALIZED_NAME_RF_I_D_SESSION_DATA_STATUS) + private DetailsRFID rfIDSessionDataStatus; + + public static final String SERIALIZED_NAME_RF_I_D_E_PASSP_DIRECTORY = "RFID_ePassp_Directory"; + + @SerializedName(SERIALIZED_NAME_RF_I_D_E_PASSP_DIRECTORY) + private List rfIDEPasspDirectory = null; + + public BinaryData withRfIDAuthenticationInfo(Map rfIDAuthenticationInfo) { + this.rfIDAuthenticationInfo = rfIDAuthenticationInfo; + return this; + } + + public BinaryData putRfIDAuthenticationInfoItem(String key, Object rfIDAuthenticationInfoItem) { + if (this.rfIDAuthenticationInfo == null) { + this.rfIDAuthenticationInfo = new HashMap(); + } + this.rfIDAuthenticationInfo.put(key, rfIDAuthenticationInfoItem); + return this; + } + + /** + * Get rfIDAuthenticationInfo + * + * @return rfIDAuthenticationInfo + */ + @javax.annotation.Nullable + public Map getRfIDAuthenticationInfo() { + return rfIDAuthenticationInfo; + } + + public void setRfIDAuthenticationInfo(Map rfIDAuthenticationInfo) { + this.rfIDAuthenticationInfo = rfIDAuthenticationInfo; + } + + public BinaryData withRfIDMIFAREDataValidity(Map rfIDMIFAREDataValidity) { + this.rfIDMIFAREDataValidity = rfIDMIFAREDataValidity; + return this; + } + + public BinaryData putRfIDMIFAREDataValidityItem(String key, Object rfIDMIFAREDataValidityItem) { + if (this.rfIDMIFAREDataValidity == null) { + this.rfIDMIFAREDataValidity = new HashMap(); + } + this.rfIDMIFAREDataValidity.put(key, rfIDMIFAREDataValidityItem); + return this; + } + + /** + * Get rfIDMIFAREDataValidity + * + * @return rfIDMIFAREDataValidity + */ + @javax.annotation.Nullable + public Map getRfIDMIFAREDataValidity() { + return rfIDMIFAREDataValidity; + } + + public void setRfIDMIFAREDataValidity(Map rfIDMIFAREDataValidity) { + this.rfIDMIFAREDataValidity = rfIDMIFAREDataValidity; + } + + public BinaryData withRfIDMIFAREData(Map rfIDMIFAREData) { + this.rfIDMIFAREData = rfIDMIFAREData; + return this; + } + + public BinaryData putRfIDMIFAREDataItem(String key, Object rfIDMIFAREDataItem) { + if (this.rfIDMIFAREData == null) { + this.rfIDMIFAREData = new HashMap(); + } + this.rfIDMIFAREData.put(key, rfIDMIFAREDataItem); + return this; + } + + /** + * Get rfIDMIFAREData + * + * @return rfIDMIFAREData + */ + @javax.annotation.Nullable + public Map getRfIDMIFAREData() { + return rfIDMIFAREData; + } + + public void setRfIDMIFAREData(Map rfIDMIFAREData) { + this.rfIDMIFAREData = rfIDMIFAREData; + } + + public BinaryData withRFIDEFCOM(Map RFID_EF_COM) { + this.RFID_EF_COM = RFID_EF_COM; + return this; + } + + public BinaryData putRFIDEFCOMItem(String key, Object RFID_EF_COMItem) { + if (this.RFID_EF_COM == null) { + this.RFID_EF_COM = new HashMap(); + } + this.RFID_EF_COM.put(key, RFID_EF_COMItem); + return this; + } + + /** + * Get RFID_EF_COM + * + * @return RFID_EF_COM + */ + @javax.annotation.Nullable + public Map getRFIDEFCOM() { + return RFID_EF_COM; + } + + public void setRFIDEFCOM(Map RFID_EF_COM) { + this.RFID_EF_COM = RFID_EF_COM; + } + + public BinaryData withRFIDDG1(RfidDG1 RFID_DG1) { + this.RFID_DG1 = RFID_DG1; + return this; + } + + /** + * Get RFID_DG1 + * + * @return RFID_DG1 + */ + @javax.annotation.Nullable + public RfidDG1 getRFIDDG1() { + return RFID_DG1; + } + + public void setRFIDDG1(RfidDG1 RFID_DG1) { + this.RFID_DG1 = RFID_DG1; + } + + public BinaryData withRFIDDG2(Map RFID_DG2) { + this.RFID_DG2 = RFID_DG2; + return this; + } + + public BinaryData putRFIDDG2Item(String key, Object RFID_DG2Item) { + if (this.RFID_DG2 == null) { + this.RFID_DG2 = new HashMap(); + } + this.RFID_DG2.put(key, RFID_DG2Item); + return this; + } + + /** + * Get RFID_DG2 + * + * @return RFID_DG2 + */ + @javax.annotation.Nullable + public Map getRFIDDG2() { + return RFID_DG2; + } + + public void setRFIDDG2(Map RFID_DG2) { + this.RFID_DG2 = RFID_DG2; + } + + public BinaryData withRFIDDG3(Map RFID_DG3) { + this.RFID_DG3 = RFID_DG3; + return this; + } + + public BinaryData putRFIDDG3Item(String key, Object RFID_DG3Item) { + if (this.RFID_DG3 == null) { + this.RFID_DG3 = new HashMap(); + } + this.RFID_DG3.put(key, RFID_DG3Item); + return this; + } + + /** + * Get RFID_DG3 + * + * @return RFID_DG3 + */ + @javax.annotation.Nullable + public Map getRFIDDG3() { + return RFID_DG3; + } + + public void setRFIDDG3(Map RFID_DG3) { + this.RFID_DG3 = RFID_DG3; + } + + public BinaryData withRFIDDG4(Map RFID_DG4) { + this.RFID_DG4 = RFID_DG4; + return this; + } + + public BinaryData putRFIDDG4Item(String key, Object RFID_DG4Item) { + if (this.RFID_DG4 == null) { + this.RFID_DG4 = new HashMap(); + } + this.RFID_DG4.put(key, RFID_DG4Item); + return this; + } + + /** + * Get RFID_DG4 + * + * @return RFID_DG4 + */ + @javax.annotation.Nullable + public Map getRFIDDG4() { + return RFID_DG4; + } + + public void setRFIDDG4(Map RFID_DG4) { + this.RFID_DG4 = RFID_DG4; + } + + public BinaryData withRFIDDG5(Map RFID_DG5) { + this.RFID_DG5 = RFID_DG5; + return this; + } + + public BinaryData putRFIDDG5Item(String key, Object RFID_DG5Item) { + if (this.RFID_DG5 == null) { + this.RFID_DG5 = new HashMap(); + } + this.RFID_DG5.put(key, RFID_DG5Item); + return this; + } + + /** + * Get RFID_DG5 + * + * @return RFID_DG5 + */ + @javax.annotation.Nullable + public Map getRFIDDG5() { + return RFID_DG5; + } + + public void setRFIDDG5(Map RFID_DG5) { + this.RFID_DG5 = RFID_DG5; + } + + public BinaryData withRFIDDG6(Map RFID_DG6) { + this.RFID_DG6 = RFID_DG6; + return this; + } + + public BinaryData putRFIDDG6Item(String key, Object RFID_DG6Item) { + if (this.RFID_DG6 == null) { + this.RFID_DG6 = new HashMap(); + } + this.RFID_DG6.put(key, RFID_DG6Item); + return this; + } + + /** + * Get RFID_DG6 + * + * @return RFID_DG6 + */ + @javax.annotation.Nullable + public Map getRFIDDG6() { + return RFID_DG6; + } + + public void setRFIDDG6(Map RFID_DG6) { + this.RFID_DG6 = RFID_DG6; + } + + public BinaryData withRFIDDG7(Map RFID_DG7) { + this.RFID_DG7 = RFID_DG7; + return this; + } + + public BinaryData putRFIDDG7Item(String key, Object RFID_DG7Item) { + if (this.RFID_DG7 == null) { + this.RFID_DG7 = new HashMap(); + } + this.RFID_DG7.put(key, RFID_DG7Item); + return this; + } + + /** + * Get RFID_DG7 + * + * @return RFID_DG7 + */ + @javax.annotation.Nullable + public Map getRFIDDG7() { + return RFID_DG7; + } + + public void setRFIDDG7(Map RFID_DG7) { + this.RFID_DG7 = RFID_DG7; + } + + public BinaryData withRFIDDG8(Map RFID_DG8) { + this.RFID_DG8 = RFID_DG8; + return this; + } + + public BinaryData putRFIDDG8Item(String key, Object RFID_DG8Item) { + if (this.RFID_DG8 == null) { + this.RFID_DG8 = new HashMap(); + } + this.RFID_DG8.put(key, RFID_DG8Item); + return this; + } + + /** + * Get RFID_DG8 + * + * @return RFID_DG8 + */ + @javax.annotation.Nullable + public Map getRFIDDG8() { + return RFID_DG8; + } + + public void setRFIDDG8(Map RFID_DG8) { + this.RFID_DG8 = RFID_DG8; + } + + public BinaryData withRFIDDG9(Map RFID_DG9) { + this.RFID_DG9 = RFID_DG9; + return this; + } + + public BinaryData putRFIDDG9Item(String key, Object RFID_DG9Item) { + if (this.RFID_DG9 == null) { + this.RFID_DG9 = new HashMap(); + } + this.RFID_DG9.put(key, RFID_DG9Item); + return this; + } + + /** + * Get RFID_DG9 + * + * @return RFID_DG9 + */ + @javax.annotation.Nullable + public Map getRFIDDG9() { + return RFID_DG9; + } + + public void setRFIDDG9(Map RFID_DG9) { + this.RFID_DG9 = RFID_DG9; + } + + public BinaryData withRFIDDG10(Map RFID_DG10) { + this.RFID_DG10 = RFID_DG10; + return this; + } + + public BinaryData putRFIDDG10Item(String key, Object RFID_DG10Item) { + if (this.RFID_DG10 == null) { + this.RFID_DG10 = new HashMap(); + } + this.RFID_DG10.put(key, RFID_DG10Item); + return this; + } + + /** + * Get RFID_DG10 + * + * @return RFID_DG10 + */ + @javax.annotation.Nullable + public Map getRFIDDG10() { + return RFID_DG10; + } + + public void setRFIDDG10(Map RFID_DG10) { + this.RFID_DG10 = RFID_DG10; + } + + public BinaryData withRFIDDG11(Map RFID_DG11) { + this.RFID_DG11 = RFID_DG11; + return this; + } + + public BinaryData putRFIDDG11Item(String key, Object RFID_DG11Item) { + if (this.RFID_DG11 == null) { + this.RFID_DG11 = new HashMap(); + } + this.RFID_DG11.put(key, RFID_DG11Item); + return this; + } + + /** + * Get RFID_DG11 + * + * @return RFID_DG11 + */ + @javax.annotation.Nullable + public Map getRFIDDG11() { + return RFID_DG11; + } + + public void setRFIDDG11(Map RFID_DG11) { + this.RFID_DG11 = RFID_DG11; + } + + public BinaryData withRFIDDG12(Map RFID_DG12) { + this.RFID_DG12 = RFID_DG12; + return this; + } + + public BinaryData putRFIDDG12Item(String key, Object RFID_DG12Item) { + if (this.RFID_DG12 == null) { + this.RFID_DG12 = new HashMap(); + } + this.RFID_DG12.put(key, RFID_DG12Item); + return this; + } + + /** + * Get RFID_DG12 + * + * @return RFID_DG12 + */ + @javax.annotation.Nullable + public Map getRFIDDG12() { + return RFID_DG12; + } + + public void setRFIDDG12(Map RFID_DG12) { + this.RFID_DG12 = RFID_DG12; + } + + public BinaryData withRFIDDG13(Map RFID_DG13) { + this.RFID_DG13 = RFID_DG13; + return this; + } + + public BinaryData putRFIDDG13Item(String key, Object RFID_DG13Item) { + if (this.RFID_DG13 == null) { + this.RFID_DG13 = new HashMap(); + } + this.RFID_DG13.put(key, RFID_DG13Item); + return this; + } + + /** + * Get RFID_DG13 + * + * @return RFID_DG13 + */ + @javax.annotation.Nullable + public Map getRFIDDG13() { + return RFID_DG13; + } + + public void setRFIDDG13(Map RFID_DG13) { + this.RFID_DG13 = RFID_DG13; + } + + public BinaryData withRFIDDG14(Map RFID_DG14) { + this.RFID_DG14 = RFID_DG14; + return this; + } + + public BinaryData putRFIDDG14Item(String key, Object RFID_DG14Item) { + if (this.RFID_DG14 == null) { + this.RFID_DG14 = new HashMap(); + } + this.RFID_DG14.put(key, RFID_DG14Item); + return this; + } + + /** + * Get RFID_DG14 + * + * @return RFID_DG14 + */ + @javax.annotation.Nullable + public Map getRFIDDG14() { + return RFID_DG14; + } + + public void setRFIDDG14(Map RFID_DG14) { + this.RFID_DG14 = RFID_DG14; + } + + public BinaryData withRFIDDG15(Map RFID_DG15) { + this.RFID_DG15 = RFID_DG15; + return this; + } + + public BinaryData putRFIDDG15Item(String key, Object RFID_DG15Item) { + if (this.RFID_DG15 == null) { + this.RFID_DG15 = new HashMap(); + } + this.RFID_DG15.put(key, RFID_DG15Item); + return this; + } + + /** + * Get RFID_DG15 + * + * @return RFID_DG15 + */ + @javax.annotation.Nullable + public Map getRFIDDG15() { + return RFID_DG15; + } + + public void setRFIDDG15(Map RFID_DG15) { + this.RFID_DG15 = RFID_DG15; + } + + public BinaryData withRFIDDG16(Map RFID_DG16) { + this.RFID_DG16 = RFID_DG16; + return this; + } + + public BinaryData putRFIDDG16Item(String key, Object RFID_DG16Item) { + if (this.RFID_DG16 == null) { + this.RFID_DG16 = new HashMap(); + } + this.RFID_DG16.put(key, RFID_DG16Item); + return this; + } + + /** + * Get RFID_DG16 + * + * @return RFID_DG16 + */ + @javax.annotation.Nullable + public Map getRFIDDG16() { + return RFID_DG16; + } + + public void setRFIDDG16(Map RFID_DG16) { + this.RFID_DG16 = RFID_DG16; + } + + public BinaryData withRFIDEFSOD(Map RFID_EF_SOD) { + this.RFID_EF_SOD = RFID_EF_SOD; + return this; + } + + public BinaryData putRFIDEFSODItem(String key, Object RFID_EF_SODItem) { + if (this.RFID_EF_SOD == null) { + this.RFID_EF_SOD = new HashMap(); + } + this.RFID_EF_SOD.put(key, RFID_EF_SODItem); + return this; + } + + /** + * Get RFID_EF_SOD + * + * @return RFID_EF_SOD + */ + @javax.annotation.Nullable + public Map getRFIDEFSOD() { + return RFID_EF_SOD; + } + + public void setRFIDEFSOD(Map RFID_EF_SOD) { + this.RFID_EF_SOD = RFID_EF_SOD; + } + + public BinaryData withEIDDG1(Map eIDDG1) { + this.eIDDG1 = eIDDG1; + return this; + } + + public BinaryData putEIDDG1Item(String key, Object eIDDG1Item) { + if (this.eIDDG1 == null) { + this.eIDDG1 = new HashMap(); + } + this.eIDDG1.put(key, eIDDG1Item); + return this; + } + + /** + * Get eIDDG1 + * + * @return eIDDG1 + */ + @javax.annotation.Nullable + public Map geteIDDG1() { + return eIDDG1; + } + + public void seteIDDG1(Map eIDDG1) { + this.eIDDG1 = eIDDG1; + } + + public BinaryData withEIDDG2(Map eIDDG2) { + this.eIDDG2 = eIDDG2; + return this; + } + + public BinaryData putEIDDG2Item(String key, Object eIDDG2Item) { + if (this.eIDDG2 == null) { + this.eIDDG2 = new HashMap(); + } + this.eIDDG2.put(key, eIDDG2Item); + return this; + } + + /** + * Get eIDDG2 + * + * @return eIDDG2 + */ + @javax.annotation.Nullable + public Map geteIDDG2() { + return eIDDG2; + } + + public void seteIDDG2(Map eIDDG2) { + this.eIDDG2 = eIDDG2; + } + + public BinaryData withEIDDG3(Map eIDDG3) { + this.eIDDG3 = eIDDG3; + return this; + } + + public BinaryData putEIDDG3Item(String key, Object eIDDG3Item) { + if (this.eIDDG3 == null) { + this.eIDDG3 = new HashMap(); + } + this.eIDDG3.put(key, eIDDG3Item); + return this; + } + + /** + * Get eIDDG3 + * + * @return eIDDG3 + */ + @javax.annotation.Nullable + public Map geteIDDG3() { + return eIDDG3; + } + + public void seteIDDG3(Map eIDDG3) { + this.eIDDG3 = eIDDG3; + } + + public BinaryData withEIDDG4(Map eIDDG4) { + this.eIDDG4 = eIDDG4; + return this; + } + + public BinaryData putEIDDG4Item(String key, Object eIDDG4Item) { + if (this.eIDDG4 == null) { + this.eIDDG4 = new HashMap(); + } + this.eIDDG4.put(key, eIDDG4Item); + return this; + } + + /** + * Get eIDDG4 + * + * @return eIDDG4 + */ + @javax.annotation.Nullable + public Map geteIDDG4() { + return eIDDG4; + } + + public void seteIDDG4(Map eIDDG4) { + this.eIDDG4 = eIDDG4; + } + + public BinaryData withEIDDG5(Map eIDDG5) { + this.eIDDG5 = eIDDG5; + return this; + } + + public BinaryData putEIDDG5Item(String key, Object eIDDG5Item) { + if (this.eIDDG5 == null) { + this.eIDDG5 = new HashMap(); + } + this.eIDDG5.put(key, eIDDG5Item); + return this; + } + + /** + * Get eIDDG5 + * + * @return eIDDG5 + */ + @javax.annotation.Nullable + public Map geteIDDG5() { + return eIDDG5; + } + + public void seteIDDG5(Map eIDDG5) { + this.eIDDG5 = eIDDG5; + } + + public BinaryData withEIDDG6(Map eIDDG6) { + this.eIDDG6 = eIDDG6; + return this; + } + + public BinaryData putEIDDG6Item(String key, Object eIDDG6Item) { + if (this.eIDDG6 == null) { + this.eIDDG6 = new HashMap(); + } + this.eIDDG6.put(key, eIDDG6Item); + return this; + } + + /** + * Get eIDDG6 + * + * @return eIDDG6 + */ + @javax.annotation.Nullable + public Map geteIDDG6() { + return eIDDG6; + } + + public void seteIDDG6(Map eIDDG6) { + this.eIDDG6 = eIDDG6; + } + + public BinaryData withEIDDG7(Map eIDDG7) { + this.eIDDG7 = eIDDG7; + return this; + } + + public BinaryData putEIDDG7Item(String key, Object eIDDG7Item) { + if (this.eIDDG7 == null) { + this.eIDDG7 = new HashMap(); + } + this.eIDDG7.put(key, eIDDG7Item); + return this; + } + + /** + * Get eIDDG7 + * + * @return eIDDG7 + */ + @javax.annotation.Nullable + public Map geteIDDG7() { + return eIDDG7; + } + + public void seteIDDG7(Map eIDDG7) { + this.eIDDG7 = eIDDG7; + } + + public BinaryData withEIDDG8(Map eIDDG8) { + this.eIDDG8 = eIDDG8; + return this; + } + + public BinaryData putEIDDG8Item(String key, Object eIDDG8Item) { + if (this.eIDDG8 == null) { + this.eIDDG8 = new HashMap(); + } + this.eIDDG8.put(key, eIDDG8Item); + return this; + } + + /** + * Get eIDDG8 + * + * @return eIDDG8 + */ + @javax.annotation.Nullable + public Map geteIDDG8() { + return eIDDG8; + } + + public void seteIDDG8(Map eIDDG8) { + this.eIDDG8 = eIDDG8; + } + + public BinaryData withEIDDG9(Map eIDDG9) { + this.eIDDG9 = eIDDG9; + return this; + } + + public BinaryData putEIDDG9Item(String key, Object eIDDG9Item) { + if (this.eIDDG9 == null) { + this.eIDDG9 = new HashMap(); + } + this.eIDDG9.put(key, eIDDG9Item); + return this; + } + + /** + * Get eIDDG9 + * + * @return eIDDG9 + */ + @javax.annotation.Nullable + public Map geteIDDG9() { + return eIDDG9; + } + + public void seteIDDG9(Map eIDDG9) { + this.eIDDG9 = eIDDG9; + } + + public BinaryData withEIDDG10(Map eIDDG10) { + this.eIDDG10 = eIDDG10; + return this; + } + + public BinaryData putEIDDG10Item(String key, Object eIDDG10Item) { + if (this.eIDDG10 == null) { + this.eIDDG10 = new HashMap(); + } + this.eIDDG10.put(key, eIDDG10Item); + return this; + } + + /** + * Get eIDDG10 + * + * @return eIDDG10 + */ + @javax.annotation.Nullable + public Map geteIDDG10() { + return eIDDG10; + } + + public void seteIDDG10(Map eIDDG10) { + this.eIDDG10 = eIDDG10; + } + + public BinaryData withEIDDG11(Map eIDDG11) { + this.eIDDG11 = eIDDG11; + return this; + } + + public BinaryData putEIDDG11Item(String key, Object eIDDG11Item) { + if (this.eIDDG11 == null) { + this.eIDDG11 = new HashMap(); + } + this.eIDDG11.put(key, eIDDG11Item); + return this; + } + + /** + * Get eIDDG11 + * + * @return eIDDG11 + */ + @javax.annotation.Nullable + public Map geteIDDG11() { + return eIDDG11; + } + + public void seteIDDG11(Map eIDDG11) { + this.eIDDG11 = eIDDG11; + } + + public BinaryData withEIDDG12(Map eIDDG12) { + this.eIDDG12 = eIDDG12; + return this; + } + + public BinaryData putEIDDG12Item(String key, Object eIDDG12Item) { + if (this.eIDDG12 == null) { + this.eIDDG12 = new HashMap(); + } + this.eIDDG12.put(key, eIDDG12Item); + return this; + } + + /** + * Get eIDDG12 + * + * @return eIDDG12 + */ + @javax.annotation.Nullable + public Map geteIDDG12() { + return eIDDG12; + } + + public void seteIDDG12(Map eIDDG12) { + this.eIDDG12 = eIDDG12; + } + + public BinaryData withEIDDG13(Map eIDDG13) { + this.eIDDG13 = eIDDG13; + return this; + } + + public BinaryData putEIDDG13Item(String key, Object eIDDG13Item) { + if (this.eIDDG13 == null) { + this.eIDDG13 = new HashMap(); + } + this.eIDDG13.put(key, eIDDG13Item); + return this; + } + + /** + * Get eIDDG13 + * + * @return eIDDG13 + */ + @javax.annotation.Nullable + public Map geteIDDG13() { + return eIDDG13; + } + + public void seteIDDG13(Map eIDDG13) { + this.eIDDG13 = eIDDG13; + } + + public BinaryData withEIDDG14(Map eIDDG14) { + this.eIDDG14 = eIDDG14; + return this; + } + + public BinaryData putEIDDG14Item(String key, Object eIDDG14Item) { + if (this.eIDDG14 == null) { + this.eIDDG14 = new HashMap(); + } + this.eIDDG14.put(key, eIDDG14Item); + return this; + } + + /** + * Get eIDDG14 + * + * @return eIDDG14 + */ + @javax.annotation.Nullable + public Map geteIDDG14() { + return eIDDG14; + } + + public void seteIDDG14(Map eIDDG14) { + this.eIDDG14 = eIDDG14; + } + + public BinaryData withEIDDG15(Map eIDDG15) { + this.eIDDG15 = eIDDG15; + return this; + } + + public BinaryData putEIDDG15Item(String key, Object eIDDG15Item) { + if (this.eIDDG15 == null) { + this.eIDDG15 = new HashMap(); + } + this.eIDDG15.put(key, eIDDG15Item); + return this; + } + + /** + * Get eIDDG15 + * + * @return eIDDG15 + */ + @javax.annotation.Nullable + public Map geteIDDG15() { + return eIDDG15; + } + + public void seteIDDG15(Map eIDDG15) { + this.eIDDG15 = eIDDG15; + } + + public BinaryData withEIDDG16(Map eIDDG16) { + this.eIDDG16 = eIDDG16; + return this; + } + + public BinaryData putEIDDG16Item(String key, Object eIDDG16Item) { + if (this.eIDDG16 == null) { + this.eIDDG16 = new HashMap(); + } + this.eIDDG16.put(key, eIDDG16Item); + return this; + } + + /** + * Get eIDDG16 + * + * @return eIDDG16 + */ + @javax.annotation.Nullable + public Map geteIDDG16() { + return eIDDG16; + } + + public void seteIDDG16(Map eIDDG16) { + this.eIDDG16 = eIDDG16; + } + + public BinaryData withEIDDG17(Map eIDDG17) { + this.eIDDG17 = eIDDG17; + return this; + } + + public BinaryData putEIDDG17Item(String key, Object eIDDG17Item) { + if (this.eIDDG17 == null) { + this.eIDDG17 = new HashMap(); + } + this.eIDDG17.put(key, eIDDG17Item); + return this; + } + + /** + * Get eIDDG17 + * + * @return eIDDG17 + */ + @javax.annotation.Nullable + public Map geteIDDG17() { + return eIDDG17; + } + + public void seteIDDG17(Map eIDDG17) { + this.eIDDG17 = eIDDG17; + } + + public BinaryData withEIDDG18(Map eIDDG18) { + this.eIDDG18 = eIDDG18; + return this; + } + + public BinaryData putEIDDG18Item(String key, Object eIDDG18Item) { + if (this.eIDDG18 == null) { + this.eIDDG18 = new HashMap(); + } + this.eIDDG18.put(key, eIDDG18Item); + return this; + } + + /** + * Get eIDDG18 + * + * @return eIDDG18 + */ + @javax.annotation.Nullable + public Map geteIDDG18() { + return eIDDG18; + } + + public void seteIDDG18(Map eIDDG18) { + this.eIDDG18 = eIDDG18; + } + + public BinaryData withEIDDG19(Map eIDDG19) { + this.eIDDG19 = eIDDG19; + return this; + } + + public BinaryData putEIDDG19Item(String key, Object eIDDG19Item) { + if (this.eIDDG19 == null) { + this.eIDDG19 = new HashMap(); + } + this.eIDDG19.put(key, eIDDG19Item); + return this; + } + + /** + * Get eIDDG19 + * + * @return eIDDG19 + */ + @javax.annotation.Nullable + public Map geteIDDG19() { + return eIDDG19; + } + + public void seteIDDG19(Map eIDDG19) { + this.eIDDG19 = eIDDG19; + } + + public BinaryData withEIDDG20(Map eIDDG20) { + this.eIDDG20 = eIDDG20; + return this; + } + + public BinaryData putEIDDG20Item(String key, Object eIDDG20Item) { + if (this.eIDDG20 == null) { + this.eIDDG20 = new HashMap(); + } + this.eIDDG20.put(key, eIDDG20Item); + return this; + } + + /** + * Get eIDDG20 + * + * @return eIDDG20 + */ + @javax.annotation.Nullable + public Map geteIDDG20() { + return eIDDG20; + } + + public void seteIDDG20(Map eIDDG20) { + this.eIDDG20 = eIDDG20; + } + + public BinaryData withEIDDG21(Map eIDDG21) { + this.eIDDG21 = eIDDG21; + return this; + } + + public BinaryData putEIDDG21Item(String key, Object eIDDG21Item) { + if (this.eIDDG21 == null) { + this.eIDDG21 = new HashMap(); + } + this.eIDDG21.put(key, eIDDG21Item); + return this; + } + + /** + * Get eIDDG21 + * + * @return eIDDG21 + */ + @javax.annotation.Nullable + public Map geteIDDG21() { + return eIDDG21; + } + + public void seteIDDG21(Map eIDDG21) { + this.eIDDG21 = eIDDG21; + } + + public BinaryData withEDLCOM(Map eDLCOM) { + this.eDLCOM = eDLCOM; + return this; + } + + public BinaryData putEDLCOMItem(String key, Object eDLCOMItem) { + if (this.eDLCOM == null) { + this.eDLCOM = new HashMap(); + } + this.eDLCOM.put(key, eDLCOMItem); + return this; + } + + /** + * Get eDLCOM + * + * @return eDLCOM + */ + @javax.annotation.Nullable + public Map geteDLCOM() { + return eDLCOM; + } + + public void seteDLCOM(Map eDLCOM) { + this.eDLCOM = eDLCOM; + } + + public BinaryData withEDLSOD(Map eDLSOD) { + this.eDLSOD = eDLSOD; + return this; + } + + public BinaryData putEDLSODItem(String key, Object eDLSODItem) { + if (this.eDLSOD == null) { + this.eDLSOD = new HashMap(); + } + this.eDLSOD.put(key, eDLSODItem); + return this; + } + + /** + * Get eDLSOD + * + * @return eDLSOD + */ + @javax.annotation.Nullable + public Map geteDLSOD() { + return eDLSOD; + } + + public void seteDLSOD(Map eDLSOD) { + this.eDLSOD = eDLSOD; + } + + public BinaryData withEDLDG1(Map eDLDG1) { + this.eDLDG1 = eDLDG1; + return this; + } + + public BinaryData putEDLDG1Item(String key, Object eDLDG1Item) { + if (this.eDLDG1 == null) { + this.eDLDG1 = new HashMap(); + } + this.eDLDG1.put(key, eDLDG1Item); + return this; + } + + /** + * Get eDLDG1 + * + * @return eDLDG1 + */ + @javax.annotation.Nullable + public Map geteDLDG1() { + return eDLDG1; + } + + public void seteDLDG1(Map eDLDG1) { + this.eDLDG1 = eDLDG1; + } + + public BinaryData withEDLDG2(Map eDLDG2) { + this.eDLDG2 = eDLDG2; + return this; + } + + public BinaryData putEDLDG2Item(String key, Object eDLDG2Item) { + if (this.eDLDG2 == null) { + this.eDLDG2 = new HashMap(); + } + this.eDLDG2.put(key, eDLDG2Item); + return this; + } + + /** + * Get eDLDG2 + * + * @return eDLDG2 + */ + @javax.annotation.Nullable + public Map geteDLDG2() { + return eDLDG2; + } + + public void seteDLDG2(Map eDLDG2) { + this.eDLDG2 = eDLDG2; + } + + public BinaryData withEDLDG3(Map eDLDG3) { + this.eDLDG3 = eDLDG3; + return this; + } + + public BinaryData putEDLDG3Item(String key, Object eDLDG3Item) { + if (this.eDLDG3 == null) { + this.eDLDG3 = new HashMap(); + } + this.eDLDG3.put(key, eDLDG3Item); + return this; + } + + /** + * Get eDLDG3 + * + * @return eDLDG3 + */ + @javax.annotation.Nullable + public Map geteDLDG3() { + return eDLDG3; + } + + public void seteDLDG3(Map eDLDG3) { + this.eDLDG3 = eDLDG3; + } + + public BinaryData withEDLDG4(Map eDLDG4) { + this.eDLDG4 = eDLDG4; + return this; + } + + public BinaryData putEDLDG4Item(String key, Object eDLDG4Item) { + if (this.eDLDG4 == null) { + this.eDLDG4 = new HashMap(); + } + this.eDLDG4.put(key, eDLDG4Item); + return this; + } + + /** + * Get eDLDG4 + * + * @return eDLDG4 + */ + @javax.annotation.Nullable + public Map geteDLDG4() { + return eDLDG4; + } + + public void seteDLDG4(Map eDLDG4) { + this.eDLDG4 = eDLDG4; + } + + public BinaryData withEDLDG5(Map eDLDG5) { + this.eDLDG5 = eDLDG5; + return this; + } + + public BinaryData putEDLDG5Item(String key, Object eDLDG5Item) { + if (this.eDLDG5 == null) { + this.eDLDG5 = new HashMap(); + } + this.eDLDG5.put(key, eDLDG5Item); + return this; + } + + /** + * Get eDLDG5 + * + * @return eDLDG5 + */ + @javax.annotation.Nullable + public Map geteDLDG5() { + return eDLDG5; + } + + public void seteDLDG5(Map eDLDG5) { + this.eDLDG5 = eDLDG5; + } + + public BinaryData withEDLDG6(Map eDLDG6) { + this.eDLDG6 = eDLDG6; + return this; + } + + public BinaryData putEDLDG6Item(String key, Object eDLDG6Item) { + if (this.eDLDG6 == null) { + this.eDLDG6 = new HashMap(); + } + this.eDLDG6.put(key, eDLDG6Item); + return this; + } + + /** + * Get eDLDG6 + * + * @return eDLDG6 + */ + @javax.annotation.Nullable + public Map geteDLDG6() { + return eDLDG6; + } + + public void seteDLDG6(Map eDLDG6) { + this.eDLDG6 = eDLDG6; + } + + public BinaryData withEDLDG7(Map eDLDG7) { + this.eDLDG7 = eDLDG7; + return this; + } + + public BinaryData putEDLDG7Item(String key, Object eDLDG7Item) { + if (this.eDLDG7 == null) { + this.eDLDG7 = new HashMap(); + } + this.eDLDG7.put(key, eDLDG7Item); + return this; + } + + /** + * Get eDLDG7 + * + * @return eDLDG7 + */ + @javax.annotation.Nullable + public Map geteDLDG7() { + return eDLDG7; + } + + public void seteDLDG7(Map eDLDG7) { + this.eDLDG7 = eDLDG7; + } + + public BinaryData withEDLDG8(Map eDLDG8) { + this.eDLDG8 = eDLDG8; + return this; + } + + public BinaryData putEDLDG8Item(String key, Object eDLDG8Item) { + if (this.eDLDG8 == null) { + this.eDLDG8 = new HashMap(); + } + this.eDLDG8.put(key, eDLDG8Item); + return this; + } + + /** + * Get eDLDG8 + * + * @return eDLDG8 + */ + @javax.annotation.Nullable + public Map geteDLDG8() { + return eDLDG8; + } + + public void seteDLDG8(Map eDLDG8) { + this.eDLDG8 = eDLDG8; + } + + public BinaryData withEDLDG9(Map eDLDG9) { + this.eDLDG9 = eDLDG9; + return this; + } + + public BinaryData putEDLDG9Item(String key, Object eDLDG9Item) { + if (this.eDLDG9 == null) { + this.eDLDG9 = new HashMap(); + } + this.eDLDG9.put(key, eDLDG9Item); + return this; + } + + /** + * Get eDLDG9 + * + * @return eDLDG9 + */ + @javax.annotation.Nullable + public Map geteDLDG9() { + return eDLDG9; + } + + public void seteDLDG9(Map eDLDG9) { + this.eDLDG9 = eDLDG9; + } + + public BinaryData withEDLDG10(Map eDLDG10) { + this.eDLDG10 = eDLDG10; + return this; + } + + public BinaryData putEDLDG10Item(String key, Object eDLDG10Item) { + if (this.eDLDG10 == null) { + this.eDLDG10 = new HashMap(); + } + this.eDLDG10.put(key, eDLDG10Item); + return this; + } + + /** + * Get eDLDG10 + * + * @return eDLDG10 + */ + @javax.annotation.Nullable + public Map geteDLDG10() { + return eDLDG10; + } + + public void seteDLDG10(Map eDLDG10) { + this.eDLDG10 = eDLDG10; + } + + public BinaryData withEDLDG11(Map eDLDG11) { + this.eDLDG11 = eDLDG11; + return this; + } + + public BinaryData putEDLDG11Item(String key, Object eDLDG11Item) { + if (this.eDLDG11 == null) { + this.eDLDG11 = new HashMap(); + } + this.eDLDG11.put(key, eDLDG11Item); + return this; + } + + /** + * Get eDLDG11 + * + * @return eDLDG11 + */ + @javax.annotation.Nullable + public Map geteDLDG11() { + return eDLDG11; + } + + public void seteDLDG11(Map eDLDG11) { + this.eDLDG11 = eDLDG11; + } + + public BinaryData withEDLDG12(Map eDLDG12) { + this.eDLDG12 = eDLDG12; + return this; + } + + public BinaryData putEDLDG12Item(String key, Object eDLDG12Item) { + if (this.eDLDG12 == null) { + this.eDLDG12 = new HashMap(); + } + this.eDLDG12.put(key, eDLDG12Item); + return this; + } + + /** + * Get eDLDG12 + * + * @return eDLDG12 + */ + @javax.annotation.Nullable + public Map geteDLDG12() { + return eDLDG12; + } + + public void seteDLDG12(Map eDLDG12) { + this.eDLDG12 = eDLDG12; + } + + public BinaryData withEDLDG13(Map eDLDG13) { + this.eDLDG13 = eDLDG13; + return this; + } + + public BinaryData putEDLDG13Item(String key, Object eDLDG13Item) { + if (this.eDLDG13 == null) { + this.eDLDG13 = new HashMap(); + } + this.eDLDG13.put(key, eDLDG13Item); + return this; + } + + /** + * Get eDLDG13 + * + * @return eDLDG13 + */ + @javax.annotation.Nullable + public Map geteDLDG13() { + return eDLDG13; + } + + public void seteDLDG13(Map eDLDG13) { + this.eDLDG13 = eDLDG13; + } + + public BinaryData withEDLDG14(Map eDLDG14) { + this.eDLDG14 = eDLDG14; + return this; + } + + public BinaryData putEDLDG14Item(String key, Object eDLDG14Item) { + if (this.eDLDG14 == null) { + this.eDLDG14 = new HashMap(); + } + this.eDLDG14.put(key, eDLDG14Item); + return this; + } + + /** + * Get eDLDG14 + * + * @return eDLDG14 + */ + @javax.annotation.Nullable + public Map geteDLDG14() { + return eDLDG14; + } + + public void seteDLDG14(Map eDLDG14) { + this.eDLDG14 = eDLDG14; + } + + public BinaryData withVisibleDigitalSeal(Map visibleDigitalSeal) { + this.visibleDigitalSeal = visibleDigitalSeal; + return this; + } + + public BinaryData putVisibleDigitalSealItem(String key, Object visibleDigitalSealItem) { + if (this.visibleDigitalSeal == null) { + this.visibleDigitalSeal = new HashMap(); + } + this.visibleDigitalSeal.put(key, visibleDigitalSealItem); + return this; + } + + /** + * Get visibleDigitalSeal + * + * @return visibleDigitalSeal + */ + @javax.annotation.Nullable + public Map getVisibleDigitalSeal() { + return visibleDigitalSeal; + } + + public void setVisibleDigitalSeal(Map visibleDigitalSeal) { + this.visibleDigitalSeal = visibleDigitalSeal; + } + + public BinaryData withVisibleDigitalSealNC(Map visibleDigitalSealNC) { + this.visibleDigitalSealNC = visibleDigitalSealNC; + return this; + } + + public BinaryData putVisibleDigitalSealNCItem(String key, Object visibleDigitalSealNCItem) { + if (this.visibleDigitalSealNC == null) { + this.visibleDigitalSealNC = new HashMap(); + } + this.visibleDigitalSealNC.put(key, visibleDigitalSealNCItem); + return this; + } + + /** + * Get visibleDigitalSealNC + * + * @return visibleDigitalSealNC + */ + @javax.annotation.Nullable + public Map getVisibleDigitalSealNC() { + return visibleDigitalSealNC; + } + + public void setVisibleDigitalSealNC(Map visibleDigitalSealNC) { + this.visibleDigitalSealNC = visibleDigitalSealNC; + } + + public BinaryData withDigitalSignature(Map digitalSignature) { + this.digitalSignature = digitalSignature; + return this; + } + + public BinaryData putDigitalSignatureItem(String key, Object digitalSignatureItem) { + if (this.digitalSignature == null) { + this.digitalSignature = new HashMap(); + } + this.digitalSignature.put(key, digitalSignatureItem); + return this; + } + + /** + * Get digitalSignature + * + * @return digitalSignature + */ + @javax.annotation.Nullable + public Map getDigitalSignature() { + return digitalSignature; + } + + public void setDigitalSignature(Map digitalSignature) { + this.digitalSignature = digitalSignature; + } + + public BinaryData withRfIDSessionData(RfidSessionData rfIDSessionData) { + this.rfIDSessionData = rfIDSessionData; + return this; + } + + /** + * Get rfIDSessionData + * + * @return rfIDSessionData + */ + @javax.annotation.Nullable + public RfidSessionData getRfIDSessionData() { + return rfIDSessionData; + } + + public void setRfIDSessionData(RfidSessionData rfIDSessionData) { + this.rfIDSessionData = rfIDSessionData; + } + + public BinaryData withRfIDSessionDataStatus(DetailsRFID rfIDSessionDataStatus) { + this.rfIDSessionDataStatus = rfIDSessionDataStatus; + return this; + } + + /** + * Get rfIDSessionDataStatus + * + * @return rfIDSessionDataStatus + */ + @javax.annotation.Nullable + public DetailsRFID getRfIDSessionDataStatus() { + return rfIDSessionDataStatus; + } + + public void setRfIDSessionDataStatus(DetailsRFID rfIDSessionDataStatus) { + this.rfIDSessionDataStatus = rfIDSessionDataStatus; + } + + public BinaryData withRfIDEPasspDirectory(List rfIDEPasspDirectory) { + this.rfIDEPasspDirectory = rfIDEPasspDirectory; + return this; + } + + public BinaryData addRfIDEPasspDirectoryItem(RfidDataFileType rfIDEPasspDirectoryItem) { + if (this.rfIDEPasspDirectory == null) { + this.rfIDEPasspDirectory = new ArrayList(); + } + this.rfIDEPasspDirectory.add(rfIDEPasspDirectoryItem); + return this; + } + + /** + * Indexes of groups that aren't read + * + * @return rfIDEPasspDirectory + */ + @javax.annotation.Nullable + public List getRfIDEPasspDirectory() { + return rfIDEPasspDirectory; + } + + public void setRfIDEPasspDirectory(List rfIDEPasspDirectory) { + this.rfIDEPasspDirectory = rfIDEPasspDirectory; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BinaryData binaryData = (BinaryData) o; + return Objects.equals(this.rfIDAuthenticationInfo, binaryData.rfIDAuthenticationInfo) + && Objects.equals(this.rfIDMIFAREDataValidity, binaryData.rfIDMIFAREDataValidity) + && Objects.equals(this.rfIDMIFAREData, binaryData.rfIDMIFAREData) + && Objects.equals(this.RFID_EF_COM, binaryData.RFID_EF_COM) + && Objects.equals(this.RFID_DG1, binaryData.RFID_DG1) + && Objects.equals(this.RFID_DG2, binaryData.RFID_DG2) + && Objects.equals(this.RFID_DG3, binaryData.RFID_DG3) + && Objects.equals(this.RFID_DG4, binaryData.RFID_DG4) + && Objects.equals(this.RFID_DG5, binaryData.RFID_DG5) + && Objects.equals(this.RFID_DG6, binaryData.RFID_DG6) + && Objects.equals(this.RFID_DG7, binaryData.RFID_DG7) + && Objects.equals(this.RFID_DG8, binaryData.RFID_DG8) + && Objects.equals(this.RFID_DG9, binaryData.RFID_DG9) + && Objects.equals(this.RFID_DG10, binaryData.RFID_DG10) + && Objects.equals(this.RFID_DG11, binaryData.RFID_DG11) + && Objects.equals(this.RFID_DG12, binaryData.RFID_DG12) + && Objects.equals(this.RFID_DG13, binaryData.RFID_DG13) + && Objects.equals(this.RFID_DG14, binaryData.RFID_DG14) + && Objects.equals(this.RFID_DG15, binaryData.RFID_DG15) + && Objects.equals(this.RFID_DG16, binaryData.RFID_DG16) + && Objects.equals(this.RFID_EF_SOD, binaryData.RFID_EF_SOD) + && Objects.equals(this.eIDDG1, binaryData.eIDDG1) + && Objects.equals(this.eIDDG2, binaryData.eIDDG2) + && Objects.equals(this.eIDDG3, binaryData.eIDDG3) + && Objects.equals(this.eIDDG4, binaryData.eIDDG4) + && Objects.equals(this.eIDDG5, binaryData.eIDDG5) + && Objects.equals(this.eIDDG6, binaryData.eIDDG6) + && Objects.equals(this.eIDDG7, binaryData.eIDDG7) + && Objects.equals(this.eIDDG8, binaryData.eIDDG8) + && Objects.equals(this.eIDDG9, binaryData.eIDDG9) + && Objects.equals(this.eIDDG10, binaryData.eIDDG10) + && Objects.equals(this.eIDDG11, binaryData.eIDDG11) + && Objects.equals(this.eIDDG12, binaryData.eIDDG12) + && Objects.equals(this.eIDDG13, binaryData.eIDDG13) + && Objects.equals(this.eIDDG14, binaryData.eIDDG14) + && Objects.equals(this.eIDDG15, binaryData.eIDDG15) + && Objects.equals(this.eIDDG16, binaryData.eIDDG16) + && Objects.equals(this.eIDDG17, binaryData.eIDDG17) + && Objects.equals(this.eIDDG18, binaryData.eIDDG18) + && Objects.equals(this.eIDDG19, binaryData.eIDDG19) + && Objects.equals(this.eIDDG20, binaryData.eIDDG20) + && Objects.equals(this.eIDDG21, binaryData.eIDDG21) + && Objects.equals(this.eDLCOM, binaryData.eDLCOM) + && Objects.equals(this.eDLSOD, binaryData.eDLSOD) + && Objects.equals(this.eDLDG1, binaryData.eDLDG1) + && Objects.equals(this.eDLDG2, binaryData.eDLDG2) + && Objects.equals(this.eDLDG3, binaryData.eDLDG3) + && Objects.equals(this.eDLDG4, binaryData.eDLDG4) + && Objects.equals(this.eDLDG5, binaryData.eDLDG5) + && Objects.equals(this.eDLDG6, binaryData.eDLDG6) + && Objects.equals(this.eDLDG7, binaryData.eDLDG7) + && Objects.equals(this.eDLDG8, binaryData.eDLDG8) + && Objects.equals(this.eDLDG9, binaryData.eDLDG9) + && Objects.equals(this.eDLDG10, binaryData.eDLDG10) + && Objects.equals(this.eDLDG11, binaryData.eDLDG11) + && Objects.equals(this.eDLDG12, binaryData.eDLDG12) + && Objects.equals(this.eDLDG13, binaryData.eDLDG13) + && Objects.equals(this.eDLDG14, binaryData.eDLDG14) + && Objects.equals(this.visibleDigitalSeal, binaryData.visibleDigitalSeal) + && Objects.equals(this.visibleDigitalSealNC, binaryData.visibleDigitalSealNC) + && Objects.equals(this.digitalSignature, binaryData.digitalSignature) + && Objects.equals(this.rfIDSessionData, binaryData.rfIDSessionData) + && Objects.equals(this.rfIDSessionDataStatus, binaryData.rfIDSessionDataStatus) + && Objects.equals(this.rfIDEPasspDirectory, binaryData.rfIDEPasspDirectory); + } + + @Override + public int hashCode() { + return Objects.hash( + rfIDAuthenticationInfo, + rfIDMIFAREDataValidity, + rfIDMIFAREData, + RFID_EF_COM, + RFID_DG1, + RFID_DG2, + RFID_DG3, + RFID_DG4, + RFID_DG5, + RFID_DG6, + RFID_DG7, + RFID_DG8, + RFID_DG9, + RFID_DG10, + RFID_DG11, + RFID_DG12, + RFID_DG13, + RFID_DG14, + RFID_DG15, + RFID_DG16, + RFID_EF_SOD, + eIDDG1, + eIDDG2, + eIDDG3, + eIDDG4, + eIDDG5, + eIDDG6, + eIDDG7, + eIDDG8, + eIDDG9, + eIDDG10, + eIDDG11, + eIDDG12, + eIDDG13, + eIDDG14, + eIDDG15, + eIDDG16, + eIDDG17, + eIDDG18, + eIDDG19, + eIDDG20, + eIDDG21, + eDLCOM, + eDLSOD, + eDLDG1, + eDLDG2, + eDLDG3, + eDLDG4, + eDLDG5, + eDLDG6, + eDLDG7, + eDLDG8, + eDLDG9, + eDLDG10, + eDLDG11, + eDLDG12, + eDLDG13, + eDLDG14, + visibleDigitalSeal, + visibleDigitalSealNC, + digitalSignature, + rfIDSessionData, + rfIDSessionDataStatus, + rfIDEPasspDirectory); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BinaryData {\n"); + sb.append(" rfIDAuthenticationInfo: ") + .append(toIndentedString(rfIDAuthenticationInfo)) + .append("\n"); + sb.append(" rfIDMIFAREDataValidity: ") + .append(toIndentedString(rfIDMIFAREDataValidity)) + .append("\n"); + sb.append(" rfIDMIFAREData: ").append(toIndentedString(rfIDMIFAREData)).append("\n"); + sb.append(" RFID_EF_COM: ").append(toIndentedString(RFID_EF_COM)).append("\n"); + sb.append(" RFID_DG1: ").append(toIndentedString(RFID_DG1)).append("\n"); + sb.append(" RFID_DG2: ").append(toIndentedString(RFID_DG2)).append("\n"); + sb.append(" RFID_DG3: ").append(toIndentedString(RFID_DG3)).append("\n"); + sb.append(" RFID_DG4: ").append(toIndentedString(RFID_DG4)).append("\n"); + sb.append(" RFID_DG5: ").append(toIndentedString(RFID_DG5)).append("\n"); + sb.append(" RFID_DG6: ").append(toIndentedString(RFID_DG6)).append("\n"); + sb.append(" RFID_DG7: ").append(toIndentedString(RFID_DG7)).append("\n"); + sb.append(" RFID_DG8: ").append(toIndentedString(RFID_DG8)).append("\n"); + sb.append(" RFID_DG9: ").append(toIndentedString(RFID_DG9)).append("\n"); + sb.append(" RFID_DG10: ").append(toIndentedString(RFID_DG10)).append("\n"); + sb.append(" RFID_DG11: ").append(toIndentedString(RFID_DG11)).append("\n"); + sb.append(" RFID_DG12: ").append(toIndentedString(RFID_DG12)).append("\n"); + sb.append(" RFID_DG13: ").append(toIndentedString(RFID_DG13)).append("\n"); + sb.append(" RFID_DG14: ").append(toIndentedString(RFID_DG14)).append("\n"); + sb.append(" RFID_DG15: ").append(toIndentedString(RFID_DG15)).append("\n"); + sb.append(" RFID_DG16: ").append(toIndentedString(RFID_DG16)).append("\n"); + sb.append(" RFID_EF_SOD: ").append(toIndentedString(RFID_EF_SOD)).append("\n"); + sb.append(" eIDDG1: ").append(toIndentedString(eIDDG1)).append("\n"); + sb.append(" eIDDG2: ").append(toIndentedString(eIDDG2)).append("\n"); + sb.append(" eIDDG3: ").append(toIndentedString(eIDDG3)).append("\n"); + sb.append(" eIDDG4: ").append(toIndentedString(eIDDG4)).append("\n"); + sb.append(" eIDDG5: ").append(toIndentedString(eIDDG5)).append("\n"); + sb.append(" eIDDG6: ").append(toIndentedString(eIDDG6)).append("\n"); + sb.append(" eIDDG7: ").append(toIndentedString(eIDDG7)).append("\n"); + sb.append(" eIDDG8: ").append(toIndentedString(eIDDG8)).append("\n"); + sb.append(" eIDDG9: ").append(toIndentedString(eIDDG9)).append("\n"); + sb.append(" eIDDG10: ").append(toIndentedString(eIDDG10)).append("\n"); + sb.append(" eIDDG11: ").append(toIndentedString(eIDDG11)).append("\n"); + sb.append(" eIDDG12: ").append(toIndentedString(eIDDG12)).append("\n"); + sb.append(" eIDDG13: ").append(toIndentedString(eIDDG13)).append("\n"); + sb.append(" eIDDG14: ").append(toIndentedString(eIDDG14)).append("\n"); + sb.append(" eIDDG15: ").append(toIndentedString(eIDDG15)).append("\n"); + sb.append(" eIDDG16: ").append(toIndentedString(eIDDG16)).append("\n"); + sb.append(" eIDDG17: ").append(toIndentedString(eIDDG17)).append("\n"); + sb.append(" eIDDG18: ").append(toIndentedString(eIDDG18)).append("\n"); + sb.append(" eIDDG19: ").append(toIndentedString(eIDDG19)).append("\n"); + sb.append(" eIDDG20: ").append(toIndentedString(eIDDG20)).append("\n"); + sb.append(" eIDDG21: ").append(toIndentedString(eIDDG21)).append("\n"); + sb.append(" eDLCOM: ").append(toIndentedString(eDLCOM)).append("\n"); + sb.append(" eDLSOD: ").append(toIndentedString(eDLSOD)).append("\n"); + sb.append(" eDLDG1: ").append(toIndentedString(eDLDG1)).append("\n"); + sb.append(" eDLDG2: ").append(toIndentedString(eDLDG2)).append("\n"); + sb.append(" eDLDG3: ").append(toIndentedString(eDLDG3)).append("\n"); + sb.append(" eDLDG4: ").append(toIndentedString(eDLDG4)).append("\n"); + sb.append(" eDLDG5: ").append(toIndentedString(eDLDG5)).append("\n"); + sb.append(" eDLDG6: ").append(toIndentedString(eDLDG6)).append("\n"); + sb.append(" eDLDG7: ").append(toIndentedString(eDLDG7)).append("\n"); + sb.append(" eDLDG8: ").append(toIndentedString(eDLDG8)).append("\n"); + sb.append(" eDLDG9: ").append(toIndentedString(eDLDG9)).append("\n"); + sb.append(" eDLDG10: ").append(toIndentedString(eDLDG10)).append("\n"); + sb.append(" eDLDG11: ").append(toIndentedString(eDLDG11)).append("\n"); + sb.append(" eDLDG12: ").append(toIndentedString(eDLDG12)).append("\n"); + sb.append(" eDLDG13: ").append(toIndentedString(eDLDG13)).append("\n"); + sb.append(" eDLDG14: ").append(toIndentedString(eDLDG14)).append("\n"); + sb.append(" visibleDigitalSeal: ").append(toIndentedString(visibleDigitalSeal)).append("\n"); + sb.append(" visibleDigitalSealNC: ") + .append(toIndentedString(visibleDigitalSealNC)) + .append("\n"); + sb.append(" digitalSignature: ").append(toIndentedString(digitalSignature)).append("\n"); + sb.append(" rfIDSessionData: ").append(toIndentedString(rfIDSessionData)).append("\n"); + sb.append(" rfIDSessionDataStatus: ") + .append(toIndentedString(rfIDSessionDataStatus)) + .append("\n"); + sb.append(" rfIDEPasspDirectory: ") + .append(toIndentedString(rfIDEPasspDirectory)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ByteArrayResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ByteArrayResult.java index a1dfef5e..034aec4d 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ByteArrayResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ByteArrayResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/CheckDiagnose.java b/client/src/main/generated/com/regula/documentreader/webclient/model/CheckDiagnose.java index 0b8f2125..143943a9 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/CheckDiagnose.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/CheckDiagnose.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/CheckResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/CheckResult.java index 1b1adb28..7fa6d896 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/CheckResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/CheckResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ChosenDocumentType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ChosenDocumentType.java index f2c4492d..aacdbc8d 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ChosenDocumentType.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ChosenDocumentType.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,6 +33,11 @@ public class ChosenDocumentType { @SerializedName(SERIALIZED_NAME_P) private BigDecimal P; + public static final String SERIALIZED_NAME_ROTATED180 = "Rotated180"; + + @SerializedName(SERIALIZED_NAME_ROTATED180) + private Boolean rotated180; + public static final String SERIALIZED_NAME_RF_I_D_PRESENCE = "RFID_Presence"; @SerializedName(SERIALIZED_NAME_RF_I_D_PRESENCE) @@ -64,6 +69,11 @@ public class ChosenDocumentType { @SerializedName(SERIALIZED_NAME_AUTHENTICITY_NECESSARY_LIGHTS) private Integer authenticityNecessaryLights; + public static final String SERIALIZED_NAME_OV_I_EXP = "OVIExp"; + + @SerializedName(SERIALIZED_NAME_OV_I_EXP) + private BigDecimal ovIExp; + public ChosenDocumentType withDocumentName(String documentName) { this.documentName = documentName; return this; @@ -74,7 +84,6 @@ public ChosenDocumentType withDocumentName(String documentName) { * * @return documentName */ - @javax.annotation.Nullable public String getDocumentName() { return documentName; } @@ -93,7 +102,6 @@ public ChosenDocumentType withID(Integer ID) { * * @return ID */ - @javax.annotation.Nullable public Integer getID() { return ID; } @@ -113,7 +121,6 @@ public ChosenDocumentType withP(BigDecimal P) { * * @return P */ - @javax.annotation.Nullable public BigDecimal getP() { return P; } @@ -122,6 +129,24 @@ public void setP(BigDecimal P) { this.P = P; } + public ChosenDocumentType withRotated180(Boolean rotated180) { + this.rotated180 = rotated180; + return this; + } + + /** + * true if the document of the given type is rotated by 180 degrees + * + * @return rotated180 + */ + public Boolean getRotated180() { + return rotated180; + } + + public void setRotated180(Boolean rotated180) { + this.rotated180 = rotated180; + } + public ChosenDocumentType withRfIDPresence(Integer rfIDPresence) { this.rfIDPresence = rfIDPresence; return this; @@ -132,7 +157,6 @@ public ChosenDocumentType withRfIDPresence(Integer rfIDPresence) { * * @return rfIDPresence */ - @javax.annotation.Nullable public Integer getRfIDPresence() { return rfIDPresence; } @@ -151,7 +175,6 @@ public ChosenDocumentType withFdSIDList(FDSIDList fdSIDList) { * * @return fdSIDList */ - @javax.annotation.Nullable public FDSIDList getFdSIDList() { return fdSIDList; } @@ -171,7 +194,6 @@ public ChosenDocumentType withNecessaryLights(Integer necessaryLights) { * * @return necessaryLights */ - @javax.annotation.Nullable public Integer getNecessaryLights() { return necessaryLights; } @@ -191,7 +213,6 @@ public ChosenDocumentType withCheckAuthenticity(Integer checkAuthenticity) { * * @return checkAuthenticity */ - @javax.annotation.Nullable public Integer getCheckAuthenticity() { return checkAuthenticity; } @@ -211,7 +232,6 @@ public ChosenDocumentType withUvExp(Integer uvExp) { * * @return uvExp */ - @javax.annotation.Nullable public Integer getUvExp() { return uvExp; } @@ -231,7 +251,6 @@ public ChosenDocumentType withAuthenticityNecessaryLights(Integer authenticityNe * * @return authenticityNecessaryLights */ - @javax.annotation.Nullable public Integer getAuthenticityNecessaryLights() { return authenticityNecessaryLights; } @@ -240,6 +259,25 @@ public void setAuthenticityNecessaryLights(Integer authenticityNecessaryLights) this.authenticityNecessaryLights = authenticityNecessaryLights; } + public ChosenDocumentType withOvIExp(BigDecimal ovIExp) { + this.ovIExp = ovIExp; + return this; + } + + /** + * Camera exposure value necessary when obtaining document images of the given type for AXIAL + * lighting scheme + * + * @return ovIExp + */ + public BigDecimal getOvIExp() { + return ovIExp; + } + + public void setOvIExp(BigDecimal ovIExp) { + this.ovIExp = ovIExp; + } + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -252,13 +290,15 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.documentName, chosenDocumentType.documentName) && Objects.equals(this.ID, chosenDocumentType.ID) && Objects.equals(this.P, chosenDocumentType.P) + && Objects.equals(this.rotated180, chosenDocumentType.rotated180) && Objects.equals(this.rfIDPresence, chosenDocumentType.rfIDPresence) && Objects.equals(this.fdSIDList, chosenDocumentType.fdSIDList) && Objects.equals(this.necessaryLights, chosenDocumentType.necessaryLights) && Objects.equals(this.checkAuthenticity, chosenDocumentType.checkAuthenticity) && Objects.equals(this.uvExp, chosenDocumentType.uvExp) && Objects.equals( - this.authenticityNecessaryLights, chosenDocumentType.authenticityNecessaryLights); + this.authenticityNecessaryLights, chosenDocumentType.authenticityNecessaryLights) + && Objects.equals(this.ovIExp, chosenDocumentType.ovIExp); } @Override @@ -267,12 +307,14 @@ public int hashCode() { documentName, ID, P, + rotated180, rfIDPresence, fdSIDList, necessaryLights, checkAuthenticity, uvExp, - authenticityNecessaryLights); + authenticityNecessaryLights, + ovIExp); } @Override @@ -282,6 +324,7 @@ public String toString() { sb.append(" documentName: ").append(toIndentedString(documentName)).append("\n"); sb.append(" ID: ").append(toIndentedString(ID)).append("\n"); sb.append(" P: ").append(toIndentedString(P)).append("\n"); + sb.append(" rotated180: ").append(toIndentedString(rotated180)).append("\n"); sb.append(" rfIDPresence: ").append(toIndentedString(rfIDPresence)).append("\n"); sb.append(" fdSIDList: ").append(toIndentedString(fdSIDList)).append("\n"); sb.append(" necessaryLights: ").append(toIndentedString(necessaryLights)).append("\n"); @@ -290,6 +333,7 @@ public String toString() { sb.append(" authenticityNecessaryLights: ") .append(toIndentedString(authenticityNecessaryLights)) .append("\n"); + sb.append(" ovIExp: ").append(toIndentedString(ovIExp)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ChosenDocumentTypeResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ChosenDocumentTypeResult.java index d06aa777..89afc8f0 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ChosenDocumentTypeResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ChosenDocumentTypeResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -40,7 +40,6 @@ public ChosenDocumentTypeResult withOneCandidate(OneCandidate oneCandidate) { * * @return oneCandidate */ - @javax.annotation.Nullable public OneCandidate getOneCandidate() { return oneCandidate; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/Critical.java b/client/src/main/generated/com/regula/documentreader/webclient/model/Critical.java index 7850c236..914641ac 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/Critical.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/Critical.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/CrossSourceValueComparison.java b/client/src/main/generated/com/regula/documentreader/webclient/model/CrossSourceValueComparison.java index c8c979b2..437c982f 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/CrossSourceValueComparison.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/CrossSourceValueComparison.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DataModule.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DataModule.java index 981cfa20..71142982 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DataModule.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DataModule.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -40,7 +40,7 @@ public class DataModule { public static final String SERIALIZED_NAME_M_TYPE = "mType"; @SerializedName(SERIALIZED_NAME_M_TYPE) - private Integer mType; + private BarCodeModuleType mType; public DataModule withMData(String mData) { this.mData = mData; @@ -52,7 +52,6 @@ public DataModule withMData(String mData) { * * @return mData */ - @javax.annotation.Nullable public String getmData() { return mData; } @@ -71,7 +70,6 @@ public DataModule withMLength(Integer mLength) { * * @return mLength */ - @javax.annotation.Nullable public Integer getmLength() { return mLength; } @@ -118,7 +116,7 @@ public void setmReserver2(Integer mReserver2) { this.mReserver2 = mReserver2; } - public DataModule withMType(Integer mType) { + public DataModule withMType(BarCodeModuleType mType) { this.mType = mType; return this; } @@ -128,12 +126,11 @@ public DataModule withMType(Integer mType) { * * @return mType */ - @javax.annotation.Nullable - public Integer getmType() { + public BarCodeModuleType getmType() { return mType; } - public void setmType(Integer mType) { + public void setmType(BarCodeModuleType mType) { this.mType = mType; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DetailsOptical.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DetailsOptical.java index bfeb2fd9..bc01c8d1 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DetailsOptical.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DetailsOptical.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DetailsRFID.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DetailsRFID.java index 0876f884..1e51115c 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DetailsRFID.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DetailsRFID.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DeviceInfo.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DeviceInfo.java index e15bda56..ffaf5ea6 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DeviceInfo.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DeviceInfo.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocBarCodeInfo.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocBarCodeInfo.java index 6cdc6148..b17b89da 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DocBarCodeInfo.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocBarCodeInfo.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,7 +32,6 @@ public DocBarCodeInfo withDocBarCodeInfo(DocBarCodeInfoFieldsList docBarCodeInfo * * @return docBarCodeInfo */ - @javax.annotation.Nullable public DocBarCodeInfoFieldsList getDocBarCodeInfo() { return docBarCodeInfo; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocBarCodeInfoFieldsList.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocBarCodeInfoFieldsList.java index 34a5f5e7..8d7739b6 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DocBarCodeInfoFieldsList.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocBarCodeInfoFieldsList.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,7 +27,7 @@ public class DocBarCodeInfoFieldsList { public static final String SERIALIZED_NAME_P_ARRAY_FIELDS = "pArrayFields"; @SerializedName(SERIALIZED_NAME_P_ARRAY_FIELDS) - private List pArrayFields = null; + private List pArrayFields = new ArrayList(); public DocBarCodeInfoFieldsList withNFields(Integer nFields) { this.nFields = nFields; @@ -39,7 +39,6 @@ public DocBarCodeInfoFieldsList withNFields(Integer nFields) { * * @return nFields */ - @javax.annotation.Nullable public Integer getnFields() { return nFields; } @@ -54,9 +53,6 @@ public DocBarCodeInfoFieldsList withPArrayFields(List pArrayFields) } public DocBarCodeInfoFieldsList addPArrayFieldsItem(PArrayField pArrayFieldsItem) { - if (this.pArrayFields == null) { - this.pArrayFields = new ArrayList(); - } this.pArrayFields.add(pArrayFieldsItem); return this; } @@ -66,7 +62,6 @@ public DocBarCodeInfoFieldsList addPArrayFieldsItem(PArrayField pArrayFieldsItem * * @return pArrayFields */ - @javax.annotation.Nullable public List getpArrayFields() { return pArrayFields; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocVisualExtendedField.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocVisualExtendedField.java index cbde45f5..60749e8e 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DocVisualExtendedField.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocVisualExtendedField.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,12 +13,18 @@ package com.regula.documentreader.webclient.model; import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import java.util.Objects; /** DocVisualExtendedField */ public class DocVisualExtendedField { + public static final String SERIALIZED_NAME_FIELD_TYPE = "FieldType"; + + @SerializedName(SERIALIZED_NAME_FIELD_TYPE) + private Object fieldType = null; + public static final String SERIALIZED_NAME_W_FIELD_TYPE = "wFieldType"; @SerializedName(SERIALIZED_NAME_W_FIELD_TYPE) @@ -29,35 +35,69 @@ public class DocVisualExtendedField { @SerializedName(SERIALIZED_NAME_FIELD_NAME) private String fieldName; - public static final String SERIALIZED_NAME_W_L_C_I_D = "wLCID"; + public static final String SERIALIZED_NAME_STRINGS_COUNT = "StringsCount"; - @SerializedName(SERIALIZED_NAME_W_L_C_I_D) - private Integer wLCID; + @SerializedName(SERIALIZED_NAME_STRINGS_COUNT) + private BigDecimal stringsCount; public static final String SERIALIZED_NAME_STRINGS_RESULT = "StringsResult"; @SerializedName(SERIALIZED_NAME_STRINGS_RESULT) - private List stringsResult = null; + private List stringsResult = new ArrayList(); + + public static final String SERIALIZED_NAME_BUF_LENGTH = "Buf_Length"; + + @SerializedName(SERIALIZED_NAME_BUF_LENGTH) + private BigDecimal bufLength; public static final String SERIALIZED_NAME_BUF_TEXT = "Buf_Text"; @SerializedName(SERIALIZED_NAME_BUF_TEXT) private String bufText; - public static final String SERIALIZED_NAME_FIELD_RECT = "FieldRect"; + public static final String SERIALIZED_NAME_FIELD_MASK = "FieldMask"; + + @SerializedName(SERIALIZED_NAME_FIELD_MASK) + private Object fieldMask = null; + + public static final String SERIALIZED_NAME_VALIDITY = "Validity"; + + @SerializedName(SERIALIZED_NAME_VALIDITY) + private Object validity = null; - @SerializedName(SERIALIZED_NAME_FIELD_RECT) - private RectangleCoordinates fieldRect; + public static final String SERIALIZED_NAME_IN_COMPARISON = "InComparison"; - public static final String SERIALIZED_NAME_RF_I_D_ORIGIN_D_G = "RFID_OriginDG"; + @SerializedName(SERIALIZED_NAME_IN_COMPARISON) + private Object inComparison = null; - @SerializedName(SERIALIZED_NAME_RF_I_D_ORIGIN_D_G) - private Integer rfIDOriginDG; + public static final String SERIALIZED_NAME_RESERVED2 = "Reserved2"; - public static final String SERIALIZED_NAME_RF_I_D_ORIGIN_TAG_ENTRY = "RFID_OriginTagEntry"; + @SerializedName(SERIALIZED_NAME_RESERVED2) + private Object reserved2 = null; - @SerializedName(SERIALIZED_NAME_RF_I_D_ORIGIN_TAG_ENTRY) - private Integer rfIDOriginTagEntry; + public static final String SERIALIZED_NAME_RESERVED3 = "Reserved3"; + + @SerializedName(SERIALIZED_NAME_RESERVED3) + private Object reserved3 = null; + + public DocVisualExtendedField withFieldType(Object fieldType) { + this.fieldType = fieldType; + return this; + } + + /** + * Get fieldType + * + * @return fieldType + */ + @javax.annotation.Nullable + public Object getFieldType() { + return fieldType; + } + + public void setFieldType(Object fieldType) { + this.fieldType = fieldType; + } public DocVisualExtendedField withWFieldType(Integer wFieldType) { this.wFieldType = wFieldType; @@ -83,8 +123,7 @@ public DocVisualExtendedField withFieldName(String fieldName) { } /** - * Field name. Only use to search values for fields with fieldType=50(other). In general, use - * wFieldType for lookup. + * Field symbolic name (null-terminated string) * * @return fieldName */ @@ -96,22 +135,22 @@ public void setFieldName(String fieldName) { this.fieldName = fieldName; } - public DocVisualExtendedField withWLCID(Integer wLCID) { - this.wLCID = wLCID; + public DocVisualExtendedField withStringsCount(BigDecimal stringsCount) { + this.stringsCount = stringsCount; return this; } /** - * Get wLCID + * Number of StringsResult array elements * - * @return wLCID + * @return stringsCount */ - public Integer getwLCID() { - return wLCID; + public BigDecimal getStringsCount() { + return stringsCount; } - public void setwLCID(Integer wLCID) { - this.wLCID = wLCID; + public void setStringsCount(BigDecimal stringsCount) { + this.stringsCount = stringsCount; } public DocVisualExtendedField withStringsResult(List stringsResult) { @@ -120,9 +159,6 @@ public DocVisualExtendedField withStringsResult(List st } public DocVisualExtendedField addStringsResultItem(StringRecognitionResult stringsResultItem) { - if (this.stringsResult == null) { - this.stringsResult = new ArrayList(); - } this.stringsResult.add(stringsResultItem); return this; } @@ -133,7 +169,6 @@ public DocVisualExtendedField addStringsResultItem(StringRecognitionResult strin * * @return stringsResult */ - @javax.annotation.Nullable public List getStringsResult() { return stringsResult; } @@ -142,6 +177,24 @@ public void setStringsResult(List stringsResult) { this.stringsResult = stringsResult; } + public DocVisualExtendedField withBufLength(BigDecimal bufLength) { + this.bufLength = bufLength; + return this; + } + + /** + * Buf_Text text string length + * + * @return bufLength + */ + public BigDecimal getBufLength() { + return bufLength; + } + + public void setBufLength(BigDecimal bufLength) { + this.bufLength = bufLength; + } + public DocVisualExtendedField withBufText(String bufText) { this.bufText = bufText; return this; @@ -153,7 +206,6 @@ public DocVisualExtendedField withBufText(String bufText) { * * @return bufText */ - @javax.annotation.Nullable public String getBufText() { return bufText; } @@ -162,61 +214,99 @@ public void setBufText(String bufText) { this.bufText = bufText; } - public DocVisualExtendedField withFieldRect(RectangleCoordinates fieldRect) { - this.fieldRect = fieldRect; + public DocVisualExtendedField withFieldMask(Object fieldMask) { + this.fieldMask = fieldMask; + return this; + } + + /** + * Get fieldMask + * + * @return fieldMask + */ + @javax.annotation.Nullable + public Object getFieldMask() { + return fieldMask; + } + + public void setFieldMask(Object fieldMask) { + this.fieldMask = fieldMask; + } + + public DocVisualExtendedField withValidity(Object validity) { + this.validity = validity; + return this; + } + + /** + * Get validity + * + * @return validity + */ + @javax.annotation.Nullable + public Object getValidity() { + return validity; + } + + public void setValidity(Object validity) { + this.validity = validity; + } + + public DocVisualExtendedField withInComparison(Object inComparison) { + this.inComparison = inComparison; return this; } /** - * Get fieldRect + * Get inComparison * - * @return fieldRect + * @return inComparison */ @javax.annotation.Nullable - public RectangleCoordinates getFieldRect() { - return fieldRect; + public Object getInComparison() { + return inComparison; } - public void setFieldRect(RectangleCoordinates fieldRect) { - this.fieldRect = fieldRect; + public void setInComparison(Object inComparison) { + this.inComparison = inComparison; } - public DocVisualExtendedField withRfIDOriginDG(Integer rfIDOriginDG) { - this.rfIDOriginDG = rfIDOriginDG; + public DocVisualExtendedField withReserved2(Object reserved2) { + this.reserved2 = reserved2; return this; } /** - * Origin data group information. Only for Result.RFID_TEXT results. + * Get reserved2 * - * @return rfIDOriginDG + * @return reserved2 */ @javax.annotation.Nullable - public Integer getRfIDOriginDG() { - return rfIDOriginDG; + public Object getReserved2() { + return reserved2; } - public void setRfIDOriginDG(Integer rfIDOriginDG) { - this.rfIDOriginDG = rfIDOriginDG; + public void setReserved2(Object reserved2) { + this.reserved2 = reserved2; } - public DocVisualExtendedField withRfIDOriginTagEntry(Integer rfIDOriginTagEntry) { - this.rfIDOriginTagEntry = rfIDOriginTagEntry; + public DocVisualExtendedField withReserved3(Object reserved3) { + this.reserved3 = reserved3; return this; } /** - * Index of the text field record in origin data group. Only for Result.RFID_TEXT results. + * Get reserved3 * - * @return rfIDOriginTagEntry + * @return reserved3 */ @javax.annotation.Nullable - public Integer getRfIDOriginTagEntry() { - return rfIDOriginTagEntry; + public Object getReserved3() { + return reserved3; } - public void setRfIDOriginTagEntry(Integer rfIDOriginTagEntry) { - this.rfIDOriginTagEntry = rfIDOriginTagEntry; + public void setReserved3(Object reserved3) { + this.reserved3 = reserved3; } @Override @@ -228,41 +318,53 @@ public boolean equals(java.lang.Object o) { return false; } DocVisualExtendedField docVisualExtendedField = (DocVisualExtendedField) o; - return Objects.equals(this.wFieldType, docVisualExtendedField.wFieldType) + return Objects.equals(this.fieldType, docVisualExtendedField.fieldType) + && Objects.equals(this.wFieldType, docVisualExtendedField.wFieldType) && Objects.equals(this.fieldName, docVisualExtendedField.fieldName) - && Objects.equals(this.wLCID, docVisualExtendedField.wLCID) + && Objects.equals(this.stringsCount, docVisualExtendedField.stringsCount) && Objects.equals(this.stringsResult, docVisualExtendedField.stringsResult) + && Objects.equals(this.bufLength, docVisualExtendedField.bufLength) && Objects.equals(this.bufText, docVisualExtendedField.bufText) - && Objects.equals(this.fieldRect, docVisualExtendedField.fieldRect) - && Objects.equals(this.rfIDOriginDG, docVisualExtendedField.rfIDOriginDG) - && Objects.equals(this.rfIDOriginTagEntry, docVisualExtendedField.rfIDOriginTagEntry); + && Objects.equals(this.fieldMask, docVisualExtendedField.fieldMask) + && Objects.equals(this.validity, docVisualExtendedField.validity) + && Objects.equals(this.inComparison, docVisualExtendedField.inComparison) + && Objects.equals(this.reserved2, docVisualExtendedField.reserved2) + && Objects.equals(this.reserved3, docVisualExtendedField.reserved3); } @Override public int hashCode() { return Objects.hash( + fieldType, wFieldType, fieldName, - wLCID, + stringsCount, stringsResult, + bufLength, bufText, - fieldRect, - rfIDOriginDG, - rfIDOriginTagEntry); + fieldMask, + validity, + inComparison, + reserved2, + reserved3); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DocVisualExtendedField {\n"); + sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n"); sb.append(" wFieldType: ").append(toIndentedString(wFieldType)).append("\n"); sb.append(" fieldName: ").append(toIndentedString(fieldName)).append("\n"); - sb.append(" wLCID: ").append(toIndentedString(wLCID)).append("\n"); + sb.append(" stringsCount: ").append(toIndentedString(stringsCount)).append("\n"); sb.append(" stringsResult: ").append(toIndentedString(stringsResult)).append("\n"); + sb.append(" bufLength: ").append(toIndentedString(bufLength)).append("\n"); sb.append(" bufText: ").append(toIndentedString(bufText)).append("\n"); - sb.append(" fieldRect: ").append(toIndentedString(fieldRect)).append("\n"); - sb.append(" rfIDOriginDG: ").append(toIndentedString(rfIDOriginDG)).append("\n"); - sb.append(" rfIDOriginTagEntry: ").append(toIndentedString(rfIDOriginTagEntry)).append("\n"); + sb.append(" fieldMask: ").append(toIndentedString(fieldMask)).append("\n"); + sb.append(" validity: ").append(toIndentedString(validity)).append("\n"); + sb.append(" inComparison: ").append(toIndentedString(inComparison)).append("\n"); + sb.append(" reserved2: ").append(toIndentedString(reserved2)).append("\n"); + sb.append(" reserved3: ").append(toIndentedString(reserved3)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocVisualExtendedFieldRect.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocVisualExtendedFieldRect.java new file mode 100644 index 00000000..05224554 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocVisualExtendedFieldRect.java @@ -0,0 +1,412 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +/** + * Structure and serves for storing information from one text data field. Variant with field logical + * type and field rectangular area coordinates on the image. + */ +public class DocVisualExtendedFieldRect { + public static final String SERIALIZED_NAME_FIELD_RECT = "FieldRect"; + + @SerializedName(SERIALIZED_NAME_FIELD_RECT) + private RectangleCoordinates fieldRect; + + public static final String SERIALIZED_NAME_FIELD_TYPE = "FieldType"; + + @SerializedName(SERIALIZED_NAME_FIELD_TYPE) + private Object fieldType = null; + + public static final String SERIALIZED_NAME_W_FIELD_TYPE = "wFieldType"; + + @SerializedName(SERIALIZED_NAME_W_FIELD_TYPE) + private Integer wFieldType; + + public static final String SERIALIZED_NAME_FIELD_NAME = "FieldName"; + + @SerializedName(SERIALIZED_NAME_FIELD_NAME) + private String fieldName; + + public static final String SERIALIZED_NAME_STRINGS_COUNT = "StringsCount"; + + @SerializedName(SERIALIZED_NAME_STRINGS_COUNT) + private BigDecimal stringsCount; + + public static final String SERIALIZED_NAME_STRINGS_RESULT = "StringsResult"; + + @SerializedName(SERIALIZED_NAME_STRINGS_RESULT) + private List stringsResult = new ArrayList(); + + public static final String SERIALIZED_NAME_BUF_LENGTH = "Buf_Length"; + + @SerializedName(SERIALIZED_NAME_BUF_LENGTH) + private BigDecimal bufLength; + + public static final String SERIALIZED_NAME_BUF_TEXT = "Buf_Text"; + + @SerializedName(SERIALIZED_NAME_BUF_TEXT) + private String bufText; + + public static final String SERIALIZED_NAME_FIELD_MASK = "FieldMask"; + + @SerializedName(SERIALIZED_NAME_FIELD_MASK) + private Object fieldMask = null; + + public static final String SERIALIZED_NAME_VALIDITY = "Validity"; + + @SerializedName(SERIALIZED_NAME_VALIDITY) + private Object validity = null; + + public static final String SERIALIZED_NAME_IN_COMPARISON = "InComparison"; + + @SerializedName(SERIALIZED_NAME_IN_COMPARISON) + private Object inComparison = null; + + public static final String SERIALIZED_NAME_RESERVED2 = "Reserved2"; + + @SerializedName(SERIALIZED_NAME_RESERVED2) + private Object reserved2 = null; + + public static final String SERIALIZED_NAME_RESERVED3 = "Reserved3"; + + @SerializedName(SERIALIZED_NAME_RESERVED3) + private Object reserved3 = null; + + public DocVisualExtendedFieldRect withFieldRect(RectangleCoordinates fieldRect) { + this.fieldRect = fieldRect; + return this; + } + + /** + * Get fieldRect + * + * @return fieldRect + */ + @javax.annotation.Nullable + public RectangleCoordinates getFieldRect() { + return fieldRect; + } + + public void setFieldRect(RectangleCoordinates fieldRect) { + this.fieldRect = fieldRect; + } + + public DocVisualExtendedFieldRect withFieldType(Object fieldType) { + this.fieldType = fieldType; + return this; + } + + /** + * Get fieldType + * + * @return fieldType + */ + @javax.annotation.Nullable + public Object getFieldType() { + return fieldType; + } + + public void setFieldType(Object fieldType) { + this.fieldType = fieldType; + } + + public DocVisualExtendedFieldRect withWFieldType(Integer wFieldType) { + this.wFieldType = wFieldType; + return this; + } + + /** + * Get wFieldType + * + * @return wFieldType + */ + public Integer getwFieldType() { + return wFieldType; + } + + public void setwFieldType(Integer wFieldType) { + this.wFieldType = wFieldType; + } + + public DocVisualExtendedFieldRect withFieldName(String fieldName) { + this.fieldName = fieldName; + return this; + } + + /** + * Field symbolic name (null-terminated string) + * + * @return fieldName + */ + public String getFieldName() { + return fieldName; + } + + public void setFieldName(String fieldName) { + this.fieldName = fieldName; + } + + public DocVisualExtendedFieldRect withStringsCount(BigDecimal stringsCount) { + this.stringsCount = stringsCount; + return this; + } + + /** + * Number of StringsResult array elements + * + * @return stringsCount + */ + public BigDecimal getStringsCount() { + return stringsCount; + } + + public void setStringsCount(BigDecimal stringsCount) { + this.stringsCount = stringsCount; + } + + public DocVisualExtendedFieldRect withStringsResult(List stringsResult) { + this.stringsResult = stringsResult; + return this; + } + + public DocVisualExtendedFieldRect addStringsResultItem( + StringRecognitionResult stringsResultItem) { + this.stringsResult.add(stringsResultItem); + return this; + } + + /** + * Array of recognizing probabilities for a each line of text field. Only for Result.VISUAL_TEXT + * and Result.MRZ_TEXT results. + * + * @return stringsResult + */ + public List getStringsResult() { + return stringsResult; + } + + public void setStringsResult(List stringsResult) { + this.stringsResult = stringsResult; + } + + public DocVisualExtendedFieldRect withBufLength(BigDecimal bufLength) { + this.bufLength = bufLength; + return this; + } + + /** + * Buf_Text text string length + * + * @return bufLength + */ + public BigDecimal getBufLength() { + return bufLength; + } + + public void setBufLength(BigDecimal bufLength) { + this.bufLength = bufLength; + } + + public DocVisualExtendedFieldRect withBufText(String bufText) { + this.bufText = bufText; + return this; + } + + /** + * Text field data in UTF8 format. Results of reading different lines of a multi-line field are + * separated by '^' + * + * @return bufText + */ + public String getBufText() { + return bufText; + } + + public void setBufText(String bufText) { + this.bufText = bufText; + } + + public DocVisualExtendedFieldRect withFieldMask(Object fieldMask) { + this.fieldMask = fieldMask; + return this; + } + + /** + * Get fieldMask + * + * @return fieldMask + */ + @javax.annotation.Nullable + public Object getFieldMask() { + return fieldMask; + } + + public void setFieldMask(Object fieldMask) { + this.fieldMask = fieldMask; + } + + public DocVisualExtendedFieldRect withValidity(Object validity) { + this.validity = validity; + return this; + } + + /** + * Get validity + * + * @return validity + */ + @javax.annotation.Nullable + public Object getValidity() { + return validity; + } + + public void setValidity(Object validity) { + this.validity = validity; + } + + public DocVisualExtendedFieldRect withInComparison(Object inComparison) { + this.inComparison = inComparison; + return this; + } + + /** + * Get inComparison + * + * @return inComparison + */ + @javax.annotation.Nullable + public Object getInComparison() { + return inComparison; + } + + public void setInComparison(Object inComparison) { + this.inComparison = inComparison; + } + + public DocVisualExtendedFieldRect withReserved2(Object reserved2) { + this.reserved2 = reserved2; + return this; + } + + /** + * Get reserved2 + * + * @return reserved2 + */ + @javax.annotation.Nullable + public Object getReserved2() { + return reserved2; + } + + public void setReserved2(Object reserved2) { + this.reserved2 = reserved2; + } + + public DocVisualExtendedFieldRect withReserved3(Object reserved3) { + this.reserved3 = reserved3; + return this; + } + + /** + * Get reserved3 + * + * @return reserved3 + */ + @javax.annotation.Nullable + public Object getReserved3() { + return reserved3; + } + + public void setReserved3(Object reserved3) { + this.reserved3 = reserved3; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DocVisualExtendedFieldRect docVisualExtendedFieldRect = (DocVisualExtendedFieldRect) o; + return Objects.equals(this.fieldRect, docVisualExtendedFieldRect.fieldRect) + && Objects.equals(this.fieldType, docVisualExtendedFieldRect.fieldType) + && Objects.equals(this.wFieldType, docVisualExtendedFieldRect.wFieldType) + && Objects.equals(this.fieldName, docVisualExtendedFieldRect.fieldName) + && Objects.equals(this.stringsCount, docVisualExtendedFieldRect.stringsCount) + && Objects.equals(this.stringsResult, docVisualExtendedFieldRect.stringsResult) + && Objects.equals(this.bufLength, docVisualExtendedFieldRect.bufLength) + && Objects.equals(this.bufText, docVisualExtendedFieldRect.bufText) + && Objects.equals(this.fieldMask, docVisualExtendedFieldRect.fieldMask) + && Objects.equals(this.validity, docVisualExtendedFieldRect.validity) + && Objects.equals(this.inComparison, docVisualExtendedFieldRect.inComparison) + && Objects.equals(this.reserved2, docVisualExtendedFieldRect.reserved2) + && Objects.equals(this.reserved3, docVisualExtendedFieldRect.reserved3); + } + + @Override + public int hashCode() { + return Objects.hash( + fieldRect, + fieldType, + wFieldType, + fieldName, + stringsCount, + stringsResult, + bufLength, + bufText, + fieldMask, + validity, + inComparison, + reserved2, + reserved3); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DocVisualExtendedFieldRect {\n"); + sb.append(" fieldRect: ").append(toIndentedString(fieldRect)).append("\n"); + sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n"); + sb.append(" wFieldType: ").append(toIndentedString(wFieldType)).append("\n"); + sb.append(" fieldName: ").append(toIndentedString(fieldName)).append("\n"); + sb.append(" stringsCount: ").append(toIndentedString(stringsCount)).append("\n"); + sb.append(" stringsResult: ").append(toIndentedString(stringsResult)).append("\n"); + sb.append(" bufLength: ").append(toIndentedString(bufLength)).append("\n"); + sb.append(" bufText: ").append(toIndentedString(bufText)).append("\n"); + sb.append(" fieldMask: ").append(toIndentedString(fieldMask)).append("\n"); + sb.append(" validity: ").append(toIndentedString(validity)).append("\n"); + sb.append(" inComparison: ").append(toIndentedString(inComparison)).append("\n"); + sb.append(" reserved2: ").append(toIndentedString(reserved2)).append("\n"); + sb.append(" reserved3: ").append(toIndentedString(reserved3)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocVisualExtendedFieldRfid.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocVisualExtendedFieldRfid.java new file mode 100644 index 00000000..fd34b281 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocVisualExtendedFieldRfid.java @@ -0,0 +1,493 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +/** + * Structure and serves for storing information from one text data field. Variant with field logical + * type and RFID data. + */ +public class DocVisualExtendedFieldRfid { + public static final String SERIALIZED_NAME_RF_I_D_ORIGIN_D_G = "RFID_OriginDG"; + + @SerializedName(SERIALIZED_NAME_RF_I_D_ORIGIN_D_G) + private RfidDataGroupTypeTag rfIDOriginDG; + + public static final String SERIALIZED_NAME_RF_I_D_ORIGIN_D_G_TAG = "RFID_OriginDGTag"; + + @SerializedName(SERIALIZED_NAME_RF_I_D_ORIGIN_D_G_TAG) + private Object rfIDOriginDGTag = null; + + public static final String SERIALIZED_NAME_RF_I_D_ORIGIN_TAG_ENTRY = "RFID_OriginTagEntry"; + + @SerializedName(SERIALIZED_NAME_RF_I_D_ORIGIN_TAG_ENTRY) + private BigDecimal rfIDOriginTagEntry; + + public static final String SERIALIZED_NAME_RF_I_D_ORIGIN_ENTRY_VIEW = "RFID_OriginEntryView"; + + @SerializedName(SERIALIZED_NAME_RF_I_D_ORIGIN_ENTRY_VIEW) + private Object rfIDOriginEntryView = null; + + public static final String SERIALIZED_NAME_FIELD_TYPE = "FieldType"; + + @SerializedName(SERIALIZED_NAME_FIELD_TYPE) + private Object fieldType = null; + + public static final String SERIALIZED_NAME_W_FIELD_TYPE = "wFieldType"; + + @SerializedName(SERIALIZED_NAME_W_FIELD_TYPE) + private Integer wFieldType; + + public static final String SERIALIZED_NAME_FIELD_NAME = "FieldName"; + + @SerializedName(SERIALIZED_NAME_FIELD_NAME) + private String fieldName; + + public static final String SERIALIZED_NAME_STRINGS_COUNT = "StringsCount"; + + @SerializedName(SERIALIZED_NAME_STRINGS_COUNT) + private BigDecimal stringsCount; + + public static final String SERIALIZED_NAME_STRINGS_RESULT = "StringsResult"; + + @SerializedName(SERIALIZED_NAME_STRINGS_RESULT) + private List stringsResult = new ArrayList(); + + public static final String SERIALIZED_NAME_BUF_LENGTH = "Buf_Length"; + + @SerializedName(SERIALIZED_NAME_BUF_LENGTH) + private BigDecimal bufLength; + + public static final String SERIALIZED_NAME_BUF_TEXT = "Buf_Text"; + + @SerializedName(SERIALIZED_NAME_BUF_TEXT) + private String bufText; + + public static final String SERIALIZED_NAME_FIELD_MASK = "FieldMask"; + + @SerializedName(SERIALIZED_NAME_FIELD_MASK) + private Object fieldMask = null; + + public static final String SERIALIZED_NAME_VALIDITY = "Validity"; + + @SerializedName(SERIALIZED_NAME_VALIDITY) + private Object validity = null; + + public static final String SERIALIZED_NAME_IN_COMPARISON = "InComparison"; + + @SerializedName(SERIALIZED_NAME_IN_COMPARISON) + private Object inComparison = null; + + public static final String SERIALIZED_NAME_RESERVED2 = "Reserved2"; + + @SerializedName(SERIALIZED_NAME_RESERVED2) + private Object reserved2 = null; + + public static final String SERIALIZED_NAME_RESERVED3 = "Reserved3"; + + @SerializedName(SERIALIZED_NAME_RESERVED3) + private Object reserved3 = null; + + public DocVisualExtendedFieldRfid withRfIDOriginDG(RfidDataGroupTypeTag rfIDOriginDG) { + this.rfIDOriginDG = rfIDOriginDG; + return this; + } + + /** + * Get rfIDOriginDG + * + * @return rfIDOriginDG + */ + public RfidDataGroupTypeTag getRfIDOriginDG() { + return rfIDOriginDG; + } + + public void setRfIDOriginDG(RfidDataGroupTypeTag rfIDOriginDG) { + this.rfIDOriginDG = rfIDOriginDG; + } + + public DocVisualExtendedFieldRfid withRfIDOriginDGTag(Object rfIDOriginDGTag) { + this.rfIDOriginDGTag = rfIDOriginDGTag; + return this; + } + + /** + * Get rfIDOriginDGTag + * + * @return rfIDOriginDGTag + */ + @javax.annotation.Nullable + public Object getRfIDOriginDGTag() { + return rfIDOriginDGTag; + } + + public void setRfIDOriginDGTag(Object rfIDOriginDGTag) { + this.rfIDOriginDGTag = rfIDOriginDGTag; + } + + public DocVisualExtendedFieldRfid withRfIDOriginTagEntry(BigDecimal rfIDOriginTagEntry) { + this.rfIDOriginTagEntry = rfIDOriginTagEntry; + return this; + } + + /** + * Record index of the text field source in the data group + * + * @return rfIDOriginTagEntry + */ + public BigDecimal getRfIDOriginTagEntry() { + return rfIDOriginTagEntry; + } + + public void setRfIDOriginTagEntry(BigDecimal rfIDOriginTagEntry) { + this.rfIDOriginTagEntry = rfIDOriginTagEntry; + } + + public DocVisualExtendedFieldRfid withRfIDOriginEntryView(Object rfIDOriginEntryView) { + this.rfIDOriginEntryView = rfIDOriginEntryView; + return this; + } + + /** + * Get rfIDOriginEntryView + * + * @return rfIDOriginEntryView + */ + @javax.annotation.Nullable + public Object getRfIDOriginEntryView() { + return rfIDOriginEntryView; + } + + public void setRfIDOriginEntryView(Object rfIDOriginEntryView) { + this.rfIDOriginEntryView = rfIDOriginEntryView; + } + + public DocVisualExtendedFieldRfid withFieldType(Object fieldType) { + this.fieldType = fieldType; + return this; + } + + /** + * Get fieldType + * + * @return fieldType + */ + @javax.annotation.Nullable + public Object getFieldType() { + return fieldType; + } + + public void setFieldType(Object fieldType) { + this.fieldType = fieldType; + } + + public DocVisualExtendedFieldRfid withWFieldType(Integer wFieldType) { + this.wFieldType = wFieldType; + return this; + } + + /** + * Get wFieldType + * + * @return wFieldType + */ + public Integer getwFieldType() { + return wFieldType; + } + + public void setwFieldType(Integer wFieldType) { + this.wFieldType = wFieldType; + } + + public DocVisualExtendedFieldRfid withFieldName(String fieldName) { + this.fieldName = fieldName; + return this; + } + + /** + * Field symbolic name (null-terminated string) + * + * @return fieldName + */ + public String getFieldName() { + return fieldName; + } + + public void setFieldName(String fieldName) { + this.fieldName = fieldName; + } + + public DocVisualExtendedFieldRfid withStringsCount(BigDecimal stringsCount) { + this.stringsCount = stringsCount; + return this; + } + + /** + * Number of StringsResult array elements + * + * @return stringsCount + */ + public BigDecimal getStringsCount() { + return stringsCount; + } + + public void setStringsCount(BigDecimal stringsCount) { + this.stringsCount = stringsCount; + } + + public DocVisualExtendedFieldRfid withStringsResult(List stringsResult) { + this.stringsResult = stringsResult; + return this; + } + + public DocVisualExtendedFieldRfid addStringsResultItem( + StringRecognitionResult stringsResultItem) { + this.stringsResult.add(stringsResultItem); + return this; + } + + /** + * Array of recognizing probabilities for a each line of text field. Only for Result.VISUAL_TEXT + * and Result.MRZ_TEXT results. + * + * @return stringsResult + */ + public List getStringsResult() { + return stringsResult; + } + + public void setStringsResult(List stringsResult) { + this.stringsResult = stringsResult; + } + + public DocVisualExtendedFieldRfid withBufLength(BigDecimal bufLength) { + this.bufLength = bufLength; + return this; + } + + /** + * Buf_Text text string length + * + * @return bufLength + */ + public BigDecimal getBufLength() { + return bufLength; + } + + public void setBufLength(BigDecimal bufLength) { + this.bufLength = bufLength; + } + + public DocVisualExtendedFieldRfid withBufText(String bufText) { + this.bufText = bufText; + return this; + } + + /** + * Text field data in UTF8 format. Results of reading different lines of a multi-line field are + * separated by '^' + * + * @return bufText + */ + public String getBufText() { + return bufText; + } + + public void setBufText(String bufText) { + this.bufText = bufText; + } + + public DocVisualExtendedFieldRfid withFieldMask(Object fieldMask) { + this.fieldMask = fieldMask; + return this; + } + + /** + * Get fieldMask + * + * @return fieldMask + */ + @javax.annotation.Nullable + public Object getFieldMask() { + return fieldMask; + } + + public void setFieldMask(Object fieldMask) { + this.fieldMask = fieldMask; + } + + public DocVisualExtendedFieldRfid withValidity(Object validity) { + this.validity = validity; + return this; + } + + /** + * Get validity + * + * @return validity + */ + @javax.annotation.Nullable + public Object getValidity() { + return validity; + } + + public void setValidity(Object validity) { + this.validity = validity; + } + + public DocVisualExtendedFieldRfid withInComparison(Object inComparison) { + this.inComparison = inComparison; + return this; + } + + /** + * Get inComparison + * + * @return inComparison + */ + @javax.annotation.Nullable + public Object getInComparison() { + return inComparison; + } + + public void setInComparison(Object inComparison) { + this.inComparison = inComparison; + } + + public DocVisualExtendedFieldRfid withReserved2(Object reserved2) { + this.reserved2 = reserved2; + return this; + } + + /** + * Get reserved2 + * + * @return reserved2 + */ + @javax.annotation.Nullable + public Object getReserved2() { + return reserved2; + } + + public void setReserved2(Object reserved2) { + this.reserved2 = reserved2; + } + + public DocVisualExtendedFieldRfid withReserved3(Object reserved3) { + this.reserved3 = reserved3; + return this; + } + + /** + * Get reserved3 + * + * @return reserved3 + */ + @javax.annotation.Nullable + public Object getReserved3() { + return reserved3; + } + + public void setReserved3(Object reserved3) { + this.reserved3 = reserved3; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DocVisualExtendedFieldRfid docVisualExtendedFieldRfid = (DocVisualExtendedFieldRfid) o; + return Objects.equals(this.rfIDOriginDG, docVisualExtendedFieldRfid.rfIDOriginDG) + && Objects.equals(this.rfIDOriginDGTag, docVisualExtendedFieldRfid.rfIDOriginDGTag) + && Objects.equals(this.rfIDOriginTagEntry, docVisualExtendedFieldRfid.rfIDOriginTagEntry) + && Objects.equals(this.rfIDOriginEntryView, docVisualExtendedFieldRfid.rfIDOriginEntryView) + && Objects.equals(this.fieldType, docVisualExtendedFieldRfid.fieldType) + && Objects.equals(this.wFieldType, docVisualExtendedFieldRfid.wFieldType) + && Objects.equals(this.fieldName, docVisualExtendedFieldRfid.fieldName) + && Objects.equals(this.stringsCount, docVisualExtendedFieldRfid.stringsCount) + && Objects.equals(this.stringsResult, docVisualExtendedFieldRfid.stringsResult) + && Objects.equals(this.bufLength, docVisualExtendedFieldRfid.bufLength) + && Objects.equals(this.bufText, docVisualExtendedFieldRfid.bufText) + && Objects.equals(this.fieldMask, docVisualExtendedFieldRfid.fieldMask) + && Objects.equals(this.validity, docVisualExtendedFieldRfid.validity) + && Objects.equals(this.inComparison, docVisualExtendedFieldRfid.inComparison) + && Objects.equals(this.reserved2, docVisualExtendedFieldRfid.reserved2) + && Objects.equals(this.reserved3, docVisualExtendedFieldRfid.reserved3); + } + + @Override + public int hashCode() { + return Objects.hash( + rfIDOriginDG, + rfIDOriginDGTag, + rfIDOriginTagEntry, + rfIDOriginEntryView, + fieldType, + wFieldType, + fieldName, + stringsCount, + stringsResult, + bufLength, + bufText, + fieldMask, + validity, + inComparison, + reserved2, + reserved3); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DocVisualExtendedFieldRfid {\n"); + sb.append(" rfIDOriginDG: ").append(toIndentedString(rfIDOriginDG)).append("\n"); + sb.append(" rfIDOriginDGTag: ").append(toIndentedString(rfIDOriginDGTag)).append("\n"); + sb.append(" rfIDOriginTagEntry: ").append(toIndentedString(rfIDOriginTagEntry)).append("\n"); + sb.append(" rfIDOriginEntryView: ") + .append(toIndentedString(rfIDOriginEntryView)) + .append("\n"); + sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n"); + sb.append(" wFieldType: ").append(toIndentedString(wFieldType)).append("\n"); + sb.append(" fieldName: ").append(toIndentedString(fieldName)).append("\n"); + sb.append(" stringsCount: ").append(toIndentedString(stringsCount)).append("\n"); + sb.append(" stringsResult: ").append(toIndentedString(stringsResult)).append("\n"); + sb.append(" bufLength: ").append(toIndentedString(bufLength)).append("\n"); + sb.append(" bufText: ").append(toIndentedString(bufText)).append("\n"); + sb.append(" fieldMask: ").append(toIndentedString(fieldMask)).append("\n"); + sb.append(" validity: ").append(toIndentedString(validity)).append("\n"); + sb.append(" inComparison: ").append(toIndentedString(inComparison)).append("\n"); + sb.append(" reserved2: ").append(toIndentedString(reserved2)).append("\n"); + sb.append(" reserved3: ").append(toIndentedString(reserved3)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentBinaryInfoResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentBinaryInfoResult.java new file mode 100644 index 00000000..344c1af8 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentBinaryInfoResult.java @@ -0,0 +1,80 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.util.Objects; + +/** DocumentBinaryInfoResult */ +public class DocumentBinaryInfoResult extends ResultItem { + public static final String SERIALIZED_NAME_TDOC_BINARY_INFO = "TDocBinaryInfo"; + + @SerializedName(SERIALIZED_NAME_TDOC_BINARY_INFO) + private TDocBinaryInfo tdocBinaryInfo; + + public DocumentBinaryInfoResult withTdocBinaryInfo(TDocBinaryInfo tdocBinaryInfo) { + this.tdocBinaryInfo = tdocBinaryInfo; + return this; + } + + /** + * Get tdocBinaryInfo + * + * @return tdocBinaryInfo + */ + public TDocBinaryInfo getTdocBinaryInfo() { + return tdocBinaryInfo; + } + + public void setTdocBinaryInfo(TDocBinaryInfo tdocBinaryInfo) { + this.tdocBinaryInfo = tdocBinaryInfo; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DocumentBinaryInfoResult documentBinaryInfoResult = (DocumentBinaryInfoResult) o; + return Objects.equals(this.tdocBinaryInfo, documentBinaryInfoResult.tdocBinaryInfo) + && super.equals(o); + } + + @Override + public int hashCode() { + return Objects.hash(tdocBinaryInfo, super.hashCode()); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DocumentBinaryInfoResult {\n"); + sb.append(" ").append(toIndentedString(super.toString())).append("\n"); + sb.append(" tdocBinaryInfo: ").append(toIndentedString(tdocBinaryInfo)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentFormat.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentFormat.java index 484c81f7..0c7b3932 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentFormat.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentFormat.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -14,6 +14,9 @@ public class DocumentFormat { + /** Unknown document format */ + public static final int UNKNOWN = -1; + /** ID1 document format */ public static final int ID1 = 0; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentImage.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentImage.java index 4577bafb..30dc2fda 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentImage.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentImage.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentImageResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentImageResult.java index 08a5cf40..f5ae0cc0 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentImageResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentImageResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentPosition.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentPosition.java index e7babc31..e9499f4e 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentPosition.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentPosition.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -78,7 +78,6 @@ public DocumentPosition withDocFormat(Integer docFormat) { * * @return docFormat */ - @javax.annotation.Nullable public Integer getDocFormat() { return docFormat; } @@ -93,11 +92,10 @@ public DocumentPosition withAngle(BigDecimal angle) { } /** - * Get angle + * Document rotation angle * * @return angle */ - @javax.annotation.Nullable public BigDecimal getAngle() { return angle; } @@ -112,11 +110,10 @@ public DocumentPosition withWidth(Integer width) { } /** - * Get width + * Document width * * @return width */ - @javax.annotation.Nullable public Integer getWidth() { return width; } @@ -131,11 +128,10 @@ public DocumentPosition withHeight(Integer height) { } /** - * Get height + * Document height * * @return height */ - @javax.annotation.Nullable public Integer getHeight() { return height; } @@ -154,7 +150,6 @@ public DocumentPosition withCenter(Point center) { * * @return center */ - @javax.annotation.Nullable public Point getCenter() { return center; } @@ -173,7 +168,6 @@ public DocumentPosition withLeftBottom(Point leftBottom) { * * @return leftBottom */ - @javax.annotation.Nullable public Point getLeftBottom() { return leftBottom; } @@ -192,7 +186,6 @@ public DocumentPosition withLeftTop(Point leftTop) { * * @return leftTop */ - @javax.annotation.Nullable public Point getLeftTop() { return leftTop; } @@ -211,7 +204,6 @@ public DocumentPosition withRightBottom(Point rightBottom) { * * @return rightBottom */ - @javax.annotation.Nullable public Point getRightBottom() { return rightBottom; } @@ -230,7 +222,6 @@ public DocumentPosition withRightTop(Point rightTop) { * * @return rightTop */ - @javax.annotation.Nullable public Point getRightTop() { return rightTop; } @@ -249,7 +240,6 @@ public DocumentPosition withDpi(Integer dpi) { * * @return dpi */ - @javax.annotation.Nullable public Integer getDpi() { return dpi; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentPositionResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentPositionResult.java index f802daa9..981fc8c8 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentPositionResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentPositionResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,7 +32,6 @@ public DocumentPositionResult withDocumentPosition(DocumentPosition documentPosi * * @return documentPosition */ - @javax.annotation.Nullable public DocumentPosition getDocumentPosition() { return documentPosition; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentType.java index 5b947aa6..293047b4 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentType.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentType.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentTypeRecognitionResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentTypeRecognitionResult.java index ae410450..89b4f1a5 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentTypeRecognitionResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentTypeRecognitionResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentTypesCandidates.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentTypesCandidates.java index ca60dad5..0fde4a62 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentTypesCandidates.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentTypesCandidates.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentTypesCandidatesList.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentTypesCandidatesList.java index e34aa2cb..baec61a1 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentTypesCandidatesList.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentTypesCandidatesList.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentTypesCandidatesResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentTypesCandidatesResult.java index 37cfadf9..debe9545 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentTypesCandidatesResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentTypesCandidatesResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentsDatabase.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentsDatabase.java index 240e4b1e..8863d15a 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentsDatabase.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocumentsDatabase.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/EncryptedRCLResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/EncryptedRCLResult.java index c09ff32b..34dbca3e 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/EncryptedRCLResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/EncryptedRCLResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/FDSIDList.java b/client/src/main/generated/com/regula/documentreader/webclient/model/FDSIDList.java index 6fd51143..1c90160a 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/FDSIDList.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/FDSIDList.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ package com.regula.documentreader.webclient.model; import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import java.util.Objects; @@ -24,10 +25,15 @@ public class FDSIDList { @SerializedName(SERIALIZED_NAME_IC_A_O_CODE) private String icAOCode; + public static final String SERIALIZED_NAME_COUNT = "Count"; + + @SerializedName(SERIALIZED_NAME_COUNT) + private BigDecimal count; + public static final String SERIALIZED_NAME_LIST = "List"; @SerializedName(SERIALIZED_NAME_LIST) - private List list = null; + private List list = new ArrayList(); public static final String SERIALIZED_NAME_D_TYPE = "dType"; @@ -84,7 +90,6 @@ public FDSIDList withIcAOCode(String icAOCode) { * * @return icAOCode */ - @javax.annotation.Nullable public String getIcAOCode() { return icAOCode; } @@ -93,15 +98,30 @@ public void setIcAOCode(String icAOCode) { this.icAOCode = icAOCode; } + public FDSIDList withCount(BigDecimal count) { + this.count = count; + return this; + } + + /** + * Number of elements in the List + * + * @return count + */ + public BigDecimal getCount() { + return count; + } + + public void setCount(BigDecimal count) { + this.count = count; + } + public FDSIDList withList(List list) { this.list = list; return this; } public FDSIDList addListItem(Integer listItem) { - if (this.list == null) { - this.list = new ArrayList(); - } this.list.add(listItem); return this; } @@ -111,7 +131,6 @@ public FDSIDList addListItem(Integer listItem) { * * @return list */ - @javax.annotation.Nullable public List getList() { return list; } @@ -130,7 +149,6 @@ public FDSIDList withDType(Integer dType) { * * @return dType */ - @javax.annotation.Nullable public Integer getdType() { return dType; } @@ -149,7 +167,6 @@ public FDSIDList withDFormat(Integer dFormat) { * * @return dFormat */ - @javax.annotation.Nullable public Integer getdFormat() { return dFormat; } @@ -168,7 +185,6 @@ public FDSIDList withDMRZ(Boolean dMRZ) { * * @return dMRZ */ - @javax.annotation.Nullable public Boolean getdMRZ() { return dMRZ; } @@ -206,7 +222,6 @@ public FDSIDList withDYear(String dYear) { * * @return dYear */ - @javax.annotation.Nullable public String getdYear() { return dYear; } @@ -225,7 +240,6 @@ public FDSIDList withDCountryName(String dCountryName) { * * @return dCountryName */ - @javax.annotation.Nullable public String getdCountryName() { return dCountryName; } @@ -282,7 +296,6 @@ public FDSIDList withIsDeprecated(Boolean isDeprecated) { * * @return isDeprecated */ - @javax.annotation.Nullable public Boolean getIsDeprecated() { return isDeprecated; } @@ -301,6 +314,7 @@ public boolean equals(java.lang.Object o) { } FDSIDList fdSIDList = (FDSIDList) o; return Objects.equals(this.icAOCode, fdSIDList.icAOCode) + && Objects.equals(this.count, fdSIDList.count) && Objects.equals(this.list, fdSIDList.list) && Objects.equals(this.dType, fdSIDList.dType) && Objects.equals(this.dFormat, fdSIDList.dFormat) @@ -317,6 +331,7 @@ public boolean equals(java.lang.Object o) { public int hashCode() { return Objects.hash( icAOCode, + count, list, dType, dFormat, @@ -334,6 +349,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class FDSIDList {\n"); sb.append(" icAOCode: ").append(toIndentedString(icAOCode)).append("\n"); + sb.append(" count: ").append(toIndentedString(count)).append("\n"); sb.append(" list: ").append(toIndentedString(list)).append("\n"); sb.append(" dType: ").append(toIndentedString(dType)).append("\n"); sb.append(" dFormat: ").append(toIndentedString(dFormat)).append("\n"); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/FaceApi.java b/client/src/main/generated/com/regula/documentreader/webclient/model/FaceApi.java index c45f7eda..f0b8706e 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/FaceApi.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/FaceApi.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/FaceApiSearch.java b/client/src/main/generated/com/regula/documentreader/webclient/model/FaceApiSearch.java index 89801470..c23117e3 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/FaceApiSearch.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/FaceApiSearch.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,7 +33,7 @@ public class FaceApiSearch { public static final String SERIALIZED_NAME_THRESHOLD = "threshold"; @SerializedName(SERIALIZED_NAME_THRESHOLD) - private Float threshold = null; + private Float threshold; public static final String SERIALIZED_NAME_GROUP_IDS = "group_ids"; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/FiberResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/FiberResult.java index 70aea49b..687c7247 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/FiberResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/FiberResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -18,7 +18,27 @@ import java.util.Objects; /** FiberResult */ -public class FiberResult extends AuthenticityCheckResultItem { +public class FiberResult { + public static final String SERIALIZED_NAME_TYPE = "Type"; + + @SerializedName(SERIALIZED_NAME_TYPE) + private Integer type = 0; + + public static final String SERIALIZED_NAME_ELEMENT_RESULT = "ElementResult"; + + @SerializedName(SERIALIZED_NAME_ELEMENT_RESULT) + private Integer elementResult; + + public static final String SERIALIZED_NAME_ELEMENT_DIAGNOSE = "ElementDiagnose"; + + @SerializedName(SERIALIZED_NAME_ELEMENT_DIAGNOSE) + private Integer elementDiagnose; + + public static final String SERIALIZED_NAME_PERCENT_VALUE = "PercentValue"; + + @SerializedName(SERIALIZED_NAME_PERCENT_VALUE) + private Integer percentValue; + public static final String SERIALIZED_NAME_RECT_COUNT = "RectCount"; @SerializedName(SERIALIZED_NAME_RECT_COUNT) @@ -42,27 +62,103 @@ public class FiberResult extends AuthenticityCheckResultItem { public static final String SERIALIZED_NAME_RECT_ARRAY = "RectArray"; @SerializedName(SERIALIZED_NAME_RECT_ARRAY) - private List rectArray = null; + private List rectArray = new ArrayList(); public static final String SERIALIZED_NAME_WIDTH = "Width"; @SerializedName(SERIALIZED_NAME_WIDTH) - private List width = null; + private List width = new ArrayList(); public static final String SERIALIZED_NAME_LENGTH = "Length"; @SerializedName(SERIALIZED_NAME_LENGTH) - private List length = null; + private List length = new ArrayList(); public static final String SERIALIZED_NAME_AREA = "Area"; @SerializedName(SERIALIZED_NAME_AREA) - private List area = null; + private List area = new ArrayList(); public static final String SERIALIZED_NAME_COLOR_VALUES = "ColorValues"; @SerializedName(SERIALIZED_NAME_COLOR_VALUES) - private List colorValues = null; + private List colorValues = new ArrayList(); + + public FiberResult withType(Integer type) { + this.type = type; + return this; + } + + /** + * Same as authenticity result type, but used for safe parsing of not-described values: + * https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/authenticity-result-type/ + * + * @return type + */ + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + public FiberResult withElementResult(Integer elementResult) { + this.elementResult = elementResult; + return this; + } + + /** + * Get elementResult + * + * @return elementResult + */ + @javax.annotation.Nullable + public Integer getElementResult() { + return elementResult; + } + + public void setElementResult(Integer elementResult) { + this.elementResult = elementResult; + } + + public FiberResult withElementDiagnose(Integer elementDiagnose) { + this.elementDiagnose = elementDiagnose; + return this; + } + + /** + * Get elementDiagnose + * + * @return elementDiagnose + */ + @javax.annotation.Nullable + public Integer getElementDiagnose() { + return elementDiagnose; + } + + public void setElementDiagnose(Integer elementDiagnose) { + this.elementDiagnose = elementDiagnose; + } + + public FiberResult withPercentValue(Integer percentValue) { + this.percentValue = percentValue; + return this; + } + + /** + * Get percentValue + * + * @return percentValue + */ + @javax.annotation.Nullable + public Integer getPercentValue() { + return percentValue; + } + + public void setPercentValue(Integer percentValue) { + this.percentValue = percentValue; + } public FiberResult withRectCount(Integer rectCount) { this.rectCount = rectCount; @@ -74,7 +170,6 @@ public FiberResult withRectCount(Integer rectCount) { * * @return rectCount */ - @javax.annotation.Nullable public Integer getRectCount() { return rectCount; } @@ -93,7 +188,6 @@ public FiberResult withExpectedCount(Integer expectedCount) { * * @return expectedCount */ - @javax.annotation.Nullable public Integer getExpectedCount() { return expectedCount; } @@ -146,9 +240,6 @@ public FiberResult withRectArray(List rectArray) { } public FiberResult addRectArrayItem(RectangleCoordinates rectArrayItem) { - if (this.rectArray == null) { - this.rectArray = new ArrayList(); - } this.rectArray.add(rectArrayItem); return this; } @@ -158,7 +249,6 @@ public FiberResult addRectArrayItem(RectangleCoordinates rectArrayItem) { * * @return rectArray */ - @javax.annotation.Nullable public List getRectArray() { return rectArray; } @@ -173,9 +263,6 @@ public FiberResult withWidth(List width) { } public FiberResult addWidthItem(Integer widthItem) { - if (this.width == null) { - this.width = new ArrayList(); - } this.width.add(widthItem); return this; } @@ -185,7 +272,6 @@ public FiberResult addWidthItem(Integer widthItem) { * * @return width */ - @javax.annotation.Nullable public List getWidth() { return width; } @@ -200,9 +286,6 @@ public FiberResult withLength(List length) { } public FiberResult addLengthItem(Integer lengthItem) { - if (this.length == null) { - this.length = new ArrayList(); - } this.length.add(lengthItem); return this; } @@ -212,7 +295,6 @@ public FiberResult addLengthItem(Integer lengthItem) { * * @return length */ - @javax.annotation.Nullable public List getLength() { return length; } @@ -227,9 +309,6 @@ public FiberResult withArea(List area) { } public FiberResult addAreaItem(Integer areaItem) { - if (this.area == null) { - this.area = new ArrayList(); - } this.area.add(areaItem); return this; } @@ -239,7 +318,6 @@ public FiberResult addAreaItem(Integer areaItem) { * * @return area */ - @javax.annotation.Nullable public List getArea() { return area; } @@ -254,9 +332,6 @@ public FiberResult withColorValues(List colorValues) { } public FiberResult addColorValuesItem(Integer colorValuesItem) { - if (this.colorValues == null) { - this.colorValues = new ArrayList(); - } this.colorValues.add(colorValuesItem); return this; } @@ -266,7 +341,6 @@ public FiberResult addColorValuesItem(Integer colorValuesItem) { * * @return colorValues */ - @javax.annotation.Nullable public List getColorValues() { return colorValues; } @@ -284,7 +358,11 @@ public boolean equals(java.lang.Object o) { return false; } FiberResult fiberResult = (FiberResult) o; - return Objects.equals(this.rectCount, fiberResult.rectCount) + return Objects.equals(this.type, fiberResult.type) + && Objects.equals(this.elementResult, fiberResult.elementResult) + && Objects.equals(this.elementDiagnose, fiberResult.elementDiagnose) + && Objects.equals(this.percentValue, fiberResult.percentValue) + && Objects.equals(this.rectCount, fiberResult.rectCount) && Objects.equals(this.expectedCount, fiberResult.expectedCount) && Objects.equals(this.lightValue, fiberResult.lightValue) && Objects.equals(this.lightDisp, fiberResult.lightDisp) @@ -292,13 +370,16 @@ public boolean equals(java.lang.Object o) { && Objects.equals(this.width, fiberResult.width) && Objects.equals(this.length, fiberResult.length) && Objects.equals(this.area, fiberResult.area) - && Objects.equals(this.colorValues, fiberResult.colorValues) - && super.equals(o); + && Objects.equals(this.colorValues, fiberResult.colorValues); } @Override public int hashCode() { return Objects.hash( + type, + elementResult, + elementDiagnose, + percentValue, rectCount, expectedCount, lightValue, @@ -307,15 +388,17 @@ public int hashCode() { width, length, area, - colorValues, - super.hashCode()); + colorValues); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class FiberResult {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" elementResult: ").append(toIndentedString(elementResult)).append("\n"); + sb.append(" elementDiagnose: ").append(toIndentedString(elementDiagnose)).append("\n"); + sb.append(" percentValue: ").append(toIndentedString(percentValue)).append("\n"); sb.append(" rectCount: ").append(toIndentedString(rectCount)).append("\n"); sb.append(" expectedCount: ").append(toIndentedString(expectedCount)).append("\n"); sb.append(" lightValue: ").append(toIndentedString(lightValue)).append("\n"); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/GetTransactionsByTagResponse.java b/client/src/main/generated/com/regula/documentreader/webclient/model/GetTransactionsByTagResponse.java index 47b8bce5..633eac4f 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/GetTransactionsByTagResponse.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/GetTransactionsByTagResponse.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicField.java b/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicField.java index ed0a4b7e..bdf2e0a1 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicField.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicField.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,43 +15,23 @@ import com.google.gson.annotations.SerializedName; import java.util.Objects; -/** GraphicField */ +/** Information about one graphic field - abstract class */ public class GraphicField { public static final String SERIALIZED_NAME_FIELD_TYPE = "FieldType"; @SerializedName(SERIALIZED_NAME_FIELD_TYPE) private Integer fieldType; + public static final String SERIALIZED_NAME_FIELD_NAME = "FieldName"; + + @SerializedName(SERIALIZED_NAME_FIELD_NAME) + private String fieldName; + public static final String SERIALIZED_NAME_IMAGE = "image"; @SerializedName(SERIALIZED_NAME_IMAGE) private ImageData image; - public static final String SERIALIZED_NAME_FIELD_RECT = "FieldRect"; - - @SerializedName(SERIALIZED_NAME_FIELD_RECT) - private RectangleCoordinates fieldRect; - - public static final String SERIALIZED_NAME_RF_I_D_ORIGIN_D_G = "RFID_OriginDG"; - - @SerializedName(SERIALIZED_NAME_RF_I_D_ORIGIN_D_G) - private Integer rfIDOriginDG; - - public static final String SERIALIZED_NAME_RF_I_D_ORIGIN_D_G_TAG = "RFID_OriginDGTag"; - - @SerializedName(SERIALIZED_NAME_RF_I_D_ORIGIN_D_G_TAG) - private Integer rfIDOriginDGTag; - - public static final String SERIALIZED_NAME_RF_I_D_ORIGIN_TAG_ENTRY = "RFID_OriginTagEntry"; - - @SerializedName(SERIALIZED_NAME_RF_I_D_ORIGIN_TAG_ENTRY) - private Integer rfIDOriginTagEntry; - - public static final String SERIALIZED_NAME_RF_I_D_ORIGIN_ENTRY_VIEW = "RFID_OriginEntryView"; - - @SerializedName(SERIALIZED_NAME_RF_I_D_ORIGIN_ENTRY_VIEW) - private Integer rfIDOriginEntryView; - public GraphicField withFieldType(Integer fieldType) { this.fieldType = fieldType; return this; @@ -70,118 +50,40 @@ public void setFieldType(Integer fieldType) { this.fieldType = fieldType; } - public GraphicField withImage(ImageData image) { - this.image = image; - return this; - } - - /** - * Get image - * - * @return image - */ - public ImageData getImage() { - return image; - } - - public void setImage(ImageData image) { - this.image = image; - } - - public GraphicField withFieldRect(RectangleCoordinates fieldRect) { - this.fieldRect = fieldRect; - return this; - } - - /** - * Get fieldRect - * - * @return fieldRect - */ - @javax.annotation.Nullable - public RectangleCoordinates getFieldRect() { - return fieldRect; - } - - public void setFieldRect(RectangleCoordinates fieldRect) { - this.fieldRect = fieldRect; - } - - public GraphicField withRfIDOriginDG(Integer rfIDOriginDG) { - this.rfIDOriginDG = rfIDOriginDG; - return this; - } - - /** - * Source data group file. Only for Result.RFID_GRAPHICS result. - * - * @return rfIDOriginDG - */ - @javax.annotation.Nullable - public Integer getRfIDOriginDG() { - return rfIDOriginDG; - } - - public void setRfIDOriginDG(Integer rfIDOriginDG) { - this.rfIDOriginDG = rfIDOriginDG; - } - - public GraphicField withRfIDOriginDGTag(Integer rfIDOriginDGTag) { - this.rfIDOriginDGTag = rfIDOriginDGTag; - return this; - } - - /** - * Index of the source record of the image with biometric information in the information data - * group. Only for Result.RFID_GRAPHICS result. - * - * @return rfIDOriginDGTag - */ - @javax.annotation.Nullable - public Integer getRfIDOriginDGTag() { - return rfIDOriginDGTag; - } - - public void setRfIDOriginDGTag(Integer rfIDOriginDGTag) { - this.rfIDOriginDGTag = rfIDOriginDGTag; - } - - public GraphicField withRfIDOriginTagEntry(Integer rfIDOriginTagEntry) { - this.rfIDOriginTagEntry = rfIDOriginTagEntry; + public GraphicField withFieldName(String fieldName) { + this.fieldName = fieldName; return this; } /** - * Index of the template in the record with biometric data. Only for Result.RFID_GRAPHICS result. + * Graphic field symbolic name * - * @return rfIDOriginTagEntry + * @return fieldName */ - @javax.annotation.Nullable - public Integer getRfIDOriginTagEntry() { - return rfIDOriginTagEntry; + public String getFieldName() { + return fieldName; } - public void setRfIDOriginTagEntry(Integer rfIDOriginTagEntry) { - this.rfIDOriginTagEntry = rfIDOriginTagEntry; + public void setFieldName(String fieldName) { + this.fieldName = fieldName; } - public GraphicField withRfIDOriginEntryView(Integer rfIDOriginEntryView) { - this.rfIDOriginEntryView = rfIDOriginEntryView; + public GraphicField withImage(ImageData image) { + this.image = image; return this; } /** - * Index of the variant of the biometric data template. Only for Result.RFID_GRAPHICS result. + * Get image * - * @return rfIDOriginEntryView + * @return image */ - @javax.annotation.Nullable - public Integer getRfIDOriginEntryView() { - return rfIDOriginEntryView; + public ImageData getImage() { + return image; } - public void setRfIDOriginEntryView(Integer rfIDOriginEntryView) { - this.rfIDOriginEntryView = rfIDOriginEntryView; + public void setImage(ImageData image) { + this.image = image; } @Override @@ -194,24 +96,13 @@ public boolean equals(java.lang.Object o) { } GraphicField graphicField = (GraphicField) o; return Objects.equals(this.fieldType, graphicField.fieldType) - && Objects.equals(this.image, graphicField.image) - && Objects.equals(this.fieldRect, graphicField.fieldRect) - && Objects.equals(this.rfIDOriginDG, graphicField.rfIDOriginDG) - && Objects.equals(this.rfIDOriginDGTag, graphicField.rfIDOriginDGTag) - && Objects.equals(this.rfIDOriginTagEntry, graphicField.rfIDOriginTagEntry) - && Objects.equals(this.rfIDOriginEntryView, graphicField.rfIDOriginEntryView); + && Objects.equals(this.fieldName, graphicField.fieldName) + && Objects.equals(this.image, graphicField.image); } @Override public int hashCode() { - return Objects.hash( - fieldType, - image, - fieldRect, - rfIDOriginDG, - rfIDOriginDGTag, - rfIDOriginTagEntry, - rfIDOriginEntryView); + return Objects.hash(fieldType, fieldName, image); } @Override @@ -219,14 +110,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GraphicField {\n"); sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n"); + sb.append(" fieldName: ").append(toIndentedString(fieldName)).append("\n"); sb.append(" image: ").append(toIndentedString(image)).append("\n"); - sb.append(" fieldRect: ").append(toIndentedString(fieldRect)).append("\n"); - sb.append(" rfIDOriginDG: ").append(toIndentedString(rfIDOriginDG)).append("\n"); - sb.append(" rfIDOriginDGTag: ").append(toIndentedString(rfIDOriginDGTag)).append("\n"); - sb.append(" rfIDOriginTagEntry: ").append(toIndentedString(rfIDOriginTagEntry)).append("\n"); - sb.append(" rfIDOriginEntryView: ") - .append(toIndentedString(rfIDOriginEntryView)) - .append("\n"); sb.append("}"); return sb.toString(); } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicFieldRect.java b/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicFieldRect.java new file mode 100644 index 00000000..503737a0 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicFieldRect.java @@ -0,0 +1,153 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.util.Objects; + +/** Information about one graphic field, which is a rectangle */ +public class GraphicFieldRect { + public static final String SERIALIZED_NAME_FIELD_RECT = "FieldRect"; + + @SerializedName(SERIALIZED_NAME_FIELD_RECT) + private RectangleCoordinates fieldRect; + + public static final String SERIALIZED_NAME_FIELD_TYPE = "FieldType"; + + @SerializedName(SERIALIZED_NAME_FIELD_TYPE) + private Integer fieldType; + + public static final String SERIALIZED_NAME_FIELD_NAME = "FieldName"; + + @SerializedName(SERIALIZED_NAME_FIELD_NAME) + private String fieldName; + + public static final String SERIALIZED_NAME_IMAGE = "image"; + + @SerializedName(SERIALIZED_NAME_IMAGE) + private ImageData image; + + public GraphicFieldRect withFieldRect(RectangleCoordinates fieldRect) { + this.fieldRect = fieldRect; + return this; + } + + /** + * Get fieldRect + * + * @return fieldRect + */ + public RectangleCoordinates getFieldRect() { + return fieldRect; + } + + public void setFieldRect(RectangleCoordinates fieldRect) { + this.fieldRect = fieldRect; + } + + public GraphicFieldRect withFieldType(Integer fieldType) { + this.fieldType = fieldType; + return this; + } + + /** + * Get fieldType + * + * @return fieldType + */ + public Integer getFieldType() { + return fieldType; + } + + public void setFieldType(Integer fieldType) { + this.fieldType = fieldType; + } + + public GraphicFieldRect withFieldName(String fieldName) { + this.fieldName = fieldName; + return this; + } + + /** + * Graphic field symbolic name + * + * @return fieldName + */ + public String getFieldName() { + return fieldName; + } + + public void setFieldName(String fieldName) { + this.fieldName = fieldName; + } + + public GraphicFieldRect withImage(ImageData image) { + this.image = image; + return this; + } + + /** + * Get image + * + * @return image + */ + public ImageData getImage() { + return image; + } + + public void setImage(ImageData image) { + this.image = image; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GraphicFieldRect graphicFieldRect = (GraphicFieldRect) o; + return Objects.equals(this.fieldRect, graphicFieldRect.fieldRect) + && Objects.equals(this.fieldType, graphicFieldRect.fieldType) + && Objects.equals(this.fieldName, graphicFieldRect.fieldName) + && Objects.equals(this.image, graphicFieldRect.image); + } + + @Override + public int hashCode() { + return Objects.hash(fieldRect, fieldType, fieldName, image); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GraphicFieldRect {\n"); + sb.append(" fieldRect: ").append(toIndentedString(fieldRect)).append("\n"); + sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n"); + sb.append(" fieldName: ").append(toIndentedString(fieldName)).append("\n"); + sb.append(" image: ").append(toIndentedString(image)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicFieldRfid.java b/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicFieldRfid.java new file mode 100644 index 00000000..e237b187 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicFieldRfid.java @@ -0,0 +1,238 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.util.Objects; + +/** Information about one graphic field, which is a RFID */ +public class GraphicFieldRfid { + public static final String SERIALIZED_NAME_RF_I_D_ORIGIN_D_G = "RFID_OriginDG"; + + @SerializedName(SERIALIZED_NAME_RF_I_D_ORIGIN_D_G) + private RfidDataGroupTypeTag rfIDOriginDG; + + public static final String SERIALIZED_NAME_RF_I_D_ORIGIN_D_G_TAG = "RFID_OriginDGTag"; + + @SerializedName(SERIALIZED_NAME_RF_I_D_ORIGIN_D_G_TAG) + private Integer rfIDOriginDGTag; + + public static final String SERIALIZED_NAME_RF_I_D_ORIGIN_TAG_ENTRY = "RFID_OriginTagEntry"; + + @SerializedName(SERIALIZED_NAME_RF_I_D_ORIGIN_TAG_ENTRY) + private Integer rfIDOriginTagEntry; + + public static final String SERIALIZED_NAME_RF_I_D_ORIGIN_ENTRY_VIEW = "RFID_OriginEntryView"; + + @SerializedName(SERIALIZED_NAME_RF_I_D_ORIGIN_ENTRY_VIEW) + private Integer rfIDOriginEntryView; + + public static final String SERIALIZED_NAME_FIELD_TYPE = "FieldType"; + + @SerializedName(SERIALIZED_NAME_FIELD_TYPE) + private Integer fieldType; + + public static final String SERIALIZED_NAME_FIELD_NAME = "FieldName"; + + @SerializedName(SERIALIZED_NAME_FIELD_NAME) + private String fieldName; + + public static final String SERIALIZED_NAME_IMAGE = "image"; + + @SerializedName(SERIALIZED_NAME_IMAGE) + private ImageData image; + + public GraphicFieldRfid withRfIDOriginDG(RfidDataGroupTypeTag rfIDOriginDG) { + this.rfIDOriginDG = rfIDOriginDG; + return this; + } + + /** + * Get rfIDOriginDG + * + * @return rfIDOriginDG + */ + public RfidDataGroupTypeTag getRfIDOriginDG() { + return rfIDOriginDG; + } + + public void setRfIDOriginDG(RfidDataGroupTypeTag rfIDOriginDG) { + this.rfIDOriginDG = rfIDOriginDG; + } + + public GraphicFieldRfid withRfIDOriginDGTag(Integer rfIDOriginDGTag) { + this.rfIDOriginDGTag = rfIDOriginDGTag; + return this; + } + + /** + * Index of the source record of the image with biometric information in the information data + * group. Only for Result.RFID_GRAPHICS result. + * + * @return rfIDOriginDGTag + */ + public Integer getRfIDOriginDGTag() { + return rfIDOriginDGTag; + } + + public void setRfIDOriginDGTag(Integer rfIDOriginDGTag) { + this.rfIDOriginDGTag = rfIDOriginDGTag; + } + + public GraphicFieldRfid withRfIDOriginTagEntry(Integer rfIDOriginTagEntry) { + this.rfIDOriginTagEntry = rfIDOriginTagEntry; + return this; + } + + /** + * Index of the template in the record with biometric data. Only for Result.RFID_GRAPHICS result. + * + * @return rfIDOriginTagEntry + */ + public Integer getRfIDOriginTagEntry() { + return rfIDOriginTagEntry; + } + + public void setRfIDOriginTagEntry(Integer rfIDOriginTagEntry) { + this.rfIDOriginTagEntry = rfIDOriginTagEntry; + } + + public GraphicFieldRfid withRfIDOriginEntryView(Integer rfIDOriginEntryView) { + this.rfIDOriginEntryView = rfIDOriginEntryView; + return this; + } + + /** + * Index of the variant of the biometric data template. Only for Result.RFID_GRAPHICS result. + * + * @return rfIDOriginEntryView + */ + public Integer getRfIDOriginEntryView() { + return rfIDOriginEntryView; + } + + public void setRfIDOriginEntryView(Integer rfIDOriginEntryView) { + this.rfIDOriginEntryView = rfIDOriginEntryView; + } + + public GraphicFieldRfid withFieldType(Integer fieldType) { + this.fieldType = fieldType; + return this; + } + + /** + * Get fieldType + * + * @return fieldType + */ + public Integer getFieldType() { + return fieldType; + } + + public void setFieldType(Integer fieldType) { + this.fieldType = fieldType; + } + + public GraphicFieldRfid withFieldName(String fieldName) { + this.fieldName = fieldName; + return this; + } + + /** + * Graphic field symbolic name + * + * @return fieldName + */ + public String getFieldName() { + return fieldName; + } + + public void setFieldName(String fieldName) { + this.fieldName = fieldName; + } + + public GraphicFieldRfid withImage(ImageData image) { + this.image = image; + return this; + } + + /** + * Get image + * + * @return image + */ + public ImageData getImage() { + return image; + } + + public void setImage(ImageData image) { + this.image = image; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GraphicFieldRfid graphicFieldRfid = (GraphicFieldRfid) o; + return Objects.equals(this.rfIDOriginDG, graphicFieldRfid.rfIDOriginDG) + && Objects.equals(this.rfIDOriginDGTag, graphicFieldRfid.rfIDOriginDGTag) + && Objects.equals(this.rfIDOriginTagEntry, graphicFieldRfid.rfIDOriginTagEntry) + && Objects.equals(this.rfIDOriginEntryView, graphicFieldRfid.rfIDOriginEntryView) + && Objects.equals(this.fieldType, graphicFieldRfid.fieldType) + && Objects.equals(this.fieldName, graphicFieldRfid.fieldName) + && Objects.equals(this.image, graphicFieldRfid.image); + } + + @Override + public int hashCode() { + return Objects.hash( + rfIDOriginDG, + rfIDOriginDGTag, + rfIDOriginTagEntry, + rfIDOriginEntryView, + fieldType, + fieldName, + image); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GraphicFieldRfid {\n"); + sb.append(" rfIDOriginDG: ").append(toIndentedString(rfIDOriginDG)).append("\n"); + sb.append(" rfIDOriginDGTag: ").append(toIndentedString(rfIDOriginDGTag)).append("\n"); + sb.append(" rfIDOriginTagEntry: ").append(toIndentedString(rfIDOriginTagEntry)).append("\n"); + sb.append(" rfIDOriginEntryView: ") + .append(toIndentedString(rfIDOriginEntryView)) + .append("\n"); + sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n"); + sb.append(" fieldName: ").append(toIndentedString(fieldName)).append("\n"); + sb.append(" image: ").append(toIndentedString(image)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicFieldType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicFieldType.java index c900a60b..3880621f 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicFieldType.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicFieldType.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,6 +51,9 @@ public class GraphicFieldType { /** Stamp */ public static final int STAMP = 211; + /** Portrait of child */ + public static final int PORTRAIT_OF_CHILD = 212; + /** Contact chip */ public static final int CONTACT_CHIP = 213; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicFieldsList.java b/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicFieldsList.java index 28dd2058..21e9c933 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicFieldsList.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicFieldsList.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ package com.regula.documentreader.webclient.model; import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import java.util.Objects; @@ -22,14 +23,22 @@ public class GraphicFieldsList { public static final String SERIALIZED_NAME_P_ARRAY_FIELDS = "pArrayFields"; @SerializedName(SERIALIZED_NAME_P_ARRAY_FIELDS) - private List pArrayFields = new ArrayList(); + private List pArrayFields = + new ArrayList(); - public GraphicFieldsList withPArrayFields(List pArrayFields) { + public static final String SERIALIZED_NAME_N_FIELDS = "nFields"; + + @SerializedName(SERIALIZED_NAME_N_FIELDS) + private BigDecimal nFields; + + public GraphicFieldsList withPArrayFields( + List pArrayFields) { this.pArrayFields = pArrayFields; return this; } - public GraphicFieldsList addPArrayFieldsItem(GraphicField pArrayFieldsItem) { + public GraphicFieldsList addPArrayFieldsItem( + AnyOfGraphicFieldRectGraphicFieldRfid pArrayFieldsItem) { this.pArrayFields.add(pArrayFieldsItem); return this; } @@ -39,14 +48,32 @@ public GraphicFieldsList addPArrayFieldsItem(GraphicField pArrayFieldsItem) { * * @return pArrayFields */ - public List getpArrayFields() { + public List getpArrayFields() { return pArrayFields; } - public void setpArrayFields(List pArrayFields) { + public void setpArrayFields(List pArrayFields) { this.pArrayFields = pArrayFields; } + public GraphicFieldsList withNFields(BigDecimal nFields) { + this.nFields = nFields; + return this; + } + + /** + * Number of pArrayFields array elements + * + * @return nFields + */ + public BigDecimal getnFields() { + return nFields; + } + + public void setnFields(BigDecimal nFields) { + this.nFields = nFields; + } + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -56,12 +83,13 @@ public boolean equals(java.lang.Object o) { return false; } GraphicFieldsList graphicFieldsList = (GraphicFieldsList) o; - return Objects.equals(this.pArrayFields, graphicFieldsList.pArrayFields); + return Objects.equals(this.pArrayFields, graphicFieldsList.pArrayFields) + && Objects.equals(this.nFields, graphicFieldsList.nFields); } @Override public int hashCode() { - return Objects.hash(pArrayFields); + return Objects.hash(pArrayFields, nFields); } @Override @@ -69,6 +97,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GraphicFieldsList {\n"); sb.append(" pArrayFields: ").append(toIndentedString(pArrayFields)).append("\n"); + sb.append(" nFields: ").append(toIndentedString(nFields)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicsResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicsResult.java index 3f46b93d..4ac7ee2c 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicsResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/GraphicsResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/Healthcheck.java b/client/src/main/generated/com/regula/documentreader/webclient/model/Healthcheck.java index 52dbb003..ab824c47 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/Healthcheck.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/Healthcheck.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/HealthcheckDocumentsDatabase.java b/client/src/main/generated/com/regula/documentreader/webclient/model/HealthcheckDocumentsDatabase.java index 81cac821..731de14e 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/HealthcheckDocumentsDatabase.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/HealthcheckDocumentsDatabase.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/IdentResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/IdentResult.java index 8b629c9b..3a9ffe20 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/IdentResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/IdentResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -16,7 +16,27 @@ import java.util.Objects; /** IdentResult */ -public class IdentResult extends AuthenticityCheckResultItem { +public class IdentResult { + public static final String SERIALIZED_NAME_TYPE = "Type"; + + @SerializedName(SERIALIZED_NAME_TYPE) + private Integer type = 0; + + public static final String SERIALIZED_NAME_ELEMENT_RESULT = "ElementResult"; + + @SerializedName(SERIALIZED_NAME_ELEMENT_RESULT) + private Integer elementResult; + + public static final String SERIALIZED_NAME_ELEMENT_DIAGNOSE = "ElementDiagnose"; + + @SerializedName(SERIALIZED_NAME_ELEMENT_DIAGNOSE) + private Integer elementDiagnose; + + public static final String SERIALIZED_NAME_PERCENT_VALUE = "PercentValue"; + + @SerializedName(SERIALIZED_NAME_PERCENT_VALUE) + private Integer percentValue; + public static final String SERIALIZED_NAME_ELEMENT_TYPE = "ElementType"; @SerializedName(SERIALIZED_NAME_ELEMENT_TYPE) @@ -47,6 +67,82 @@ public class IdentResult extends AuthenticityCheckResultItem { @SerializedName(SERIALIZED_NAME_AREA_LIST) private AreaContainer areaList; + public IdentResult withType(Integer type) { + this.type = type; + return this; + } + + /** + * Same as authenticity result type, but used for safe parsing of not-described values: + * https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/authenticity-result-type/ + * + * @return type + */ + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + public IdentResult withElementResult(Integer elementResult) { + this.elementResult = elementResult; + return this; + } + + /** + * Get elementResult + * + * @return elementResult + */ + @javax.annotation.Nullable + public Integer getElementResult() { + return elementResult; + } + + public void setElementResult(Integer elementResult) { + this.elementResult = elementResult; + } + + public IdentResult withElementDiagnose(Integer elementDiagnose) { + this.elementDiagnose = elementDiagnose; + return this; + } + + /** + * Get elementDiagnose + * + * @return elementDiagnose + */ + @javax.annotation.Nullable + public Integer getElementDiagnose() { + return elementDiagnose; + } + + public void setElementDiagnose(Integer elementDiagnose) { + this.elementDiagnose = elementDiagnose; + } + + public IdentResult withPercentValue(Integer percentValue) { + this.percentValue = percentValue; + return this; + } + + /** + * Get percentValue + * + * @return percentValue + */ + @javax.annotation.Nullable + public Integer getPercentValue() { + return percentValue; + } + + public void setPercentValue(Integer percentValue) { + this.percentValue = percentValue; + } + public IdentResult withElementType(Integer elementType) { this.elementType = elementType; return this; @@ -57,7 +153,6 @@ public IdentResult withElementType(Integer elementType) { * * @return elementType */ - @javax.annotation.Nullable public Integer getElementType() { return elementType; } @@ -76,7 +171,6 @@ public IdentResult withLightIndex(Integer lightIndex) { * * @return lightIndex */ - @javax.annotation.Nullable public Integer getLightIndex() { return lightIndex; } @@ -114,7 +208,6 @@ public IdentResult withImage(ImageData image) { * * @return image */ - @javax.annotation.Nullable public ImageData getImage() { return image; } @@ -133,7 +226,6 @@ public IdentResult withEtalonImage(ImageData etalonImage) { * * @return etalonImage */ - @javax.annotation.Nullable public ImageData getEtalonImage() { return etalonImage; } @@ -170,26 +262,41 @@ public boolean equals(java.lang.Object o) { return false; } IdentResult identResult = (IdentResult) o; - return Objects.equals(this.elementType, identResult.elementType) + return Objects.equals(this.type, identResult.type) + && Objects.equals(this.elementResult, identResult.elementResult) + && Objects.equals(this.elementDiagnose, identResult.elementDiagnose) + && Objects.equals(this.percentValue, identResult.percentValue) + && Objects.equals(this.elementType, identResult.elementType) && Objects.equals(this.lightIndex, identResult.lightIndex) && Objects.equals(this.area, identResult.area) && Objects.equals(this.image, identResult.image) && Objects.equals(this.etalonImage, identResult.etalonImage) - && Objects.equals(this.areaList, identResult.areaList) - && super.equals(o); + && Objects.equals(this.areaList, identResult.areaList); } @Override public int hashCode() { return Objects.hash( - elementType, lightIndex, area, image, etalonImage, areaList, super.hashCode()); + type, + elementResult, + elementDiagnose, + percentValue, + elementType, + lightIndex, + area, + image, + etalonImage, + areaList); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class IdentResult {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" elementResult: ").append(toIndentedString(elementResult)).append("\n"); + sb.append(" elementDiagnose: ").append(toIndentedString(elementDiagnose)).append("\n"); + sb.append(" percentValue: ").append(toIndentedString(percentValue)).append("\n"); sb.append(" elementType: ").append(toIndentedString(elementType)).append("\n"); sb.append(" lightIndex: ").append(toIndentedString(lightIndex)).append("\n"); sb.append(" area: ").append(toIndentedString(area)).append("\n"); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ImageData.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ImageData.java index 5ce463c9..19d89529 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ImageData.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ImageData.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQA.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQA.java index 7931b7e3..736a4efc 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQA.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQA.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,8 @@ package com.regula.documentreader.webclient.model; import com.google.gson.annotations.SerializedName; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; /** ImageQA */ @@ -47,11 +49,21 @@ public class ImageQA { @SerializedName(SERIALIZED_NAME_COLORNESS_CHECK) private Boolean colornessCheck; + public static final String SERIALIZED_NAME_MOIRE_CHECK = "moireCheck"; + + @SerializedName(SERIALIZED_NAME_MOIRE_CHECK) + private Boolean moireCheck; + public static final String SERIALIZED_NAME_DOCUMENT_POSITION_INDENT = "documentPositionIndent"; @SerializedName(SERIALIZED_NAME_DOCUMENT_POSITION_INDENT) private Integer documentPositionIndent; + public static final String SERIALIZED_NAME_EXPECTED_PASS = "expectedPass"; + + @SerializedName(SERIALIZED_NAME_EXPECTED_PASS) + private List expectedPass = null; + public ImageQA withBrightnessThreshold(Double brightnessThreshold) { this.brightnessThreshold = brightnessThreshold; return this; @@ -168,6 +180,26 @@ public void setColornessCheck(Boolean colornessCheck) { this.colornessCheck = colornessCheck; } + public ImageQA withMoireCheck(Boolean moireCheck) { + this.moireCheck = moireCheck; + return this; + } + + /** + * This option enables screen capture (moire patterns) check while performing image quality + * validation. + * + * @return moireCheck + */ + @javax.annotation.Nullable + public Boolean getMoireCheck() { + return moireCheck; + } + + public void setMoireCheck(Boolean moireCheck) { + this.moireCheck = moireCheck; + } + public ImageQA withDocumentPositionIndent(Integer documentPositionIndent) { this.documentPositionIndent = documentPositionIndent; return this; @@ -187,6 +219,34 @@ public void setDocumentPositionIndent(Integer documentPositionIndent) { this.documentPositionIndent = documentPositionIndent; } + public ImageQA withExpectedPass(List expectedPass) { + this.expectedPass = expectedPass; + return this; + } + + public ImageQA addExpectedPassItem(InputImageQualityChecks expectedPassItem) { + if (this.expectedPass == null) { + this.expectedPass = new ArrayList(); + } + this.expectedPass.add(expectedPassItem); + return this; + } + + /** + * This parameter controls the quality checks that the image should pass to be considered a valid + * input during the scanning process. + * + * @return expectedPass + */ + @javax.annotation.Nullable + public List getExpectedPass() { + return expectedPass; + } + + public void setExpectedPass(List expectedPass) { + this.expectedPass = expectedPass; + } + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -202,7 +262,9 @@ public boolean equals(java.lang.Object o) { && Objects.equals(this.focusCheck, imageQA.focusCheck) && Objects.equals(this.glaresCheck, imageQA.glaresCheck) && Objects.equals(this.colornessCheck, imageQA.colornessCheck) - && Objects.equals(this.documentPositionIndent, imageQA.documentPositionIndent); + && Objects.equals(this.moireCheck, imageQA.moireCheck) + && Objects.equals(this.documentPositionIndent, imageQA.documentPositionIndent) + && Objects.equals(this.expectedPass, imageQA.expectedPass); } @Override @@ -214,7 +276,9 @@ public int hashCode() { focusCheck, glaresCheck, colornessCheck, - documentPositionIndent); + moireCheck, + documentPositionIndent, + expectedPass); } @Override @@ -229,9 +293,11 @@ public String toString() { sb.append(" focusCheck: ").append(toIndentedString(focusCheck)).append("\n"); sb.append(" glaresCheck: ").append(toIndentedString(glaresCheck)).append("\n"); sb.append(" colornessCheck: ").append(toIndentedString(colornessCheck)).append("\n"); + sb.append(" moireCheck: ").append(toIndentedString(moireCheck)).append("\n"); sb.append(" documentPositionIndent: ") .append(toIndentedString(documentPositionIndent)) .append("\n"); + sb.append(" expectedPass: ").append(toIndentedString(expectedPass)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQualityCheck.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQualityCheck.java index cb79e477..d37136ad 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQualityCheck.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQualityCheck.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -62,7 +62,6 @@ public ImageQualityCheck withType(Integer type) { * * @return type */ - @javax.annotation.Nullable public Integer getType() { return type; } @@ -81,7 +80,6 @@ public ImageQualityCheck withResult(Integer result) { * * @return result */ - @javax.annotation.Nullable public Integer getResult() { return result; } @@ -100,7 +98,6 @@ public ImageQualityCheck withFeatureType(Integer featureType) { * * @return featureType */ - @javax.annotation.Nullable public Integer getFeatureType() { return featureType; } @@ -134,11 +131,10 @@ public ImageQualityCheck withMean(Float mean) { } /** - * Get mean + * Check mean value * * @return mean */ - @javax.annotation.Nullable public Float getMean() { return mean; } @@ -153,11 +149,10 @@ public ImageQualityCheck withStdDev(Float stdDev) { } /** - * Get stdDev + * Check deviation value * * @return stdDev */ - @javax.annotation.Nullable public Float getStdDev() { return stdDev; } @@ -172,11 +167,10 @@ public ImageQualityCheck withProbability(Integer probability) { } /** - * Get probability + * Check probability value * * @return probability */ - @javax.annotation.Nullable public Integer getProbability() { return probability; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQualityCheckList.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQualityCheckList.java index a9d9b46b..cc502222 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQualityCheckList.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQualityCheckList.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ package com.regula.documentreader.webclient.model; import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import java.util.Objects; @@ -29,6 +30,11 @@ public class ImageQualityCheckList { @SerializedName(SERIALIZED_NAME_LIST) private List list = new ArrayList(); + public static final String SERIALIZED_NAME_COUNT = "Count"; + + @SerializedName(SERIALIZED_NAME_COUNT) + private BigDecimal count; + public ImageQualityCheckList withResult(Integer result) { this.result = result; return this; @@ -70,6 +76,24 @@ public void setList(List list) { this.list = list; } + public ImageQualityCheckList withCount(BigDecimal count) { + this.count = count; + return this; + } + + /** + * Number of List array elements + * + * @return count + */ + public BigDecimal getCount() { + return count; + } + + public void setCount(BigDecimal count) { + this.count = count; + } + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -80,12 +104,13 @@ public boolean equals(java.lang.Object o) { } ImageQualityCheckList imageQualityCheckList = (ImageQualityCheckList) o; return Objects.equals(this.result, imageQualityCheckList.result) - && Objects.equals(this.list, imageQualityCheckList.list); + && Objects.equals(this.list, imageQualityCheckList.list) + && Objects.equals(this.count, imageQualityCheckList.count); } @Override public int hashCode() { - return Objects.hash(result, list); + return Objects.hash(result, list, count); } @Override @@ -94,6 +119,7 @@ public String toString() { sb.append("class ImageQualityCheckList {\n"); sb.append(" result: ").append(toIndentedString(result)).append("\n"); sb.append(" list: ").append(toIndentedString(list)).append("\n"); + sb.append(" count: ").append(toIndentedString(count)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQualityCheckType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQualityCheckType.java index 5ed1c2f2..cfade686 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQualityCheckType.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQualityCheckType.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQualityResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQualityResult.java index 2199c0ab..b3701f05 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQualityResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ImageQualityResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ImageTransactionData.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ImageTransactionData.java index 7f2a8839..f7152714 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ImageTransactionData.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ImageTransactionData.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/Images.java b/client/src/main/generated/com/regula/documentreader/webclient/model/Images.java index e1de5101..91fb4505 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/Images.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/Images.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,6 +19,16 @@ /** Images */ public class Images { + public static final String SERIALIZED_NAME_FIELD_COUNT = "fieldCount"; + + @SerializedName(SERIALIZED_NAME_FIELD_COUNT) + private Integer fieldCount; + + public static final String SERIALIZED_NAME_AVAILABLE_SOURCE_COUNT = "availableSourceCount"; + + @SerializedName(SERIALIZED_NAME_AVAILABLE_SOURCE_COUNT) + private Integer availableSourceCount; + public static final String SERIALIZED_NAME_AVAILABLE_SOURCE_LIST = "availableSourceList"; @SerializedName(SERIALIZED_NAME_AVAILABLE_SOURCE_LIST) @@ -30,6 +40,42 @@ public class Images { private List fieldList = new ArrayList(); + public Images withFieldCount(Integer fieldCount) { + this.fieldCount = fieldCount; + return this; + } + + /** + * Fields count + * + * @return fieldCount + */ + public Integer getFieldCount() { + return fieldCount; + } + + public void setFieldCount(Integer fieldCount) { + this.fieldCount = fieldCount; + } + + public Images withAvailableSourceCount(Integer availableSourceCount) { + this.availableSourceCount = availableSourceCount; + return this; + } + + /** + * Available sources count + * + * @return availableSourceCount + */ + public Integer getAvailableSourceCount() { + return availableSourceCount; + } + + public void setAvailableSourceCount(Integer availableSourceCount) { + this.availableSourceCount = availableSourceCount; + } + public Images withAvailableSourceList(List availableSourceList) { this.availableSourceList = availableSourceList; return this; @@ -88,19 +134,25 @@ public boolean equals(java.lang.Object o) { return false; } Images images = (Images) o; - return Objects.equals(this.availableSourceList, images.availableSourceList) + return Objects.equals(this.fieldCount, images.fieldCount) + && Objects.equals(this.availableSourceCount, images.availableSourceCount) + && Objects.equals(this.availableSourceList, images.availableSourceList) && Objects.equals(this.fieldList, images.fieldList); } @Override public int hashCode() { - return Objects.hash(availableSourceList, fieldList); + return Objects.hash(fieldCount, availableSourceCount, availableSourceList, fieldList); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Images {\n"); + sb.append(" fieldCount: ").append(toIndentedString(fieldCount)).append("\n"); + sb.append(" availableSourceCount: ") + .append(toIndentedString(availableSourceCount)) + .append("\n"); sb.append(" availableSourceList: ") .append(toIndentedString(availableSourceList)) .append("\n"); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ImagesAvailableSource.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ImagesAvailableSource.java index 001d3f1f..4a50cd46 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ImagesAvailableSource.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ImagesAvailableSource.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -37,7 +37,6 @@ public ImagesAvailableSource withContainerType(Integer containerType) { * * @return containerType */ - @javax.annotation.Nullable public Integer getContainerType() { return containerType; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ImagesField.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ImagesField.java index dbb72987..6b4f743d 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ImagesField.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ImagesField.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ package com.regula.documentreader.webclient.model; import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import java.util.Objects; @@ -34,6 +35,11 @@ public class ImagesField { @SerializedName(SERIALIZED_NAME_VALUE_LIST) private List valueList = new ArrayList(); + public static final String SERIALIZED_NAME_VALUE_COUNT = "valueCount"; + + @SerializedName(SERIALIZED_NAME_VALUE_COUNT) + private BigDecimal valueCount; + public ImagesField withFieldName(String fieldName) { this.fieldName = fieldName; return this; @@ -93,6 +99,24 @@ public void setValueList(List valueList) { this.valueList = valueList; } + public ImagesField withValueCount(BigDecimal valueCount) { + this.valueCount = valueCount; + return this; + } + + /** + * Field value count + * + * @return valueCount + */ + public BigDecimal getValueCount() { + return valueCount; + } + + public void setValueCount(BigDecimal valueCount) { + this.valueCount = valueCount; + } + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -104,12 +128,13 @@ public boolean equals(java.lang.Object o) { ImagesField imagesField = (ImagesField) o; return Objects.equals(this.fieldName, imagesField.fieldName) && Objects.equals(this.fieldType, imagesField.fieldType) - && Objects.equals(this.valueList, imagesField.valueList); + && Objects.equals(this.valueList, imagesField.valueList) + && Objects.equals(this.valueCount, imagesField.valueCount); } @Override public int hashCode() { - return Objects.hash(fieldName, fieldType, valueList); + return Objects.hash(fieldName, fieldType, valueList, valueCount); } @Override @@ -119,6 +144,7 @@ public String toString() { sb.append(" fieldName: ").append(toIndentedString(fieldName)).append("\n"); sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n"); sb.append(" valueList: ").append(toIndentedString(valueList)).append("\n"); + sb.append(" valueCount: ").append(toIndentedString(valueCount)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ImagesFieldValue.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ImagesFieldValue.java index 47e98201..a5ad2fd6 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ImagesFieldValue.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ImagesFieldValue.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -90,6 +90,7 @@ public ImagesFieldValue withValue(String value) { * * @return value */ + @javax.annotation.Nullable public String getValue() { return value; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ImagesResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ImagesResult.java index 01a15c2c..3263c6b9 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ImagesResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ImagesResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/InData.java b/client/src/main/generated/com/regula/documentreader/webclient/model/InData.java index a94617b1..f2725304 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/InData.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/InData.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/InDataTransactionImagesFieldValue.java b/client/src/main/generated/com/regula/documentreader/webclient/model/InDataTransactionImagesFieldValue.java index 6a20e318..03507564 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/InDataTransactionImagesFieldValue.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/InDataTransactionImagesFieldValue.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/InDataVideo.java b/client/src/main/generated/com/regula/documentreader/webclient/model/InDataVideo.java index 2a882336..2b383ed1 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/InDataVideo.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/InDataVideo.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/InputImageQualityChecks.java b/client/src/main/generated/com/regula/documentreader/webclient/model/InputImageQualityChecks.java new file mode 100644 index 00000000..0159da31 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/InputImageQualityChecks.java @@ -0,0 +1,40 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class InputImageQualityChecks { + + /** Signals glare presence on the image */ + public static final String Glares = "glaresCheck"; + + /** Signals whether image is in focus */ + public static final String Focus = "focusCheck"; + + /** Signals if image resolution is below threshold */ + public static final String Resolution = "dpiThreshold"; + + /** Signals if image is colorless */ + public static final String Colorness = "colornessCheck"; + + /** Signals if document in the image has prespective distortion above threshold */ + public static final String Perspective = "perspectiveCheck"; + + /** Signals if document is not fully present in the image */ + public static final String Bounds = "documentPosition"; + + /** Signals if the portrait is present */ + public static final String Portrait = "portraitCheck"; + + /** Signals if the document image is bright enough */ + public static final String Brightness = "brightnessCheck"; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/LCID.java b/client/src/main/generated/com/regula/documentreader/webclient/model/LCID.java index 31f6aa96..a34a51d6 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/LCID.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/LCID.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -95,9 +95,21 @@ public class LCID { /** Catalan */ public static final int CATALAN = 1027; + /** Chinese (HongKong S.A.R.) */ + public static final int CHINESE_HONGKONG_SAR = 3076; + + /** Chinese (Macao S.A.R.) */ + public static final int CHINESE_MACAO_SAR = 5124; + /** Chinese */ public static final int CHINESE = 2052; + /** Chinese (Singapore) */ + public static final int CHINESE_SINGAPORE = 4100; + + /** Chinese (Taiwan) */ + public static final int CHINESE_TAIWAN = 1028; + /** Croatian */ public static final int CROATIAN = 1050; @@ -107,6 +119,9 @@ public class LCID { /** Danish */ public static final int DANISH = 1030; + /** Divehi */ + public static final int DIVEHI = 1125; + /** Dutch (Belgium) */ public static final int DUTCH_BELGIUM = 2067; @@ -389,6 +404,9 @@ public class LCID { /** Swedish (Finland) */ public static final int SWEDISH_FINLAND = 2077; + /** Syriac */ + public static final int SYRIAC = 1114; + /** Tamil */ public static final int TAMIL = 1097; @@ -432,13 +450,13 @@ public class LCID { public static final int CTC_TRADITIONAL = 50002; /** Bengali (Bangladesh) */ - public static final int BengaliBangladesh = 2117; + public static final int BENGALI_BANGLADESH = 2117; /** BengaliIndia */ - public static final int BengaliIndia = 1093; + public static final int BENGALI_INDIA = 1093; /** Assamese */ - public static final int Assamese = 1101; + public static final int ASSAMESE = 1101; /** Oriya */ public static final int ORIYA = 1096; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/LexicalAnalysisResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/LexicalAnalysisResult.java index 2835feb3..d0ed9459 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/LexicalAnalysisResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/LexicalAnalysisResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -37,7 +37,6 @@ public LexicalAnalysisResult withListVerifiedFields(ListVerifiedFields listVerif * * @return listVerifiedFields */ - @javax.annotation.Nullable public ListVerifiedFields getListVerifiedFields() { return listVerifiedFields; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/LicenseResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/LicenseResult.java index 6c9ac815..d2ed5a41 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/LicenseResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/LicenseResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/Light.java b/client/src/main/generated/com/regula/documentreader/webclient/model/Light.java index d739ecba..f43fb978 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/Light.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/Light.java @@ -1,28 +1,235 @@ /* * 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: 7.2.0 + * 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: 7.4.0 + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + package com.regula.documentreader.webclient.model; +import java.util.Objects; +import java.util.Arrays; +import io.swagger.annotations.ApiModel; +import com.google.gson.annotations.SerializedName; + + public class Light { - /** No Light */ - public static final int OFF = 0; + /** + * Lighting schemes are off + */ + public static final int OFF = 0; + + /** + * OVI scheme + */ + public static final int OVI = 1; + + /** + * Upper/lower lighters of white light scheme + */ + public static final int WHITE_TOP = 2; + + /** + * Side lighters of white light scheme + */ + public static final int WHITE_SIDE = 4; + + /** + * General white light without separate control of side and upper/lower lighters scheme + */ + public static final int WHITE_FRONT = 8388608; + + /** + * Upper/lower and side lighters of white light scheme + */ + public static final int WHITE = 6; + + /** + * Upper/lower lighters of IR light scheme + */ + public static final int IR_TOP = 8; + + /** + * Side lighters of IR light scheme + */ + public static final int IR_SIDE = 16; + + /** + * General IR light without separate control of side and upper/lower lighters scheme + */ + public static final int IR_FRONT = 16777216; + + /** + * Upper/lower and side lighters of IR light scheme + */ + public static final int IR = 24; + + /** + * general white image converted to grayscale + */ + public static final int WHITE_GRAY = 33554432; + + /** + * General UV light scheme + */ + public static final int UV = 128; + + /** + * OVD light for hologram visualization + */ + public static final int OVD = 67108864; + + /** + * Video detection light for internal use only + */ + public static final int VIDEODETECTION = 134217728; + + /** + * Light IR 870 oblique + */ + public static final int IR_870_OBL = 268435456; + + /** + * IR luminescence + */ + public static final int IR_LUMINESCENCE = 256; + + /** + * Left lighter of white coaxial light scheme + */ + public static final int AXIAL_WHITE_LEFT = 1024; + + /** + * Right lighter of white coaxial light scheme + */ + public static final int AXIAL_WHITE_RIGHT = 2048; + + /** + * Coaxial white light without separate control of left and right lighters scheme + */ + public static final int AXIAL_WHITE_FRONT = 512; - /** White */ - public static final int WHITE = 6; + /** + * IR720 + */ + public static final int IR_720 = 4096; - /** Infrared */ - public static final int IR = 24; + /** + * IR940 + */ + public static final int IR_940 = 8192; + + /** + * Right and left lighters of white coaxial light scheme + */ + public static final int AXIAL_WHITE_FULL = 3072; + + /** + * For internal use + */ + public static final int RAW_DATA = 2147483648; + + /** + * For internal use + */ + public static final int RAW_DATA_GRBG = 2415919104; + + /** + * For internal use + */ + public static final int RAW_DATA_GBGR = 2684354560; + + /** + * For internal use + */ + public static final int RAW_DATA_RGGB = 2952790016; + + /** + * For internal use + */ + public static final int RAW_DATA_BGGR = 3221225472; + + /** + * Transmitted + */ + public static final int TRANSMITTED = 32; + + /** + * Transmitted IR + */ + public static final int TRANSMITTED_IR = 64; + + /** + * Transmitted AntiStokes + */ + public static final int ANTI_STOKES = 65536; + + /** + * Transmitted IR940 + */ + public static final int TRANSMITTED_IR940 = 16384; + + /** + * OVD right + */ + public static final int OVD_RIGHT = 262144; + + /** + * OVD left + */ + public static final int OVD_LEFT = 131072; + + /** + * IR 700 + */ + public static final int IR_700 = 32768; + + /** + * Front IR870 (mod. 8803) + */ + public static final int IR_870 = 16777216; + + /** + * OVD light (hologram visualization) (mod. 8850) + */ + public static final int HOLO = 67108864; + + /** + * For internal use + */ + public static final int IR_BOTTOM = 64; + + /** + * For internal use + */ + public static final int WHITE_BOTTOM = 32; + + /** + * UVС 254 (mod. 88X0) + */ + public static final int UVC = 524288; + + /** + * UVB 313 (mod. 88X0) + */ + public static final int UVB = 1048576; + + /** + * White oblique light + */ + public static final int WHITE_OBL = 2097152; + + /** + * For internal use + */ + public static final int WHITE_SPECIAL = 4194304; - /** Ultraviolet */ - public static final int UV = 128; } + diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ListTransactionsByTagResponse.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ListTransactionsByTagResponse.java index a4630754..a2abae20 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ListTransactionsByTagResponse.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ListTransactionsByTagResponse.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ListVerifiedFields.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ListVerifiedFields.java index eb28a427..50099e83 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ListVerifiedFields.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ListVerifiedFields.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,16 +13,40 @@ package com.regula.documentreader.webclient.model; import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import java.util.Objects; /** ListVerifiedFields */ public class ListVerifiedFields { + public static final String SERIALIZED_NAME_COUNT = "Count"; + + @SerializedName(SERIALIZED_NAME_COUNT) + private BigDecimal count; + public static final String SERIALIZED_NAME_P_FIELD_MAPS = "pFieldMaps"; @SerializedName(SERIALIZED_NAME_P_FIELD_MAPS) - private List pFieldMaps = null; + private List pFieldMaps = new ArrayList(); + + public ListVerifiedFields withCount(BigDecimal count) { + this.count = count; + return this; + } + + /** + * Number of pFieldMaps array elements + * + * @return count + */ + public BigDecimal getCount() { + return count; + } + + public void setCount(BigDecimal count) { + this.count = count; + } public ListVerifiedFields withPFieldMaps(List pFieldMaps) { this.pFieldMaps = pFieldMaps; @@ -30,9 +54,6 @@ public ListVerifiedFields withPFieldMaps(List pFieldMaps) { } public ListVerifiedFields addPFieldMapsItem(VerifiedFieldMap pFieldMapsItem) { - if (this.pFieldMaps == null) { - this.pFieldMaps = new ArrayList(); - } this.pFieldMaps.add(pFieldMapsItem); return this; } @@ -42,7 +63,6 @@ public ListVerifiedFields addPFieldMapsItem(VerifiedFieldMap pFieldMapsItem) { * * @return pFieldMaps */ - @javax.annotation.Nullable public List getpFieldMaps() { return pFieldMaps; } @@ -60,18 +80,20 @@ public boolean equals(java.lang.Object o) { return false; } ListVerifiedFields listVerifiedFields = (ListVerifiedFields) o; - return Objects.equals(this.pFieldMaps, listVerifiedFields.pFieldMaps); + return Objects.equals(this.count, listVerifiedFields.count) + && Objects.equals(this.pFieldMaps, listVerifiedFields.pFieldMaps); } @Override public int hashCode() { - return Objects.hash(pFieldMaps); + return Objects.hash(count, pFieldMaps); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ListVerifiedFields {\n"); + sb.append(" count: ").append(toIndentedString(count)).append("\n"); sb.append(" pFieldMaps: ").append(toIndentedString(pFieldMaps)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/LivenessParams.java b/client/src/main/generated/com/regula/documentreader/webclient/model/LivenessParams.java index 2cd2eca8..940426d3 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/LivenessParams.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/LivenessParams.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/LogLevel.java b/client/src/main/generated/com/regula/documentreader/webclient/model/LogLevel.java index d088dc41..5b0038de 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/LogLevel.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/LogLevel.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/MRZFormat.java b/client/src/main/generated/com/regula/documentreader/webclient/model/MRZFormat.java index 56509738..01c8200a 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/MRZFormat.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/MRZFormat.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/MeasureSystem.java b/client/src/main/generated/com/regula/documentreader/webclient/model/MeasureSystem.java index b4788656..e9fbb58e 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/MeasureSystem.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/MeasureSystem.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/MrzDetectModeEnum.java b/client/src/main/generated/com/regula/documentreader/webclient/model/MrzDetectModeEnum.java index fb45c38b..ca0f123a 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/MrzDetectModeEnum.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/MrzDetectModeEnum.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextResult.java index e57abee3..f8f51ecb 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -16,7 +16,27 @@ import java.util.Objects; /** OCRSecurityTextResult */ -public class OCRSecurityTextResult extends AuthenticityCheckResultItem { +public class OCRSecurityTextResult { + public static final String SERIALIZED_NAME_TYPE = "Type"; + + @SerializedName(SERIALIZED_NAME_TYPE) + private Integer type = 0; + + public static final String SERIALIZED_NAME_ELEMENT_RESULT = "ElementResult"; + + @SerializedName(SERIALIZED_NAME_ELEMENT_RESULT) + private Integer elementResult; + + public static final String SERIALIZED_NAME_ELEMENT_DIAGNOSE = "ElementDiagnose"; + + @SerializedName(SERIALIZED_NAME_ELEMENT_DIAGNOSE) + private Integer elementDiagnose; + + public static final String SERIALIZED_NAME_PERCENT_VALUE = "PercentValue"; + + @SerializedName(SERIALIZED_NAME_PERCENT_VALUE) + private Integer percentValue; + public static final String SERIALIZED_NAME_CRITICAL_FLAG = "CriticalFlag"; @SerializedName(SERIALIZED_NAME_CRITICAL_FLAG) @@ -47,6 +67,11 @@ public class OCRSecurityTextResult extends AuthenticityCheckResultItem { @SerializedName(SERIALIZED_NAME_ETALON_LIGHT_TYPE) private Integer etalonLightType; + public static final String SERIALIZED_NAME_ETALON_FIELD_RECT = "EtalonFieldRect"; + + @SerializedName(SERIALIZED_NAME_ETALON_FIELD_RECT) + private RectangleCoordinates etalonFieldRect; + public static final String SERIALIZED_NAME_SECURITY_TEXT_RESULT_O_C_R = "SecurityTextResultOCR"; @SerializedName(SERIALIZED_NAME_SECURITY_TEXT_RESULT_O_C_R) @@ -67,6 +92,82 @@ public class OCRSecurityTextResult extends AuthenticityCheckResultItem { @SerializedName(SERIALIZED_NAME_RESERVED2) private Integer reserved2; + public OCRSecurityTextResult withType(Integer type) { + this.type = type; + return this; + } + + /** + * Same as authenticity result type, but used for safe parsing of not-described values: + * https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/authenticity-result-type/ + * + * @return type + */ + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + public OCRSecurityTextResult withElementResult(Integer elementResult) { + this.elementResult = elementResult; + return this; + } + + /** + * Get elementResult + * + * @return elementResult + */ + @javax.annotation.Nullable + public Integer getElementResult() { + return elementResult; + } + + public void setElementResult(Integer elementResult) { + this.elementResult = elementResult; + } + + public OCRSecurityTextResult withElementDiagnose(Integer elementDiagnose) { + this.elementDiagnose = elementDiagnose; + return this; + } + + /** + * Get elementDiagnose + * + * @return elementDiagnose + */ + @javax.annotation.Nullable + public Integer getElementDiagnose() { + return elementDiagnose; + } + + public void setElementDiagnose(Integer elementDiagnose) { + this.elementDiagnose = elementDiagnose; + } + + public OCRSecurityTextResult withPercentValue(Integer percentValue) { + this.percentValue = percentValue; + return this; + } + + /** + * Get percentValue + * + * @return percentValue + */ + @javax.annotation.Nullable + public Integer getPercentValue() { + return percentValue; + } + + public void setPercentValue(Integer percentValue) { + this.percentValue = percentValue; + } + public OCRSecurityTextResult withCriticalFlag(Integer criticalFlag) { this.criticalFlag = criticalFlag; return this; @@ -77,7 +178,6 @@ public OCRSecurityTextResult withCriticalFlag(Integer criticalFlag) { * * @return criticalFlag */ - @javax.annotation.Nullable public Integer getCriticalFlag() { return criticalFlag; } @@ -96,7 +196,6 @@ public OCRSecurityTextResult withLightType(Integer lightType) { * * @return lightType */ - @javax.annotation.Nullable public Integer getLightType() { return lightType; } @@ -115,7 +214,6 @@ public OCRSecurityTextResult withFieldRect(RectangleCoordinates fieldRect) { * * @return fieldRect */ - @javax.annotation.Nullable public RectangleCoordinates getFieldRect() { return fieldRect; } @@ -134,7 +232,6 @@ public OCRSecurityTextResult withEtalonResultType(Integer etalonResultType) { * * @return etalonResultType */ - @javax.annotation.Nullable public Integer getEtalonResultType() { return etalonResultType; } @@ -153,7 +250,6 @@ public OCRSecurityTextResult withEtalonFieldType(Integer etalonFieldType) { * * @return etalonFieldType */ - @javax.annotation.Nullable public Integer getEtalonFieldType() { return etalonFieldType; } @@ -172,7 +268,6 @@ public OCRSecurityTextResult withEtalonLightType(Integer etalonLightType) { * * @return etalonLightType */ - @javax.annotation.Nullable public Integer getEtalonLightType() { return etalonLightType; } @@ -181,6 +276,24 @@ public void setEtalonLightType(Integer etalonLightType) { this.etalonLightType = etalonLightType; } + public OCRSecurityTextResult withEtalonFieldRect(RectangleCoordinates etalonFieldRect) { + this.etalonFieldRect = etalonFieldRect; + return this; + } + + /** + * Get etalonFieldRect + * + * @return etalonFieldRect + */ + public RectangleCoordinates getEtalonFieldRect() { + return etalonFieldRect; + } + + public void setEtalonFieldRect(RectangleCoordinates etalonFieldRect) { + this.etalonFieldRect = etalonFieldRect; + } + public OCRSecurityTextResult withSecurityTextResultOCR(String securityTextResultOCR) { this.securityTextResultOCR = securityTextResultOCR; return this; @@ -191,7 +304,6 @@ public OCRSecurityTextResult withSecurityTextResultOCR(String securityTextResult * * @return securityTextResultOCR */ - @javax.annotation.Nullable public String getSecurityTextResultOCR() { return securityTextResultOCR; } @@ -210,7 +322,6 @@ public OCRSecurityTextResult withEtalonResultOCR(String etalonResultOCR) { * * @return etalonResultOCR */ - @javax.annotation.Nullable public String getEtalonResultOCR() { return etalonResultOCR; } @@ -266,46 +377,58 @@ public boolean equals(java.lang.Object o) { return false; } OCRSecurityTextResult ocRSecurityTextResult = (OCRSecurityTextResult) o; - return Objects.equals(this.criticalFlag, ocRSecurityTextResult.criticalFlag) + return Objects.equals(this.type, ocRSecurityTextResult.type) + && Objects.equals(this.elementResult, ocRSecurityTextResult.elementResult) + && Objects.equals(this.elementDiagnose, ocRSecurityTextResult.elementDiagnose) + && Objects.equals(this.percentValue, ocRSecurityTextResult.percentValue) + && Objects.equals(this.criticalFlag, ocRSecurityTextResult.criticalFlag) && Objects.equals(this.lightType, ocRSecurityTextResult.lightType) && Objects.equals(this.fieldRect, ocRSecurityTextResult.fieldRect) && Objects.equals(this.etalonResultType, ocRSecurityTextResult.etalonResultType) && Objects.equals(this.etalonFieldType, ocRSecurityTextResult.etalonFieldType) && Objects.equals(this.etalonLightType, ocRSecurityTextResult.etalonLightType) + && Objects.equals(this.etalonFieldRect, ocRSecurityTextResult.etalonFieldRect) && Objects.equals(this.securityTextResultOCR, ocRSecurityTextResult.securityTextResultOCR) && Objects.equals(this.etalonResultOCR, ocRSecurityTextResult.etalonResultOCR) && Objects.equals(this.reserved1, ocRSecurityTextResult.reserved1) - && Objects.equals(this.reserved2, ocRSecurityTextResult.reserved2) - && super.equals(o); + && Objects.equals(this.reserved2, ocRSecurityTextResult.reserved2); } @Override public int hashCode() { return Objects.hash( + type, + elementResult, + elementDiagnose, + percentValue, criticalFlag, lightType, fieldRect, etalonResultType, etalonFieldType, etalonLightType, + etalonFieldRect, securityTextResultOCR, etalonResultOCR, reserved1, - reserved2, - super.hashCode()); + reserved2); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class OCRSecurityTextResult {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" elementResult: ").append(toIndentedString(elementResult)).append("\n"); + sb.append(" elementDiagnose: ").append(toIndentedString(elementDiagnose)).append("\n"); + sb.append(" percentValue: ").append(toIndentedString(percentValue)).append("\n"); sb.append(" criticalFlag: ").append(toIndentedString(criticalFlag)).append("\n"); sb.append(" lightType: ").append(toIndentedString(lightType)).append("\n"); sb.append(" fieldRect: ").append(toIndentedString(fieldRect)).append("\n"); sb.append(" etalonResultType: ").append(toIndentedString(etalonResultType)).append("\n"); sb.append(" etalonFieldType: ").append(toIndentedString(etalonFieldType)).append("\n"); sb.append(" etalonLightType: ").append(toIndentedString(etalonLightType)).append("\n"); + sb.append(" etalonFieldRect: ").append(toIndentedString(etalonFieldRect)).append("\n"); sb.append(" securityTextResultOCR: ") .append(toIndentedString(securityTextResultOCR)) .append("\n"); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/OneCandidate.java b/client/src/main/generated/com/regula/documentreader/webclient/model/OneCandidate.java index 006cd60d..6659085f 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/OneCandidate.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/OneCandidate.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,6 +33,11 @@ public class OneCandidate { @SerializedName(SERIALIZED_NAME_P) private BigDecimal P; + public static final String SERIALIZED_NAME_ROTATED180 = "Rotated180"; + + @SerializedName(SERIALIZED_NAME_ROTATED180) + private Boolean rotated180; + public static final String SERIALIZED_NAME_RF_I_D_PRESENCE = "RFID_Presence"; @SerializedName(SERIALIZED_NAME_RF_I_D_PRESENCE) @@ -64,6 +69,11 @@ public class OneCandidate { @SerializedName(SERIALIZED_NAME_AUTHENTICITY_NECESSARY_LIGHTS) private Integer authenticityNecessaryLights; + public static final String SERIALIZED_NAME_OV_I_EXP = "OVIExp"; + + @SerializedName(SERIALIZED_NAME_OV_I_EXP) + private BigDecimal ovIExp; + public OneCandidate withDocumentName(String documentName) { this.documentName = documentName; return this; @@ -74,7 +84,6 @@ public OneCandidate withDocumentName(String documentName) { * * @return documentName */ - @javax.annotation.Nullable public String getDocumentName() { return documentName; } @@ -93,7 +102,6 @@ public OneCandidate withID(Integer ID) { * * @return ID */ - @javax.annotation.Nullable public Integer getID() { return ID; } @@ -113,7 +121,6 @@ public OneCandidate withP(BigDecimal P) { * * @return P */ - @javax.annotation.Nullable public BigDecimal getP() { return P; } @@ -122,6 +129,24 @@ public void setP(BigDecimal P) { this.P = P; } + public OneCandidate withRotated180(Boolean rotated180) { + this.rotated180 = rotated180; + return this; + } + + /** + * true if the document of the given type is rotated by 180 degrees + * + * @return rotated180 + */ + public Boolean getRotated180() { + return rotated180; + } + + public void setRotated180(Boolean rotated180) { + this.rotated180 = rotated180; + } + public OneCandidate withRfIDPresence(Integer rfIDPresence) { this.rfIDPresence = rfIDPresence; return this; @@ -132,7 +157,6 @@ public OneCandidate withRfIDPresence(Integer rfIDPresence) { * * @return rfIDPresence */ - @javax.annotation.Nullable public Integer getRfIDPresence() { return rfIDPresence; } @@ -151,7 +175,6 @@ public OneCandidate withFdSIDList(FDSIDList fdSIDList) { * * @return fdSIDList */ - @javax.annotation.Nullable public FDSIDList getFdSIDList() { return fdSIDList; } @@ -171,7 +194,6 @@ public OneCandidate withNecessaryLights(Integer necessaryLights) { * * @return necessaryLights */ - @javax.annotation.Nullable public Integer getNecessaryLights() { return necessaryLights; } @@ -191,7 +213,6 @@ public OneCandidate withCheckAuthenticity(Integer checkAuthenticity) { * * @return checkAuthenticity */ - @javax.annotation.Nullable public Integer getCheckAuthenticity() { return checkAuthenticity; } @@ -211,7 +232,6 @@ public OneCandidate withUvExp(Integer uvExp) { * * @return uvExp */ - @javax.annotation.Nullable public Integer getUvExp() { return uvExp; } @@ -231,7 +251,6 @@ public OneCandidate withAuthenticityNecessaryLights(Integer authenticityNecessar * * @return authenticityNecessaryLights */ - @javax.annotation.Nullable public Integer getAuthenticityNecessaryLights() { return authenticityNecessaryLights; } @@ -240,6 +259,25 @@ public void setAuthenticityNecessaryLights(Integer authenticityNecessaryLights) this.authenticityNecessaryLights = authenticityNecessaryLights; } + public OneCandidate withOvIExp(BigDecimal ovIExp) { + this.ovIExp = ovIExp; + return this; + } + + /** + * Camera exposure value necessary when obtaining document images of the given type for AXIAL + * lighting scheme + * + * @return ovIExp + */ + public BigDecimal getOvIExp() { + return ovIExp; + } + + public void setOvIExp(BigDecimal ovIExp) { + this.ovIExp = ovIExp; + } + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -252,13 +290,15 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.documentName, oneCandidate.documentName) && Objects.equals(this.ID, oneCandidate.ID) && Objects.equals(this.P, oneCandidate.P) + && Objects.equals(this.rotated180, oneCandidate.rotated180) && Objects.equals(this.rfIDPresence, oneCandidate.rfIDPresence) && Objects.equals(this.fdSIDList, oneCandidate.fdSIDList) && Objects.equals(this.necessaryLights, oneCandidate.necessaryLights) && Objects.equals(this.checkAuthenticity, oneCandidate.checkAuthenticity) && Objects.equals(this.uvExp, oneCandidate.uvExp) && Objects.equals( - this.authenticityNecessaryLights, oneCandidate.authenticityNecessaryLights); + this.authenticityNecessaryLights, oneCandidate.authenticityNecessaryLights) + && Objects.equals(this.ovIExp, oneCandidate.ovIExp); } @Override @@ -267,12 +307,14 @@ public int hashCode() { documentName, ID, P, + rotated180, rfIDPresence, fdSIDList, necessaryLights, checkAuthenticity, uvExp, - authenticityNecessaryLights); + authenticityNecessaryLights, + ovIExp); } @Override @@ -282,6 +324,7 @@ public String toString() { sb.append(" documentName: ").append(toIndentedString(documentName)).append("\n"); sb.append(" ID: ").append(toIndentedString(ID)).append("\n"); sb.append(" P: ").append(toIndentedString(P)).append("\n"); + sb.append(" rotated180: ").append(toIndentedString(rotated180)).append("\n"); sb.append(" rfIDPresence: ").append(toIndentedString(rfIDPresence)).append("\n"); sb.append(" fdSIDList: ").append(toIndentedString(fdSIDList)).append("\n"); sb.append(" necessaryLights: ").append(toIndentedString(necessaryLights)).append("\n"); @@ -290,6 +333,7 @@ public String toString() { sb.append(" authenticityNecessaryLights: ") .append(toIndentedString(authenticityNecessaryLights)) .append("\n"); + sb.append(" ovIExp: ").append(toIndentedString(ovIExp)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/OriginalSymbol.java b/client/src/main/generated/com/regula/documentreader/webclient/model/OriginalSymbol.java index f616fc45..5256195e 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/OriginalSymbol.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/OriginalSymbol.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -42,7 +42,6 @@ public OriginalSymbol withCode(Long code) { * * @return code */ - @javax.annotation.Nullable public Long getCode() { return code; } @@ -61,7 +60,6 @@ public OriginalSymbol withProbability(Integer probability) { * * @return probability */ - @javax.annotation.Nullable public Integer getProbability() { return probability; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/OutData.java b/client/src/main/generated/com/regula/documentreader/webclient/model/OutData.java index e63f3177..36457d13 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/OutData.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/OutData.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/OutDataTransactionImagesFieldValue.java b/client/src/main/generated/com/regula/documentreader/webclient/model/OutDataTransactionImagesFieldValue.java index 4d465c58..360a0ab6 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/OutDataTransactionImagesFieldValue.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/OutDataTransactionImagesFieldValue.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/PArrayField.java b/client/src/main/generated/com/regula/documentreader/webclient/model/PArrayField.java index 09515ccc..c8796165 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/PArrayField.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/PArrayField.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,7 +22,7 @@ public class PArrayField { public static final String SERIALIZED_NAME_BC_ANGLE_D_E_T_E_C_T = "bcAngle_DETECT"; @SerializedName(SERIALIZED_NAME_BC_ANGLE_D_E_T_E_C_T) - private Float bcAngleDETECT = null; + private Float bcAngleDETECT; public static final String SERIALIZED_NAME_BC_CODE_RESULT = "bcCodeResult"; @@ -37,7 +37,7 @@ public class PArrayField { public static final String SERIALIZED_NAME_BC_DATA_MODULE = "bcDataModule"; @SerializedName(SERIALIZED_NAME_BC_DATA_MODULE) - private List bcDataModule = null; + private List bcDataModule = new ArrayList(); public static final String SERIALIZED_NAME_BC_P_D_F417_I_N_F_O = "bcPDF417INFO"; @@ -62,7 +62,7 @@ public class PArrayField { public static final String SERIALIZED_NAME_BC_TYPE_D_E_C_O_D_E = "bcType_DECODE"; @SerializedName(SERIALIZED_NAME_BC_TYPE_D_E_C_O_D_E) - private Integer bcTypeDECODE; + private BarcodeType bcTypeDECODE; public static final String SERIALIZED_NAME_BC_TYPE_D_E_T_E_C_T = "bcType_DETECT"; @@ -79,7 +79,6 @@ public PArrayField withBcAngleDETECT(Float bcAngleDETECT) { * * @return bcAngleDETECT */ - @javax.annotation.Nullable public Float getBcAngleDETECT() { return bcAngleDETECT; } @@ -98,7 +97,6 @@ public PArrayField withBcCodeResult(Integer bcCodeResult) { * * @return bcCodeResult */ - @javax.annotation.Nullable public Integer getBcCodeResult() { return bcCodeResult; } @@ -117,7 +115,6 @@ public PArrayField withBcCountModule(Integer bcCountModule) { * * @return bcCountModule */ - @javax.annotation.Nullable public Integer getBcCountModule() { return bcCountModule; } @@ -132,9 +129,6 @@ public PArrayField withBcDataModule(List bcDataModule) { } public PArrayField addBcDataModuleItem(DataModule bcDataModuleItem) { - if (this.bcDataModule == null) { - this.bcDataModule = new ArrayList(); - } this.bcDataModule.add(bcDataModuleItem); return this; } @@ -144,7 +138,6 @@ public PArrayField addBcDataModuleItem(DataModule bcDataModuleItem) { * * @return bcDataModule */ - @javax.annotation.Nullable public List getBcDataModule() { return bcDataModule; } @@ -182,7 +175,6 @@ public PArrayField withBcROIDETECT(BcROIDETECT bcROIDETECT) { * * @return bcROIDETECT */ - @javax.annotation.Nullable public BcROIDETECT getBcROIDETECT() { return bcROIDETECT; } @@ -229,7 +221,7 @@ public void setBcTextFieldType(Integer bcTextFieldType) { this.bcTextFieldType = bcTextFieldType; } - public PArrayField withBcTypeDECODE(Integer bcTypeDECODE) { + public PArrayField withBcTypeDECODE(BarcodeType bcTypeDECODE) { this.bcTypeDECODE = bcTypeDECODE; return this; } @@ -239,12 +231,11 @@ public PArrayField withBcTypeDECODE(Integer bcTypeDECODE) { * * @return bcTypeDECODE */ - @javax.annotation.Nullable - public Integer getBcTypeDECODE() { + public BarcodeType getBcTypeDECODE() { return bcTypeDECODE; } - public void setBcTypeDECODE(Integer bcTypeDECODE) { + public void setBcTypeDECODE(BarcodeType bcTypeDECODE) { this.bcTypeDECODE = bcTypeDECODE; } @@ -258,7 +249,6 @@ public PArrayField withBcTypeDETECT(Integer bcTypeDETECT) { * * @return bcTypeDETECT */ - @javax.annotation.Nullable public Integer getBcTypeDETECT() { return bcTypeDETECT; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ParsingErrorCodes.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ParsingErrorCodes.java new file mode 100644 index 00000000..b15e54c2 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ParsingErrorCodes.java @@ -0,0 +1,394 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class ParsingErrorCodes { + + /** OK */ + public static final int errLDS_Ok = 1; + + /** ASN: Incorrect data */ + public static final int errLDS_ASN_IncorrectData = -2147483647; + + /** ASN: Not enough data */ + public static final int errLDS_ASN_NotEnoughData = -2147483646; + + /** ASN: Contents unexpected data */ + public static final int errLDS_ASN_Contents_UnexpectedData = -2147483645; + + /** ASN Signed data: Incorrect data */ + public static final int errLDS_ASN_SignedData_IncorrectData = -2147483640; + + /** ASN Signed data: Encap contents incorrect data */ + public static final int errLDS_ASN_SignedData_EncapContents_IncorrectData = -2147483639; + + /** ASN Signed data: Version incorrect data */ + public static final int errLDS_ASN_SignedData_Version_IncorrectData = -2147483638; + + /** ASN Signed data: Digest algorithms incorrect data */ + public static final int errLDS_ASN_SignedData_DigestAlgorithms_IncorrectData = -2147483631; + + /** ASN LDS object: Incorrect data */ + public static final int errLDS_ASN_LDSObject_IncorrectData = -2147483629; + + /** ASN LDS object: Version incorrect data */ + public static final int errLDS_ASN_LDSObject_Version_IncorrectData = -2147483628; + + /** ASN LDS object: Digest algorithm incorrect data */ + public static final int errLDS_ASN_LDSObject_DigestAlgorithm_IncorrectData = -2147483627; + + /** ASN LDS object: DG hashes incorrect data */ + public static final int errLDS_ASN_LDSObject_DGHashes_IncorrectData = -2147483626; + + /** ASN LDS object: Version info incorrect data */ + public static final int errLDS_ASN_LDSObject_VersionInfo_IncorrectData = -2147483630; + + /** ASN Certificate: Incorrect data */ + public static final int errLDS_ASN_Certificate_IncorrectData = -2147483625; + + /** ASN Certificate: Version incorrect data */ + public static final int errLDS_ASN_Certificate_Version_IncorrectData = -2147483624; + + /** ASN Certificate: SN incorrect data */ + public static final int errLDS_ASN_Certificate_SN_IncorrectData = -2147483623; + + /** ASN Certificate: Signature incorrect data */ + public static final int errLDS_ASN_Certificate_Signature_IncorrectData = -2147483622; + + /** ASN Certificate: Issuer incorrect data */ + public static final int errLDS_ASN_Certificate_Issuer_IncorrectData = -2147483621; + + /** ASN Certificate: Validity incorrect data */ + public static final int errLDS_ASN_Certificate_Validity_IncorrectData = -2147483620; + + /** ASN Certificate: Subject incorrect data */ + public static final int errLDS_ASN_Certificate_Subject_IncorrectData = -2147483619; + + /** ASN Certificate: Subject PK incorrect data */ + public static final int errLDS_ASN_Certificate_SubjectPK_IncorrectData = -2147483618; + + /** ASN Certificate: Extensions incorrect data */ + public static final int errLDS_ASN_Certificate_Extensions_IncorrectData = -2147483617; + + /** ASN Signer info: Incorrect data */ + public static final int errLDS_ASN_SignerInfo_IncorrectData = -2147483616; + + /** ASN Signer info: Version incorrect data */ + public static final int errLDS_ASN_SignerInfo_Version_IncorrectData = -2147483615; + + /** ASN Signer info: SID incorrect data */ + public static final int errLDS_ASN_SignerInfo_SID_IncorrectData = -2147483614; + + /** ASN Signer info: Digest algorithms incorrect data */ + public static final int errLDS_ASN_SignerInfo_DigestAlg_IncorrectData = -2147483613; + + /** ASN Signer info: Signed attributes incorrect data */ + public static final int errLDS_ASN_SignerInfo_SignedAttrs_IncorrectData = -2147483612; + + /** ASN Signer info: Sign algorithms incorrect data */ + public static final int errLDS_ASN_SignerInfo_SignAlg_IncorrectData = -2147483611; + + /** ASN Signer info: Signature incorrect data */ + public static final int errLDS_ASN_SignerInfo_Signature_IncorrectData = -2147483610; + + /** ASN Signer info: Unsigned attributes incorrect data */ + public static final int errLDS_ASN_SignerInfo_UnsignedAttrs_IncorrectData = -2147483609; + + /** ICAO LDS object: Unsupported digest algorithm */ + public static final int errLDS_ICAO_LDSObject_UnsupportedDigestAlgorithm = -2147483600; + + /** ICAO Signed data: Signer info empty */ + public static final int errLDS_ICAO_SignedData_SignerInfos_Empty = -2147483599; + + /** ICAO Signer info: Unsupported digest algorithm */ + public static final int errLDS_ICAO_SignerInfo_UnsupportedDigestAlgorithm = -2147483598; + + /** ICAO Signer info: Unsupported signature algorithm */ + public static final int errLDS_ICAO_SignerInfo_UnsupportedSignatureAlgorithm = -2147483597; + + /** ICAO Signer info: Message digest error */ + public static final int errLDS_ICAO_SignerInfo_MessageDigestError = -2147483596; + + /** ICAO Signer info: Signed attributes missed */ + public static final int errLDS_ICAO_SignerInfo_SignedAttrs_Missed = -2147483594; + + /** Auth: Signer info cannot find certificate */ + public static final int errLDS_Auth_SignerInfo_CantFindCertificate = -2147483595; + + /** Auth: Error */ + public static final int errLDS_Auth_Error = -2147483568; + + /** Auth: Unsupported signature algorithm */ + public static final int errLDS_Auth_UnsupportedSignatureAlgorithm = -2147483567; + + /** Auth: Unsupported public key algorithm */ + public static final int errLDS_Auth_UnsupportedPublicKeyAlgorithm = -2147483566; + + /** Auth: Messed algorithms */ + public static final int errLDS_Auth_MessedAlgorithms = -2147483565; + + /** Auth: Public key data invalid */ + public static final int errLDS_Auth_PublicKeyDataInvalid = -2147483564; + + /** Auth: Algorithm parameters data invalid */ + public static final int errLDS_Auth_AlgorithmParametersDataInvalid = -2147483563; + + /** Auth: Signature data invalid */ + public static final int errLDS_Auth_SignatureDataInvalid = -2147483562; + + /** Auth: Unsupported digest algorithm */ + public static final int errLDS_Auth_UnsupportedDigestAlgorithm = -2147483561; + + /** Auth: Signature data incorrect */ + public static final int errLDS_Auth_SignatureDataIncorrect = -2147483560; + + /** Auth: Algorithm parameters not defined */ + public static final int errLDS_Auth_AlgorithmParametersNotDefined = -2147483559; + + /** Auth: Signature check failed */ + public static final int errLDS_Auth_SignatureCheckFailed = -2147483558; + + /** DG: Wrong Tag */ + public static final int errLDS_DG_WrongTag = -2147483536; + + /** DG: Contents unexpected data */ + public static final int errLDS_DG_Contents_UnexpectedData = -2147483535; + + /** BAP: Symmetric Cypher Cannot Initialize */ + public static final int errLDS_BAP_SymmetricCypher_CantInitialize = -2130706415; + + /** PACE: Info Not Available */ + public static final int errLDS_PACE_Info_NotAvailable = -2130706400; + + /** PACE: Symmetric Cypher Cannot Initialize */ + public static final int errLDS_PACE_SymmetricCypher_CantInitialize = -2130706399; + + /** PACE: Key Agreement Cannot Initialize */ + public static final int errLDS_PACE_KeyAgreement_CantInitialize = -2130706398; + + /** PACE: Ephemeral Keys Cannot Create */ + public static final int errLDS_PACE_EphemeralKeys_CantCreate = -2130706397; + + /** PACE: Mapping Cannot Decode Nonce */ + public static final int errLDS_PACE_Mapping_CantDecodeNonce = -2130706396; + + /** PACE: Shared Secret Cannot Create */ + public static final int errLDS_PACE_SharedSecret_CantCreate = -2130706395; + + /** PACE: Domain Params Unsupported Format */ + public static final int errLDS_PACE_DomainParams_UnsupportedFormat = -2130706394; + + /** PACE: Ephemeral Keys Incorrect */ + public static final int errLDS_PACE_EphemeralKeys_Incorrect = -2130706393; + + /** PACE: Mapping Ephemeral Keys Incorrect */ + public static final int errLDS_PACE_Mapping_EphemeralKeys_Incorrect = -2130706392; + + /** PACE: Mapping Cannot Perform */ + public static final int errLDS_PACE_Mapping_CantPerform = -2130706391; + + /** PACE: Non-Matching Auth Tokens */ + public static final int errLDS_PACE_NonMatchingAuthTokens = -2130706390; + + /** PACE: CAM data incorrect */ + public static final int errLDS_PACE_CAM_Data_Incorrect = -2130706389; + + /** PACE: CAM data cannot verify */ + public static final int errLDS_PACE_CAM_Data_CantVerify = -2130706388; + + /** PACE: CAM data non-matching */ + public static final int errLDS_PACE_CAM_Data_NonMatching = -2130706387; + + /** PACE: IM scheme incorrect */ + public static final int errLDS_PACE_IM_Scheme_Incorrect = -2130706386; + + /** PACE: Random mapping failed */ + public static final int errLDS_PACE_IM_RandomMapping_Failed = -2130706385; + + /** CA: Cannot Find Public Key */ + public static final int errLDS_CA_CantFindPublicKey = -2130706384; + + /** CA: Cannot Find Info */ + public static final int errLDS_CA_CantFindInfo = -2130706383; + + /** CA: Incorrect Version */ + public static final int errLDS_CA_IncorrectVersion = -2130706382; + + /** CA: Cannot Find Domain Parameters */ + public static final int errLDS_CA_CantFindDomainParameters = -2130706381; + + /** CA: Key Agreement Cannot Initialize */ + public static final int errLDS_CA_KeyAgreement_CantInitialize = -2130706380; + + /** CA: Public Key Unsupported Algorithm */ + public static final int errLDS_CA_PublicKey_UnsupportedAlgorithm = -2130706379; + + /** CA: Ephemeral Keys Cannot Create */ + public static final int errLDS_CA_EphemeralKeys_CantCreate = -2130706378; + + /** CA: Shared Secret Cannot Create */ + public static final int errLDS_CA_SharedSecret_CantCreate = -2130706377; + + /** CA: Non-Matching Auth Tokens */ + public static final int errLDS_CA_NonMatchingAuthTokens = -2130706376; + + /** TA: Incorrect Version */ + public static final int errLDS_TA_IncorrectVersion = -2130706368; + + /** TA: Cannot Build Certificate Chain */ + public static final int errLDS_TA_CantBuildCertificateChain = -2130706367; + + /** TA: Cannot Find IS Private Key */ + public static final int errLDS_TA_CantFindISPrivateKey = -2130706366; + + /** TA: Public Key Unsupported Algorithm */ + public static final int errLDS_TA_PublicKey_UnsupportedAlgorithm = -2130706365; + + /** TA: Signature Building Error */ + public static final int errLDS_TA_SignatureBuildingError = -2130706364; + + /** TA: Invalid Key Algorithm Parameters */ + public static final int errLDS_TA_InvalidKeyAlgorithmParameters = -2130706363; + + /** AA: Public Key Unsupported Algorithm */ + public static final int errLDS_AA_PublicKey_UnsupportedAlgorithm = -2130706352; + + /** AA: Public Key Incorrect Data */ + public static final int errLDS_AA_PublicKey_IncorrectData = -2130706351; + + /** AA: Public Key Incorrect Parameters */ + public static final int errLDS_AA_PublicKey_IncorrectParameters = -2130706350; + + /** AA: Public Key Undefined Parameters */ + public static final int errLDS_AA_PublicKey_UndefinedParameters = -2130706349; + + /** AA: Signature Incorrect Data */ + public static final int errLDS_AA_Signature_IncorrectData = -2130706348; + + /** AA: Unsupported recovery scheme */ + public static final int errLDS_AA_UnsupportedRecoveryScheme = -2130706347; + + /** AA: Incorrect Trailer */ + public static final int errLDS_AA_IncorrectTrailer = -2130706346; + + /** AA: Unsupported Digest Algorithm */ + public static final int errLDS_AA_UnsupportedDigestAlgorithm = -2130706345; + + /** RI: Sector Key Cannot Find */ + public static final int errLDS_RI_SectorKey_CantFind = -2130706320; + + /** RI: Sector Key Incorrect Data */ + public static final int errLDS_RI_SectorKey_IncorrectData = -2130706319; + + /** RI: Sector Key Incomplete Data */ + public static final int errLDS_RI_SectorKey_IncompleteData = -2130706318; + + /** CV Certificate: Missing mandatory data PK */ + public static final int errLDS_CV_Certificate_MissingMandatoryData_PK = -2130706336; + + /** CV Certificate: Public key unsupported */ + public static final int errLDS_CV_Certificate_PublicKey_Unsupported = -2130706334; + + /** CV Certificate: CHAT unsupported terminal type */ + public static final int errLDS_CV_Certificate_CHAT_UnsupportedTerminalType = -2130706333; + + /** CV Certificate: Private key unsupported */ + public static final int errLDS_CV_Certificate_PrivateKey_Unsupported = -2130706332; + + /** CV Certificate: Private key invalid params */ + public static final int errLDS_CV_Certificate_PrivateKey_InvalidParams = -2130706331; + + /** CV Certificate: Incorrect data */ + public static final int errLDS_CV_Certificate_IncorrectData = -2130706080; + + /** CV Certificate: CPI incorrect data */ + public static final int errLDS_CV_Certificate_CPI_IncorrectData = -2130706079; + + /** CV Certificate: CAR incorrect data */ + public static final int errLDS_CV_Certificate_CAR_IncorrectData = -2130706078; + + /** CV Certificate: Public key incorrect data */ + public static final int errLDS_CV_Certificate_PublicKey_IncorrectData = -2130706077; + + /** CV Certificate: CHR incorrect data */ + public static final int errLDS_CV_Certificate_CHR_IncorrectData = -2130706076; + + /** CV Certificate: CHAT incorrect data */ + public static final int errLDS_CV_Certificate_CHAT_IncorrectData = -2130706075; + + /** CV Certificate: Valid from incorrect data */ + public static final int errLDS_CV_Certificate_ValidFrom_IncorrectData = -2130706074; + + /** CV Certificate: Valid to incorrect data */ + public static final int errLDS_CV_Certificate_ValidTo_IncorrectData = -2130706073; + + /** CV Certificate: Extensions incorrect data */ + public static final int errLDS_CV_Certificate_Extensions_IncorrectData = -2130706072; + + /** CV Certificate: Private key incorrect data */ + public static final int errLDS_CV_Certificate_PrivateKey_IncorrectData = -2130706071; + + /** CV Certificate: Private key missing */ + public static final int errLDS_CV_Certificate_PrivateKey_Missing = -2130706070; + + /** VDS: Unsupported version */ + public static final int errLDS_VDS_UnsupportedVersion = -2130705920; + + /** VDS: Issuing country size */ + public static final int errLDS_VDS_Issuing_Country_Size = -2130705919; + + /** VDS: Issuing country incorrect data */ + public static final int errLDS_VDS_Issuing_Country_IncorrectData = -2130705918; + + /** VDS: Signature certificate size */ + public static final int errLDS_VDS_Signer_Certificate_Size = -2130705917; + + /** VDS: Signature certificate data */ + public static final int errLDS_VDS_Signer_Certificate_Data = -2130705916; + + /** VDS: Signature incorrect data */ + public static final int errLDS_VDS_Signature_IncorrectData = -2130705915; + + /** VDS: Incorrect data */ + public static final int errLDS_VDS_NC_IncorrectData = -2130705664; + + /** VDS: Missing or incorrect data */ + public static final int errLDS_VDS_NC_MissingOrIncorrect_Data = -2130705663; + + /** VDS: Missing or incorrect header */ + public static final int errLDS_VDS_NC_MissingOrIncorrect_Header = -2130705662; + + /** VDS: Missing or incorrect type */ + public static final int errLDS_VDS_NC_MissingOrIncorrect_Type = -2130705661; + + /** VDS: Missing or incorrect version */ + public static final int errLDS_VDS_NC_MissingOrIncorrect_Version = -2130705660; + + /** VDS: Missing or incorrect issuing country */ + public static final int errLDS_VDS_NC_MissingOrIncorrect_IssuingCountry = -2130705659; + + /** VDS: Missing or incorrect message */ + public static final int errLDS_VDS_NC_MissingOrIncorrect_Message = -2130705658; + + /** VDS: Missing or incorrect signature */ + public static final int errLDS_VDS_NC_MissingOrIncorrect_Signature = -2130705657; + + /** VDS: Missing or incorrect signature algorithm */ + public static final int errLDS_VDS_NC_MissingOrIncorrect_SigAlgorithm = -2130705656; + + /** VDS: Missing or incorrect certificate */ + public static final int errLDS_VDS_NC_MissingOrIncorrect_Certificate = -2130705655; + + /** VDS: Missing or incorrect signature value */ + public static final int errLDS_VDS_NC_MissingOrIncorrect_SigValue = -2130705654; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ParsingNotificationCodes.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ParsingNotificationCodes.java index 81341736..840d35de 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ParsingNotificationCodes.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ParsingNotificationCodes.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/PerDocumentConfig.java b/client/src/main/generated/com/regula/documentreader/webclient/model/PerDocumentConfig.java index 0804fbfc..7ca21a5a 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/PerDocumentConfig.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/PerDocumentConfig.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/PhotoIdentResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/PhotoIdentResult.java index 421e6904..b96adfd3 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/PhotoIdentResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/PhotoIdentResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -18,7 +18,27 @@ import java.util.Objects; /** PhotoIdentResult */ -public class PhotoIdentResult extends AuthenticityCheckResultItem { +public class PhotoIdentResult { + public static final String SERIALIZED_NAME_TYPE = "Type"; + + @SerializedName(SERIALIZED_NAME_TYPE) + private Integer type = 0; + + public static final String SERIALIZED_NAME_ELEMENT_RESULT = "ElementResult"; + + @SerializedName(SERIALIZED_NAME_ELEMENT_RESULT) + private Integer elementResult; + + public static final String SERIALIZED_NAME_ELEMENT_DIAGNOSE = "ElementDiagnose"; + + @SerializedName(SERIALIZED_NAME_ELEMENT_DIAGNOSE) + private Integer elementDiagnose; + + public static final String SERIALIZED_NAME_PERCENT_VALUE = "PercentValue"; + + @SerializedName(SERIALIZED_NAME_PERCENT_VALUE) + private Integer percentValue; + public static final String SERIALIZED_NAME_LIGHT_INDEX = "LightIndex"; @SerializedName(SERIALIZED_NAME_LIGHT_INDEX) @@ -59,11 +79,97 @@ public class PhotoIdentResult extends AuthenticityCheckResultItem { @SerializedName(SERIALIZED_NAME_ANGLE) private Integer angle; + public static final String SERIALIZED_NAME_RESERVED1 = "Reserved1"; + + @SerializedName(SERIALIZED_NAME_RESERVED1) + private Integer reserved1; + + public static final String SERIALIZED_NAME_RESERVED2 = "Reserved2"; + + @SerializedName(SERIALIZED_NAME_RESERVED2) + private Integer reserved2; + public static final String SERIALIZED_NAME_RESERVED3 = "Reserved3"; @SerializedName(SERIALIZED_NAME_RESERVED3) private Integer reserved3; + public PhotoIdentResult withType(Integer type) { + this.type = type; + return this; + } + + /** + * Same as authenticity result type, but used for safe parsing of not-described values: + * https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/authenticity-result-type/ + * + * @return type + */ + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + public PhotoIdentResult withElementResult(Integer elementResult) { + this.elementResult = elementResult; + return this; + } + + /** + * Get elementResult + * + * @return elementResult + */ + @javax.annotation.Nullable + public Integer getElementResult() { + return elementResult; + } + + public void setElementResult(Integer elementResult) { + this.elementResult = elementResult; + } + + public PhotoIdentResult withElementDiagnose(Integer elementDiagnose) { + this.elementDiagnose = elementDiagnose; + return this; + } + + /** + * Get elementDiagnose + * + * @return elementDiagnose + */ + @javax.annotation.Nullable + public Integer getElementDiagnose() { + return elementDiagnose; + } + + public void setElementDiagnose(Integer elementDiagnose) { + this.elementDiagnose = elementDiagnose; + } + + public PhotoIdentResult withPercentValue(Integer percentValue) { + this.percentValue = percentValue; + return this; + } + + /** + * Get percentValue + * + * @return percentValue + */ + @javax.annotation.Nullable + public Integer getPercentValue() { + return percentValue; + } + + public void setPercentValue(Integer percentValue) { + this.percentValue = percentValue; + } + public PhotoIdentResult withLightIndex(Integer lightIndex) { this.lightIndex = lightIndex; return this; @@ -74,7 +180,6 @@ public PhotoIdentResult withLightIndex(Integer lightIndex) { * * @return lightIndex */ - @javax.annotation.Nullable public Integer getLightIndex() { return lightIndex; } @@ -93,7 +198,6 @@ public PhotoIdentResult withArea(RectangleCoordinates area) { * * @return area */ - @javax.annotation.Nullable public RectangleCoordinates getArea() { return area; } @@ -112,7 +216,6 @@ public PhotoIdentResult withSourceImage(ImageData sourceImage) { * * @return sourceImage */ - @javax.annotation.Nullable public ImageData getSourceImage() { return sourceImage; } @@ -131,7 +234,6 @@ public PhotoIdentResult withResultImages(RawImageContainerList resultImages) { * * @return resultImages */ - @javax.annotation.Nullable public RawImageContainerList getResultImages() { return resultImages; } @@ -224,6 +326,44 @@ public void setAngle(Integer angle) { this.angle = angle; } + public PhotoIdentResult withReserved1(Integer reserved1) { + this.reserved1 = reserved1; + return this; + } + + /** + * Get reserved1 + * + * @return reserved1 + */ + @javax.annotation.Nullable + public Integer getReserved1() { + return reserved1; + } + + public void setReserved1(Integer reserved1) { + this.reserved1 = reserved1; + } + + public PhotoIdentResult withReserved2(Integer reserved2) { + this.reserved2 = reserved2; + return this; + } + + /** + * Get reserved2 + * + * @return reserved2 + */ + @javax.annotation.Nullable + public Integer getReserved2() { + return reserved2; + } + + public void setReserved2(Integer reserved2) { + this.reserved2 = reserved2; + } + public PhotoIdentResult withReserved3(Integer reserved3) { this.reserved3 = reserved3; return this; @@ -252,7 +392,11 @@ public boolean equals(java.lang.Object o) { return false; } PhotoIdentResult photoIdentResult = (PhotoIdentResult) o; - return Objects.equals(this.lightIndex, photoIdentResult.lightIndex) + return Objects.equals(this.type, photoIdentResult.type) + && Objects.equals(this.elementResult, photoIdentResult.elementResult) + && Objects.equals(this.elementDiagnose, photoIdentResult.elementDiagnose) + && Objects.equals(this.percentValue, photoIdentResult.percentValue) + && Objects.equals(this.lightIndex, photoIdentResult.lightIndex) && Objects.equals(this.area, photoIdentResult.area) && Objects.equals(this.sourceImage, photoIdentResult.sourceImage) && Objects.equals(this.resultImages, photoIdentResult.resultImages) @@ -260,13 +404,18 @@ public boolean equals(java.lang.Object o) { && Objects.equals(this.fieldTypesList, photoIdentResult.fieldTypesList) && Objects.equals(this.step, photoIdentResult.step) && Objects.equals(this.angle, photoIdentResult.angle) - && Objects.equals(this.reserved3, photoIdentResult.reserved3) - && super.equals(o); + && Objects.equals(this.reserved1, photoIdentResult.reserved1) + && Objects.equals(this.reserved2, photoIdentResult.reserved2) + && Objects.equals(this.reserved3, photoIdentResult.reserved3); } @Override public int hashCode() { return Objects.hash( + type, + elementResult, + elementDiagnose, + percentValue, lightIndex, area, sourceImage, @@ -275,15 +424,19 @@ public int hashCode() { fieldTypesList, step, angle, - reserved3, - super.hashCode()); + reserved1, + reserved2, + reserved3); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PhotoIdentResult {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" elementResult: ").append(toIndentedString(elementResult)).append("\n"); + sb.append(" elementDiagnose: ").append(toIndentedString(elementDiagnose)).append("\n"); + sb.append(" percentValue: ").append(toIndentedString(percentValue)).append("\n"); sb.append(" lightIndex: ").append(toIndentedString(lightIndex)).append("\n"); sb.append(" area: ").append(toIndentedString(area)).append("\n"); sb.append(" sourceImage: ").append(toIndentedString(sourceImage)).append("\n"); @@ -292,6 +445,8 @@ public String toString() { sb.append(" fieldTypesList: ").append(toIndentedString(fieldTypesList)).append("\n"); sb.append(" step: ").append(toIndentedString(step)).append("\n"); sb.append(" angle: ").append(toIndentedString(angle)).append("\n"); + sb.append(" reserved1: ").append(toIndentedString(reserved1)).append("\n"); + sb.append(" reserved2: ").append(toIndentedString(reserved2)).append("\n"); sb.append(" reserved3: ").append(toIndentedString(reserved3)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/Point.java b/client/src/main/generated/com/regula/documentreader/webclient/model/Point.java index e17b6824..afe6c0e0 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/Point.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/Point.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -37,7 +37,6 @@ public Point withX(Integer x) { * * @return x */ - @javax.annotation.Nullable public Integer getX() { return x; } @@ -56,7 +55,6 @@ public Point withY(Integer y) { * * @return y */ - @javax.annotation.Nullable public Integer getY() { return y; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/PointArray.java b/client/src/main/generated/com/regula/documentreader/webclient/model/PointArray.java index a7666422..5397a7bb 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/PointArray.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/PointArray.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,7 +22,7 @@ public class PointArray { public static final String SERIALIZED_NAME_POINTS_LIST = "PointsList"; @SerializedName(SERIALIZED_NAME_POINTS_LIST) - private List pointsList = null; + private List pointsList = new ArrayList(); public PointArray withPointsList(List pointsList) { this.pointsList = pointsList; @@ -30,9 +30,6 @@ public PointArray withPointsList(List pointsList) { } public PointArray addPointsListItem(Point pointsListItem) { - if (this.pointsList == null) { - this.pointsList = new ArrayList(); - } this.pointsList.add(pointsListItem); return this; } @@ -42,7 +39,6 @@ public PointArray addPointsListItem(Point pointsListItem) { * * @return pointsList */ - @javax.annotation.Nullable public List getPointsList() { return pointsList; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/PointsContainer.java b/client/src/main/generated/com/regula/documentreader/webclient/model/PointsContainer.java index ab8f75c5..21cfc910 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/PointsContainer.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/PointsContainer.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,7 +27,7 @@ public class PointsContainer { public static final String SERIALIZED_NAME_POINTS_LIST = "PointsList"; @SerializedName(SERIALIZED_NAME_POINTS_LIST) - private List pointsList = null; + private List pointsList = new ArrayList(); public PointsContainer withPointCount(Integer pointCount) { this.pointCount = pointCount; @@ -54,9 +54,6 @@ public PointsContainer withPointsList(List pointsList) { } public PointsContainer addPointsListItem(Point pointsListItem) { - if (this.pointsList == null) { - this.pointsList = new ArrayList(); - } this.pointsList.add(pointsListItem); return this; } @@ -66,7 +63,6 @@ public PointsContainer addPointsListItem(Point pointsListItem) { * * @return pointsList */ - @javax.annotation.Nullable public List getPointsList() { return pointsList; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java index 381bba4d..94dcea88 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -31,6 +31,11 @@ public class ProcessParams { @SerializedName(SERIALIZED_NAME_LCID_FILTER) private List lcidFilter = null; + public static final String SERIALIZED_NAME_CHECK_LIVENESS = "checkLiveness"; + + @SerializedName(SERIALIZED_NAME_CHECK_LIVENESS) + private Boolean checkLiveness; + public static final String SERIALIZED_NAME_LCID_IGNORE_FILTER = "lcidIgnoreFilter"; @SerializedName(SERIALIZED_NAME_LCID_IGNORE_FILTER) @@ -363,6 +368,25 @@ public void setLcidFilter(List lcidFilter) { this.lcidFilter = lcidFilter; } + public ProcessParams withCheckLiveness(Boolean checkLiveness) { + this.checkLiveness = checkLiveness; + return this; + } + + /** + * This parameter is used to enable document liveness check. + * + * @return checkLiveness + */ + @javax.annotation.Nullable + public Boolean getCheckLiveness() { + return checkLiveness; + } + + public void setCheckLiveness(Boolean checkLiveness) { + this.checkLiveness = checkLiveness; + } + public ProcessParams withLcidIgnoreFilter(List lcidIgnoreFilter) { this.lcidIgnoreFilter = lcidIgnoreFilter; return this; @@ -1554,6 +1578,7 @@ public boolean equals(java.lang.Object o) { ProcessParams processParams = (ProcessParams) o; return Objects.equals(this.generateDTCVC, processParams.generateDTCVC) && Objects.equals(this.lcidFilter, processParams.lcidFilter) + && Objects.equals(this.checkLiveness, processParams.checkLiveness) && Objects.equals(this.lcidIgnoreFilter, processParams.lcidIgnoreFilter) && Objects.equals(this.oneShotIdentification, processParams.oneShotIdentification) && Objects.equals(this.useFaceApi, processParams.useFaceApi) @@ -1620,6 +1645,7 @@ public int hashCode() { return Objects.hash( generateDTCVC, lcidFilter, + checkLiveness, lcidIgnoreFilter, oneShotIdentification, useFaceApi, @@ -1684,6 +1710,7 @@ public String toString() { sb.append("class ProcessParams {\n"); sb.append(" generateDTCVC: ").append(toIndentedString(generateDTCVC)).append("\n"); sb.append(" lcidFilter: ").append(toIndentedString(lcidFilter)).append("\n"); + sb.append(" checkLiveness: ").append(toIndentedString(checkLiveness)).append("\n"); sb.append(" lcidIgnoreFilter: ").append(toIndentedString(lcidIgnoreFilter)).append("\n"); sb.append(" oneShotIdentification: ") .append(toIndentedString(oneShotIdentification)) diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParamsRfid.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParamsRfid.java index 2cd9397f..7ad14c6f 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParamsRfid.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParamsRfid.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessRequest.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessRequest.java index b52346fb..9a04300e 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessRequest.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessRequest.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,11 @@ /** ProcessRequest */ public class ProcessRequest { + public static final String SERIALIZED_NAME_LCID_FILTER = "lcidFilter"; + + @SerializedName(SERIALIZED_NAME_LCID_FILTER) + private List lcidFilter = null; + public static final String SERIALIZED_NAME_PROCESS_PARAM = "processParam"; @SerializedName(SERIALIZED_NAME_PROCESS_PARAM) @@ -81,6 +86,34 @@ public class ProcessRequest { @SerializedName(SERIALIZED_NAME_IMAGE_URLS) private List imageUrls = null; + public ProcessRequest withLcidFilter(List lcidFilter) { + this.lcidFilter = lcidFilter; + return this; + } + + public ProcessRequest addLcidFilterItem(Integer lcidFilterItem) { + if (this.lcidFilter == null) { + this.lcidFilter = new ArrayList(); + } + this.lcidFilter.add(lcidFilterItem); + return this; + } + + /** + * The list of LCID types to recognize. If empty, values with all LCID types will be extracted. + * Empty by default. + * + * @return lcidFilter + */ + @javax.annotation.Nullable + public List getLcidFilter() { + return lcidFilter; + } + + public void setLcidFilter(List lcidFilter) { + this.lcidFilter = lcidFilter; + } + public ProcessRequest withProcessParam(ProcessParams processParam) { this.processParam = processParam; return this; @@ -342,7 +375,8 @@ public boolean equals(java.lang.Object o) { return false; } ProcessRequest processRequest = (ProcessRequest) o; - return Objects.equals(this.processParam, processRequest.processParam) + return Objects.equals(this.lcidFilter, processRequest.lcidFilter) + && Objects.equals(this.processParam, processRequest.processParam) && Objects.equals(this.list, processRequest.list) && Objects.equals(this.tag, processRequest.tag) && Objects.equals(this.tenant, processRequest.tenant) @@ -359,6 +393,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { return Objects.hash( + lcidFilter, processParam, list, tag, @@ -377,6 +412,7 @@ public int hashCode() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ProcessRequest {\n"); + sb.append(" lcidFilter: ").append(toIndentedString(lcidFilter)).append("\n"); sb.append(" processParam: ").append(toIndentedString(processParam)).append("\n"); sb.append(" list: ").append(toIndentedString(list)).append("\n"); sb.append(" tag: ").append(toIndentedString(tag)).append("\n"); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessRequestImage.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessRequestImage.java index 9d6a7804..3ada2b61 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessRequestImage.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessRequestImage.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -42,6 +42,7 @@ public ProcessRequestImage withImageData(ImageData imageData) { * * @return imageData */ + @javax.annotation.Nullable public ImageData getImageData() { return imageData; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessResponse.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessResponse.java index 67d94ae8..35efe09f 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessResponse.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessResponse.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -59,6 +59,11 @@ public class ProcessResponse { @SerializedName(SERIALIZED_NAME_ELAPSED_TIME) private Integer elapsedTime; + public static final String SERIALIZED_NAME_METADATA = "metadata"; + + @SerializedName(SERIALIZED_NAME_METADATA) + private Map metadata = null; + public ProcessResponse withChipPage(Integer chipPage) { this.chipPage = chipPage; return this; @@ -69,7 +74,6 @@ public ProcessResponse withChipPage(Integer chipPage) { * * @return chipPage */ - @javax.annotation.Nullable public Integer getChipPage() { return chipPage; } @@ -188,7 +192,6 @@ public ProcessResponse withMorePagesAvailable(Integer morePagesAvailable) { * * @return morePagesAvailable */ - @javax.annotation.Nullable public Integer getMorePagesAvailable() { return morePagesAvailable; } @@ -207,7 +210,6 @@ public ProcessResponse withElapsedTime(Integer elapsedTime) { * * @return elapsedTime */ - @javax.annotation.Nullable public Integer getElapsedTime() { return elapsedTime; } @@ -216,6 +218,33 @@ public void setElapsedTime(Integer elapsedTime) { this.elapsedTime = elapsedTime; } + public ProcessResponse withMetadata(Map metadata) { + this.metadata = metadata; + return this; + } + + public ProcessResponse putMetadataItem(String key, Object metadataItem) { + if (this.metadata == null) { + this.metadata = new HashMap(); + } + this.metadata.put(key, metadataItem); + return this; + } + + /** + * Get metadata + * + * @return metadata + */ + @javax.annotation.Nullable + public Map getMetadata() { + return metadata; + } + + public void setMetadata(Map metadata) { + this.metadata = metadata; + } + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -232,7 +261,8 @@ public boolean equals(java.lang.Object o) { && Objects.equals(this.log, processResponse.log) && Objects.equals(this.passBackObject, processResponse.passBackObject) && Objects.equals(this.morePagesAvailable, processResponse.morePagesAvailable) - && Objects.equals(this.elapsedTime, processResponse.elapsedTime); + && Objects.equals(this.elapsedTime, processResponse.elapsedTime) + && Objects.equals(this.metadata, processResponse.metadata); } @Override @@ -245,7 +275,8 @@ public int hashCode() { log, passBackObject, morePagesAvailable, - elapsedTime); + elapsedTime, + metadata); } @Override @@ -260,6 +291,7 @@ public String toString() { sb.append(" passBackObject: ").append(toIndentedString(passBackObject)).append("\n"); sb.append(" morePagesAvailable: ").append(toIndentedString(morePagesAvailable)).append("\n"); sb.append(" elapsedTime: ").append(toIndentedString(elapsedTime)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessSystemInfo.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessSystemInfo.java index f752d879..b62910fa 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessSystemInfo.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessSystemInfo.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessingStatus.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessingStatus.java index a9c961a2..3749cd50 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessingStatus.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessingStatus.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDErrorCodes.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDErrorCodes.java new file mode 100644 index 00000000..56530cea --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDErrorCodes.java @@ -0,0 +1,358 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class RFIDErrorCodes { + + /** LAYER6: Reading beyond EOF / Unexpected EOF */ + public static final int RFID_ERROR_LAYER6_FILE_EOF1 = -2147458430; + + /** LAYER6: PWD deactivated */ + public static final int RFID_ERROR_LAYER6_PWD_DEACTIVATED = -2147458429; + + /** LAYER6: PWD blocked */ + public static final int RFID_ERROR_LAYER6_PWD_BLOCKED = -2147458112; + + /** LAYER6: PWD suspended */ + public static final int RFID_ERROR_LAYER6_PWD_SUSPEND = -2147458111; + + /** LAYER6: PWD blocked 2 */ + public static final int RFID_ERROR_LAYER6_PWD_BLOCKED2 = -2147456637; + + /** LAYER6: PWD deactivated 2 */ + public static final int RFID_ERROR_LAYER6_PWD_DEACTIVATED2 = -2147456636; + + /** LAYER6: PWD suspended 2 */ + public static final int RFID_ERROR_LAYER6_PWD_SUSPEND2 = -2147456635; + + /** LAYER6: Incorrect params */ + public static final int RFID_ERROR_LAYER6_INCORRECT_PARAMS = -2147456384; + + /** LAYER6: File selection failure / file not found */ + public static final int RFID_ERROR_LAYER6_FILE_NOT_FOUND = -2147456382; + + /** LAYER6: No reference data */ + public static final int RFID_ERROR_LAYER6_NO_REFERENCE_DATA = -2147456376; + + /** LAYER6: Reading beyond EOF / Unexpected EOF */ + public static final int RFID_ERROR_LAYER6_FILE_EOF2 = -2147456256; + + /** RFID: No chip is detected */ + public static final int RFID_ERROR_NO_CHIP_DETECTED = -2147418111; + + /** RFID: Unavailable */ + public static final int RFID_ERROR_NOT_AVAILABLE = -2147418110; + + /** RFID: Invalid parameter in ExecuteCommand() call found */ + public static final int RFID_ERROR_INVALID_PARAMETER = -2147418108; + + /** RFID: Device is uninitialized */ + public static final int RFID_ERROR_NOT_INITIALIZED = -2147418107; + + /** RFID: Out of memory */ + public static final int RFID_ERROR_NOT_ENOUGH_MEMORY = -2147418106; + + /** RFID: Invalid directory */ + public static final int RFID_ERROR_INVALID_DIRECTORY = -2147418104; + + /** RFID: Unknown command */ + public static final int RFID_ERROR_UNKNOWN_COMMAND = -2147418103; + + /** RFID File: IO Error */ + public static final int RFID_ERROR_FILE_IO_ERROR = -2147418102; + + /** RFID: RFID is busy */ + public static final int RFID_ERROR_BUSY = -2147418101; + + /** RFID: The firmware needs to be updated to a newer version */ + public static final int RFID_ERROR_OLD_FIRMWARE = -2147418100; + + /** PCSC: Failed */ + public static final int RFID_ERROR_PCSC_FAILED = -2147352576; + + /** PCSC: The reader is unavailable */ + public static final int RFID_ERROR_PCSC_READER_NOT_AVAILABLE = -2147352575; + + /** PCSC: The card cannot be connected */ + public static final int RFID_ERROR_PCSC_CANT_CONNECT_CARD = -2147352574; + + /** PCSC: The card is not connected */ + public static final int RFID_ERROR_PCSC_CARD_IS_NOT_CONNECTED = -2147352573; + + /** PCSC: Operation is cancelled */ + public static final int RFID_ERROR_PCSC_OPERATION_CANCELLED = -2147352572; + + /** PCSC: The card is busy */ + public static final int RFID_ERROR_PCSC_CARD_IS_BUSY = -2147352571; + + /** PCSC: Failed Smart Card */ + public static final int RFID_ERROR_PCSC_FAILED_SCARD = -2147352570; + + /** PCSC: ExtLe Failed */ + public static final int RFID_ERROR_PCSC_EXT_LE_FAILED = -2147352560; + + /** LAYER6: PWD failed */ + public static final int RFID_ERROR_LAYER6_PWD_FAILED = -2146409536; + + /** RFID: Not performed */ + public static final int RFID_ERROR_NOT_PERFORMED = -2097152000; + + /** RFID: Session is closed */ + public static final int RFID_ERROR_SESSION_IS_CLOSED = -2097151999; + + /** RFID: Unsupported terminal operation */ + public static final int RFID_ERROR_SESSION_TERMINAL_UNSUPPORTED_OPERATION = -2097151998; + + /** RFID: Terminal type unknown */ + public static final int RFID_ERROR_SESSION_TERMINAL_TYPE_UNKNOWN = -2097151984; + + /** RFID: Terminal type bad certificate */ + public static final int RFID_ERROR_SESSION_TERMINAL_TYPE_BAD_CERTIFICATE = -2097151983; + + /** RFID: Terminal type not set */ + public static final int RFID_ERROR_SESSION_TERMINAL_TYPE_NOT_SET = -2097151982; + + /** RFID: Unknown procedure type */ + public static final int RFID_ERROR_SESSION_PROCEDURE_TYPE_UNKNOWN = -2097151981; + + /** RFID: Unsupported procedure type */ + public static final int RFID_ERROR_Session_Procedure_Type_Unsupported = -2097151980; + + /** RFID: Procedure type not set */ + public static final int RFID_ERROR_SESSION_PROCEDURE_TYPE_NOT_SET = -2097151979; + + /** RFID: Access key unknown type */ + public static final int RFID_ERROR_SESSION_ACCESS_KEY_UNKNOWN_TYPE = -2097151978; + + /** RFID: Access key unsupported SM type */ + public static final int RFID_ERROR_SESSION_ACCESS_KEY_UNSUPPORTED_SM_TYPE = -2097151977; + + /** RFID: Access key incorrect SM type */ + public static final int RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_SM_TYPE = -2097151976; + + /** RFID: Access key restricted */ + public static final int RFID_ERROR_SESSION_ACCESS_KEY_RESTRICTED = -2097151975; + + /** RFID: Access key incorrect data */ + public static final int RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_DATA = -2097151974; + + /** RFID: Access key not set */ + public static final int RFID_ERROR_SESSION_ACCESS_KEY_NOT_SET = -2097151973; + + /** RFID: PWD management not authorized */ + public static final int RFID_ERROR_SESSION_PWD_MANAGEMENT_NOT_AUTHORIZED = -2097151972; + + /** RFID: Access control unknown type */ + public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_UNKNOWN_TYPE = -2097151968; + + /** RFID: SM required */ + public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_SM = -2097151967; + + /** RFID: PACE required */ + public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_PACE = -2097151966; + + /** RFID: CA keys required */ + public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA_KEYS = -2097151965; + + /** RFID: TA required */ + public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_TA = -2097151964; + + /** RFID: CA required */ + public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA = -2097151963; + + /** RFID: Incorrect option CA */ + public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_INCORRECT_OPTION_CA = -2097151962; + + /** RFID: CA failed */ + public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_CA_FAILED = -2097151961; + + /** RFID: TA failed */ + public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_TA_FAILED = -2097151960; + + /** RFID: AA failed */ + public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_AA_FAILED = -2097151959; + + /** RFID: RI failed */ + public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_RI_FAILED = -2097151958; + + /** RFID: SO signature check failed */ + public static final int RFID_ERROR_SESSION_PA_SIGNATURE_CHECK_FAILED = -2097151952; + + /** RFID: Hash check failed */ + public static final int RFID_ERROR_SESSION_PA_HASH_CHECK_FAILED = -2097151951; + + /** RFID: Invalid aux data - date of expiry */ + public static final int RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_EXPIRY = -2097151936; + + /** RFID: Invalid aux data - date of birth */ + public static final int RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_BIRTH = -2097151935; + + /** RFID: Invalid aux data - community ID */ + public static final int RFID_ERROR_SESSION_INVALID_AUX_DATA_COMMUNITY_ID = -2097151934; + + /** RFID: eSign requires app selection */ + public static final int RFID_ERROR_SESSION_E_SIGN_REQUIRES_APP_SELECTION = -2097151920; + + /** RFID: eSign PIN not set */ + public static final int RFID_ERROR_SESSION_E_SIGN_PIN_NOT_SET = -2097151919; + + /** RFID: eSign PIN not verified */ + public static final int RFID_ERROR_SESSION_E_SIGN_PIN_NOT_VERIFIED = -2097151918; + + /** RFID: Incorrect data */ + public static final int RFID_ERROR_SESSION_INCORRECT_DATA = -2097151904; + + /** RFID file: Insufficient data */ + public static final int RFID_ERROR_SESSION_FILE_NOT_ENOUGH_DATA = -2097086464; + + /** RFID file: Incorrect data */ + public static final int RFID_ERROR_SESSION_FILE_INCORRECT_DATA = -2097020928; + + /** RFID file: Unexpected data */ + public static final int RFID_ERROR_SESSION_FILE_UNEXPECTED_DATA = -2096955392; + + /** RFID file: Contains unexpected data */ + public static final int RFID_ERROR_SESSION_FILE_CONTENTS_UNEXPECTED_DATA = -2096889856; + + /** RFID file: Wrong tag */ + public static final int RFID_ERROR_SESSION_FILE_WRONG_TAG = -2096824320; + + /** RFID file: Cannot use data */ + public static final int RFID_ERROR_SESSION_FILE_CANT_USE_DATA = -2096758784; + + /** RFID file: Cannot read data */ + public static final int RFID_ERROR_SESSION_FILE_CANT_READ_DATA = -2096693248; + + /** RFID file: Access denied */ + public static final int RFID_ERROR_SESSION_FILE_ACCESS_DENIED = -2096627712; + + /** RFID: Layer 34 - No error */ + public static final int RFID_ERROR_LAYER34_NO_ERROR = -2080374784; + + /** RFID: Layer 34 - Timeout */ + public static final int RFID_ERROR_LAYER34_TIME_OUT = -2080309248; + + /** RFID: Layer 34 - Collision */ + public static final int RFID_ERROR_LAYER34_COLLISION = -2080243712; + + /** RFID: Layer 34 - CRC */ + public static final int RFID_ERROR_LAYER34_CRC = -2080178176; + + /** RFID: Layer 34 - Data integrity */ + public static final int RFID_ERROR_LAYER34_DATA_INTEGRITY = -2080112640; + + /** RFID: Layer 34 - Data length */ + public static final int RFID_ERROR_LAYER34_DATA_LENGTH = -2080047104; + + /** RFID: Layer 34 - RFU */ + public static final int RFID_ERROR_Layer34_RFU = -2079981568; + + /** RFID: Layer 34 - Too many collision */ + public static final int RFID_ERROR_LAYER34_COLLISION_TOO_MANY = -2079916032; + + /** RFID: Layer 34 - Protocol B */ + public static final int RFID_ERROR_LAYER34_PROTOCOL_B = -2079850496; + + /** RFID: Layer 34 - Data contents */ + public static final int RFID_ERROR_LAYER34_DATA_CONTENTS = -2079784960; + + /** RFID: Layer 34 - Protocol */ + public static final int RFID_ERROR_LAYER34_PROTOCOL = -2079719424; + + /** RFID: Layer 34 - Globa timeout */ + public static final int RFID_ERROR_LAYER34_GLOBAL_TIME_OUT = -2079653888; + + /** RFID: Layer 34 - MIFARE auth */ + public static final int RFID_ERROR_LAYER34_MIFARE_AUTH = -2079588352; + + /** RFID: Layer 34 - SAM error */ + public static final int RFID_ERROR_LAYER34_SAM_ERROR = -2079522816; + + /** RFID: Layer 34 - SAM collision */ + public static final int RFID_ERROR_LAYER34_SAM_COLLISION = -2079457280; + + /** RFID: Layer 34 - SAM acknowledge */ + public static final int RFID_ERROR_LAYER34_SAM_ACKNOWLEDGE = -2079391744; + + /** LAYER6: Secure Messaging was not activated */ + public static final int RFID_ERROR_LAYER6_SECURITY_MANAGER = -2046820352; + + /** LAYER6: ISO7816_A_03 Application selection failure */ + public static final int RFID_ERROR_LAYER6_APP_SELECTION_FAILURE = -2046820351; + + /** LAYER6: ISO7816_B_01 Mutual authentication MAC failure */ + public static final int RFID_ERROR_LAYER6_MUTUAL_AUTH_MAC_FAIL = -2046820096; + + /** LAYER6: ISO7816_B_02 Mutual authentication encryption failure */ + public static final int RFID_ERROR_LAYER6_MUTUAL_AUTH_ENC_FAIL = -2046820095; + + /** LAYER6: ISO7816_B_03 Mutual authentication failure */ + public static final int RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE = -2046820094; + + /** LAYER6: ISO7816_B_03 Mutual authentication failure data */ + public static final int RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE_DATA = -2046820093; + + /** LAYER6: SM failure – MAC missing */ + public static final int RFID_ERROR_LAYER6_SM_DO_8E_MISSING = -2046819840; + + /** LAYER6: SM failure – cryptogram missing */ + public static final int RFID_ERROR_LAYER6_SM_DO_87_MISSING = -2046819839; + + /** LAYER6: SM failure – secured status bytes missing */ + public static final int RFID_ERROR_LAYER6_SM_DO_99_MISSING = -2046819838; + + /** LAYER6: SM failure – incorrect MAC */ + public static final int RFID_ERROR_LAYER6_SM_MAC_INCORRECT = -2046819837; + + /** LAYER6: SM failure – incorrect cryptogram */ + public static final int RFID_ERROR_LAYER6_SM_DO_87_INCORRECT = -2046819836; + + /** LAYER6: Not TLV response data */ + public static final int RFID_ERROR_LAYER6_NON_TLV_RESPONSE_DATA = -2046819584; + + /** LAYER6: Wrong data length (APDU_INS_GET_CHALLENGE) */ + public static final int RFID_ERROR_LAYER6_WRONG_RND_ICC_LENGTH = -2046819583; + + /** LAYER6: APDU_INS_INTERNAL_AUTHENTICATE failure */ + public static final int RFID_ERROR_LAYER6_INT_AUTH_FAILURE = -2046819582; + + /** LAYER6: MSE:Set KAT failure */ + public static final int RFID_ERROR_LAYER6_MSE_SET_KAT_FAILURE = -2046819581; + + /** LAYER6: MSE:Set DST failure */ + public static final int RFID_ERROR_LAYER6_MSE_SET_DST_FAILURE = -2046819580; + + /** LAYER6: PSO CERTIFICATE failure */ + public static final int RFID_ERROR_LAYER6_PSO_CERTIFICATE_FAILURE = -2046819579; + + /** LAYER6: MSE:Set AT failure */ + public static final int RFID_ERROR_LAYER6_MSE_SET_AT_FAILURE = -2046819578; + + /** LAYER6: GET CHALLENGE failure */ + public static final int RFID_ERROR_LAYER6_GET_CHALLENGE_FAILURE = -2046819577; + + /** LAYER6: APDU_INS_EXTERNAL_AUTHENTICATE (external authentication) failure */ + public static final int RFID_ERROR_LAYER6_EXT_AUTH_FAILURE = -2046819576; + + /** LAYER6: General Authenticity Failure */ + public static final int RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE = -2046819575; + + /** RFID: Failed */ + public static final int RFID_ERROR_FAILED = -1; + + /** RFID: No error */ + public static final int RFID_ERROR_NO_ERROR = 1; + + /** RFID: The requested operation is already performed */ + public static final int RFID_ERROR_ALREADY_DONE = 2; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDPKDResourceType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDPKDResourceType.java new file mode 100644 index 00000000..ab3ebd7f --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDPKDResourceType.java @@ -0,0 +1,40 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class RFIDPKDResourceType { + + /** Certificate file contents (.pem, .cer, .crt, .der) */ + public static final int CERTIFICATE_PA = 0; + + /** Certificate file contents (.cvcert) and private key file contents (.pkcs8) */ + public static final int CERTIFICATE_TA = 1; + + /** LDIF file contents (.ldif) */ + public static final int LDIF = 2; + + /** CRL file contents (.crl) */ + public static final int CRL = 3; + + /** Master List (.ml, .mls) */ + public static final int ML = 4; + + /** Defect List (.dl, .dls, .dfl) */ + public static final int DEFL = 5; + + /** Deviance List (.dl, .dls, .dvl) */ + public static final int DEVL = 6; + + /** Black List (.bl, .bls) */ + public static final int BL = 7; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RawImageContainerList.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RawImageContainerList.java index 35abe446..2b958d55 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RawImageContainerList.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RawImageContainerList.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,7 +27,7 @@ public class RawImageContainerList { public static final String SERIALIZED_NAME_IMAGES = "Images"; @SerializedName(SERIALIZED_NAME_IMAGES) - private List images = null; + private List images = new ArrayList(); public RawImageContainerList withCount(Integer count) { this.count = count; @@ -39,7 +39,6 @@ public RawImageContainerList withCount(Integer count) { * * @return count */ - @javax.annotation.Nullable public Integer getCount() { return count; } @@ -54,9 +53,6 @@ public RawImageContainerList withImages(List images) { } public RawImageContainerList addImagesItem(ImageData imagesItem) { - if (this.images == null) { - this.images = new ArrayList(); - } this.images.add(imagesItem); return this; } @@ -66,7 +62,6 @@ public RawImageContainerList addImagesItem(ImageData imagesItem) { * * @return images */ - @javax.annotation.Nullable public List getImages() { return images; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RectangleCoordinates.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RectangleCoordinates.java index 7dcbbdc8..99934911 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RectangleCoordinates.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RectangleCoordinates.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/Result.java b/client/src/main/generated/com/regula/documentreader/webclient/model/Result.java index ad3515a7..7a94a97a 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/Result.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/Result.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -58,15 +58,24 @@ public class Result { /** Contains result of document authenticity checks */ public static final int AUTHENTICITY = 20; + /** Contains result of DocVisualExtendedInfoContainer */ + public static final int MAGNETIC_STRIPE_TEXT_DATA = 26; + /** Contains image quality check results */ public static final int IMAGE_QUALITY = 30; + /** Contains result of DocGraphicsInfoContainer */ + public static final int LIVE_PORTRAIT = 32; + /** Contains check statuses with details, grouped by source */ public static final int STATUS = 33; /** Contains result of portraits comparison */ public static final int PORTRAIT_COMPARISON = 34; + /** Contains result of DocGraphicsInfoContainer */ + public static final int EXT_PORTRAIT = 35; + /** * Contains document textual fields from all sources (mrz, rfid, visual, barcode) with validity * and cross-source compare checks @@ -76,6 +85,9 @@ public class Result { /** Contains images from all document sources (mrz, rfid, visual, barcode) */ public static final int IMAGES = 37; + /** Contains result of DocGraphicsInfoContainer */ + public static final int FINGERPRINTS = 38; + /** Contains result of fingerprints comparison */ public static final int FINGERPRINT_COMPARISON = 39; @@ -85,6 +97,12 @@ public class Result { /** Contains license */ public static final int LICENSE = 50; + /** Contains result of DocumentPosition */ + public static final int MRZ_POSITION = 61; + + /** Contains result of DocumentPosition */ + public static final int BARCODE_POSITION = 62; + /** Contains information about document position on the input image, its center, angle, etc */ public static final int DOCUMENT_POSITION = 85; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ResultItem.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ResultItem.java index b5a0ebef..b9e43bae 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ResultItem.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ResultItem.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAChip.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAChip.java new file mode 100644 index 00000000..a7f33cad --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAChip.java @@ -0,0 +1,34 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class RfidAChip { + + /** Unknown */ + public static final int UNKNOWN = 0; + + /** MIFARE® 1K */ + public static final int MIFARE_1K = 1; + + /** MIFARE® 4K */ + public static final int MIFARE_4K = 2; + + /** MIFARE® Ultralight */ + public static final int MIFARE_ULTRALIGHT = 3; + + /** MIFARE® DESFire */ + public static final int MIFARE_DES_FIRE = 4; + + /** MIFARE® ProX or SmartMX xD(T) */ + public static final int MIFARE_PROX = 5; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControlInfo.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControlInfo.java new file mode 100644 index 00000000..76ca0dee --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControlInfo.java @@ -0,0 +1,203 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +/** + * Structure is used to describe the results of a single authentication procedure or a procedure of + * secure data access within the context of the communication session with electronic document + */ +public class RfidAccessControlInfo { + public static final String SERIALIZED_NAME_TYPE = "Type"; + + @SerializedName(SERIALIZED_NAME_TYPE) + private RfidAccessControlProcedureType type; + + public static final String SERIALIZED_NAME_STATUS = "Status"; + + @SerializedName(SERIALIZED_NAME_STATUS) + private RFIDErrorCodes status; + + public static final String SERIALIZED_NAME_ACTIVE_OPTION_IDX = "ActiveOptionIdx"; + + @SerializedName(SERIALIZED_NAME_ACTIVE_OPTION_IDX) + private BigDecimal activeOptionIdx; + + public static final String SERIALIZED_NAME_NOTIFICATIONS = "Notifications"; + + @SerializedName(SERIALIZED_NAME_NOTIFICATIONS) + private List notifications = new ArrayList(); + + public static final String SERIALIZED_NAME_ACCESS_CONTROL_OPTIONS = "AccessControlOptions"; + + @SerializedName(SERIALIZED_NAME_ACCESS_CONTROL_OPTIONS) + private List accessControlOptions = null; + + public RfidAccessControlInfo withType(RfidAccessControlProcedureType type) { + this.type = type; + return this; + } + + /** + * Get type + * + * @return type + */ + public RfidAccessControlProcedureType getType() { + return type; + } + + public void setType(RfidAccessControlProcedureType type) { + this.type = type; + } + + public RfidAccessControlInfo withStatus(RFIDErrorCodes status) { + this.status = status; + return this; + } + + /** + * Get status + * + * @return status + */ + public RFIDErrorCodes getStatus() { + return status; + } + + public void setStatus(RFIDErrorCodes status) { + this.status = status; + } + + public RfidAccessControlInfo withActiveOptionIdx(BigDecimal activeOptionIdx) { + this.activeOptionIdx = activeOptionIdx; + return this; + } + + /** + * Index of the active variant of the procedure + * + * @return activeOptionIdx + */ + @javax.annotation.Nullable + public BigDecimal getActiveOptionIdx() { + return activeOptionIdx; + } + + public void setActiveOptionIdx(BigDecimal activeOptionIdx) { + this.activeOptionIdx = activeOptionIdx; + } + + public RfidAccessControlInfo withNotifications(List notifications) { + this.notifications = notifications; + return this; + } + + public RfidAccessControlInfo addNotificationsItem(ParsingErrorCodes notificationsItem) { + this.notifications.add(notificationsItem); + return this; + } + + /** + * List of remarks arisen during the procedure. + * + * @return notifications + */ + public List getNotifications() { + return notifications; + } + + public void setNotifications(List notifications) { + this.notifications = notifications; + } + + public RfidAccessControlInfo withAccessControlOptions(List accessControlOptions) { + this.accessControlOptions = accessControlOptions; + return this; + } + + public RfidAccessControlInfo addAccessControlOptionsItem(Object accessControlOptionsItem) { + if (this.accessControlOptions == null) { + this.accessControlOptions = new ArrayList(); + } + this.accessControlOptions.add(accessControlOptionsItem); + return this; + } + + /** + * List of structures with are used to describe the variants of the authentication or secure data + * access procedure performance within the context of the communication session with electronic + * document + * + * @return accessControlOptions + */ + @javax.annotation.Nullable + public List getAccessControlOptions() { + return accessControlOptions; + } + + public void setAccessControlOptions(List accessControlOptions) { + this.accessControlOptions = accessControlOptions; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfidAccessControlInfo rfidAccessControlInfo = (RfidAccessControlInfo) o; + return Objects.equals(this.type, rfidAccessControlInfo.type) + && Objects.equals(this.status, rfidAccessControlInfo.status) + && Objects.equals(this.activeOptionIdx, rfidAccessControlInfo.activeOptionIdx) + && Objects.equals(this.notifications, rfidAccessControlInfo.notifications) + && Objects.equals(this.accessControlOptions, rfidAccessControlInfo.accessControlOptions); + } + + @Override + public int hashCode() { + return Objects.hash(type, status, activeOptionIdx, notifications, accessControlOptions); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RfidAccessControlInfo {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" activeOptionIdx: ").append(toIndentedString(activeOptionIdx)).append("\n"); + sb.append(" notifications: ").append(toIndentedString(notifications)).append("\n"); + sb.append(" accessControlOptions: ") + .append(toIndentedString(accessControlOptions)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControlProcedureType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControlProcedureType.java new file mode 100644 index 00000000..94369164 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControlProcedureType.java @@ -0,0 +1,40 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class RfidAccessControlProcedureType { + + /** Type is not defined */ + public static final int UNDEFINED = 0; + + /** BAC/BAP */ + public static final int BAC = 1; + + /** PACE */ + public static final int PACE = 2; + + /** CA */ + public static final int CA = 3; + + /** TA */ + public static final int TA = 4; + + /** AA */ + public static final int AA = 5; + + /** RI */ + public static final int RI = 6; + + /** Card info */ + public static final int CARD_INFO = 10; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAccessKey.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAccessKey.java new file mode 100644 index 00000000..859a94d8 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAccessKey.java @@ -0,0 +1,159 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.util.Objects; + +/** + * Structure is used to describe the contents of secure data access key within the context of the + * communication session with electronic document + */ +public class RfidAccessKey { + public static final String SERIALIZED_NAME_ACCESS_KEY = "AccessKey"; + + @SerializedName(SERIALIZED_NAME_ACCESS_KEY) + private String accessKey; + + public static final String SERIALIZED_NAME_KEY_TYPE = "KeyType"; + + @SerializedName(SERIALIZED_NAME_KEY_TYPE) + private RfidPasswordType keyType; + + public static final String SERIALIZED_NAME_ACCESS_TYPE = "AccessType"; + + @SerializedName(SERIALIZED_NAME_ACCESS_TYPE) + private RfidAccessControlProcedureType accessType; + + public static final String SERIALIZED_NAME_CHECK_FULL_KEY_MATCHING = "CheckFullKeyMatching"; + + @SerializedName(SERIALIZED_NAME_CHECK_FULL_KEY_MATCHING) + private Boolean checkFullKeyMatching; + + public RfidAccessKey withAccessKey(String accessKey) { + this.accessKey = accessKey; + return this; + } + + /** + * Key contents + * + * @return accessKey + */ + public String getAccessKey() { + return accessKey; + } + + public void setAccessKey(String accessKey) { + this.accessKey = accessKey; + } + + public RfidAccessKey withKeyType(RfidPasswordType keyType) { + this.keyType = keyType; + return this; + } + + /** + * Get keyType + * + * @return keyType + */ + public RfidPasswordType getKeyType() { + return keyType; + } + + public void setKeyType(RfidPasswordType keyType) { + this.keyType = keyType; + } + + public RfidAccessKey withAccessType(RfidAccessControlProcedureType accessType) { + this.accessType = accessType; + return this; + } + + /** + * Get accessType + * + * @return accessType + */ + public RfidAccessControlProcedureType getAccessType() { + return accessType; + } + + public void setAccessType(RfidAccessControlProcedureType accessType) { + this.accessType = accessType; + } + + public RfidAccessKey withCheckFullKeyMatching(Boolean checkFullKeyMatching) { + this.checkFullKeyMatching = checkFullKeyMatching; + return this; + } + + /** + * Logical sign of the need for a full comparison of AccessKey contents with the contents of DG1 + * (MRZ) data group + * + * @return checkFullKeyMatching + */ + public Boolean getCheckFullKeyMatching() { + return checkFullKeyMatching; + } + + public void setCheckFullKeyMatching(Boolean checkFullKeyMatching) { + this.checkFullKeyMatching = checkFullKeyMatching; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfidAccessKey rfidAccessKey = (RfidAccessKey) o; + return Objects.equals(this.accessKey, rfidAccessKey.accessKey) + && Objects.equals(this.keyType, rfidAccessKey.keyType) + && Objects.equals(this.accessType, rfidAccessKey.accessType) + && Objects.equals(this.checkFullKeyMatching, rfidAccessKey.checkFullKeyMatching); + } + + @Override + public int hashCode() { + return Objects.hash(accessKey, keyType, accessType, checkFullKeyMatching); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RfidAccessKey {\n"); + sb.append(" accessKey: ").append(toIndentedString(accessKey)).append("\n"); + sb.append(" keyType: ").append(toIndentedString(keyType)).append("\n"); + sb.append(" accessType: ").append(toIndentedString(accessType)).append("\n"); + sb.append(" checkFullKeyMatching: ") + .append(toIndentedString(checkFullKeyMatching)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidApplication.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidApplication.java new file mode 100644 index 00000000..03ccf682 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidApplication.java @@ -0,0 +1,239 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +/** + * Structure is used to describe the contents of a single LDS application and their analysis within + * the context of the communication session with electronic document + */ +public class RfidApplication { + public static final String SERIALIZED_NAME_TYPE = "Type"; + + @SerializedName(SERIALIZED_NAME_TYPE) + private RfidApplicationType type; + + public static final String SERIALIZED_NAME_STATUS = "Status"; + + @SerializedName(SERIALIZED_NAME_STATUS) + private RFIDErrorCodes status; + + public static final String SERIALIZED_NAME_APPLICATION_I_D = "ApplicationID"; + + @SerializedName(SERIALIZED_NAME_APPLICATION_I_D) + private String applicationID; + + public static final String SERIALIZED_NAME_VERSION = "Version"; + + @SerializedName(SERIALIZED_NAME_VERSION) + private String version; + + public static final String SERIALIZED_NAME_UNICODE_VERSION = "UnicodeVersion"; + + @SerializedName(SERIALIZED_NAME_UNICODE_VERSION) + private String unicodeVersion; + + public static final String SERIALIZED_NAME_DATA_HASH_ALGORITHM = "DataHashAlgorithm"; + + @SerializedName(SERIALIZED_NAME_DATA_HASH_ALGORITHM) + private String dataHashAlgorithm; + + public static final String SERIALIZED_NAME_FILES = "Files"; + + @SerializedName(SERIALIZED_NAME_FILES) + private List files = new ArrayList(); + + public RfidApplication withType(RfidApplicationType type) { + this.type = type; + return this; + } + + /** + * Get type + * + * @return type + */ + public RfidApplicationType getType() { + return type; + } + + public void setType(RfidApplicationType type) { + this.type = type; + } + + public RfidApplication withStatus(RFIDErrorCodes status) { + this.status = status; + return this; + } + + /** + * Get status + * + * @return status + */ + public RFIDErrorCodes getStatus() { + return status; + } + + public void setStatus(RFIDErrorCodes status) { + this.status = status; + } + + public RfidApplication withApplicationID(String applicationID) { + this.applicationID = applicationID; + return this; + } + + /** + * Application identifier + * + * @return applicationID + */ + public String getApplicationID() { + return applicationID; + } + + public void setApplicationID(String applicationID) { + this.applicationID = applicationID; + } + + public RfidApplication withVersion(String version) { + this.version = version; + return this; + } + + /** + * Version of the application + * + * @return version + */ + public String getVersion() { + return version; + } + + public void setVersion(String version) { + this.version = version; + } + + public RfidApplication withUnicodeVersion(String unicodeVersion) { + this.unicodeVersion = unicodeVersion; + return this; + } + + /** + * Unicode version for application + * + * @return unicodeVersion + */ + public String getUnicodeVersion() { + return unicodeVersion; + } + + public void setUnicodeVersion(String unicodeVersion) { + this.unicodeVersion = unicodeVersion; + } + + public RfidApplication withDataHashAlgorithm(String dataHashAlgorithm) { + this.dataHashAlgorithm = dataHashAlgorithm; + return this; + } + + /** + * Algorithm for calculating hash values for files for the procedure of PA + * + * @return dataHashAlgorithm + */ + public String getDataHashAlgorithm() { + return dataHashAlgorithm; + } + + public void setDataHashAlgorithm(String dataHashAlgorithm) { + this.dataHashAlgorithm = dataHashAlgorithm; + } + + public RfidApplication withFiles(List files) { + this.files = files; + return this; + } + + public RfidApplication addFilesItem(RfidDataFile filesItem) { + this.files.add(filesItem); + return this; + } + + /** + * List of containers to store information about the read files of the application + * + * @return files + */ + public List getFiles() { + return files; + } + + public void setFiles(List files) { + this.files = files; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfidApplication rfidApplication = (RfidApplication) o; + return Objects.equals(this.type, rfidApplication.type) + && Objects.equals(this.status, rfidApplication.status) + && Objects.equals(this.applicationID, rfidApplication.applicationID) + && Objects.equals(this.version, rfidApplication.version) + && Objects.equals(this.unicodeVersion, rfidApplication.unicodeVersion) + && Objects.equals(this.dataHashAlgorithm, rfidApplication.dataHashAlgorithm) + && Objects.equals(this.files, rfidApplication.files); + } + + @Override + public int hashCode() { + return Objects.hash( + type, status, applicationID, version, unicodeVersion, dataHashAlgorithm, files); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RfidApplication {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" applicationID: ").append(toIndentedString(applicationID)).append("\n"); + sb.append(" version: ").append(toIndentedString(version)).append("\n"); + sb.append(" unicodeVersion: ").append(toIndentedString(unicodeVersion)).append("\n"); + sb.append(" dataHashAlgorithm: ").append(toIndentedString(dataHashAlgorithm)).append("\n"); + sb.append(" files: ").append(toIndentedString(files)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidApplicationType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidApplicationType.java new file mode 100644 index 00000000..9d7e30fc --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidApplicationType.java @@ -0,0 +1,46 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class RfidApplicationType { + + /** Not defined */ + public static final int UNSPECIFIED = 0; + + /** ePassport application */ + public static final int E_PASSPORT = 1; + + /** eID application */ + public static final int E_ID = 2; + + /** eSign application */ + public static final int E_SIGN = 3; + + /** eDL application */ + public static final int E_DL = 4; + + /** TravelRecords application */ + public static final int LDS2_TravelRecords = 5; + + /** VisaRecords application */ + public static final int LDS2_VisaRecords = 6; + + /** AddBiometrics application */ + public static final int LDS2_AddBiometrics = 7; + + /** Digital Travel Credentials */ + public static final int eDTC_PC = 8; + + /** Master File */ + public static final int ROOT_FILES = 0; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAttributeData.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAttributeData.java new file mode 100644 index 00000000..7f16ae43 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAttributeData.java @@ -0,0 +1,104 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.util.Objects; + +/** Structure contains the data of one attribute of the digital signature object. */ +public class RfidAttributeData { + public static final String SERIALIZED_NAME_TYPE = "Type"; + + @SerializedName(SERIALIZED_NAME_TYPE) + private String type; + + public static final String SERIALIZED_NAME_DATA = "Data"; + + @SerializedName(SERIALIZED_NAME_DATA) + private String data; + + public RfidAttributeData withType(String type) { + this.type = type; + return this; + } + + /** + * Contents of the identifier in the format S1 (S2), where S1 – attribute name, S2 – identifier + * (OID string) + * + * @return type + */ + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public RfidAttributeData withData(String data) { + this.data = data; + return this; + } + + /** + * Attribute binary data. Base64 encoded. + * + * @return data + */ + public String getData() { + return data; + } + + public void setData(String data) { + this.data = data; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfidAttributeData rfidAttributeData = (RfidAttributeData) o; + return Objects.equals(this.type, rfidAttributeData.type) + && Objects.equals(this.data, rfidAttributeData.data); + } + + @Override + public int hashCode() { + return Objects.hash(type, data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RfidAttributeData {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAttributeName.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAttributeName.java new file mode 100644 index 00000000..3f74176c --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAttributeName.java @@ -0,0 +1,106 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.util.Objects; + +/** + * Structure contains information that serves as the distinguished name (identifier) of an object. + */ +public class RfidAttributeName { + public static final String SERIALIZED_NAME_TYPE = "Type"; + + @SerializedName(SERIALIZED_NAME_TYPE) + private String type; + + public static final String SERIALIZED_NAME_VALUE = "Value"; + + @SerializedName(SERIALIZED_NAME_VALUE) + private TrfFtString value; + + public RfidAttributeName withType(String type) { + this.type = type; + return this; + } + + /** + * Attribute identifier (OID ASCII string); contents of the identifier in the format S1 (S2), + * where S1 – attribute name, S2 – identifier (OID string) + * + * @return type + */ + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public RfidAttributeName withValue(TrfFtString value) { + this.value = value; + return this; + } + + /** + * Get value + * + * @return value + */ + public TrfFtString getValue() { + return value; + } + + public void setValue(TrfFtString value) { + this.value = value; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfidAttributeName rfidAttributeName = (RfidAttributeName) o; + return Objects.equals(this.type, rfidAttributeName.type) + && Objects.equals(this.value, rfidAttributeName.value); + } + + @Override + public int hashCode() { + return Objects.hash(type, value); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RfidAttributeName {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAuthenticationProcedureType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAuthenticationProcedureType.java new file mode 100644 index 00000000..a3edff97 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAuthenticationProcedureType.java @@ -0,0 +1,28 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class RfidAuthenticationProcedureType { + + /** Not defined */ + public static final int UNDEFINED = 0; + + /** Standard authentication procedure */ + public static final int STANDARD = 1; + + /** Advanced authentication procedure */ + public static final int ADVANCED = 2; + + /** General authentication procedure */ + public static final int GENERAL = 3; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidBaudRate.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidBaudRate.java new file mode 100644 index 00000000..879f2fce --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidBaudRate.java @@ -0,0 +1,31 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class RfidBaudRate { + + /** Unknown */ + public static final int UNKNOWN = 0; + + /** 106 bits/s */ + public static final int RFBR_106 = 1; + + /** 212 bits/s */ + public static final int RFBR_212 = 2; + + /** 424 bits/s */ + public static final int RFBR_424 = 4; + + /** 848 bits/s */ + public static final int RFBR_848 = 8; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidCardPropertiesExt.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidCardPropertiesExt.java new file mode 100644 index 00000000..c79e740e --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidCardPropertiesExt.java @@ -0,0 +1,428 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; +import java.util.Objects; + +/** + * Structure is used to store extended information about the characteristics of the RFID-chip + * located in the scope of the reader + */ +public class RfidCardPropertiesExt { + public static final String SERIALIZED_NAME_RF_I_D_TYPE = "RFID_Type"; + + @SerializedName(SERIALIZED_NAME_RF_I_D_TYPE) + private RfidType rfIDType; + + public static final String SERIALIZED_NAME_BAUDRATE1 = "Baudrate1"; + + @SerializedName(SERIALIZED_NAME_BAUDRATE1) + private String baudrate1; + + public static final String SERIALIZED_NAME_BAUDRATE2 = "Baudrate2"; + + @SerializedName(SERIALIZED_NAME_BAUDRATE2) + private String baudrate2; + + public static final String SERIALIZED_NAME_SUPPORT4 = "Support_4"; + + @SerializedName(SERIALIZED_NAME_SUPPORT4) + private Boolean support4; + + public static final String SERIALIZED_NAME_CHIP_TYPE_A = "ChipType_A"; + + @SerializedName(SERIALIZED_NAME_CHIP_TYPE_A) + private RfidAChip chipTypeA; + + public static final String SERIALIZED_NAME_SUPPORT_MIFARE = "Support_Mifare"; + + @SerializedName(SERIALIZED_NAME_SUPPORT_MIFARE) + private Boolean supportMifare; + + public static final String SERIALIZED_NAME_MIFARE_MEMORY = "MifareMemory"; + + @SerializedName(SERIALIZED_NAME_MIFARE_MEMORY) + private BigDecimal mifareMemory; + + public static final String SERIALIZED_NAME_U_I_D = "UID"; + + @SerializedName(SERIALIZED_NAME_U_I_D) + private String UID; + + public static final String SERIALIZED_NAME_A_T_Q_A = "ATQ_A"; + + @SerializedName(SERIALIZED_NAME_A_T_Q_A) + private Object ATQ_A = null; + + public static final String SERIALIZED_NAME_S_A_K = "SAK"; + + @SerializedName(SERIALIZED_NAME_S_A_K) + private Object SAK = null; + + public static final String SERIALIZED_NAME_A_T_Q_B = "ATQ_B"; + + @SerializedName(SERIALIZED_NAME_A_T_Q_B) + private Object ATQ_B = null; + + public static final String SERIALIZED_NAME_BIT_RATE_S = "BitRateS"; + + @SerializedName(SERIALIZED_NAME_BIT_RATE_S) + private RfidBaudRate bitRateS; + + public static final String SERIALIZED_NAME_BIT_RATE_R = "BitRateR"; + + @SerializedName(SERIALIZED_NAME_BIT_RATE_R) + private RfidBaudRate bitRateR; + + public static final String SERIALIZED_NAME_A_T_R = "ATR"; + + @SerializedName(SERIALIZED_NAME_A_T_R) + private String ATR; + + public RfidCardPropertiesExt withRfIDType(RfidType rfIDType) { + this.rfIDType = rfIDType; + return this; + } + + /** + * Get rfIDType + * + * @return rfIDType + */ + public RfidType getRfIDType() { + return rfIDType; + } + + public void setRfIDType(RfidType rfIDType) { + this.rfIDType = rfIDType; + } + + public RfidCardPropertiesExt withBaudrate1(String baudrate1) { + this.baudrate1 = baudrate1; + return this; + } + + /** + * Numeric Baudrate1 value in hexadecimal format (e.g. 0x0000000F) + * + * @return baudrate1 + */ + public String getBaudrate1() { + return baudrate1; + } + + public void setBaudrate1(String baudrate1) { + this.baudrate1 = baudrate1; + } + + public RfidCardPropertiesExt withBaudrate2(String baudrate2) { + this.baudrate2 = baudrate2; + return this; + } + + /** + * Numeric Baudrate2 value in hexadecimal format + * + * @return baudrate2 + */ + public String getBaudrate2() { + return baudrate2; + } + + public void setBaudrate2(String baudrate2) { + this.baudrate2 = baudrate2; + } + + public RfidCardPropertiesExt withSupport4(Boolean support4) { + this.support4 = support4; + return this; + } + + /** + * Boolean Support_4 value + * + * @return support4 + */ + public Boolean getSupport4() { + return support4; + } + + public void setSupport4(Boolean support4) { + this.support4 = support4; + } + + public RfidCardPropertiesExt withChipTypeA(RfidAChip chipTypeA) { + this.chipTypeA = chipTypeA; + return this; + } + + /** + * Get chipTypeA + * + * @return chipTypeA + */ + public RfidAChip getChipTypeA() { + return chipTypeA; + } + + public void setChipTypeA(RfidAChip chipTypeA) { + this.chipTypeA = chipTypeA; + } + + public RfidCardPropertiesExt withSupportMifare(Boolean supportMifare) { + this.supportMifare = supportMifare; + return this; + } + + /** + * Sign of support for ISO/IEC 14443-3 data exchange protocol + * + * @return supportMifare + */ + public Boolean getSupportMifare() { + return supportMifare; + } + + public void setSupportMifare(Boolean supportMifare) { + this.supportMifare = supportMifare; + } + + public RfidCardPropertiesExt withMifareMemory(BigDecimal mifareMemory) { + this.mifareMemory = mifareMemory; + return this; + } + + /** + * Amount of operational memory MIFARE® of the chip, kilobytes + * + * @return mifareMemory + */ + public BigDecimal getMifareMemory() { + return mifareMemory; + } + + public void setMifareMemory(BigDecimal mifareMemory) { + this.mifareMemory = mifareMemory; + } + + public RfidCardPropertiesExt withUID(String UID) { + this.UID = UID; + return this; + } + + /** + * UID contents in text format. Each byte is represented by its hexadecimal value. The individual + * bytes are separated by spaces (e.g. F9 4F 41 60) + * + * @return UID + */ + public String getUID() { + return UID; + } + + public void setUID(String UID) { + this.UID = UID; + } + + public RfidCardPropertiesExt withATQA(Object ATQ_A) { + this.ATQ_A = ATQ_A; + return this; + } + + /** + * Reply of the «A» type chip to «REQA» command of ISO/IEC 14443-3 protocol (Answer To Request, + * Type A – ATQA) – for the internal use by the main control library + * + * @return ATQ_A + */ + @javax.annotation.Nullable + public Object getATQA() { + return ATQ_A; + } + + public void setATQA(Object ATQ_A) { + this.ATQ_A = ATQ_A; + } + + public RfidCardPropertiesExt withSAK(Object SAK) { + this.SAK = SAK; + return this; + } + + /** + * Response of type-A RFID-chip to SELECT command of ISO/IEC 14443-3 protocol (Select Acknowledge, + * SAK). + * + * @return SAK + */ + @javax.annotation.Nullable + public Object getSAK() { + return SAK; + } + + public void setSAK(Object SAK) { + this.SAK = SAK; + } + + public RfidCardPropertiesExt withATQB(Object ATQ_B) { + this.ATQ_B = ATQ_B; + return this; + } + + /** + * ATQ_B contents in text format. Each byte is represented by its hexadecimal value. The + * individual bytes are separated by spaces (e.g. 50 F9 4F 41 60 00 00 00 00 77 81 81) + * + * @return ATQ_B + */ + @javax.annotation.Nullable + public Object getATQB() { + return ATQ_B; + } + + public void setATQB(Object ATQ_B) { + this.ATQ_B = ATQ_B; + } + + public RfidCardPropertiesExt withBitRateS(RfidBaudRate bitRateS) { + this.bitRateS = bitRateS; + return this; + } + + /** + * Get bitRateS + * + * @return bitRateS + */ + public RfidBaudRate getBitRateS() { + return bitRateS; + } + + public void setBitRateS(RfidBaudRate bitRateS) { + this.bitRateS = bitRateS; + } + + public RfidCardPropertiesExt withBitRateR(RfidBaudRate bitRateR) { + this.bitRateR = bitRateR; + return this; + } + + /** + * Get bitRateR + * + * @return bitRateR + */ + public RfidBaudRate getBitRateR() { + return bitRateR; + } + + public void setBitRateR(RfidBaudRate bitRateR) { + this.bitRateR = bitRateR; + } + + public RfidCardPropertiesExt withATR(String ATR) { + this.ATR = ATR; + return this; + } + + /** + * ATR-string of RFID-chip + * + * @return ATR + */ + public String getATR() { + return ATR; + } + + public void setATR(String ATR) { + this.ATR = ATR; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfidCardPropertiesExt rfidCardPropertiesExt = (RfidCardPropertiesExt) o; + return Objects.equals(this.rfIDType, rfidCardPropertiesExt.rfIDType) + && Objects.equals(this.baudrate1, rfidCardPropertiesExt.baudrate1) + && Objects.equals(this.baudrate2, rfidCardPropertiesExt.baudrate2) + && Objects.equals(this.support4, rfidCardPropertiesExt.support4) + && Objects.equals(this.chipTypeA, rfidCardPropertiesExt.chipTypeA) + && Objects.equals(this.supportMifare, rfidCardPropertiesExt.supportMifare) + && Objects.equals(this.mifareMemory, rfidCardPropertiesExt.mifareMemory) + && Objects.equals(this.UID, rfidCardPropertiesExt.UID) + && Objects.equals(this.ATQ_A, rfidCardPropertiesExt.ATQ_A) + && Objects.equals(this.SAK, rfidCardPropertiesExt.SAK) + && Objects.equals(this.ATQ_B, rfidCardPropertiesExt.ATQ_B) + && Objects.equals(this.bitRateS, rfidCardPropertiesExt.bitRateS) + && Objects.equals(this.bitRateR, rfidCardPropertiesExt.bitRateR) + && Objects.equals(this.ATR, rfidCardPropertiesExt.ATR); + } + + @Override + public int hashCode() { + return Objects.hash( + rfIDType, + baudrate1, + baudrate2, + support4, + chipTypeA, + supportMifare, + mifareMemory, + UID, + ATQ_A, + SAK, + ATQ_B, + bitRateS, + bitRateR, + ATR); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RfidCardPropertiesExt {\n"); + sb.append(" rfIDType: ").append(toIndentedString(rfIDType)).append("\n"); + sb.append(" baudrate1: ").append(toIndentedString(baudrate1)).append("\n"); + sb.append(" baudrate2: ").append(toIndentedString(baudrate2)).append("\n"); + sb.append(" support4: ").append(toIndentedString(support4)).append("\n"); + sb.append(" chipTypeA: ").append(toIndentedString(chipTypeA)).append("\n"); + sb.append(" supportMifare: ").append(toIndentedString(supportMifare)).append("\n"); + sb.append(" mifareMemory: ").append(toIndentedString(mifareMemory)).append("\n"); + sb.append(" UID: ").append(toIndentedString(UID)).append("\n"); + sb.append(" ATQ_A: ").append(toIndentedString(ATQ_A)).append("\n"); + sb.append(" SAK: ").append(toIndentedString(SAK)).append("\n"); + sb.append(" ATQ_B: ").append(toIndentedString(ATQ_B)).append("\n"); + sb.append(" bitRateS: ").append(toIndentedString(bitRateS)).append("\n"); + sb.append(" bitRateR: ").append(toIndentedString(bitRateR)).append("\n"); + sb.append(" ATR: ").append(toIndentedString(ATR)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidCertificateEx.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidCertificateEx.java new file mode 100644 index 00000000..2d9b230e --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidCertificateEx.java @@ -0,0 +1,411 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +/** + * Structure is used to describe the certificate contents used for the digital signature + * verification of the document security object within the context of the communication session with + * electronic document. + */ +public class RfidCertificateEx { + public static final String SERIALIZED_NAME_VERSION = "Version"; + + @SerializedName(SERIALIZED_NAME_VERSION) + private BigDecimal version; + + public static final String SERIALIZED_NAME_SERIAL_NUMBER = "SerialNumber"; + + @SerializedName(SERIALIZED_NAME_SERIAL_NUMBER) + private String serialNumber; + + public static final String SERIALIZED_NAME_SIGNATURE_ALGORITHM = "SignatureAlgorithm"; + + @SerializedName(SERIALIZED_NAME_SIGNATURE_ALGORITHM) + private String signatureAlgorithm; + + public static final String SERIALIZED_NAME_ISSUER = "Issuer"; + + @SerializedName(SERIALIZED_NAME_ISSUER) + private RfidDistinguishedName issuer; + + public static final String SERIALIZED_NAME_VALIDITY = "Validity"; + + @SerializedName(SERIALIZED_NAME_VALIDITY) + private RfidValidity validity; + + public static final String SERIALIZED_NAME_SUBJECT = "Subject"; + + @SerializedName(SERIALIZED_NAME_SUBJECT) + private RfidDistinguishedName subject; + + public static final String SERIALIZED_NAME_SUBJECT_P_K_ALGORITHM = "SubjectPKAlgorithm"; + + @SerializedName(SERIALIZED_NAME_SUBJECT_P_K_ALGORITHM) + private String subjectPKAlgorithm; + + public static final String SERIALIZED_NAME_EXTENSIONS = "Extensions"; + + @SerializedName(SERIALIZED_NAME_EXTENSIONS) + private List extensions = new ArrayList(); + + public static final String SERIALIZED_NAME_NOTIFICATIONS = "Notifications"; + + @SerializedName(SERIALIZED_NAME_NOTIFICATIONS) + private List notifications = new ArrayList(); + + public static final String SERIALIZED_NAME_ORIGIN = "Origin"; + + @SerializedName(SERIALIZED_NAME_ORIGIN) + private RfidCertificateOrigin origin; + + public static final String SERIALIZED_NAME_TYPE = "Type"; + + @SerializedName(SERIALIZED_NAME_TYPE) + private RfidCertificateType type; + + public static final String SERIALIZED_NAME_FILE_NAME = "FileName"; + + @SerializedName(SERIALIZED_NAME_FILE_NAME) + private TrfFtString fileName; + + public static final String SERIALIZED_NAME_PA_STATUS = "PA_Status"; + + @SerializedName(SERIALIZED_NAME_PA_STATUS) + private RFIDErrorCodes paStatus; + + public RfidCertificateEx withVersion(BigDecimal version) { + this.version = version; + return this; + } + + /** + * Version of Certificate ASN.1 structure + * + * @return version + */ + public BigDecimal getVersion() { + return version; + } + + public void setVersion(BigDecimal version) { + this.version = version; + } + + public RfidCertificateEx withSerialNumber(String serialNumber) { + this.serialNumber = serialNumber; + return this; + } + + /** + * Certificate serial number. Base64 encoded. + * + * @return serialNumber + */ + public String getSerialNumber() { + return serialNumber; + } + + public void setSerialNumber(String serialNumber) { + this.serialNumber = serialNumber; + } + + public RfidCertificateEx withSignatureAlgorithm(String signatureAlgorithm) { + this.signatureAlgorithm = signatureAlgorithm; + return this; + } + + /** + * Certificate digital signature algorithm identifier (OID); String in the format S1 (S2), where + * S1 – algorithm name, S2 – identifier (OID string). + * + * @return signatureAlgorithm + */ + public String getSignatureAlgorithm() { + return signatureAlgorithm; + } + + public void setSignatureAlgorithm(String signatureAlgorithm) { + this.signatureAlgorithm = signatureAlgorithm; + } + + public RfidCertificateEx withIssuer(RfidDistinguishedName issuer) { + this.issuer = issuer; + return this; + } + + /** + * Get issuer + * + * @return issuer + */ + public RfidDistinguishedName getIssuer() { + return issuer; + } + + public void setIssuer(RfidDistinguishedName issuer) { + this.issuer = issuer; + } + + public RfidCertificateEx withValidity(RfidValidity validity) { + this.validity = validity; + return this; + } + + /** + * Get validity + * + * @return validity + */ + public RfidValidity getValidity() { + return validity; + } + + public void setValidity(RfidValidity validity) { + this.validity = validity; + } + + public RfidCertificateEx withSubject(RfidDistinguishedName subject) { + this.subject = subject; + return this; + } + + /** + * Get subject + * + * @return subject + */ + public RfidDistinguishedName getSubject() { + return subject; + } + + public void setSubject(RfidDistinguishedName subject) { + this.subject = subject; + } + + public RfidCertificateEx withSubjectPKAlgorithm(String subjectPKAlgorithm) { + this.subjectPKAlgorithm = subjectPKAlgorithm; + return this; + } + + /** + * Certificate public key algorithm identifier (OID); String in the format S1 (S2), where S1 – + * algorithm name, S2 – identifier (OID string). + * + * @return subjectPKAlgorithm + */ + public String getSubjectPKAlgorithm() { + return subjectPKAlgorithm; + } + + public void setSubjectPKAlgorithm(String subjectPKAlgorithm) { + this.subjectPKAlgorithm = subjectPKAlgorithm; + } + + public RfidCertificateEx withExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public RfidCertificateEx addExtensionsItem(RfidPkiExtension extensionsItem) { + this.extensions.add(extensionsItem); + return this; + } + + /** + * List of the certificate extensions + * + * @return extensions + */ + public List getExtensions() { + return extensions; + } + + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + public RfidCertificateEx withNotifications(List notifications) { + this.notifications = notifications; + return this; + } + + public RfidCertificateEx addNotificationsItem(ParsingErrorCodes notificationsItem) { + this.notifications.add(notificationsItem); + return this; + } + + /** + * List of remarks arisen during the analysis of the certificate data structure and its validity + * verification. + * + * @return notifications + */ + public List getNotifications() { + return notifications; + } + + public void setNotifications(List notifications) { + this.notifications = notifications; + } + + public RfidCertificateEx withOrigin(RfidCertificateOrigin origin) { + this.origin = origin; + return this; + } + + /** + * Get origin + * + * @return origin + */ + public RfidCertificateOrigin getOrigin() { + return origin; + } + + public void setOrigin(RfidCertificateOrigin origin) { + this.origin = origin; + } + + public RfidCertificateEx withType(RfidCertificateType type) { + this.type = type; + return this; + } + + /** + * Get type + * + * @return type + */ + public RfidCertificateType getType() { + return type; + } + + public void setType(RfidCertificateType type) { + this.type = type; + } + + public RfidCertificateEx withFileName(TrfFtString fileName) { + this.fileName = fileName; + return this; + } + + /** + * Get fileName + * + * @return fileName + */ + public TrfFtString getFileName() { + return fileName; + } + + public void setFileName(TrfFtString fileName) { + this.fileName = fileName; + } + + public RfidCertificateEx withPaStatus(RFIDErrorCodes paStatus) { + this.paStatus = paStatus; + return this; + } + + /** + * Get paStatus + * + * @return paStatus + */ + public RFIDErrorCodes getPaStatus() { + return paStatus; + } + + public void setPaStatus(RFIDErrorCodes paStatus) { + this.paStatus = paStatus; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfidCertificateEx rfidCertificateEx = (RfidCertificateEx) o; + return Objects.equals(this.version, rfidCertificateEx.version) + && Objects.equals(this.serialNumber, rfidCertificateEx.serialNumber) + && Objects.equals(this.signatureAlgorithm, rfidCertificateEx.signatureAlgorithm) + && Objects.equals(this.issuer, rfidCertificateEx.issuer) + && Objects.equals(this.validity, rfidCertificateEx.validity) + && Objects.equals(this.subject, rfidCertificateEx.subject) + && Objects.equals(this.subjectPKAlgorithm, rfidCertificateEx.subjectPKAlgorithm) + && Objects.equals(this.extensions, rfidCertificateEx.extensions) + && Objects.equals(this.notifications, rfidCertificateEx.notifications) + && Objects.equals(this.origin, rfidCertificateEx.origin) + && Objects.equals(this.type, rfidCertificateEx.type) + && Objects.equals(this.fileName, rfidCertificateEx.fileName) + && Objects.equals(this.paStatus, rfidCertificateEx.paStatus); + } + + @Override + public int hashCode() { + return Objects.hash( + version, + serialNumber, + signatureAlgorithm, + issuer, + validity, + subject, + subjectPKAlgorithm, + extensions, + notifications, + origin, + type, + fileName, + paStatus); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RfidCertificateEx {\n"); + sb.append(" version: ").append(toIndentedString(version)).append("\n"); + sb.append(" serialNumber: ").append(toIndentedString(serialNumber)).append("\n"); + sb.append(" signatureAlgorithm: ").append(toIndentedString(signatureAlgorithm)).append("\n"); + sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); + sb.append(" validity: ").append(toIndentedString(validity)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" subjectPKAlgorithm: ").append(toIndentedString(subjectPKAlgorithm)).append("\n"); + sb.append(" extensions: ").append(toIndentedString(extensions)).append("\n"); + sb.append(" notifications: ").append(toIndentedString(notifications)).append("\n"); + sb.append(" origin: ").append(toIndentedString(origin)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" fileName: ").append(toIndentedString(fileName)).append("\n"); + sb.append(" paStatus: ").append(toIndentedString(paStatus)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidCertificateOrigin.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidCertificateOrigin.java new file mode 100644 index 00000000..925b75b1 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidCertificateOrigin.java @@ -0,0 +1,43 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class RfidCertificateOrigin { + + /** The source is not defined */ + public static final int UNDEFINED = 0; + + /** Local PKD */ + public static final int PKD = 1; + + /** Document security object */ + public static final int SECURITY_OBJECT = 2; + + /** User-defined */ + public static final int USER_DEFINED = 3; + + /** Contents of the Master List */ + public static final int MASTER_LIST_PKD = 4; + + /** Security object of the Master List */ + public static final int MASTER_LIST_SO = 5; + + /** Security object of the Defect List */ + public static final int DEFECT_LIST_SO = 6; + + /** Security object of the Deviation List */ + public static final int DEVIATION_LIST_SO = 7; + + /** Security object of the Black List */ + public static final int BLACK_LIST_SO = 8; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidCertificateType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidCertificateType.java new file mode 100644 index 00000000..62558b76 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidCertificateType.java @@ -0,0 +1,40 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class RfidCertificateType { + + /** Type is not defined */ + public static final int UNDEFINED = 0; + + /** CSCA */ + public static final int CSCA = 1; + + /** CSCA-link */ + public static final int CSCA_LINK = 2; + + /** DS */ + public static final int DS = 3; + + /** Master List signer */ + public static final int MLS = 4; + + /** Deviaton List signer */ + public static final int DEV_LS = 5; + + /** Defect List signer */ + public static final int DEF_LS = 6; + + /** Black List signer */ + public static final int BLS = 7; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDG1.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDG1.java new file mode 100644 index 00000000..646745d8 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDG1.java @@ -0,0 +1,482 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; +import java.util.Objects; + +/** + * Structure used to store the contents of EF.DG1 informational data group of ePassport application + * – document MRZ data + */ +public class RfidDG1 { + public static final String SERIALIZED_NAME_TYPE = "Type"; + + @SerializedName(SERIALIZED_NAME_TYPE) + private RfidDataGroupTypeTag type; + + public static final String SERIALIZED_NAME_DOCUMENT_I_D = "DocumentID"; + + @SerializedName(SERIALIZED_NAME_DOCUMENT_I_D) + private Integer documentID; + + public static final String SERIALIZED_NAME_DOCUMENT_TYPE = "DocumentType"; + + @SerializedName(SERIALIZED_NAME_DOCUMENT_TYPE) + private String documentType; + + public static final String SERIALIZED_NAME_STATE = "State"; + + @SerializedName(SERIALIZED_NAME_STATE) + private String state; + + public static final String SERIALIZED_NAME_HOLDER = "Holder"; + + @SerializedName(SERIALIZED_NAME_HOLDER) + private String holder; + + public static final String SERIALIZED_NAME_DOCUMENT_NUMBER = "DocumentNumber"; + + @SerializedName(SERIALIZED_NAME_DOCUMENT_NUMBER) + private String documentNumber; + + public static final String SERIALIZED_NAME_CHECK_DIGIT_DOCUMENT_NUMBER = + "CheckDigitDocumentNumber"; + + @SerializedName(SERIALIZED_NAME_CHECK_DIGIT_DOCUMENT_NUMBER) + private BigDecimal checkDigitDocumentNumber; + + public static final String SERIALIZED_NAME_NATIONALITY = "Nationality"; + + @SerializedName(SERIALIZED_NAME_NATIONALITY) + private String nationality; + + public static final String SERIALIZED_NAME_BIRTHDAY = "Birthday"; + + @SerializedName(SERIALIZED_NAME_BIRTHDAY) + private String birthday; + + public static final String SERIALIZED_NAME_CHECK_DIGIT_BIRTHDAY = "CheckDigitBirthday"; + + @SerializedName(SERIALIZED_NAME_CHECK_DIGIT_BIRTHDAY) + private BigDecimal checkDigitBirthday; + + public static final String SERIALIZED_NAME_SEX = "Sex"; + + @SerializedName(SERIALIZED_NAME_SEX) + private String sex; + + public static final String SERIALIZED_NAME_EXPIRY_DATE = "ExpiryDate"; + + @SerializedName(SERIALIZED_NAME_EXPIRY_DATE) + private String expiryDate; + + public static final String SERIALIZED_NAME_CHECK_DIGIT_EXPIRY_DATE = "CheckDigitExpiryDate"; + + @SerializedName(SERIALIZED_NAME_CHECK_DIGIT_EXPIRY_DATE) + private BigDecimal checkDigitExpiryDate; + + public static final String SERIALIZED_NAME_OPTIONAL_DATA = "OptionalData"; + + @SerializedName(SERIALIZED_NAME_OPTIONAL_DATA) + private String optionalData; + + public static final String SERIALIZED_NAME_CHECK_DIGIT_OPTIONAL_DATA = "CheckDigitOptionalData"; + + @SerializedName(SERIALIZED_NAME_CHECK_DIGIT_OPTIONAL_DATA) + private BigDecimal checkDigitOptionalData; + + public static final String SERIALIZED_NAME_CHECK_DIGIT_COMPOSITE = "CheckDigitComposite"; + + @SerializedName(SERIALIZED_NAME_CHECK_DIGIT_COMPOSITE) + private BigDecimal checkDigitComposite; + + public RfidDG1 withType(RfidDataGroupTypeTag type) { + this.type = type; + return this; + } + + /** + * Get type + * + * @return type + */ + public RfidDataGroupTypeTag getType() { + return type; + } + + public void setType(RfidDataGroupTypeTag type) { + this.type = type; + } + + public RfidDG1 withDocumentID(Integer documentID) { + this.documentID = documentID; + return this; + } + + /** + * Get documentID + * + * @return documentID + */ + public Integer getDocumentID() { + return documentID; + } + + public void setDocumentID(Integer documentID) { + this.documentID = documentID; + } + + public RfidDG1 withDocumentType(String documentType) { + this.documentType = documentType; + return this; + } + + /** + * Symbolic code of document type + * + * @return documentType + */ + public String getDocumentType() { + return documentType; + } + + public void setDocumentType(String documentType) { + this.documentType = documentType; + } + + public RfidDG1 withState(String state) { + this.state = state; + return this; + } + + /** + * Symbolic code of document issuing state + * + * @return state + */ + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + + public RfidDG1 withHolder(String holder) { + this.holder = holder; + return this; + } + + /** + * DO’s name and surname + * + * @return holder + */ + public String getHolder() { + return holder; + } + + public void setHolder(String holder) { + this.holder = holder; + } + + public RfidDG1 withDocumentNumber(String documentNumber) { + this.documentNumber = documentNumber; + return this; + } + + /** + * Document number + * + * @return documentNumber + */ + public String getDocumentNumber() { + return documentNumber; + } + + public void setDocumentNumber(String documentNumber) { + this.documentNumber = documentNumber; + } + + public RfidDG1 withCheckDigitDocumentNumber(BigDecimal checkDigitDocumentNumber) { + this.checkDigitDocumentNumber = checkDigitDocumentNumber; + return this; + } + + /** + * Check digit of document number + * + * @return checkDigitDocumentNumber + */ + public BigDecimal getCheckDigitDocumentNumber() { + return checkDigitDocumentNumber; + } + + public void setCheckDigitDocumentNumber(BigDecimal checkDigitDocumentNumber) { + this.checkDigitDocumentNumber = checkDigitDocumentNumber; + } + + public RfidDG1 withNationality(String nationality) { + this.nationality = nationality; + return this; + } + + /** + * Symbolic code of DO’s nationality + * + * @return nationality + */ + public String getNationality() { + return nationality; + } + + public void setNationality(String nationality) { + this.nationality = nationality; + } + + public RfidDG1 withBirthday(String birthday) { + this.birthday = birthday; + return this; + } + + /** + * DO’s date of birth + * + * @return birthday + */ + public String getBirthday() { + return birthday; + } + + public void setBirthday(String birthday) { + this.birthday = birthday; + } + + public RfidDG1 withCheckDigitBirthday(BigDecimal checkDigitBirthday) { + this.checkDigitBirthday = checkDigitBirthday; + return this; + } + + /** + * Check digit of DO’s date of birth + * + * @return checkDigitBirthday + */ + public BigDecimal getCheckDigitBirthday() { + return checkDigitBirthday; + } + + public void setCheckDigitBirthday(BigDecimal checkDigitBirthday) { + this.checkDigitBirthday = checkDigitBirthday; + } + + public RfidDG1 withSex(String sex) { + this.sex = sex; + return this; + } + + /** + * DO’s sex + * + * @return sex + */ + public String getSex() { + return sex; + } + + public void setSex(String sex) { + this.sex = sex; + } + + public RfidDG1 withExpiryDate(String expiryDate) { + this.expiryDate = expiryDate; + return this; + } + + /** + * Term of validity of the document + * + * @return expiryDate + */ + public String getExpiryDate() { + return expiryDate; + } + + public void setExpiryDate(String expiryDate) { + this.expiryDate = expiryDate; + } + + public RfidDG1 withCheckDigitExpiryDate(BigDecimal checkDigitExpiryDate) { + this.checkDigitExpiryDate = checkDigitExpiryDate; + return this; + } + + /** + * Check digit of term of validity of the document + * + * @return checkDigitExpiryDate + */ + public BigDecimal getCheckDigitExpiryDate() { + return checkDigitExpiryDate; + } + + public void setCheckDigitExpiryDate(BigDecimal checkDigitExpiryDate) { + this.checkDigitExpiryDate = checkDigitExpiryDate; + } + + public RfidDG1 withOptionalData(String optionalData) { + this.optionalData = optionalData; + return this; + } + + /** + * DO’s personal number or other additional data + * + * @return optionalData + */ + public String getOptionalData() { + return optionalData; + } + + public void setOptionalData(String optionalData) { + this.optionalData = optionalData; + } + + public RfidDG1 withCheckDigitOptionalData(BigDecimal checkDigitOptionalData) { + this.checkDigitOptionalData = checkDigitOptionalData; + return this; + } + + /** + * Check digit of additional data + * + * @return checkDigitOptionalData + */ + public BigDecimal getCheckDigitOptionalData() { + return checkDigitOptionalData; + } + + public void setCheckDigitOptionalData(BigDecimal checkDigitOptionalData) { + this.checkDigitOptionalData = checkDigitOptionalData; + } + + public RfidDG1 withCheckDigitComposite(BigDecimal checkDigitComposite) { + this.checkDigitComposite = checkDigitComposite; + return this; + } + + /** + * General check digit + * + * @return checkDigitComposite + */ + public BigDecimal getCheckDigitComposite() { + return checkDigitComposite; + } + + public void setCheckDigitComposite(BigDecimal checkDigitComposite) { + this.checkDigitComposite = checkDigitComposite; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfidDG1 rfidDG1 = (RfidDG1) o; + return Objects.equals(this.type, rfidDG1.type) + && Objects.equals(this.documentID, rfidDG1.documentID) + && Objects.equals(this.documentType, rfidDG1.documentType) + && Objects.equals(this.state, rfidDG1.state) + && Objects.equals(this.holder, rfidDG1.holder) + && Objects.equals(this.documentNumber, rfidDG1.documentNumber) + && Objects.equals(this.checkDigitDocumentNumber, rfidDG1.checkDigitDocumentNumber) + && Objects.equals(this.nationality, rfidDG1.nationality) + && Objects.equals(this.birthday, rfidDG1.birthday) + && Objects.equals(this.checkDigitBirthday, rfidDG1.checkDigitBirthday) + && Objects.equals(this.sex, rfidDG1.sex) + && Objects.equals(this.expiryDate, rfidDG1.expiryDate) + && Objects.equals(this.checkDigitExpiryDate, rfidDG1.checkDigitExpiryDate) + && Objects.equals(this.optionalData, rfidDG1.optionalData) + && Objects.equals(this.checkDigitOptionalData, rfidDG1.checkDigitOptionalData) + && Objects.equals(this.checkDigitComposite, rfidDG1.checkDigitComposite); + } + + @Override + public int hashCode() { + return Objects.hash( + type, + documentID, + documentType, + state, + holder, + documentNumber, + checkDigitDocumentNumber, + nationality, + birthday, + checkDigitBirthday, + sex, + expiryDate, + checkDigitExpiryDate, + optionalData, + checkDigitOptionalData, + checkDigitComposite); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RfidDG1 {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" documentID: ").append(toIndentedString(documentID)).append("\n"); + sb.append(" documentType: ").append(toIndentedString(documentType)).append("\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append(" holder: ").append(toIndentedString(holder)).append("\n"); + sb.append(" documentNumber: ").append(toIndentedString(documentNumber)).append("\n"); + sb.append(" checkDigitDocumentNumber: ") + .append(toIndentedString(checkDigitDocumentNumber)) + .append("\n"); + sb.append(" nationality: ").append(toIndentedString(nationality)).append("\n"); + sb.append(" birthday: ").append(toIndentedString(birthday)).append("\n"); + sb.append(" checkDigitBirthday: ").append(toIndentedString(checkDigitBirthday)).append("\n"); + sb.append(" sex: ").append(toIndentedString(sex)).append("\n"); + sb.append(" expiryDate: ").append(toIndentedString(expiryDate)).append("\n"); + sb.append(" checkDigitExpiryDate: ") + .append(toIndentedString(checkDigitExpiryDate)) + .append("\n"); + sb.append(" optionalData: ").append(toIndentedString(optionalData)).append("\n"); + sb.append(" checkDigitOptionalData: ") + .append(toIndentedString(checkDigitOptionalData)) + .append("\n"); + sb.append(" checkDigitComposite: ") + .append(toIndentedString(checkDigitComposite)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataFile.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataFile.java new file mode 100644 index 00000000..1b55627a --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataFile.java @@ -0,0 +1,345 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +/** + * Structure is used to describe the contents of a single file of the LDS of electronic document and + * the analysis of its contents within the context of the communication session with electronic + * document + */ +public class RfidDataFile { + public static final String SERIALIZED_NAME_FILE_I_D = "FileID"; + + @SerializedName(SERIALIZED_NAME_FILE_I_D) + private String fileID; + + public static final String SERIALIZED_NAME_TYPE = "Type"; + + @SerializedName(SERIALIZED_NAME_TYPE) + private RfidDataFileType type; + + public static final String SERIALIZED_NAME_FILE_DATA = "FileData"; + + @SerializedName(SERIALIZED_NAME_FILE_DATA) + private TrfFtBytes fileData; + + public static final String SERIALIZED_NAME_READING_STATUS = "ReadingStatus"; + + @SerializedName(SERIALIZED_NAME_READING_STATUS) + private RFIDErrorCodes readingStatus; + + public static final String SERIALIZED_NAME_READING_TIME = "ReadingTime"; + + @SerializedName(SERIALIZED_NAME_READING_TIME) + private BigDecimal readingTime; + + public static final String SERIALIZED_NAME_PA_STATUS = "PA_Status"; + + @SerializedName(SERIALIZED_NAME_PA_STATUS) + private RFIDErrorCodes paStatus; + + public static final String SERIALIZED_NAME_NOTIFICATIONS = "Notifications"; + + @SerializedName(SERIALIZED_NAME_NOTIFICATIONS) + private List notifications = new ArrayList(); + + public static final String SERIALIZED_NAME_DOC_FIELDS_TEXT = "DocFields_Text"; + + @SerializedName(SERIALIZED_NAME_DOC_FIELDS_TEXT) + private List docFieldsText = new ArrayList(); + + public static final String SERIALIZED_NAME_DOC_FIELDS_GRAPHICS = "DocFields_Graphics"; + + @SerializedName(SERIALIZED_NAME_DOC_FIELDS_GRAPHICS) + private List docFieldsGraphics = new ArrayList(); + + public static final String SERIALIZED_NAME_DOC_FIELDS_ORIGINALS = "DocFields_Originals"; + + @SerializedName(SERIALIZED_NAME_DOC_FIELDS_ORIGINALS) + private List docFieldsOriginals = new ArrayList(); + + public RfidDataFile withFileID(String fileID) { + this.fileID = fileID; + return this; + } + + /** + * File identifier. Each byte of FileID represented by its hexadecimal value. The individual bytes + * are separated by spaces (e.g. 01 1E) + * + * @return fileID + */ + @javax.annotation.Nullable + public String getFileID() { + return fileID; + } + + public void setFileID(String fileID) { + this.fileID = fileID; + } + + public RfidDataFile withType(RfidDataFileType type) { + this.type = type; + return this; + } + + /** + * Get type + * + * @return type + */ + public RfidDataFileType getType() { + return type; + } + + public void setType(RfidDataFileType type) { + this.type = type; + } + + public RfidDataFile withFileData(TrfFtBytes fileData) { + this.fileData = fileData; + return this; + } + + /** + * Get fileData + * + * @return fileData + */ + @javax.annotation.Nullable + public TrfFtBytes getFileData() { + return fileData; + } + + public void setFileData(TrfFtBytes fileData) { + this.fileData = fileData; + } + + public RfidDataFile withReadingStatus(RFIDErrorCodes readingStatus) { + this.readingStatus = readingStatus; + return this; + } + + /** + * Get readingStatus + * + * @return readingStatus + */ + public RFIDErrorCodes getReadingStatus() { + return readingStatus; + } + + public void setReadingStatus(RFIDErrorCodes readingStatus) { + this.readingStatus = readingStatus; + } + + public RfidDataFile withReadingTime(BigDecimal readingTime) { + this.readingTime = readingTime; + return this; + } + + /** + * Time of reading, milliseconds + * + * @return readingTime + */ + public BigDecimal getReadingTime() { + return readingTime; + } + + public void setReadingTime(BigDecimal readingTime) { + this.readingTime = readingTime; + } + + public RfidDataFile withPaStatus(RFIDErrorCodes paStatus) { + this.paStatus = paStatus; + return this; + } + + /** + * Get paStatus + * + * @return paStatus + */ + public RFIDErrorCodes getPaStatus() { + return paStatus; + } + + public void setPaStatus(RFIDErrorCodes paStatus) { + this.paStatus = paStatus; + } + + public RfidDataFile withNotifications(List notifications) { + this.notifications = notifications; + return this; + } + + public RfidDataFile addNotificationsItem(ParsingErrorCodes notificationsItem) { + this.notifications.add(notificationsItem); + return this; + } + + /** + * List of remarks arisen when reading data from the memory of the chip and analysing their + * ASN.1-structure. + * + * @return notifications + */ + public List getNotifications() { + return notifications; + } + + public void setNotifications(List notifications) { + this.notifications = notifications; + } + + public RfidDataFile withDocFieldsText(List docFieldsText) { + this.docFieldsText = docFieldsText; + return this; + } + + public RfidDataFile addDocFieldsTextItem(Integer docFieldsTextItem) { + this.docFieldsText.add(docFieldsTextItem); + return this; + } + + /** + * List of document text fields formed on the basis of the file contents + * + * @return docFieldsText + */ + public List getDocFieldsText() { + return docFieldsText; + } + + public void setDocFieldsText(List docFieldsText) { + this.docFieldsText = docFieldsText; + } + + public RfidDataFile withDocFieldsGraphics(List docFieldsGraphics) { + this.docFieldsGraphics = docFieldsGraphics; + return this; + } + + public RfidDataFile addDocFieldsGraphicsItem(Integer docFieldsGraphicsItem) { + this.docFieldsGraphics.add(docFieldsGraphicsItem); + return this; + } + + /** + * List of document graphic fields formed on the basis of the file contents + * + * @return docFieldsGraphics + */ + public List getDocFieldsGraphics() { + return docFieldsGraphics; + } + + public void setDocFieldsGraphics(List docFieldsGraphics) { + this.docFieldsGraphics = docFieldsGraphics; + } + + public RfidDataFile withDocFieldsOriginals(List docFieldsOriginals) { + this.docFieldsOriginals = docFieldsOriginals; + return this; + } + + public RfidDataFile addDocFieldsOriginalsItem(Integer docFieldsOriginalsItem) { + this.docFieldsOriginals.add(docFieldsOriginalsItem); + return this; + } + + /** + * List of the original binary representation of graphic document fields formed on the basis of + * the file contents + * + * @return docFieldsOriginals + */ + public List getDocFieldsOriginals() { + return docFieldsOriginals; + } + + public void setDocFieldsOriginals(List docFieldsOriginals) { + this.docFieldsOriginals = docFieldsOriginals; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfidDataFile rfidDataFile = (RfidDataFile) o; + return Objects.equals(this.fileID, rfidDataFile.fileID) + && Objects.equals(this.type, rfidDataFile.type) + && Objects.equals(this.fileData, rfidDataFile.fileData) + && Objects.equals(this.readingStatus, rfidDataFile.readingStatus) + && Objects.equals(this.readingTime, rfidDataFile.readingTime) + && Objects.equals(this.paStatus, rfidDataFile.paStatus) + && Objects.equals(this.notifications, rfidDataFile.notifications) + && Objects.equals(this.docFieldsText, rfidDataFile.docFieldsText) + && Objects.equals(this.docFieldsGraphics, rfidDataFile.docFieldsGraphics) + && Objects.equals(this.docFieldsOriginals, rfidDataFile.docFieldsOriginals); + } + + @Override + public int hashCode() { + return Objects.hash( + fileID, + type, + fileData, + readingStatus, + readingTime, + paStatus, + notifications, + docFieldsText, + docFieldsGraphics, + docFieldsOriginals); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RfidDataFile {\n"); + sb.append(" fileID: ").append(toIndentedString(fileID)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" fileData: ").append(toIndentedString(fileData)).append("\n"); + sb.append(" readingStatus: ").append(toIndentedString(readingStatus)).append("\n"); + sb.append(" readingTime: ").append(toIndentedString(readingTime)).append("\n"); + sb.append(" paStatus: ").append(toIndentedString(paStatus)).append("\n"); + sb.append(" notifications: ").append(toIndentedString(notifications)).append("\n"); + sb.append(" docFieldsText: ").append(toIndentedString(docFieldsText)).append("\n"); + sb.append(" docFieldsGraphics: ").append(toIndentedString(docFieldsGraphics)).append("\n"); + sb.append(" docFieldsOriginals: ").append(toIndentedString(docFieldsOriginals)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataFileType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataFileType.java new file mode 100644 index 00000000..b2d6b799 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataFileType.java @@ -0,0 +1,200 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class RfidDataFileType { + + public static final int UNSPECIFIED = 0; + + public static final int PASSPORT_DG1 = 1; + + public static final int PASSPORT_DG2 = 2; + + public static final int PASSPORT_DG3 = 3; + + public static final int PASSPORT_DG4 = 4; + + public static final int PASSPORT_DG5 = 5; + + public static final int PASSPORT_DG6 = 6; + + public static final int PASSPORT_DG7 = 7; + + public static final int PASSPORT_DG8 = 8; + + public static final int PASSPORT_DG9 = 9; + + public static final int PASSPORT_DG10 = 10; + + public static final int PASSPORT_DG11 = 11; + + public static final int PASSPORT_DG12 = 12; + + public static final int PASSPORT_DG13 = 13; + + public static final int PASSPORT_DG14 = 14; + + public static final int PASSPORT_DG15 = 15; + + public static final int PASSPORT_DG16 = 16; + + public static final int PASSPORT_DG17 = 17; + + public static final int PASSPORT_DG18 = 18; + + public static final int PASSPORT_DG19 = 19; + + public static final int PASSPORT_DG20 = 20; + + public static final int PASSPORT_SOD = 21; + + public static final int PASSPORT_CVCA = 22; + + public static final int PASSPORT_COM = 23; + + public static final int DTC_DG17 = 57; + + public static final int DTC_DG18 = 58; + + public static final int DTC_DG22 = 62; + + public static final int DTC_DG23 = 63; + + public static final int DTC_DG24 = 64; + + public static final int ID_DG1 = 101; + + public static final int ID_DG2 = 102; + + public static final int ID_DG3 = 103; + + public static final int ID_DG4 = 104; + + public static final int ID_DG5 = 105; + + public static final int ID_DG6 = 106; + + public static final int ID_DG7 = 107; + + public static final int ID_DG8 = 108; + + public static final int ID_DG9 = 109; + + public static final int ID_DG10 = 110; + + public static final int ID_DG11 = 111; + + public static final int ID_DG12 = 112; + + public static final int ID_DG13 = 113; + + public static final int ID_DG14 = 114; + + public static final int ID_DG15 = 115; + + public static final int ID_DG16 = 116; + + public static final int ID_DG17 = 117; + + public static final int ID_DG18 = 118; + + public static final int ID_DG19 = 119; + + public static final int ID_DG20 = 120; + + public static final int ID_DG21 = 121; + + public static final int DL_COM = 150; + + public static final int DL_DG1 = 151; + + public static final int DL_DG2 = 152; + + public static final int DL_DG3 = 153; + + public static final int DL_DG4 = 154; + + public static final int DL_DG5 = 155; + + public static final int DL_DG6 = 156; + + public static final int DL_DG7 = 157; + + public static final int DL_DG8 = 158; + + public static final int DL_DG9 = 159; + + public static final int DL_DG10 = 160; + + public static final int DL_DG11 = 161; + + public static final int DL_DG12 = 162; + + public static final int DL_DG13 = 163; + + public static final int DL_DG14 = 164; + + public static final int DL_SOD = 165; + + public static final int DL_CE = 166; + + public static final int DL_CVCA = 167; + + public static final int PACE_CARD_ACCESS = 200; + + public static final int PACE_CARD_SECURITY = 201; + + public static final int PACE_CHIP_SECURITY = 202; + + public static final int MIFARE_DATA = 300; + + public static final int MIFARE_VALIDITY = 301; + + public static final int AUTHENTICITY_V2 = 302; + + public static final int ATR = 400; + + public static final int _E_SIGN_PK = 500; + + public static final int _E_SIGN_SIGNED_DATA = 501; + + public static final int CERTIFICATE = 600; + + public static final int MASTER_LIST = 601; + + public static final int DEFECT_LIST = 602; + + public static final int BLACK_LIST = 603; + + public static final int APP_DIRECTORY = 700; + + public static final int SESSION = 701; + + public static final int LOG_DATA = 702; + + public static final int CHIP_PROPERTIES = 703; + + public static final int POST_CA_RESPONSE = 710; + + public static final int POST_CA_PUBLIC_KEY = 711; + + public static final int POST_CA_INFO = 712; + + public static final int POST_CA_D_PARAMS = 713; + + public static final int POST_CA_CHECK_PK = 714; + + public static final int POST_CA_CHECK_SK = 715; + + public static final int USER_DEFINED = 1000; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataGroupTypeTag.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataGroupTypeTag.java new file mode 100644 index 00000000..4302b0d6 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataGroupTypeTag.java @@ -0,0 +1,181 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class RfidDataGroupTypeTag { + + /** Common Data Group Type */ + public static final int COM = 96; + + /** Data Group 1 */ + public static final int DG1 = 97; + + /** Data Group 2 */ + public static final int DG2 = 117; + + /** Data Group 3 */ + public static final int DG3 = 99; + + /** Data Group 4 */ + public static final int DG4 = 118; + + /** Data Group 5 */ + public static final int DG5 = 101; + + /** Data Group 6 */ + public static final int DG6 = 102; + + /** Data Group 7 */ + public static final int DG7 = 103; + + /** Data Group 8 */ + public static final int DG8 = 104; + + /** Data Group 9 */ + public static final int DG9 = 105; + + /** Data Group 10 */ + public static final int DG10 = 106; + + /** Data Group 11 */ + public static final int DG11 = 107; + + /** Data Group 12 */ + public static final int DG12 = 108; + + /** Data Group 13 */ + public static final int DG13 = 109; + + /** Data Group 14 */ + public static final int DG14 = 110; + + /** Data Group 15 */ + public static final int DG15 = 111; + + /** Data Group 16 */ + public static final int DG16 = 112; + + /** Start of Data */ + public static final int SOD = 119; + + /** Extended Interoperable Data, Data Group 1 */ + public static final int EID_DG1 = 97; + + /** Extended Interoperable Data, Data Group 2 */ + public static final int EID_DG2 = 98; + + /** Extended Interoperable Data, Data Group 3 */ + public static final int EID_DG3 = 99; + + /** Extended Interoperable Data, Data Group 4 */ + public static final int EID_DG4 = 100; + + /** Extended Interoperable Data, Data Group 5 */ + public static final int EID_DG5 = 101; + + /** Extended Interoperable Data, Data Group 6 */ + public static final int EID_DG6 = 102; + + /** Extended Interoperable Data, Data Group 7 */ + public static final int EID_DG7 = 103; + + /** Extended Interoperable Data, Data Group 8 */ + public static final int EID_DG8 = 104; + + /** Extended Interoperable Data, Data Group 9 */ + public static final int EID_DG9 = 105; + + /** Extended Interoperable Data, Data Group 10 */ + public static final int EID_DG10 = 106; + + /** Extended Interoperable Data, Data Group 11 */ + public static final int EID_DG11 = 107; + + /** Extended Interoperable Data, Data Group 12 */ + public static final int EID_DG12 = 108; + + /** Extended Interoperable Data, Data Group 13 */ + public static final int EID_DG13 = 109; + + /** Extended Interoperable Data, Data Group 14 */ + public static final int EID_DG14 = 110; + + /** Extended Interoperable Data, Data Group 15 */ + public static final int EID_DG15 = 111; + + /** Extended Interoperable Data, Data Group 16 */ + public static final int EID_DG16 = 112; + + /** Extended Interoperable Data, Data Group 17 */ + public static final int EID_DG17 = 113; + + /** Extended Interoperable Data, Data Group 18 */ + public static final int EID_DG18 = 114; + + /** Extended Interoperable Data, Data Group 19 */ + public static final int EID_DG19 = 115; + + /** Extended Interoperable Data, Data Group 20 */ + public static final int EID_DG20 = 116; + + /** Extended Interoperable Data, Data Group 21 */ + public static final int EID_DG21 = 117; + + /** Extended Length Data, Common Data Group Type */ + public static final int EDL_COM = 96; + + /** Extended Length Data, Start of Data */ + public static final int EDL_SOD = 119; + + /** Extended Length Data, Certificate Holder Authorization */ + public static final int EDL_CE = 119; + + /** Extended Length Data, Data Group 1 */ + public static final int EDL_DG1 = 97; + + /** Extended Length Data, Data Group 2 */ + public static final int EDL_DG2 = 107; + + /** Extended Length Data, Data Group 3 */ + public static final int EDL_DG3 = 108; + + /** Extended Length Data, Data Group 4 */ + public static final int EDL_DG4 = 101; + + /** Extended Length Data, Data Group 5 */ + public static final int EDL_DG5 = 103; + + /** Extended Length Data, Data Group 6 */ + public static final int EDL_DG6 = 117; + + /** Extended Length Data, Data Group 7 */ + public static final int EDL_DG7 = 99; + + /** Extended Length Data, Data Group 8 */ + public static final int EDL_DG8 = 118; + + /** Extended Length Data, Data Group 9 */ + public static final int EDL_DG9 = 112; + + /** Extended Length Data, Data Group 11 */ + public static final int EDL_DG11 = 109; + + /** Extended Length Data, Data Group 12 */ + public static final int EDL_DG12 = 113; + + /** Extended Length Data, Data Group 13 */ + public static final int EDL_DG14 = 111; + + /** Extended Length Data, Data Group 14 */ + public static final int NUMBER_110 = 110; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDistinguishedName.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDistinguishedName.java new file mode 100644 index 00000000..ddda0e26 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDistinguishedName.java @@ -0,0 +1,135 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +/** Contents of the identifier in binary form. Base64 encoded. */ +public class RfidDistinguishedName { + public static final String SERIALIZED_NAME_DATA = "Data"; + + @SerializedName(SERIALIZED_NAME_DATA) + private String data; + + public static final String SERIALIZED_NAME_FRIENDLY_NAME = "FriendlyName"; + + @SerializedName(SERIALIZED_NAME_FRIENDLY_NAME) + private TrfFtString friendlyName; + + public static final String SERIALIZED_NAME_ATTRIBUTES = "Attributes"; + + @SerializedName(SERIALIZED_NAME_ATTRIBUTES) + private List attributes = new ArrayList(); + + public RfidDistinguishedName withData(String data) { + this.data = data; + return this; + } + + /** + * Contents of the identifier in binary form. Base64 encoded. + * + * @return data + */ + public String getData() { + return data; + } + + public void setData(String data) { + this.data = data; + } + + public RfidDistinguishedName withFriendlyName(TrfFtString friendlyName) { + this.friendlyName = friendlyName; + return this; + } + + /** + * Get friendlyName + * + * @return friendlyName + */ + public TrfFtString getFriendlyName() { + return friendlyName; + } + + public void setFriendlyName(TrfFtString friendlyName) { + this.friendlyName = friendlyName; + } + + public RfidDistinguishedName withAttributes(List attributes) { + this.attributes = attributes; + return this; + } + + public RfidDistinguishedName addAttributesItem(RfidAttributeName attributesItem) { + this.attributes.add(attributesItem); + return this; + } + + /** + * List of individual attributes contained in the identifier + * + * @return attributes + */ + public List getAttributes() { + return attributes; + } + + public void setAttributes(List attributes) { + this.attributes = attributes; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfidDistinguishedName rfidDistinguishedName = (RfidDistinguishedName) o; + return Objects.equals(this.data, rfidDistinguishedName.data) + && Objects.equals(this.friendlyName, rfidDistinguishedName.friendlyName) + && Objects.equals(this.attributes, rfidDistinguishedName.attributes); + } + + @Override + public int hashCode() { + return Objects.hash(data, friendlyName, attributes); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RfidDistinguishedName {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" friendlyName: ").append(toIndentedString(friendlyName)).append("\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidLocation.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidLocation.java index aceb5095..48d6ad9d 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidLocation.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidLocation.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidOrigin.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidOrigin.java index 738b982e..95a0a22e 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidOrigin.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidOrigin.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -66,7 +66,6 @@ public RfidOrigin withDgTag(Integer dgTag) { * * @return dgTag */ - @javax.annotation.Nullable public Integer getDgTag() { return dgTag; } @@ -85,7 +84,6 @@ public RfidOrigin withTagEntry(Integer tagEntry) { * * @return tagEntry */ - @javax.annotation.Nullable public Integer getTagEntry() { return tagEntry; } @@ -104,7 +102,6 @@ public RfidOrigin withEntryView(Integer entryView) { * * @return entryView */ - @javax.annotation.Nullable public Integer getEntryView() { return entryView; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidPasswordType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidPasswordType.java new file mode 100644 index 00000000..91dd5827 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidPasswordType.java @@ -0,0 +1,37 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class RfidPasswordType { + + /** Unknown type */ + public static final int UNKNOWN = 0; + + /** MRZ */ + public static final int MRZ = 1; + + /** CAN */ + public static final int CAN = 2; + + /** PIN */ + public static final int PIN = 3; + + /** PUK */ + public static final int PUK = 4; + + /** eSign-PIN */ + public static final int PIN_E_SIGN = 5; + + /** Scanning Area Identifier (for eDL application) */ + public static final int SAI = 6; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidPkiExtension.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidPkiExtension.java new file mode 100644 index 00000000..98fd5b74 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidPkiExtension.java @@ -0,0 +1,107 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.util.Objects; + +/** + * Extension identifier (OID, ASCII string); Contents of the identifier in the format S1 (S2), where + * S1 – attribute name, S2 – identifier (OID string) + */ +public class RfidPkiExtension { + public static final String SERIALIZED_NAME_TYPE = "Type"; + + @SerializedName(SERIALIZED_NAME_TYPE) + private String type; + + public static final String SERIALIZED_NAME_DATA = "Data"; + + @SerializedName(SERIALIZED_NAME_DATA) + private String data; + + public RfidPkiExtension withType(String type) { + this.type = type; + return this; + } + + /** + * Extension identifier (OID, ASCII string); Contents of the identifier in the format S1 (S2), + * where S1 – attribute name, S2 – identifier (OID string) + * + * @return type + */ + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public RfidPkiExtension withData(String data) { + this.data = data; + return this; + } + + /** + * Extension binary data. Base64 encoded. + * + * @return data + */ + public String getData() { + return data; + } + + public void setData(String data) { + this.data = data; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfidPkiExtension rfidPkiExtension = (RfidPkiExtension) o; + return Objects.equals(this.type, rfidPkiExtension.type) + && Objects.equals(this.data, rfidPkiExtension.data); + } + + @Override + public int hashCode() { + return Objects.hash(type, data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RfidPkiExtension {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidSecurityObject.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidSecurityObject.java new file mode 100644 index 00000000..1d52e5ed --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidSecurityObject.java @@ -0,0 +1,194 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +/** + * Structure is used to describe the contents of a single document security object (SO) and the + * results of its check within the context of the communication session with electronic document + */ +public class RfidSecurityObject { + public static final String SERIALIZED_NAME_VERSION = "Version"; + + @SerializedName(SERIALIZED_NAME_VERSION) + private BigDecimal version; + + public static final String SERIALIZED_NAME_OBJECT_TYPE = "ObjectType"; + + @SerializedName(SERIALIZED_NAME_OBJECT_TYPE) + private String objectType; + + public static final String SERIALIZED_NAME_FILE_REFERENCE = "FileReference"; + + @SerializedName(SERIALIZED_NAME_FILE_REFERENCE) + private BigDecimal fileReference; + + public static final String SERIALIZED_NAME_NOTIFICATIONS = "Notifications"; + + @SerializedName(SERIALIZED_NAME_NOTIFICATIONS) + private List notifications = new ArrayList(); + + public static final String SERIALIZED_NAME_SIGNER_INFOS = "SignerInfos"; + + @SerializedName(SERIALIZED_NAME_SIGNER_INFOS) + private List signerInfos = new ArrayList(); + + public RfidSecurityObject withVersion(BigDecimal version) { + this.version = version; + return this; + } + + /** + * Security object version + * + * @return version + */ + public BigDecimal getVersion() { + return version; + } + + public void setVersion(BigDecimal version) { + this.version = version; + } + + public RfidSecurityObject withObjectType(String objectType) { + this.objectType = objectType; + return this; + } + + /** + * Identifier of the security object + * + * @return objectType + */ + public String getObjectType() { + return objectType; + } + + public void setObjectType(String objectType) { + this.objectType = objectType; + } + + public RfidSecurityObject withFileReference(BigDecimal fileReference) { + this.fileReference = fileReference; + return this; + } + + /** + * Reference to the source file of the security object data + * + * @return fileReference + */ + public BigDecimal getFileReference() { + return fileReference; + } + + public void setFileReference(BigDecimal fileReference) { + this.fileReference = fileReference; + } + + public RfidSecurityObject withNotifications(List notifications) { + this.notifications = notifications; + return this; + } + + public RfidSecurityObject addNotificationsItem(ParsingErrorCodes notificationsItem) { + this.notifications.add(notificationsItem); + return this; + } + + /** + * List of remarks arisen during the analysis of SO data structure. + * + * @return notifications + */ + public List getNotifications() { + return notifications; + } + + public void setNotifications(List notifications) { + this.notifications = notifications; + } + + public RfidSecurityObject withSignerInfos(List signerInfos) { + this.signerInfos = signerInfos; + return this; + } + + public RfidSecurityObject addSignerInfosItem(RfidSignerInfoEx signerInfosItem) { + this.signerInfos.add(signerInfosItem); + return this; + } + + /** + * List of containers to store information about digital signature objects contained in the SO + * + * @return signerInfos + */ + public List getSignerInfos() { + return signerInfos; + } + + public void setSignerInfos(List signerInfos) { + this.signerInfos = signerInfos; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfidSecurityObject rfidSecurityObject = (RfidSecurityObject) o; + return Objects.equals(this.version, rfidSecurityObject.version) + && Objects.equals(this.objectType, rfidSecurityObject.objectType) + && Objects.equals(this.fileReference, rfidSecurityObject.fileReference) + && Objects.equals(this.notifications, rfidSecurityObject.notifications) + && Objects.equals(this.signerInfos, rfidSecurityObject.signerInfos); + } + + @Override + public int hashCode() { + return Objects.hash(version, objectType, fileReference, notifications, signerInfos); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RfidSecurityObject {\n"); + sb.append(" version: ").append(toIndentedString(version)).append("\n"); + sb.append(" objectType: ").append(toIndentedString(objectType)).append("\n"); + sb.append(" fileReference: ").append(toIndentedString(fileReference)).append("\n"); + sb.append(" notifications: ").append(toIndentedString(notifications)).append("\n"); + sb.append(" signerInfos: ").append(toIndentedString(signerInfos)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidSessionData.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidSessionData.java new file mode 100644 index 00000000..1c5012c1 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidSessionData.java @@ -0,0 +1,501 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +/** + * Structure is used to describe the results of work with the SDK within the context of the current + * communication session with electronic document + */ +public class RfidSessionData { + public static final String SERIALIZED_NAME_VIRTUAL_MODE = "VirtualMode"; + + @SerializedName(SERIALIZED_NAME_VIRTUAL_MODE) + private Object virtualMode = null; + + public static final String SERIALIZED_NAME_SD_K_VERSION = "SDKVersion"; + + @SerializedName(SERIALIZED_NAME_SD_K_VERSION) + private Object sdKVersion = null; + + public static final String SERIALIZED_NAME_DRIVER_VERSION = "DriverVersion"; + + @SerializedName(SERIALIZED_NAME_DRIVER_VERSION) + private Object driverVersion = null; + + public static final String SERIALIZED_NAME_FIRMWARE_VERSION = "FirmwareVersion"; + + @SerializedName(SERIALIZED_NAME_FIRMWARE_VERSION) + private Object firmwareVersion = null; + + public static final String SERIALIZED_NAME_APPLICATIONS = "Applications"; + + @SerializedName(SERIALIZED_NAME_APPLICATIONS) + private List applications = new ArrayList(); + + public static final String SERIALIZED_NAME_ACCESS_CONTROLS = "AccessControls"; + + @SerializedName(SERIALIZED_NAME_ACCESS_CONTROLS) + private List accessControls = new ArrayList(); + + public static final String SERIALIZED_NAME_CARD_PROPERTIES = "CardProperties"; + + @SerializedName(SERIALIZED_NAME_CARD_PROPERTIES) + private RfidCardPropertiesExt cardProperties; + + public static final String SERIALIZED_NAME_EXT_LE_SUPPORT = "ExtLeSupport"; + + @SerializedName(SERIALIZED_NAME_EXT_LE_SUPPORT) + private RFIDErrorCodes extLeSupport; + + public static final String SERIALIZED_NAME_PROCESS_TIME = "ProcessTime"; + + @SerializedName(SERIALIZED_NAME_PROCESS_TIME) + private BigDecimal processTime; + + public static final String SERIALIZED_NAME_ROOT_FILES = "RootFiles"; + + @SerializedName(SERIALIZED_NAME_ROOT_FILES) + private List rootFiles = new ArrayList(); + + public static final String SERIALIZED_NAME_TOTAL_BYTES_SENT = "TotalBytesSent"; + + @SerializedName(SERIALIZED_NAME_TOTAL_BYTES_SENT) + private BigDecimal totalBytesSent; + + public static final String SERIALIZED_NAME_TOTAL_BYTES_RECEIVED = "TotalBytesReceived"; + + @SerializedName(SERIALIZED_NAME_TOTAL_BYTES_RECEIVED) + private BigDecimal totalBytesReceived; + + public static final String SERIALIZED_NAME_SESSION_KEY = "Session_key"; + + @SerializedName(SERIALIZED_NAME_SESSION_KEY) + private RfidAccessKey sessionKey; + + public static final String SERIALIZED_NAME_SESSION_TERMINAL = "Session_terminal"; + + @SerializedName(SERIALIZED_NAME_SESSION_TERMINAL) + private RfidTerminal sessionTerminal; + + public static final String SERIALIZED_NAME_SESSION_PROCEDURE = "Session_procedure"; + + @SerializedName(SERIALIZED_NAME_SESSION_PROCEDURE) + private RfidAuthenticationProcedureType sessionProcedure; + + public static final String SERIALIZED_NAME_SECURITY_OBJECTS = "SecurityObjects"; + + @SerializedName(SERIALIZED_NAME_SECURITY_OBJECTS) + private List securityObjects = new ArrayList(); + + public RfidSessionData withVirtualMode(Object virtualMode) { + this.virtualMode = virtualMode; + return this; + } + + /** + * Sign of virtual session when working with loaded data from a previous communication session + * with the electronic document + * + * @return virtualMode + */ + @javax.annotation.Nullable + public Object getVirtualMode() { + return virtualMode; + } + + public void setVirtualMode(Object virtualMode) { + this.virtualMode = virtualMode; + } + + public RfidSessionData withSdKVersion(Object sdKVersion) { + this.sdKVersion = sdKVersion; + return this; + } + + /** + * Text SDKVersion value in format A.B (e.g. 3.1) + * + * @return sdKVersion + */ + @javax.annotation.Nullable + public Object getSdKVersion() { + return sdKVersion; + } + + public void setSdKVersion(Object sdKVersion) { + this.sdKVersion = sdKVersion; + } + + public RfidSessionData withDriverVersion(Object driverVersion) { + this.driverVersion = driverVersion; + return this; + } + + /** + * Text DriverVersion value in format A.B.C.D (e.g. 6.2.5.4) + * + * @return driverVersion + */ + @javax.annotation.Nullable + public Object getDriverVersion() { + return driverVersion; + } + + public void setDriverVersion(Object driverVersion) { + this.driverVersion = driverVersion; + } + + public RfidSessionData withFirmwareVersion(Object firmwareVersion) { + this.firmwareVersion = firmwareVersion; + return this; + } + + /** + * Text FirmwareVersion value in format A.B (e.g. 5.19) + * + * @return firmwareVersion + */ + @javax.annotation.Nullable + public Object getFirmwareVersion() { + return firmwareVersion; + } + + public void setFirmwareVersion(Object firmwareVersion) { + this.firmwareVersion = firmwareVersion; + } + + public RfidSessionData withApplications(List applications) { + this.applications = applications; + return this; + } + + public RfidSessionData addApplicationsItem(RfidApplication applicationsItem) { + this.applications.add(applicationsItem); + return this; + } + + /** + * List of containers to store information about the involved applications of electronic document + * + * @return applications + */ + public List getApplications() { + return applications; + } + + public void setApplications(List applications) { + this.applications = applications; + } + + public RfidSessionData withAccessControls(List accessControls) { + this.accessControls = accessControls; + return this; + } + + public RfidSessionData addAccessControlsItem(RfidAccessControlInfo accessControlsItem) { + this.accessControls.add(accessControlsItem); + return this; + } + + /** + * List of containers to store information about the supported procedures of authentication and + * secure data access within the context of the session + * + * @return accessControls + */ + public List getAccessControls() { + return accessControls; + } + + public void setAccessControls(List accessControls) { + this.accessControls = accessControls; + } + + public RfidSessionData withCardProperties(RfidCardPropertiesExt cardProperties) { + this.cardProperties = cardProperties; + return this; + } + + /** + * Get cardProperties + * + * @return cardProperties + */ + public RfidCardPropertiesExt getCardProperties() { + return cardProperties; + } + + public void setCardProperties(RfidCardPropertiesExt cardProperties) { + this.cardProperties = cardProperties; + } + + public RfidSessionData withExtLeSupport(RFIDErrorCodes extLeSupport) { + this.extLeSupport = extLeSupport; + return this; + } + + /** + * Get extLeSupport + * + * @return extLeSupport + */ + public RFIDErrorCodes getExtLeSupport() { + return extLeSupport; + } + + public void setExtLeSupport(RFIDErrorCodes extLeSupport) { + this.extLeSupport = extLeSupport; + } + + public RfidSessionData withProcessTime(BigDecimal processTime) { + this.processTime = processTime; + return this; + } + + /** + * Time of processing, milliseconds + * + * @return processTime + */ + public BigDecimal getProcessTime() { + return processTime; + } + + public void setProcessTime(BigDecimal processTime) { + this.processTime = processTime; + } + + public RfidSessionData withRootFiles(List rootFiles) { + this.rootFiles = rootFiles; + return this; + } + + public RfidSessionData addRootFilesItem(Object rootFilesItem) { + this.rootFiles.add(rootFilesItem); + return this; + } + + /** + * List of containers to store information about the read files of the root Master File + * + * @return rootFiles + */ + public List getRootFiles() { + return rootFiles; + } + + public void setRootFiles(List rootFiles) { + this.rootFiles = rootFiles; + } + + public RfidSessionData withTotalBytesSent(BigDecimal totalBytesSent) { + this.totalBytesSent = totalBytesSent; + return this; + } + + /** + * Total number of bytes transmitted to the RFID-chip during the whole session + * + * @return totalBytesSent + */ + public BigDecimal getTotalBytesSent() { + return totalBytesSent; + } + + public void setTotalBytesSent(BigDecimal totalBytesSent) { + this.totalBytesSent = totalBytesSent; + } + + public RfidSessionData withTotalBytesReceived(BigDecimal totalBytesReceived) { + this.totalBytesReceived = totalBytesReceived; + return this; + } + + /** + * Total number of bytes received from the RFID-chip during the whole session + * + * @return totalBytesReceived + */ + public BigDecimal getTotalBytesReceived() { + return totalBytesReceived; + } + + public void setTotalBytesReceived(BigDecimal totalBytesReceived) { + this.totalBytesReceived = totalBytesReceived; + } + + public RfidSessionData withSessionKey(RfidAccessKey sessionKey) { + this.sessionKey = sessionKey; + return this; + } + + /** + * Get sessionKey + * + * @return sessionKey + */ + public RfidAccessKey getSessionKey() { + return sessionKey; + } + + public void setSessionKey(RfidAccessKey sessionKey) { + this.sessionKey = sessionKey; + } + + public RfidSessionData withSessionTerminal(RfidTerminal sessionTerminal) { + this.sessionTerminal = sessionTerminal; + return this; + } + + /** + * Get sessionTerminal + * + * @return sessionTerminal + */ + public RfidTerminal getSessionTerminal() { + return sessionTerminal; + } + + public void setSessionTerminal(RfidTerminal sessionTerminal) { + this.sessionTerminal = sessionTerminal; + } + + public RfidSessionData withSessionProcedure(RfidAuthenticationProcedureType sessionProcedure) { + this.sessionProcedure = sessionProcedure; + return this; + } + + /** + * Get sessionProcedure + * + * @return sessionProcedure + */ + public RfidAuthenticationProcedureType getSessionProcedure() { + return sessionProcedure; + } + + public void setSessionProcedure(RfidAuthenticationProcedureType sessionProcedure) { + this.sessionProcedure = sessionProcedure; + } + + public RfidSessionData withSecurityObjects(List securityObjects) { + this.securityObjects = securityObjects; + return this; + } + + public RfidSessionData addSecurityObjectsItem(RfidSecurityObject securityObjectsItem) { + this.securityObjects.add(securityObjectsItem); + return this; + } + + /** + * List of containers to store information about the detected document security objects + * + * @return securityObjects + */ + public List getSecurityObjects() { + return securityObjects; + } + + public void setSecurityObjects(List securityObjects) { + this.securityObjects = securityObjects; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfidSessionData rfidSessionData = (RfidSessionData) o; + return Objects.equals(this.virtualMode, rfidSessionData.virtualMode) + && Objects.equals(this.sdKVersion, rfidSessionData.sdKVersion) + && Objects.equals(this.driverVersion, rfidSessionData.driverVersion) + && Objects.equals(this.firmwareVersion, rfidSessionData.firmwareVersion) + && Objects.equals(this.applications, rfidSessionData.applications) + && Objects.equals(this.accessControls, rfidSessionData.accessControls) + && Objects.equals(this.cardProperties, rfidSessionData.cardProperties) + && Objects.equals(this.extLeSupport, rfidSessionData.extLeSupport) + && Objects.equals(this.processTime, rfidSessionData.processTime) + && Objects.equals(this.rootFiles, rfidSessionData.rootFiles) + && Objects.equals(this.totalBytesSent, rfidSessionData.totalBytesSent) + && Objects.equals(this.totalBytesReceived, rfidSessionData.totalBytesReceived) + && Objects.equals(this.sessionKey, rfidSessionData.sessionKey) + && Objects.equals(this.sessionTerminal, rfidSessionData.sessionTerminal) + && Objects.equals(this.sessionProcedure, rfidSessionData.sessionProcedure) + && Objects.equals(this.securityObjects, rfidSessionData.securityObjects); + } + + @Override + public int hashCode() { + return Objects.hash( + virtualMode, + sdKVersion, + driverVersion, + firmwareVersion, + applications, + accessControls, + cardProperties, + extLeSupport, + processTime, + rootFiles, + totalBytesSent, + totalBytesReceived, + sessionKey, + sessionTerminal, + sessionProcedure, + securityObjects); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RfidSessionData {\n"); + sb.append(" virtualMode: ").append(toIndentedString(virtualMode)).append("\n"); + sb.append(" sdKVersion: ").append(toIndentedString(sdKVersion)).append("\n"); + sb.append(" driverVersion: ").append(toIndentedString(driverVersion)).append("\n"); + sb.append(" firmwareVersion: ").append(toIndentedString(firmwareVersion)).append("\n"); + sb.append(" applications: ").append(toIndentedString(applications)).append("\n"); + sb.append(" accessControls: ").append(toIndentedString(accessControls)).append("\n"); + sb.append(" cardProperties: ").append(toIndentedString(cardProperties)).append("\n"); + sb.append(" extLeSupport: ").append(toIndentedString(extLeSupport)).append("\n"); + sb.append(" processTime: ").append(toIndentedString(processTime)).append("\n"); + sb.append(" rootFiles: ").append(toIndentedString(rootFiles)).append("\n"); + sb.append(" totalBytesSent: ").append(toIndentedString(totalBytesSent)).append("\n"); + sb.append(" totalBytesReceived: ").append(toIndentedString(totalBytesReceived)).append("\n"); + sb.append(" sessionKey: ").append(toIndentedString(sessionKey)).append("\n"); + sb.append(" sessionTerminal: ").append(toIndentedString(sessionTerminal)).append("\n"); + sb.append(" sessionProcedure: ").append(toIndentedString(sessionProcedure)).append("\n"); + sb.append(" securityObjects: ").append(toIndentedString(securityObjects)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidSignerInfoEx.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidSignerInfoEx.java new file mode 100644 index 00000000..9e59b026 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidSignerInfoEx.java @@ -0,0 +1,385 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +/** + * Structure is used to describe the contents of a single copy of digital signature of the document + * security object and the results of its check within the context of the communication session with + * electronic document + */ +public class RfidSignerInfoEx { + public static final String SERIALIZED_NAME_VERSION = "Version"; + + @SerializedName(SERIALIZED_NAME_VERSION) + private BigDecimal version; + + public static final String SERIALIZED_NAME_ISSUER = "Issuer"; + + @SerializedName(SERIALIZED_NAME_ISSUER) + private RfidDistinguishedName issuer; + + public static final String SERIALIZED_NAME_SERIAL_NUMBER = "SerialNumber"; + + @SerializedName(SERIALIZED_NAME_SERIAL_NUMBER) + private TrfFtBytes serialNumber; + + public static final String SERIALIZED_NAME_SUBJECT_KEY_IDENTIFIER = "SubjectKeyIdentifier"; + + @SerializedName(SERIALIZED_NAME_SUBJECT_KEY_IDENTIFIER) + private TrfFtBytes subjectKeyIdentifier; + + public static final String SERIALIZED_NAME_DIGEST_ALGORITHM = "DigestAlgorithm"; + + @SerializedName(SERIALIZED_NAME_DIGEST_ALGORITHM) + private String digestAlgorithm; + + public static final String SERIALIZED_NAME_SIGNED_ATTRIBUTES = "SignedAttributes"; + + @SerializedName(SERIALIZED_NAME_SIGNED_ATTRIBUTES) + private List signedAttributes = new ArrayList(); + + public static final String SERIALIZED_NAME_SIGNATURE_ALGORITHM = "SignatureAlgorithm"; + + @SerializedName(SERIALIZED_NAME_SIGNATURE_ALGORITHM) + private String signatureAlgorithm; + + public static final String SERIALIZED_NAME_SIGNATURE = "Signature"; + + @SerializedName(SERIALIZED_NAME_SIGNATURE) + private TrfFtBytes signature; + + public static final String SERIALIZED_NAME_PA_STATUS = "PA_Status"; + + @SerializedName(SERIALIZED_NAME_PA_STATUS) + private RFIDErrorCodes paStatus; + + public static final String SERIALIZED_NAME_CERTIFICATE_CHAIN = "CertificateChain"; + + @SerializedName(SERIALIZED_NAME_CERTIFICATE_CHAIN) + private List certificateChain = new ArrayList(); + + public static final String SERIALIZED_NAME_DATA_TO_HASH = "DataToHash"; + + @SerializedName(SERIALIZED_NAME_DATA_TO_HASH) + private String dataToHash; + + public static final String SERIALIZED_NAME_NOTIFICATIONS = "Notifications"; + + @SerializedName(SERIALIZED_NAME_NOTIFICATIONS) + private ParsingErrorCodes notifications; + + public RfidSignerInfoEx withVersion(BigDecimal version) { + this.version = version; + return this; + } + + /** + * Version of SignerInfo ASN.1 structure + * + * @return version + */ + public BigDecimal getVersion() { + return version; + } + + public void setVersion(BigDecimal version) { + this.version = version; + } + + public RfidSignerInfoEx withIssuer(RfidDistinguishedName issuer) { + this.issuer = issuer; + return this; + } + + /** + * Get issuer + * + * @return issuer + */ + public RfidDistinguishedName getIssuer() { + return issuer; + } + + public void setIssuer(RfidDistinguishedName issuer) { + this.issuer = issuer; + } + + public RfidSignerInfoEx withSerialNumber(TrfFtBytes serialNumber) { + this.serialNumber = serialNumber; + return this; + } + + /** + * Get serialNumber + * + * @return serialNumber + */ + public TrfFtBytes getSerialNumber() { + return serialNumber; + } + + public void setSerialNumber(TrfFtBytes serialNumber) { + this.serialNumber = serialNumber; + } + + public RfidSignerInfoEx withSubjectKeyIdentifier(TrfFtBytes subjectKeyIdentifier) { + this.subjectKeyIdentifier = subjectKeyIdentifier; + return this; + } + + /** + * Get subjectKeyIdentifier + * + * @return subjectKeyIdentifier + */ + public TrfFtBytes getSubjectKeyIdentifier() { + return subjectKeyIdentifier; + } + + public void setSubjectKeyIdentifier(TrfFtBytes subjectKeyIdentifier) { + this.subjectKeyIdentifier = subjectKeyIdentifier; + } + + public RfidSignerInfoEx withDigestAlgorithm(String digestAlgorithm) { + this.digestAlgorithm = digestAlgorithm; + return this; + } + + /** + * Hash algorithm identifier (OID) for digital signature generation + * + * @return digestAlgorithm + */ + public String getDigestAlgorithm() { + return digestAlgorithm; + } + + public void setDigestAlgorithm(String digestAlgorithm) { + this.digestAlgorithm = digestAlgorithm; + } + + public RfidSignerInfoEx withSignedAttributes(List signedAttributes) { + this.signedAttributes = signedAttributes; + return this; + } + + public RfidSignerInfoEx addSignedAttributesItem(RfidAttributeData signedAttributesItem) { + this.signedAttributes.add(signedAttributesItem); + return this; + } + + /** + * List of the signed attributes + * + * @return signedAttributes + */ + public List getSignedAttributes() { + return signedAttributes; + } + + public void setSignedAttributes(List signedAttributes) { + this.signedAttributes = signedAttributes; + } + + public RfidSignerInfoEx withSignatureAlgorithm(String signatureAlgorithm) { + this.signatureAlgorithm = signatureAlgorithm; + return this; + } + + /** + * Digital signature algorithm identifier (OID) + * + * @return signatureAlgorithm + */ + public String getSignatureAlgorithm() { + return signatureAlgorithm; + } + + public void setSignatureAlgorithm(String signatureAlgorithm) { + this.signatureAlgorithm = signatureAlgorithm; + } + + public RfidSignerInfoEx withSignature(TrfFtBytes signature) { + this.signature = signature; + return this; + } + + /** + * Get signature + * + * @return signature + */ + public TrfFtBytes getSignature() { + return signature; + } + + public void setSignature(TrfFtBytes signature) { + this.signature = signature; + } + + public RfidSignerInfoEx withPaStatus(RFIDErrorCodes paStatus) { + this.paStatus = paStatus; + return this; + } + + /** + * Get paStatus + * + * @return paStatus + */ + public RFIDErrorCodes getPaStatus() { + return paStatus; + } + + public void setPaStatus(RFIDErrorCodes paStatus) { + this.paStatus = paStatus; + } + + public RfidSignerInfoEx withCertificateChain(List certificateChain) { + this.certificateChain = certificateChain; + return this; + } + + public RfidSignerInfoEx addCertificateChainItem(RfidCertificateEx certificateChainItem) { + this.certificateChain.add(certificateChainItem); + return this; + } + + /** + * Certificate chain, used for the digital signature verification. + * + * @return certificateChain + */ + public List getCertificateChain() { + return certificateChain; + } + + public void setCertificateChain(List certificateChain) { + this.certificateChain = certificateChain; + } + + public RfidSignerInfoEx withDataToHash(String dataToHash) { + this.dataToHash = dataToHash; + return this; + } + + /** + * Binary data array used to calculate the hash value for digital signature verification. Base64 + * encoded. + * + * @return dataToHash + */ + public String getDataToHash() { + return dataToHash; + } + + public void setDataToHash(String dataToHash) { + this.dataToHash = dataToHash; + } + + public RfidSignerInfoEx withNotifications(ParsingErrorCodes notifications) { + this.notifications = notifications; + return this; + } + + /** + * Get notifications + * + * @return notifications + */ + public ParsingErrorCodes getNotifications() { + return notifications; + } + + public void setNotifications(ParsingErrorCodes notifications) { + this.notifications = notifications; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfidSignerInfoEx rfidSignerInfoEx = (RfidSignerInfoEx) o; + return Objects.equals(this.version, rfidSignerInfoEx.version) + && Objects.equals(this.issuer, rfidSignerInfoEx.issuer) + && Objects.equals(this.serialNumber, rfidSignerInfoEx.serialNumber) + && Objects.equals(this.subjectKeyIdentifier, rfidSignerInfoEx.subjectKeyIdentifier) + && Objects.equals(this.digestAlgorithm, rfidSignerInfoEx.digestAlgorithm) + && Objects.equals(this.signedAttributes, rfidSignerInfoEx.signedAttributes) + && Objects.equals(this.signatureAlgorithm, rfidSignerInfoEx.signatureAlgorithm) + && Objects.equals(this.signature, rfidSignerInfoEx.signature) + && Objects.equals(this.paStatus, rfidSignerInfoEx.paStatus) + && Objects.equals(this.certificateChain, rfidSignerInfoEx.certificateChain) + && Objects.equals(this.dataToHash, rfidSignerInfoEx.dataToHash) + && Objects.equals(this.notifications, rfidSignerInfoEx.notifications); + } + + @Override + public int hashCode() { + return Objects.hash( + version, + issuer, + serialNumber, + subjectKeyIdentifier, + digestAlgorithm, + signedAttributes, + signatureAlgorithm, + signature, + paStatus, + certificateChain, + dataToHash, + notifications); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RfidSignerInfoEx {\n"); + sb.append(" version: ").append(toIndentedString(version)).append("\n"); + sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); + sb.append(" serialNumber: ").append(toIndentedString(serialNumber)).append("\n"); + sb.append(" subjectKeyIdentifier: ") + .append(toIndentedString(subjectKeyIdentifier)) + .append("\n"); + sb.append(" digestAlgorithm: ").append(toIndentedString(digestAlgorithm)).append("\n"); + sb.append(" signedAttributes: ").append(toIndentedString(signedAttributes)).append("\n"); + sb.append(" signatureAlgorithm: ").append(toIndentedString(signatureAlgorithm)).append("\n"); + sb.append(" signature: ").append(toIndentedString(signature)).append("\n"); + sb.append(" paStatus: ").append(toIndentedString(paStatus)).append("\n"); + sb.append(" certificateChain: ").append(toIndentedString(certificateChain)).append("\n"); + sb.append(" dataToHash: ").append(toIndentedString(dataToHash)).append("\n"); + sb.append(" notifications: ").append(toIndentedString(notifications)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidTerminal.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidTerminal.java new file mode 100644 index 00000000..83f68191 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidTerminal.java @@ -0,0 +1,134 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; +import java.util.Objects; + +/** + * Structure is used to describe the terminal type within the context of the communication session + * with electronic document + */ +public class RfidTerminal { + public static final String SERIALIZED_NAME_TERM_TYPE = "TermType"; + + @SerializedName(SERIALIZED_NAME_TERM_TYPE) + private RfidTerminalType termType; + + public static final String SERIALIZED_NAME_AUTH_REQ = "AuthReq"; + + @SerializedName(SERIALIZED_NAME_AUTH_REQ) + private BigDecimal authReq; + + public static final String SERIALIZED_NAME_AUTH_REQ2 = "AuthReq2"; + + @SerializedName(SERIALIZED_NAME_AUTH_REQ2) + private BigDecimal authReq2; + + public RfidTerminal withTermType(RfidTerminalType termType) { + this.termType = termType; + return this; + } + + /** + * Get termType + * + * @return termType + */ + public RfidTerminalType getTermType() { + return termType; + } + + public void setTermType(RfidTerminalType termType) { + this.termType = termType; + } + + public RfidTerminal withAuthReq(BigDecimal authReq) { + this.authReq = authReq; + return this; + } + + /** + * Declared (set) combination of flags of access rights to the functionality of the document + * (combination of eRfidTerminalAuthorizationRequirement values) + * + * @return authReq + */ + public BigDecimal getAuthReq() { + return authReq; + } + + public void setAuthReq(BigDecimal authReq) { + this.authReq = authReq; + } + + public RfidTerminal withAuthReq2(BigDecimal authReq2) { + this.authReq2 = authReq2; + return this; + } + + /** + * Declared (set) combination of flags of access rights to the functionality of the document + * (combination of RfidTerminalAuthorizationRequirement values) + * + * @return authReq2 + */ + public BigDecimal getAuthReq2() { + return authReq2; + } + + public void setAuthReq2(BigDecimal authReq2) { + this.authReq2 = authReq2; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfidTerminal rfidTerminal = (RfidTerminal) o; + return Objects.equals(this.termType, rfidTerminal.termType) + && Objects.equals(this.authReq, rfidTerminal.authReq) + && Objects.equals(this.authReq2, rfidTerminal.authReq2); + } + + @Override + public int hashCode() { + return Objects.hash(termType, authReq, authReq2); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RfidTerminal {\n"); + sb.append(" termType: ").append(toIndentedString(termType)).append("\n"); + sb.append(" authReq: ").append(toIndentedString(authReq)).append("\n"); + sb.append(" authReq2: ").append(toIndentedString(authReq2)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidTerminalType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidTerminalType.java new file mode 100644 index 00000000..b7de17f7 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidTerminalType.java @@ -0,0 +1,31 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class RfidTerminalType { + + /** Not defined */ + public static final int UNDEFINED = 0; + + /** Inspection system */ + public static final int INSPECTION_SYSTEM = 1; + + /** Authentication terminal */ + public static final int AUTHENTICATION_TERMINAL = 2; + + /** Signature terminal */ + public static final int SIGNATURE_TERMINAL = 3; + + /** Unauthenticated terminal */ + public static final int UNAUTHENTICATED_TERMINAL = 4; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidType.java new file mode 100644 index 00000000..d4b142a2 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidType.java @@ -0,0 +1,25 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +public class RfidType { + + /** Unknown */ + public static final int UNKNOWN = 0; + + /** Type A */ + public static final int A = 1; + + /** Type B */ + public static final int B = 2; +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidValidity.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidValidity.java new file mode 100644 index 00000000..853cb70a --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidValidity.java @@ -0,0 +1,103 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.util.Objects; + +/** Structure contains information on a certificate validity. */ +public class RfidValidity { + public static final String SERIALIZED_NAME_NOT_BEFORE = "NotBefore"; + + @SerializedName(SERIALIZED_NAME_NOT_BEFORE) + private TrfFtString notBefore; + + public static final String SERIALIZED_NAME_NOT_AFTER = "NotAfter"; + + @SerializedName(SERIALIZED_NAME_NOT_AFTER) + private TrfFtString notAfter; + + public RfidValidity withNotBefore(TrfFtString notBefore) { + this.notBefore = notBefore; + return this; + } + + /** + * Get notBefore + * + * @return notBefore + */ + public TrfFtString getNotBefore() { + return notBefore; + } + + public void setNotBefore(TrfFtString notBefore) { + this.notBefore = notBefore; + } + + public RfidValidity withNotAfter(TrfFtString notAfter) { + this.notAfter = notAfter; + return this; + } + + /** + * Get notAfter + * + * @return notAfter + */ + public TrfFtString getNotAfter() { + return notAfter; + } + + public void setNotAfter(TrfFtString notAfter) { + this.notAfter = notAfter; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RfidValidity rfidValidity = (RfidValidity) o; + return Objects.equals(this.notBefore, rfidValidity.notBefore) + && Objects.equals(this.notAfter, rfidValidity.notAfter); + } + + @Override + public int hashCode() { + return Objects.hash(notBefore, notAfter); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RfidValidity {\n"); + sb.append(" notBefore: ").append(toIndentedString(notBefore)).append("\n"); + sb.append(" notAfter: ").append(toIndentedString(notAfter)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/Scenario.java b/client/src/main/generated/com/regula/documentreader/webclient/model/Scenario.java index 17ad87c1..f976c0b7 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/Scenario.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/Scenario.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureResult.java index bb3d26b6..97efa9dd 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -16,7 +16,27 @@ import java.util.Objects; /** SecurityFeatureResult */ -public class SecurityFeatureResult extends AuthenticityCheckResultItem { +public class SecurityFeatureResult { + public static final String SERIALIZED_NAME_TYPE = "Type"; + + @SerializedName(SERIALIZED_NAME_TYPE) + private Integer type = 0; + + public static final String SERIALIZED_NAME_ELEMENT_RESULT = "ElementResult"; + + @SerializedName(SERIALIZED_NAME_ELEMENT_RESULT) + private Integer elementResult; + + public static final String SERIALIZED_NAME_ELEMENT_DIAGNOSE = "ElementDiagnose"; + + @SerializedName(SERIALIZED_NAME_ELEMENT_DIAGNOSE) + private Integer elementDiagnose; + + public static final String SERIALIZED_NAME_PERCENT_VALUE = "PercentValue"; + + @SerializedName(SERIALIZED_NAME_PERCENT_VALUE) + private Integer percentValue; + public static final String SERIALIZED_NAME_ELEMENT_TYPE = "ElementType"; @SerializedName(SERIALIZED_NAME_ELEMENT_TYPE) @@ -47,6 +67,82 @@ public class SecurityFeatureResult extends AuthenticityCheckResultItem { @SerializedName(SERIALIZED_NAME_RESERVED2) private Integer reserved2; + public SecurityFeatureResult withType(Integer type) { + this.type = type; + return this; + } + + /** + * Same as authenticity result type, but used for safe parsing of not-described values: + * https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/authenticity-result-type/ + * + * @return type + */ + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + public SecurityFeatureResult withElementResult(Integer elementResult) { + this.elementResult = elementResult; + return this; + } + + /** + * Get elementResult + * + * @return elementResult + */ + @javax.annotation.Nullable + public Integer getElementResult() { + return elementResult; + } + + public void setElementResult(Integer elementResult) { + this.elementResult = elementResult; + } + + public SecurityFeatureResult withElementDiagnose(Integer elementDiagnose) { + this.elementDiagnose = elementDiagnose; + return this; + } + + /** + * Get elementDiagnose + * + * @return elementDiagnose + */ + @javax.annotation.Nullable + public Integer getElementDiagnose() { + return elementDiagnose; + } + + public void setElementDiagnose(Integer elementDiagnose) { + this.elementDiagnose = elementDiagnose; + } + + public SecurityFeatureResult withPercentValue(Integer percentValue) { + this.percentValue = percentValue; + return this; + } + + /** + * Get percentValue + * + * @return percentValue + */ + @javax.annotation.Nullable + public Integer getPercentValue() { + return percentValue; + } + + public void setPercentValue(Integer percentValue) { + this.percentValue = percentValue; + } + public SecurityFeatureResult withElementType(Integer elementType) { this.elementType = elementType; return this; @@ -57,7 +153,6 @@ public SecurityFeatureResult withElementType(Integer elementType) { * * @return elementType */ - @javax.annotation.Nullable public Integer getElementType() { return elementType; } @@ -76,7 +171,6 @@ public SecurityFeatureResult withElementRect(RectangleCoordinates elementRect) { * * @return elementRect */ - @javax.annotation.Nullable public RectangleCoordinates getElementRect() { return elementRect; } @@ -95,7 +189,6 @@ public SecurityFeatureResult withVisibility(Integer visibility) { * * @return visibility */ - @javax.annotation.Nullable public Integer getVisibility() { return visibility; } @@ -114,7 +207,6 @@ public SecurityFeatureResult withCriticalFlag(Integer criticalFlag) { * * @return criticalFlag */ - @javax.annotation.Nullable public Integer getCriticalFlag() { return criticalFlag; } @@ -170,26 +262,41 @@ public boolean equals(java.lang.Object o) { return false; } SecurityFeatureResult securityFeatureResult = (SecurityFeatureResult) o; - return Objects.equals(this.elementType, securityFeatureResult.elementType) + return Objects.equals(this.type, securityFeatureResult.type) + && Objects.equals(this.elementResult, securityFeatureResult.elementResult) + && Objects.equals(this.elementDiagnose, securityFeatureResult.elementDiagnose) + && Objects.equals(this.percentValue, securityFeatureResult.percentValue) + && Objects.equals(this.elementType, securityFeatureResult.elementType) && Objects.equals(this.elementRect, securityFeatureResult.elementRect) && Objects.equals(this.visibility, securityFeatureResult.visibility) && Objects.equals(this.criticalFlag, securityFeatureResult.criticalFlag) && Objects.equals(this.areaList, securityFeatureResult.areaList) - && Objects.equals(this.reserved2, securityFeatureResult.reserved2) - && super.equals(o); + && Objects.equals(this.reserved2, securityFeatureResult.reserved2); } @Override public int hashCode() { return Objects.hash( - elementType, elementRect, visibility, criticalFlag, areaList, reserved2, super.hashCode()); + type, + elementResult, + elementDiagnose, + percentValue, + elementType, + elementRect, + visibility, + criticalFlag, + areaList, + reserved2); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SecurityFeatureResult {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" elementResult: ").append(toIndentedString(elementResult)).append("\n"); + sb.append(" elementDiagnose: ").append(toIndentedString(elementDiagnose)).append("\n"); + sb.append(" percentValue: ").append(toIndentedString(percentValue)).append("\n"); sb.append(" elementType: ").append(toIndentedString(elementType)).append("\n"); sb.append(" elementRect: ").append(toIndentedString(elementRect)).append("\n"); sb.append(" visibility: ").append(toIndentedString(visibility)).append("\n"); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureType.java index 39c43acd..ac5b8fc1 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureType.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureType.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/Source.java b/client/src/main/generated/com/regula/documentreader/webclient/model/Source.java index 870d0eb6..1a28aa27 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/Source.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/Source.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -28,4 +28,7 @@ public class Source { /** Magnetic */ public static final String MAGNETIC = "MAGNETIC"; + + /** External */ + public static final String EXTERNAL = "EXTERNAL"; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/SourceValidity.java b/client/src/main/generated/com/regula/documentreader/webclient/model/SourceValidity.java index a517a1e0..a0999b3c 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/SourceValidity.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/SourceValidity.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/Status.java b/client/src/main/generated/com/regula/documentreader/webclient/model/Status.java index 7c0f7ab9..53edcb5b 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/Status.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/Status.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -98,7 +98,6 @@ public Status withPortrait(Integer portrait) { * * @return portrait */ - @javax.annotation.Nullable public Integer getPortrait() { return portrait; } @@ -117,7 +116,6 @@ public Status withRfid(Integer rfid) { * * @return rfid */ - @javax.annotation.Nullable public Integer getRfid() { return rfid; } @@ -136,7 +134,6 @@ public Status withStopList(Integer stopList) { * * @return stopList */ - @javax.annotation.Nullable public Integer getStopList() { return stopList; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/StatusResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/StatusResult.java index ef0b7464..a4f1d2fc 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/StatusResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/StatusResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/StringRecognitionResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/StringRecognitionResult.java index 93eac363..e1a02800 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/StringRecognitionResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/StringRecognitionResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,17 +13,75 @@ package com.regula.documentreader.webclient.model; import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import java.util.Objects; /** Describes single row recognition results in multi-line text field of a document */ public class StringRecognitionResult { + public static final String SERIALIZED_NAME_SYMBOLS_COUNT = "SymbolsCount"; + + @SerializedName(SERIALIZED_NAME_SYMBOLS_COUNT) + private BigDecimal symbolsCount; + + public static final String SERIALIZED_NAME_RESERVED = "Reserved"; + + @SerializedName(SERIALIZED_NAME_RESERVED) + private Object reserved = null; + public static final String SERIALIZED_NAME_STRING_RESULT = "StringResult"; @SerializedName(SERIALIZED_NAME_STRING_RESULT) private List stringResult = new ArrayList(); + public static final String SERIALIZED_NAME_BUF_LENGTH = "Buf_Length"; + + @SerializedName(SERIALIZED_NAME_BUF_LENGTH) + private BigDecimal bufLength; + + public static final String SERIALIZED_NAME_BUF_TEXT = "Buf_Text"; + + @SerializedName(SERIALIZED_NAME_BUF_TEXT) + private String bufText; + + public StringRecognitionResult withSymbolsCount(BigDecimal symbolsCount) { + this.symbolsCount = symbolsCount; + return this; + } + + /** + * Number of StringResult array elements + * + * @return symbolsCount + */ + public BigDecimal getSymbolsCount() { + return symbolsCount; + } + + public void setSymbolsCount(BigDecimal symbolsCount) { + this.symbolsCount = symbolsCount; + } + + public StringRecognitionResult withReserved(Object reserved) { + this.reserved = reserved; + return this; + } + + /** + * Get reserved + * + * @return reserved + */ + @javax.annotation.Nullable + public Object getReserved() { + return reserved; + } + + public void setReserved(Object reserved) { + this.reserved = reserved; + } + public StringRecognitionResult withStringResult(List stringResult) { this.stringResult = stringResult; return this; @@ -47,6 +105,45 @@ public void setStringResult(List stringResult) { this.stringResult = stringResult; } + public StringRecognitionResult withBufLength(BigDecimal bufLength) { + this.bufLength = bufLength; + return this; + } + + /** + * Buf_Text text string length + * + * @return bufLength + */ + @javax.annotation.Nullable + public BigDecimal getBufLength() { + return bufLength; + } + + public void setBufLength(BigDecimal bufLength) { + this.bufLength = bufLength; + } + + public StringRecognitionResult withBufText(String bufText) { + this.bufText = bufText; + return this; + } + + /** + * Text field data in UTF8 format. Results of reading different lines of a multi-line field are + * separated by '^' + * + * @return bufText + */ + @javax.annotation.Nullable + public String getBufText() { + return bufText; + } + + public void setBufText(String bufText) { + this.bufText = bufText; + } + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -56,19 +153,27 @@ public boolean equals(java.lang.Object o) { return false; } StringRecognitionResult stringRecognitionResult = (StringRecognitionResult) o; - return Objects.equals(this.stringResult, stringRecognitionResult.stringResult); + return Objects.equals(this.symbolsCount, stringRecognitionResult.symbolsCount) + && Objects.equals(this.reserved, stringRecognitionResult.reserved) + && Objects.equals(this.stringResult, stringRecognitionResult.stringResult) + && Objects.equals(this.bufLength, stringRecognitionResult.bufLength) + && Objects.equals(this.bufText, stringRecognitionResult.bufText); } @Override public int hashCode() { - return Objects.hash(stringResult); + return Objects.hash(symbolsCount, reserved, stringResult, bufLength, bufText); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class StringRecognitionResult {\n"); + sb.append(" symbolsCount: ").append(toIndentedString(symbolsCount)).append("\n"); + sb.append(" reserved: ").append(toIndentedString(reserved)).append("\n"); sb.append(" stringResult: ").append(toIndentedString(stringResult)).append("\n"); + sb.append(" bufLength: ").append(toIndentedString(bufLength)).append("\n"); + sb.append(" bufText: ").append(toIndentedString(bufText)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/SymbolCandidate.java b/client/src/main/generated/com/regula/documentreader/webclient/model/SymbolCandidate.java index d124c093..e3bfe282 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/SymbolCandidate.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/SymbolCandidate.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,6 +27,11 @@ public class SymbolCandidate { @SerializedName(SERIALIZED_NAME_SYMBOL_PROBABILITY) private Integer symbolProbability; + public static final String SERIALIZED_NAME_RESERVED = "Reserved"; + + @SerializedName(SERIALIZED_NAME_RESERVED) + private Object reserved = null; + public SymbolCandidate withSymbolCode(Integer symbolCode) { this.symbolCode = symbolCode; return this; @@ -63,6 +68,25 @@ public void setSymbolProbability(Integer symbolProbability) { this.symbolProbability = symbolProbability; } + public SymbolCandidate withReserved(Object reserved) { + this.reserved = reserved; + return this; + } + + /** + * Get reserved + * + * @return reserved + */ + @javax.annotation.Nullable + public Object getReserved() { + return reserved; + } + + public void setReserved(Object reserved) { + this.reserved = reserved; + } + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -73,12 +97,13 @@ public boolean equals(java.lang.Object o) { } SymbolCandidate symbolCandidate = (SymbolCandidate) o; return Objects.equals(this.symbolCode, symbolCandidate.symbolCode) - && Objects.equals(this.symbolProbability, symbolCandidate.symbolProbability); + && Objects.equals(this.symbolProbability, symbolCandidate.symbolProbability) + && Objects.equals(this.reserved, symbolCandidate.reserved); } @Override public int hashCode() { - return Objects.hash(symbolCode, symbolProbability); + return Objects.hash(symbolCode, symbolProbability, reserved); } @Override @@ -87,6 +112,7 @@ public String toString() { sb.append("class SymbolCandidate {\n"); sb.append(" symbolCode: ").append(toIndentedString(symbolCode)).append("\n"); sb.append(" symbolProbability: ").append(toIndentedString(symbolProbability)).append("\n"); + sb.append(" reserved: ").append(toIndentedString(reserved)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/SymbolRecognitionResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/SymbolRecognitionResult.java index 11057bba..184283bb 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/SymbolRecognitionResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/SymbolRecognitionResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,7 @@ package com.regula.documentreader.webclient.model; import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import java.util.Objects; @@ -24,11 +25,21 @@ public class SymbolRecognitionResult { @SerializedName(SERIALIZED_NAME_SYMBOL_RECT) private RectangleCoordinates symbolRect; + public static final String SERIALIZED_NAME_CANDIDATES_COUNT = "CandidatesCount"; + + @SerializedName(SERIALIZED_NAME_CANDIDATES_COUNT) + private BigDecimal candidatesCount; + public static final String SERIALIZED_NAME_LIST_OF_CANDIDATES = "ListOfCandidates"; @SerializedName(SERIALIZED_NAME_LIST_OF_CANDIDATES) private List listOfCandidates = new ArrayList(); + public static final String SERIALIZED_NAME_RESERVED = "Reserved"; + + @SerializedName(SERIALIZED_NAME_RESERVED) + private Object reserved = null; + public SymbolRecognitionResult withSymbolRect(RectangleCoordinates symbolRect) { this.symbolRect = symbolRect; return this; @@ -47,6 +58,24 @@ public void setSymbolRect(RectangleCoordinates symbolRect) { this.symbolRect = symbolRect; } + public SymbolRecognitionResult withCandidatesCount(BigDecimal candidatesCount) { + this.candidatesCount = candidatesCount; + return this; + } + + /** + * Number of significant elements of ListOfCandidates array + * + * @return candidatesCount + */ + public BigDecimal getCandidatesCount() { + return candidatesCount; + } + + public void setCandidatesCount(BigDecimal candidatesCount) { + this.candidatesCount = candidatesCount; + } + public SymbolRecognitionResult withListOfCandidates(List listOfCandidates) { this.listOfCandidates = listOfCandidates; return this; @@ -71,6 +100,25 @@ public void setListOfCandidates(List listOfCandidates) { this.listOfCandidates = listOfCandidates; } + public SymbolRecognitionResult withReserved(Object reserved) { + this.reserved = reserved; + return this; + } + + /** + * Get reserved + * + * @return reserved + */ + @javax.annotation.Nullable + public Object getReserved() { + return reserved; + } + + public void setReserved(Object reserved) { + this.reserved = reserved; + } + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -81,12 +129,14 @@ public boolean equals(java.lang.Object o) { } SymbolRecognitionResult symbolRecognitionResult = (SymbolRecognitionResult) o; return Objects.equals(this.symbolRect, symbolRecognitionResult.symbolRect) - && Objects.equals(this.listOfCandidates, symbolRecognitionResult.listOfCandidates); + && Objects.equals(this.candidatesCount, symbolRecognitionResult.candidatesCount) + && Objects.equals(this.listOfCandidates, symbolRecognitionResult.listOfCandidates) + && Objects.equals(this.reserved, symbolRecognitionResult.reserved); } @Override public int hashCode() { - return Objects.hash(symbolRect, listOfCandidates); + return Objects.hash(symbolRect, candidatesCount, listOfCandidates, reserved); } @Override @@ -94,7 +144,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SymbolRecognitionResult {\n"); sb.append(" symbolRect: ").append(toIndentedString(symbolRect)).append("\n"); + sb.append(" candidatesCount: ").append(toIndentedString(candidatesCount)).append("\n"); sb.append(" listOfCandidates: ").append(toIndentedString(listOfCandidates)).append("\n"); + sb.append(" reserved: ").append(toIndentedString(reserved)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/TDocBinaryInfo.java b/client/src/main/generated/com/regula/documentreader/webclient/model/TDocBinaryInfo.java new file mode 100644 index 00000000..83a089de --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/TDocBinaryInfo.java @@ -0,0 +1,78 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.util.Objects; + +/** TDocBinaryInfo */ +public class TDocBinaryInfo { + public static final String SERIALIZED_NAME_R_F_I_D_B_I_N_A_R_Y_D_A_T_A = "RFID_BINARY_DATA"; + + @SerializedName(SERIALIZED_NAME_R_F_I_D_B_I_N_A_R_Y_D_A_T_A) + private BinaryData RFID_BINARY_DATA; + + public TDocBinaryInfo withRFIDBINARYDATA(BinaryData RFID_BINARY_DATA) { + this.RFID_BINARY_DATA = RFID_BINARY_DATA; + return this; + } + + /** + * Get RFID_BINARY_DATA + * + * @return RFID_BINARY_DATA + */ + public BinaryData getRFIDBINARYDATA() { + return RFID_BINARY_DATA; + } + + public void setRFIDBINARYDATA(BinaryData RFID_BINARY_DATA) { + this.RFID_BINARY_DATA = RFID_BINARY_DATA; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TDocBinaryInfo tdocBinaryInfo = (TDocBinaryInfo) o; + return Objects.equals(this.RFID_BINARY_DATA, tdocBinaryInfo.RFID_BINARY_DATA); + } + + @Override + public int hashCode() { + return Objects.hash(RFID_BINARY_DATA); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TDocBinaryInfo {\n"); + sb.append(" RFID_BINARY_DATA: ").append(toIndentedString(RFID_BINARY_DATA)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/Text.java b/client/src/main/generated/com/regula/documentreader/webclient/model/Text.java index ab456531..1f82fb0b 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/Text.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/Text.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -34,6 +34,11 @@ public class Text { @SerializedName(SERIALIZED_NAME_COMPARISON_STATUS) private Integer comparisonStatus; + public static final String SERIALIZED_NAME_DATE_FORMAT = "dateFormat"; + + @SerializedName(SERIALIZED_NAME_DATE_FORMAT) + private String dateFormat; + public static final String SERIALIZED_NAME_FIELD_LIST = "fieldList"; @SerializedName(SERIALIZED_NAME_FIELD_LIST) @@ -99,6 +104,24 @@ public void setComparisonStatus(Integer comparisonStatus) { this.comparisonStatus = comparisonStatus; } + public Text withDateFormat(String dateFormat) { + this.dateFormat = dateFormat; + return this; + } + + /** + * Date format + * + * @return dateFormat + */ + public String getDateFormat() { + return dateFormat; + } + + public void setDateFormat(String dateFormat) { + this.dateFormat = dateFormat; + } + public Text withFieldList( List fieldList) { this.fieldList = fieldList; @@ -160,13 +183,15 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.status, text.status) && Objects.equals(this.validityStatus, text.validityStatus) && Objects.equals(this.comparisonStatus, text.comparisonStatus) + && Objects.equals(this.dateFormat, text.dateFormat) && Objects.equals(this.fieldList, text.fieldList) && Objects.equals(this.availableSourceList, text.availableSourceList); } @Override public int hashCode() { - return Objects.hash(status, validityStatus, comparisonStatus, fieldList, availableSourceList); + return Objects.hash( + status, validityStatus, comparisonStatus, dateFormat, fieldList, availableSourceList); } @Override @@ -176,6 +201,7 @@ public String toString() { sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append(" validityStatus: ").append(toIndentedString(validityStatus)).append("\n"); sb.append(" comparisonStatus: ").append(toIndentedString(comparisonStatus)).append("\n"); + sb.append(" dateFormat: ").append(toIndentedString(dateFormat)).append("\n"); sb.append(" fieldList: ").append(toIndentedString(fieldList)).append("\n"); sb.append(" availableSourceList: ") .append(toIndentedString(availableSourceList)) diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/TextAvailableSource.java b/client/src/main/generated/com/regula/documentreader/webclient/model/TextAvailableSource.java index 99f101e8..b0439ecf 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/TextAvailableSource.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/TextAvailableSource.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/TextDataResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/TextDataResult.java index 8a8d66ca..dcac9d42 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/TextDataResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/TextDataResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -35,7 +35,6 @@ public TextDataResult withDocVisualExtendedInfo(DocVisualExtendedInfo docVisualE * * @return docVisualExtendedInfo */ - @javax.annotation.Nullable public DocVisualExtendedInfo getDocVisualExtendedInfo() { return docVisualExtendedInfo; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/TextField.java b/client/src/main/generated/com/regula/documentreader/webclient/model/TextField.java index 8fb1233c..b4d0eda0 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/TextField.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/TextField.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -34,6 +34,11 @@ public class TextField { @SerializedName(SERIALIZED_NAME_LCID) private Integer lcid; + public static final String SERIALIZED_NAME_LCID_NAME = "lcidName"; + + @SerializedName(SERIALIZED_NAME_LCID_NAME) + private String lcidName; + public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) @@ -117,7 +122,6 @@ public TextField withLcid(Integer lcid) { * * @return lcid */ - @javax.annotation.Nullable public Integer getLcid() { return lcid; } @@ -126,6 +130,24 @@ public void setLcid(Integer lcid) { this.lcid = lcid; } + public TextField withLcidName(String lcidName) { + this.lcidName = lcidName; + return this; + } + + /** + * LCID name + * + * @return lcidName + */ + public String getLcidName() { + return lcidName; + } + + public void setLcidName(String lcidName) { + this.lcidName = lcidName; + } + public TextField withStatus(Integer status) { this.status = status; return this; @@ -281,6 +303,7 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.fieldType, textField.fieldType) && Objects.equals(this.fieldName, textField.fieldName) && Objects.equals(this.lcid, textField.lcid) + && Objects.equals(this.lcidName, textField.lcidName) && Objects.equals(this.status, textField.status) && Objects.equals(this.validityStatus, textField.validityStatus) && Objects.equals(this.comparisonStatus, textField.comparisonStatus) @@ -296,6 +319,7 @@ public int hashCode() { fieldType, fieldName, lcid, + lcidName, status, validityStatus, comparisonStatus, @@ -312,6 +336,7 @@ public String toString() { sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n"); sb.append(" fieldName: ").append(toIndentedString(fieldName)).append("\n"); sb.append(" lcid: ").append(toIndentedString(lcid)).append("\n"); + sb.append(" lcidName: ").append(toIndentedString(lcidName)).append("\n"); sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append(" validityStatus: ").append(toIndentedString(validityStatus)).append("\n"); sb.append(" comparisonStatus: ").append(toIndentedString(comparisonStatus)).append("\n"); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/TextFieldType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/TextFieldType.java index 5d8e264c..2b8b6d29 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/TextFieldType.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/TextFieldType.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/TextFieldValue.java b/client/src/main/generated/com/regula/documentreader/webclient/model/TextFieldValue.java index adb203ac..176113c7 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/TextFieldValue.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/TextFieldValue.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -34,6 +34,11 @@ public class TextFieldValue { @SerializedName(SERIALIZED_NAME_ORIGINAL_VALUE) private String originalValue; + public static final String SERIALIZED_NAME_ORIGINAL_VALIDITY = "originalValidity"; + + @SerializedName(SERIALIZED_NAME_ORIGINAL_VALIDITY) + private Integer originalValidity; + public static final String SERIALIZED_NAME_ORIGINAL_SYMBOLS = "originalSymbols"; @SerializedName(SERIALIZED_NAME_ORIGINAL_SYMBOLS) @@ -114,6 +119,24 @@ public void setOriginalValue(String originalValue) { this.originalValue = originalValue; } + public TextFieldValue withOriginalValidity(Integer originalValidity) { + this.originalValidity = originalValidity; + return this; + } + + /** + * Get originalValidity + * + * @return originalValidity + */ + public Integer getOriginalValidity() { + return originalValidity; + } + + public void setOriginalValidity(Integer originalValidity) { + this.originalValidity = originalValidity; + } + public TextFieldValue withOriginalSymbols(List originalSymbols) { this.originalSymbols = originalSymbols; return this; @@ -170,7 +193,6 @@ public TextFieldValue withProbability(Integer probability) { * * @return probability */ - @javax.annotation.Nullable public Integer getProbability() { return probability; } @@ -229,6 +251,7 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.source, textFieldValue.source) && Objects.equals(this.value, textFieldValue.value) && Objects.equals(this.originalValue, textFieldValue.originalValue) + && Objects.equals(this.originalValidity, textFieldValue.originalValidity) && Objects.equals(this.originalSymbols, textFieldValue.originalSymbols) && Objects.equals(this.pageIndex, textFieldValue.pageIndex) && Objects.equals(this.probability, textFieldValue.probability) @@ -242,6 +265,7 @@ public int hashCode() { source, value, originalValue, + originalValidity, originalSymbols, pageIndex, probability, @@ -256,6 +280,7 @@ public String toString() { sb.append(" source: ").append(toIndentedString(source)).append("\n"); sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append(" originalValue: ").append(toIndentedString(originalValue)).append("\n"); + sb.append(" originalValidity: ").append(toIndentedString(originalValidity)).append("\n"); sb.append(" originalSymbols: ").append(toIndentedString(originalSymbols)).append("\n"); sb.append(" pageIndex: ").append(toIndentedString(pageIndex)).append("\n"); sb.append(" probability: ").append(toIndentedString(probability)).append("\n"); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/TextPostProcessing.java b/client/src/main/generated/com/regula/documentreader/webclient/model/TextPostProcessing.java index 8a6bb111..94de464f 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/TextPostProcessing.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/TextPostProcessing.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/TextResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/TextResult.java index af4cef2c..a43b4a45 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/TextResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/TextResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionImage.java b/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionImage.java index d14eb9d3..1ba6e116 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionImage.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionImage.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionInfo.java b/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionInfo.java index e0948db7..f84a0b13 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionInfo.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionInfo.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessGetResponse.java b/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessGetResponse.java index 9c1f34eb..e36ecb4f 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessGetResponse.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessGetResponse.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessRequest.java b/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessRequest.java index 11e800af..57271b3b 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessRequest.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessRequest.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessResponse.java b/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessResponse.java new file mode 100644 index 00000000..f4f7dfb9 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessResponse.java @@ -0,0 +1,334 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** TransactionProcessResponse */ +public class TransactionProcessResponse { + public static final String SERIALIZED_NAME_CORE_LIB_RESULT_CODE = "CoreLibResultCode"; + + @SerializedName(SERIALIZED_NAME_CORE_LIB_RESULT_CODE) + private Integer coreLibResultCode; + + public static final String SERIALIZED_NAME_CHIP_PAGE = "ChipPage"; + + @SerializedName(SERIALIZED_NAME_CHIP_PAGE) + private Integer chipPage; + + public static final String SERIALIZED_NAME_PROCESSING_FINISHED = "ProcessingFinished"; + + @SerializedName(SERIALIZED_NAME_PROCESSING_FINISHED) + private Integer processingFinished; + + public static final String SERIALIZED_NAME_CONTAINER_LIST = "ContainerList"; + + @SerializedName(SERIALIZED_NAME_CONTAINER_LIST) + private ContainerList containerList; + + public static final String SERIALIZED_NAME_TRANSACTION_INFO = "TransactionInfo"; + + @SerializedName(SERIALIZED_NAME_TRANSACTION_INFO) + private TransactionInfo transactionInfo; + + public static final String SERIALIZED_NAME_LOG = "log"; + + @SerializedName(SERIALIZED_NAME_LOG) + private String log; + + public static final String SERIALIZED_NAME_PASS_BACK_OBJECT = "passBackObject"; + + @SerializedName(SERIALIZED_NAME_PASS_BACK_OBJECT) + private Map passBackObject = null; + + public static final String SERIALIZED_NAME_MORE_PAGES_AVAILABLE = "morePagesAvailable"; + + @SerializedName(SERIALIZED_NAME_MORE_PAGES_AVAILABLE) + private Integer morePagesAvailable; + + public static final String SERIALIZED_NAME_ELAPSED_TIME = "elapsedTime"; + + @SerializedName(SERIALIZED_NAME_ELAPSED_TIME) + private Integer elapsedTime; + + public static final String SERIALIZED_NAME_METADATA = "metadata"; + + @SerializedName(SERIALIZED_NAME_METADATA) + private Map metadata = null; + + public TransactionProcessResponse withCoreLibResultCode(Integer coreLibResultCode) { + this.coreLibResultCode = coreLibResultCode; + return this; + } + + /** + * Get coreLibResultCode + * + * @return coreLibResultCode + */ + public Integer getCoreLibResultCode() { + return coreLibResultCode; + } + + public void setCoreLibResultCode(Integer coreLibResultCode) { + this.coreLibResultCode = coreLibResultCode; + } + + public TransactionProcessResponse withChipPage(Integer chipPage) { + this.chipPage = chipPage; + return this; + } + + /** + * Get chipPage + * + * @return chipPage + */ + public Integer getChipPage() { + return chipPage; + } + + public void setChipPage(Integer chipPage) { + this.chipPage = chipPage; + } + + public TransactionProcessResponse withProcessingFinished(Integer processingFinished) { + this.processingFinished = processingFinished; + return this; + } + + /** + * Get processingFinished + * + * @return processingFinished + */ + public Integer getProcessingFinished() { + return processingFinished; + } + + public void setProcessingFinished(Integer processingFinished) { + this.processingFinished = processingFinished; + } + + public TransactionProcessResponse withContainerList(ContainerList containerList) { + this.containerList = containerList; + return this; + } + + /** + * Get containerList + * + * @return containerList + */ + public ContainerList getContainerList() { + return containerList; + } + + public void setContainerList(ContainerList containerList) { + this.containerList = containerList; + } + + public TransactionProcessResponse withTransactionInfo(TransactionInfo transactionInfo) { + this.transactionInfo = transactionInfo; + return this; + } + + /** + * Get transactionInfo + * + * @return transactionInfo + */ + public TransactionInfo getTransactionInfo() { + return transactionInfo; + } + + public void setTransactionInfo(TransactionInfo transactionInfo) { + this.transactionInfo = transactionInfo; + } + + public TransactionProcessResponse withLog(String log) { + this.log = log; + return this; + } + + /** + * Base64 encoded transaction processing log + * + * @return log + */ + @javax.annotation.Nullable + public String getLog() { + return log; + } + + public void setLog(String log) { + this.log = log; + } + + public TransactionProcessResponse withPassBackObject(Map passBackObject) { + this.passBackObject = passBackObject; + return this; + } + + public TransactionProcessResponse putPassBackObjectItem(String key, Object passBackObjectItem) { + if (this.passBackObject == null) { + this.passBackObject = new HashMap(); + } + this.passBackObject.put(key, passBackObjectItem); + return this; + } + + /** + * Free-form object provided in request. See passBackObject property of ProcessRequest. + * + * @return passBackObject + */ + @javax.annotation.Nullable + public Map getPassBackObject() { + return passBackObject; + } + + public void setPassBackObject(Map passBackObject) { + this.passBackObject = passBackObject; + } + + public TransactionProcessResponse withMorePagesAvailable(Integer morePagesAvailable) { + this.morePagesAvailable = morePagesAvailable; + return this; + } + + /** + * Get morePagesAvailable + * + * @return morePagesAvailable + */ + public Integer getMorePagesAvailable() { + return morePagesAvailable; + } + + public void setMorePagesAvailable(Integer morePagesAvailable) { + this.morePagesAvailable = morePagesAvailable; + } + + public TransactionProcessResponse withElapsedTime(Integer elapsedTime) { + this.elapsedTime = elapsedTime; + return this; + } + + /** + * Time the document processing has taken, ms. + * + * @return elapsedTime + */ + public Integer getElapsedTime() { + return elapsedTime; + } + + public void setElapsedTime(Integer elapsedTime) { + this.elapsedTime = elapsedTime; + } + + public TransactionProcessResponse withMetadata(Map metadata) { + this.metadata = metadata; + return this; + } + + public TransactionProcessResponse putMetadataItem(String key, Object metadataItem) { + if (this.metadata == null) { + this.metadata = new HashMap(); + } + this.metadata.put(key, metadataItem); + return this; + } + + /** + * Get metadata + * + * @return metadata + */ + @javax.annotation.Nullable + public Map getMetadata() { + return metadata; + } + + public void setMetadata(Map metadata) { + this.metadata = metadata; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TransactionProcessResponse transactionProcessResponse = (TransactionProcessResponse) o; + return Objects.equals(this.coreLibResultCode, transactionProcessResponse.coreLibResultCode) + && Objects.equals(this.chipPage, transactionProcessResponse.chipPage) + && Objects.equals(this.processingFinished, transactionProcessResponse.processingFinished) + && Objects.equals(this.containerList, transactionProcessResponse.containerList) + && Objects.equals(this.transactionInfo, transactionProcessResponse.transactionInfo) + && Objects.equals(this.log, transactionProcessResponse.log) + && Objects.equals(this.passBackObject, transactionProcessResponse.passBackObject) + && Objects.equals(this.morePagesAvailable, transactionProcessResponse.morePagesAvailable) + && Objects.equals(this.elapsedTime, transactionProcessResponse.elapsedTime) + && Objects.equals(this.metadata, transactionProcessResponse.metadata); + } + + @Override + public int hashCode() { + return Objects.hash( + coreLibResultCode, + chipPage, + processingFinished, + containerList, + transactionInfo, + log, + passBackObject, + morePagesAvailable, + elapsedTime, + metadata); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TransactionProcessResponse {\n"); + sb.append(" coreLibResultCode: ").append(toIndentedString(coreLibResultCode)).append("\n"); + sb.append(" chipPage: ").append(toIndentedString(chipPage)).append("\n"); + sb.append(" processingFinished: ").append(toIndentedString(processingFinished)).append("\n"); + sb.append(" containerList: ").append(toIndentedString(containerList)).append("\n"); + sb.append(" transactionInfo: ").append(toIndentedString(transactionInfo)).append("\n"); + sb.append(" log: ").append(toIndentedString(log)).append("\n"); + sb.append(" passBackObject: ").append(toIndentedString(passBackObject)).append("\n"); + sb.append(" morePagesAvailable: ").append(toIndentedString(morePagesAvailable)).append("\n"); + sb.append(" elapsedTime: ").append(toIndentedString(elapsedTime)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessResult.java new file mode 100644 index 00000000..fb4b0b1b --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/TransactionProcessResult.java @@ -0,0 +1,158 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.util.Objects; +import java.util.UUID; + +/** TransactionProcessResult */ +public class TransactionProcessResult { + public static final String SERIALIZED_NAME_OUT_DATA = "OutData"; + + @SerializedName(SERIALIZED_NAME_OUT_DATA) + private OutData outData; + + public static final String SERIALIZED_NAME_IN_DATA = "InData"; + + @SerializedName(SERIALIZED_NAME_IN_DATA) + private InData inData; + + public static final String SERIALIZED_NAME_TAG = "tag"; + + @SerializedName(SERIALIZED_NAME_TAG) + private String tag; + + public static final String SERIALIZED_NAME_TRANSACTION_ID = "transactionId"; + + @SerializedName(SERIALIZED_NAME_TRANSACTION_ID) + private UUID transactionId; + + public TransactionProcessResult withOutData(OutData outData) { + this.outData = outData; + return this; + } + + /** + * Get outData + * + * @return outData + */ + @javax.annotation.Nullable + public OutData getOutData() { + return outData; + } + + public void setOutData(OutData outData) { + this.outData = outData; + } + + public TransactionProcessResult withInData(InData inData) { + this.inData = inData; + return this; + } + + /** + * Get inData + * + * @return inData + */ + @javax.annotation.Nullable + public InData getInData() { + return inData; + } + + public void setInData(InData inData) { + this.inData = inData; + } + + public TransactionProcessResult withTag(String tag) { + this.tag = tag; + return this; + } + + /** + * Get tag + * + * @return tag + */ + @javax.annotation.Nullable + public String getTag() { + return tag; + } + + public void setTag(String tag) { + this.tag = tag; + } + + public TransactionProcessResult withTransactionId(UUID transactionId) { + this.transactionId = transactionId; + return this; + } + + /** + * Get transactionId + * + * @return transactionId + */ + @javax.annotation.Nullable + public UUID getTransactionId() { + return transactionId; + } + + public void setTransactionId(UUID transactionId) { + this.transactionId = transactionId; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TransactionProcessResult transactionProcessResult = (TransactionProcessResult) o; + return Objects.equals(this.outData, transactionProcessResult.outData) + && Objects.equals(this.inData, transactionProcessResult.inData) + && Objects.equals(this.tag, transactionProcessResult.tag) + && Objects.equals(this.transactionId, transactionProcessResult.transactionId); + } + + @Override + public int hashCode() { + return Objects.hash(outData, inData, tag, transactionId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TransactionProcessResult {\n"); + sb.append(" outData: ").append(toIndentedString(outData)).append("\n"); + sb.append(" inData: ").append(toIndentedString(inData)).append("\n"); + sb.append(" tag: ").append(toIndentedString(tag)).append("\n"); + sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/TrfFtBytes.java b/client/src/main/generated/com/regula/documentreader/webclient/model/TrfFtBytes.java new file mode 100644 index 00000000..247e8630 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/TrfFtBytes.java @@ -0,0 +1,158 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.math.BigDecimal; +import java.util.Objects; + +/** + * Structure is used to store an array of binary information that is a part of one of the + * informational data groups + */ +public class TrfFtBytes { + public static final String SERIALIZED_NAME_TYPE = "Type"; + + @SerializedName(SERIALIZED_NAME_TYPE) + private AnyOfGraphicFieldTypeTextFieldType type = null; + + public static final String SERIALIZED_NAME_STATUS = "Status"; + + @SerializedName(SERIALIZED_NAME_STATUS) + private BigDecimal status; + + public static final String SERIALIZED_NAME_LENGTH = "Length"; + + @SerializedName(SERIALIZED_NAME_LENGTH) + private BigDecimal length; + + public static final String SERIALIZED_NAME_DATA = "Data"; + + @SerializedName(SERIALIZED_NAME_DATA) + private String data; + + public TrfFtBytes withType(AnyOfGraphicFieldTypeTextFieldType type) { + this.type = type; + return this; + } + + /** + * Logical type of the field + * + * @return type + */ + public AnyOfGraphicFieldTypeTextFieldType getType() { + return type; + } + + public void setType(AnyOfGraphicFieldTypeTextFieldType type) { + this.type = type; + } + + public TrfFtBytes withStatus(BigDecimal status) { + this.status = status; + return this; + } + + /** + * Result of logical analysis of compliance of the contents of the field with the requirements of + * the specification + * + * @return status + */ + public BigDecimal getStatus() { + return status; + } + + public void setStatus(BigDecimal status) { + this.status = status; + } + + public TrfFtBytes withLength(BigDecimal length) { + this.length = length; + return this; + } + + /** + * Length of Data array + * + * @return length + */ + public BigDecimal getLength() { + return length; + } + + public void setLength(BigDecimal length) { + this.length = length; + } + + public TrfFtBytes withData(String data) { + this.data = data; + return this; + } + + /** + * Binary data array. Base64 encoded. + * + * @return data + */ + public String getData() { + return data; + } + + public void setData(String data) { + this.data = data; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TrfFtBytes trfFtBytes = (TrfFtBytes) o; + return Objects.equals(this.type, trfFtBytes.type) + && Objects.equals(this.status, trfFtBytes.status) + && Objects.equals(this.length, trfFtBytes.length) + && Objects.equals(this.data, trfFtBytes.data); + } + + @Override + public int hashCode() { + return Objects.hash(type, status, length, data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TrfFtBytes {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" length: ").append(toIndentedString(length)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/TrfFtString.java b/client/src/main/generated/com/regula/documentreader/webclient/model/TrfFtString.java new file mode 100644 index 00000000..f7d81ac3 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/TrfFtString.java @@ -0,0 +1,157 @@ +/* + * 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: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.annotations.SerializedName; +import java.util.Objects; + +/** + * Structure is used to store information about the numeric field (4 bytes) that is a part of one of + * the informational data groups. + */ +public class TrfFtString { + public static final String SERIALIZED_NAME_TYPE = "Type"; + + @SerializedName(SERIALIZED_NAME_TYPE) + private AnyOfGraphicFieldTypeTextFieldType type = null; + + public static final String SERIALIZED_NAME_STATUS = "Status"; + + @SerializedName(SERIALIZED_NAME_STATUS) + private AnyOfParsingNotificationCodesParsingErrorCodes status = null; + + public static final String SERIALIZED_NAME_FORMAT = "Format"; + + @SerializedName(SERIALIZED_NAME_FORMAT) + private String format; + + public static final String SERIALIZED_NAME_DATA = "Data"; + + @SerializedName(SERIALIZED_NAME_DATA) + private String data; + + public TrfFtString withType(AnyOfGraphicFieldTypeTextFieldType type) { + this.type = type; + return this; + } + + /** + * Get type + * + * @return type + */ + public AnyOfGraphicFieldTypeTextFieldType getType() { + return type; + } + + public void setType(AnyOfGraphicFieldTypeTextFieldType type) { + this.type = type; + } + + public TrfFtString withStatus(AnyOfParsingNotificationCodesParsingErrorCodes status) { + this.status = status; + return this; + } + + /** + * Result of logical analysis of compliance of the contents of the field with the requirements of + * the specification + * + * @return status + */ + public AnyOfParsingNotificationCodesParsingErrorCodes getStatus() { + return status; + } + + public void setStatus(AnyOfParsingNotificationCodesParsingErrorCodes status) { + this.status = status; + } + + public TrfFtString withFormat(String format) { + this.format = format; + return this; + } + + /** + * Mask of format of text information (for example, «YYMMDD» for date of birth) + * + * @return format + */ + public String getFormat() { + return format; + } + + public void setFormat(String format) { + this.format = format; + } + + public TrfFtString withData(String data) { + this.data = data; + return this; + } + + /** + * Numeric value. + * + * @return data + */ + public String getData() { + return data; + } + + public void setData(String data) { + this.data = data; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TrfFtString trfFtString = (TrfFtString) o; + return Objects.equals(this.type, trfFtString.type) + && Objects.equals(this.status, trfFtString.status) + && Objects.equals(this.format, trfFtString.format) + && Objects.equals(this.data, trfFtString.data); + } + + @Override + public int hashCode() { + return Objects.hash(type, status, format, data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TrfFtString {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" format: ").append(toIndentedString(format)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/VerificationResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/VerificationResult.java index e97ec171..d591ccd9 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/VerificationResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/VerificationResult.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/VerifiedFieldMap.java b/client/src/main/generated/com/regula/documentreader/webclient/model/VerifiedFieldMap.java index 45ae952b..3a96bc8a 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/VerifiedFieldMap.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/VerifiedFieldMap.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ public class VerifiedFieldMap { public static final String SERIALIZED_NAME_MATRIX = "Matrix"; @SerializedName(SERIALIZED_NAME_MATRIX) - private List matrix = null; + private List matrix = new ArrayList(); public VerifiedFieldMap withWFieldType(Integer wFieldType) { this.wFieldType = wFieldType; @@ -64,7 +64,6 @@ public VerifiedFieldMap withWFieldType(Integer wFieldType) { * * @return wFieldType */ - @javax.annotation.Nullable public Integer getwFieldType() { return wFieldType; } @@ -83,7 +82,6 @@ public VerifiedFieldMap withWLCID(Integer wLCID) { * * @return wLCID */ - @javax.annotation.Nullable public Integer getwLCID() { return wLCID; } @@ -174,9 +172,6 @@ public VerifiedFieldMap withMatrix(List matrix) { } public VerifiedFieldMap addMatrixItem(Integer matrixItem) { - if (this.matrix == null) { - this.matrix = new ArrayList(); - } this.matrix.add(matrixItem); return this; } @@ -197,7 +192,6 @@ public VerifiedFieldMap addMatrixItem(Integer matrixItem) { * * @return matrix */ - @javax.annotation.Nullable public List getMatrix() { return matrix; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/Visibility.java b/client/src/main/generated/com/regula/documentreader/webclient/model/Visibility.java index 740dc4cd..c642370c 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/Visibility.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/Visibility.java @@ -1,8 +1,8 @@ /* * 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 + * 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: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/client/src/main/java/com/regula/documentreader/webclient/RawAuthenticityCheckResultItem.java b/client/src/main/java/com/regula/documentreader/webclient/RawAuthenticityCheckResultItem.java index e8b9b6ca..953dd99b 100644 --- a/client/src/main/java/com/regula/documentreader/webclient/RawAuthenticityCheckResultItem.java +++ b/client/src/main/java/com/regula/documentreader/webclient/RawAuthenticityCheckResultItem.java @@ -5,7 +5,6 @@ import com.google.gson.annotations.JsonAdapter; import com.regula.documentreader.webclient.model.AuthenticityCheckResultItem; import java.util.Objects; - import javax.annotation.Nullable; @JsonAdapter(RawAuthenticityCheckResultItemAdapter.class) @@ -96,7 +95,7 @@ public void setType(Integer type) { @Override public RawAuthenticityCheckResultItem withElementResult(Integer elementResult) { - AuthenticityCheckResultItem item = super.withElementResult(elementResult); + AuthenticityCheckResultItem item = super.withElementResult(elementResult); return (RawAuthenticityCheckResultItem) item; } @@ -113,7 +112,7 @@ public void setElementResult(Integer elementResult) { @Override public RawAuthenticityCheckResultItem withElementDiagnose(Integer elementDiagnose) { - AuthenticityCheckResultItem item = super.withElementDiagnose(elementDiagnose); + AuthenticityCheckResultItem item = super.withElementDiagnose(elementDiagnose); return (RawAuthenticityCheckResultItem) item; } @@ -130,7 +129,7 @@ public void setElementDiagnose(Integer elementDiagnose) { @Override public RawAuthenticityCheckResultItem withPercentValue(Integer percentValue) { - AuthenticityCheckResultItem item = super.withPercentValue(percentValue); + AuthenticityCheckResultItem item = super.withPercentValue(percentValue); return (RawAuthenticityCheckResultItem) item; } diff --git a/client/src/main/java/com/regula/documentreader/webclient/RawResultItem.java b/client/src/main/java/com/regula/documentreader/webclient/RawResultItem.java index eaf2cba8..3f3b9039 100755 --- a/client/src/main/java/com/regula/documentreader/webclient/RawResultItem.java +++ b/client/src/main/java/com/regula/documentreader/webclient/RawResultItem.java @@ -5,7 +5,6 @@ import com.google.gson.annotations.JsonAdapter; import com.regula.documentreader.webclient.model.ResultItem; import java.util.Objects; - import javax.annotation.Nullable; @JsonAdapter(RawResultItemAdapter.class) diff --git a/client/src/main/java/com/regula/documentreader/webclient/model/ext/ContainerListRequest.java b/client/src/main/java/com/regula/documentreader/webclient/model/ext/ContainerListRequest.java index b77a729f..caa590f1 100644 --- a/client/src/main/java/com/regula/documentreader/webclient/model/ext/ContainerListRequest.java +++ b/client/src/main/java/com/regula/documentreader/webclient/model/ext/ContainerListRequest.java @@ -3,7 +3,6 @@ import com.regula.documentreader.webclient.model.ContainerList; import com.regula.documentreader.webclient.model.ResultItem; import java.util.List; - import javax.annotation.Nullable; public class ContainerListRequest extends ContainerList { diff --git a/client/src/main/java/com/regula/documentreader/webclient/model/ext/Images.java b/client/src/main/java/com/regula/documentreader/webclient/model/ext/Images.java index fc830afe..4bccfc70 100755 --- a/client/src/main/java/com/regula/documentreader/webclient/model/ext/Images.java +++ b/client/src/main/java/com/regula/documentreader/webclient/model/ext/Images.java @@ -1,7 +1,6 @@ package com.regula.documentreader.webclient.model.ext; import com.regula.documentreader.webclient.model.ImagesAvailableSource; - import java.util.ArrayList; import java.util.List; import javax.annotation.Nullable; @@ -10,13 +9,15 @@ public class Images extends com.regula.documentreader.webclient.model.Images { @Override public Images withAvailableSourceList(List availableSourceList) { - com.regula.documentreader.webclient.model.Images images = super.withAvailableSourceList(availableSourceList); + com.regula.documentreader.webclient.model.Images images = + super.withAvailableSourceList(availableSourceList); return (Images) images; } @Override public Images addAvailableSourceListItem(ImagesAvailableSource availableSourceListItem) { - com.regula.documentreader.webclient.model.Images images = super.addAvailableSourceListItem(availableSourceListItem); + com.regula.documentreader.webclient.model.Images images = + super.addAvailableSourceListItem(availableSourceListItem); return (Images) images; } diff --git a/client/src/main/java/com/regula/documentreader/webclient/model/ext/ImagesField.java b/client/src/main/java/com/regula/documentreader/webclient/model/ext/ImagesField.java index 2d9d6be3..cae39744 100755 --- a/client/src/main/java/com/regula/documentreader/webclient/model/ext/ImagesField.java +++ b/client/src/main/java/com/regula/documentreader/webclient/model/ext/ImagesField.java @@ -48,7 +48,8 @@ public ImagesField withValueList(List valueList) { @Override public ImagesField addValueListItem(ImagesFieldValue valueListItem) { - com.regula.documentreader.webclient.model.ImagesField field = super.addValueListItem(valueListItem); + com.regula.documentreader.webclient.model.ImagesField field = + super.addValueListItem(valueListItem); return (ImagesField) field; } diff --git a/client/src/main/java/com/regula/documentreader/webclient/model/ext/ProcessRequestImage.java b/client/src/main/java/com/regula/documentreader/webclient/model/ext/ProcessRequestImage.java index 5ae1ead7..7f0855e1 100755 --- a/client/src/main/java/com/regula/documentreader/webclient/model/ext/ProcessRequestImage.java +++ b/client/src/main/java/com/regula/documentreader/webclient/model/ext/ProcessRequestImage.java @@ -3,7 +3,6 @@ import com.regula.documentreader.webclient.ApiException; import com.regula.documentreader.webclient.Base64; import com.regula.documentreader.webclient.model.ImageData; - import javax.annotation.Nullable; public class ProcessRequestImage @@ -32,7 +31,8 @@ public ProcessRequestImage(byte[] image, Integer light, Integer pageIdx) { @Override public ProcessRequestImage withImageData(ImageData imageData) { - com.regula.documentreader.webclient.model.ProcessRequestImage image = super.withImageData(imageData); + com.regula.documentreader.webclient.model.ProcessRequestImage image = + super.withImageData(imageData); return (ProcessRequestImage) image; } @@ -65,7 +65,8 @@ public void setLight(Integer light) { @Override public ProcessRequestImage withPageIdx(Integer pageIdx) { - com.regula.documentreader.webclient.model.ProcessRequestImage image = super.withPageIdx(pageIdx); + com.regula.documentreader.webclient.model.ProcessRequestImage image = + super.withPageIdx(pageIdx); return (ProcessRequestImage) image; } diff --git a/client/src/main/java/com/regula/documentreader/webclient/model/ext/RecognitionParams.java b/client/src/main/java/com/regula/documentreader/webclient/model/ext/RecognitionParams.java index 746c5754..f3556c61 100755 --- a/client/src/main/java/com/regula/documentreader/webclient/model/ext/RecognitionParams.java +++ b/client/src/main/java/com/regula/documentreader/webclient/model/ext/RecognitionParams.java @@ -7,11 +7,9 @@ import com.regula.documentreader.webclient.model.PerDocumentConfig; import com.regula.documentreader.webclient.model.ProcessParams; import com.regula.documentreader.webclient.model.ProcessParamsRfid; - import java.util.Arrays; import java.util.List; import java.util.Map; - import javax.annotation.Nullable; public class RecognitionParams extends ProcessParams { diff --git a/client/src/main/java/com/regula/documentreader/webclient/model/ext/RecognitionRequest.java b/client/src/main/java/com/regula/documentreader/webclient/model/ext/RecognitionRequest.java index 912622f9..67a90aff 100755 --- a/client/src/main/java/com/regula/documentreader/webclient/model/ext/RecognitionRequest.java +++ b/client/src/main/java/com/regula/documentreader/webclient/model/ext/RecognitionRequest.java @@ -8,7 +8,6 @@ import java.util.Collections; import java.util.List; import java.util.Map; - import javax.annotation.Nullable; public class RecognitionRequest extends ProcessRequest { @@ -55,12 +54,14 @@ public void setProcessParam(ProcessParams processParam) { } @Override - public ProcessRequest withList(List list) { + public ProcessRequest withList( + List list) { return super.withList(list); } @Override - public ProcessRequest addListItem(com.regula.documentreader.webclient.model.ProcessRequestImage listItem) { + public ProcessRequest addListItem( + com.regula.documentreader.webclient.model.ProcessRequestImage listItem) { return super.addListItem(listItem); } diff --git a/client/src/main/java/com/regula/documentreader/webclient/model/ext/Text.java b/client/src/main/java/com/regula/documentreader/webclient/model/ext/Text.java index 5c7dd7e7..dfb731a6 100755 --- a/client/src/main/java/com/regula/documentreader/webclient/model/ext/Text.java +++ b/client/src/main/java/com/regula/documentreader/webclient/model/ext/Text.java @@ -2,7 +2,6 @@ import com.regula.documentreader.webclient.model.LCID; import com.regula.documentreader.webclient.model.TextAvailableSource; - import java.util.List; import java.util.Objects; import javax.annotation.Nullable; @@ -119,7 +118,8 @@ public void setValidityStatus(Integer validityStatus) { @Override public Text withComparisonStatus(Integer comparisonStatus) { - com.regula.documentreader.webclient.model.Text text = super.withComparisonStatus(comparisonStatus); + com.regula.documentreader.webclient.model.Text text = + super.withComparisonStatus(comparisonStatus); return (Text) text; } @@ -157,13 +157,15 @@ public void setFieldList(List fieldList) { @Override public Text withAvailableSourceList(List availableSourceList) { - com.regula.documentreader.webclient.model.Text text = super.withAvailableSourceList(availableSourceList); + com.regula.documentreader.webclient.model.Text text = + super.withAvailableSourceList(availableSourceList); return (Text) text; } @Override public Text addAvailableSourceListItem(TextAvailableSource availableSourceListItem) { - com.regula.documentreader.webclient.model.Text text = super.addAvailableSourceListItem(availableSourceListItem); + com.regula.documentreader.webclient.model.Text text = + super.addAvailableSourceListItem(availableSourceListItem); return (Text) text; } diff --git a/client/src/main/java/com/regula/documentreader/webclient/model/ext/TextField.java b/client/src/main/java/com/regula/documentreader/webclient/model/ext/TextField.java index 739c8e31..b1cd8ff1 100755 --- a/client/src/main/java/com/regula/documentreader/webclient/model/ext/TextField.java +++ b/client/src/main/java/com/regula/documentreader/webclient/model/ext/TextField.java @@ -4,9 +4,7 @@ import com.regula.documentreader.webclient.model.CrossSourceValueComparison; import com.regula.documentreader.webclient.model.SourceValidity; import com.regula.documentreader.webclient.model.TextFieldValue; - import java.util.List; - import javax.annotation.Nullable; public class TextField extends com.regula.documentreader.webclient.model.TextField { @@ -78,7 +76,8 @@ public void setStatus(Integer status) { @Override public TextField withValidityStatus(Integer validityStatus) { - com.regula.documentreader.webclient.model.TextField textField = super.withValidityStatus(validityStatus); + com.regula.documentreader.webclient.model.TextField textField = + super.withValidityStatus(validityStatus); return (TextField) textField; } @@ -93,7 +92,8 @@ public void setValidityStatus(Integer validityStatus) { } @Override - public com.regula.documentreader.webclient.model.TextField withComparisonStatus(Integer comparisonStatus) { + public com.regula.documentreader.webclient.model.TextField withComparisonStatus( + Integer comparisonStatus) { return super.withComparisonStatus(comparisonStatus); } @@ -131,7 +131,8 @@ public TextField withValueList(List valueList) { @Override public TextField addValueListItem(TextFieldValue valueListItem) { - com.regula.documentreader.webclient.model.TextField textField = super.addValueListItem(valueListItem); + com.regula.documentreader.webclient.model.TextField textField = + super.addValueListItem(valueListItem); return (TextField) textField; } @@ -147,13 +148,15 @@ public void setValueList(List valueList) { @Override public TextField withValidityList(List validityList) { - com.regula.documentreader.webclient.model.TextField textField = super.withValidityList(validityList); + com.regula.documentreader.webclient.model.TextField textField = + super.withValidityList(validityList); return (TextField) textField; } @Override public TextField addValidityListItem(SourceValidity validityListItem) { - com.regula.documentreader.webclient.model.TextField textField = super.addValidityListItem(validityListItem); + com.regula.documentreader.webclient.model.TextField textField = + super.addValidityListItem(validityListItem); return (TextField) textField; } @@ -169,13 +172,16 @@ public void setValidityList(List validityList) { @Override public TextField withComparisonList(List comparisonList) { - com.regula.documentreader.webclient.model.TextField textField = super.withComparisonList(comparisonList); + com.regula.documentreader.webclient.model.TextField textField = + super.withComparisonList(comparisonList); return (TextField) textField; } @Override - public com.regula.documentreader.webclient.model.TextField addComparisonListItem(CrossSourceValueComparison comparisonListItem) { - com.regula.documentreader.webclient.model.TextField textField = super.addComparisonListItem(comparisonListItem); + public com.regula.documentreader.webclient.model.TextField addComparisonListItem( + CrossSourceValueComparison comparisonListItem) { + com.regula.documentreader.webclient.model.TextField textField = + super.addComparisonListItem(comparisonListItem); return textField; } diff --git a/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/Authenticity.java b/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/Authenticity.java index 60887e98..3d41b634 100644 --- a/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/Authenticity.java +++ b/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/Authenticity.java @@ -3,9 +3,7 @@ import com.regula.documentreader.webclient.model.AuthenticityCheckList; import com.regula.documentreader.webclient.model.AuthenticityCheckResult; import com.regula.documentreader.webclient.model.AuthenticityResultType; - import java.util.List; - import javax.annotation.Nullable; public class Authenticity extends com.regula.documentreader.webclient.model.AuthenticityCheckList { diff --git a/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/FiberChecks.java b/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/FiberChecks.java index 2a130064..910de147 100644 --- a/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/FiberChecks.java +++ b/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/FiberChecks.java @@ -2,7 +2,6 @@ import com.regula.documentreader.webclient.model.AuthenticityCheckResult; import com.regula.documentreader.webclient.model.FiberResult; - import java.util.List; public class FiberChecks extends AuthenticityResult { diff --git a/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/IdentChecks.java b/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/IdentChecks.java index 4a1405fe..86bda48b 100644 --- a/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/IdentChecks.java +++ b/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/IdentChecks.java @@ -2,9 +2,7 @@ import com.regula.documentreader.webclient.model.AuthenticityCheckResult; import com.regula.documentreader.webclient.model.IdentResult; - import java.util.List; - import javax.annotation.Nullable; public class IdentChecks extends AuthenticityResult { diff --git a/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/ImageIdentChecks.java b/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/ImageIdentChecks.java index c7c239ac..42b95934 100644 --- a/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/ImageIdentChecks.java +++ b/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/ImageIdentChecks.java @@ -2,7 +2,6 @@ import com.regula.documentreader.webclient.model.AuthenticityCheckResult; import com.regula.documentreader.webclient.model.PhotoIdentResult; - import java.util.List; public class ImageIdentChecks extends AuthenticityResult { diff --git a/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/OCRSecurityTextChecks.java b/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/OCRSecurityTextChecks.java index b8a40b39..43637a40 100644 --- a/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/OCRSecurityTextChecks.java +++ b/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/OCRSecurityTextChecks.java @@ -2,7 +2,6 @@ import com.regula.documentreader.webclient.model.AuthenticityCheckResult; import com.regula.documentreader.webclient.model.OCRSecurityTextResult; - import java.util.List; public class OCRSecurityTextChecks extends AuthenticityResult { diff --git a/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/SecurityFeatureChecks.java b/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/SecurityFeatureChecks.java index 35d88464..4c1b923a 100644 --- a/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/SecurityFeatureChecks.java +++ b/client/src/main/java/com/regula/documentreader/webclient/model/ext/authenticity/SecurityFeatureChecks.java @@ -2,9 +2,7 @@ import com.regula.documentreader.webclient.model.AuthenticityCheckResult; import com.regula.documentreader.webclient.model.SecurityFeatureResult; - import java.util.List; - import javax.annotation.Nullable; public class SecurityFeatureChecks extends AuthenticityResult {