From ab9c8409ab8ed828fd59cf7081a4751a6fb4aea2 Mon Sep 17 00:00:00 2001 From: dvacca-onfido <134616519+dvacca-onfido@users.noreply.github.com> Date: Wed, 23 Oct 2024 08:23:57 +0000 Subject: [PATCH 1/2] Upgrade after onfido-openapi-spec change 2998dd3 --- .openapi-generator/VERSION | 2 +- .release.json | 8 +- README.md | 10 +- build.gradle | 9 +- build.sbt | 7 +- pom.xml | 20 +- src/main/java/com/onfido/ApiClient.java | 49 +++- src/main/java/com/onfido/ApiException.java | 2 +- src/main/java/com/onfido/Configuration.java | 4 +- src/main/java/com/onfido/JSON.java | 19 +- src/main/java/com/onfido/Pair.java | 2 +- .../java/com/onfido/ServerConfiguration.java | 15 +- src/main/java/com/onfido/ServerVariable.java | 15 +- src/main/java/com/onfido/StringUtil.java | 2 +- src/main/java/com/onfido/auth/ApiKeyAuth.java | 2 +- .../java/com/onfido/auth/HttpBasicAuth.java | 2 - .../java/com/onfido/auth/HttpBearerAuth.java | 2 +- .../onfido/model/AbstractOpenApiSchema.java | 2 +- src/main/java/com/onfido/model/Address.java | 87 ++++--- .../java/com/onfido/model/AddressBuilder.java | 87 ++++--- .../java/com/onfido/model/AddressShared.java | 87 ++++--- .../java/com/onfido/model/AddressesList.java | 43 ++-- src/main/java/com/onfido/model/Applicant.java | 91 ++++--- .../com/onfido/model/ApplicantBuilder.java | 75 +++--- .../onfido/model/ApplicantConsentBuilder.java | 47 ++-- .../com/onfido/model/ApplicantCreate.java | 47 ++-- .../com/onfido/model/ApplicantRequest.java | 51 ++-- .../com/onfido/model/ApplicantResponse.java | 75 +++--- .../com/onfido/model/ApplicantShared.java | 55 ++-- .../com/onfido/model/ApplicantUpdate.java | 47 ++-- .../com/onfido/model/ApplicantUpdater.java | 75 +++--- .../java/com/onfido/model/ApplicantsList.java | 43 ++-- src/main/java/com/onfido/model/Check.java | 107 ++++---- .../java/com/onfido/model/CheckBuilder.java | 91 ++++--- .../java/com/onfido/model/CheckRequest.java | 71 +++-- .../java/com/onfido/model/CheckResponse.java | 83 +++--- .../java/com/onfido/model/CheckShared.java | 63 +++-- .../java/com/onfido/model/ChecksList.java | 43 ++-- .../com/onfido/model/CompleteTaskBuilder.java | 43 ++-- .../onfido/model/CompleteTaskDataBuilder.java | 11 +- .../model/DeviceIntelligenceBreakdown.java | 47 ++-- .../DeviceIntelligenceBreakdownBreakdown.java | 43 ++-- ...eIntelligenceBreakdownBreakdownDevice.java | 43 ++-- ...enceBreakdownBreakdownDeviceBreakdown.java | 51 ++-- ...DeviceIntelligenceBreakdownProperties.java | 51 ++-- ...IntelligenceBreakdownPropertiesDevice.java | 95 ++++--- ...ligenceBreakdownPropertiesGeolocation.java | 51 ++-- ...viceIntelligenceBreakdownPropertiesIp.java | 43 ++-- .../model/DeviceIntelligenceReport.java | 79 +++--- src/main/java/com/onfido/model/Document.java | 83 +++--- .../com/onfido/model/DocumentBreakdown.java | 75 +++--- .../model/DocumentBreakdownAgeValidation.java | 47 ++-- ...cumentBreakdownAgeValidationBreakdown.java | 43 ++-- .../DocumentBreakdownCompromisedDocument.java | 47 ++-- ...BreakdownCompromisedDocumentBreakdown.java | 47 ++-- .../DocumentBreakdownDataComparison.java | 47 ++-- ...umentBreakdownDataComparisonBreakdown.java | 71 +++-- ...DataComparisonBreakdownIssuingCountry.java | 47 ++-- .../DocumentBreakdownDataConsistency.java | 47 ++-- ...mentBreakdownDataConsistencyBreakdown.java | 79 +++--- .../DocumentBreakdownDataValidation.java | 47 ++-- ...umentBreakdownDataValidationBreakdown.java | 67 +++-- ...ValidationBreakdownDocumentExpiration.java | 47 ++-- ...downDataValidationBreakdownExpiryDate.java | 47 ++-- .../DocumentBreakdownImageIntegrity.java | 47 ++-- ...umentBreakdownImageIntegrityBreakdown.java | 55 ++-- ...nImageIntegrityBreakdownColourPicture.java | 47 ++-- ...ityBreakdownConclusiveDocumentQuality.java | 47 ++-- ...wnImageIntegrityBreakdownImageQuality.java | 47 ++-- ...geIntegrityBreakdownSupportedDocument.java | 47 ++-- .../DocumentBreakdownIssuingAuthority.java | 47 ++-- ...entBreakdownIssuingAuthorityBreakdown.java | 47 ++-- ...orityBreakdownNfcActiveAuthentication.java | 47 ++-- ...rityBreakdownNfcPassiveAuthentication.java | 47 ++-- .../model/DocumentBreakdownPoliceRecord.java | 43 ++-- .../DocumentBreakdownVisualAuthenticity.java | 47 ++-- ...tBreakdownVisualAuthenticityBreakdown.java | 71 +++-- ...AuthenticityBreakdownDigitalTampering.java | 47 ++-- ...ualAuthenticityBreakdownFaceDetection.java | 47 ++-- ...kdownVisualAuthenticityBreakdownFonts.java | 47 ++-- ...icityBreakdownOriginalDocumentPresent.java | 47 ++-- ...kdownVisualAuthenticityBreakdownOther.java | 47 ++-- ...enticityBreakdownPictureFaceIntegrity.java | 47 ++-- ...AuthenticityBreakdownSecurityFeatures.java | 47 ++-- ...wnVisualAuthenticityBreakdownTemplate.java | 47 ++-- .../com/onfido/model/DocumentCDQReasons.java | 71 +++-- .../com/onfido/model/DocumentIQReasons.java | 79 +++--- .../com/onfido/model/DocumentODPReasons.java | 55 ++-- .../com/onfido/model/DocumentProperties.java | 219 ++++++++-------- .../model/DocumentPropertiesAddressLines.java | 63 +++-- .../model/DocumentPropertiesBarcodeInner.java | 111 ++++---- ...umentPropertiesDocumentClassification.java | 51 ++-- ...ocumentPropertiesDocumentNumbersInner.java | 47 ++-- ...ntPropertiesDrivingLicenceInformation.java | 55 ++-- .../DocumentPropertiesExtractedData.java | 123 +++++---- .../onfido/model/DocumentPropertiesNfc.java | 91 ++++--- .../java/com/onfido/model/DocumentReport.java | 83 +++--- .../com/onfido/model/DocumentResponse.java | 63 +++-- .../java/com/onfido/model/DocumentShared.java | 59 +++-- .../com/onfido/model/DocumentVideoReport.java | 83 +++--- ...mentVideoWithAddressInformationReport.java | 83 +++--- .../DocumentWithAddressInformationReport.java | 83 +++--- .../DocumentWithDriverVerificationReport.java | 83 +++--- ...iverVerificationReportAllOfProperties.java | 243 +++++++++--------- ...tAllOfPropertiesAllOfPassengerVehicle.java | 51 ++-- ...opertiesAllOfVehicleClassDetailsInner.java | 55 ++-- ...ntWithDrivingLicenceInformationReport.java | 83 +++--- .../java/com/onfido/model/DocumentsList.java | 43 ++-- src/main/java/com/onfido/model/Error.java | 43 ++-- src/main/java/com/onfido/model/Error1.java | 47 ++-- .../com/onfido/model/ErrorProperties.java | 51 ++-- .../com/onfido/model/ErrorProperties1.java | 47 ++-- .../java/com/onfido/model/ExtractRequest.java | 43 ++-- .../java/com/onfido/model/Extraction.java | 51 ++-- .../ExtractionDocumentClassification.java | 59 +++-- .../onfido/model/ExtractionExtractedData.java | 147 ++++++----- .../FacialSimilarityMotionBreakdown.java | 51 ++-- ...milarityMotionBreakdownFaceComparison.java | 47 ++-- ...milarityMotionBreakdownImageIntegrity.java | 47 ++-- ...otionBreakdownImageIntegrityBreakdown.java | 47 ++-- ...wnImageIntegrityBreakdownFaceDetected.java | 47 ++-- ...mageIntegrityBreakdownSourceIntegrity.java | 47 ++-- ...rityMotionBreakdownVisualAuthenticity.java | 47 ++-- ...nBreakdownVisualAuthenticityBreakdown.java | 47 ++-- ...uthenticityBreakdownSpoofingDetection.java | 47 ++-- .../FacialSimilarityMotionProperties.java | 43 ++-- .../model/FacialSimilarityMotionReport.java | 83 +++--- .../model/FacialSimilarityPhotoBreakdown.java | 51 ++-- ...imilarityPhotoBreakdownFaceComparison.java | 47 ++-- ...PhotoBreakdownFaceComparisonBreakdown.java | 43 ++-- ...kdownFaceComparisonBreakdownFaceMatch.java | 47 ++-- ...omparisonBreakdownFaceMatchProperties.java | 47 ++-- ...imilarityPhotoBreakdownImageIntegrity.java | 47 ++-- ...PhotoBreakdownImageIntegrityBreakdown.java | 47 ++-- ...wnImageIntegrityBreakdownFaceDetected.java | 47 ++-- ...mageIntegrityBreakdownSourceIntegrity.java | 47 ++-- ...arityPhotoBreakdownVisualAuthenticity.java | 47 ++-- ...oBreakdownVisualAuthenticityBreakdown.java | 43 ++-- ...uthenticityBreakdownSpoofingDetection.java | 47 ++-- ...yBreakdownSpoofingDetectionProperties.java | 43 ++-- ...cialSimilarityPhotoFullyAutoBreakdown.java | 51 ++-- ...PhotoFullyAutoBreakdownImageIntegrity.java | 47 ++-- ...yAutoBreakdownImageIntegrityBreakdown.java | 47 ++-- ...mageIntegrityBreakdownSourceIntegrity.java | 47 ++-- ...ialSimilarityPhotoFullyAutoProperties.java | 43 ++-- .../FacialSimilarityPhotoFullyAutoReport.java | 83 +++--- .../FacialSimilarityPhotoProperties.java | 43 ++-- .../model/FacialSimilarityPhotoReport.java | 83 +++--- .../model/FacialSimilarityVideoBreakdown.java | 51 ++-- ...imilarityVideoBreakdownFaceComparison.java | 47 ++-- ...imilarityVideoBreakdownImageIntegrity.java | 47 ++-- ...VideoBreakdownImageIntegrityBreakdown.java | 47 ++-- ...wnImageIntegrityBreakdownFaceDetected.java | 47 ++-- ...mageIntegrityBreakdownSourceIntegrity.java | 47 ++-- ...arityVideoBreakdownVisualAuthenticity.java | 47 ++-- ...oBreakdownVisualAuthenticityBreakdown.java | 47 ++-- ...AuthenticityBreakdownLivenessDetected.java | 47 ++-- ...uthenticityBreakdownSpoofingDetection.java | 47 ++-- .../FacialSimilarityVideoProperties.java | 43 ++-- .../model/FacialSimilarityVideoReport.java | 83 +++--- src/main/java/com/onfido/model/IdNumber.java | 51 ++-- src/main/java/com/onfido/model/IdPhoto.java | 67 +++-- .../com/onfido/model/IdPhotoResponse.java | 67 +++-- .../java/com/onfido/model/IdPhotosList.java | 43 ++-- .../model/IdentityEnhancedBreakdown.java | 55 ++-- .../IdentityEnhancedBreakdownAddress.java | 47 ++-- ...tityEnhancedBreakdownAddressBreakdown.java | 51 ++-- ...eakdownAddressBreakdownCreditAgencies.java | 47 ++-- ...ressBreakdownCreditAgenciesProperties.java | 43 ++-- ...downAddressBreakdownTelephoneDatabase.java | 47 ++-- ...eakdownAddressBreakdownVotingRegister.java | 47 ++-- .../IdentityEnhancedBreakdownDateOfBirth.java | 47 ++-- ...EnhancedBreakdownDateOfBirthBreakdown.java | 47 ++-- ...ownDateOfBirthBreakdownCreditAgencies.java | 47 ++-- ...ownDateOfBirthBreakdownVotingRegister.java | 47 ++-- .../IdentityEnhancedBreakdownMortality.java | 43 ++-- .../IdentityEnhancedBreakdownSources.java | 47 ++-- ...tityEnhancedBreakdownSourcesBreakdown.java | 43 ++-- ...BreakdownSourcesBreakdownTotalSources.java | 47 ++-- ...ourcesBreakdownTotalSourcesProperties.java | 43 ++-- .../model/IdentityEnhancedProperties.java | 47 ++-- ...hancedPropertiesMatchedAddressesInner.java | 47 ++-- .../onfido/model/IdentityEnhancedReport.java | 83 +++--- .../java/com/onfido/model/IndiaPanReport.java | 83 +++--- .../model/IndiaPanReportAllOfBreakdown.java | 43 ++-- .../IndiaPanReportAllOfBreakdownDevice.java | 43 ++-- ...anReportAllOfBreakdownDeviceBreakdown.java | 47 ++-- ...AllOfBreakdownDeviceBreakdownPanValid.java | 43 ++-- .../model/IndiaPanReportAllOfProperties.java | 43 ++-- .../IndiaPanReportAllOfPropertiesDevice.java | 47 ++-- .../com/onfido/model/KnownFacesBreakdown.java | 47 ++-- .../KnownFacesBreakdownImageIntegrity.java | 43 ++-- ...nownFacesBreakdownPreviouslySeenFaces.java | 43 ++-- .../onfido/model/KnownFacesProperties.java | 43 ++-- .../KnownFacesPropertiesMatchesInner.java | 59 +++-- .../com/onfido/model/KnownFacesReport.java | 83 +++--- src/main/java/com/onfido/model/LivePhoto.java | 67 +++-- .../com/onfido/model/LivePhotoResponse.java | 67 +++-- .../java/com/onfido/model/LivePhotosList.java | 43 ++-- src/main/java/com/onfido/model/LiveVideo.java | 71 +++-- .../java/com/onfido/model/LiveVideosList.java | 43 ++-- src/main/java/com/onfido/model/Location.java | 47 ++-- .../com/onfido/model/LocationBuilder.java | 47 ++-- .../java/com/onfido/model/LocationShared.java | 47 ++-- .../java/com/onfido/model/MotionCapture.java | 67 +++-- .../com/onfido/model/MotionCapturesList.java | 43 ++-- .../com/onfido/model/PhotoAutoReasons.java | 59 +++-- .../java/com/onfido/model/PhotoReasons.java | 59 +++-- .../onfido/model/ProofOfAddressBreakdown.java | 51 ++-- ...ProofOfAddressBreakdownDataComparison.java | 47 ++-- ...dressBreakdownDataComparisonBreakdown.java | 51 ++-- ...ddressBreakdownDocumentClassification.java | 47 ++-- ...akdownDocumentClassificationBreakdown.java | 43 ++-- ...ProofOfAddressBreakdownImageIntegrity.java | 47 ++-- ...dressBreakdownImageIntegrityBreakdown.java | 43 ++-- .../model/ProofOfAddressProperties.java | 71 +++-- .../onfido/model/ProofOfAddressReport.java | 83 +++--- .../com/onfido/model/RepeatAttemptsList.java | 59 +++-- ...RepeatAttemptsListRepeatAttemptsInner.java | 67 +++-- src/main/java/com/onfido/model/Report.java | 104 +------- .../java/com/onfido/model/ReportDocument.java | 43 ++-- .../java/com/onfido/model/ReportShared.java | 75 +++--- .../java/com/onfido/model/ReportsList.java | 43 ++-- .../com/onfido/model/ResultsFeedback.java | 55 ++-- src/main/java/com/onfido/model/SdkToken.java | 43 ++-- .../com/onfido/model/SdkTokenBuilder.java | 55 ++-- .../com/onfido/model/SdkTokenRequest.java | 55 ++-- .../com/onfido/model/SdkTokenResponse.java | 43 ++-- src/main/java/com/onfido/model/Task.java | 71 +++-- src/main/java/com/onfido/model/TaskItem.java | 63 +++-- .../onfido/model/TimelineFileReference.java | 47 ++-- .../model/UsDrivingLicenceBreakdown.java | 51 ++-- .../UsDrivingLicenceBreakdownAddress.java | 47 ++-- ...ivingLicenceBreakdownAddressBreakdown.java | 63 +++-- .../UsDrivingLicenceBreakdownDocument.java | 47 ++-- ...vingLicenceBreakdownDocumentBreakdown.java | 55 ++-- .../UsDrivingLicenceBreakdownPersonal.java | 47 ++-- ...vingLicenceBreakdownPersonalBreakdown.java | 91 ++++--- .../onfido/model/UsDrivingLicenceBuilder.java | 111 ++++---- .../onfido/model/UsDrivingLicenceReport.java | 83 +++--- .../onfido/model/UsDrivingLicenceShared.java | 111 ++++---- .../java/com/onfido/model/VideoReasons.java | 55 ++-- .../onfido/model/WatchlistAmlBreakdown.java | 55 ++-- .../WatchlistAmlBreakdownAdverseMedia.java | 43 ++-- ...mlBreakdownLegalAndRegulatoryWarnings.java | 43 ++-- ...tAmlBreakdownPoliticallyExposedPerson.java | 43 ++-- .../model/WatchlistAmlBreakdownSanction.java | 43 ++-- .../onfido/model/WatchlistAmlProperties.java | 43 ++-- .../com/onfido/model/WatchlistAmlReport.java | 83 +++--- .../model/WatchlistEnhancedBreakdown.java | 55 ++-- .../model/WatchlistEnhancedProperties.java | 43 ++-- ...tchlistEnhancedPropertiesRecordsInner.java | 75 +++--- ...cedPropertiesRecordsInnerAddressInner.java | 63 +++-- ...ancedPropertiesRecordsInnerAliasInner.java | 47 ++-- ...dPropertiesRecordsInnerAssociateInner.java | 51 ++-- ...dPropertiesRecordsInnerAttributeInner.java | 47 ++-- ...ancedPropertiesRecordsInnerEventInner.java | 59 +++-- ...ropertiesRecordsInnerEventInnerSource.java | 55 ++-- ...ncedPropertiesRecordsInnerSourceInner.java | 55 ++-- .../onfido/model/WatchlistEnhancedReport.java | 83 +++--- .../com/onfido/model/WatchlistMonitor.java | 67 +++-- .../onfido/model/WatchlistMonitorBuilder.java | 51 ++-- .../onfido/model/WatchlistMonitorMatch.java | 47 ++-- .../model/WatchlistMonitorMatchesList.java | 43 ++-- .../model/WatchlistMonitorMatchesUpdater.java | 47 ++-- .../model/WatchlistMonitorResponse.java | 55 ++-- .../onfido/model/WatchlistMonitorShared.java | 51 ++-- .../onfido/model/WatchlistMonitorsList.java | 43 ++-- .../onfido/model/WatchlistPepsOnlyReport.java | 83 +++--- .../model/WatchlistSanctionsOnlyReport.java | 83 +++--- .../model/WatchlistStandardBreakdown.java | 51 ++-- .../model/WatchlistStandardProperties.java | 43 ++-- .../onfido/model/WatchlistStandardReport.java | 83 +++--- src/main/java/com/onfido/model/Webhook.java | 71 +++-- .../java/com/onfido/model/WebhookBuilder.java | 59 +++-- .../java/com/onfido/model/WebhookCreate.java | 43 ++-- .../java/com/onfido/model/WebhookEvent.java | 43 ++-- .../com/onfido/model/WebhookEventPayload.java | 55 ++-- .../model/WebhookEventPayloadObject.java | 59 +++-- .../model/WebhookEventPayloadResource.java | 99 ++++--- .../java/com/onfido/model/WebhookResend.java | 43 ++-- .../com/onfido/model/WebhookResponse.java | 55 ++-- .../java/com/onfido/model/WebhookShared.java | 55 ++-- .../java/com/onfido/model/WebhookUpdate.java | 43 ++-- .../java/com/onfido/model/WebhookUpdater.java | 59 +++-- .../java/com/onfido/model/WebhooksList.java | 43 ++-- .../com/onfido/model/WebhooksResendItem.java | 47 ++-- .../java/com/onfido/model/WorkflowRun.java | 99 ++++--- .../com/onfido/model/WorkflowRunBuilder.java | 71 +++-- .../com/onfido/model/WorkflowRunError.java | 47 ++-- .../com/onfido/model/WorkflowRunLink.java | 59 +++-- .../com/onfido/model/WorkflowRunRequest.java | 43 ++-- .../com/onfido/model/WorkflowRunResponse.java | 71 +++-- .../com/onfido/model/WorkflowRunShared.java | 67 +++-- 294 files changed, 7898 insertions(+), 8231 deletions(-) diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 93c8ddab..4bc5d618 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/.release.json b/.release.json index 569377c1..80f65273 100644 --- a/.release.json +++ b/.release.json @@ -1,9 +1,9 @@ { "source": { "repo_url": "https://github.com/onfido/onfido-openapi-spec", - "short_sha": "10f8380", - "long_sha": "10f83806efa080edbf022ac48d5eeac90fbceb0c", - "version": "" + "short_sha": "2998dd3", + "long_sha": "2998dd3ad2db49a33e0ecf9b41c7cf873909ef0b", + "version": "v4.0.0" }, - "release": "v4.3.0" + "release": "v5.0.0" } diff --git a/README.md b/README.md index b03976a7..d78d093f 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Add this dependency to your project's POM: com.onfido onfido-api-java - 4.3.0 + 5.0.0 compile ``` @@ -59,7 +59,7 @@ Add this dependency to your project's build file: } dependencies { - implementation "com.onfido:onfido-api-java:4.3.0" + implementation "com.onfido:onfido-api-java:5.0.0" } ``` @@ -73,10 +73,10 @@ mvn clean package Then manually install the following JARs: -- `target/onfido-api-java-4.3.0.jar` +- `target/onfido-api-java-5.0.0.jar` - `target/lib/*.jar` -The latest version can be found at: https://search.maven.org/artifact/com.onfido/4.3.0 +The latest version can be found at: https://search.maven.org/artifact/com.onfido/5.0.0 ## Getting Started @@ -164,7 +164,7 @@ Retain from using `getAdditionalProperty()` or `getAdditionalProperties()` metho ## Contributing -This library is automatically generated using [OpenAPI Generator](https://openapi-generator.tech) (version: 7.6.0); therefore all the contributions, except tests files, should target [Onfido OpenAPI specification repository](https://github.com/onfido/onfido-openapi-spec/tree/master) instead of this repository. +This library is automatically generated using [OpenAPI Generator](https://openapi-generator.tech) (version: 7.9.0); therefore all the contributions, except tests files, should target [Onfido OpenAPI specification repository](https://github.com/onfido/onfido-openapi-spec/tree/master) instead of this repository. For contributions to the tests instead, please follow the steps below: diff --git a/build.gradle b/build.gradle index 223e05eb..d32fbb8a 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'java' apply plugin: 'com.diffplug.spotless' group = 'com.onfido' -version = '4.3.0' +version = '5.0.0' buildscript { repositories { @@ -112,14 +112,13 @@ dependencies { implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0' implementation 'com.google.code.gson:gson:2.9.1' implementation 'io.gsonfire:gson-fire:1.9.0' - implementation 'javax.ws.rs:jsr311-api:1.1.1' - implementation 'javax.ws.rs:javax.ws.rs-api:2.1.1' + implementation 'jakarta.ws.rs:jakarta.ws.rs-api:2.1.6' implementation 'org.openapitools:jackson-databind-nullable:0.2.6' implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0' implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version" - testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2' + testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.3' testImplementation 'org.mockito:mockito-core:3.12.4' - testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2' + testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.3' } javadoc { diff --git a/build.sbt b/build.sbt index db922ded..3e07b43c 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ lazy val root = (project in file(".")). settings( organization := "com.onfido", name := "onfido-api-java", - version := "4.3.0", + version := "5.0.0", scalaVersion := "2.11.4", scalacOptions ++= Seq("-feature"), javacOptions in compile ++= Seq("-Xlint:deprecation"), @@ -14,14 +14,13 @@ lazy val root = (project in file(".")). "com.squareup.okhttp3" % "logging-interceptor" % "4.12.0", "com.google.code.gson" % "gson" % "2.9.1", "org.apache.commons" % "commons-lang3" % "3.12.0", - "javax.ws.rs" % "jsr311-api" % "1.1.1", - "javax.ws.rs" % "javax.ws.rs-api" % "2.1.1", + "jakarta.ws.rs" % "jakarta.ws.rs-api" % "2.1.6", "org.openapitools" % "jackson-databind-nullable" % "0.2.6", "io.gsonfire" % "gson-fire" % "1.9.0" % "compile", "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", "com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile", "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", - "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test", + "org.junit.jupiter" % "junit-jupiter-api" % "5.10.3" % "test", "com.novocode" % "junit-interface" % "0.10" % "test", "org.mockito" % "mockito-core" % "3.12.4" % "test" ) diff --git a/pom.xml b/pom.xml index 9362bc57..86036d9a 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ onfido-api-java jar onfido-api-java - 4.3.0 + 5.0.0 https://documentation.onfido.com Official Java API client library for the Onfido API @@ -313,14 +313,9 @@ ${jackson-databind-nullable-version} - javax.ws.rs - jsr311-api - ${jsr311-api-version} - - - javax.ws.rs - javax.ws.rs-api - ${javax.ws.rs-api-version} + jakarta.ws.rs + jakarta.ws.rs-api + ${jakarta.ws.rs-api-version} @@ -341,14 +336,15 @@ ${java.version} ${java.version} 1.9.0 - 4.11.0 + 4.12.0 2.10.1 3.14.0 0.2.6 1.3.5 - 5.10.0 + 2.0.2 + 5.10.3 1.10.0 - 2.1.1 + 2.1.6 1.1.1 UTF-8 2.43.0 diff --git a/src/main/java/com/onfido/ApiClient.java b/src/main/java/com/onfido/ApiClient.java index 68864505..73c6ff6f 100644 --- a/src/main/java/com/onfido/ApiClient.java +++ b/src/main/java/com/onfido/ApiClient.java @@ -160,7 +160,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("onfido-java/4.3.0"); + setUserAgent("onfido-java/5.0.0"); authentications = new HashMap(); } @@ -446,6 +446,19 @@ public void setAWS4Configuration(String accessKey, String secretKey, String regi throw new RuntimeException("No AWS4 authentication configured!"); } + /** + * Helper method to set credentials for AWSV4 Signature + * + * @param accessKey Access Key + * @param secretKey Secret Key + * @param sessionToken Session Token + * @param region Region + * @param service Service to access to + */ + public void setAWS4Configuration(String accessKey, String secretKey, String sessionToken, String region, String service) { + throw new RuntimeException("No AWS4 authentication configured!"); + } + /** * Set the User-Agent header's value (by adding to the default header map). * @@ -701,6 +714,30 @@ public List parameterToPairs(String collectionFormat, String name, Collect return params; } + /** + * Formats the specified free-form query parameters to a list of {@code Pair} objects. + * + * @param value The free-form query parameters. + * @return A list of {@code Pair} objects. + */ + public List freeFormParameterToPairs(Object value) { + List params = new ArrayList<>(); + + // preconditions + if (value == null || !(value instanceof Map )) { + return params; + } + + final Map valuesMap = (Map) value; + + for (Map.Entry entry : valuesMap.entrySet()) { + params.add(new Pair(entry.getKey(), parameterToString(entry.getValue()))); + } + + return params; + } + + /** * Formats the specified collection path parameter to a string value. * @@ -1137,10 +1174,6 @@ public Call buildCall(String baseUrl, String path, String method, List que * @throws com.onfido.ApiException If fail to serialize the request body object */ public Request buildRequest(String baseUrl, String path, String method, List queryParams, List collectionQueryParams, Object body, Map headerParams, Map cookieParams, Map formParams, String[] authNames, ApiCallback callback) throws ApiException { - // aggregate queryParams (non-collection) and collectionQueryParams into allQueryParams - List allQueryParams = new ArrayList(queryParams); - allQueryParams.addAll(collectionQueryParams); - final String url = buildUrl(baseUrl, path, queryParams, collectionQueryParams); // prepare HTTP request body @@ -1168,10 +1201,12 @@ public Request buildRequest(String baseUrl, String path, String method, List updatedQueryParams = new ArrayList<>(queryParams); + // update parameters with authentication settings - updateParamsForAuth(authNames, allQueryParams, headerParams, cookieParams, requestBodyToString(reqBody), method, URI.create(url)); + updateParamsForAuth(authNames, updatedQueryParams, headerParams, cookieParams, requestBodyToString(reqBody), method, URI.create(url)); - final Request.Builder reqBuilder = new Request.Builder().url(url); + final Request.Builder reqBuilder = new Request.Builder().url(buildUrl(baseUrl, path, updatedQueryParams, collectionQueryParams)); processHeaderParams(headerParams, reqBuilder); processCookieParams(cookieParams, reqBuilder); diff --git a/src/main/java/com/onfido/ApiException.java b/src/main/java/com/onfido/ApiException.java index afd726b0..f5b53540 100644 --- a/src/main/java/com/onfido/ApiException.java +++ b/src/main/java/com/onfido/ApiException.java @@ -21,7 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ApiException extends Exception { private static final long serialVersionUID = 1L; diff --git a/src/main/java/com/onfido/Configuration.java b/src/main/java/com/onfido/Configuration.java index d5be14db..277e6260 100644 --- a/src/main/java/com/onfido/Configuration.java +++ b/src/main/java/com/onfido/Configuration.java @@ -13,9 +13,9 @@ package com.onfido; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Configuration { - public static final String VERSION = "4.3.0"; + public static final String VERSION = "5.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/src/main/java/com/onfido/JSON.java b/src/main/java/com/onfido/JSON.java index f1fb4b6a..feb14b9f 100644 --- a/src/main/java/com/onfido/JSON.java +++ b/src/main/java/com/onfido/JSON.java @@ -13,11 +13,11 @@ package com.onfido; -import com.fasterxml.jackson.databind.util.StdDateFormat; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonParseException; import com.google.gson.TypeAdapter; +import com.google.gson.internal.bind.util.ISO8601Utils; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import com.google.gson.JsonElement; @@ -31,16 +31,14 @@ import java.lang.reflect.Type; import java.text.DateFormat; import java.text.ParseException; +import java.text.ParsePosition; import java.time.LocalDate; import java.time.OffsetDateTime; -import java.time.ZoneId; -import java.time.ZoneOffset; import java.time.format.DateTimeFormatter; import java.util.Date; import java.util.Locale; import java.util.Map; import java.util.HashMap; -import java.util.TimeZone; /* * A JSON utility class @@ -57,11 +55,6 @@ public class JSON { private static LocalDateTypeAdapter localDateTypeAdapter = new LocalDateTypeAdapter(); private static ByteArrayAdapter byteArrayAdapter = new ByteArrayAdapter(); - private static final StdDateFormat sdf = new StdDateFormat() - .withTimeZone(TimeZone.getTimeZone(ZoneId.systemDefault())) - .withColonInTimeZone(true); - private static final DateTimeFormatter dtf = DateTimeFormatter.ISO_OFFSET_DATE_TIME; - @SuppressWarnings("unchecked") public static GsonBuilder createGson() { GsonFireBuilder fireBuilder = new GsonFireBuilder() @@ -659,7 +652,7 @@ public java.sql.Date read(JsonReader in) throws IOException { if (dateFormat != null) { return new java.sql.Date(dateFormat.parse(date).getTime()); } - return new java.sql.Date(sdf.parse(date).getTime()); + return new java.sql.Date(ISO8601Utils.parse(date, new ParsePosition(0)).getTime()); } catch (ParseException e) { throw new JsonParseException(e); } @@ -669,7 +662,7 @@ public java.sql.Date read(JsonReader in) throws IOException { /** * Gson TypeAdapter for java.util.Date type - * If the dateFormat is null, DateTimeFormatter will be used. + * If the dateFormat is null, ISO8601Utils will be used. */ public static class DateTypeAdapter extends TypeAdapter { @@ -694,7 +687,7 @@ public void write(JsonWriter out, Date date) throws IOException { if (dateFormat != null) { value = dateFormat.format(date); } else { - value = date.toInstant().atOffset(ZoneOffset.UTC).format(dtf); + value = ISO8601Utils.format(date, true); } out.value(value); } @@ -713,7 +706,7 @@ public Date read(JsonReader in) throws IOException { if (dateFormat != null) { return dateFormat.parse(date); } - return sdf.parse(date); + return ISO8601Utils.parse(date, new ParsePosition(0)); } catch (ParseException e) { throw new JsonParseException(e); } diff --git a/src/main/java/com/onfido/Pair.java b/src/main/java/com/onfido/Pair.java index 134dc325..73320176 100644 --- a/src/main/java/com/onfido/Pair.java +++ b/src/main/java/com/onfido/Pair.java @@ -13,7 +13,7 @@ package com.onfido; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/com/onfido/ServerConfiguration.java b/src/main/java/com/onfido/ServerConfiguration.java index 4a59a59f..cd0367a3 100644 --- a/src/main/java/com/onfido/ServerConfiguration.java +++ b/src/main/java/com/onfido/ServerConfiguration.java @@ -1,3 +1,16 @@ +/* + * Onfido API v3.6 + * The Onfido API (v3.6) + * + * The version of the OpenAPI document: v3.6 + * + * + * 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.onfido; import java.util.Map; @@ -5,7 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ServerConfiguration { public String URL; public String description; diff --git a/src/main/java/com/onfido/ServerVariable.java b/src/main/java/com/onfido/ServerVariable.java index 7c81c3db..13e1cd2c 100644 --- a/src/main/java/com/onfido/ServerVariable.java +++ b/src/main/java/com/onfido/ServerVariable.java @@ -1,3 +1,16 @@ +/* + * Onfido API v3.6 + * The Onfido API (v3.6) + * + * The version of the OpenAPI document: v3.6 + * + * + * 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.onfido; import java.util.HashSet; @@ -5,7 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ServerVariable { public String description; public String defaultValue; diff --git a/src/main/java/com/onfido/StringUtil.java b/src/main/java/com/onfido/StringUtil.java index 0be8b4dc..49111e86 100644 --- a/src/main/java/com/onfido/StringUtil.java +++ b/src/main/java/com/onfido/StringUtil.java @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/com/onfido/auth/ApiKeyAuth.java b/src/main/java/com/onfido/auth/ApiKeyAuth.java index 51e1e8c8..51228de5 100644 --- a/src/main/java/com/onfido/auth/ApiKeyAuth.java +++ b/src/main/java/com/onfido/auth/ApiKeyAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/com/onfido/auth/HttpBasicAuth.java b/src/main/java/com/onfido/auth/HttpBasicAuth.java index d5d1fd49..71ecc19b 100644 --- a/src/main/java/com/onfido/auth/HttpBasicAuth.java +++ b/src/main/java/com/onfido/auth/HttpBasicAuth.java @@ -22,8 +22,6 @@ import java.util.Map; import java.util.List; -import java.io.UnsupportedEncodingException; - public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/src/main/java/com/onfido/auth/HttpBearerAuth.java b/src/main/java/com/onfido/auth/HttpBearerAuth.java index bdafe812..73a8370d 100644 --- a/src/main/java/com/onfido/auth/HttpBearerAuth.java +++ b/src/main/java/com/onfido/auth/HttpBearerAuth.java @@ -22,7 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/src/main/java/com/onfido/model/AbstractOpenApiSchema.java b/src/main/java/com/onfido/model/AbstractOpenApiSchema.java index 02190f0d..2b8a7006 100644 --- a/src/main/java/com/onfido/model/AbstractOpenApiSchema.java +++ b/src/main/java/com/onfido/model/AbstractOpenApiSchema.java @@ -21,7 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/com/onfido/model/Address.java b/src/main/java/com/onfido/model/Address.java index f4b611c9..2d0da10e 100644 --- a/src/main/java/com/onfido/model/Address.java +++ b/src/main/java/com/onfido/model/Address.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * Address */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Address { public static final String SERIALIZED_NAME_FLAT_NUMBER = "flat_number"; @SerializedName(SERIALIZED_NAME_FLAT_NUMBER) @@ -109,10 +108,10 @@ public Address flatNumber(String flatNumber) { return this; } - /** + /** * The flat number of this address * @return flatNumber - **/ + */ @javax.annotation.Nullable public String getFlatNumber() { return flatNumber; @@ -128,10 +127,10 @@ public Address buildingNumber(String buildingNumber) { return this; } - /** + /** * The building number of this address * @return buildingNumber - **/ + */ @javax.annotation.Nullable public String getBuildingNumber() { return buildingNumber; @@ -147,10 +146,10 @@ public Address buildingName(String buildingName) { return this; } - /** + /** * The building name of this address * @return buildingName - **/ + */ @javax.annotation.Nullable public String getBuildingName() { return buildingName; @@ -166,10 +165,10 @@ public Address street(String street) { return this; } - /** + /** * The street of the applicant's address * @return street - **/ + */ @javax.annotation.Nullable public String getStreet() { return street; @@ -185,10 +184,10 @@ public Address subStreet(String subStreet) { return this; } - /** + /** * The sub-street of the applicant's address * @return subStreet - **/ + */ @javax.annotation.Nullable public String getSubStreet() { return subStreet; @@ -204,10 +203,10 @@ public Address town(String town) { return this; } - /** + /** * The town of the applicant's address * @return town - **/ + */ @javax.annotation.Nullable public String getTown() { return town; @@ -223,10 +222,10 @@ public Address postcode(String postcode) { return this; } - /** + /** * The postcode or ZIP of the applicant's address * @return postcode - **/ + */ @javax.annotation.Nonnull public String getPostcode() { return postcode; @@ -242,10 +241,10 @@ public Address country(CountryCodes country) { return this; } - /** + /** * The 3 character ISO country code of this address. For example, GBR is the country code for the United Kingdom * @return country - **/ + */ @javax.annotation.Nonnull public CountryCodes getCountry() { return country; @@ -261,10 +260,10 @@ public Address state(String state) { return this; } - /** + /** * The address state. US states must use the USPS abbreviation (see also ISO 3166-2:US), for example AK, CA, or TX. * @return state - **/ + */ @javax.annotation.Nullable public String getState() { return state; @@ -280,10 +279,10 @@ public Address line1(String line1) { return this; } - /** + /** * Line 1 of the applicant's address * @return line1 - **/ + */ @javax.annotation.Nullable public String getLine1() { return line1; @@ -299,10 +298,10 @@ public Address line2(String line2) { return this; } - /** + /** * Line 2 of the applicant's address * @return line2 - **/ + */ @javax.annotation.Nullable public String getLine2() { return line2; @@ -318,10 +317,10 @@ public Address line3(String line3) { return this; } - /** + /** * Line 3 of the applicant's address * @return line3 - **/ + */ @javax.annotation.Nullable public String getLine3() { return line3; @@ -475,12 +474,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("country"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to Address - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to Address + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Address.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -604,22 +603,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of Address given an JSON string - * - * @param jsonString JSON string - * @return An instance of Address - * @throws IOException if the JSON string is invalid with respect to Address - */ + /** + * Create an instance of Address given an JSON string + * + * @param jsonString JSON string + * @return An instance of Address + * @throws IOException if the JSON string is invalid with respect to Address + */ public static Address fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, Address.class); } - /** - * Convert an instance of Address to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of Address to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/AddressBuilder.java b/src/main/java/com/onfido/model/AddressBuilder.java index 91d395b0..b889c6f1 100644 --- a/src/main/java/com/onfido/model/AddressBuilder.java +++ b/src/main/java/com/onfido/model/AddressBuilder.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * AddressBuilder */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class AddressBuilder { public static final String SERIALIZED_NAME_FLAT_NUMBER = "flat_number"; @SerializedName(SERIALIZED_NAME_FLAT_NUMBER) @@ -109,10 +108,10 @@ public AddressBuilder flatNumber(String flatNumber) { return this; } - /** + /** * The flat number of this address * @return flatNumber - **/ + */ @javax.annotation.Nullable public String getFlatNumber() { return flatNumber; @@ -128,10 +127,10 @@ public AddressBuilder buildingNumber(String buildingNumber) { return this; } - /** + /** * The building number of this address * @return buildingNumber - **/ + */ @javax.annotation.Nullable public String getBuildingNumber() { return buildingNumber; @@ -147,10 +146,10 @@ public AddressBuilder buildingName(String buildingName) { return this; } - /** + /** * The building name of this address * @return buildingName - **/ + */ @javax.annotation.Nullable public String getBuildingName() { return buildingName; @@ -166,10 +165,10 @@ public AddressBuilder street(String street) { return this; } - /** + /** * The street of the applicant's address * @return street - **/ + */ @javax.annotation.Nullable public String getStreet() { return street; @@ -185,10 +184,10 @@ public AddressBuilder subStreet(String subStreet) { return this; } - /** + /** * The sub-street of the applicant's address * @return subStreet - **/ + */ @javax.annotation.Nullable public String getSubStreet() { return subStreet; @@ -204,10 +203,10 @@ public AddressBuilder town(String town) { return this; } - /** + /** * The town of the applicant's address * @return town - **/ + */ @javax.annotation.Nullable public String getTown() { return town; @@ -223,10 +222,10 @@ public AddressBuilder postcode(String postcode) { return this; } - /** + /** * The postcode or ZIP of the applicant's address * @return postcode - **/ + */ @javax.annotation.Nonnull public String getPostcode() { return postcode; @@ -242,10 +241,10 @@ public AddressBuilder country(CountryCodes country) { return this; } - /** + /** * The 3 character ISO country code of this address. For example, GBR is the country code for the United Kingdom * @return country - **/ + */ @javax.annotation.Nonnull public CountryCodes getCountry() { return country; @@ -261,10 +260,10 @@ public AddressBuilder state(String state) { return this; } - /** + /** * The address state. US states must use the USPS abbreviation (see also ISO 3166-2:US), for example AK, CA, or TX. * @return state - **/ + */ @javax.annotation.Nullable public String getState() { return state; @@ -280,10 +279,10 @@ public AddressBuilder line1(String line1) { return this; } - /** + /** * Line 1 of the applicant's address * @return line1 - **/ + */ @javax.annotation.Nullable public String getLine1() { return line1; @@ -299,10 +298,10 @@ public AddressBuilder line2(String line2) { return this; } - /** + /** * Line 2 of the applicant's address * @return line2 - **/ + */ @javax.annotation.Nullable public String getLine2() { return line2; @@ -318,10 +317,10 @@ public AddressBuilder line3(String line3) { return this; } - /** + /** * Line 3 of the applicant's address * @return line3 - **/ + */ @javax.annotation.Nullable public String getLine3() { return line3; @@ -475,12 +474,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("country"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to AddressBuilder - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AddressBuilder + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!AddressBuilder.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -604,22 +603,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of AddressBuilder given an JSON string - * - * @param jsonString JSON string - * @return An instance of AddressBuilder - * @throws IOException if the JSON string is invalid with respect to AddressBuilder - */ + /** + * Create an instance of AddressBuilder given an JSON string + * + * @param jsonString JSON string + * @return An instance of AddressBuilder + * @throws IOException if the JSON string is invalid with respect to AddressBuilder + */ public static AddressBuilder fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, AddressBuilder.class); } - /** - * Convert an instance of AddressBuilder to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of AddressBuilder to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/AddressShared.java b/src/main/java/com/onfido/model/AddressShared.java index a4c02673..4ab6adce 100644 --- a/src/main/java/com/onfido/model/AddressShared.java +++ b/src/main/java/com/onfido/model/AddressShared.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * AddressShared */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class AddressShared { public static final String SERIALIZED_NAME_FLAT_NUMBER = "flat_number"; @SerializedName(SERIALIZED_NAME_FLAT_NUMBER) @@ -109,10 +108,10 @@ public AddressShared flatNumber(String flatNumber) { return this; } - /** + /** * The flat number of this address * @return flatNumber - **/ + */ @javax.annotation.Nullable public String getFlatNumber() { return flatNumber; @@ -128,10 +127,10 @@ public AddressShared buildingNumber(String buildingNumber) { return this; } - /** + /** * The building number of this address * @return buildingNumber - **/ + */ @javax.annotation.Nullable public String getBuildingNumber() { return buildingNumber; @@ -147,10 +146,10 @@ public AddressShared buildingName(String buildingName) { return this; } - /** + /** * The building name of this address * @return buildingName - **/ + */ @javax.annotation.Nullable public String getBuildingName() { return buildingName; @@ -166,10 +165,10 @@ public AddressShared street(String street) { return this; } - /** + /** * The street of the applicant's address * @return street - **/ + */ @javax.annotation.Nullable public String getStreet() { return street; @@ -185,10 +184,10 @@ public AddressShared subStreet(String subStreet) { return this; } - /** + /** * The sub-street of the applicant's address * @return subStreet - **/ + */ @javax.annotation.Nullable public String getSubStreet() { return subStreet; @@ -204,10 +203,10 @@ public AddressShared town(String town) { return this; } - /** + /** * The town of the applicant's address * @return town - **/ + */ @javax.annotation.Nullable public String getTown() { return town; @@ -223,10 +222,10 @@ public AddressShared postcode(String postcode) { return this; } - /** + /** * The postcode or ZIP of the applicant's address * @return postcode - **/ + */ @javax.annotation.Nonnull public String getPostcode() { return postcode; @@ -242,10 +241,10 @@ public AddressShared country(CountryCodes country) { return this; } - /** + /** * The 3 character ISO country code of this address. For example, GBR is the country code for the United Kingdom * @return country - **/ + */ @javax.annotation.Nonnull public CountryCodes getCountry() { return country; @@ -261,10 +260,10 @@ public AddressShared state(String state) { return this; } - /** + /** * The address state. US states must use the USPS abbreviation (see also ISO 3166-2:US), for example AK, CA, or TX. * @return state - **/ + */ @javax.annotation.Nullable public String getState() { return state; @@ -280,10 +279,10 @@ public AddressShared line1(String line1) { return this; } - /** + /** * Line 1 of the applicant's address * @return line1 - **/ + */ @javax.annotation.Nullable public String getLine1() { return line1; @@ -299,10 +298,10 @@ public AddressShared line2(String line2) { return this; } - /** + /** * Line 2 of the applicant's address * @return line2 - **/ + */ @javax.annotation.Nullable public String getLine2() { return line2; @@ -318,10 +317,10 @@ public AddressShared line3(String line3) { return this; } - /** + /** * Line 3 of the applicant's address * @return line3 - **/ + */ @javax.annotation.Nullable public String getLine3() { return line3; @@ -475,12 +474,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("country"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to AddressShared - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AddressShared + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!AddressShared.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -604,22 +603,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of AddressShared given an JSON string - * - * @param jsonString JSON string - * @return An instance of AddressShared - * @throws IOException if the JSON string is invalid with respect to AddressShared - */ + /** + * Create an instance of AddressShared given an JSON string + * + * @param jsonString JSON string + * @return An instance of AddressShared + * @throws IOException if the JSON string is invalid with respect to AddressShared + */ public static AddressShared fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, AddressShared.class); } - /** - * Convert an instance of AddressShared to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of AddressShared to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/AddressesList.java b/src/main/java/com/onfido/model/AddressesList.java index d3a07a60..0ee1fdf9 100644 --- a/src/main/java/com/onfido/model/AddressesList.java +++ b/src/main/java/com/onfido/model/AddressesList.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * AddressesList */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class AddressesList { public static final String SERIALIZED_NAME_ADDRESSES = "addresses"; @SerializedName(SERIALIZED_NAME_ADDRESSES) @@ -74,10 +73,10 @@ public AddressesList addAddressesItem(Address addressesItem) { return this; } - /** + /** * Get addresses * @return addresses - **/ + */ @javax.annotation.Nullable public List
getAddresses() { return addresses; @@ -185,12 +184,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to AddressesList - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AddressesList + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!AddressesList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -286,22 +285,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of AddressesList given an JSON string - * - * @param jsonString JSON string - * @return An instance of AddressesList - * @throws IOException if the JSON string is invalid with respect to AddressesList - */ + /** + * Create an instance of AddressesList given an JSON string + * + * @param jsonString JSON string + * @return An instance of AddressesList + * @throws IOException if the JSON string is invalid with respect to AddressesList + */ public static AddressesList fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, AddressesList.class); } - /** - * Convert an instance of AddressesList to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of AddressesList to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/Applicant.java b/src/main/java/com/onfido/model/Applicant.java index 26bfd687..592b4151 100644 --- a/src/main/java/com/onfido/model/Applicant.java +++ b/src/main/java/com/onfido/model/Applicant.java @@ -45,7 +45,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -57,7 +56,7 @@ /** * Applicant */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Applicant { public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) @@ -119,10 +118,10 @@ public Applicant email(String email) { return this; } - /** + /** * The applicant's email address. Required if doing a US check, or a UK check for which `applicant_provides_data` is `true`. * @return email - **/ + */ @javax.annotation.Nullable public String getEmail() { return email; @@ -138,10 +137,10 @@ public Applicant dob(LocalDate dob) { return this; } - /** + /** * The applicant's date of birth * @return dob - **/ + */ @javax.annotation.Nullable public LocalDate getDob() { return dob; @@ -165,10 +164,10 @@ public Applicant addIdNumbersItem(IdNumber idNumbersItem) { return this; } - /** + /** * Get idNumbers * @return idNumbers - **/ + */ @javax.annotation.Nullable public List getIdNumbers() { return idNumbers; @@ -184,10 +183,10 @@ public Applicant phoneNumber(String phoneNumber) { return this; } - /** + /** * The applicant's phone number * @return phoneNumber - **/ + */ @javax.annotation.Nullable public String getPhoneNumber() { return phoneNumber; @@ -203,10 +202,10 @@ public Applicant firstName(String firstName) { return this; } - /** + /** * The applicant's first name * @return firstName - **/ + */ @javax.annotation.Nullable public String getFirstName() { return firstName; @@ -222,10 +221,10 @@ public Applicant lastName(String lastName) { return this; } - /** + /** * The applicant's surname * @return lastName - **/ + */ @javax.annotation.Nullable public String getLastName() { return lastName; @@ -241,10 +240,10 @@ public Applicant id(UUID id) { return this; } - /** + /** * The unique identifier for the applicant. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -260,10 +259,10 @@ public Applicant createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time when this applicant was created. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -279,10 +278,10 @@ public Applicant deleteAt(OffsetDateTime deleteAt) { return this; } - /** + /** * The date and time when this applicant is scheduled to be deleted. * @return deleteAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getDeleteAt() { return deleteAt; @@ -298,10 +297,10 @@ public Applicant href(String href) { return this; } - /** + /** * The uri of this resource. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -317,10 +316,10 @@ public Applicant sandbox(Boolean sandbox) { return this; } - /** + /** * Get sandbox * @return sandbox - **/ + */ @javax.annotation.Nullable public Boolean getSandbox() { return sandbox; @@ -336,10 +335,10 @@ public Applicant address(Address address) { return this; } - /** + /** * Get address * @return address - **/ + */ @javax.annotation.Nullable public Address getAddress() { return address; @@ -355,10 +354,10 @@ public Applicant location(Location location) { return this; } - /** + /** * Get location * @return location - **/ + */ @javax.annotation.Nullable public Location getLocation() { return location; @@ -503,12 +502,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to Applicant - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to Applicant + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Applicant.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -637,22 +636,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of Applicant given an JSON string - * - * @param jsonString JSON string - * @return An instance of Applicant - * @throws IOException if the JSON string is invalid with respect to Applicant - */ + /** + * Create an instance of Applicant given an JSON string + * + * @param jsonString JSON string + * @return An instance of Applicant + * @throws IOException if the JSON string is invalid with respect to Applicant + */ public static Applicant fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, Applicant.class); } - /** - * Convert an instance of Applicant to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of Applicant to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ApplicantBuilder.java b/src/main/java/com/onfido/model/ApplicantBuilder.java index 70e21e55..5280e8f3 100644 --- a/src/main/java/com/onfido/model/ApplicantBuilder.java +++ b/src/main/java/com/onfido/model/ApplicantBuilder.java @@ -44,7 +44,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -56,7 +55,7 @@ /** * ApplicantBuilder */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ApplicantBuilder { public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) @@ -102,10 +101,10 @@ public ApplicantBuilder email(String email) { return this; } - /** + /** * The applicant's email address. Required if doing a US check, or a UK check for which `applicant_provides_data` is `true`. * @return email - **/ + */ @javax.annotation.Nullable public String getEmail() { return email; @@ -121,10 +120,10 @@ public ApplicantBuilder dob(LocalDate dob) { return this; } - /** + /** * The applicant's date of birth * @return dob - **/ + */ @javax.annotation.Nullable public LocalDate getDob() { return dob; @@ -148,10 +147,10 @@ public ApplicantBuilder addIdNumbersItem(IdNumber idNumbersItem) { return this; } - /** + /** * Get idNumbers * @return idNumbers - **/ + */ @javax.annotation.Nullable public List getIdNumbers() { return idNumbers; @@ -167,10 +166,10 @@ public ApplicantBuilder phoneNumber(String phoneNumber) { return this; } - /** + /** * The applicant's phone number * @return phoneNumber - **/ + */ @javax.annotation.Nullable public String getPhoneNumber() { return phoneNumber; @@ -194,10 +193,10 @@ public ApplicantBuilder addConsentsItem(ApplicantConsentBuilder consentsItem) { return this; } - /** + /** * The applicant's consents * @return consents - **/ + */ @javax.annotation.Nullable public List getConsents() { return consents; @@ -213,10 +212,10 @@ public ApplicantBuilder address(AddressBuilder address) { return this; } - /** + /** * Get address * @return address - **/ + */ @javax.annotation.Nullable public AddressBuilder getAddress() { return address; @@ -232,10 +231,10 @@ public ApplicantBuilder location(LocationBuilder location) { return this; } - /** + /** * Get location * @return location - **/ + */ @javax.annotation.Nullable public LocationBuilder getLocation() { return location; @@ -251,10 +250,10 @@ public ApplicantBuilder firstName(String firstName) { return this; } - /** + /** * The applicant's first name * @return firstName - **/ + */ @javax.annotation.Nonnull public String getFirstName() { return firstName; @@ -270,10 +269,10 @@ public ApplicantBuilder lastName(String lastName) { return this; } - /** + /** * The applicant's surname * @return lastName - **/ + */ @javax.annotation.Nonnull public String getLastName() { return lastName; @@ -407,12 +406,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("last_name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ApplicantBuilder - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ApplicantBuilder + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ApplicantBuilder.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -549,22 +548,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ApplicantBuilder given an JSON string - * - * @param jsonString JSON string - * @return An instance of ApplicantBuilder - * @throws IOException if the JSON string is invalid with respect to ApplicantBuilder - */ + /** + * Create an instance of ApplicantBuilder given an JSON string + * + * @param jsonString JSON string + * @return An instance of ApplicantBuilder + * @throws IOException if the JSON string is invalid with respect to ApplicantBuilder + */ public static ApplicantBuilder fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ApplicantBuilder.class); } - /** - * Convert an instance of ApplicantBuilder to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ApplicantBuilder to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ApplicantConsentBuilder.java b/src/main/java/com/onfido/model/ApplicantConsentBuilder.java index 13b22f80..039a659d 100644 --- a/src/main/java/com/onfido/model/ApplicantConsentBuilder.java +++ b/src/main/java/com/onfido/model/ApplicantConsentBuilder.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * ApplicantConsentBuilder */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ApplicantConsentBuilder { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -68,10 +67,10 @@ public ApplicantConsentBuilder name(ApplicantConsentName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ApplicantConsentName getName() { return name; @@ -87,10 +86,10 @@ public ApplicantConsentBuilder granted(Boolean granted) { return this; } - /** + /** * Get granted * @return granted - **/ + */ @javax.annotation.Nonnull public Boolean getGranted() { return granted; @@ -203,12 +202,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("granted"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ApplicantConsentBuilder - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ApplicantConsentBuilder + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ApplicantConsentBuilder.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -299,22 +298,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ApplicantConsentBuilder given an JSON string - * - * @param jsonString JSON string - * @return An instance of ApplicantConsentBuilder - * @throws IOException if the JSON string is invalid with respect to ApplicantConsentBuilder - */ + /** + * Create an instance of ApplicantConsentBuilder given an JSON string + * + * @param jsonString JSON string + * @return An instance of ApplicantConsentBuilder + * @throws IOException if the JSON string is invalid with respect to ApplicantConsentBuilder + */ public static ApplicantConsentBuilder fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ApplicantConsentBuilder.class); } - /** - * Convert an instance of ApplicantConsentBuilder to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ApplicantConsentBuilder to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ApplicantCreate.java b/src/main/java/com/onfido/model/ApplicantCreate.java index ddb901eb..24cbf4ca 100644 --- a/src/main/java/com/onfido/model/ApplicantCreate.java +++ b/src/main/java/com/onfido/model/ApplicantCreate.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * ApplicantCreate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ApplicantCreate { public static final String SERIALIZED_NAME_FIRST_NAME = "first_name"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) @@ -67,10 +66,10 @@ public ApplicantCreate firstName(String firstName) { return this; } - /** + /** * The applicant's first name * @return firstName - **/ + */ @javax.annotation.Nonnull public String getFirstName() { return firstName; @@ -86,10 +85,10 @@ public ApplicantCreate lastName(String lastName) { return this; } - /** + /** * The applicant's surname * @return lastName - **/ + */ @javax.annotation.Nonnull public String getLastName() { return lastName; @@ -202,12 +201,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("last_name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ApplicantCreate - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ApplicantCreate + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ApplicantCreate.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -302,22 +301,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ApplicantCreate given an JSON string - * - * @param jsonString JSON string - * @return An instance of ApplicantCreate - * @throws IOException if the JSON string is invalid with respect to ApplicantCreate - */ + /** + * Create an instance of ApplicantCreate given an JSON string + * + * @param jsonString JSON string + * @return An instance of ApplicantCreate + * @throws IOException if the JSON string is invalid with respect to ApplicantCreate + */ public static ApplicantCreate fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ApplicantCreate.class); } - /** - * Convert an instance of ApplicantCreate to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ApplicantCreate to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ApplicantRequest.java b/src/main/java/com/onfido/model/ApplicantRequest.java index 9d0b2461..f540115a 100644 --- a/src/main/java/com/onfido/model/ApplicantRequest.java +++ b/src/main/java/com/onfido/model/ApplicantRequest.java @@ -42,7 +42,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -54,7 +53,7 @@ /** * ApplicantRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ApplicantRequest { public static final String SERIALIZED_NAME_CONSENTS = "consents"; @SerializedName(SERIALIZED_NAME_CONSENTS) @@ -84,10 +83,10 @@ public ApplicantRequest addConsentsItem(ApplicantConsentBuilder consentsItem) { return this; } - /** + /** * The applicant's consents * @return consents - **/ + */ @javax.annotation.Nullable public List getConsents() { return consents; @@ -103,10 +102,10 @@ public ApplicantRequest address(AddressBuilder address) { return this; } - /** + /** * Get address * @return address - **/ + */ @javax.annotation.Nullable public AddressBuilder getAddress() { return address; @@ -122,10 +121,10 @@ public ApplicantRequest location(LocationBuilder location) { return this; } - /** + /** * Get location * @return location - **/ + */ @javax.annotation.Nullable public LocationBuilder getLocation() { return location; @@ -239,12 +238,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ApplicantRequest - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ApplicantRequest + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ApplicantRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -348,22 +347,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ApplicantRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of ApplicantRequest - * @throws IOException if the JSON string is invalid with respect to ApplicantRequest - */ + /** + * Create an instance of ApplicantRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of ApplicantRequest + * @throws IOException if the JSON string is invalid with respect to ApplicantRequest + */ public static ApplicantRequest fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ApplicantRequest.class); } - /** - * Convert an instance of ApplicantRequest to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ApplicantRequest to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ApplicantResponse.java b/src/main/java/com/onfido/model/ApplicantResponse.java index d595a9d2..09377f38 100644 --- a/src/main/java/com/onfido/model/ApplicantResponse.java +++ b/src/main/java/com/onfido/model/ApplicantResponse.java @@ -41,7 +41,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -53,7 +52,7 @@ /** * ApplicantResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ApplicantResponse { public static final String SERIALIZED_NAME_FIRST_NAME = "first_name"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) @@ -99,10 +98,10 @@ public ApplicantResponse firstName(String firstName) { return this; } - /** + /** * The applicant's first name * @return firstName - **/ + */ @javax.annotation.Nullable public String getFirstName() { return firstName; @@ -118,10 +117,10 @@ public ApplicantResponse lastName(String lastName) { return this; } - /** + /** * The applicant's surname * @return lastName - **/ + */ @javax.annotation.Nullable public String getLastName() { return lastName; @@ -137,10 +136,10 @@ public ApplicantResponse id(UUID id) { return this; } - /** + /** * The unique identifier for the applicant. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -156,10 +155,10 @@ public ApplicantResponse createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time when this applicant was created. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -175,10 +174,10 @@ public ApplicantResponse deleteAt(OffsetDateTime deleteAt) { return this; } - /** + /** * The date and time when this applicant is scheduled to be deleted. * @return deleteAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getDeleteAt() { return deleteAt; @@ -194,10 +193,10 @@ public ApplicantResponse href(String href) { return this; } - /** + /** * The uri of this resource. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -213,10 +212,10 @@ public ApplicantResponse sandbox(Boolean sandbox) { return this; } - /** + /** * Get sandbox * @return sandbox - **/ + */ @javax.annotation.Nullable public Boolean getSandbox() { return sandbox; @@ -232,10 +231,10 @@ public ApplicantResponse address(Address address) { return this; } - /** + /** * Get address * @return address - **/ + */ @javax.annotation.Nullable public Address getAddress() { return address; @@ -251,10 +250,10 @@ public ApplicantResponse location(Location location) { return this; } - /** + /** * Get location * @return location - **/ + */ @javax.annotation.Nullable public Location getLocation() { return location; @@ -387,12 +386,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ApplicantResponse - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ApplicantResponse + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ApplicantResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -501,22 +500,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ApplicantResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of ApplicantResponse - * @throws IOException if the JSON string is invalid with respect to ApplicantResponse - */ + /** + * Create an instance of ApplicantResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of ApplicantResponse + * @throws IOException if the JSON string is invalid with respect to ApplicantResponse + */ public static ApplicantResponse fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ApplicantResponse.class); } - /** - * Convert an instance of ApplicantResponse to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ApplicantResponse to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ApplicantShared.java b/src/main/java/com/onfido/model/ApplicantShared.java index b4a1ba81..ce19948d 100644 --- a/src/main/java/com/onfido/model/ApplicantShared.java +++ b/src/main/java/com/onfido/model/ApplicantShared.java @@ -41,7 +41,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -53,7 +52,7 @@ /** * ApplicantShared */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ApplicantShared { public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) @@ -79,10 +78,10 @@ public ApplicantShared email(String email) { return this; } - /** + /** * The applicant's email address. Required if doing a US check, or a UK check for which `applicant_provides_data` is `true`. * @return email - **/ + */ @javax.annotation.Nullable public String getEmail() { return email; @@ -98,10 +97,10 @@ public ApplicantShared dob(LocalDate dob) { return this; } - /** + /** * The applicant's date of birth * @return dob - **/ + */ @javax.annotation.Nullable public LocalDate getDob() { return dob; @@ -125,10 +124,10 @@ public ApplicantShared addIdNumbersItem(IdNumber idNumbersItem) { return this; } - /** + /** * Get idNumbers * @return idNumbers - **/ + */ @javax.annotation.Nullable public List getIdNumbers() { return idNumbers; @@ -144,10 +143,10 @@ public ApplicantShared phoneNumber(String phoneNumber) { return this; } - /** + /** * The applicant's phone number * @return phoneNumber - **/ + */ @javax.annotation.Nullable public String getPhoneNumber() { return phoneNumber; @@ -264,12 +263,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ApplicantShared - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ApplicantShared + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ApplicantShared.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -371,22 +370,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ApplicantShared given an JSON string - * - * @param jsonString JSON string - * @return An instance of ApplicantShared - * @throws IOException if the JSON string is invalid with respect to ApplicantShared - */ + /** + * Create an instance of ApplicantShared given an JSON string + * + * @param jsonString JSON string + * @return An instance of ApplicantShared + * @throws IOException if the JSON string is invalid with respect to ApplicantShared + */ public static ApplicantShared fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ApplicantShared.class); } - /** - * Convert an instance of ApplicantShared to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ApplicantShared to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ApplicantUpdate.java b/src/main/java/com/onfido/model/ApplicantUpdate.java index 389f44d5..c88e2dd9 100644 --- a/src/main/java/com/onfido/model/ApplicantUpdate.java +++ b/src/main/java/com/onfido/model/ApplicantUpdate.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * ApplicantUpdate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ApplicantUpdate { public static final String SERIALIZED_NAME_FIRST_NAME = "first_name"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) @@ -67,10 +66,10 @@ public ApplicantUpdate firstName(String firstName) { return this; } - /** + /** * The applicant's first name * @return firstName - **/ + */ @javax.annotation.Nullable public String getFirstName() { return firstName; @@ -86,10 +85,10 @@ public ApplicantUpdate lastName(String lastName) { return this; } - /** + /** * The applicant's surname * @return lastName - **/ + */ @javax.annotation.Nullable public String getLastName() { return lastName; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ApplicantUpdate - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ApplicantUpdate + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ApplicantUpdate.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -293,22 +292,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ApplicantUpdate given an JSON string - * - * @param jsonString JSON string - * @return An instance of ApplicantUpdate - * @throws IOException if the JSON string is invalid with respect to ApplicantUpdate - */ + /** + * Create an instance of ApplicantUpdate given an JSON string + * + * @param jsonString JSON string + * @return An instance of ApplicantUpdate + * @throws IOException if the JSON string is invalid with respect to ApplicantUpdate + */ public static ApplicantUpdate fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ApplicantUpdate.class); } - /** - * Convert an instance of ApplicantUpdate to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ApplicantUpdate to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ApplicantUpdater.java b/src/main/java/com/onfido/model/ApplicantUpdater.java index eb1a07e1..c45e29a0 100644 --- a/src/main/java/com/onfido/model/ApplicantUpdater.java +++ b/src/main/java/com/onfido/model/ApplicantUpdater.java @@ -44,7 +44,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -56,7 +55,7 @@ /** * ApplicantUpdater */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ApplicantUpdater { public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) @@ -102,10 +101,10 @@ public ApplicantUpdater email(String email) { return this; } - /** + /** * The applicant's email address. Required if doing a US check, or a UK check for which `applicant_provides_data` is `true`. * @return email - **/ + */ @javax.annotation.Nullable public String getEmail() { return email; @@ -121,10 +120,10 @@ public ApplicantUpdater dob(LocalDate dob) { return this; } - /** + /** * The applicant's date of birth * @return dob - **/ + */ @javax.annotation.Nullable public LocalDate getDob() { return dob; @@ -148,10 +147,10 @@ public ApplicantUpdater addIdNumbersItem(IdNumber idNumbersItem) { return this; } - /** + /** * Get idNumbers * @return idNumbers - **/ + */ @javax.annotation.Nullable public List getIdNumbers() { return idNumbers; @@ -167,10 +166,10 @@ public ApplicantUpdater phoneNumber(String phoneNumber) { return this; } - /** + /** * The applicant's phone number * @return phoneNumber - **/ + */ @javax.annotation.Nullable public String getPhoneNumber() { return phoneNumber; @@ -194,10 +193,10 @@ public ApplicantUpdater addConsentsItem(ApplicantConsentBuilder consentsItem) { return this; } - /** + /** * The applicant's consents * @return consents - **/ + */ @javax.annotation.Nullable public List getConsents() { return consents; @@ -213,10 +212,10 @@ public ApplicantUpdater address(AddressBuilder address) { return this; } - /** + /** * Get address * @return address - **/ + */ @javax.annotation.Nullable public AddressBuilder getAddress() { return address; @@ -232,10 +231,10 @@ public ApplicantUpdater location(LocationBuilder location) { return this; } - /** + /** * Get location * @return location - **/ + */ @javax.annotation.Nullable public LocationBuilder getLocation() { return location; @@ -251,10 +250,10 @@ public ApplicantUpdater firstName(String firstName) { return this; } - /** + /** * The applicant's first name * @return firstName - **/ + */ @javax.annotation.Nullable public String getFirstName() { return firstName; @@ -270,10 +269,10 @@ public ApplicantUpdater lastName(String lastName) { return this; } - /** + /** * The applicant's surname * @return lastName - **/ + */ @javax.annotation.Nullable public String getLastName() { return lastName; @@ -405,12 +404,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ApplicantUpdater - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ApplicantUpdater + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ApplicantUpdater.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -540,22 +539,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ApplicantUpdater given an JSON string - * - * @param jsonString JSON string - * @return An instance of ApplicantUpdater - * @throws IOException if the JSON string is invalid with respect to ApplicantUpdater - */ + /** + * Create an instance of ApplicantUpdater given an JSON string + * + * @param jsonString JSON string + * @return An instance of ApplicantUpdater + * @throws IOException if the JSON string is invalid with respect to ApplicantUpdater + */ public static ApplicantUpdater fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ApplicantUpdater.class); } - /** - * Convert an instance of ApplicantUpdater to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ApplicantUpdater to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ApplicantsList.java b/src/main/java/com/onfido/model/ApplicantsList.java index c678f0c2..2bd094d6 100644 --- a/src/main/java/com/onfido/model/ApplicantsList.java +++ b/src/main/java/com/onfido/model/ApplicantsList.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * ApplicantsList */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ApplicantsList { public static final String SERIALIZED_NAME_APPLICANTS = "applicants"; @SerializedName(SERIALIZED_NAME_APPLICANTS) @@ -74,10 +73,10 @@ public ApplicantsList addApplicantsItem(Applicant applicantsItem) { return this; } - /** + /** * Get applicants * @return applicants - **/ + */ @javax.annotation.Nonnull public List getApplicants() { return applicants; @@ -186,12 +185,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("applicants"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ApplicantsList - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ApplicantsList + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ApplicantsList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ApplicantsList given an JSON string - * - * @param jsonString JSON string - * @return An instance of ApplicantsList - * @throws IOException if the JSON string is invalid with respect to ApplicantsList - */ + /** + * Create an instance of ApplicantsList given an JSON string + * + * @param jsonString JSON string + * @return An instance of ApplicantsList + * @throws IOException if the JSON string is invalid with respect to ApplicantsList + */ public static ApplicantsList fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ApplicantsList.class); } - /** - * Convert an instance of ApplicantsList to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ApplicantsList to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/Check.java b/src/main/java/com/onfido/model/Check.java index 53f89b3c..329f11ce 100644 --- a/src/main/java/com/onfido/model/Check.java +++ b/src/main/java/com/onfido/model/Check.java @@ -42,7 +42,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -54,7 +53,7 @@ /** * Check */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Check { public static final String SERIALIZED_NAME_WEBHOOK_IDS = "webhook_ids"; @SerializedName(SERIALIZED_NAME_WEBHOOK_IDS) @@ -194,10 +193,10 @@ public Check addWebhookIdsItem(String webhookIdsItem) { return this; } - /** + /** * An array of webhook ids describing which webhooks to trigger for this check. * @return webhookIds - **/ + */ @javax.annotation.Nullable public List getWebhookIds() { return webhookIds; @@ -213,10 +212,10 @@ public Check applicantId(UUID applicantId) { return this; } - /** + /** * The ID of the applicant to do the check on. * @return applicantId - **/ + */ @javax.annotation.Nonnull public UUID getApplicantId() { return applicantId; @@ -232,10 +231,10 @@ public Check applicantProvidesData(Boolean applicantProvidesData) { return this; } - /** + /** * Send an applicant form to applicant to complete to proceed with check. Defaults to false. * @return applicantProvidesData - **/ + */ @javax.annotation.Nullable public Boolean getApplicantProvidesData() { return applicantProvidesData; @@ -259,10 +258,10 @@ public Check addTagsItem(String tagsItem) { return this; } - /** + /** * Array of tags being assigned to this check. * @return tags - **/ + */ @javax.annotation.Nullable public List getTags() { return tags; @@ -278,10 +277,10 @@ public Check redirectUri(String redirectUri) { return this; } - /** + /** * For checks where `applicant_provides_data` is `true`, redirect to this URI when the applicant has submitted their data. * @return redirectUri - **/ + */ @javax.annotation.Nullable public String getRedirectUri() { return redirectUri; @@ -297,10 +296,10 @@ public Check privacyNoticesReadConsentGiven(Boolean privacyNoticesReadConsentGiv return this; } - /** + /** * Get privacyNoticesReadConsentGiven * @return privacyNoticesReadConsentGiven - **/ + */ @javax.annotation.Nullable public Boolean getPrivacyNoticesReadConsentGiven() { return privacyNoticesReadConsentGiven; @@ -316,10 +315,10 @@ public Check id(UUID id) { return this; } - /** + /** * The unique identifier for the check. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -335,10 +334,10 @@ public Check createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time when this check was created. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -354,10 +353,10 @@ public Check href(String href) { return this; } - /** + /** * The uri of this resource. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -373,10 +372,10 @@ public Check status(CheckStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public CheckStatus getStatus() { return status; @@ -392,10 +391,10 @@ public Check result(ResultEnum result) { return this; } - /** + /** * The overall result of the check, based on the results of the constituent reports. * @return result - **/ + */ @javax.annotation.Nullable public ResultEnum getResult() { return result; @@ -411,10 +410,10 @@ public Check formUri(String formUri) { return this; } - /** + /** * A link to the applicant form, if `applicant_provides_data` is `true`. * @return formUri - **/ + */ @javax.annotation.Nullable public String getFormUri() { return formUri; @@ -430,10 +429,10 @@ public Check resultsUri(String resultsUri) { return this; } - /** + /** * A link to the corresponding results page on the Onfido dashboard. * @return resultsUri - **/ + */ @javax.annotation.Nullable public String getResultsUri() { return resultsUri; @@ -457,10 +456,10 @@ public Check addReportIdsItem(UUID reportIdsItem) { return this; } - /** + /** * An array of report ids. * @return reportIds - **/ + */ @javax.annotation.Nullable public List getReportIds() { return reportIds; @@ -476,10 +475,10 @@ public Check sandbox(Boolean sandbox) { return this; } - /** + /** * Indicates whether the object was created in the sandbox or not. * @return sandbox - **/ + */ @javax.annotation.Nullable public Boolean getSandbox() { return sandbox; @@ -495,10 +494,10 @@ public Check paused(Boolean paused) { return this; } - /** + /** * Get paused * @return paused - **/ + */ @javax.annotation.Nullable public Boolean getPaused() { return paused; @@ -514,10 +513,10 @@ public Check version(String version) { return this; } - /** + /** * Get version * @return version - **/ + */ @javax.annotation.Nullable public String getVersion() { return version; @@ -675,12 +674,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to Check - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to Check + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Check.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -816,22 +815,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of Check given an JSON string - * - * @param jsonString JSON string - * @return An instance of Check - * @throws IOException if the JSON string is invalid with respect to Check - */ + /** + * Create an instance of Check given an JSON string + * + * @param jsonString JSON string + * @return An instance of Check + * @throws IOException if the JSON string is invalid with respect to Check + */ public static Check fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, Check.class); } - /** - * Convert an instance of Check to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of Check to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/CheckBuilder.java b/src/main/java/com/onfido/model/CheckBuilder.java index 4abd8c40..97018286 100644 --- a/src/main/java/com/onfido/model/CheckBuilder.java +++ b/src/main/java/com/onfido/model/CheckBuilder.java @@ -42,7 +42,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -54,7 +53,7 @@ /** * CheckBuilder */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class CheckBuilder { public static final String SERIALIZED_NAME_WEBHOOK_IDS = "webhook_ids"; @SerializedName(SERIALIZED_NAME_WEBHOOK_IDS) @@ -124,10 +123,10 @@ public CheckBuilder addWebhookIdsItem(String webhookIdsItem) { return this; } - /** + /** * An array of webhook ids describing which webhooks to trigger for this check. * @return webhookIds - **/ + */ @javax.annotation.Nullable public List getWebhookIds() { return webhookIds; @@ -143,10 +142,10 @@ public CheckBuilder applicantId(UUID applicantId) { return this; } - /** + /** * The ID of the applicant to do the check on. * @return applicantId - **/ + */ @javax.annotation.Nonnull public UUID getApplicantId() { return applicantId; @@ -162,10 +161,10 @@ public CheckBuilder applicantProvidesData(Boolean applicantProvidesData) { return this; } - /** + /** * Send an applicant form to applicant to complete to proceed with check. Defaults to false. * @return applicantProvidesData - **/ + */ @javax.annotation.Nullable public Boolean getApplicantProvidesData() { return applicantProvidesData; @@ -189,10 +188,10 @@ public CheckBuilder addTagsItem(String tagsItem) { return this; } - /** + /** * Array of tags being assigned to this check. * @return tags - **/ + */ @javax.annotation.Nullable public List getTags() { return tags; @@ -208,10 +207,10 @@ public CheckBuilder redirectUri(String redirectUri) { return this; } - /** + /** * For checks where `applicant_provides_data` is `true`, redirect to this URI when the applicant has submitted their data. * @return redirectUri - **/ + */ @javax.annotation.Nullable public String getRedirectUri() { return redirectUri; @@ -227,10 +226,10 @@ public CheckBuilder privacyNoticesReadConsentGiven(Boolean privacyNoticesReadCon return this; } - /** + /** * Get privacyNoticesReadConsentGiven * @return privacyNoticesReadConsentGiven - **/ + */ @javax.annotation.Nullable public Boolean getPrivacyNoticesReadConsentGiven() { return privacyNoticesReadConsentGiven; @@ -254,10 +253,10 @@ public CheckBuilder addReportNamesItem(ReportName reportNamesItem) { return this; } - /** + /** * An array of report names (strings). * @return reportNames - **/ + */ @javax.annotation.Nonnull public List getReportNames() { return reportNames; @@ -281,10 +280,10 @@ public CheckBuilder addDocumentIdsItem(UUID documentIdsItem) { return this; } - /** + /** * Optional. An array of document ids, for use with Document reports only. If omitted, the Document report will use the most recently uploaded document by default. * @return documentIds - **/ + */ @javax.annotation.Nullable public List getDocumentIds() { return documentIds; @@ -300,10 +299,10 @@ public CheckBuilder asynchronous(Boolean asynchronous) { return this; } - /** + /** * Defaults to `true`. If set to `false`, you will only receive a response when all reports in your check have completed. * @return asynchronous - **/ + */ @javax.annotation.Nullable public Boolean getAsynchronous() { return asynchronous; @@ -319,10 +318,10 @@ public CheckBuilder suppressFormEmails(Boolean suppressFormEmails) { return this; } - /** + /** * For checks where `applicant_provides_data` is `true`, applicant form will not be automatically sent if `suppress_form_emails` is set to `true`. You can manually send the form at any time after the check has been created, using the link found in the form_uri attribute of the check object. Write-only. Defaults to false. * @return suppressFormEmails - **/ + */ @javax.annotation.Nullable public Boolean getSuppressFormEmails() { return suppressFormEmails; @@ -338,10 +337,10 @@ public CheckBuilder subResult(String subResult) { return this; } - /** + /** * Triggers responses for particular sub-results for sandbox Document reports. * @return subResult - **/ + */ @javax.annotation.Nullable public String getSubResult() { return subResult; @@ -365,10 +364,10 @@ public CheckBuilder addConsiderItem(ReportName considerItem) { return this; } - /** + /** * Array of names of particular reports to return consider as their results. This is a feature available in sandbox testing * @return consider - **/ + */ @javax.annotation.Nullable public List getConsider() { return consider; @@ -384,10 +383,10 @@ public CheckBuilder usDrivingLicence(UsDrivingLicenceBuilder usDrivingLicence) { return this; } - /** + /** * Get usDrivingLicence * @return usDrivingLicence - **/ + */ @javax.annotation.Nullable public UsDrivingLicenceBuilder getUsDrivingLicence() { return usDrivingLicence; @@ -533,12 +532,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("report_names"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to CheckBuilder - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to CheckBuilder + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!CheckBuilder.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -662,22 +661,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of CheckBuilder given an JSON string - * - * @param jsonString JSON string - * @return An instance of CheckBuilder - * @throws IOException if the JSON string is invalid with respect to CheckBuilder - */ + /** + * Create an instance of CheckBuilder given an JSON string + * + * @param jsonString JSON string + * @return An instance of CheckBuilder + * @throws IOException if the JSON string is invalid with respect to CheckBuilder + */ public static CheckBuilder fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, CheckBuilder.class); } - /** - * Convert an instance of CheckBuilder to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of CheckBuilder to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/CheckRequest.java b/src/main/java/com/onfido/model/CheckRequest.java index 009f6460..d6a543a4 100644 --- a/src/main/java/com/onfido/model/CheckRequest.java +++ b/src/main/java/com/onfido/model/CheckRequest.java @@ -42,7 +42,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -54,7 +53,7 @@ /** * CheckRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class CheckRequest { public static final String SERIALIZED_NAME_REPORT_NAMES = "report_names"; @SerializedName(SERIALIZED_NAME_REPORT_NAMES) @@ -104,10 +103,10 @@ public CheckRequest addReportNamesItem(ReportName reportNamesItem) { return this; } - /** + /** * An array of report names (strings). * @return reportNames - **/ + */ @javax.annotation.Nonnull public List getReportNames() { return reportNames; @@ -131,10 +130,10 @@ public CheckRequest addDocumentIdsItem(UUID documentIdsItem) { return this; } - /** + /** * Optional. An array of document ids, for use with Document reports only. If omitted, the Document report will use the most recently uploaded document by default. * @return documentIds - **/ + */ @javax.annotation.Nullable public List getDocumentIds() { return documentIds; @@ -150,10 +149,10 @@ public CheckRequest applicantProvidesData(Boolean applicantProvidesData) { return this; } - /** + /** * Send an applicant form to applicant to complete to proceed with check. Defaults to false. * @return applicantProvidesData - **/ + */ @javax.annotation.Nullable public Boolean getApplicantProvidesData() { return applicantProvidesData; @@ -169,10 +168,10 @@ public CheckRequest asynchronous(Boolean asynchronous) { return this; } - /** + /** * Defaults to `true`. If set to `false`, you will only receive a response when all reports in your check have completed. * @return asynchronous - **/ + */ @javax.annotation.Nullable public Boolean getAsynchronous() { return asynchronous; @@ -188,10 +187,10 @@ public CheckRequest suppressFormEmails(Boolean suppressFormEmails) { return this; } - /** + /** * For checks where `applicant_provides_data` is `true`, applicant form will not be automatically sent if `suppress_form_emails` is set to `true`. You can manually send the form at any time after the check has been created, using the link found in the form_uri attribute of the check object. Write-only. Defaults to false. * @return suppressFormEmails - **/ + */ @javax.annotation.Nullable public Boolean getSuppressFormEmails() { return suppressFormEmails; @@ -207,10 +206,10 @@ public CheckRequest subResult(String subResult) { return this; } - /** + /** * Triggers responses for particular sub-results for sandbox Document reports. * @return subResult - **/ + */ @javax.annotation.Nullable public String getSubResult() { return subResult; @@ -234,10 +233,10 @@ public CheckRequest addConsiderItem(ReportName considerItem) { return this; } - /** + /** * Array of names of particular reports to return consider as their results. This is a feature available in sandbox testing * @return consider - **/ + */ @javax.annotation.Nullable public List getConsider() { return consider; @@ -253,10 +252,10 @@ public CheckRequest usDrivingLicence(UsDrivingLicenceBuilder usDrivingLicence) { return this; } - /** + /** * Get usDrivingLicence * @return usDrivingLicence - **/ + */ @javax.annotation.Nullable public UsDrivingLicenceBuilder getUsDrivingLicence() { return usDrivingLicence; @@ -386,12 +385,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("report_names"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to CheckRequest - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to CheckRequest + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!CheckRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -501,22 +500,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of CheckRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of CheckRequest - * @throws IOException if the JSON string is invalid with respect to CheckRequest - */ + /** + * Create an instance of CheckRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of CheckRequest + * @throws IOException if the JSON string is invalid with respect to CheckRequest + */ public static CheckRequest fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, CheckRequest.class); } - /** - * Convert an instance of CheckRequest to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of CheckRequest to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/CheckResponse.java b/src/main/java/com/onfido/model/CheckResponse.java index 67ffc659..ffc18c2b 100644 --- a/src/main/java/com/onfido/model/CheckResponse.java +++ b/src/main/java/com/onfido/model/CheckResponse.java @@ -42,7 +42,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -54,7 +53,7 @@ /** * CheckResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class CheckResponse { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -162,10 +161,10 @@ public CheckResponse id(UUID id) { return this; } - /** + /** * The unique identifier for the check. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -181,10 +180,10 @@ public CheckResponse createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time when this check was created. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -200,10 +199,10 @@ public CheckResponse href(String href) { return this; } - /** + /** * The uri of this resource. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -219,10 +218,10 @@ public CheckResponse status(CheckStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public CheckStatus getStatus() { return status; @@ -238,10 +237,10 @@ public CheckResponse result(ResultEnum result) { return this; } - /** + /** * The overall result of the check, based on the results of the constituent reports. * @return result - **/ + */ @javax.annotation.Nullable public ResultEnum getResult() { return result; @@ -257,10 +256,10 @@ public CheckResponse formUri(String formUri) { return this; } - /** + /** * A link to the applicant form, if `applicant_provides_data` is `true`. * @return formUri - **/ + */ @javax.annotation.Nullable public String getFormUri() { return formUri; @@ -276,10 +275,10 @@ public CheckResponse resultsUri(String resultsUri) { return this; } - /** + /** * A link to the corresponding results page on the Onfido dashboard. * @return resultsUri - **/ + */ @javax.annotation.Nullable public String getResultsUri() { return resultsUri; @@ -303,10 +302,10 @@ public CheckResponse addReportIdsItem(UUID reportIdsItem) { return this; } - /** + /** * An array of report ids. * @return reportIds - **/ + */ @javax.annotation.Nullable public List getReportIds() { return reportIds; @@ -322,10 +321,10 @@ public CheckResponse sandbox(Boolean sandbox) { return this; } - /** + /** * Indicates whether the object was created in the sandbox or not. * @return sandbox - **/ + */ @javax.annotation.Nullable public Boolean getSandbox() { return sandbox; @@ -341,10 +340,10 @@ public CheckResponse paused(Boolean paused) { return this; } - /** + /** * Get paused * @return paused - **/ + */ @javax.annotation.Nullable public Boolean getPaused() { return paused; @@ -360,10 +359,10 @@ public CheckResponse version(String version) { return this; } - /** + /** * Get version * @return version - **/ + */ @javax.annotation.Nullable public String getVersion() { return version; @@ -502,12 +501,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to CheckResponse - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to CheckResponse + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!CheckResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -629,22 +628,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of CheckResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of CheckResponse - * @throws IOException if the JSON string is invalid with respect to CheckResponse - */ + /** + * Create an instance of CheckResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of CheckResponse + * @throws IOException if the JSON string is invalid with respect to CheckResponse + */ public static CheckResponse fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, CheckResponse.class); } - /** - * Convert an instance of CheckResponse to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of CheckResponse to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/CheckShared.java b/src/main/java/com/onfido/model/CheckShared.java index de29f61a..51a72d5e 100644 --- a/src/main/java/com/onfido/model/CheckShared.java +++ b/src/main/java/com/onfido/model/CheckShared.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * CheckShared */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class CheckShared { public static final String SERIALIZED_NAME_WEBHOOK_IDS = "webhook_ids"; @SerializedName(SERIALIZED_NAME_WEBHOOK_IDS) @@ -94,10 +93,10 @@ public CheckShared addWebhookIdsItem(String webhookIdsItem) { return this; } - /** + /** * An array of webhook ids describing which webhooks to trigger for this check. * @return webhookIds - **/ + */ @javax.annotation.Nullable public List getWebhookIds() { return webhookIds; @@ -113,10 +112,10 @@ public CheckShared applicantId(UUID applicantId) { return this; } - /** + /** * The ID of the applicant to do the check on. * @return applicantId - **/ + */ @javax.annotation.Nonnull public UUID getApplicantId() { return applicantId; @@ -132,10 +131,10 @@ public CheckShared applicantProvidesData(Boolean applicantProvidesData) { return this; } - /** + /** * Send an applicant form to applicant to complete to proceed with check. Defaults to false. * @return applicantProvidesData - **/ + */ @javax.annotation.Nullable public Boolean getApplicantProvidesData() { return applicantProvidesData; @@ -159,10 +158,10 @@ public CheckShared addTagsItem(String tagsItem) { return this; } - /** + /** * Array of tags being assigned to this check. * @return tags - **/ + */ @javax.annotation.Nullable public List getTags() { return tags; @@ -178,10 +177,10 @@ public CheckShared redirectUri(String redirectUri) { return this; } - /** + /** * For checks where `applicant_provides_data` is `true`, redirect to this URI when the applicant has submitted their data. * @return redirectUri - **/ + */ @javax.annotation.Nullable public String getRedirectUri() { return redirectUri; @@ -197,10 +196,10 @@ public CheckShared privacyNoticesReadConsentGiven(Boolean privacyNoticesReadCons return this; } - /** + /** * Get privacyNoticesReadConsentGiven * @return privacyNoticesReadConsentGiven - **/ + */ @javax.annotation.Nullable public Boolean getPrivacyNoticesReadConsentGiven() { return privacyNoticesReadConsentGiven; @@ -324,12 +323,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("applicant_id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to CheckShared - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to CheckShared + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!CheckShared.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -432,22 +431,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of CheckShared given an JSON string - * - * @param jsonString JSON string - * @return An instance of CheckShared - * @throws IOException if the JSON string is invalid with respect to CheckShared - */ + /** + * Create an instance of CheckShared given an JSON string + * + * @param jsonString JSON string + * @return An instance of CheckShared + * @throws IOException if the JSON string is invalid with respect to CheckShared + */ public static CheckShared fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, CheckShared.class); } - /** - * Convert an instance of CheckShared to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of CheckShared to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ChecksList.java b/src/main/java/com/onfido/model/ChecksList.java index 448e2ab2..5fc164f6 100644 --- a/src/main/java/com/onfido/model/ChecksList.java +++ b/src/main/java/com/onfido/model/ChecksList.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * ChecksList */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ChecksList { public static final String SERIALIZED_NAME_CHECKS = "checks"; @SerializedName(SERIALIZED_NAME_CHECKS) @@ -74,10 +73,10 @@ public ChecksList addChecksItem(Check checksItem) { return this; } - /** + /** * Get checks * @return checks - **/ + */ @javax.annotation.Nonnull public List getChecks() { return checks; @@ -186,12 +185,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("checks"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ChecksList - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ChecksList + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ChecksList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ChecksList given an JSON string - * - * @param jsonString JSON string - * @return An instance of ChecksList - * @throws IOException if the JSON string is invalid with respect to ChecksList - */ + /** + * Create an instance of ChecksList given an JSON string + * + * @param jsonString JSON string + * @return An instance of ChecksList + * @throws IOException if the JSON string is invalid with respect to ChecksList + */ public static ChecksList fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ChecksList.class); } - /** - * Convert an instance of ChecksList to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ChecksList to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/CompleteTaskBuilder.java b/src/main/java/com/onfido/model/CompleteTaskBuilder.java index 0238a80a..ea53e216 100644 --- a/src/main/java/com/onfido/model/CompleteTaskBuilder.java +++ b/src/main/java/com/onfido/model/CompleteTaskBuilder.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * CompleteTaskBuilder */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class CompleteTaskBuilder { public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) @@ -64,10 +63,10 @@ public CompleteTaskBuilder data(CompleteTaskDataBuilder data) { return this; } - /** + /** * Get data * @return data - **/ + */ @javax.annotation.Nonnull public CompleteTaskDataBuilder getData() { return data; @@ -176,12 +175,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("data"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to CompleteTaskBuilder - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to CompleteTaskBuilder + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!CompleteTaskBuilder.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -272,22 +271,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of CompleteTaskBuilder given an JSON string - * - * @param jsonString JSON string - * @return An instance of CompleteTaskBuilder - * @throws IOException if the JSON string is invalid with respect to CompleteTaskBuilder - */ + /** + * Create an instance of CompleteTaskBuilder given an JSON string + * + * @param jsonString JSON string + * @return An instance of CompleteTaskBuilder + * @throws IOException if the JSON string is invalid with respect to CompleteTaskBuilder + */ public static CompleteTaskBuilder fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, CompleteTaskBuilder.class); } - /** - * Convert an instance of CompleteTaskBuilder to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of CompleteTaskBuilder to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/CompleteTaskDataBuilder.java b/src/main/java/com/onfido/model/CompleteTaskDataBuilder.java index 7ddd2112..be9f75c3 100644 --- a/src/main/java/com/onfido/model/CompleteTaskDataBuilder.java +++ b/src/main/java/com/onfido/model/CompleteTaskDataBuilder.java @@ -52,7 +52,7 @@ import com.onfido.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class CompleteTaskDataBuilder extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(CompleteTaskDataBuilder.class.getName()); @@ -65,8 +65,8 @@ public TypeAdapter create(Gson gson, TypeToken type) { } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final Type typeInstance = new TypeToken>(){}.getType(); - final TypeAdapter> adapterListObject = (TypeAdapter>) gson.getDelegateAdapter(this, TypeToken.get(typeInstance)); + final Type typeInstanceListObject = new TypeToken>(){}.getType(); + final TypeAdapter> adapterListObject = (TypeAdapter>) gson.getDelegateAdapter(this, TypeToken.get(typeInstanceListObject)); final TypeAdapter adapterObject = gson.getDelegateAdapter(this, TypeToken.get(Object.class)); final TypeAdapter adapterReportShared = gson.getDelegateAdapter(this, TypeToken.get(ReportShared.class)); @@ -161,11 +161,6 @@ public CompleteTaskDataBuilder() { super("oneOf", Boolean.FALSE); } - public CompleteTaskDataBuilder(List o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - public CompleteTaskDataBuilder(Object o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/src/main/java/com/onfido/model/DeviceIntelligenceBreakdown.java b/src/main/java/com/onfido/model/DeviceIntelligenceBreakdown.java index 4cd0906a..98b9089e 100644 --- a/src/main/java/com/onfido/model/DeviceIntelligenceBreakdown.java +++ b/src/main/java/com/onfido/model/DeviceIntelligenceBreakdown.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * DeviceIntelligenceBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DeviceIntelligenceBreakdown { public static final String SERIALIZED_NAME_BREAKDOWN = "breakdown"; @SerializedName(SERIALIZED_NAME_BREAKDOWN) @@ -69,10 +68,10 @@ public DeviceIntelligenceBreakdown breakdown(DeviceIntelligenceBreakdownBreakdow return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public DeviceIntelligenceBreakdownBreakdown getBreakdown() { return breakdown; @@ -88,10 +87,10 @@ public DeviceIntelligenceBreakdown properties(DeviceIntelligenceBreakdownPropert return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public DeviceIntelligenceBreakdownProperties getProperties() { return properties; @@ -202,12 +201,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DeviceIntelligenceBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -297,22 +296,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DeviceIntelligenceBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of DeviceIntelligenceBreakdown - * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceBreakdown - */ + /** + * Create an instance of DeviceIntelligenceBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of DeviceIntelligenceBreakdown + * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceBreakdown + */ public static DeviceIntelligenceBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DeviceIntelligenceBreakdown.class); } - /** - * Convert an instance of DeviceIntelligenceBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DeviceIntelligenceBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownBreakdown.java b/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownBreakdown.java index 2ff288c9..0e40daac 100644 --- a/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownBreakdown.java +++ b/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownBreakdown.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * DeviceIntelligenceBreakdownBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DeviceIntelligenceBreakdownBreakdown { public static final String SERIALIZED_NAME_DEVICE = "device"; @SerializedName(SERIALIZED_NAME_DEVICE) @@ -64,10 +63,10 @@ public DeviceIntelligenceBreakdownBreakdown device(DeviceIntelligenceBreakdownBr return this; } - /** + /** * Get device * @return device - **/ + */ @javax.annotation.Nullable public DeviceIntelligenceBreakdownBreakdownDevice getDevice() { return device; @@ -175,12 +174,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceBreakdownBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceBreakdownBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DeviceIntelligenceBreakdownBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -266,22 +265,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DeviceIntelligenceBreakdownBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of DeviceIntelligenceBreakdownBreakdown - * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceBreakdownBreakdown - */ + /** + * Create an instance of DeviceIntelligenceBreakdownBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of DeviceIntelligenceBreakdownBreakdown + * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceBreakdownBreakdown + */ public static DeviceIntelligenceBreakdownBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DeviceIntelligenceBreakdownBreakdown.class); } - /** - * Convert an instance of DeviceIntelligenceBreakdownBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DeviceIntelligenceBreakdownBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownBreakdownDevice.java b/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownBreakdownDevice.java index f242a9f0..e4f665bc 100644 --- a/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownBreakdownDevice.java +++ b/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownBreakdownDevice.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the device used to upload the media is trustworthy, i.e. it is a real, physical device. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DeviceIntelligenceBreakdownBreakdownDevice { public static final String SERIALIZED_NAME_BREAKDOWN = "breakdown"; @SerializedName(SERIALIZED_NAME_BREAKDOWN) @@ -64,10 +63,10 @@ public DeviceIntelligenceBreakdownBreakdownDevice breakdown(DeviceIntelligenceBr return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public DeviceIntelligenceBreakdownBreakdownDeviceBreakdown getBreakdown() { return breakdown; @@ -175,12 +174,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceBreakdownBreakdownDevice - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceBreakdownBreakdownDevice + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DeviceIntelligenceBreakdownBreakdownDevice.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -266,22 +265,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DeviceIntelligenceBreakdownBreakdownDevice given an JSON string - * - * @param jsonString JSON string - * @return An instance of DeviceIntelligenceBreakdownBreakdownDevice - * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceBreakdownBreakdownDevice - */ + /** + * Create an instance of DeviceIntelligenceBreakdownBreakdownDevice given an JSON string + * + * @param jsonString JSON string + * @return An instance of DeviceIntelligenceBreakdownBreakdownDevice + * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceBreakdownBreakdownDevice + */ public static DeviceIntelligenceBreakdownBreakdownDevice fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DeviceIntelligenceBreakdownBreakdownDevice.class); } - /** - * Convert an instance of DeviceIntelligenceBreakdownBreakdownDevice to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DeviceIntelligenceBreakdownBreakdownDevice to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownBreakdownDeviceBreakdown.java b/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownBreakdownDeviceBreakdown.java index 86d533ef..ed66cfe5 100644 --- a/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownBreakdownDeviceBreakdown.java +++ b/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownBreakdownDeviceBreakdown.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * DeviceIntelligenceBreakdownBreakdownDeviceBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DeviceIntelligenceBreakdownBreakdownDeviceBreakdown { public static final String SERIALIZED_NAME_APPLICATION_AUTHENTICITY = "application_authenticity"; @SerializedName(SERIALIZED_NAME_APPLICATION_AUTHENTICITY) @@ -72,10 +71,10 @@ public DeviceIntelligenceBreakdownBreakdownDeviceBreakdown applicationAuthentici return this; } - /** + /** * Get applicationAuthenticity * @return applicationAuthenticity - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getApplicationAuthenticity() { return applicationAuthenticity; @@ -91,10 +90,10 @@ public DeviceIntelligenceBreakdownBreakdownDeviceBreakdown deviceIntegrity(Docum return this; } - /** + /** * Get deviceIntegrity * @return deviceIntegrity - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getDeviceIntegrity() { return deviceIntegrity; @@ -110,10 +109,10 @@ public DeviceIntelligenceBreakdownBreakdownDeviceBreakdown deviceReputation(Docu return this; } - /** + /** * Get deviceReputation * @return deviceReputation - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getDeviceReputation() { return deviceReputation; @@ -227,12 +226,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceBreakdownBreakdownDeviceBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceBreakdownBreakdownDeviceBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DeviceIntelligenceBreakdownBreakdownDeviceBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -326,22 +325,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DeviceIntelligenceBreakdownBreakdownDeviceBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of DeviceIntelligenceBreakdownBreakdownDeviceBreakdown - * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceBreakdownBreakdownDeviceBreakdown - */ + /** + * Create an instance of DeviceIntelligenceBreakdownBreakdownDeviceBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of DeviceIntelligenceBreakdownBreakdownDeviceBreakdown + * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceBreakdownBreakdownDeviceBreakdown + */ public static DeviceIntelligenceBreakdownBreakdownDeviceBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DeviceIntelligenceBreakdownBreakdownDeviceBreakdown.class); } - /** - * Convert an instance of DeviceIntelligenceBreakdownBreakdownDeviceBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DeviceIntelligenceBreakdownBreakdownDeviceBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownProperties.java b/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownProperties.java index dc8454ab..ced9a9c2 100644 --- a/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownProperties.java +++ b/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownProperties.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * DeviceIntelligenceBreakdownProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DeviceIntelligenceBreakdownProperties { public static final String SERIALIZED_NAME_DEVICE = "device"; @SerializedName(SERIALIZED_NAME_DEVICE) @@ -74,10 +73,10 @@ public DeviceIntelligenceBreakdownProperties device(DeviceIntelligenceBreakdownP return this; } - /** + /** * Get device * @return device - **/ + */ @javax.annotation.Nullable public DeviceIntelligenceBreakdownPropertiesDevice getDevice() { return device; @@ -93,10 +92,10 @@ public DeviceIntelligenceBreakdownProperties ip(DeviceIntelligenceBreakdownPrope return this; } - /** + /** * Get ip * @return ip - **/ + */ @javax.annotation.Nullable public DeviceIntelligenceBreakdownPropertiesIp getIp() { return ip; @@ -112,10 +111,10 @@ public DeviceIntelligenceBreakdownProperties geolocation(DeviceIntelligenceBreak return this; } - /** + /** * Get geolocation * @return geolocation - **/ + */ @javax.annotation.Nullable public DeviceIntelligenceBreakdownPropertiesGeolocation getGeolocation() { return geolocation; @@ -229,12 +228,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceBreakdownProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceBreakdownProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DeviceIntelligenceBreakdownProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -328,22 +327,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DeviceIntelligenceBreakdownProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of DeviceIntelligenceBreakdownProperties - * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceBreakdownProperties - */ + /** + * Create an instance of DeviceIntelligenceBreakdownProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of DeviceIntelligenceBreakdownProperties + * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceBreakdownProperties + */ public static DeviceIntelligenceBreakdownProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DeviceIntelligenceBreakdownProperties.class); } - /** - * Convert an instance of DeviceIntelligenceBreakdownProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DeviceIntelligenceBreakdownProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownPropertiesDevice.java b/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownPropertiesDevice.java index 4f8864e8..79a3de64 100644 --- a/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownPropertiesDevice.java +++ b/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownPropertiesDevice.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * DeviceIntelligenceBreakdownPropertiesDevice */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DeviceIntelligenceBreakdownPropertiesDevice { public static final String SERIALIZED_NAME_SDK_VERSION = "sdk_version"; @SerializedName(SERIALIZED_NAME_SDK_VERSION) @@ -392,10 +391,10 @@ public DeviceIntelligenceBreakdownPropertiesDevice sdkVersion(String sdkVersion) return this; } - /** + /** * The SDK version that was used. * @return sdkVersion - **/ + */ @javax.annotation.Nullable public String getSdkVersion() { return sdkVersion; @@ -411,10 +410,10 @@ public DeviceIntelligenceBreakdownPropertiesDevice sdkSource(SdkSourceEnum sdkSo return this; } - /** + /** * The SDK used to upload the media. * @return sdkSource - **/ + */ @javax.annotation.Nullable public SdkSourceEnum getSdkSource() { return sdkSource; @@ -430,10 +429,10 @@ public DeviceIntelligenceBreakdownPropertiesDevice authenticationType(Authentica return this; } - /** + /** * The token used to authenticate the request. * @return authenticationType - **/ + */ @javax.annotation.Nullable public AuthenticationTypeEnum getAuthenticationType() { return authenticationType; @@ -449,10 +448,10 @@ public DeviceIntelligenceBreakdownPropertiesDevice rawModel(String rawModel) { return this; } - /** + /** * The model as set by the phone manufacturer (for Android and iOS) or the browser manufacturer (for Web). The model can be presented in name or number form depending on each manufacturer implementation. * @return rawModel - **/ + */ @javax.annotation.Nullable public String getRawModel() { return rawModel; @@ -468,10 +467,10 @@ public DeviceIntelligenceBreakdownPropertiesDevice os(String os) { return this; } - /** + /** * The operating system of the device. The value came from manufacturer implementation (for Android and iOS) or browser's user agent (for Web). * @return os - **/ + */ @javax.annotation.Nullable public String getOs() { return os; @@ -487,10 +486,10 @@ public DeviceIntelligenceBreakdownPropertiesDevice browser(String browser) { return this; } - /** + /** * The browser name reported by the browser's user agent. * @return browser - **/ + */ @javax.annotation.Nullable public String getBrowser() { return browser; @@ -506,10 +505,10 @@ public DeviceIntelligenceBreakdownPropertiesDevice emulator(Boolean emulator) { return this; } - /** + /** * Whether the device is an emulator. * @return emulator - **/ + */ @javax.annotation.Nullable public Boolean getEmulator() { return emulator; @@ -525,10 +524,10 @@ public DeviceIntelligenceBreakdownPropertiesDevice randomizedDevice(Boolean rand return this; } - /** + /** * Whether the device is providing false randomized device and network information. * @return randomizedDevice - **/ + */ @javax.annotation.Nullable public Boolean getRandomizedDevice() { return randomizedDevice; @@ -544,10 +543,10 @@ public DeviceIntelligenceBreakdownPropertiesDevice fakeNetworkRequest(Boolean fa return this; } - /** + /** * Whether device is using stolen security tokens to send the network information. * @return fakeNetworkRequest - **/ + */ @javax.annotation.Nullable public Boolean getFakeNetworkRequest() { return fakeNetworkRequest; @@ -563,10 +562,10 @@ public DeviceIntelligenceBreakdownPropertiesDevice ipReputation(IpReputationEnum return this; } - /** + /** * Whether there is highly suspicious traffic related to the IP address. The risk depends on the overall ratio of clear checks on a given IP. * @return ipReputation - **/ + */ @javax.annotation.Nullable public IpReputationEnum getIpReputation() { return ipReputation; @@ -582,10 +581,10 @@ public DeviceIntelligenceBreakdownPropertiesDevice deviceFingerprintReuse(Intege return this; } - /** + /** * The number of times the device was used to create a report for a new applicant. A value greater than 1 indicates potential device reuse. * @return deviceFingerprintReuse - **/ + */ @javax.annotation.Nullable public Integer getDeviceFingerprintReuse() { return deviceFingerprintReuse; @@ -601,10 +600,10 @@ public DeviceIntelligenceBreakdownPropertiesDevice singleDeviceUsed(Boolean sing return this; } - /** + /** * Whether the document or biometric media were uploaded from a single device. * @return singleDeviceUsed - **/ + */ @javax.annotation.Nullable public Boolean getSingleDeviceUsed() { return singleDeviceUsed; @@ -620,10 +619,10 @@ public DeviceIntelligenceBreakdownPropertiesDevice documentCapture(DocumentCaptu return this; } - /** + /** * Whether the document media were live captured from the device camera. * @return documentCapture - **/ + */ @javax.annotation.Nullable public DocumentCaptureEnum getDocumentCapture() { return documentCapture; @@ -639,10 +638,10 @@ public DeviceIntelligenceBreakdownPropertiesDevice biometricCapture(BiometricCap return this; } - /** + /** * Whether the biometric media were live captured from the device camera. * @return biometricCapture - **/ + */ @javax.annotation.Nullable public BiometricCaptureEnum getBiometricCapture() { return biometricCapture; @@ -800,12 +799,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceBreakdownPropertiesDevice - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceBreakdownPropertiesDevice + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DeviceIntelligenceBreakdownPropertiesDevice.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -934,22 +933,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DeviceIntelligenceBreakdownPropertiesDevice given an JSON string - * - * @param jsonString JSON string - * @return An instance of DeviceIntelligenceBreakdownPropertiesDevice - * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceBreakdownPropertiesDevice - */ + /** + * Create an instance of DeviceIntelligenceBreakdownPropertiesDevice given an JSON string + * + * @param jsonString JSON string + * @return An instance of DeviceIntelligenceBreakdownPropertiesDevice + * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceBreakdownPropertiesDevice + */ public static DeviceIntelligenceBreakdownPropertiesDevice fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DeviceIntelligenceBreakdownPropertiesDevice.class); } - /** - * Convert an instance of DeviceIntelligenceBreakdownPropertiesDevice to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DeviceIntelligenceBreakdownPropertiesDevice to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownPropertiesGeolocation.java b/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownPropertiesGeolocation.java index 6ff085ce..6605fa9f 100644 --- a/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownPropertiesGeolocation.java +++ b/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownPropertiesGeolocation.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * DeviceIntelligenceBreakdownPropertiesGeolocation */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DeviceIntelligenceBreakdownPropertiesGeolocation { public static final String SERIALIZED_NAME_CITY = "city"; @SerializedName(SERIALIZED_NAME_CITY) @@ -72,10 +71,10 @@ public DeviceIntelligenceBreakdownPropertiesGeolocation city(String city) { return this; } - /** + /** * City location of the IP address. * @return city - **/ + */ @javax.annotation.Nullable public String getCity() { return city; @@ -91,10 +90,10 @@ public DeviceIntelligenceBreakdownPropertiesGeolocation region(String region) { return this; } - /** + /** * Region location of the IP address. * @return region - **/ + */ @javax.annotation.Nullable public String getRegion() { return region; @@ -110,10 +109,10 @@ public DeviceIntelligenceBreakdownPropertiesGeolocation country(CountryCodes cou return this; } - /** + /** * Country location of the IP address in a three letter format. * @return country - **/ + */ @javax.annotation.Nullable public CountryCodes getCountry() { return country; @@ -227,12 +226,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceBreakdownPropertiesGeolocation - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceBreakdownPropertiesGeolocation + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DeviceIntelligenceBreakdownPropertiesGeolocation.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -324,22 +323,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DeviceIntelligenceBreakdownPropertiesGeolocation given an JSON string - * - * @param jsonString JSON string - * @return An instance of DeviceIntelligenceBreakdownPropertiesGeolocation - * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceBreakdownPropertiesGeolocation - */ + /** + * Create an instance of DeviceIntelligenceBreakdownPropertiesGeolocation given an JSON string + * + * @param jsonString JSON string + * @return An instance of DeviceIntelligenceBreakdownPropertiesGeolocation + * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceBreakdownPropertiesGeolocation + */ public static DeviceIntelligenceBreakdownPropertiesGeolocation fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DeviceIntelligenceBreakdownPropertiesGeolocation.class); } - /** - * Convert an instance of DeviceIntelligenceBreakdownPropertiesGeolocation to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DeviceIntelligenceBreakdownPropertiesGeolocation to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownPropertiesIp.java b/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownPropertiesIp.java index 11790aa2..1aaa72ed 100644 --- a/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownPropertiesIp.java +++ b/src/main/java/com/onfido/model/DeviceIntelligenceBreakdownPropertiesIp.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * DeviceIntelligenceBreakdownPropertiesIp */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DeviceIntelligenceBreakdownPropertiesIp { public static final String SERIALIZED_NAME_ADDRESS = "address"; @SerializedName(SERIALIZED_NAME_ADDRESS) @@ -63,10 +62,10 @@ public DeviceIntelligenceBreakdownPropertiesIp address(String address) { return this; } - /** + /** * The IP address that uploaded the media. * @return address - **/ + */ @javax.annotation.Nullable public String getAddress() { return address; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceBreakdownPropertiesIp - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceBreakdownPropertiesIp + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DeviceIntelligenceBreakdownPropertiesIp.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -264,22 +263,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DeviceIntelligenceBreakdownPropertiesIp given an JSON string - * - * @param jsonString JSON string - * @return An instance of DeviceIntelligenceBreakdownPropertiesIp - * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceBreakdownPropertiesIp - */ + /** + * Create an instance of DeviceIntelligenceBreakdownPropertiesIp given an JSON string + * + * @param jsonString JSON string + * @return An instance of DeviceIntelligenceBreakdownPropertiesIp + * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceBreakdownPropertiesIp + */ public static DeviceIntelligenceBreakdownPropertiesIp fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DeviceIntelligenceBreakdownPropertiesIp.class); } - /** - * Convert an instance of DeviceIntelligenceBreakdownPropertiesIp to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DeviceIntelligenceBreakdownPropertiesIp to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DeviceIntelligenceReport.java b/src/main/java/com/onfido/model/DeviceIntelligenceReport.java index c2b87659..a6bb55bb 100644 --- a/src/main/java/com/onfido/model/DeviceIntelligenceReport.java +++ b/src/main/java/com/onfido/model/DeviceIntelligenceReport.java @@ -47,7 +47,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -59,7 +58,7 @@ /** * DeviceIntelligenceReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DeviceIntelligenceReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -109,10 +108,10 @@ public DeviceIntelligenceReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -128,10 +127,10 @@ public DeviceIntelligenceReport createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -147,10 +146,10 @@ public DeviceIntelligenceReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -166,10 +165,10 @@ public DeviceIntelligenceReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -185,10 +184,10 @@ public DeviceIntelligenceReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -204,10 +203,10 @@ public DeviceIntelligenceReport subResult(ReportSubResult subResult) { return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -223,10 +222,10 @@ public DeviceIntelligenceReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -250,10 +249,10 @@ public DeviceIntelligenceReport addDocumentsItem(ReportDocument documentsItem) { return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -269,10 +268,10 @@ public DeviceIntelligenceReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -288,10 +287,10 @@ public DeviceIntelligenceReport breakdown(DeviceIntelligenceBreakdown breakdown) return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public DeviceIntelligenceBreakdown getBreakdown() { return breakdown; @@ -428,12 +427,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DeviceIntelligenceReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DeviceIntelligenceReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -563,22 +562,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DeviceIntelligenceReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of DeviceIntelligenceReport - * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceReport - */ + /** + * Create an instance of DeviceIntelligenceReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of DeviceIntelligenceReport + * @throws IOException if the JSON string is invalid with respect to DeviceIntelligenceReport + */ public static DeviceIntelligenceReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DeviceIntelligenceReport.class); } - /** - * Convert an instance of DeviceIntelligenceReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DeviceIntelligenceReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/Document.java b/src/main/java/com/onfido/model/Document.java index 04eef3a1..b976f5da 100644 --- a/src/main/java/com/onfido/model/Document.java +++ b/src/main/java/com/onfido/model/Document.java @@ -41,7 +41,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -53,7 +52,7 @@ /** * Document */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Document { /** * The file type of the uploaded file @@ -219,10 +218,10 @@ public Document fileType(FileTypeEnum fileType) { return this; } - /** + /** * The file type of the uploaded file * @return fileType - **/ + */ @javax.annotation.Nullable public FileTypeEnum getFileType() { return fileType; @@ -238,10 +237,10 @@ public Document type(DocumentTypes type) { return this; } - /** + /** * The type of document * @return type - **/ + */ @javax.annotation.Nullable public DocumentTypes getType() { return type; @@ -257,10 +256,10 @@ public Document side(SideEnum side) { return this; } - /** + /** * The side of the document, if applicable. The possible values are front and back * @return side - **/ + */ @javax.annotation.Nullable public SideEnum getSide() { return side; @@ -276,10 +275,10 @@ public Document issuingCountry(CountryCodes issuingCountry) { return this; } - /** + /** * The issuing country of the document, a 3-letter ISO code. * @return issuingCountry - **/ + */ @javax.annotation.Nullable public CountryCodes getIssuingCountry() { return issuingCountry; @@ -295,10 +294,10 @@ public Document applicantId(UUID applicantId) { return this; } - /** + /** * The ID of the applicant whose document is being uploaded. * @return applicantId - **/ + */ @javax.annotation.Nullable public UUID getApplicantId() { return applicantId; @@ -314,10 +313,10 @@ public Document id(UUID id) { return this; } - /** + /** * The unique identifier for the document * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -333,10 +332,10 @@ public Document createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the document was uploaded * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -352,10 +351,10 @@ public Document href(String href) { return this; } - /** + /** * The uri of this resource * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -371,10 +370,10 @@ public Document downloadHref(String downloadHref) { return this; } - /** + /** * The uri that can be used to download the document * @return downloadHref - **/ + */ @javax.annotation.Nullable public String getDownloadHref() { return downloadHref; @@ -390,10 +389,10 @@ public Document fileName(String fileName) { return this; } - /** + /** * The name of the uploaded file * @return fileName - **/ + */ @javax.annotation.Nullable public String getFileName() { return fileName; @@ -409,10 +408,10 @@ public Document fileSize(Integer fileSize) { return this; } - /** + /** * The size of the file in bytes * @return fileSize - **/ + */ @javax.annotation.Nullable public Integer getFileSize() { return fileSize; @@ -551,12 +550,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to Document - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to Document + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Document.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -682,22 +681,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of Document given an JSON string - * - * @param jsonString JSON string - * @return An instance of Document - * @throws IOException if the JSON string is invalid with respect to Document - */ + /** + * Create an instance of Document given an JSON string + * + * @param jsonString JSON string + * @return An instance of Document + * @throws IOException if the JSON string is invalid with respect to Document + */ public static Document fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, Document.class); } - /** - * Convert an instance of Document to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of Document to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdown.java b/src/main/java/com/onfido/model/DocumentBreakdown.java index b20743c2..d707d139 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdown.java +++ b/src/main/java/com/onfido/model/DocumentBreakdown.java @@ -46,7 +46,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -58,7 +57,7 @@ /** * DocumentBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdown { public static final String SERIALIZED_NAME_DATA_COMPARISON = "data_comparison"; @SerializedName(SERIALIZED_NAME_DATA_COMPARISON) @@ -104,10 +103,10 @@ public DocumentBreakdown dataComparison(DocumentBreakdownDataComparison dataComp return this; } - /** + /** * Get dataComparison * @return dataComparison - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparison getDataComparison() { return dataComparison; @@ -123,10 +122,10 @@ public DocumentBreakdown dataValidation(DocumentBreakdownDataValidation dataVali return this; } - /** + /** * Get dataValidation * @return dataValidation - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataValidation getDataValidation() { return dataValidation; @@ -142,10 +141,10 @@ public DocumentBreakdown imageIntegrity(DocumentBreakdownImageIntegrity imageInt return this; } - /** + /** * Get imageIntegrity * @return imageIntegrity - **/ + */ @javax.annotation.Nullable public DocumentBreakdownImageIntegrity getImageIntegrity() { return imageIntegrity; @@ -161,10 +160,10 @@ public DocumentBreakdown visualAuthenticity(DocumentBreakdownVisualAuthenticity return this; } - /** + /** * Get visualAuthenticity * @return visualAuthenticity - **/ + */ @javax.annotation.Nullable public DocumentBreakdownVisualAuthenticity getVisualAuthenticity() { return visualAuthenticity; @@ -180,10 +179,10 @@ public DocumentBreakdown dataConsistency(DocumentBreakdownDataConsistency dataCo return this; } - /** + /** * Get dataConsistency * @return dataConsistency - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataConsistency getDataConsistency() { return dataConsistency; @@ -199,10 +198,10 @@ public DocumentBreakdown policeRecord(DocumentBreakdownPoliceRecord policeRecord return this; } - /** + /** * Get policeRecord * @return policeRecord - **/ + */ @javax.annotation.Nullable public DocumentBreakdownPoliceRecord getPoliceRecord() { return policeRecord; @@ -218,10 +217,10 @@ public DocumentBreakdown compromisedDocument(DocumentBreakdownCompromisedDocumen return this; } - /** + /** * Get compromisedDocument * @return compromisedDocument - **/ + */ @javax.annotation.Nullable public DocumentBreakdownCompromisedDocument getCompromisedDocument() { return compromisedDocument; @@ -237,10 +236,10 @@ public DocumentBreakdown ageValidation(DocumentBreakdownAgeValidation ageValidat return this; } - /** + /** * Get ageValidation * @return ageValidation - **/ + */ @javax.annotation.Nullable public DocumentBreakdownAgeValidation getAgeValidation() { return ageValidation; @@ -256,10 +255,10 @@ public DocumentBreakdown issuingAuthority(DocumentBreakdownIssuingAuthority issu return this; } - /** + /** * Get issuingAuthority * @return issuingAuthority - **/ + */ @javax.annotation.Nullable public DocumentBreakdownIssuingAuthority getIssuingAuthority() { return issuingAuthority; @@ -391,12 +390,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -514,22 +513,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdown - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdown - */ + /** + * Create an instance of DocumentBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdown + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdown + */ public static DocumentBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdown.class); } - /** - * Convert an instance of DocumentBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownAgeValidation.java b/src/main/java/com/onfido/model/DocumentBreakdownAgeValidation.java index 45cea1da..29663d53 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownAgeValidation.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownAgeValidation.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the age calculated from the document's date of birth data point is greater than or equal to the minimum accepted age. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownAgeValidation { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public DocumentBreakdownAgeValidation result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public DocumentBreakdownAgeValidation breakdown(DocumentBreakdownAgeValidationBr return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public DocumentBreakdownAgeValidationBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownAgeValidation - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownAgeValidation + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownAgeValidation.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownAgeValidation given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownAgeValidation - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownAgeValidation - */ + /** + * Create an instance of DocumentBreakdownAgeValidation given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownAgeValidation + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownAgeValidation + */ public static DocumentBreakdownAgeValidation fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownAgeValidation.class); } - /** - * Convert an instance of DocumentBreakdownAgeValidation to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownAgeValidation to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownAgeValidationBreakdown.java b/src/main/java/com/onfido/model/DocumentBreakdownAgeValidationBreakdown.java index 0e2f6aba..f82b873e 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownAgeValidationBreakdown.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownAgeValidationBreakdown.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * DocumentBreakdownAgeValidationBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownAgeValidationBreakdown { public static final String SERIALIZED_NAME_MINIMUM_ACCEPTED_AGE = "minimum_accepted_age"; @SerializedName(SERIALIZED_NAME_MINIMUM_ACCEPTED_AGE) @@ -64,10 +63,10 @@ public DocumentBreakdownAgeValidationBreakdown minimumAcceptedAge(DocumentBreakd return this; } - /** + /** * Get minimumAcceptedAge * @return minimumAcceptedAge - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getMinimumAcceptedAge() { return minimumAcceptedAge; @@ -175,12 +174,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownAgeValidationBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownAgeValidationBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownAgeValidationBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -266,22 +265,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownAgeValidationBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownAgeValidationBreakdown - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownAgeValidationBreakdown - */ + /** + * Create an instance of DocumentBreakdownAgeValidationBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownAgeValidationBreakdown + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownAgeValidationBreakdown + */ public static DocumentBreakdownAgeValidationBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownAgeValidationBreakdown.class); } - /** - * Convert an instance of DocumentBreakdownAgeValidationBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownAgeValidationBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownCompromisedDocument.java b/src/main/java/com/onfido/model/DocumentBreakdownCompromisedDocument.java index 7ce16e23..53b51bfb 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownCompromisedDocument.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownCompromisedDocument.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the image of the document has been found in our internal database or if it was used in a suspicious way. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownCompromisedDocument { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public DocumentBreakdownCompromisedDocument result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public DocumentBreakdownCompromisedDocument breakdown(DocumentBreakdownCompromis return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public DocumentBreakdownCompromisedDocumentBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownCompromisedDocument - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownCompromisedDocument + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownCompromisedDocument.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownCompromisedDocument given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownCompromisedDocument - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownCompromisedDocument - */ + /** + * Create an instance of DocumentBreakdownCompromisedDocument given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownCompromisedDocument + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownCompromisedDocument + */ public static DocumentBreakdownCompromisedDocument fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownCompromisedDocument.class); } - /** - * Convert an instance of DocumentBreakdownCompromisedDocument to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownCompromisedDocument to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownCompromisedDocumentBreakdown.java b/src/main/java/com/onfido/model/DocumentBreakdownCompromisedDocumentBreakdown.java index 9a39f0d3..ddced25e 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownCompromisedDocumentBreakdown.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownCompromisedDocumentBreakdown.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * DocumentBreakdownCompromisedDocumentBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownCompromisedDocumentBreakdown { public static final String SERIALIZED_NAME_DOCUMENT_DATABASE = "document_database"; @SerializedName(SERIALIZED_NAME_DOCUMENT_DATABASE) @@ -68,10 +67,10 @@ public DocumentBreakdownCompromisedDocumentBreakdown documentDatabase(DocumentBr return this; } - /** + /** * Get documentDatabase * @return documentDatabase - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getDocumentDatabase() { return documentDatabase; @@ -87,10 +86,10 @@ public DocumentBreakdownCompromisedDocumentBreakdown repeatAttempts(DocumentBrea return this; } - /** + /** * Get repeatAttempts * @return repeatAttempts - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getRepeatAttempts() { return repeatAttempts; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownCompromisedDocumentBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownCompromisedDocumentBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownCompromisedDocumentBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -296,22 +295,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownCompromisedDocumentBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownCompromisedDocumentBreakdown - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownCompromisedDocumentBreakdown - */ + /** + * Create an instance of DocumentBreakdownCompromisedDocumentBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownCompromisedDocumentBreakdown + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownCompromisedDocumentBreakdown + */ public static DocumentBreakdownCompromisedDocumentBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownCompromisedDocumentBreakdown.class); } - /** - * Convert an instance of DocumentBreakdownCompromisedDocumentBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownCompromisedDocumentBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownDataComparison.java b/src/main/java/com/onfido/model/DocumentBreakdownDataComparison.java index eb0fc91e..66455a5b 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownDataComparison.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownDataComparison.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether data on the document is consistent with data provided when creating an applicant through the API. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownDataComparison { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public DocumentBreakdownDataComparison result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public DocumentBreakdownDataComparison breakdown(DocumentBreakdownDataComparison return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataComparison - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataComparison + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownDataComparison.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownDataComparison given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownDataComparison - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataComparison - */ + /** + * Create an instance of DocumentBreakdownDataComparison given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownDataComparison + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataComparison + */ public static DocumentBreakdownDataComparison fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownDataComparison.class); } - /** - * Convert an instance of DocumentBreakdownDataComparison to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownDataComparison to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownDataComparisonBreakdown.java b/src/main/java/com/onfido/model/DocumentBreakdownDataComparisonBreakdown.java index 6a84b35b..ea7d4b35 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownDataComparisonBreakdown.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownDataComparisonBreakdown.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * DocumentBreakdownDataComparisonBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownDataComparisonBreakdown { public static final String SERIALIZED_NAME_ISSUING_COUNTRY = "issuing_country"; @SerializedName(SERIALIZED_NAME_ISSUING_COUNTRY) @@ -92,10 +91,10 @@ public DocumentBreakdownDataComparisonBreakdown issuingCountry(DocumentBreakdown return this; } - /** + /** * Get issuingCountry * @return issuingCountry - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getIssuingCountry() { return issuingCountry; @@ -111,10 +110,10 @@ public DocumentBreakdownDataComparisonBreakdown gender(DocumentBreakdownDataComp return this; } - /** + /** * Get gender * @return gender - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getGender() { return gender; @@ -130,10 +129,10 @@ public DocumentBreakdownDataComparisonBreakdown dateOfExpiry(DocumentBreakdownDa return this; } - /** + /** * Get dateOfExpiry * @return dateOfExpiry - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getDateOfExpiry() { return dateOfExpiry; @@ -149,10 +148,10 @@ public DocumentBreakdownDataComparisonBreakdown lastName(DocumentBreakdownDataCo return this; } - /** + /** * Get lastName * @return lastName - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getLastName() { return lastName; @@ -168,10 +167,10 @@ public DocumentBreakdownDataComparisonBreakdown documentType(DocumentBreakdownDa return this; } - /** + /** * Get documentType * @return documentType - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getDocumentType() { return documentType; @@ -187,10 +186,10 @@ public DocumentBreakdownDataComparisonBreakdown documentNumbers(DocumentBreakdow return this; } - /** + /** * Get documentNumbers * @return documentNumbers - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getDocumentNumbers() { return documentNumbers; @@ -206,10 +205,10 @@ public DocumentBreakdownDataComparisonBreakdown firstName(DocumentBreakdownDataC return this; } - /** + /** * Get firstName * @return firstName - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getFirstName() { return firstName; @@ -225,10 +224,10 @@ public DocumentBreakdownDataComparisonBreakdown dateOfBirth(DocumentBreakdownDat return this; } - /** + /** * Get dateOfBirth * @return dateOfBirth - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getDateOfBirth() { return dateOfBirth; @@ -357,12 +356,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataComparisonBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataComparisonBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownDataComparisonBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -476,22 +475,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownDataComparisonBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownDataComparisonBreakdown - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataComparisonBreakdown - */ + /** + * Create an instance of DocumentBreakdownDataComparisonBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownDataComparisonBreakdown + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataComparisonBreakdown + */ public static DocumentBreakdownDataComparisonBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownDataComparisonBreakdown.class); } - /** - * Convert an instance of DocumentBreakdownDataComparisonBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownDataComparisonBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownDataComparisonBreakdownIssuingCountry.java b/src/main/java/com/onfido/model/DocumentBreakdownDataComparisonBreakdownIssuingCountry.java index d63bdb74..2eb6be31 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownDataComparisonBreakdownIssuingCountry.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownDataComparisonBreakdownIssuingCountry.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * DocumentBreakdownDataComparisonBreakdownIssuingCountry */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownDataComparisonBreakdownIssuingCountry { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public DocumentBreakdownDataComparisonBreakdownIssuingCountry result(String resu return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public DocumentBreakdownDataComparisonBreakdownIssuingCountry properties(Object return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataComparisonBreakdownIssuingCountry - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataComparisonBreakdownIssuingCountry + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownDataComparisonBreakdownIssuingCountry.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownDataComparisonBreakdownIssuingCountry given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownDataComparisonBreakdownIssuingCountry - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataComparisonBreakdownIssuingCountry - */ + /** + * Create an instance of DocumentBreakdownDataComparisonBreakdownIssuingCountry given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownDataComparisonBreakdownIssuingCountry + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataComparisonBreakdownIssuingCountry + */ public static DocumentBreakdownDataComparisonBreakdownIssuingCountry fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownDataComparisonBreakdownIssuingCountry.class); } - /** - * Convert an instance of DocumentBreakdownDataComparisonBreakdownIssuingCountry to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownDataComparisonBreakdownIssuingCountry to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownDataConsistency.java b/src/main/java/com/onfido/model/DocumentBreakdownDataConsistency.java index 7cb29711..6c702576 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownDataConsistency.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownDataConsistency.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether data represented in multiple places on the document is consistent. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownDataConsistency { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public DocumentBreakdownDataConsistency result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public DocumentBreakdownDataConsistency breakdown(DocumentBreakdownDataConsisten return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataConsistencyBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataConsistency - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataConsistency + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownDataConsistency.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownDataConsistency given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownDataConsistency - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataConsistency - */ + /** + * Create an instance of DocumentBreakdownDataConsistency given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownDataConsistency + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataConsistency + */ public static DocumentBreakdownDataConsistency fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownDataConsistency.class); } - /** - * Convert an instance of DocumentBreakdownDataConsistency to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownDataConsistency to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownDataConsistencyBreakdown.java b/src/main/java/com/onfido/model/DocumentBreakdownDataConsistencyBreakdown.java index 028b76bb..9497c848 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownDataConsistencyBreakdown.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownDataConsistencyBreakdown.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * DocumentBreakdownDataConsistencyBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownDataConsistencyBreakdown { public static final String SERIALIZED_NAME_DATE_OF_EXPIRY = "date_of_expiry"; @SerializedName(SERIALIZED_NAME_DATE_OF_EXPIRY) @@ -100,10 +99,10 @@ public DocumentBreakdownDataConsistencyBreakdown dateOfExpiry(DocumentBreakdownD return this; } - /** + /** * Get dateOfExpiry * @return dateOfExpiry - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getDateOfExpiry() { return dateOfExpiry; @@ -119,10 +118,10 @@ public DocumentBreakdownDataConsistencyBreakdown documentNumbers(DocumentBreakdo return this; } - /** + /** * Get documentNumbers * @return documentNumbers - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getDocumentNumbers() { return documentNumbers; @@ -138,10 +137,10 @@ public DocumentBreakdownDataConsistencyBreakdown issuingCountry(DocumentBreakdow return this; } - /** + /** * Get issuingCountry * @return issuingCountry - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getIssuingCountry() { return issuingCountry; @@ -157,10 +156,10 @@ public DocumentBreakdownDataConsistencyBreakdown documentType(DocumentBreakdownD return this; } - /** + /** * Get documentType * @return documentType - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getDocumentType() { return documentType; @@ -176,10 +175,10 @@ public DocumentBreakdownDataConsistencyBreakdown dateOfBirth(DocumentBreakdownDa return this; } - /** + /** * Get dateOfBirth * @return dateOfBirth - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getDateOfBirth() { return dateOfBirth; @@ -195,10 +194,10 @@ public DocumentBreakdownDataConsistencyBreakdown gender(DocumentBreakdownDataCom return this; } - /** + /** * Get gender * @return gender - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getGender() { return gender; @@ -214,10 +213,10 @@ public DocumentBreakdownDataConsistencyBreakdown firstName(DocumentBreakdownData return this; } - /** + /** * Get firstName * @return firstName - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getFirstName() { return firstName; @@ -233,10 +232,10 @@ public DocumentBreakdownDataConsistencyBreakdown nationality(DocumentBreakdownDa return this; } - /** + /** * Get nationality * @return nationality - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getNationality() { return nationality; @@ -252,10 +251,10 @@ public DocumentBreakdownDataConsistencyBreakdown lastName(DocumentBreakdownDataC return this; } - /** + /** * Get lastName * @return lastName - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getLastName() { return lastName; @@ -271,10 +270,10 @@ public DocumentBreakdownDataConsistencyBreakdown multipleDataSourcesPresent(Docu return this; } - /** + /** * Get multipleDataSourcesPresent * @return multipleDataSourcesPresent - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getMultipleDataSourcesPresent() { return multipleDataSourcesPresent; @@ -409,12 +408,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataConsistencyBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataConsistencyBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownDataConsistencyBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -536,22 +535,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownDataConsistencyBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownDataConsistencyBreakdown - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataConsistencyBreakdown - */ + /** + * Create an instance of DocumentBreakdownDataConsistencyBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownDataConsistencyBreakdown + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataConsistencyBreakdown + */ public static DocumentBreakdownDataConsistencyBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownDataConsistencyBreakdown.class); } - /** - * Convert an instance of DocumentBreakdownDataConsistencyBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownDataConsistencyBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownDataValidation.java b/src/main/java/com/onfido/model/DocumentBreakdownDataValidation.java index fa071b35..7aab73d1 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownDataValidation.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownDataValidation.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether algorithmically validatable elements are correct. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownDataValidation { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public DocumentBreakdownDataValidation result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public DocumentBreakdownDataValidation breakdown(DocumentBreakdownDataValidation return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataValidationBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataValidation - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataValidation + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownDataValidation.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownDataValidation given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownDataValidation - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataValidation - */ + /** + * Create an instance of DocumentBreakdownDataValidation given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownDataValidation + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataValidation + */ public static DocumentBreakdownDataValidation fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownDataValidation.class); } - /** - * Convert an instance of DocumentBreakdownDataValidation to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownDataValidation to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownDataValidationBreakdown.java b/src/main/java/com/onfido/model/DocumentBreakdownDataValidationBreakdown.java index c474b8b9..50fe7f0b 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownDataValidationBreakdown.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownDataValidationBreakdown.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * DocumentBreakdownDataValidationBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownDataValidationBreakdown { public static final String SERIALIZED_NAME_GENDER = "gender"; @SerializedName(SERIALIZED_NAME_GENDER) @@ -90,10 +89,10 @@ public DocumentBreakdownDataValidationBreakdown gender(DocumentBreakdownDataComp return this; } - /** + /** * Get gender * @return gender - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getGender() { return gender; @@ -109,10 +108,10 @@ public DocumentBreakdownDataValidationBreakdown dateOfBirth(DocumentBreakdownDat return this; } - /** + /** * Get dateOfBirth * @return dateOfBirth - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getDateOfBirth() { return dateOfBirth; @@ -128,10 +127,10 @@ public DocumentBreakdownDataValidationBreakdown documentNumbers(DocumentBreakdow return this; } - /** + /** * Get documentNumbers * @return documentNumbers - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getDocumentNumbers() { return documentNumbers; @@ -147,10 +146,10 @@ public DocumentBreakdownDataValidationBreakdown documentExpiration(DocumentBreak return this; } - /** + /** * Get documentExpiration * @return documentExpiration - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataValidationBreakdownDocumentExpiration getDocumentExpiration() { return documentExpiration; @@ -166,10 +165,10 @@ public DocumentBreakdownDataValidationBreakdown expiryDate(DocumentBreakdownData return this; } - /** + /** * Get expiryDate * @return expiryDate - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataValidationBreakdownExpiryDate getExpiryDate() { return expiryDate; @@ -185,10 +184,10 @@ public DocumentBreakdownDataValidationBreakdown mrz(DocumentBreakdownDataCompari return this; } - /** + /** * Get mrz * @return mrz - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getMrz() { return mrz; @@ -204,10 +203,10 @@ public DocumentBreakdownDataValidationBreakdown barcode(DocumentBreakdownDataCom return this; } - /** + /** * Get barcode * @return barcode - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getBarcode() { return barcode; @@ -333,12 +332,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataValidationBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataValidationBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownDataValidationBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -448,22 +447,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownDataValidationBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownDataValidationBreakdown - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataValidationBreakdown - */ + /** + * Create an instance of DocumentBreakdownDataValidationBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownDataValidationBreakdown + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataValidationBreakdown + */ public static DocumentBreakdownDataValidationBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownDataValidationBreakdown.class); } - /** - * Convert an instance of DocumentBreakdownDataValidationBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownDataValidationBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownDataValidationBreakdownDocumentExpiration.java b/src/main/java/com/onfido/model/DocumentBreakdownDataValidationBreakdownDocumentExpiration.java index d97fd22e..8b75f984 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownDataValidationBreakdownDocumentExpiration.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownDataValidationBreakdownDocumentExpiration.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * If this is flagged, the document has expired. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownDataValidationBreakdownDocumentExpiration { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public DocumentBreakdownDataValidationBreakdownDocumentExpiration result(String return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public DocumentBreakdownDataValidationBreakdownDocumentExpiration properties(Obj return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataValidationBreakdownDocumentExpiration - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataValidationBreakdownDocumentExpiration + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownDataValidationBreakdownDocumentExpiration.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownDataValidationBreakdownDocumentExpiration given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownDataValidationBreakdownDocumentExpiration - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataValidationBreakdownDocumentExpiration - */ + /** + * Create an instance of DocumentBreakdownDataValidationBreakdownDocumentExpiration given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownDataValidationBreakdownDocumentExpiration + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataValidationBreakdownDocumentExpiration + */ public static DocumentBreakdownDataValidationBreakdownDocumentExpiration fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownDataValidationBreakdownDocumentExpiration.class); } - /** - * Convert an instance of DocumentBreakdownDataValidationBreakdownDocumentExpiration to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownDataValidationBreakdownDocumentExpiration to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownDataValidationBreakdownExpiryDate.java b/src/main/java/com/onfido/model/DocumentBreakdownDataValidationBreakdownExpiryDate.java index ba52a647..b3b52276 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownDataValidationBreakdownExpiryDate.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownDataValidationBreakdownExpiryDate.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * If this is flagged, the expiration date has the incorrect format. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownDataValidationBreakdownExpiryDate { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public DocumentBreakdownDataValidationBreakdownExpiryDate result(String result) return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public DocumentBreakdownDataValidationBreakdownExpiryDate properties(Object prop return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataValidationBreakdownExpiryDate - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownDataValidationBreakdownExpiryDate + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownDataValidationBreakdownExpiryDate.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownDataValidationBreakdownExpiryDate given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownDataValidationBreakdownExpiryDate - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataValidationBreakdownExpiryDate - */ + /** + * Create an instance of DocumentBreakdownDataValidationBreakdownExpiryDate given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownDataValidationBreakdownExpiryDate + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownDataValidationBreakdownExpiryDate + */ public static DocumentBreakdownDataValidationBreakdownExpiryDate fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownDataValidationBreakdownExpiryDate.class); } - /** - * Convert an instance of DocumentBreakdownDataValidationBreakdownExpiryDate to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownDataValidationBreakdownExpiryDate to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrity.java b/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrity.java index fbedf686..e6db0a9d 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrity.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrity.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts if the document is of sufficient quality to verify. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownImageIntegrity { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public DocumentBreakdownImageIntegrity result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public DocumentBreakdownImageIntegrity breakdown(DocumentBreakdownImageIntegrity return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public DocumentBreakdownImageIntegrityBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownImageIntegrity - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownImageIntegrity + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownImageIntegrity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownImageIntegrity given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownImageIntegrity - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownImageIntegrity - */ + /** + * Create an instance of DocumentBreakdownImageIntegrity given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownImageIntegrity + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownImageIntegrity + */ public static DocumentBreakdownImageIntegrity fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownImageIntegrity.class); } - /** - * Convert an instance of DocumentBreakdownImageIntegrity to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownImageIntegrity to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdown.java b/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdown.java index 419f4e6c..f34ebec5 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdown.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdown.java @@ -41,7 +41,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -53,7 +52,7 @@ /** * DocumentBreakdownImageIntegrityBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownImageIntegrityBreakdown { public static final String SERIALIZED_NAME_IMAGE_QUALITY = "image_quality"; @SerializedName(SERIALIZED_NAME_IMAGE_QUALITY) @@ -79,10 +78,10 @@ public DocumentBreakdownImageIntegrityBreakdown imageQuality(DocumentBreakdownIm return this; } - /** + /** * Get imageQuality * @return imageQuality - **/ + */ @javax.annotation.Nullable public DocumentBreakdownImageIntegrityBreakdownImageQuality getImageQuality() { return imageQuality; @@ -98,10 +97,10 @@ public DocumentBreakdownImageIntegrityBreakdown supportedDocument(DocumentBreakd return this; } - /** + /** * Get supportedDocument * @return supportedDocument - **/ + */ @javax.annotation.Nullable public DocumentBreakdownImageIntegrityBreakdownSupportedDocument getSupportedDocument() { return supportedDocument; @@ -117,10 +116,10 @@ public DocumentBreakdownImageIntegrityBreakdown colourPicture(DocumentBreakdownI return this; } - /** + /** * Get colourPicture * @return colourPicture - **/ + */ @javax.annotation.Nullable public DocumentBreakdownImageIntegrityBreakdownColourPicture getColourPicture() { return colourPicture; @@ -136,10 +135,10 @@ public DocumentBreakdownImageIntegrityBreakdown conclusiveDocumentQuality(Docume return this; } - /** + /** * Get conclusiveDocumentQuality * @return conclusiveDocumentQuality - **/ + */ @javax.annotation.Nullable public DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality getConclusiveDocumentQuality() { return conclusiveDocumentQuality; @@ -256,12 +255,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownImageIntegrityBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownImageIntegrityBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownImageIntegrityBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -359,22 +358,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownImageIntegrityBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownImageIntegrityBreakdown - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownImageIntegrityBreakdown - */ + /** + * Create an instance of DocumentBreakdownImageIntegrityBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownImageIntegrityBreakdown + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownImageIntegrityBreakdown + */ public static DocumentBreakdownImageIntegrityBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownImageIntegrityBreakdown.class); } - /** - * Convert an instance of DocumentBreakdownImageIntegrityBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownImageIntegrityBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdownColourPicture.java b/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdownColourPicture.java index b069918b..91574bbf 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdownColourPicture.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdownColourPicture.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Asserts whether the image was a colour one. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownImageIntegrityBreakdownColourPicture { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public DocumentBreakdownImageIntegrityBreakdownColourPicture result(String resul return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public DocumentBreakdownImageIntegrityBreakdownColourPicture properties(Object p return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownImageIntegrityBreakdownColourPicture - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownImageIntegrityBreakdownColourPicture + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownImageIntegrityBreakdownColourPicture.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownImageIntegrityBreakdownColourPicture given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownImageIntegrityBreakdownColourPicture - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownImageIntegrityBreakdownColourPicture - */ + /** + * Create an instance of DocumentBreakdownImageIntegrityBreakdownColourPicture given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownImageIntegrityBreakdownColourPicture + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownImageIntegrityBreakdownColourPicture + */ public static DocumentBreakdownImageIntegrityBreakdownColourPicture fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownImageIntegrityBreakdownColourPicture.class); } - /** - * Convert an instance of DocumentBreakdownImageIntegrityBreakdownColourPicture to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownImageIntegrityBreakdownColourPicture to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality.java b/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality.java index 1969c848..29bd5f6c 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts if the document was of enough quality to be able to perform a fraud inspection. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality result( return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality propert return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public DocumentCDQReasons getProperties() { return properties; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality - */ + /** + * Create an instance of DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality + */ public static DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality.class); } - /** - * Convert an instance of DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownImageIntegrityBreakdownConclusiveDocumentQuality to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdownImageQuality.java b/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdownImageQuality.java index a38a36e4..fa88ef01 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdownImageQuality.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdownImageQuality.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the quality of the image was sufficient for processing. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownImageIntegrityBreakdownImageQuality { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public DocumentBreakdownImageIntegrityBreakdownImageQuality result(String result return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public DocumentBreakdownImageIntegrityBreakdownImageQuality properties(DocumentI return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public DocumentIQReasons getProperties() { return properties; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownImageIntegrityBreakdownImageQuality - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownImageIntegrityBreakdownImageQuality + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownImageIntegrityBreakdownImageQuality.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownImageIntegrityBreakdownImageQuality given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownImageIntegrityBreakdownImageQuality - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownImageIntegrityBreakdownImageQuality - */ + /** + * Create an instance of DocumentBreakdownImageIntegrityBreakdownImageQuality given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownImageIntegrityBreakdownImageQuality + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownImageIntegrityBreakdownImageQuality + */ public static DocumentBreakdownImageIntegrityBreakdownImageQuality fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownImageIntegrityBreakdownImageQuality.class); } - /** - * Convert an instance of DocumentBreakdownImageIntegrityBreakdownImageQuality to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownImageIntegrityBreakdownImageQuality to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdownSupportedDocument.java b/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdownSupportedDocument.java index fa2d8190..1f7e643a 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdownSupportedDocument.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownImageIntegrityBreakdownSupportedDocument.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Asserts whether the submitted document is supported. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownImageIntegrityBreakdownSupportedDocument { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public DocumentBreakdownImageIntegrityBreakdownSupportedDocument result(String r return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public DocumentBreakdownImageIntegrityBreakdownSupportedDocument properties(Obje return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownImageIntegrityBreakdownSupportedDocument - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownImageIntegrityBreakdownSupportedDocument + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownImageIntegrityBreakdownSupportedDocument.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownImageIntegrityBreakdownSupportedDocument given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownImageIntegrityBreakdownSupportedDocument - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownImageIntegrityBreakdownSupportedDocument - */ + /** + * Create an instance of DocumentBreakdownImageIntegrityBreakdownSupportedDocument given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownImageIntegrityBreakdownSupportedDocument + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownImageIntegrityBreakdownSupportedDocument + */ public static DocumentBreakdownImageIntegrityBreakdownSupportedDocument fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownImageIntegrityBreakdownSupportedDocument.class); } - /** - * Convert an instance of DocumentBreakdownImageIntegrityBreakdownSupportedDocument to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownImageIntegrityBreakdownSupportedDocument to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownIssuingAuthority.java b/src/main/java/com/onfido/model/DocumentBreakdownIssuingAuthority.java index 9f8e8ae0..19fb737a 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownIssuingAuthority.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownIssuingAuthority.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether data on the document matches the issuing authority data. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownIssuingAuthority { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public DocumentBreakdownIssuingAuthority result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public DocumentBreakdownIssuingAuthority breakdown(DocumentBreakdownIssuingAutho return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public DocumentBreakdownIssuingAuthorityBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownIssuingAuthority - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownIssuingAuthority + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownIssuingAuthority.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownIssuingAuthority given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownIssuingAuthority - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownIssuingAuthority - */ + /** + * Create an instance of DocumentBreakdownIssuingAuthority given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownIssuingAuthority + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownIssuingAuthority + */ public static DocumentBreakdownIssuingAuthority fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownIssuingAuthority.class); } - /** - * Convert an instance of DocumentBreakdownIssuingAuthority to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownIssuingAuthority to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownIssuingAuthorityBreakdown.java b/src/main/java/com/onfido/model/DocumentBreakdownIssuingAuthorityBreakdown.java index 8e947805..cefa3c34 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownIssuingAuthorityBreakdown.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownIssuingAuthorityBreakdown.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * DocumentBreakdownIssuingAuthorityBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownIssuingAuthorityBreakdown { public static final String SERIALIZED_NAME_NFC_ACTIVE_AUTHENTICATION = "nfc_active_authentication"; @SerializedName(SERIALIZED_NAME_NFC_ACTIVE_AUTHENTICATION) @@ -69,10 +68,10 @@ public DocumentBreakdownIssuingAuthorityBreakdown nfcActiveAuthentication(Docume return this; } - /** + /** * Get nfcActiveAuthentication * @return nfcActiveAuthentication - **/ + */ @javax.annotation.Nullable public DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication getNfcActiveAuthentication() { return nfcActiveAuthentication; @@ -88,10 +87,10 @@ public DocumentBreakdownIssuingAuthorityBreakdown nfcPassiveAuthentication(Docum return this; } - /** + /** * Get nfcPassiveAuthentication * @return nfcPassiveAuthentication - **/ + */ @javax.annotation.Nullable public DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication getNfcPassiveAuthentication() { return nfcPassiveAuthentication; @@ -202,12 +201,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownIssuingAuthorityBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownIssuingAuthorityBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownIssuingAuthorityBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -297,22 +296,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownIssuingAuthorityBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownIssuingAuthorityBreakdown - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownIssuingAuthorityBreakdown - */ + /** + * Create an instance of DocumentBreakdownIssuingAuthorityBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownIssuingAuthorityBreakdown + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownIssuingAuthorityBreakdown + */ public static DocumentBreakdownIssuingAuthorityBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownIssuingAuthorityBreakdown.class); } - /** - * Convert an instance of DocumentBreakdownIssuingAuthorityBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownIssuingAuthorityBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication.java b/src/main/java/com/onfido/model/DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication.java index 5aaff9e4..7ed6648f 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Asserts whether the document NFC chip is original or cloned. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication result( return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication propert return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication - */ + /** + * Create an instance of DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication + */ public static DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication.class); } - /** - * Convert an instance of DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownIssuingAuthorityBreakdownNfcActiveAuthentication to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication.java b/src/main/java/com/onfido/model/DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication.java index 25193d76..6054d0b5 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Asserts whether the document NFC chip data was tampered. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication result return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication proper return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication - */ + /** + * Create an instance of DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication + */ public static DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication.class); } - /** - * Convert an instance of DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownIssuingAuthorityBreakdownNfcPassiveAuthentication to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownPoliceRecord.java b/src/main/java/com/onfido/model/DocumentBreakdownPoliceRecord.java index 0d2a83be..e258e786 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownPoliceRecord.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownPoliceRecord.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Asserts whether the document had been identified as lost, stolen or otherwise compromised. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownPoliceRecord { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -63,10 +62,10 @@ public DocumentBreakdownPoliceRecord result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownPoliceRecord - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownPoliceRecord + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownPoliceRecord.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -264,22 +263,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownPoliceRecord given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownPoliceRecord - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownPoliceRecord - */ + /** + * Create an instance of DocumentBreakdownPoliceRecord given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownPoliceRecord + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownPoliceRecord + */ public static DocumentBreakdownPoliceRecord fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownPoliceRecord.class); } - /** - * Convert an instance of DocumentBreakdownPoliceRecord to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownPoliceRecord to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticity.java b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticity.java index 0b9eb245..951eec5b 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticity.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticity.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether visual, non-textual, elements are correct given the type of document. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownVisualAuthenticity { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public DocumentBreakdownVisualAuthenticity result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public DocumentBreakdownVisualAuthenticity breakdown(DocumentBreakdownVisualAuth return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public DocumentBreakdownVisualAuthenticityBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticity - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticity + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownVisualAuthenticity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownVisualAuthenticity given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownVisualAuthenticity - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticity - */ + /** + * Create an instance of DocumentBreakdownVisualAuthenticity given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownVisualAuthenticity + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticity + */ public static DocumentBreakdownVisualAuthenticity fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownVisualAuthenticity.class); } - /** - * Convert an instance of DocumentBreakdownVisualAuthenticity to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownVisualAuthenticity to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdown.java b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdown.java index 9c5aaa33..e466ba74 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdown.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdown.java @@ -45,7 +45,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -57,7 +56,7 @@ /** * DocumentBreakdownVisualAuthenticityBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownVisualAuthenticityBreakdown { public static final String SERIALIZED_NAME_FONTS = "fonts"; @SerializedName(SERIALIZED_NAME_FONTS) @@ -99,10 +98,10 @@ public DocumentBreakdownVisualAuthenticityBreakdown fonts(DocumentBreakdownVisua return this; } - /** + /** * Get fonts * @return fonts - **/ + */ @javax.annotation.Nullable public DocumentBreakdownVisualAuthenticityBreakdownFonts getFonts() { return fonts; @@ -118,10 +117,10 @@ public DocumentBreakdownVisualAuthenticityBreakdown pictureFaceIntegrity(Documen return this; } - /** + /** * Get pictureFaceIntegrity * @return pictureFaceIntegrity - **/ + */ @javax.annotation.Nullable public DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity getPictureFaceIntegrity() { return pictureFaceIntegrity; @@ -137,10 +136,10 @@ public DocumentBreakdownVisualAuthenticityBreakdown template(DocumentBreakdownVi return this; } - /** + /** * Get template * @return template - **/ + */ @javax.annotation.Nullable public DocumentBreakdownVisualAuthenticityBreakdownTemplate getTemplate() { return template; @@ -156,10 +155,10 @@ public DocumentBreakdownVisualAuthenticityBreakdown securityFeatures(DocumentBre return this; } - /** + /** * Get securityFeatures * @return securityFeatures - **/ + */ @javax.annotation.Nullable public DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures getSecurityFeatures() { return securityFeatures; @@ -175,10 +174,10 @@ public DocumentBreakdownVisualAuthenticityBreakdown originalDocumentPresent(Docu return this; } - /** + /** * Get originalDocumentPresent * @return originalDocumentPresent - **/ + */ @javax.annotation.Nullable public DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent getOriginalDocumentPresent() { return originalDocumentPresent; @@ -194,10 +193,10 @@ public DocumentBreakdownVisualAuthenticityBreakdown digitalTampering(DocumentBre return this; } - /** + /** * Get digitalTampering * @return digitalTampering - **/ + */ @javax.annotation.Nullable public DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering getDigitalTampering() { return digitalTampering; @@ -213,10 +212,10 @@ public DocumentBreakdownVisualAuthenticityBreakdown other(DocumentBreakdownVisua return this; } - /** + /** * Get other * @return other - **/ + */ @javax.annotation.Nullable public DocumentBreakdownVisualAuthenticityBreakdownOther getOther() { return other; @@ -232,10 +231,10 @@ public DocumentBreakdownVisualAuthenticityBreakdown faceDetection(DocumentBreakd return this; } - /** + /** * Get faceDetection * @return faceDetection - **/ + */ @javax.annotation.Nullable public DocumentBreakdownVisualAuthenticityBreakdownFaceDetection getFaceDetection() { return faceDetection; @@ -364,12 +363,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownVisualAuthenticityBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -483,22 +482,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownVisualAuthenticityBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownVisualAuthenticityBreakdown - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdown - */ + /** + * Create an instance of DocumentBreakdownVisualAuthenticityBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownVisualAuthenticityBreakdown + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdown + */ public static DocumentBreakdownVisualAuthenticityBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownVisualAuthenticityBreakdown.class); } - /** - * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering.java b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering.java index f53b0c96..1536fea7 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Indication of digital tampering in the image. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering result(Strin return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering properties(O return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering - */ + /** + * Create an instance of DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering + */ public static DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering.class); } - /** - * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdownDigitalTampering to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownFaceDetection.java b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownFaceDetection.java index fa8e1854..1cc31046 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownFaceDetection.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownFaceDetection.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * No face was detected on the document. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownVisualAuthenticityBreakdownFaceDetection { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public DocumentBreakdownVisualAuthenticityBreakdownFaceDetection result(String r return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public DocumentBreakdownVisualAuthenticityBreakdownFaceDetection properties(Obje return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownFaceDetection - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownFaceDetection + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownVisualAuthenticityBreakdownFaceDetection.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownVisualAuthenticityBreakdownFaceDetection given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownVisualAuthenticityBreakdownFaceDetection - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownFaceDetection - */ + /** + * Create an instance of DocumentBreakdownVisualAuthenticityBreakdownFaceDetection given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownVisualAuthenticityBreakdownFaceDetection + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownFaceDetection + */ public static DocumentBreakdownVisualAuthenticityBreakdownFaceDetection fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownVisualAuthenticityBreakdownFaceDetection.class); } - /** - * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdownFaceDetection to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdownFaceDetection to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownFonts.java b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownFonts.java index d1d4a6de..5cdab704 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownFonts.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownFonts.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Fonts in the document don't match the expected ones. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownVisualAuthenticityBreakdownFonts { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public DocumentBreakdownVisualAuthenticityBreakdownFonts result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public DocumentBreakdownVisualAuthenticityBreakdownFonts properties(Object prope return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownFonts - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownFonts + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownVisualAuthenticityBreakdownFonts.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownVisualAuthenticityBreakdownFonts given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownVisualAuthenticityBreakdownFonts - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownFonts - */ + /** + * Create an instance of DocumentBreakdownVisualAuthenticityBreakdownFonts given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownVisualAuthenticityBreakdownFonts + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownFonts + */ public static DocumentBreakdownVisualAuthenticityBreakdownFonts fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownVisualAuthenticityBreakdownFonts.class); } - /** - * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdownFonts to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdownFonts to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent.java b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent.java index e66ca610..d4f1398c 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * The document was not present when the photo was taken. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent resul return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent prope return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public DocumentODPReasons getProperties() { return properties; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent - */ + /** + * Create an instance of DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent + */ public static DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent.class); } - /** - * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdownOriginalDocumentPresent to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownOther.java b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownOther.java index a140dafc..28290e76 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownOther.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownOther.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * This sub-breakdown is returned for backward compatibility reasons. Its value will be consider when at least one of the other breakdowns is consider, and clear when all the other breakdowns are clear. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownVisualAuthenticityBreakdownOther { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public DocumentBreakdownVisualAuthenticityBreakdownOther result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public DocumentBreakdownVisualAuthenticityBreakdownOther properties(Object prope return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownOther - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownOther + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownVisualAuthenticityBreakdownOther.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownVisualAuthenticityBreakdownOther given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownVisualAuthenticityBreakdownOther - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownOther - */ + /** + * Create an instance of DocumentBreakdownVisualAuthenticityBreakdownOther given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownVisualAuthenticityBreakdownOther + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownOther + */ public static DocumentBreakdownVisualAuthenticityBreakdownOther fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownVisualAuthenticityBreakdownOther.class); } - /** - * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdownOther to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdownOther to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity.java b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity.java index b6e23fde..935d6c84 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * The pictures of the person identified on the document show signs of tampering or alteration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity result(S return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity properti return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity - */ + /** + * Create an instance of DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity + */ public static DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity.class); } - /** - * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdownPictureFaceIntegrity to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures.java b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures.java index aa4cc5ac..fc89ecf2 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Security features expected on the document are missing or wrong. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures result(Strin return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures properties(O return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures - */ + /** + * Create an instance of DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures + */ public static DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures.class); } - /** - * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdownSecurityFeatures to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownTemplate.java b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownTemplate.java index 9dd37889..a330192c 100644 --- a/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownTemplate.java +++ b/src/main/java/com/onfido/model/DocumentBreakdownVisualAuthenticityBreakdownTemplate.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * The document doesn't match the expected template for the document type and country it is from. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentBreakdownVisualAuthenticityBreakdownTemplate { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public DocumentBreakdownVisualAuthenticityBreakdownTemplate result(String result return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public DocumentBreakdownVisualAuthenticityBreakdownTemplate properties(Object pr return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownTemplate - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownTemplate + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentBreakdownVisualAuthenticityBreakdownTemplate.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentBreakdownVisualAuthenticityBreakdownTemplate given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentBreakdownVisualAuthenticityBreakdownTemplate - * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownTemplate - */ + /** + * Create an instance of DocumentBreakdownVisualAuthenticityBreakdownTemplate given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentBreakdownVisualAuthenticityBreakdownTemplate + * @throws IOException if the JSON string is invalid with respect to DocumentBreakdownVisualAuthenticityBreakdownTemplate + */ public static DocumentBreakdownVisualAuthenticityBreakdownTemplate fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentBreakdownVisualAuthenticityBreakdownTemplate.class); } - /** - * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdownTemplate to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentBreakdownVisualAuthenticityBreakdownTemplate to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentCDQReasons.java b/src/main/java/com/onfido/model/DocumentCDQReasons.java index 3566c83e..a8d0df60 100644 --- a/src/main/java/com/onfido/model/DocumentCDQReasons.java +++ b/src/main/java/com/onfido/model/DocumentCDQReasons.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * DocumentCDQReasons */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentCDQReasons { public static final String SERIALIZED_NAME_OBSCURED_DATA_POINTS = "obscured_data_points"; @SerializedName(SERIALIZED_NAME_OBSCURED_DATA_POINTS) @@ -91,10 +90,10 @@ public DocumentCDQReasons obscuredDataPoints(String obscuredDataPoints) { return this; } - /** + /** * When data points are obscured to the point that we cannot confirm if the fonts match the expected ones. * @return obscuredDataPoints - **/ + */ @javax.annotation.Nullable public String getObscuredDataPoints() { return obscuredDataPoints; @@ -110,10 +109,10 @@ public DocumentCDQReasons obscuredSecurityFeatures(String obscuredSecurityFeatur return this; } - /** + /** * When a critical security feature is obscured. This can also refer to when the holder's wet signature, necessary for the document to be valid, is not present. * @return obscuredSecurityFeatures - **/ + */ @javax.annotation.Nullable public String getObscuredSecurityFeatures() { return obscuredSecurityFeatures; @@ -129,10 +128,10 @@ public DocumentCDQReasons abnormalDocumentFeatures(String abnormalDocumentFeatur return this; } - /** + /** * One of 3 reasons (1) OCR Assisted Scans (i.e. when you're able to move the mouse and highlight part of text), (2) Severely Washed out Background, (3) Overlapping Text. * @return abnormalDocumentFeatures - **/ + */ @javax.annotation.Nullable public String getAbnormalDocumentFeatures() { return abnormalDocumentFeatures; @@ -148,10 +147,10 @@ public DocumentCDQReasons watermarksDigitalTextOverlay(String watermarksDigitalT return this; } - /** + /** * Any digital text or electronic watermarks on the document. * @return watermarksDigitalTextOverlay - **/ + */ @javax.annotation.Nullable public String getWatermarksDigitalTextOverlay() { return watermarksDigitalTextOverlay; @@ -167,10 +166,10 @@ public DocumentCDQReasons cornerRemoved(String cornerRemoved) { return this; } - /** + /** * If the corner has been physically cut off. This can be found on some documents that are no longer valid. * @return cornerRemoved - **/ + */ @javax.annotation.Nullable public String getCornerRemoved() { return cornerRemoved; @@ -186,10 +185,10 @@ public DocumentCDQReasons puncturedDocument(String puncturedDocument) { return this; } - /** + /** * A punched hole is present. * @return puncturedDocument - **/ + */ @javax.annotation.Nullable public String getPuncturedDocument() { return puncturedDocument; @@ -205,10 +204,10 @@ public DocumentCDQReasons missingBack(String missingBack) { return this; } - /** + /** * When the back of a document is needed for processing, but is not available. * @return missingBack - **/ + */ @javax.annotation.Nullable public String getMissingBack() { return missingBack; @@ -224,10 +223,10 @@ public DocumentCDQReasons digitalDocument(String digitalDocument) { return this; } - /** + /** * When a document has been published digitally, there aren't enough security features to review so we cannot perform a full fraud assessment. * @return digitalDocument - **/ + */ @javax.annotation.Nullable public String getDigitalDocument() { return digitalDocument; @@ -356,12 +355,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentCDQReasons - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentCDQReasons + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentCDQReasons.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -467,22 +466,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentCDQReasons given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentCDQReasons - * @throws IOException if the JSON string is invalid with respect to DocumentCDQReasons - */ + /** + * Create an instance of DocumentCDQReasons given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentCDQReasons + * @throws IOException if the JSON string is invalid with respect to DocumentCDQReasons + */ public static DocumentCDQReasons fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentCDQReasons.class); } - /** - * Convert an instance of DocumentCDQReasons to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentCDQReasons to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentIQReasons.java b/src/main/java/com/onfido/model/DocumentIQReasons.java index 4737ea79..30f51cea 100644 --- a/src/main/java/com/onfido/model/DocumentIQReasons.java +++ b/src/main/java/com/onfido/model/DocumentIQReasons.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * DocumentIQReasons */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentIQReasons { public static final String SERIALIZED_NAME_DARK_PHOTO = "dark_photo"; @SerializedName(SERIALIZED_NAME_DARK_PHOTO) @@ -99,10 +98,10 @@ public DocumentIQReasons darkPhoto(String darkPhoto) { return this; } - /** + /** * When an image of the document is too dark to be able to see data points. * @return darkPhoto - **/ + */ @javax.annotation.Nullable public String getDarkPhoto() { return darkPhoto; @@ -118,10 +117,10 @@ public DocumentIQReasons glareOnPhoto(String glareOnPhoto) { return this; } - /** + /** * When there is light reflecting on the document causing glare to obstruct data points. * @return glareOnPhoto - **/ + */ @javax.annotation.Nullable public String getGlareOnPhoto() { return glareOnPhoto; @@ -137,10 +136,10 @@ public DocumentIQReasons blurredPhoto(String blurredPhoto) { return this; } - /** + /** * When data points are blurred and no reference can be made elsewhere in the document or if the data points are too blurry and 'they could be something else'. * @return blurredPhoto - **/ + */ @javax.annotation.Nullable public String getBlurredPhoto() { return blurredPhoto; @@ -156,10 +155,10 @@ public DocumentIQReasons coveredPhoto(String coveredPhoto) { return this; } - /** + /** * When data points have been covered either by the applicant or by another object such as a sticker. * @return coveredPhoto - **/ + */ @javax.annotation.Nullable public String getCoveredPhoto() { return coveredPhoto; @@ -175,10 +174,10 @@ public DocumentIQReasons otherPhotoIssue(String otherPhotoIssue) { return this; } - /** + /** * Any other reason not listed, such as when holograms are obscuring data points. * @return otherPhotoIssue - **/ + */ @javax.annotation.Nullable public String getOtherPhotoIssue() { return otherPhotoIssue; @@ -194,10 +193,10 @@ public DocumentIQReasons damagedDocument(String damagedDocument) { return this; } - /** + /** * When a document is damaged and we are unable to make out data points. * @return damagedDocument - **/ + */ @javax.annotation.Nullable public String getDamagedDocument() { return damagedDocument; @@ -213,10 +212,10 @@ public DocumentIQReasons incorrectSide(String incorrectSide) { return this; } - /** + /** * When the incorrect side of a document has been uploaded, and we have not received the front. * @return incorrectSide - **/ + */ @javax.annotation.Nullable public String getIncorrectSide() { return incorrectSide; @@ -232,10 +231,10 @@ public DocumentIQReasons cutOffDocument(String cutOffDocument) { return this; } - /** + /** * When data points are not included in the image due to the document being cut off. * @return cutOffDocument - **/ + */ @javax.annotation.Nullable public String getCutOffDocument() { return cutOffDocument; @@ -251,10 +250,10 @@ public DocumentIQReasons noDocumentInImage(String noDocumentInImage) { return this; } - /** + /** * If no document has been uploaded or there is a blank image. * @return noDocumentInImage - **/ + */ @javax.annotation.Nullable public String getNoDocumentInImage() { return noDocumentInImage; @@ -270,10 +269,10 @@ public DocumentIQReasons twoDocumentsUploaded(String twoDocumentsUploaded) { return this; } - /** + /** * When 2 different documents are submitted in the same check. * @return twoDocumentsUploaded - **/ + */ @javax.annotation.Nullable public String getTwoDocumentsUploaded() { return twoDocumentsUploaded; @@ -408,12 +407,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentIQReasons - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentIQReasons + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentIQReasons.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -525,22 +524,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentIQReasons given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentIQReasons - * @throws IOException if the JSON string is invalid with respect to DocumentIQReasons - */ + /** + * Create an instance of DocumentIQReasons given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentIQReasons + * @throws IOException if the JSON string is invalid with respect to DocumentIQReasons + */ public static DocumentIQReasons fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentIQReasons.class); } - /** - * Convert an instance of DocumentIQReasons to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentIQReasons to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentODPReasons.java b/src/main/java/com/onfido/model/DocumentODPReasons.java index 8f406aff..91b01b95 100644 --- a/src/main/java/com/onfido/model/DocumentODPReasons.java +++ b/src/main/java/com/onfido/model/DocumentODPReasons.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * DocumentODPReasons */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentODPReasons { public static final String SERIALIZED_NAME_PHOTO_OF_SCREEN = "photo_of_screen"; @SerializedName(SERIALIZED_NAME_PHOTO_OF_SCREEN) @@ -75,10 +74,10 @@ public DocumentODPReasons photoOfScreen(String photoOfScreen) { return this; } - /** + /** * When the applicant's document is on a physical screen or device. * @return photoOfScreen - **/ + */ @javax.annotation.Nullable public String getPhotoOfScreen() { return photoOfScreen; @@ -94,10 +93,10 @@ public DocumentODPReasons screenshot(String screenshot) { return this; } - /** + /** * When the applicant has used their mobile phone, tablet, or computer to take a photo within the device. * @return screenshot - **/ + */ @javax.annotation.Nullable public String getScreenshot() { return screenshot; @@ -113,10 +112,10 @@ public DocumentODPReasons documentOnPrintedPaper(String documentOnPrintedPaper) return this; } - /** + /** * When the applicant has previously captured an image of the document, printed it out, and has now taken a photo of this print out to upload. * @return documentOnPrintedPaper - **/ + */ @javax.annotation.Nullable public String getDocumentOnPrintedPaper() { return documentOnPrintedPaper; @@ -132,10 +131,10 @@ public DocumentODPReasons scan(String scan) { return this; } - /** + /** * When the document has clearly been captured using a scanner and there are visible indicators of this * @return scan - **/ + */ @javax.annotation.Nullable public String getScan() { return scan; @@ -252,12 +251,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentODPReasons - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentODPReasons + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentODPReasons.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -351,22 +350,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentODPReasons given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentODPReasons - * @throws IOException if the JSON string is invalid with respect to DocumentODPReasons - */ + /** + * Create an instance of DocumentODPReasons given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentODPReasons + * @throws IOException if the JSON string is invalid with respect to DocumentODPReasons + */ public static DocumentODPReasons fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentODPReasons.class); } - /** - * Convert an instance of DocumentODPReasons to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentODPReasons to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentProperties.java b/src/main/java/com/onfido/model/DocumentProperties.java index 85340475..85f88b84 100644 --- a/src/main/java/com/onfido/model/DocumentProperties.java +++ b/src/main/java/com/onfido/model/DocumentProperties.java @@ -47,7 +47,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -59,7 +58,7 @@ /** * DocumentProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentProperties { public static final String SERIALIZED_NAME_DATE_OF_BIRTH = "date_of_birth"; @SerializedName(SERIALIZED_NAME_DATE_OF_BIRTH) @@ -429,10 +428,10 @@ public DocumentProperties dateOfBirth(LocalDate dateOfBirth) { return this; } - /** + /** * Get dateOfBirth * @return dateOfBirth - **/ + */ @javax.annotation.Nullable public LocalDate getDateOfBirth() { return dateOfBirth; @@ -448,10 +447,10 @@ public DocumentProperties dateOfExpiry(LocalDate dateOfExpiry) { return this; } - /** + /** * Get dateOfExpiry * @return dateOfExpiry - **/ + */ @javax.annotation.Nullable public LocalDate getDateOfExpiry() { return dateOfExpiry; @@ -467,10 +466,10 @@ public DocumentProperties personalNumber(String personalNumber) { return this; } - /** + /** * Get personalNumber * @return personalNumber - **/ + */ @javax.annotation.Nullable public String getPersonalNumber() { return personalNumber; @@ -494,10 +493,10 @@ public DocumentProperties addDocumentNumbersItem(DocumentPropertiesDocumentNumbe return this; } - /** + /** * Get documentNumbers * @return documentNumbers - **/ + */ @javax.annotation.Nullable public List getDocumentNumbers() { return documentNumbers; @@ -513,10 +512,10 @@ public DocumentProperties documentType(String documentType) { return this; } - /** + /** * Get documentType * @return documentType - **/ + */ @javax.annotation.Nullable public String getDocumentType() { return documentType; @@ -532,10 +531,10 @@ public DocumentProperties firstName(String firstName) { return this; } - /** + /** * Get firstName * @return firstName - **/ + */ @javax.annotation.Nullable public String getFirstName() { return firstName; @@ -551,10 +550,10 @@ public DocumentProperties middleName(String middleName) { return this; } - /** + /** * Get middleName * @return middleName - **/ + */ @javax.annotation.Nullable public String getMiddleName() { return middleName; @@ -570,10 +569,10 @@ public DocumentProperties lastName(String lastName) { return this; } - /** + /** * Get lastName * @return lastName - **/ + */ @javax.annotation.Nullable public String getLastName() { return lastName; @@ -589,10 +588,10 @@ public DocumentProperties gender(String gender) { return this; } - /** + /** * Get gender * @return gender - **/ + */ @javax.annotation.Nullable public String getGender() { return gender; @@ -608,10 +607,10 @@ public DocumentProperties issuingCountry(String issuingCountry) { return this; } - /** + /** * Get issuingCountry * @return issuingCountry - **/ + */ @javax.annotation.Nullable public String getIssuingCountry() { return issuingCountry; @@ -627,10 +626,10 @@ public DocumentProperties nationality(String nationality) { return this; } - /** + /** * Get nationality * @return nationality - **/ + */ @javax.annotation.Nullable public String getNationality() { return nationality; @@ -646,10 +645,10 @@ public DocumentProperties issuingState(String issuingState) { return this; } - /** + /** * Get issuingState * @return issuingState - **/ + */ @javax.annotation.Nullable public String getIssuingState() { return issuingState; @@ -665,10 +664,10 @@ public DocumentProperties issuingDate(LocalDate issuingDate) { return this; } - /** + /** * Get issuingDate * @return issuingDate - **/ + */ @javax.annotation.Nullable public LocalDate getIssuingDate() { return issuingDate; @@ -684,10 +683,10 @@ public DocumentProperties categorisation(String categorisation) { return this; } - /** + /** * Get categorisation * @return categorisation - **/ + */ @javax.annotation.Nullable public String getCategorisation() { return categorisation; @@ -703,10 +702,10 @@ public DocumentProperties mrzLine1(String mrzLine1) { return this; } - /** + /** * Get mrzLine1 * @return mrzLine1 - **/ + */ @javax.annotation.Nullable public String getMrzLine1() { return mrzLine1; @@ -722,10 +721,10 @@ public DocumentProperties mrzLine2(String mrzLine2) { return this; } - /** + /** * Get mrzLine2 * @return mrzLine2 - **/ + */ @javax.annotation.Nullable public String getMrzLine2() { return mrzLine2; @@ -741,10 +740,10 @@ public DocumentProperties mrzLine3(String mrzLine3) { return this; } - /** + /** * Get mrzLine3 * @return mrzLine3 - **/ + */ @javax.annotation.Nullable public String getMrzLine3() { return mrzLine3; @@ -760,10 +759,10 @@ public DocumentProperties address(String address) { return this; } - /** + /** * Get address * @return address - **/ + */ @javax.annotation.Nullable public String getAddress() { return address; @@ -779,10 +778,10 @@ public DocumentProperties placeOfBirth(String placeOfBirth) { return this; } - /** + /** * Get placeOfBirth * @return placeOfBirth - **/ + */ @javax.annotation.Nullable public String getPlaceOfBirth() { return placeOfBirth; @@ -798,10 +797,10 @@ public DocumentProperties spouseName(String spouseName) { return this; } - /** + /** * Get spouseName * @return spouseName - **/ + */ @javax.annotation.Nullable public String getSpouseName() { return spouseName; @@ -817,10 +816,10 @@ public DocumentProperties widowName(String widowName) { return this; } - /** + /** * Get widowName * @return widowName - **/ + */ @javax.annotation.Nullable public String getWidowName() { return widowName; @@ -836,10 +835,10 @@ public DocumentProperties aliasName(String aliasName) { return this; } - /** + /** * Get aliasName * @return aliasName - **/ + */ @javax.annotation.Nullable public String getAliasName() { return aliasName; @@ -855,10 +854,10 @@ public DocumentProperties issuingAuthority(String issuingAuthority) { return this; } - /** + /** * Get issuingAuthority * @return issuingAuthority - **/ + */ @javax.annotation.Nullable public String getIssuingAuthority() { return issuingAuthority; @@ -874,10 +873,10 @@ public DocumentProperties remarks(String remarks) { return this; } - /** + /** * Get remarks * @return remarks - **/ + */ @javax.annotation.Nullable public String getRemarks() { return remarks; @@ -893,10 +892,10 @@ public DocumentProperties civilState(String civilState) { return this; } - /** + /** * Get civilState * @return civilState - **/ + */ @javax.annotation.Nullable public String getCivilState() { return civilState; @@ -912,10 +911,10 @@ public DocumentProperties expatriation(String expatriation) { return this; } - /** + /** * Get expatriation * @return expatriation - **/ + */ @javax.annotation.Nullable public String getExpatriation() { return expatriation; @@ -931,10 +930,10 @@ public DocumentProperties fatherName(String fatherName) { return this; } - /** + /** * Get fatherName * @return fatherName - **/ + */ @javax.annotation.Nullable public String getFatherName() { return fatherName; @@ -950,10 +949,10 @@ public DocumentProperties motherName(String motherName) { return this; } - /** + /** * Get motherName * @return motherName - **/ + */ @javax.annotation.Nullable public String getMotherName() { return motherName; @@ -969,10 +968,10 @@ public DocumentProperties religion(String religion) { return this; } - /** + /** * Get religion * @return religion - **/ + */ @javax.annotation.Nullable public String getReligion() { return religion; @@ -988,10 +987,10 @@ public DocumentProperties typeOfPermit(String typeOfPermit) { return this; } - /** + /** * Get typeOfPermit * @return typeOfPermit - **/ + */ @javax.annotation.Nullable public String getTypeOfPermit() { return typeOfPermit; @@ -1007,10 +1006,10 @@ public DocumentProperties versionNumber(String versionNumber) { return this; } - /** + /** * Get versionNumber * @return versionNumber - **/ + */ @javax.annotation.Nullable public String getVersionNumber() { return versionNumber; @@ -1026,10 +1025,10 @@ public DocumentProperties documentSubtype(String documentSubtype) { return this; } - /** + /** * Get documentSubtype * @return documentSubtype - **/ + */ @javax.annotation.Nullable public String getDocumentSubtype() { return documentSubtype; @@ -1045,10 +1044,10 @@ public DocumentProperties profession(String profession) { return this; } - /** + /** * Get profession * @return profession - **/ + */ @javax.annotation.Nullable public String getProfession() { return profession; @@ -1064,10 +1063,10 @@ public DocumentProperties securityDocumentNumber(String securityDocumentNumber) return this; } - /** + /** * Get securityDocumentNumber * @return securityDocumentNumber - **/ + */ @javax.annotation.Nullable public String getSecurityDocumentNumber() { return securityDocumentNumber; @@ -1083,10 +1082,10 @@ public DocumentProperties taxNumber(String taxNumber) { return this; } - /** + /** * Get taxNumber * @return taxNumber - **/ + */ @javax.annotation.Nullable public String getTaxNumber() { return taxNumber; @@ -1102,10 +1101,10 @@ public DocumentProperties nistIdentityEvidenceStrength(NistIdentityEvidenceStren return this; } - /** + /** * Get nistIdentityEvidenceStrength * @return nistIdentityEvidenceStrength - **/ + */ @javax.annotation.Nullable public NistIdentityEvidenceStrengthEnum getNistIdentityEvidenceStrength() { return nistIdentityEvidenceStrength; @@ -1121,10 +1120,10 @@ public DocumentProperties hasIssuanceConfirmation(HasIssuanceConfirmationEnum ha return this; } - /** + /** * Get hasIssuanceConfirmation * @return hasIssuanceConfirmation - **/ + */ @javax.annotation.Nullable public HasIssuanceConfirmationEnum getHasIssuanceConfirmation() { return hasIssuanceConfirmation; @@ -1140,10 +1139,10 @@ public DocumentProperties realIdCompliance(Boolean realIdCompliance) { return this; } - /** + /** * Get realIdCompliance * @return realIdCompliance - **/ + */ @javax.annotation.Nullable public Boolean getRealIdCompliance() { return realIdCompliance; @@ -1159,10 +1158,10 @@ public DocumentProperties securityTier(SecurityTierEnum securityTier) { return this; } - /** + /** * Get securityTier * @return securityTier - **/ + */ @javax.annotation.Nullable public SecurityTierEnum getSecurityTier() { return securityTier; @@ -1178,10 +1177,10 @@ public DocumentProperties addressLines(DocumentPropertiesAddressLines addressLin return this; } - /** + /** * Get addressLines * @return addressLines - **/ + */ @javax.annotation.Nullable public DocumentPropertiesAddressLines getAddressLines() { return addressLines; @@ -1205,10 +1204,10 @@ public DocumentProperties addBarcodeItem(DocumentPropertiesBarcodeInner barcodeI return this; } - /** + /** * Get barcode * @return barcode - **/ + */ @javax.annotation.Nullable public List getBarcode() { return barcode; @@ -1224,10 +1223,10 @@ public DocumentProperties nfc(DocumentPropertiesNfc nfc) { return this; } - /** + /** * Get nfc * @return nfc - **/ + */ @javax.annotation.Nullable public DocumentPropertiesNfc getNfc() { return nfc; @@ -1243,10 +1242,10 @@ public DocumentProperties drivingLicenceInformation(DocumentPropertiesDrivingLic return this; } - /** + /** * Get drivingLicenceInformation * @return drivingLicenceInformation - **/ + */ @javax.annotation.Nullable public DocumentPropertiesDrivingLicenceInformation getDrivingLicenceInformation() { return drivingLicenceInformation; @@ -1262,10 +1261,10 @@ public DocumentProperties documentClassification(DocumentPropertiesDocumentClass return this; } - /** + /** * Get documentClassification * @return documentClassification - **/ + */ @javax.annotation.Nullable public DocumentPropertiesDocumentClassification getDocumentClassification() { return documentClassification; @@ -1281,10 +1280,10 @@ public DocumentProperties extractedData(DocumentPropertiesExtractedData extracte return this; } - /** + /** * Get extractedData * @return extractedData - **/ + */ @javax.annotation.Nullable public DocumentPropertiesExtractedData getExtractedData() { return extractedData; @@ -1524,12 +1523,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -1773,22 +1772,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentProperties - * @throws IOException if the JSON string is invalid with respect to DocumentProperties - */ + /** + * Create an instance of DocumentProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentProperties + * @throws IOException if the JSON string is invalid with respect to DocumentProperties + */ public static DocumentProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentProperties.class); } - /** - * Convert an instance of DocumentProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentPropertiesAddressLines.java b/src/main/java/com/onfido/model/DocumentPropertiesAddressLines.java index acf6b998..4405178e 100644 --- a/src/main/java/com/onfido/model/DocumentPropertiesAddressLines.java +++ b/src/main/java/com/onfido/model/DocumentPropertiesAddressLines.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * DocumentPropertiesAddressLines */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentPropertiesAddressLines { public static final String SERIALIZED_NAME_STREET_ADDRESS = "street_address"; @SerializedName(SERIALIZED_NAME_STREET_ADDRESS) @@ -83,10 +82,10 @@ public DocumentPropertiesAddressLines streetAddress(String streetAddress) { return this; } - /** + /** * Get streetAddress * @return streetAddress - **/ + */ @javax.annotation.Nullable public String getStreetAddress() { return streetAddress; @@ -102,10 +101,10 @@ public DocumentPropertiesAddressLines state(String state) { return this; } - /** + /** * Get state * @return state - **/ + */ @javax.annotation.Nullable public String getState() { return state; @@ -121,10 +120,10 @@ public DocumentPropertiesAddressLines postalCode(String postalCode) { return this; } - /** + /** * Get postalCode * @return postalCode - **/ + */ @javax.annotation.Nullable public String getPostalCode() { return postalCode; @@ -140,10 +139,10 @@ public DocumentPropertiesAddressLines country(String country) { return this; } - /** + /** * Get country * @return country - **/ + */ @javax.annotation.Nullable public String getCountry() { return country; @@ -159,10 +158,10 @@ public DocumentPropertiesAddressLines city(String city) { return this; } - /** + /** * Get city * @return city - **/ + */ @javax.annotation.Nullable public String getCity() { return city; @@ -178,10 +177,10 @@ public DocumentPropertiesAddressLines countryCode(String countryCode) { return this; } - /** + /** * Get countryCode * @return countryCode - **/ + */ @javax.annotation.Nullable public String getCountryCode() { return countryCode; @@ -304,12 +303,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentPropertiesAddressLines - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentPropertiesAddressLines + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentPropertiesAddressLines.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -409,22 +408,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentPropertiesAddressLines given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentPropertiesAddressLines - * @throws IOException if the JSON string is invalid with respect to DocumentPropertiesAddressLines - */ + /** + * Create an instance of DocumentPropertiesAddressLines given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentPropertiesAddressLines + * @throws IOException if the JSON string is invalid with respect to DocumentPropertiesAddressLines + */ public static DocumentPropertiesAddressLines fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentPropertiesAddressLines.class); } - /** - * Convert an instance of DocumentPropertiesAddressLines to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentPropertiesAddressLines to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentPropertiesBarcodeInner.java b/src/main/java/com/onfido/model/DocumentPropertiesBarcodeInner.java index 6e117986..1a94fcb0 100644 --- a/src/main/java/com/onfido/model/DocumentPropertiesBarcodeInner.java +++ b/src/main/java/com/onfido/model/DocumentPropertiesBarcodeInner.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * DocumentPropertiesBarcodeInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentPropertiesBarcodeInner { public static final String SERIALIZED_NAME_FIRST_NAME = "first_name"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) @@ -132,10 +131,10 @@ public DocumentPropertiesBarcodeInner firstName(String firstName) { return this; } - /** + /** * Get firstName * @return firstName - **/ + */ @javax.annotation.Nullable public String getFirstName() { return firstName; @@ -151,10 +150,10 @@ public DocumentPropertiesBarcodeInner middleName(String middleName) { return this; } - /** + /** * Get middleName * @return middleName - **/ + */ @javax.annotation.Nullable public String getMiddleName() { return middleName; @@ -170,10 +169,10 @@ public DocumentPropertiesBarcodeInner lastName(String lastName) { return this; } - /** + /** * Get lastName * @return lastName - **/ + */ @javax.annotation.Nullable public String getLastName() { return lastName; @@ -189,10 +188,10 @@ public DocumentPropertiesBarcodeInner documentType(String documentType) { return this; } - /** + /** * Get documentType * @return documentType - **/ + */ @javax.annotation.Nullable public String getDocumentType() { return documentType; @@ -208,10 +207,10 @@ public DocumentPropertiesBarcodeInner dateOfExpiry(LocalDate dateOfExpiry) { return this; } - /** + /** * Get dateOfExpiry * @return dateOfExpiry - **/ + */ @javax.annotation.Nullable public LocalDate getDateOfExpiry() { return dateOfExpiry; @@ -227,10 +226,10 @@ public DocumentPropertiesBarcodeInner dateOfBirth(LocalDate dateOfBirth) { return this; } - /** + /** * Get dateOfBirth * @return dateOfBirth - **/ + */ @javax.annotation.Nullable public LocalDate getDateOfBirth() { return dateOfBirth; @@ -246,10 +245,10 @@ public DocumentPropertiesBarcodeInner issuingDate(LocalDate issuingDate) { return this; } - /** + /** * Get issuingDate * @return issuingDate - **/ + */ @javax.annotation.Nullable public LocalDate getIssuingDate() { return issuingDate; @@ -265,10 +264,10 @@ public DocumentPropertiesBarcodeInner addressLine1(String addressLine1) { return this; } - /** + /** * Get addressLine1 * @return addressLine1 - **/ + */ @javax.annotation.Nullable public String getAddressLine1() { return addressLine1; @@ -284,10 +283,10 @@ public DocumentPropertiesBarcodeInner addressLine2(String addressLine2) { return this; } - /** + /** * Get addressLine2 * @return addressLine2 - **/ + */ @javax.annotation.Nullable public String getAddressLine2() { return addressLine2; @@ -303,10 +302,10 @@ public DocumentPropertiesBarcodeInner addressLine3(String addressLine3) { return this; } - /** + /** * Get addressLine3 * @return addressLine3 - **/ + */ @javax.annotation.Nullable public String getAddressLine3() { return addressLine3; @@ -322,10 +321,10 @@ public DocumentPropertiesBarcodeInner addressLine4(String addressLine4) { return this; } - /** + /** * Get addressLine4 * @return addressLine4 - **/ + */ @javax.annotation.Nullable public String getAddressLine4() { return addressLine4; @@ -341,10 +340,10 @@ public DocumentPropertiesBarcodeInner addressLine5(String addressLine5) { return this; } - /** + /** * Get addressLine5 * @return addressLine5 - **/ + */ @javax.annotation.Nullable public String getAddressLine5() { return addressLine5; @@ -360,10 +359,10 @@ public DocumentPropertiesBarcodeInner issuingState(String issuingState) { return this; } - /** + /** * Get issuingState * @return issuingState - **/ + */ @javax.annotation.Nullable public String getIssuingState() { return issuingState; @@ -379,10 +378,10 @@ public DocumentPropertiesBarcodeInner propertyClass(String propertyClass) { return this; } - /** + /** * Get propertyClass * @return propertyClass - **/ + */ @javax.annotation.Nullable public String getPropertyClass() { return propertyClass; @@ -398,10 +397,10 @@ public DocumentPropertiesBarcodeInner gender(String gender) { return this; } - /** + /** * Get gender * @return gender - **/ + */ @javax.annotation.Nullable public String getGender() { return gender; @@ -417,10 +416,10 @@ public DocumentPropertiesBarcodeInner issuingCountry(String issuingCountry) { return this; } - /** + /** * Get issuingCountry * @return issuingCountry - **/ + */ @javax.annotation.Nullable public String getIssuingCountry() { return issuingCountry; @@ -436,10 +435,10 @@ public DocumentPropertiesBarcodeInner documentNumber(String documentNumber) { return this; } - /** + /** * Get documentNumber * @return documentNumber - **/ + */ @javax.annotation.Nullable public String getDocumentNumber() { return documentNumber; @@ -455,10 +454,10 @@ public DocumentPropertiesBarcodeInner realIdClassification(String realIdClassifi return this; } - /** + /** * Get realIdClassification * @return realIdClassification - **/ + */ @javax.annotation.Nullable public String getRealIdClassification() { return realIdClassification; @@ -617,12 +616,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentPropertiesBarcodeInner - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentPropertiesBarcodeInner + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentPropertiesBarcodeInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -749,22 +748,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentPropertiesBarcodeInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentPropertiesBarcodeInner - * @throws IOException if the JSON string is invalid with respect to DocumentPropertiesBarcodeInner - */ + /** + * Create an instance of DocumentPropertiesBarcodeInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentPropertiesBarcodeInner + * @throws IOException if the JSON string is invalid with respect to DocumentPropertiesBarcodeInner + */ public static DocumentPropertiesBarcodeInner fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentPropertiesBarcodeInner.class); } - /** - * Convert an instance of DocumentPropertiesBarcodeInner to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentPropertiesBarcodeInner to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentPropertiesDocumentClassification.java b/src/main/java/com/onfido/model/DocumentPropertiesDocumentClassification.java index 0d98b952..5cdb31d9 100644 --- a/src/main/java/com/onfido/model/DocumentPropertiesDocumentClassification.java +++ b/src/main/java/com/onfido/model/DocumentPropertiesDocumentClassification.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * DocumentPropertiesDocumentClassification */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentPropertiesDocumentClassification { public static final String SERIALIZED_NAME_ISSUING_COUNTRY = "issuing_country"; @SerializedName(SERIALIZED_NAME_ISSUING_COUNTRY) @@ -71,10 +70,10 @@ public DocumentPropertiesDocumentClassification issuingCountry(String issuingCou return this; } - /** + /** * Get issuingCountry * @return issuingCountry - **/ + */ @javax.annotation.Nullable public String getIssuingCountry() { return issuingCountry; @@ -90,10 +89,10 @@ public DocumentPropertiesDocumentClassification documentType(String documentType return this; } - /** + /** * Get documentType * @return documentType - **/ + */ @javax.annotation.Nullable public String getDocumentType() { return documentType; @@ -109,10 +108,10 @@ public DocumentPropertiesDocumentClassification issuingState(String issuingState return this; } - /** + /** * Get issuingState * @return issuingState - **/ + */ @javax.annotation.Nullable public String getIssuingState() { return issuingState; @@ -226,12 +225,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentPropertiesDocumentClassification - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentPropertiesDocumentClassification + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentPropertiesDocumentClassification.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -322,22 +321,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentPropertiesDocumentClassification given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentPropertiesDocumentClassification - * @throws IOException if the JSON string is invalid with respect to DocumentPropertiesDocumentClassification - */ + /** + * Create an instance of DocumentPropertiesDocumentClassification given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentPropertiesDocumentClassification + * @throws IOException if the JSON string is invalid with respect to DocumentPropertiesDocumentClassification + */ public static DocumentPropertiesDocumentClassification fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentPropertiesDocumentClassification.class); } - /** - * Convert an instance of DocumentPropertiesDocumentClassification to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentPropertiesDocumentClassification to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentPropertiesDocumentNumbersInner.java b/src/main/java/com/onfido/model/DocumentPropertiesDocumentNumbersInner.java index 393835ae..7890819e 100644 --- a/src/main/java/com/onfido/model/DocumentPropertiesDocumentNumbersInner.java +++ b/src/main/java/com/onfido/model/DocumentPropertiesDocumentNumbersInner.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * DocumentPropertiesDocumentNumbersInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentPropertiesDocumentNumbersInner { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -67,10 +66,10 @@ public DocumentPropertiesDocumentNumbersInner value(String value) { return this; } - /** + /** * Get value * @return value - **/ + */ @javax.annotation.Nullable public String getValue() { return value; @@ -86,10 +85,10 @@ public DocumentPropertiesDocumentNumbersInner type(String type) { return this; } - /** + /** * Get type * @return type - **/ + */ @javax.annotation.Nullable public String getType() { return type; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentPropertiesDocumentNumbersInner - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentPropertiesDocumentNumbersInner + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentPropertiesDocumentNumbersInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -293,22 +292,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentPropertiesDocumentNumbersInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentPropertiesDocumentNumbersInner - * @throws IOException if the JSON string is invalid with respect to DocumentPropertiesDocumentNumbersInner - */ + /** + * Create an instance of DocumentPropertiesDocumentNumbersInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentPropertiesDocumentNumbersInner + * @throws IOException if the JSON string is invalid with respect to DocumentPropertiesDocumentNumbersInner + */ public static DocumentPropertiesDocumentNumbersInner fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentPropertiesDocumentNumbersInner.class); } - /** - * Convert an instance of DocumentPropertiesDocumentNumbersInner to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentPropertiesDocumentNumbersInner to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentPropertiesDrivingLicenceInformation.java b/src/main/java/com/onfido/model/DocumentPropertiesDrivingLicenceInformation.java index be68897e..4fcb8f80 100644 --- a/src/main/java/com/onfido/model/DocumentPropertiesDrivingLicenceInformation.java +++ b/src/main/java/com/onfido/model/DocumentPropertiesDrivingLicenceInformation.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * DocumentPropertiesDrivingLicenceInformation */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentPropertiesDrivingLicenceInformation { public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) @@ -76,10 +75,10 @@ public DocumentPropertiesDrivingLicenceInformation category(String category) { return this; } - /** + /** * Get category * @return category - **/ + */ @javax.annotation.Nullable public String getCategory() { return category; @@ -95,10 +94,10 @@ public DocumentPropertiesDrivingLicenceInformation obtainmentDate(LocalDate obta return this; } - /** + /** * Get obtainmentDate * @return obtainmentDate - **/ + */ @javax.annotation.Nullable public LocalDate getObtainmentDate() { return obtainmentDate; @@ -114,10 +113,10 @@ public DocumentPropertiesDrivingLicenceInformation expiryDate(LocalDate expiryDa return this; } - /** + /** * Get expiryDate * @return expiryDate - **/ + */ @javax.annotation.Nullable public LocalDate getExpiryDate() { return expiryDate; @@ -133,10 +132,10 @@ public DocumentPropertiesDrivingLicenceInformation codes(String codes) { return this; } - /** + /** * Get codes * @return codes - **/ + */ @javax.annotation.Nullable public String getCodes() { return codes; @@ -253,12 +252,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentPropertiesDrivingLicenceInformation - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentPropertiesDrivingLicenceInformation + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentPropertiesDrivingLicenceInformation.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -346,22 +345,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentPropertiesDrivingLicenceInformation given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentPropertiesDrivingLicenceInformation - * @throws IOException if the JSON string is invalid with respect to DocumentPropertiesDrivingLicenceInformation - */ + /** + * Create an instance of DocumentPropertiesDrivingLicenceInformation given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentPropertiesDrivingLicenceInformation + * @throws IOException if the JSON string is invalid with respect to DocumentPropertiesDrivingLicenceInformation + */ public static DocumentPropertiesDrivingLicenceInformation fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentPropertiesDrivingLicenceInformation.class); } - /** - * Convert an instance of DocumentPropertiesDrivingLicenceInformation to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentPropertiesDrivingLicenceInformation to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentPropertiesExtractedData.java b/src/main/java/com/onfido/model/DocumentPropertiesExtractedData.java index f804e5c7..a5889edb 100644 --- a/src/main/java/com/onfido/model/DocumentPropertiesExtractedData.java +++ b/src/main/java/com/onfido/model/DocumentPropertiesExtractedData.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * DocumentPropertiesExtractedData */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentPropertiesExtractedData { public static final String SERIALIZED_NAME_DOCUMENT_NUMBER = "document_number"; @SerializedName(SERIALIZED_NAME_DOCUMENT_NUMBER) @@ -144,10 +143,10 @@ public DocumentPropertiesExtractedData documentNumber(String documentNumber) { return this; } - /** + /** * Get documentNumber * @return documentNumber - **/ + */ @javax.annotation.Nullable public String getDocumentNumber() { return documentNumber; @@ -163,10 +162,10 @@ public DocumentPropertiesExtractedData dateOfBirth(LocalDate dateOfBirth) { return this; } - /** + /** * Get dateOfBirth * @return dateOfBirth - **/ + */ @javax.annotation.Nullable public LocalDate getDateOfBirth() { return dateOfBirth; @@ -182,10 +181,10 @@ public DocumentPropertiesExtractedData dateOfExpiry(LocalDate dateOfExpiry) { return this; } - /** + /** * Get dateOfExpiry * @return dateOfExpiry - **/ + */ @javax.annotation.Nullable public LocalDate getDateOfExpiry() { return dateOfExpiry; @@ -201,10 +200,10 @@ public DocumentPropertiesExtractedData firstName(String firstName) { return this; } - /** + /** * Get firstName * @return firstName - **/ + */ @javax.annotation.Nullable public String getFirstName() { return firstName; @@ -220,10 +219,10 @@ public DocumentPropertiesExtractedData lastName(String lastName) { return this; } - /** + /** * Get lastName * @return lastName - **/ + */ @javax.annotation.Nullable public String getLastName() { return lastName; @@ -239,10 +238,10 @@ public DocumentPropertiesExtractedData middleName(String middleName) { return this; } - /** + /** * Get middleName * @return middleName - **/ + */ @javax.annotation.Nullable public String getMiddleName() { return middleName; @@ -258,10 +257,10 @@ public DocumentPropertiesExtractedData fullName(String fullName) { return this; } - /** + /** * Get fullName * @return fullName - **/ + */ @javax.annotation.Nullable public String getFullName() { return fullName; @@ -277,10 +276,10 @@ public DocumentPropertiesExtractedData spouseName(String spouseName) { return this; } - /** + /** * Get spouseName * @return spouseName - **/ + */ @javax.annotation.Nullable public String getSpouseName() { return spouseName; @@ -296,10 +295,10 @@ public DocumentPropertiesExtractedData widowName(String widowName) { return this; } - /** + /** * Get widowName * @return widowName - **/ + */ @javax.annotation.Nullable public String getWidowName() { return widowName; @@ -315,10 +314,10 @@ public DocumentPropertiesExtractedData aliasName(String aliasName) { return this; } - /** + /** * Get aliasName * @return aliasName - **/ + */ @javax.annotation.Nullable public String getAliasName() { return aliasName; @@ -334,10 +333,10 @@ public DocumentPropertiesExtractedData gender(String gender) { return this; } - /** + /** * Get gender * @return gender - **/ + */ @javax.annotation.Nullable public String getGender() { return gender; @@ -353,10 +352,10 @@ public DocumentPropertiesExtractedData mrzLine1(String mrzLine1) { return this; } - /** + /** * Get mrzLine1 * @return mrzLine1 - **/ + */ @javax.annotation.Nullable public String getMrzLine1() { return mrzLine1; @@ -372,10 +371,10 @@ public DocumentPropertiesExtractedData mrzLine2(String mrzLine2) { return this; } - /** + /** * Get mrzLine2 * @return mrzLine2 - **/ + */ @javax.annotation.Nullable public String getMrzLine2() { return mrzLine2; @@ -391,10 +390,10 @@ public DocumentPropertiesExtractedData mrzLine3(String mrzLine3) { return this; } - /** + /** * Get mrzLine3 * @return mrzLine3 - **/ + */ @javax.annotation.Nullable public String getMrzLine3() { return mrzLine3; @@ -410,10 +409,10 @@ public DocumentPropertiesExtractedData nationality(String nationality) { return this; } - /** + /** * Get nationality * @return nationality - **/ + */ @javax.annotation.Nullable public String getNationality() { return nationality; @@ -429,10 +428,10 @@ public DocumentPropertiesExtractedData addressLine1(String addressLine1) { return this; } - /** + /** * Get addressLine1 * @return addressLine1 - **/ + */ @javax.annotation.Nullable public String getAddressLine1() { return addressLine1; @@ -448,10 +447,10 @@ public DocumentPropertiesExtractedData addressLine2(String addressLine2) { return this; } - /** + /** * Get addressLine2 * @return addressLine2 - **/ + */ @javax.annotation.Nullable public String getAddressLine2() { return addressLine2; @@ -467,10 +466,10 @@ public DocumentPropertiesExtractedData addressLine3(String addressLine3) { return this; } - /** + /** * Get addressLine3 * @return addressLine3 - **/ + */ @javax.annotation.Nullable public String getAddressLine3() { return addressLine3; @@ -486,10 +485,10 @@ public DocumentPropertiesExtractedData addressLine4(String addressLine4) { return this; } - /** + /** * Get addressLine4 * @return addressLine4 - **/ + */ @javax.annotation.Nullable public String getAddressLine4() { return addressLine4; @@ -505,10 +504,10 @@ public DocumentPropertiesExtractedData addressLine5(String addressLine5) { return this; } - /** + /** * Get addressLine5 * @return addressLine5 - **/ + */ @javax.annotation.Nullable public String getAddressLine5() { return addressLine5; @@ -524,10 +523,10 @@ public DocumentPropertiesExtractedData issuingAuthority(String issuingAuthority) return this; } - /** + /** * Get issuingAuthority * @return issuingAuthority - **/ + */ @javax.annotation.Nullable public String getIssuingAuthority() { return issuingAuthority; @@ -695,12 +694,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentPropertiesExtractedData - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentPropertiesExtractedData + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentPropertiesExtractedData.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -839,22 +838,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentPropertiesExtractedData given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentPropertiesExtractedData - * @throws IOException if the JSON string is invalid with respect to DocumentPropertiesExtractedData - */ + /** + * Create an instance of DocumentPropertiesExtractedData given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentPropertiesExtractedData + * @throws IOException if the JSON string is invalid with respect to DocumentPropertiesExtractedData + */ public static DocumentPropertiesExtractedData fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentPropertiesExtractedData.class); } - /** - * Convert an instance of DocumentPropertiesExtractedData to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentPropertiesExtractedData to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentPropertiesNfc.java b/src/main/java/com/onfido/model/DocumentPropertiesNfc.java index c4fef09c..06c00fec 100644 --- a/src/main/java/com/onfido/model/DocumentPropertiesNfc.java +++ b/src/main/java/com/onfido/model/DocumentPropertiesNfc.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * DocumentPropertiesNfc */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentPropertiesNfc { public static final String SERIALIZED_NAME_DOCUMENT_TYPE = "document_type"; @SerializedName(SERIALIZED_NAME_DOCUMENT_TYPE) @@ -112,10 +111,10 @@ public DocumentPropertiesNfc documentType(String documentType) { return this; } - /** + /** * Get documentType * @return documentType - **/ + */ @javax.annotation.Nullable public String getDocumentType() { return documentType; @@ -131,10 +130,10 @@ public DocumentPropertiesNfc issuingCountry(String issuingCountry) { return this; } - /** + /** * Get issuingCountry * @return issuingCountry - **/ + */ @javax.annotation.Nullable public String getIssuingCountry() { return issuingCountry; @@ -150,10 +149,10 @@ public DocumentPropertiesNfc fullName(String fullName) { return this; } - /** + /** * Get fullName * @return fullName - **/ + */ @javax.annotation.Nullable public String getFullName() { return fullName; @@ -169,10 +168,10 @@ public DocumentPropertiesNfc documentNumber(String documentNumber) { return this; } - /** + /** * Get documentNumber * @return documentNumber - **/ + */ @javax.annotation.Nullable public String getDocumentNumber() { return documentNumber; @@ -188,10 +187,10 @@ public DocumentPropertiesNfc nationality(String nationality) { return this; } - /** + /** * Get nationality * @return nationality - **/ + */ @javax.annotation.Nullable public String getNationality() { return nationality; @@ -207,10 +206,10 @@ public DocumentPropertiesNfc dateOfBirth(LocalDate dateOfBirth) { return this; } - /** + /** * Get dateOfBirth * @return dateOfBirth - **/ + */ @javax.annotation.Nullable public LocalDate getDateOfBirth() { return dateOfBirth; @@ -226,10 +225,10 @@ public DocumentPropertiesNfc gender(String gender) { return this; } - /** + /** * Get gender * @return gender - **/ + */ @javax.annotation.Nullable public String getGender() { return gender; @@ -245,10 +244,10 @@ public DocumentPropertiesNfc dateOfExpiry(LocalDate dateOfExpiry) { return this; } - /** + /** * Get dateOfExpiry * @return dateOfExpiry - **/ + */ @javax.annotation.Nullable public LocalDate getDateOfExpiry() { return dateOfExpiry; @@ -264,10 +263,10 @@ public DocumentPropertiesNfc personalNumber(String personalNumber) { return this; } - /** + /** * Get personalNumber * @return personalNumber - **/ + */ @javax.annotation.Nullable public String getPersonalNumber() { return personalNumber; @@ -283,10 +282,10 @@ public DocumentPropertiesNfc placeOfBirth(String placeOfBirth) { return this; } - /** + /** * Get placeOfBirth * @return placeOfBirth - **/ + */ @javax.annotation.Nullable public String getPlaceOfBirth() { return placeOfBirth; @@ -302,10 +301,10 @@ public DocumentPropertiesNfc address(String address) { return this; } - /** + /** * Get address * @return address - **/ + */ @javax.annotation.Nullable public String getAddress() { return address; @@ -321,10 +320,10 @@ public DocumentPropertiesNfc issuingDate(LocalDate issuingDate) { return this; } - /** + /** * Get issuingDate * @return issuingDate - **/ + */ @javax.annotation.Nullable public LocalDate getIssuingDate() { return issuingDate; @@ -340,10 +339,10 @@ public DocumentPropertiesNfc issuingAuthority(String issuingAuthority) { return this; } - /** + /** * Get issuingAuthority * @return issuingAuthority - **/ + */ @javax.annotation.Nullable public String getIssuingAuthority() { return issuingAuthority; @@ -487,12 +486,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentPropertiesNfc - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentPropertiesNfc + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentPropertiesNfc.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -604,22 +603,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentPropertiesNfc given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentPropertiesNfc - * @throws IOException if the JSON string is invalid with respect to DocumentPropertiesNfc - */ + /** + * Create an instance of DocumentPropertiesNfc given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentPropertiesNfc + * @throws IOException if the JSON string is invalid with respect to DocumentPropertiesNfc + */ public static DocumentPropertiesNfc fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentPropertiesNfc.class); } - /** - * Convert an instance of DocumentPropertiesNfc to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentPropertiesNfc to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentReport.java b/src/main/java/com/onfido/model/DocumentReport.java index e40f23d2..d7c1afa3 100644 --- a/src/main/java/com/onfido/model/DocumentReport.java +++ b/src/main/java/com/onfido/model/DocumentReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * DocumentReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public DocumentReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public DocumentReport createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public DocumentReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public DocumentReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public DocumentReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public DocumentReport subResult(ReportSubResult subResult) { return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public DocumentReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public DocumentReport addDocumentsItem(ReportDocument documentsItem) { return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public DocumentReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public DocumentReport breakdown(DocumentBreakdown breakdown) { return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public DocumentBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public DocumentReport properties(DocumentProperties properties) { return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public DocumentProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentReport - * @throws IOException if the JSON string is invalid with respect to DocumentReport - */ + /** + * Create an instance of DocumentReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentReport + * @throws IOException if the JSON string is invalid with respect to DocumentReport + */ public static DocumentReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentReport.class); } - /** - * Convert an instance of DocumentReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentResponse.java b/src/main/java/com/onfido/model/DocumentResponse.java index 7a7c7bca..002cb793 100644 --- a/src/main/java/com/onfido/model/DocumentResponse.java +++ b/src/main/java/com/onfido/model/DocumentResponse.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * DocumentResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentResponse { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -85,10 +84,10 @@ public DocumentResponse id(UUID id) { return this; } - /** + /** * The unique identifier for the document * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -104,10 +103,10 @@ public DocumentResponse createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the document was uploaded * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -123,10 +122,10 @@ public DocumentResponse href(String href) { return this; } - /** + /** * The uri of this resource * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -142,10 +141,10 @@ public DocumentResponse downloadHref(String downloadHref) { return this; } - /** + /** * The uri that can be used to download the document * @return downloadHref - **/ + */ @javax.annotation.Nullable public String getDownloadHref() { return downloadHref; @@ -161,10 +160,10 @@ public DocumentResponse fileName(String fileName) { return this; } - /** + /** * The name of the uploaded file * @return fileName - **/ + */ @javax.annotation.Nullable public String getFileName() { return fileName; @@ -180,10 +179,10 @@ public DocumentResponse fileSize(Integer fileSize) { return this; } - /** + /** * The size of the file in bytes * @return fileSize - **/ + */ @javax.annotation.Nullable public Integer getFileSize() { return fileSize; @@ -307,12 +306,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentResponse - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentResponse + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -413,22 +412,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentResponse - * @throws IOException if the JSON string is invalid with respect to DocumentResponse - */ + /** + * Create an instance of DocumentResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentResponse + * @throws IOException if the JSON string is invalid with respect to DocumentResponse + */ public static DocumentResponse fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentResponse.class); } - /** - * Convert an instance of DocumentResponse to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentResponse to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentShared.java b/src/main/java/com/onfido/model/DocumentShared.java index 10bb2eee..f7afc0e6 100644 --- a/src/main/java/com/onfido/model/DocumentShared.java +++ b/src/main/java/com/onfido/model/DocumentShared.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * DocumentShared */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentShared { /** * The file type of the uploaded file @@ -194,10 +193,10 @@ public DocumentShared fileType(FileTypeEnum fileType) { return this; } - /** + /** * The file type of the uploaded file * @return fileType - **/ + */ @javax.annotation.Nullable public FileTypeEnum getFileType() { return fileType; @@ -213,10 +212,10 @@ public DocumentShared type(DocumentTypes type) { return this; } - /** + /** * The type of document * @return type - **/ + */ @javax.annotation.Nullable public DocumentTypes getType() { return type; @@ -232,10 +231,10 @@ public DocumentShared side(SideEnum side) { return this; } - /** + /** * The side of the document, if applicable. The possible values are front and back * @return side - **/ + */ @javax.annotation.Nullable public SideEnum getSide() { return side; @@ -251,10 +250,10 @@ public DocumentShared issuingCountry(CountryCodes issuingCountry) { return this; } - /** + /** * The issuing country of the document, a 3-letter ISO code. * @return issuingCountry - **/ + */ @javax.annotation.Nullable public CountryCodes getIssuingCountry() { return issuingCountry; @@ -270,10 +269,10 @@ public DocumentShared applicantId(UUID applicantId) { return this; } - /** + /** * The ID of the applicant whose document is being uploaded. * @return applicantId - **/ + */ @javax.annotation.Nullable public UUID getApplicantId() { return applicantId; @@ -393,12 +392,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentShared - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentShared + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentShared.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -505,22 +504,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentShared given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentShared - * @throws IOException if the JSON string is invalid with respect to DocumentShared - */ + /** + * Create an instance of DocumentShared given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentShared + * @throws IOException if the JSON string is invalid with respect to DocumentShared + */ public static DocumentShared fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentShared.class); } - /** - * Convert an instance of DocumentShared to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentShared to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentVideoReport.java b/src/main/java/com/onfido/model/DocumentVideoReport.java index 4e13548e..02241845 100644 --- a/src/main/java/com/onfido/model/DocumentVideoReport.java +++ b/src/main/java/com/onfido/model/DocumentVideoReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * DocumentVideoReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentVideoReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public DocumentVideoReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public DocumentVideoReport createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public DocumentVideoReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public DocumentVideoReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public DocumentVideoReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public DocumentVideoReport subResult(ReportSubResult subResult) { return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public DocumentVideoReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public DocumentVideoReport addDocumentsItem(ReportDocument documentsItem) { return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public DocumentVideoReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public DocumentVideoReport breakdown(DocumentBreakdown breakdown) { return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public DocumentBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public DocumentVideoReport properties(DocumentProperties properties) { return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public DocumentProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentVideoReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentVideoReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentVideoReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentVideoReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentVideoReport - * @throws IOException if the JSON string is invalid with respect to DocumentVideoReport - */ + /** + * Create an instance of DocumentVideoReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentVideoReport + * @throws IOException if the JSON string is invalid with respect to DocumentVideoReport + */ public static DocumentVideoReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentVideoReport.class); } - /** - * Convert an instance of DocumentVideoReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentVideoReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentVideoWithAddressInformationReport.java b/src/main/java/com/onfido/model/DocumentVideoWithAddressInformationReport.java index 5d06b2fa..52957c90 100644 --- a/src/main/java/com/onfido/model/DocumentVideoWithAddressInformationReport.java +++ b/src/main/java/com/onfido/model/DocumentVideoWithAddressInformationReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * DocumentVideoWithAddressInformationReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentVideoWithAddressInformationReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public DocumentVideoWithAddressInformationReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public DocumentVideoWithAddressInformationReport createdAt(OffsetDateTime create return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public DocumentVideoWithAddressInformationReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public DocumentVideoWithAddressInformationReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public DocumentVideoWithAddressInformationReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public DocumentVideoWithAddressInformationReport subResult(ReportSubResult subRe return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public DocumentVideoWithAddressInformationReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public DocumentVideoWithAddressInformationReport addDocumentsItem(ReportDocument return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public DocumentVideoWithAddressInformationReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public DocumentVideoWithAddressInformationReport breakdown(DocumentBreakdown bre return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public DocumentBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public DocumentVideoWithAddressInformationReport properties(DocumentProperties p return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public DocumentProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentVideoWithAddressInformationReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentVideoWithAddressInformationReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentVideoWithAddressInformationReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentVideoWithAddressInformationReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentVideoWithAddressInformationReport - * @throws IOException if the JSON string is invalid with respect to DocumentVideoWithAddressInformationReport - */ + /** + * Create an instance of DocumentVideoWithAddressInformationReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentVideoWithAddressInformationReport + * @throws IOException if the JSON string is invalid with respect to DocumentVideoWithAddressInformationReport + */ public static DocumentVideoWithAddressInformationReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentVideoWithAddressInformationReport.class); } - /** - * Convert an instance of DocumentVideoWithAddressInformationReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentVideoWithAddressInformationReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentWithAddressInformationReport.java b/src/main/java/com/onfido/model/DocumentWithAddressInformationReport.java index 3681e787..5548943b 100644 --- a/src/main/java/com/onfido/model/DocumentWithAddressInformationReport.java +++ b/src/main/java/com/onfido/model/DocumentWithAddressInformationReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * DocumentWithAddressInformationReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentWithAddressInformationReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public DocumentWithAddressInformationReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public DocumentWithAddressInformationReport createdAt(OffsetDateTime createdAt) return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public DocumentWithAddressInformationReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public DocumentWithAddressInformationReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public DocumentWithAddressInformationReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public DocumentWithAddressInformationReport subResult(ReportSubResult subResult) return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public DocumentWithAddressInformationReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public DocumentWithAddressInformationReport addDocumentsItem(ReportDocument docu return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public DocumentWithAddressInformationReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public DocumentWithAddressInformationReport breakdown(DocumentBreakdown breakdow return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public DocumentBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public DocumentWithAddressInformationReport properties(DocumentProperties proper return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public DocumentProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentWithAddressInformationReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentWithAddressInformationReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentWithAddressInformationReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentWithAddressInformationReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentWithAddressInformationReport - * @throws IOException if the JSON string is invalid with respect to DocumentWithAddressInformationReport - */ + /** + * Create an instance of DocumentWithAddressInformationReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentWithAddressInformationReport + * @throws IOException if the JSON string is invalid with respect to DocumentWithAddressInformationReport + */ public static DocumentWithAddressInformationReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentWithAddressInformationReport.class); } - /** - * Convert an instance of DocumentWithAddressInformationReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentWithAddressInformationReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentWithDriverVerificationReport.java b/src/main/java/com/onfido/model/DocumentWithDriverVerificationReport.java index b1604ff7..44e273a9 100644 --- a/src/main/java/com/onfido/model/DocumentWithDriverVerificationReport.java +++ b/src/main/java/com/onfido/model/DocumentWithDriverVerificationReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * DocumentWithDriverVerificationReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentWithDriverVerificationReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public DocumentWithDriverVerificationReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public DocumentWithDriverVerificationReport createdAt(OffsetDateTime createdAt) return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public DocumentWithDriverVerificationReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public DocumentWithDriverVerificationReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public DocumentWithDriverVerificationReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public DocumentWithDriverVerificationReport subResult(ReportSubResult subResult) return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public DocumentWithDriverVerificationReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public DocumentWithDriverVerificationReport addDocumentsItem(ReportDocument docu return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public DocumentWithDriverVerificationReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public DocumentWithDriverVerificationReport breakdown(DocumentBreakdown breakdow return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public DocumentBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public DocumentWithDriverVerificationReport properties(DocumentWithDriverVerific return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public DocumentWithDriverVerificationReportAllOfProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentWithDriverVerificationReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentWithDriverVerificationReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentWithDriverVerificationReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentWithDriverVerificationReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentWithDriverVerificationReport - * @throws IOException if the JSON string is invalid with respect to DocumentWithDriverVerificationReport - */ + /** + * Create an instance of DocumentWithDriverVerificationReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentWithDriverVerificationReport + * @throws IOException if the JSON string is invalid with respect to DocumentWithDriverVerificationReport + */ public static DocumentWithDriverVerificationReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentWithDriverVerificationReport.class); } - /** - * Convert an instance of DocumentWithDriverVerificationReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentWithDriverVerificationReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentWithDriverVerificationReportAllOfProperties.java b/src/main/java/com/onfido/model/DocumentWithDriverVerificationReportAllOfProperties.java index 965dd1a7..22985f88 100644 --- a/src/main/java/com/onfido/model/DocumentWithDriverVerificationReportAllOfProperties.java +++ b/src/main/java/com/onfido/model/DocumentWithDriverVerificationReportAllOfProperties.java @@ -49,7 +49,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -61,7 +60,7 @@ /** * DocumentWithDriverVerificationReportAllOfProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentWithDriverVerificationReportAllOfProperties { public static final String SERIALIZED_NAME_DATE_OF_BIRTH = "date_of_birth"; @SerializedName(SERIALIZED_NAME_DATE_OF_BIRTH) @@ -455,10 +454,10 @@ public DocumentWithDriverVerificationReportAllOfProperties dateOfBirth(LocalDate return this; } - /** + /** * Get dateOfBirth * @return dateOfBirth - **/ + */ @javax.annotation.Nullable public LocalDate getDateOfBirth() { return dateOfBirth; @@ -474,10 +473,10 @@ public DocumentWithDriverVerificationReportAllOfProperties dateOfExpiry(LocalDat return this; } - /** + /** * Get dateOfExpiry * @return dateOfExpiry - **/ + */ @javax.annotation.Nullable public LocalDate getDateOfExpiry() { return dateOfExpiry; @@ -493,10 +492,10 @@ public DocumentWithDriverVerificationReportAllOfProperties personalNumber(String return this; } - /** + /** * Get personalNumber * @return personalNumber - **/ + */ @javax.annotation.Nullable public String getPersonalNumber() { return personalNumber; @@ -520,10 +519,10 @@ public DocumentWithDriverVerificationReportAllOfProperties addDocumentNumbersIte return this; } - /** + /** * Get documentNumbers * @return documentNumbers - **/ + */ @javax.annotation.Nullable public List getDocumentNumbers() { return documentNumbers; @@ -539,10 +538,10 @@ public DocumentWithDriverVerificationReportAllOfProperties documentType(String d return this; } - /** + /** * Get documentType * @return documentType - **/ + */ @javax.annotation.Nullable public String getDocumentType() { return documentType; @@ -558,10 +557,10 @@ public DocumentWithDriverVerificationReportAllOfProperties firstName(String firs return this; } - /** + /** * Get firstName * @return firstName - **/ + */ @javax.annotation.Nullable public String getFirstName() { return firstName; @@ -577,10 +576,10 @@ public DocumentWithDriverVerificationReportAllOfProperties middleName(String mid return this; } - /** + /** * Get middleName * @return middleName - **/ + */ @javax.annotation.Nullable public String getMiddleName() { return middleName; @@ -596,10 +595,10 @@ public DocumentWithDriverVerificationReportAllOfProperties lastName(String lastN return this; } - /** + /** * Get lastName * @return lastName - **/ + */ @javax.annotation.Nullable public String getLastName() { return lastName; @@ -615,10 +614,10 @@ public DocumentWithDriverVerificationReportAllOfProperties gender(String gender) return this; } - /** + /** * Get gender * @return gender - **/ + */ @javax.annotation.Nullable public String getGender() { return gender; @@ -634,10 +633,10 @@ public DocumentWithDriverVerificationReportAllOfProperties issuingCountry(String return this; } - /** + /** * Get issuingCountry * @return issuingCountry - **/ + */ @javax.annotation.Nullable public String getIssuingCountry() { return issuingCountry; @@ -653,10 +652,10 @@ public DocumentWithDriverVerificationReportAllOfProperties nationality(String na return this; } - /** + /** * Get nationality * @return nationality - **/ + */ @javax.annotation.Nullable public String getNationality() { return nationality; @@ -672,10 +671,10 @@ public DocumentWithDriverVerificationReportAllOfProperties issuingState(String i return this; } - /** + /** * Get issuingState * @return issuingState - **/ + */ @javax.annotation.Nullable public String getIssuingState() { return issuingState; @@ -691,10 +690,10 @@ public DocumentWithDriverVerificationReportAllOfProperties issuingDate(LocalDate return this; } - /** + /** * Get issuingDate * @return issuingDate - **/ + */ @javax.annotation.Nullable public LocalDate getIssuingDate() { return issuingDate; @@ -710,10 +709,10 @@ public DocumentWithDriverVerificationReportAllOfProperties categorisation(String return this; } - /** + /** * Get categorisation * @return categorisation - **/ + */ @javax.annotation.Nullable public String getCategorisation() { return categorisation; @@ -729,10 +728,10 @@ public DocumentWithDriverVerificationReportAllOfProperties mrzLine1(String mrzLi return this; } - /** + /** * Get mrzLine1 * @return mrzLine1 - **/ + */ @javax.annotation.Nullable public String getMrzLine1() { return mrzLine1; @@ -748,10 +747,10 @@ public DocumentWithDriverVerificationReportAllOfProperties mrzLine2(String mrzLi return this; } - /** + /** * Get mrzLine2 * @return mrzLine2 - **/ + */ @javax.annotation.Nullable public String getMrzLine2() { return mrzLine2; @@ -767,10 +766,10 @@ public DocumentWithDriverVerificationReportAllOfProperties mrzLine3(String mrzLi return this; } - /** + /** * Get mrzLine3 * @return mrzLine3 - **/ + */ @javax.annotation.Nullable public String getMrzLine3() { return mrzLine3; @@ -786,10 +785,10 @@ public DocumentWithDriverVerificationReportAllOfProperties address(String addres return this; } - /** + /** * Get address * @return address - **/ + */ @javax.annotation.Nullable public String getAddress() { return address; @@ -805,10 +804,10 @@ public DocumentWithDriverVerificationReportAllOfProperties placeOfBirth(String p return this; } - /** + /** * Get placeOfBirth * @return placeOfBirth - **/ + */ @javax.annotation.Nullable public String getPlaceOfBirth() { return placeOfBirth; @@ -824,10 +823,10 @@ public DocumentWithDriverVerificationReportAllOfProperties spouseName(String spo return this; } - /** + /** * Get spouseName * @return spouseName - **/ + */ @javax.annotation.Nullable public String getSpouseName() { return spouseName; @@ -843,10 +842,10 @@ public DocumentWithDriverVerificationReportAllOfProperties widowName(String wido return this; } - /** + /** * Get widowName * @return widowName - **/ + */ @javax.annotation.Nullable public String getWidowName() { return widowName; @@ -862,10 +861,10 @@ public DocumentWithDriverVerificationReportAllOfProperties aliasName(String alia return this; } - /** + /** * Get aliasName * @return aliasName - **/ + */ @javax.annotation.Nullable public String getAliasName() { return aliasName; @@ -881,10 +880,10 @@ public DocumentWithDriverVerificationReportAllOfProperties issuingAuthority(Stri return this; } - /** + /** * Get issuingAuthority * @return issuingAuthority - **/ + */ @javax.annotation.Nullable public String getIssuingAuthority() { return issuingAuthority; @@ -900,10 +899,10 @@ public DocumentWithDriverVerificationReportAllOfProperties remarks(String remark return this; } - /** + /** * Get remarks * @return remarks - **/ + */ @javax.annotation.Nullable public String getRemarks() { return remarks; @@ -919,10 +918,10 @@ public DocumentWithDriverVerificationReportAllOfProperties civilState(String civ return this; } - /** + /** * Get civilState * @return civilState - **/ + */ @javax.annotation.Nullable public String getCivilState() { return civilState; @@ -938,10 +937,10 @@ public DocumentWithDriverVerificationReportAllOfProperties expatriation(String e return this; } - /** + /** * Get expatriation * @return expatriation - **/ + */ @javax.annotation.Nullable public String getExpatriation() { return expatriation; @@ -957,10 +956,10 @@ public DocumentWithDriverVerificationReportAllOfProperties fatherName(String fat return this; } - /** + /** * Get fatherName * @return fatherName - **/ + */ @javax.annotation.Nullable public String getFatherName() { return fatherName; @@ -976,10 +975,10 @@ public DocumentWithDriverVerificationReportAllOfProperties motherName(String mot return this; } - /** + /** * Get motherName * @return motherName - **/ + */ @javax.annotation.Nullable public String getMotherName() { return motherName; @@ -995,10 +994,10 @@ public DocumentWithDriverVerificationReportAllOfProperties religion(String relig return this; } - /** + /** * Get religion * @return religion - **/ + */ @javax.annotation.Nullable public String getReligion() { return religion; @@ -1014,10 +1013,10 @@ public DocumentWithDriverVerificationReportAllOfProperties typeOfPermit(String t return this; } - /** + /** * Get typeOfPermit * @return typeOfPermit - **/ + */ @javax.annotation.Nullable public String getTypeOfPermit() { return typeOfPermit; @@ -1033,10 +1032,10 @@ public DocumentWithDriverVerificationReportAllOfProperties versionNumber(String return this; } - /** + /** * Get versionNumber * @return versionNumber - **/ + */ @javax.annotation.Nullable public String getVersionNumber() { return versionNumber; @@ -1052,10 +1051,10 @@ public DocumentWithDriverVerificationReportAllOfProperties documentSubtype(Strin return this; } - /** + /** * Get documentSubtype * @return documentSubtype - **/ + */ @javax.annotation.Nullable public String getDocumentSubtype() { return documentSubtype; @@ -1071,10 +1070,10 @@ public DocumentWithDriverVerificationReportAllOfProperties profession(String pro return this; } - /** + /** * Get profession * @return profession - **/ + */ @javax.annotation.Nullable public String getProfession() { return profession; @@ -1090,10 +1089,10 @@ public DocumentWithDriverVerificationReportAllOfProperties securityDocumentNumbe return this; } - /** + /** * Get securityDocumentNumber * @return securityDocumentNumber - **/ + */ @javax.annotation.Nullable public String getSecurityDocumentNumber() { return securityDocumentNumber; @@ -1109,10 +1108,10 @@ public DocumentWithDriverVerificationReportAllOfProperties taxNumber(String taxN return this; } - /** + /** * Get taxNumber * @return taxNumber - **/ + */ @javax.annotation.Nullable public String getTaxNumber() { return taxNumber; @@ -1128,10 +1127,10 @@ public DocumentWithDriverVerificationReportAllOfProperties nistIdentityEvidenceS return this; } - /** + /** * Get nistIdentityEvidenceStrength * @return nistIdentityEvidenceStrength - **/ + */ @javax.annotation.Nullable public NistIdentityEvidenceStrengthEnum getNistIdentityEvidenceStrength() { return nistIdentityEvidenceStrength; @@ -1147,10 +1146,10 @@ public DocumentWithDriverVerificationReportAllOfProperties hasIssuanceConfirmati return this; } - /** + /** * Get hasIssuanceConfirmation * @return hasIssuanceConfirmation - **/ + */ @javax.annotation.Nullable public HasIssuanceConfirmationEnum getHasIssuanceConfirmation() { return hasIssuanceConfirmation; @@ -1166,10 +1165,10 @@ public DocumentWithDriverVerificationReportAllOfProperties realIdCompliance(Bool return this; } - /** + /** * Get realIdCompliance * @return realIdCompliance - **/ + */ @javax.annotation.Nullable public Boolean getRealIdCompliance() { return realIdCompliance; @@ -1185,10 +1184,10 @@ public DocumentWithDriverVerificationReportAllOfProperties securityTier(Security return this; } - /** + /** * Get securityTier * @return securityTier - **/ + */ @javax.annotation.Nullable public SecurityTierEnum getSecurityTier() { return securityTier; @@ -1204,10 +1203,10 @@ public DocumentWithDriverVerificationReportAllOfProperties addressLines(Document return this; } - /** + /** * Get addressLines * @return addressLines - **/ + */ @javax.annotation.Nullable public DocumentPropertiesAddressLines getAddressLines() { return addressLines; @@ -1231,10 +1230,10 @@ public DocumentWithDriverVerificationReportAllOfProperties addBarcodeItem(Docume return this; } - /** + /** * Get barcode * @return barcode - **/ + */ @javax.annotation.Nullable public List getBarcode() { return barcode; @@ -1250,10 +1249,10 @@ public DocumentWithDriverVerificationReportAllOfProperties nfc(DocumentPropertie return this; } - /** + /** * Get nfc * @return nfc - **/ + */ @javax.annotation.Nullable public DocumentPropertiesNfc getNfc() { return nfc; @@ -1269,10 +1268,10 @@ public DocumentWithDriverVerificationReportAllOfProperties drivingLicenceInforma return this; } - /** + /** * Get drivingLicenceInformation * @return drivingLicenceInformation - **/ + */ @javax.annotation.Nullable public DocumentPropertiesDrivingLicenceInformation getDrivingLicenceInformation() { return drivingLicenceInformation; @@ -1288,10 +1287,10 @@ public DocumentWithDriverVerificationReportAllOfProperties documentClassificatio return this; } - /** + /** * Get documentClassification * @return documentClassification - **/ + */ @javax.annotation.Nullable public DocumentPropertiesDocumentClassification getDocumentClassification() { return documentClassification; @@ -1307,10 +1306,10 @@ public DocumentWithDriverVerificationReportAllOfProperties extractedData(Documen return this; } - /** + /** * Get extractedData * @return extractedData - **/ + */ @javax.annotation.Nullable public DocumentPropertiesExtractedData getExtractedData() { return extractedData; @@ -1326,10 +1325,10 @@ public DocumentWithDriverVerificationReportAllOfProperties driversLicence(Boolea return this; } - /** + /** * True for **non-restricted** driving licences * @return driversLicence - **/ + */ @javax.annotation.Nullable public Boolean getDriversLicence() { return driversLicence; @@ -1345,10 +1344,10 @@ public DocumentWithDriverVerificationReportAllOfProperties restrictedLicence(Boo return this; } - /** + /** * True for **limited/restricted** driving license, including learner's permits * @return restrictedLicence - **/ + */ @javax.annotation.Nullable public Boolean getRestrictedLicence() { return restrictedLicence; @@ -1364,10 +1363,10 @@ public DocumentWithDriverVerificationReportAllOfProperties rawLicenceCategory(St return this; } - /** + /** * Underlying, non-normalised, licence category (e.g. \"Junior operators license\") * @return rawLicenceCategory - **/ + */ @javax.annotation.Nullable public String getRawLicenceCategory() { return rawLicenceCategory; @@ -1383,10 +1382,10 @@ public DocumentWithDriverVerificationReportAllOfProperties rawVehicleClasses(Str return this; } - /** + /** * Comma-separated vehicle classes that the user is qualified for * @return rawVehicleClasses - **/ + */ @javax.annotation.Nullable public String getRawVehicleClasses() { return rawVehicleClasses; @@ -1410,10 +1409,10 @@ public DocumentWithDriverVerificationReportAllOfProperties addVehicleClassDetail return this; } - /** + /** * Detailed classes/categories information * @return vehicleClassDetails - **/ + */ @javax.annotation.Nullable public List getVehicleClassDetails() { return vehicleClassDetails; @@ -1429,10 +1428,10 @@ public DocumentWithDriverVerificationReportAllOfProperties passengerVehicle(Docu return this; } - /** + /** * Get passengerVehicle * @return passengerVehicle - **/ + */ @javax.annotation.Nullable public DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle getPassengerVehicle() { return passengerVehicle; @@ -1690,12 +1689,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentWithDriverVerificationReportAllOfProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentWithDriverVerificationReportAllOfProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentWithDriverVerificationReportAllOfProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -1963,22 +1962,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentWithDriverVerificationReportAllOfProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentWithDriverVerificationReportAllOfProperties - * @throws IOException if the JSON string is invalid with respect to DocumentWithDriverVerificationReportAllOfProperties - */ + /** + * Create an instance of DocumentWithDriverVerificationReportAllOfProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentWithDriverVerificationReportAllOfProperties + * @throws IOException if the JSON string is invalid with respect to DocumentWithDriverVerificationReportAllOfProperties + */ public static DocumentWithDriverVerificationReportAllOfProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentWithDriverVerificationReportAllOfProperties.class); } - /** - * Convert an instance of DocumentWithDriverVerificationReportAllOfProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentWithDriverVerificationReportAllOfProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle.java b/src/main/java/com/onfido/model/DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle.java index fe7c4ab8..26194ec0 100644 --- a/src/main/java/com/onfido/model/DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle.java +++ b/src/main/java/com/onfido/model/DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Normalised data for passenger cars */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle { public static final String SERIALIZED_NAME_IS_QUALIFIED = "is_qualified"; @SerializedName(SERIALIZED_NAME_IS_QUALIFIED) @@ -72,10 +71,10 @@ public DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle return this; } - /** + /** * Whether they are qualified for a passenger car, such as a “B” class in the UK * @return isQualified - **/ + */ @javax.annotation.Nullable public Boolean getIsQualified() { return isQualified; @@ -91,10 +90,10 @@ public DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle return this; } - /** + /** * Date the class qualification was obtained * @return obtainmentDate - **/ + */ @javax.annotation.Nullable public LocalDate getObtainmentDate() { return obtainmentDate; @@ -110,10 +109,10 @@ public DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle return this; } - /** + /** * Date the class qualification expires, which may be different to doc expiry * @return expiryDate - **/ + */ @javax.annotation.Nullable public LocalDate getExpiryDate() { return expiryDate; @@ -227,12 +226,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -314,22 +313,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle - * @throws IOException if the JSON string is invalid with respect to DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle - */ + /** + * Create an instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle + * @throws IOException if the JSON string is invalid with respect to DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle + */ public static DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle.class); } - /** - * Convert an instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner.java b/src/main/java/com/onfido/model/DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner.java index d3e94af5..9b929d73 100644 --- a/src/main/java/com/onfido/model/DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner.java +++ b/src/main/java/com/onfido/model/DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner { public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) @@ -76,10 +75,10 @@ public DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetai return this; } - /** + /** * Vehicle class/category * @return category - **/ + */ @javax.annotation.Nullable public String getCategory() { return category; @@ -95,10 +94,10 @@ public DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetai return this; } - /** + /** * Special conditions driver must meet * @return codes - **/ + */ @javax.annotation.Nullable public String getCodes() { return codes; @@ -114,10 +113,10 @@ public DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetai return this; } - /** + /** * Category obtainment date * @return obtainmentDate - **/ + */ @javax.annotation.Nullable public LocalDate getObtainmentDate() { return obtainmentDate; @@ -133,10 +132,10 @@ public DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetai return this; } - /** + /** * Category expiry date * @return expiryDate - **/ + */ @javax.annotation.Nullable public LocalDate getExpiryDate() { return expiryDate; @@ -253,12 +252,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -346,22 +345,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner - * @throws IOException if the JSON string is invalid with respect to DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner - */ + /** + * Create an instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner + * @throws IOException if the JSON string is invalid with respect to DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner + */ public static DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner.class); } - /** - * Convert an instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentWithDrivingLicenceInformationReport.java b/src/main/java/com/onfido/model/DocumentWithDrivingLicenceInformationReport.java index b25151f1..4e1039d8 100644 --- a/src/main/java/com/onfido/model/DocumentWithDrivingLicenceInformationReport.java +++ b/src/main/java/com/onfido/model/DocumentWithDrivingLicenceInformationReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * DocumentWithDrivingLicenceInformationReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentWithDrivingLicenceInformationReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public DocumentWithDrivingLicenceInformationReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public DocumentWithDrivingLicenceInformationReport createdAt(OffsetDateTime crea return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public DocumentWithDrivingLicenceInformationReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public DocumentWithDrivingLicenceInformationReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public DocumentWithDrivingLicenceInformationReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public DocumentWithDrivingLicenceInformationReport subResult(ReportSubResult sub return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public DocumentWithDrivingLicenceInformationReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public DocumentWithDrivingLicenceInformationReport addDocumentsItem(ReportDocume return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public DocumentWithDrivingLicenceInformationReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public DocumentWithDrivingLicenceInformationReport breakdown(DocumentBreakdown b return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public DocumentBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public DocumentWithDrivingLicenceInformationReport properties(DocumentProperties return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public DocumentProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentWithDrivingLicenceInformationReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentWithDrivingLicenceInformationReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentWithDrivingLicenceInformationReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentWithDrivingLicenceInformationReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentWithDrivingLicenceInformationReport - * @throws IOException if the JSON string is invalid with respect to DocumentWithDrivingLicenceInformationReport - */ + /** + * Create an instance of DocumentWithDrivingLicenceInformationReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentWithDrivingLicenceInformationReport + * @throws IOException if the JSON string is invalid with respect to DocumentWithDrivingLicenceInformationReport + */ public static DocumentWithDrivingLicenceInformationReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentWithDrivingLicenceInformationReport.class); } - /** - * Convert an instance of DocumentWithDrivingLicenceInformationReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentWithDrivingLicenceInformationReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/DocumentsList.java b/src/main/java/com/onfido/model/DocumentsList.java index 0ee99511..1517a5bb 100644 --- a/src/main/java/com/onfido/model/DocumentsList.java +++ b/src/main/java/com/onfido/model/DocumentsList.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * DocumentsList */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DocumentsList { public static final String SERIALIZED_NAME_DOCUMENTS = "documents"; @SerializedName(SERIALIZED_NAME_DOCUMENTS) @@ -74,10 +73,10 @@ public DocumentsList addDocumentsItem(Document documentsItem) { return this; } - /** + /** * Get documents * @return documents - **/ + */ @javax.annotation.Nonnull public List getDocuments() { return documents; @@ -186,12 +185,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("documents"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DocumentsList - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DocumentsList + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!DocumentsList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of DocumentsList given an JSON string - * - * @param jsonString JSON string - * @return An instance of DocumentsList - * @throws IOException if the JSON string is invalid with respect to DocumentsList - */ + /** + * Create an instance of DocumentsList given an JSON string + * + * @param jsonString JSON string + * @return An instance of DocumentsList + * @throws IOException if the JSON string is invalid with respect to DocumentsList + */ public static DocumentsList fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, DocumentsList.class); } - /** - * Convert an instance of DocumentsList to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of DocumentsList to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/Error.java b/src/main/java/com/onfido/model/Error.java index be0f04ed..8ce62dca 100644 --- a/src/main/java/com/onfido/model/Error.java +++ b/src/main/java/com/onfido/model/Error.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Error */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Error { public static final String SERIALIZED_NAME_ERROR = "error"; @SerializedName(SERIALIZED_NAME_ERROR) @@ -64,10 +63,10 @@ public Error error(ErrorProperties error) { return this; } - /** + /** * Get error * @return error - **/ + */ @javax.annotation.Nullable public ErrorProperties getError() { return error; @@ -175,12 +174,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to Error - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to Error + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Error.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -266,22 +265,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of Error given an JSON string - * - * @param jsonString JSON string - * @return An instance of Error - * @throws IOException if the JSON string is invalid with respect to Error - */ + /** + * Create an instance of Error given an JSON string + * + * @param jsonString JSON string + * @return An instance of Error + * @throws IOException if the JSON string is invalid with respect to Error + */ public static Error fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, Error.class); } - /** - * Convert an instance of Error to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of Error to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/Error1.java b/src/main/java/com/onfido/model/Error1.java index 512410ea..24684b27 100644 --- a/src/main/java/com/onfido/model/Error1.java +++ b/src/main/java/com/onfido/model/Error1.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Error1 */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Error1 { public static final String SERIALIZED_NAME_DOCUMENT_ID = "document_id"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -68,10 +67,10 @@ public Error1 documentId(String documentId) { return this; } - /** + /** * The unique identifier of the uploaded document * @return documentId - **/ + */ @javax.annotation.Nullable public String getDocumentId() { return documentId; @@ -87,10 +86,10 @@ public Error1 error(ErrorProperties1 error) { return this; } - /** + /** * Get error * @return error - **/ + */ @javax.annotation.Nullable public ErrorProperties1 getError() { return error; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to Error1 - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to Error1 + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Error1.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of Error1 given an JSON string - * - * @param jsonString JSON string - * @return An instance of Error1 - * @throws IOException if the JSON string is invalid with respect to Error1 - */ + /** + * Create an instance of Error1 given an JSON string + * + * @param jsonString JSON string + * @return An instance of Error1 + * @throws IOException if the JSON string is invalid with respect to Error1 + */ public static Error1 fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, Error1.class); } - /** - * Convert an instance of Error1 to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of Error1 to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ErrorProperties.java b/src/main/java/com/onfido/model/ErrorProperties.java index 2197f453..eed850ea 100644 --- a/src/main/java/com/onfido/model/ErrorProperties.java +++ b/src/main/java/com/onfido/model/ErrorProperties.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * ErrorProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ErrorProperties { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -73,10 +72,10 @@ public ErrorProperties type(String type) { return this; } - /** + /** * Get type * @return type - **/ + */ @javax.annotation.Nullable public String getType() { return type; @@ -92,10 +91,10 @@ public ErrorProperties message(String message) { return this; } - /** + /** * Get message * @return message - **/ + */ @javax.annotation.Nullable public String getMessage() { return message; @@ -119,10 +118,10 @@ public ErrorProperties putFieldsItem(String key, Object fieldsItem) { return this; } - /** + /** * Get fields * @return fields - **/ + */ @javax.annotation.Nullable public Map getFields() { return fields; @@ -236,12 +235,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ErrorProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ErrorProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ErrorProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -329,22 +328,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ErrorProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of ErrorProperties - * @throws IOException if the JSON string is invalid with respect to ErrorProperties - */ + /** + * Create an instance of ErrorProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of ErrorProperties + * @throws IOException if the JSON string is invalid with respect to ErrorProperties + */ public static ErrorProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ErrorProperties.class); } - /** - * Convert an instance of ErrorProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ErrorProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ErrorProperties1.java b/src/main/java/com/onfido/model/ErrorProperties1.java index 05f3a752..ab3d324d 100644 --- a/src/main/java/com/onfido/model/ErrorProperties1.java +++ b/src/main/java/com/onfido/model/ErrorProperties1.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * ErrorProperties1 */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ErrorProperties1 { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -67,10 +66,10 @@ public ErrorProperties1 type(String type) { return this; } - /** + /** * Get type * @return type - **/ + */ @javax.annotation.Nullable public String getType() { return type; @@ -86,10 +85,10 @@ public ErrorProperties1 message(String message) { return this; } - /** + /** * Get message * @return message - **/ + */ @javax.annotation.Nullable public String getMessage() { return message; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ErrorProperties1 - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ErrorProperties1 + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ErrorProperties1.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -293,22 +292,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ErrorProperties1 given an JSON string - * - * @param jsonString JSON string - * @return An instance of ErrorProperties1 - * @throws IOException if the JSON string is invalid with respect to ErrorProperties1 - */ + /** + * Create an instance of ErrorProperties1 given an JSON string + * + * @param jsonString JSON string + * @return An instance of ErrorProperties1 + * @throws IOException if the JSON string is invalid with respect to ErrorProperties1 + */ public static ErrorProperties1 fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ErrorProperties1.class); } - /** - * Convert an instance of ErrorProperties1 to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ErrorProperties1 to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ExtractRequest.java b/src/main/java/com/onfido/model/ExtractRequest.java index baf75ca6..4dea6ae1 100644 --- a/src/main/java/com/onfido/model/ExtractRequest.java +++ b/src/main/java/com/onfido/model/ExtractRequest.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * ExtractRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ExtractRequest { public static final String SERIALIZED_NAME_DOCUMENT_ID = "document_id"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -64,10 +63,10 @@ public ExtractRequest documentId(UUID documentId) { return this; } - /** + /** * The unique identifier of the uploaded document to run extraction on * @return documentId - **/ + */ @javax.annotation.Nonnull public UUID getDocumentId() { return documentId; @@ -176,12 +175,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("document_id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ExtractRequest - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ExtractRequest + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ExtractRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -273,22 +272,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ExtractRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of ExtractRequest - * @throws IOException if the JSON string is invalid with respect to ExtractRequest - */ + /** + * Create an instance of ExtractRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of ExtractRequest + * @throws IOException if the JSON string is invalid with respect to ExtractRequest + */ public static ExtractRequest fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ExtractRequest.class); } - /** - * Convert an instance of ExtractRequest to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ExtractRequest to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/Extraction.java b/src/main/java/com/onfido/model/Extraction.java index 5d25138f..08322c6b 100644 --- a/src/main/java/com/onfido/model/Extraction.java +++ b/src/main/java/com/onfido/model/Extraction.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * Extraction */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Extraction { public static final String SERIALIZED_NAME_DOCUMENT_ID = "document_id"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -74,10 +73,10 @@ public Extraction documentId(UUID documentId) { return this; } - /** + /** * The unique identifier of the uploaded document. * @return documentId - **/ + */ @javax.annotation.Nullable public UUID getDocumentId() { return documentId; @@ -93,10 +92,10 @@ public Extraction documentClassification(ExtractionDocumentClassification docume return this; } - /** + /** * Get documentClassification * @return documentClassification - **/ + */ @javax.annotation.Nullable public ExtractionDocumentClassification getDocumentClassification() { return documentClassification; @@ -112,10 +111,10 @@ public Extraction extractedData(ExtractionExtractedData extractedData) { return this; } - /** + /** * Get extractedData * @return extractedData - **/ + */ @javax.annotation.Nullable public ExtractionExtractedData getExtractedData() { return extractedData; @@ -229,12 +228,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to Extraction - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to Extraction + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Extraction.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -327,22 +326,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of Extraction given an JSON string - * - * @param jsonString JSON string - * @return An instance of Extraction - * @throws IOException if the JSON string is invalid with respect to Extraction - */ + /** + * Create an instance of Extraction given an JSON string + * + * @param jsonString JSON string + * @return An instance of Extraction + * @throws IOException if the JSON string is invalid with respect to Extraction + */ public static Extraction fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, Extraction.class); } - /** - * Convert an instance of Extraction to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of Extraction to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ExtractionDocumentClassification.java b/src/main/java/com/onfido/model/ExtractionDocumentClassification.java index 22e4d1bd..99cf9ed1 100644 --- a/src/main/java/com/onfido/model/ExtractionDocumentClassification.java +++ b/src/main/java/com/onfido/model/ExtractionDocumentClassification.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * ExtractionDocumentClassification */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ExtractionDocumentClassification { public static final String SERIALIZED_NAME_ISSUING_COUNTRY = "issuing_country"; @SerializedName(SERIALIZED_NAME_ISSUING_COUNTRY) @@ -137,10 +136,10 @@ public ExtractionDocumentClassification issuingCountry(CountryCodes issuingCount return this; } - /** + /** * Document country in 3-letter ISO code. * @return issuingCountry - **/ + */ @javax.annotation.Nullable public CountryCodes getIssuingCountry() { return issuingCountry; @@ -156,10 +155,10 @@ public ExtractionDocumentClassification documentType(DocumentTypes documentType) return this; } - /** + /** * Type of document. * @return documentType - **/ + */ @javax.annotation.Nullable public DocumentTypes getDocumentType() { return documentType; @@ -175,10 +174,10 @@ public ExtractionDocumentClassification issuingState(String issuingState) { return this; } - /** + /** * The state that issued the document (if available). * @return issuingState - **/ + */ @javax.annotation.Nullable public String getIssuingState() { return issuingState; @@ -194,10 +193,10 @@ public ExtractionDocumentClassification subtype(SubtypeEnum subtype) { return this; } - /** + /** * The document subtype (if available). * @return subtype - **/ + */ @javax.annotation.Nullable public SubtypeEnum getSubtype() { return subtype; @@ -213,10 +212,10 @@ public ExtractionDocumentClassification version(String version) { return this; } - /** + /** * The document issuing version (if available). * @return version - **/ + */ @javax.annotation.Nullable public String getVersion() { return version; @@ -336,12 +335,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ExtractionDocumentClassification - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ExtractionDocumentClassification + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ExtractionDocumentClassification.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -444,22 +443,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ExtractionDocumentClassification given an JSON string - * - * @param jsonString JSON string - * @return An instance of ExtractionDocumentClassification - * @throws IOException if the JSON string is invalid with respect to ExtractionDocumentClassification - */ + /** + * Create an instance of ExtractionDocumentClassification given an JSON string + * + * @param jsonString JSON string + * @return An instance of ExtractionDocumentClassification + * @throws IOException if the JSON string is invalid with respect to ExtractionDocumentClassification + */ public static ExtractionDocumentClassification fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ExtractionDocumentClassification.class); } - /** - * Convert an instance of ExtractionDocumentClassification to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ExtractionDocumentClassification to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ExtractionExtractedData.java b/src/main/java/com/onfido/model/ExtractionExtractedData.java index 264fb211..afa700dd 100644 --- a/src/main/java/com/onfido/model/ExtractionExtractedData.java +++ b/src/main/java/com/onfido/model/ExtractionExtractedData.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * ExtractionExtractedData */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ExtractionExtractedData { public static final String SERIALIZED_NAME_DOCUMENT_NUMBER = "document_number"; @SerializedName(SERIALIZED_NAME_DOCUMENT_NUMBER) @@ -224,10 +223,10 @@ public ExtractionExtractedData documentNumber(String documentNumber) { return this; } - /** + /** * The official document number. * @return documentNumber - **/ + */ @javax.annotation.Nullable public String getDocumentNumber() { return documentNumber; @@ -243,10 +242,10 @@ public ExtractionExtractedData firstName(String firstName) { return this; } - /** + /** * First name. * @return firstName - **/ + */ @javax.annotation.Nullable public String getFirstName() { return firstName; @@ -262,10 +261,10 @@ public ExtractionExtractedData lastName(String lastName) { return this; } - /** + /** * Last name. * @return lastName - **/ + */ @javax.annotation.Nullable public String getLastName() { return lastName; @@ -281,10 +280,10 @@ public ExtractionExtractedData fullName(String fullName) { return this; } - /** + /** * Full name. * @return fullName - **/ + */ @javax.annotation.Nullable public String getFullName() { return fullName; @@ -300,10 +299,10 @@ public ExtractionExtractedData spouseName(String spouseName) { return this; } - /** + /** * Spouse name (French documents only). * @return spouseName - **/ + */ @javax.annotation.Nullable public String getSpouseName() { return spouseName; @@ -319,10 +318,10 @@ public ExtractionExtractedData widowName(String widowName) { return this; } - /** + /** * Widow name (French documents only). * @return widowName - **/ + */ @javax.annotation.Nullable public String getWidowName() { return widowName; @@ -338,10 +337,10 @@ public ExtractionExtractedData aliasName(String aliasName) { return this; } - /** + /** * Alias name (French documents only). * @return aliasName - **/ + */ @javax.annotation.Nullable public String getAliasName() { return aliasName; @@ -357,10 +356,10 @@ public ExtractionExtractedData gender(GenderEnum gender) { return this; } - /** + /** * Gender (Valid values are Male and Female). * @return gender - **/ + */ @javax.annotation.Nullable public GenderEnum getGender() { return gender; @@ -376,10 +375,10 @@ public ExtractionExtractedData dateOfBirth(LocalDate dateOfBirth) { return this; } - /** + /** * Date of birth in YYYY-MM-DD format. * @return dateOfBirth - **/ + */ @javax.annotation.Nullable public LocalDate getDateOfBirth() { return dateOfBirth; @@ -395,10 +394,10 @@ public ExtractionExtractedData dateOfExpiry(LocalDate dateOfExpiry) { return this; } - /** + /** * Date of expiry in YYYY-MM-DD format. * @return dateOfExpiry - **/ + */ @javax.annotation.Nullable public LocalDate getDateOfExpiry() { return dateOfExpiry; @@ -414,10 +413,10 @@ public ExtractionExtractedData expiryDate(LocalDate expiryDate) { return this; } - /** + /** * Date of expiry in YYYY-MM-DD format. * @return expiryDate - **/ + */ @javax.annotation.Nullable public LocalDate getExpiryDate() { return expiryDate; @@ -433,10 +432,10 @@ public ExtractionExtractedData nationality(String nationality) { return this; } - /** + /** * Nationality in 3-letter ISO code. * @return nationality - **/ + */ @javax.annotation.Nullable public String getNationality() { return nationality; @@ -452,10 +451,10 @@ public ExtractionExtractedData mrzLine1(String mrzLine1) { return this; } - /** + /** * Line 1 of the MRZ code. * @return mrzLine1 - **/ + */ @javax.annotation.Nullable public String getMrzLine1() { return mrzLine1; @@ -471,10 +470,10 @@ public ExtractionExtractedData mrzLine2(String mrzLine2) { return this; } - /** + /** * Line 2 of the MRZ code. * @return mrzLine2 - **/ + */ @javax.annotation.Nullable public String getMrzLine2() { return mrzLine2; @@ -490,10 +489,10 @@ public ExtractionExtractedData mrzLine3(String mrzLine3) { return this; } - /** + /** * Line 3 of the MRZ code. * @return mrzLine3 - **/ + */ @javax.annotation.Nullable public String getMrzLine3() { return mrzLine3; @@ -509,10 +508,10 @@ public ExtractionExtractedData address1(String address1) { return this; } - /** + /** * Line 1 of the address. * @return address1 - **/ + */ @javax.annotation.Nullable public String getAddress1() { return address1; @@ -528,10 +527,10 @@ public ExtractionExtractedData address2(String address2) { return this; } - /** + /** * Line 2 of the address. * @return address2 - **/ + */ @javax.annotation.Nullable public String getAddress2() { return address2; @@ -547,10 +546,10 @@ public ExtractionExtractedData address3(String address3) { return this; } - /** + /** * Line 3 of the address. * @return address3 - **/ + */ @javax.annotation.Nullable public String getAddress3() { return address3; @@ -566,10 +565,10 @@ public ExtractionExtractedData address4(String address4) { return this; } - /** + /** * Line 4 of the address. * @return address4 - **/ + */ @javax.annotation.Nullable public String getAddress4() { return address4; @@ -585,10 +584,10 @@ public ExtractionExtractedData address5(String address5) { return this; } - /** + /** * Line 5 of the address. * @return address5 - **/ + */ @javax.annotation.Nullable public String getAddress5() { return address5; @@ -604,10 +603,10 @@ public ExtractionExtractedData issuingAuthority(String issuingAuthority) { return this; } - /** + /** * Issuing authority. * @return issuingAuthority - **/ + */ @javax.annotation.Nullable public String getIssuingAuthority() { return issuingAuthority; @@ -623,10 +622,10 @@ public ExtractionExtractedData issuingCountry(CountryCodes issuingCountry) { return this; } - /** + /** * Document country in 3-letter ISO code. * @return issuingCountry - **/ + */ @javax.annotation.Nullable public CountryCodes getIssuingCountry() { return issuingCountry; @@ -642,10 +641,10 @@ public ExtractionExtractedData documentType(DocumentTypes documentType) { return this; } - /** + /** * Type of document. * @return documentType - **/ + */ @javax.annotation.Nullable public DocumentTypes getDocumentType() { return documentType; @@ -661,10 +660,10 @@ public ExtractionExtractedData placeOfBirth(String placeOfBirth) { return this; } - /** + /** * Place of birth. * @return placeOfBirth - **/ + */ @javax.annotation.Nullable public String getPlaceOfBirth() { return placeOfBirth; @@ -680,10 +679,10 @@ public ExtractionExtractedData issuingState(String issuingState) { return this; } - /** + /** * The state that issued the document. * @return issuingState - **/ + */ @javax.annotation.Nullable public String getIssuingState() { return issuingState; @@ -699,10 +698,10 @@ public ExtractionExtractedData issuingDate(LocalDate issuingDate) { return this; } - /** + /** * Issuing date in YYYY-MM-DD format. * @return issuingDate - **/ + */ @javax.annotation.Nullable public LocalDate getIssuingDate() { return issuingDate; @@ -718,10 +717,10 @@ public ExtractionExtractedData personalNumber(String personalNumber) { return this; } - /** + /** * The owner's unique identification number. * @return personalNumber - **/ + */ @javax.annotation.Nullable public String getPersonalNumber() { return personalNumber; @@ -907,12 +906,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ExtractionExtractedData - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ExtractionExtractedData + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ExtractionExtractedData.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -1069,22 +1068,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ExtractionExtractedData given an JSON string - * - * @param jsonString JSON string - * @return An instance of ExtractionExtractedData - * @throws IOException if the JSON string is invalid with respect to ExtractionExtractedData - */ + /** + * Create an instance of ExtractionExtractedData given an JSON string + * + * @param jsonString JSON string + * @return An instance of ExtractionExtractedData + * @throws IOException if the JSON string is invalid with respect to ExtractionExtractedData + */ public static ExtractionExtractedData fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ExtractionExtractedData.class); } - /** - * Convert an instance of ExtractionExtractedData to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ExtractionExtractedData to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdown.java b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdown.java index b0767234..bb54a377 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdown.java +++ b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdown.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * FacialSimilarityMotionBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityMotionBreakdown { public static final String SERIALIZED_NAME_FACE_COMPARISON = "face_comparison"; @SerializedName(SERIALIZED_NAME_FACE_COMPARISON) @@ -74,10 +73,10 @@ public FacialSimilarityMotionBreakdown faceComparison(FacialSimilarityMotionBrea return this; } - /** + /** * Get faceComparison * @return faceComparison - **/ + */ @javax.annotation.Nullable public FacialSimilarityMotionBreakdownFaceComparison getFaceComparison() { return faceComparison; @@ -93,10 +92,10 @@ public FacialSimilarityMotionBreakdown imageIntegrity(FacialSimilarityMotionBrea return this; } - /** + /** * Get imageIntegrity * @return imageIntegrity - **/ + */ @javax.annotation.Nullable public FacialSimilarityMotionBreakdownImageIntegrity getImageIntegrity() { return imageIntegrity; @@ -112,10 +111,10 @@ public FacialSimilarityMotionBreakdown visualAuthenticity(FacialSimilarityMotion return this; } - /** + /** * Get visualAuthenticity * @return visualAuthenticity - **/ + */ @javax.annotation.Nullable public FacialSimilarityMotionBreakdownVisualAuthenticity getVisualAuthenticity() { return visualAuthenticity; @@ -229,12 +228,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityMotionBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -328,22 +327,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityMotionBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityMotionBreakdown - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdown - */ + /** + * Create an instance of FacialSimilarityMotionBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityMotionBreakdown + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdown + */ public static FacialSimilarityMotionBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityMotionBreakdown.class); } - /** - * Convert an instance of FacialSimilarityMotionBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityMotionBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownFaceComparison.java b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownFaceComparison.java index 8db2e80b..ca9c22ec 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownFaceComparison.java +++ b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownFaceComparison.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the face in the document matches the face in the motion capture. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityMotionBreakdownFaceComparison { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityMotionBreakdownFaceComparison result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityMotionBreakdownFaceComparison breakdown(FacialSimilarityP return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownFaceComparisonBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdownFaceComparison - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdownFaceComparison + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityMotionBreakdownFaceComparison.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityMotionBreakdownFaceComparison given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityMotionBreakdownFaceComparison - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdownFaceComparison - */ + /** + * Create an instance of FacialSimilarityMotionBreakdownFaceComparison given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityMotionBreakdownFaceComparison + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdownFaceComparison + */ public static FacialSimilarityMotionBreakdownFaceComparison fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityMotionBreakdownFaceComparison.class); } - /** - * Convert an instance of FacialSimilarityMotionBreakdownFaceComparison to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityMotionBreakdownFaceComparison to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownImageIntegrity.java b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownImageIntegrity.java index d487362a..4dd9f4ff 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownImageIntegrity.java +++ b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownImageIntegrity.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the quality and integrity of the uploaded files were sufficient to perform a face comparison. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityMotionBreakdownImageIntegrity { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityMotionBreakdownImageIntegrity result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityMotionBreakdownImageIntegrity breakdown(FacialSimilarityM return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public FacialSimilarityMotionBreakdownImageIntegrityBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdownImageIntegrity - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdownImageIntegrity + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityMotionBreakdownImageIntegrity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityMotionBreakdownImageIntegrity given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityMotionBreakdownImageIntegrity - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdownImageIntegrity - */ + /** + * Create an instance of FacialSimilarityMotionBreakdownImageIntegrity given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityMotionBreakdownImageIntegrity + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdownImageIntegrity + */ public static FacialSimilarityMotionBreakdownImageIntegrity fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityMotionBreakdownImageIntegrity.class); } - /** - * Convert an instance of FacialSimilarityMotionBreakdownImageIntegrity to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityMotionBreakdownImageIntegrity to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownImageIntegrityBreakdown.java b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownImageIntegrityBreakdown.java index 759c07a4..5f61d11e 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownImageIntegrityBreakdown.java +++ b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownImageIntegrityBreakdown.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * FacialSimilarityMotionBreakdownImageIntegrityBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityMotionBreakdownImageIntegrityBreakdown { public static final String SERIALIZED_NAME_FACE_DETECTED = "face_detected"; @SerializedName(SERIALIZED_NAME_FACE_DETECTED) @@ -69,10 +68,10 @@ public FacialSimilarityMotionBreakdownImageIntegrityBreakdown faceDetected(Facia return this; } - /** + /** * Get faceDetected * @return faceDetected - **/ + */ @javax.annotation.Nullable public FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected getFaceDetected() { return faceDetected; @@ -88,10 +87,10 @@ public FacialSimilarityMotionBreakdownImageIntegrityBreakdown sourceIntegrity(Fa return this; } - /** + /** * Get sourceIntegrity * @return sourceIntegrity - **/ + */ @javax.annotation.Nullable public FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity getSourceIntegrity() { return sourceIntegrity; @@ -202,12 +201,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdownImageIntegrityBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdownImageIntegrityBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityMotionBreakdownImageIntegrityBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -297,22 +296,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdown - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdownImageIntegrityBreakdown - */ + /** + * Create an instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdown + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdownImageIntegrityBreakdown + */ public static FacialSimilarityMotionBreakdownImageIntegrityBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityMotionBreakdownImageIntegrityBreakdown.class); } - /** - * Convert an instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected.java b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected.java index 5f0c44d7..fe71cd0a 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected.java +++ b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Asserts a single face of good enough quality has been found in both the document image and in the motion capture. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected result return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected proper return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected - */ + /** + * Create an instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected + */ public static FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected.class); } - /** - * Convert an instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdownFaceDetected to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity.java b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity.java index 7d5336c8..a7f08a04 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity.java +++ b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the motion capture is trustworthy - e.g. not from a fake webcam. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity res return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity pro return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public VideoReasons getProperties() { return properties; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity - */ + /** + * Create an instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity + */ public static FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity.class); } - /** - * Convert an instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityMotionBreakdownImageIntegrityBreakdownSourceIntegrity to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownVisualAuthenticity.java b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownVisualAuthenticity.java index 3e165608..1f662057 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownVisualAuthenticity.java +++ b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownVisualAuthenticity.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the person in the motion capture is real (not a spoof) and live. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityMotionBreakdownVisualAuthenticity { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityMotionBreakdownVisualAuthenticity result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityMotionBreakdownVisualAuthenticity breakdown(FacialSimilar return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdownVisualAuthenticity - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdownVisualAuthenticity + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityMotionBreakdownVisualAuthenticity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityMotionBreakdownVisualAuthenticity given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityMotionBreakdownVisualAuthenticity - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdownVisualAuthenticity - */ + /** + * Create an instance of FacialSimilarityMotionBreakdownVisualAuthenticity given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityMotionBreakdownVisualAuthenticity + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdownVisualAuthenticity + */ public static FacialSimilarityMotionBreakdownVisualAuthenticity fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityMotionBreakdownVisualAuthenticity.class); } - /** - * Convert an instance of FacialSimilarityMotionBreakdownVisualAuthenticity to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityMotionBreakdownVisualAuthenticity to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown.java b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown.java index e7434e87..37cc0d58 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown.java +++ b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown { public static final String SERIALIZED_NAME_LIVENESS_DETECTED = "liveness_detected"; @SerializedName(SERIALIZED_NAME_LIVENESS_DETECTED) @@ -69,10 +68,10 @@ public FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown livenessDetect return this; } - /** + /** * Get livenessDetected * @return livenessDetected - **/ + */ @javax.annotation.Nullable public FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected getLivenessDetected() { return livenessDetected; @@ -88,10 +87,10 @@ public FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown spoofingDetect return this; } - /** + /** * Get spoofingDetection * @return spoofingDetection - **/ + */ @javax.annotation.Nullable public FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection getSpoofingDetection() { return spoofingDetection; @@ -202,12 +201,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -297,22 +296,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown - */ + /** + * Create an instance of FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown + */ public static FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown.class); } - /** - * Convert an instance of FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityMotionBreakdownVisualAuthenticityBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection.java b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection.java index aaba14d5..5807c11f 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection.java +++ b/src/main/java/com/onfido/model/FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the motion capture is not a spoof (such as videos of digital screens). */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetecti return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetecti return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties getProperties() { return properties; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection - */ + /** + * Create an instance of FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection + */ public static FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection.class); } - /** - * Convert an instance of FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityMotionBreakdownVisualAuthenticityBreakdownSpoofingDetection to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityMotionProperties.java b/src/main/java/com/onfido/model/FacialSimilarityMotionProperties.java index 310fb896..af439ecd 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityMotionProperties.java +++ b/src/main/java/com/onfido/model/FacialSimilarityMotionProperties.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * FacialSimilarityMotionProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityMotionProperties { public static final String SERIALIZED_NAME_SCORE = "score"; @SerializedName(SERIALIZED_NAME_SCORE) @@ -63,10 +62,10 @@ public FacialSimilarityMotionProperties score(Float score) { return this; } - /** + /** * A floating point number between 0 and 1. The closer the score is to 0, the more likely it is to be a spoof (i.e. videos of digital screens, masks or print-outs). Conversely, the closer it is to 1, the less likely it is to be a spoof. * @return score - **/ + */ @javax.annotation.Nullable public Float getScore() { return score; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityMotionProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -261,22 +260,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityMotionProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityMotionProperties - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionProperties - */ + /** + * Create an instance of FacialSimilarityMotionProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityMotionProperties + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionProperties + */ public static FacialSimilarityMotionProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityMotionProperties.class); } - /** - * Convert an instance of FacialSimilarityMotionProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityMotionProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityMotionReport.java b/src/main/java/com/onfido/model/FacialSimilarityMotionReport.java index 09a6b3e1..29ec11ce 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityMotionReport.java +++ b/src/main/java/com/onfido/model/FacialSimilarityMotionReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * FacialSimilarityMotionReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityMotionReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public FacialSimilarityMotionReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public FacialSimilarityMotionReport createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public FacialSimilarityMotionReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public FacialSimilarityMotionReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public FacialSimilarityMotionReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public FacialSimilarityMotionReport subResult(ReportSubResult subResult) { return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public FacialSimilarityMotionReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public FacialSimilarityMotionReport addDocumentsItem(ReportDocument documentsIte return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public FacialSimilarityMotionReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public FacialSimilarityMotionReport breakdown(FacialSimilarityMotionBreakdown br return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public FacialSimilarityMotionBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public FacialSimilarityMotionReport properties(FacialSimilarityMotionProperties return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public FacialSimilarityMotionProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityMotionReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityMotionReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityMotionReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityMotionReport - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionReport - */ + /** + * Create an instance of FacialSimilarityMotionReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityMotionReport + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityMotionReport + */ public static FacialSimilarityMotionReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityMotionReport.class); } - /** - * Convert an instance of FacialSimilarityMotionReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityMotionReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdown.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdown.java index 832db4dd..b32e9c89 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdown.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdown.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * FacialSimilarityPhotoBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoBreakdown { public static final String SERIALIZED_NAME_FACE_COMPARISON = "face_comparison"; @SerializedName(SERIALIZED_NAME_FACE_COMPARISON) @@ -74,10 +73,10 @@ public FacialSimilarityPhotoBreakdown faceComparison(FacialSimilarityPhotoBreakd return this; } - /** + /** * Get faceComparison * @return faceComparison - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownFaceComparison getFaceComparison() { return faceComparison; @@ -93,10 +92,10 @@ public FacialSimilarityPhotoBreakdown imageIntegrity(FacialSimilarityPhotoBreakd return this; } - /** + /** * Get imageIntegrity * @return imageIntegrity - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownImageIntegrity getImageIntegrity() { return imageIntegrity; @@ -112,10 +111,10 @@ public FacialSimilarityPhotoBreakdown visualAuthenticity(FacialSimilarityPhotoBr return this; } - /** + /** * Get visualAuthenticity * @return visualAuthenticity - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownVisualAuthenticity getVisualAuthenticity() { return visualAuthenticity; @@ -229,12 +228,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -328,22 +327,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoBreakdown - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdown - */ + /** + * Create an instance of FacialSimilarityPhotoBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoBreakdown + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdown + */ public static FacialSimilarityPhotoBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoBreakdown.class); } - /** - * Convert an instance of FacialSimilarityPhotoBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownFaceComparison.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownFaceComparison.java index ab0f2d66..3a97dd2c 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownFaceComparison.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownFaceComparison.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the face in the document matches the face in the live photo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoBreakdownFaceComparison { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityPhotoBreakdownFaceComparison result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityPhotoBreakdownFaceComparison breakdown(FacialSimilarityPh return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownFaceComparisonBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownFaceComparison - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownFaceComparison + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoBreakdownFaceComparison.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoBreakdownFaceComparison given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoBreakdownFaceComparison - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownFaceComparison - */ + /** + * Create an instance of FacialSimilarityPhotoBreakdownFaceComparison given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoBreakdownFaceComparison + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownFaceComparison + */ public static FacialSimilarityPhotoBreakdownFaceComparison fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoBreakdownFaceComparison.class); } - /** - * Convert an instance of FacialSimilarityPhotoBreakdownFaceComparison to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoBreakdownFaceComparison to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownFaceComparisonBreakdown.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownFaceComparisonBreakdown.java index c3fe24a4..9f11ae29 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownFaceComparisonBreakdown.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownFaceComparisonBreakdown.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * FacialSimilarityPhotoBreakdownFaceComparisonBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoBreakdownFaceComparisonBreakdown { public static final String SERIALIZED_NAME_FACE_MATCH = "face_match"; @SerializedName(SERIALIZED_NAME_FACE_MATCH) @@ -64,10 +63,10 @@ public FacialSimilarityPhotoBreakdownFaceComparisonBreakdown faceMatch(FacialSim return this; } - /** + /** * Get faceMatch * @return faceMatch - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch getFaceMatch() { return faceMatch; @@ -175,12 +174,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownFaceComparisonBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownFaceComparisonBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoBreakdownFaceComparisonBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -266,22 +265,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdown - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownFaceComparisonBreakdown - */ + /** + * Create an instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdown + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownFaceComparisonBreakdown + */ public static FacialSimilarityPhotoBreakdownFaceComparisonBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoBreakdownFaceComparisonBreakdown.class); } - /** - * Convert an instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch.java index c883327b..2a9ac0e9 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Contains a score value under the properties bag. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch result(Str return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch properties return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties getProperties() { return properties; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch - */ + /** + * Create an instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch + */ public static FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch.class); } - /** - * Convert an instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatch to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties.java index 5f5cdd60..d629a980 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties { public static final String SERIALIZED_NAME_SCORE = "score"; @SerializedName(SERIALIZED_NAME_SCORE) @@ -68,10 +67,10 @@ public FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties return this; } - /** + /** * A floating point number between 0 and 1 that expresses how similar the two faces are, where 1 is a perfect match. * @return score - **/ + */ @javax.annotation.Nullable public Float getScore() { return score; @@ -87,10 +86,10 @@ public FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties return this; } - /** + /** * The UUID for the document containing the extracted face that was used for face matching. * @return documentId - **/ + */ @javax.annotation.Nullable public UUID getDocumentId() { return documentId; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -291,22 +290,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties - */ + /** + * Create an instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties + */ public static FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties.class); } - /** - * Convert an instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoBreakdownFaceComparisonBreakdownFaceMatchProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownImageIntegrity.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownImageIntegrity.java index 1e8c8050..7b428b3c 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownImageIntegrity.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownImageIntegrity.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the quality and integrity of the uploaded files were sufficient to perform a face comparison. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoBreakdownImageIntegrity { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityPhotoBreakdownImageIntegrity result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityPhotoBreakdownImageIntegrity breakdown(FacialSimilarityPh return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownImageIntegrityBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownImageIntegrity - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownImageIntegrity + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoBreakdownImageIntegrity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoBreakdownImageIntegrity given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoBreakdownImageIntegrity - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownImageIntegrity - */ + /** + * Create an instance of FacialSimilarityPhotoBreakdownImageIntegrity given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoBreakdownImageIntegrity + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownImageIntegrity + */ public static FacialSimilarityPhotoBreakdownImageIntegrity fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoBreakdownImageIntegrity.class); } - /** - * Convert an instance of FacialSimilarityPhotoBreakdownImageIntegrity to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoBreakdownImageIntegrity to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownImageIntegrityBreakdown.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownImageIntegrityBreakdown.java index 5f0c3a76..1a92b0c6 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownImageIntegrityBreakdown.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownImageIntegrityBreakdown.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * FacialSimilarityPhotoBreakdownImageIntegrityBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoBreakdownImageIntegrityBreakdown { public static final String SERIALIZED_NAME_FACE_DETECTED = "face_detected"; @SerializedName(SERIALIZED_NAME_FACE_DETECTED) @@ -69,10 +68,10 @@ public FacialSimilarityPhotoBreakdownImageIntegrityBreakdown faceDetected(Facial return this; } - /** + /** * Get faceDetected * @return faceDetected - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected getFaceDetected() { return faceDetected; @@ -88,10 +87,10 @@ public FacialSimilarityPhotoBreakdownImageIntegrityBreakdown sourceIntegrity(Fac return this; } - /** + /** * Get sourceIntegrity * @return sourceIntegrity - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity getSourceIntegrity() { return sourceIntegrity; @@ -202,12 +201,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownImageIntegrityBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownImageIntegrityBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoBreakdownImageIntegrityBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -297,22 +296,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdown - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownImageIntegrityBreakdown - */ + /** + * Create an instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdown + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownImageIntegrityBreakdown + */ public static FacialSimilarityPhotoBreakdownImageIntegrityBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoBreakdownImageIntegrityBreakdown.class); } - /** - * Convert an instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected.java index 31eb905e..47305097 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Asserts a single face of good enough quality has been found in both the document image and the live photo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected result( return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected propert return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected - */ + /** + * Create an instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected + */ public static FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected.class); } - /** - * Convert an instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity.java index 0553fb4f..e24958a5 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the live photo is trustworthy - i.e. not digitally tampered, from a fake webcam, or from other dubious sources. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity resu return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity prop return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public PhotoReasons getProperties() { return properties; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity - */ + /** + * Create an instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity + */ public static FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity.class); } - /** - * Convert an instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoBreakdownImageIntegrityBreakdownSourceIntegrity to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownVisualAuthenticity.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownVisualAuthenticity.java index 8e4f7739..5209eb9e 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownVisualAuthenticity.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownVisualAuthenticity.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the person in the live photo is real and not a spoof. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoBreakdownVisualAuthenticity { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityPhotoBreakdownVisualAuthenticity result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityPhotoBreakdownVisualAuthenticity breakdown(FacialSimilari return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownVisualAuthenticity - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownVisualAuthenticity + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoBreakdownVisualAuthenticity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoBreakdownVisualAuthenticity given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoBreakdownVisualAuthenticity - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownVisualAuthenticity - */ + /** + * Create an instance of FacialSimilarityPhotoBreakdownVisualAuthenticity given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoBreakdownVisualAuthenticity + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownVisualAuthenticity + */ public static FacialSimilarityPhotoBreakdownVisualAuthenticity fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoBreakdownVisualAuthenticity.class); } - /** - * Convert an instance of FacialSimilarityPhotoBreakdownVisualAuthenticity to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoBreakdownVisualAuthenticity to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown.java index 1452ec16..c993c50a 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown { public static final String SERIALIZED_NAME_SPOOFING_DETECTION = "spoofing_detection"; @SerializedName(SERIALIZED_NAME_SPOOFING_DETECTION) @@ -64,10 +63,10 @@ public FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown spoofingDetecti return this; } - /** + /** * Get spoofingDetection * @return spoofingDetection - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection getSpoofingDetection() { return spoofingDetection; @@ -175,12 +174,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -266,22 +265,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown - */ + /** + * Create an instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown + */ public static FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown.class); } - /** - * Convert an instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection.java index 790e8f87..43424351 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Contains a score value under the properties bag. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectio return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectio return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties getProperties() { return properties; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection - */ + /** + * Create an instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection + */ public static FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection.class); } - /** - * Convert an instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetection to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties.java index 1eab2143..05684db2 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties { public static final String SERIALIZED_NAME_SCORE = "score"; @SerializedName(SERIALIZED_NAME_SCORE) @@ -63,10 +62,10 @@ public FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectio return this; } - /** + /** * A floating point number between 0 and 1. The closer the score is to 0, the more likely it is to be a spoof. * @return score - **/ + */ @javax.annotation.Nullable public Float getScore() { return score; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -261,22 +260,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties - */ + /** + * Create an instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties + */ public static FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties.class); } - /** - * Convert an instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoBreakdown.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoBreakdown.java index 6a429550..2e9e1ac3 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoBreakdown.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoBreakdown.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * FacialSimilarityPhotoFullyAutoBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoFullyAutoBreakdown { public static final String SERIALIZED_NAME_FACE_COMPARISON = "face_comparison"; @SerializedName(SERIALIZED_NAME_FACE_COMPARISON) @@ -74,10 +73,10 @@ public FacialSimilarityPhotoFullyAutoBreakdown faceComparison(FacialSimilarityPh return this; } - /** + /** * Get faceComparison * @return faceComparison - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownFaceComparison getFaceComparison() { return faceComparison; @@ -93,10 +92,10 @@ public FacialSimilarityPhotoFullyAutoBreakdown imageIntegrity(FacialSimilarityPh return this; } - /** + /** * Get imageIntegrity * @return imageIntegrity - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity getImageIntegrity() { return imageIntegrity; @@ -112,10 +111,10 @@ public FacialSimilarityPhotoFullyAutoBreakdown visualAuthenticity(FacialSimilari return this; } - /** + /** * Get visualAuthenticity * @return visualAuthenticity - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownVisualAuthenticity getVisualAuthenticity() { return visualAuthenticity; @@ -229,12 +228,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoFullyAutoBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoFullyAutoBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoFullyAutoBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -328,22 +327,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoFullyAutoBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoFullyAutoBreakdown - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoFullyAutoBreakdown - */ + /** + * Create an instance of FacialSimilarityPhotoFullyAutoBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoFullyAutoBreakdown + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoFullyAutoBreakdown + */ public static FacialSimilarityPhotoFullyAutoBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoFullyAutoBreakdown.class); } - /** - * Convert an instance of FacialSimilarityPhotoFullyAutoBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoFullyAutoBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity.java index 38cc7e29..eea05b23 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the quality and integrity of the uploaded files were sufficient to perform a face comparison. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity result(String resul return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity breakdown(FacialSim return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity - */ + /** + * Create an instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity + */ public static FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity.class); } - /** - * Convert an instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrity to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown.java index 0e370c4a..505bb524 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown { public static final String SERIALIZED_NAME_FACE_DETECTED = "face_detected"; @SerializedName(SERIALIZED_NAME_FACE_DETECTED) @@ -69,10 +68,10 @@ public FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown faceDetect return this; } - /** + /** * Get faceDetected * @return faceDetected - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownImageIntegrityBreakdownFaceDetected getFaceDetected() { return faceDetected; @@ -88,10 +87,10 @@ public FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown sourceInte return this; } - /** + /** * Get sourceIntegrity * @return sourceIntegrity - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity getSourceIntegrity() { return sourceIntegrity; @@ -202,12 +201,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -297,22 +296,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown - */ + /** + * Create an instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown + */ public static FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown.class); } - /** - * Convert an instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity.java index 6372bba1..2e2bb802 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the live photo is trustworthy - i.e. not digitally tampered, from a fake webcam, or from other dubious sources. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceInteg return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceInteg return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public PhotoAutoReasons getProperties() { return properties; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity - */ + /** + * Create an instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity + */ public static FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity.class); } - /** - * Convert an instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoFullyAutoBreakdownImageIntegrityBreakdownSourceIntegrity to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoProperties.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoProperties.java index e92c1663..29145ff9 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoProperties.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoProperties.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * FacialSimilarityPhotoFullyAutoProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoFullyAutoProperties { public static final String SERIALIZED_NAME_SCORE = "score"; @SerializedName(SERIALIZED_NAME_SCORE) @@ -63,10 +62,10 @@ public FacialSimilarityPhotoFullyAutoProperties score(Float score) { return this; } - /** + /** * A floating point number between 0 and 1. The closer the score is to 0, the more likely it is to be a spoof (i.e. photos of printed photos, or photos of digital screens). Conversely, the closer it is to 1, the less likely it is to be a spoof. * @return score - **/ + */ @javax.annotation.Nullable public Float getScore() { return score; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoFullyAutoProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoFullyAutoProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoFullyAutoProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -261,22 +260,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoFullyAutoProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoFullyAutoProperties - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoFullyAutoProperties - */ + /** + * Create an instance of FacialSimilarityPhotoFullyAutoProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoFullyAutoProperties + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoFullyAutoProperties + */ public static FacialSimilarityPhotoFullyAutoProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoFullyAutoProperties.class); } - /** - * Convert an instance of FacialSimilarityPhotoFullyAutoProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoFullyAutoProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoReport.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoReport.java index 2b84b442..797ff2da 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoReport.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoFullyAutoReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * FacialSimilarityPhotoFullyAutoReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoFullyAutoReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public FacialSimilarityPhotoFullyAutoReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public FacialSimilarityPhotoFullyAutoReport createdAt(OffsetDateTime createdAt) return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public FacialSimilarityPhotoFullyAutoReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public FacialSimilarityPhotoFullyAutoReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public FacialSimilarityPhotoFullyAutoReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public FacialSimilarityPhotoFullyAutoReport subResult(ReportSubResult subResult) return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public FacialSimilarityPhotoFullyAutoReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public FacialSimilarityPhotoFullyAutoReport addDocumentsItem(ReportDocument docu return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public FacialSimilarityPhotoFullyAutoReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public FacialSimilarityPhotoFullyAutoReport breakdown(FacialSimilarityPhotoFully return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoFullyAutoBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public FacialSimilarityPhotoFullyAutoReport properties(FacialSimilarityPhotoFull return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoFullyAutoProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoFullyAutoReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoFullyAutoReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoFullyAutoReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoFullyAutoReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoFullyAutoReport - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoFullyAutoReport - */ + /** + * Create an instance of FacialSimilarityPhotoFullyAutoReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoFullyAutoReport + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoFullyAutoReport + */ public static FacialSimilarityPhotoFullyAutoReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoFullyAutoReport.class); } - /** - * Convert an instance of FacialSimilarityPhotoFullyAutoReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoFullyAutoReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoProperties.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoProperties.java index 00e33543..60068fc4 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoProperties.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoProperties.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * FacialSimilarityPhotoProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoProperties { public static final String SERIALIZED_NAME_SCORE = "score"; @SerializedName(SERIALIZED_NAME_SCORE) @@ -63,10 +62,10 @@ public FacialSimilarityPhotoProperties score(Float score) { return this; } - /** + /** * A floating point number between 0 and 1. The closer the score is to 0, the more likely it is to be a spoof (i.e. photos of printed photos, or photos of digital screens). Conversely, the closer it is to 1, the less likely it is to be a spoof. * @return score - **/ + */ @javax.annotation.Nullable public Float getScore() { return score; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -261,22 +260,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoProperties - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoProperties - */ + /** + * Create an instance of FacialSimilarityPhotoProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoProperties + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoProperties + */ public static FacialSimilarityPhotoProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoProperties.class); } - /** - * Convert an instance of FacialSimilarityPhotoProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityPhotoReport.java b/src/main/java/com/onfido/model/FacialSimilarityPhotoReport.java index 898044ae..cd263a02 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityPhotoReport.java +++ b/src/main/java/com/onfido/model/FacialSimilarityPhotoReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * FacialSimilarityPhotoReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityPhotoReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public FacialSimilarityPhotoReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public FacialSimilarityPhotoReport createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public FacialSimilarityPhotoReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public FacialSimilarityPhotoReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public FacialSimilarityPhotoReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public FacialSimilarityPhotoReport subResult(ReportSubResult subResult) { return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public FacialSimilarityPhotoReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public FacialSimilarityPhotoReport addDocumentsItem(ReportDocument documentsItem return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public FacialSimilarityPhotoReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public FacialSimilarityPhotoReport breakdown(FacialSimilarityPhotoBreakdown brea return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public FacialSimilarityPhotoReport properties(FacialSimilarityPhotoProperties pr return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityPhotoReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityPhotoReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityPhotoReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityPhotoReport - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoReport - */ + /** + * Create an instance of FacialSimilarityPhotoReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityPhotoReport + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityPhotoReport + */ public static FacialSimilarityPhotoReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityPhotoReport.class); } - /** - * Convert an instance of FacialSimilarityPhotoReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityPhotoReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdown.java b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdown.java index b0bee5df..2e1ca467 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdown.java +++ b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdown.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * FacialSimilarityVideoBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityVideoBreakdown { public static final String SERIALIZED_NAME_FACE_COMPARISON = "face_comparison"; @SerializedName(SERIALIZED_NAME_FACE_COMPARISON) @@ -74,10 +73,10 @@ public FacialSimilarityVideoBreakdown faceComparison(FacialSimilarityVideoBreakd return this; } - /** + /** * Get faceComparison * @return faceComparison - **/ + */ @javax.annotation.Nullable public FacialSimilarityVideoBreakdownFaceComparison getFaceComparison() { return faceComparison; @@ -93,10 +92,10 @@ public FacialSimilarityVideoBreakdown imageIntegrity(FacialSimilarityVideoBreakd return this; } - /** + /** * Get imageIntegrity * @return imageIntegrity - **/ + */ @javax.annotation.Nullable public FacialSimilarityVideoBreakdownImageIntegrity getImageIntegrity() { return imageIntegrity; @@ -112,10 +111,10 @@ public FacialSimilarityVideoBreakdown visualAuthenticity(FacialSimilarityVideoBr return this; } - /** + /** * Get visualAuthenticity * @return visualAuthenticity - **/ + */ @javax.annotation.Nullable public FacialSimilarityVideoBreakdownVisualAuthenticity getVisualAuthenticity() { return visualAuthenticity; @@ -229,12 +228,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityVideoBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -328,22 +327,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityVideoBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityVideoBreakdown - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdown - */ + /** + * Create an instance of FacialSimilarityVideoBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityVideoBreakdown + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdown + */ public static FacialSimilarityVideoBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityVideoBreakdown.class); } - /** - * Convert an instance of FacialSimilarityVideoBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityVideoBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownFaceComparison.java b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownFaceComparison.java index bea75a65..4718782c 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownFaceComparison.java +++ b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownFaceComparison.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the face in the document matches the face in the live video. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityVideoBreakdownFaceComparison { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityVideoBreakdownFaceComparison result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityVideoBreakdownFaceComparison breakdown(FacialSimilarityPh return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownFaceComparisonBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownFaceComparison - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownFaceComparison + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityVideoBreakdownFaceComparison.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityVideoBreakdownFaceComparison given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityVideoBreakdownFaceComparison - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownFaceComparison - */ + /** + * Create an instance of FacialSimilarityVideoBreakdownFaceComparison given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityVideoBreakdownFaceComparison + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownFaceComparison + */ public static FacialSimilarityVideoBreakdownFaceComparison fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityVideoBreakdownFaceComparison.class); } - /** - * Convert an instance of FacialSimilarityVideoBreakdownFaceComparison to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityVideoBreakdownFaceComparison to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownImageIntegrity.java b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownImageIntegrity.java index 16419ceb..c0f75d31 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownImageIntegrity.java +++ b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownImageIntegrity.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the quality and integrity of the uploaded files were sufficient to perform a face comparison. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityVideoBreakdownImageIntegrity { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityVideoBreakdownImageIntegrity result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityVideoBreakdownImageIntegrity breakdown(FacialSimilarityVi return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public FacialSimilarityVideoBreakdownImageIntegrityBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownImageIntegrity - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownImageIntegrity + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityVideoBreakdownImageIntegrity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityVideoBreakdownImageIntegrity given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityVideoBreakdownImageIntegrity - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownImageIntegrity - */ + /** + * Create an instance of FacialSimilarityVideoBreakdownImageIntegrity given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityVideoBreakdownImageIntegrity + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownImageIntegrity + */ public static FacialSimilarityVideoBreakdownImageIntegrity fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityVideoBreakdownImageIntegrity.class); } - /** - * Convert an instance of FacialSimilarityVideoBreakdownImageIntegrity to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityVideoBreakdownImageIntegrity to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownImageIntegrityBreakdown.java b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownImageIntegrityBreakdown.java index 6a794c13..23feeea7 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownImageIntegrityBreakdown.java +++ b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownImageIntegrityBreakdown.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * FacialSimilarityVideoBreakdownImageIntegrityBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityVideoBreakdownImageIntegrityBreakdown { public static final String SERIALIZED_NAME_FACE_DETECTED = "face_detected"; @SerializedName(SERIALIZED_NAME_FACE_DETECTED) @@ -69,10 +68,10 @@ public FacialSimilarityVideoBreakdownImageIntegrityBreakdown faceDetected(Facial return this; } - /** + /** * Get faceDetected * @return faceDetected - **/ + */ @javax.annotation.Nullable public FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected getFaceDetected() { return faceDetected; @@ -88,10 +87,10 @@ public FacialSimilarityVideoBreakdownImageIntegrityBreakdown sourceIntegrity(Fac return this; } - /** + /** * Get sourceIntegrity * @return sourceIntegrity - **/ + */ @javax.annotation.Nullable public FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity getSourceIntegrity() { return sourceIntegrity; @@ -202,12 +201,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownImageIntegrityBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownImageIntegrityBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityVideoBreakdownImageIntegrityBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -297,22 +296,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdown - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownImageIntegrityBreakdown - */ + /** + * Create an instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdown + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownImageIntegrityBreakdown + */ public static FacialSimilarityVideoBreakdownImageIntegrityBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityVideoBreakdownImageIntegrityBreakdown.class); } - /** - * Convert an instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected.java b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected.java index ffca8289..4b9f95de 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected.java +++ b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Asserts a single face of good enough quality has been found in both the document image and the live video. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected result( return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected propert return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected - */ + /** + * Create an instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected + */ public static FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected.class); } - /** - * Convert an instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdownFaceDetected to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity.java b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity.java index 747f9e31..cb103ea4 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity.java +++ b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the live video is trustworthy - e.g. not from a fake webcam. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity resu return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity prop return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public VideoReasons getProperties() { return properties; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity - */ + /** + * Create an instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity + */ public static FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity.class); } - /** - * Convert an instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityVideoBreakdownImageIntegrityBreakdownSourceIntegrity to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownVisualAuthenticity.java b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownVisualAuthenticity.java index 39168693..c4ecbda8 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownVisualAuthenticity.java +++ b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownVisualAuthenticity.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the person in the live video is real (not a spoof) and live. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityVideoBreakdownVisualAuthenticity { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityVideoBreakdownVisualAuthenticity result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityVideoBreakdownVisualAuthenticity breakdown(FacialSimilari return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownVisualAuthenticity - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownVisualAuthenticity + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityVideoBreakdownVisualAuthenticity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityVideoBreakdownVisualAuthenticity given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityVideoBreakdownVisualAuthenticity - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownVisualAuthenticity - */ + /** + * Create an instance of FacialSimilarityVideoBreakdownVisualAuthenticity given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityVideoBreakdownVisualAuthenticity + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownVisualAuthenticity + */ public static FacialSimilarityVideoBreakdownVisualAuthenticity fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityVideoBreakdownVisualAuthenticity.class); } - /** - * Convert an instance of FacialSimilarityVideoBreakdownVisualAuthenticity to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityVideoBreakdownVisualAuthenticity to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown.java b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown.java index 52286d7c..27cb36ba 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown.java +++ b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown { public static final String SERIALIZED_NAME_LIVENESS_DETECTED = "liveness_detected"; @SerializedName(SERIALIZED_NAME_LIVENESS_DETECTED) @@ -69,10 +68,10 @@ public FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown livenessDetecte return this; } - /** + /** * Get livenessDetected * @return livenessDetected - **/ + */ @javax.annotation.Nullable public FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected getLivenessDetected() { return livenessDetected; @@ -88,10 +87,10 @@ public FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown spoofingDetecti return this; } - /** + /** * Get spoofingDetection * @return spoofingDetection - **/ + */ @javax.annotation.Nullable public FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection getSpoofingDetection() { return spoofingDetection; @@ -202,12 +201,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -297,22 +296,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown - */ + /** + * Create an instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown + */ public static FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown.class); } - /** - * Convert an instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected.java b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected.java index e03e93d1..0a530d18 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected.java +++ b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Asserts whether the numbers and head movements were correctly executed. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected - */ + /** + * Create an instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected + */ public static FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected.class); } - /** - * Convert an instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownLivenessDetected to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection.java b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection.java index b21dad53..5c9fc56a 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection.java +++ b/src/main/java/com/onfido/model/FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the live video is not a spoof (such as videos of digital screens). */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetectio return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetectio return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public FacialSimilarityPhotoBreakdownVisualAuthenticityBreakdownSpoofingDetectionProperties getProperties() { return properties; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection - */ + /** + * Create an instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection + */ public static FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection.class); } - /** - * Convert an instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityVideoBreakdownVisualAuthenticityBreakdownSpoofingDetection to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityVideoProperties.java b/src/main/java/com/onfido/model/FacialSimilarityVideoProperties.java index d7c23f73..595a050c 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityVideoProperties.java +++ b/src/main/java/com/onfido/model/FacialSimilarityVideoProperties.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * FacialSimilarityVideoProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityVideoProperties { public static final String SERIALIZED_NAME_SCORE = "score"; @SerializedName(SERIALIZED_NAME_SCORE) @@ -63,10 +62,10 @@ public FacialSimilarityVideoProperties score(Float score) { return this; } - /** + /** * A floating point number between 0 and 1. The closer the score is to 0, the more likely it is to be a spoof (i.e. videos of digital screens, masks or print-outs). Conversely, the closer it is to 1, the less likely it is to be a spoof. * @return score - **/ + */ @javax.annotation.Nullable public Float getScore() { return score; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityVideoProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -261,22 +260,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityVideoProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityVideoProperties - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoProperties - */ + /** + * Create an instance of FacialSimilarityVideoProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityVideoProperties + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoProperties + */ public static FacialSimilarityVideoProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityVideoProperties.class); } - /** - * Convert an instance of FacialSimilarityVideoProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityVideoProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/FacialSimilarityVideoReport.java b/src/main/java/com/onfido/model/FacialSimilarityVideoReport.java index dc158baf..ad93db71 100644 --- a/src/main/java/com/onfido/model/FacialSimilarityVideoReport.java +++ b/src/main/java/com/onfido/model/FacialSimilarityVideoReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * FacialSimilarityVideoReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FacialSimilarityVideoReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public FacialSimilarityVideoReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public FacialSimilarityVideoReport createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public FacialSimilarityVideoReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public FacialSimilarityVideoReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public FacialSimilarityVideoReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public FacialSimilarityVideoReport subResult(ReportSubResult subResult) { return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public FacialSimilarityVideoReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public FacialSimilarityVideoReport addDocumentsItem(ReportDocument documentsItem return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public FacialSimilarityVideoReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public FacialSimilarityVideoReport breakdown(FacialSimilarityVideoBreakdown brea return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public FacialSimilarityVideoBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public FacialSimilarityVideoReport properties(FacialSimilarityVideoProperties pr return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public FacialSimilarityVideoProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FacialSimilarityVideoReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!FacialSimilarityVideoReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of FacialSimilarityVideoReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of FacialSimilarityVideoReport - * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoReport - */ + /** + * Create an instance of FacialSimilarityVideoReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of FacialSimilarityVideoReport + * @throws IOException if the JSON string is invalid with respect to FacialSimilarityVideoReport + */ public static FacialSimilarityVideoReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, FacialSimilarityVideoReport.class); } - /** - * Convert an instance of FacialSimilarityVideoReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of FacialSimilarityVideoReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdNumber.java b/src/main/java/com/onfido/model/IdNumber.java index b72a8242..aaa2f4e2 100644 --- a/src/main/java/com/onfido/model/IdNumber.java +++ b/src/main/java/com/onfido/model/IdNumber.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * IdNumber */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdNumber { /** * Type of ID number. @@ -139,10 +138,10 @@ public IdNumber type(TypeEnum type) { return this; } - /** + /** * Type of ID number. * @return type - **/ + */ @javax.annotation.Nullable public TypeEnum getType() { return type; @@ -158,10 +157,10 @@ public IdNumber value(String value) { return this; } - /** + /** * Value of ID number * @return value - **/ + */ @javax.annotation.Nullable public String getValue() { return value; @@ -177,10 +176,10 @@ public IdNumber stateCode(String stateCode) { return this; } - /** + /** * Two letter code of issuing state (state-issued driving licenses only) * @return stateCode - **/ + */ @javax.annotation.Nullable public String getStateCode() { return stateCode; @@ -294,12 +293,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdNumber - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdNumber + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdNumber.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -394,22 +393,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdNumber given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdNumber - * @throws IOException if the JSON string is invalid with respect to IdNumber - */ + /** + * Create an instance of IdNumber given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdNumber + * @throws IOException if the JSON string is invalid with respect to IdNumber + */ public static IdNumber fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdNumber.class); } - /** - * Convert an instance of IdNumber to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdNumber to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdPhoto.java b/src/main/java/com/onfido/model/IdPhoto.java index 49d8aaf7..18f460fa 100644 --- a/src/main/java/com/onfido/model/IdPhoto.java +++ b/src/main/java/com/onfido/model/IdPhoto.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * IdPhoto */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdPhoto { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -89,10 +88,10 @@ public IdPhoto id(UUID id) { return this; } - /** + /** * The unique identifier for the photo. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -108,10 +107,10 @@ public IdPhoto createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the photo was uploaded. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -127,10 +126,10 @@ public IdPhoto href(String href) { return this; } - /** + /** * The uri of this resource. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -146,10 +145,10 @@ public IdPhoto downloadHref(String downloadHref) { return this; } - /** + /** * The uri that can be used to download the photo. * @return downloadHref - **/ + */ @javax.annotation.Nullable public String getDownloadHref() { return downloadHref; @@ -165,10 +164,10 @@ public IdPhoto fileName(String fileName) { return this; } - /** + /** * The name of the uploaded file. * @return fileName - **/ + */ @javax.annotation.Nullable public String getFileName() { return fileName; @@ -184,10 +183,10 @@ public IdPhoto fileType(String fileType) { return this; } - /** + /** * The file type of the uploaded file. * @return fileType - **/ + */ @javax.annotation.Nullable public String getFileType() { return fileType; @@ -203,10 +202,10 @@ public IdPhoto fileSize(Integer fileSize) { return this; } - /** + /** * The size of the file in bytes. * @return fileSize - **/ + */ @javax.annotation.Nullable public Integer getFileSize() { return fileSize; @@ -333,12 +332,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdPhoto - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdPhoto + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdPhoto.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -442,22 +441,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdPhoto given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdPhoto - * @throws IOException if the JSON string is invalid with respect to IdPhoto - */ + /** + * Create an instance of IdPhoto given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdPhoto + * @throws IOException if the JSON string is invalid with respect to IdPhoto + */ public static IdPhoto fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdPhoto.class); } - /** - * Convert an instance of IdPhoto to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdPhoto to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdPhotoResponse.java b/src/main/java/com/onfido/model/IdPhotoResponse.java index 913c9519..bf983636 100644 --- a/src/main/java/com/onfido/model/IdPhotoResponse.java +++ b/src/main/java/com/onfido/model/IdPhotoResponse.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * IdPhotoResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdPhotoResponse { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -89,10 +88,10 @@ public IdPhotoResponse id(UUID id) { return this; } - /** + /** * The unique identifier for the photo. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -108,10 +107,10 @@ public IdPhotoResponse createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the photo was uploaded. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -127,10 +126,10 @@ public IdPhotoResponse href(String href) { return this; } - /** + /** * The uri of this resource. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -146,10 +145,10 @@ public IdPhotoResponse downloadHref(String downloadHref) { return this; } - /** + /** * The uri that can be used to download the photo. * @return downloadHref - **/ + */ @javax.annotation.Nullable public String getDownloadHref() { return downloadHref; @@ -165,10 +164,10 @@ public IdPhotoResponse fileName(String fileName) { return this; } - /** + /** * The name of the uploaded file. * @return fileName - **/ + */ @javax.annotation.Nullable public String getFileName() { return fileName; @@ -184,10 +183,10 @@ public IdPhotoResponse fileType(String fileType) { return this; } - /** + /** * The file type of the uploaded file. * @return fileType - **/ + */ @javax.annotation.Nullable public String getFileType() { return fileType; @@ -203,10 +202,10 @@ public IdPhotoResponse fileSize(Integer fileSize) { return this; } - /** + /** * The size of the file in bytes. * @return fileSize - **/ + */ @javax.annotation.Nullable public Integer getFileSize() { return fileSize; @@ -333,12 +332,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdPhotoResponse - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdPhotoResponse + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdPhotoResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -442,22 +441,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdPhotoResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdPhotoResponse - * @throws IOException if the JSON string is invalid with respect to IdPhotoResponse - */ + /** + * Create an instance of IdPhotoResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdPhotoResponse + * @throws IOException if the JSON string is invalid with respect to IdPhotoResponse + */ public static IdPhotoResponse fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdPhotoResponse.class); } - /** - * Convert an instance of IdPhotoResponse to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdPhotoResponse to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdPhotosList.java b/src/main/java/com/onfido/model/IdPhotosList.java index e0cf9b5d..37026800 100644 --- a/src/main/java/com/onfido/model/IdPhotosList.java +++ b/src/main/java/com/onfido/model/IdPhotosList.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * IdPhotosList */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdPhotosList { public static final String SERIALIZED_NAME_ID_PHOTOS = "id_photos"; @SerializedName(SERIALIZED_NAME_ID_PHOTOS) @@ -74,10 +73,10 @@ public IdPhotosList addIdPhotosItem(IdPhoto idPhotosItem) { return this; } - /** + /** * Get idPhotos * @return idPhotos - **/ + */ @javax.annotation.Nonnull public List getIdPhotos() { return idPhotos; @@ -186,12 +185,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id_photos"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdPhotosList - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdPhotosList + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdPhotosList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdPhotosList given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdPhotosList - * @throws IOException if the JSON string is invalid with respect to IdPhotosList - */ + /** + * Create an instance of IdPhotosList given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdPhotosList + * @throws IOException if the JSON string is invalid with respect to IdPhotosList + */ public static IdPhotosList fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdPhotosList.class); } - /** - * Convert an instance of IdPhotosList to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdPhotosList to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedBreakdown.java b/src/main/java/com/onfido/model/IdentityEnhancedBreakdown.java index 48445eb4..48d7a51e 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedBreakdown.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedBreakdown.java @@ -41,7 +41,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -53,7 +52,7 @@ /** * IdentityEnhancedBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedBreakdown { public static final String SERIALIZED_NAME_SOURCES = "sources"; @SerializedName(SERIALIZED_NAME_SOURCES) @@ -79,10 +78,10 @@ public IdentityEnhancedBreakdown sources(IdentityEnhancedBreakdownSources source return this; } - /** + /** * Get sources * @return sources - **/ + */ @javax.annotation.Nullable public IdentityEnhancedBreakdownSources getSources() { return sources; @@ -98,10 +97,10 @@ public IdentityEnhancedBreakdown address(IdentityEnhancedBreakdownAddress addres return this; } - /** + /** * Get address * @return address - **/ + */ @javax.annotation.Nullable public IdentityEnhancedBreakdownAddress getAddress() { return address; @@ -117,10 +116,10 @@ public IdentityEnhancedBreakdown dateOfBirth(IdentityEnhancedBreakdownDateOfBirt return this; } - /** + /** * Get dateOfBirth * @return dateOfBirth - **/ + */ @javax.annotation.Nullable public IdentityEnhancedBreakdownDateOfBirth getDateOfBirth() { return dateOfBirth; @@ -136,10 +135,10 @@ public IdentityEnhancedBreakdown mortality(IdentityEnhancedBreakdownMortality mo return this; } - /** + /** * Get mortality * @return mortality - **/ + */ @javax.annotation.Nullable public IdentityEnhancedBreakdownMortality getMortality() { return mortality; @@ -256,12 +255,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -359,22 +358,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedBreakdown - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdown - */ + /** + * Create an instance of IdentityEnhancedBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedBreakdown + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdown + */ public static IdentityEnhancedBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedBreakdown.class); } - /** - * Convert an instance of IdentityEnhancedBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddress.java b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddress.java index f931e41a..aa3ab1c7 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddress.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddress.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts if the applicant's address matches any sources. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedBreakdownAddress { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public IdentityEnhancedBreakdownAddress result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public IdentityEnhancedBreakdownAddress breakdown(IdentityEnhancedBreakdownAddre return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public IdentityEnhancedBreakdownAddressBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownAddress - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownAddress + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedBreakdownAddress.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedBreakdownAddress given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedBreakdownAddress - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownAddress - */ + /** + * Create an instance of IdentityEnhancedBreakdownAddress given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedBreakdownAddress + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownAddress + */ public static IdentityEnhancedBreakdownAddress fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedBreakdownAddress.class); } - /** - * Convert an instance of IdentityEnhancedBreakdownAddress to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedBreakdownAddress to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdown.java b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdown.java index c6f4a52b..7b27a047 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdown.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdown.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * IdentityEnhancedBreakdownAddressBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedBreakdownAddressBreakdown { public static final String SERIALIZED_NAME_CREDIT_AGENCIES = "credit_agencies"; @SerializedName(SERIALIZED_NAME_CREDIT_AGENCIES) @@ -74,10 +73,10 @@ public IdentityEnhancedBreakdownAddressBreakdown creditAgencies(IdentityEnhanced return this; } - /** + /** * Get creditAgencies * @return creditAgencies - **/ + */ @javax.annotation.Nullable public IdentityEnhancedBreakdownAddressBreakdownCreditAgencies getCreditAgencies() { return creditAgencies; @@ -93,10 +92,10 @@ public IdentityEnhancedBreakdownAddressBreakdown telephoneDatabase(IdentityEnhan return this; } - /** + /** * Get telephoneDatabase * @return telephoneDatabase - **/ + */ @javax.annotation.Nullable public IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase getTelephoneDatabase() { return telephoneDatabase; @@ -112,10 +111,10 @@ public IdentityEnhancedBreakdownAddressBreakdown votingRegister(IdentityEnhanced return this; } - /** + /** * Get votingRegister * @return votingRegister - **/ + */ @javax.annotation.Nullable public IdentityEnhancedBreakdownAddressBreakdownVotingRegister getVotingRegister() { return votingRegister; @@ -229,12 +228,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownAddressBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownAddressBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedBreakdownAddressBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -328,22 +327,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedBreakdownAddressBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedBreakdownAddressBreakdown - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownAddressBreakdown - */ + /** + * Create an instance of IdentityEnhancedBreakdownAddressBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedBreakdownAddressBreakdown + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownAddressBreakdown + */ public static IdentityEnhancedBreakdownAddressBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedBreakdownAddressBreakdown.class); } - /** - * Convert an instance of IdentityEnhancedBreakdownAddressBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedBreakdownAddressBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdownCreditAgencies.java b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdownCreditAgencies.java index 440cc3c6..37fe257f 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdownCreditAgencies.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdownCreditAgencies.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * The number of address matches against credit agencies. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedBreakdownAddressBreakdownCreditAgencies { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public IdentityEnhancedBreakdownAddressBreakdownCreditAgencies result(String res return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public IdentityEnhancedBreakdownAddressBreakdownCreditAgencies properties(Identi return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties getProperties() { return properties; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownAddressBreakdownCreditAgencies - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownAddressBreakdownCreditAgencies + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedBreakdownAddressBreakdownCreditAgencies.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedBreakdownAddressBreakdownCreditAgencies given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedBreakdownAddressBreakdownCreditAgencies - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownAddressBreakdownCreditAgencies - */ + /** + * Create an instance of IdentityEnhancedBreakdownAddressBreakdownCreditAgencies given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedBreakdownAddressBreakdownCreditAgencies + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownAddressBreakdownCreditAgencies + */ public static IdentityEnhancedBreakdownAddressBreakdownCreditAgencies fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedBreakdownAddressBreakdownCreditAgencies.class); } - /** - * Convert an instance of IdentityEnhancedBreakdownAddressBreakdownCreditAgencies to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedBreakdownAddressBreakdownCreditAgencies to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties.java b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties.java index 26ff9f12..fce806d4 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties { public static final String SERIALIZED_NAME_NUMBER_OF_MATCHES = "number_of_matches"; @SerializedName(SERIALIZED_NAME_NUMBER_OF_MATCHES) @@ -63,10 +62,10 @@ public IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties numberO return this; } - /** + /** * Get numberOfMatches * @return numberOfMatches - **/ + */ @javax.annotation.Nullable public Integer getNumberOfMatches() { return numberOfMatches; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -261,22 +260,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties - */ + /** + * Create an instance of IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties + */ public static IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties.class); } - /** - * Convert an instance of IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedBreakdownAddressBreakdownCreditAgenciesProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase.java b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase.java index 84885019..4e7fe5d6 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Address match against telephone database. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase result(String return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase properties(Obj return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase - */ + /** + * Create an instance of IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase + */ public static IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase.class); } - /** - * Convert an instance of IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedBreakdownAddressBreakdownTelephoneDatabase to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdownVotingRegister.java b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdownVotingRegister.java index e4c16cad..68fc9716 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdownVotingRegister.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownAddressBreakdownVotingRegister.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Address match against voting register. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedBreakdownAddressBreakdownVotingRegister { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public IdentityEnhancedBreakdownAddressBreakdownVotingRegister result(String res return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public IdentityEnhancedBreakdownAddressBreakdownVotingRegister properties(Object return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownAddressBreakdownVotingRegister - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownAddressBreakdownVotingRegister + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedBreakdownAddressBreakdownVotingRegister.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedBreakdownAddressBreakdownVotingRegister given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedBreakdownAddressBreakdownVotingRegister - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownAddressBreakdownVotingRegister - */ + /** + * Create an instance of IdentityEnhancedBreakdownAddressBreakdownVotingRegister given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedBreakdownAddressBreakdownVotingRegister + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownAddressBreakdownVotingRegister + */ public static IdentityEnhancedBreakdownAddressBreakdownVotingRegister fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedBreakdownAddressBreakdownVotingRegister.class); } - /** - * Convert an instance of IdentityEnhancedBreakdownAddressBreakdownVotingRegister to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedBreakdownAddressBreakdownVotingRegister to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownDateOfBirth.java b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownDateOfBirth.java index 21bc2ea7..b0ddcb2a 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownDateOfBirth.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownDateOfBirth.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts if the applicant's date of birth matches any sources. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedBreakdownDateOfBirth { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public IdentityEnhancedBreakdownDateOfBirth result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public IdentityEnhancedBreakdownDateOfBirth breakdown(IdentityEnhancedBreakdownD return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public IdentityEnhancedBreakdownDateOfBirthBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownDateOfBirth - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownDateOfBirth + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedBreakdownDateOfBirth.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedBreakdownDateOfBirth given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedBreakdownDateOfBirth - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownDateOfBirth - */ + /** + * Create an instance of IdentityEnhancedBreakdownDateOfBirth given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedBreakdownDateOfBirth + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownDateOfBirth + */ public static IdentityEnhancedBreakdownDateOfBirth fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedBreakdownDateOfBirth.class); } - /** - * Convert an instance of IdentityEnhancedBreakdownDateOfBirth to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedBreakdownDateOfBirth to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownDateOfBirthBreakdown.java b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownDateOfBirthBreakdown.java index 67dfd050..359a4b84 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownDateOfBirthBreakdown.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownDateOfBirthBreakdown.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * IdentityEnhancedBreakdownDateOfBirthBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedBreakdownDateOfBirthBreakdown { public static final String SERIALIZED_NAME_CREDIT_AGENCIES = "credit_agencies"; @SerializedName(SERIALIZED_NAME_CREDIT_AGENCIES) @@ -69,10 +68,10 @@ public IdentityEnhancedBreakdownDateOfBirthBreakdown creditAgencies(IdentityEnha return this; } - /** + /** * Get creditAgencies * @return creditAgencies - **/ + */ @javax.annotation.Nullable public IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies getCreditAgencies() { return creditAgencies; @@ -88,10 +87,10 @@ public IdentityEnhancedBreakdownDateOfBirthBreakdown votingRegister(IdentityEnha return this; } - /** + /** * Get votingRegister * @return votingRegister - **/ + */ @javax.annotation.Nullable public IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister getVotingRegister() { return votingRegister; @@ -202,12 +201,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownDateOfBirthBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownDateOfBirthBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedBreakdownDateOfBirthBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -297,22 +296,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedBreakdownDateOfBirthBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedBreakdownDateOfBirthBreakdown - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownDateOfBirthBreakdown - */ + /** + * Create an instance of IdentityEnhancedBreakdownDateOfBirthBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedBreakdownDateOfBirthBreakdown + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownDateOfBirthBreakdown + */ public static IdentityEnhancedBreakdownDateOfBirthBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedBreakdownDateOfBirthBreakdown.class); } - /** - * Convert an instance of IdentityEnhancedBreakdownDateOfBirthBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedBreakdownDateOfBirthBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies.java b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies.java index e90264b2..d3a03fed 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Date of birth match against credit agencies. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies result(String return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies properties(Ob return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies - */ + /** + * Create an instance of IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies + */ public static IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies.class); } - /** - * Convert an instance of IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedBreakdownDateOfBirthBreakdownCreditAgencies to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister.java b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister.java index c699079f..9430c0f1 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Date of birth match against voting register. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -67,10 +66,10 @@ public IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister result(String return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -86,10 +85,10 @@ public IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister properties(Ob return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public Object getProperties() { return properties; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister - */ + /** + * Create an instance of IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister + */ public static IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister.class); } - /** - * Convert an instance of IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedBreakdownDateOfBirthBreakdownVotingRegister to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownMortality.java b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownMortality.java index 7362162f..445e183a 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownMortality.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownMortality.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Asserts if the applicant's details match any death records. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedBreakdownMortality { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -63,10 +62,10 @@ public IdentityEnhancedBreakdownMortality result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownMortality - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownMortality + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedBreakdownMortality.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -264,22 +263,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedBreakdownMortality given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedBreakdownMortality - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownMortality - */ + /** + * Create an instance of IdentityEnhancedBreakdownMortality given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedBreakdownMortality + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownMortality + */ public static IdentityEnhancedBreakdownMortality fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedBreakdownMortality.class); } - /** - * Convert an instance of IdentityEnhancedBreakdownMortality to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedBreakdownMortality to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownSources.java b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownSources.java index b070c6be..33dfb1a7 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownSources.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownSources.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts if any sources that an applicant's details have been verified against have produced a match. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedBreakdownSources { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public IdentityEnhancedBreakdownSources result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public IdentityEnhancedBreakdownSources breakdown(IdentityEnhancedBreakdownSourc return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public IdentityEnhancedBreakdownSourcesBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownSources - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownSources + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedBreakdownSources.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedBreakdownSources given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedBreakdownSources - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownSources - */ + /** + * Create an instance of IdentityEnhancedBreakdownSources given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedBreakdownSources + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownSources + */ public static IdentityEnhancedBreakdownSources fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedBreakdownSources.class); } - /** - * Convert an instance of IdentityEnhancedBreakdownSources to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedBreakdownSources to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownSourcesBreakdown.java b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownSourcesBreakdown.java index 226f6387..ef395108 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownSourcesBreakdown.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownSourcesBreakdown.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * IdentityEnhancedBreakdownSourcesBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedBreakdownSourcesBreakdown { public static final String SERIALIZED_NAME_TOTAL_SOURCES = "total_sources"; @SerializedName(SERIALIZED_NAME_TOTAL_SOURCES) @@ -64,10 +63,10 @@ public IdentityEnhancedBreakdownSourcesBreakdown totalSources(IdentityEnhancedBr return this; } - /** + /** * Get totalSources * @return totalSources - **/ + */ @javax.annotation.Nullable public IdentityEnhancedBreakdownSourcesBreakdownTotalSources getTotalSources() { return totalSources; @@ -175,12 +174,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownSourcesBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownSourcesBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedBreakdownSourcesBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -266,22 +265,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedBreakdownSourcesBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedBreakdownSourcesBreakdown - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownSourcesBreakdown - */ + /** + * Create an instance of IdentityEnhancedBreakdownSourcesBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedBreakdownSourcesBreakdown + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownSourcesBreakdown + */ public static IdentityEnhancedBreakdownSourcesBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedBreakdownSourcesBreakdown.class); } - /** - * Convert an instance of IdentityEnhancedBreakdownSourcesBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedBreakdownSourcesBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownSourcesBreakdownTotalSources.java b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownSourcesBreakdownTotalSources.java index 6c5a2168..e7039466 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownSourcesBreakdownTotalSources.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownSourcesBreakdownTotalSources.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * The number of sources which produced a match to applicant details. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedBreakdownSourcesBreakdownTotalSources { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public IdentityEnhancedBreakdownSourcesBreakdownTotalSources result(String resul return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public IdentityEnhancedBreakdownSourcesBreakdownTotalSources properties(Identity return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties getProperties() { return properties; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownSourcesBreakdownTotalSources - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownSourcesBreakdownTotalSources + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedBreakdownSourcesBreakdownTotalSources.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedBreakdownSourcesBreakdownTotalSources given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedBreakdownSourcesBreakdownTotalSources - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownSourcesBreakdownTotalSources - */ + /** + * Create an instance of IdentityEnhancedBreakdownSourcesBreakdownTotalSources given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedBreakdownSourcesBreakdownTotalSources + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownSourcesBreakdownTotalSources + */ public static IdentityEnhancedBreakdownSourcesBreakdownTotalSources fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedBreakdownSourcesBreakdownTotalSources.class); } - /** - * Convert an instance of IdentityEnhancedBreakdownSourcesBreakdownTotalSources to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedBreakdownSourcesBreakdownTotalSources to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties.java b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties.java index a6b81742..319fcd91 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties { public static final String SERIALIZED_NAME_TOTAL_NUMBER_OF_SOURCES = "total_number_of_sources"; @SerializedName(SERIALIZED_NAME_TOTAL_NUMBER_OF_SOURCES) @@ -63,10 +62,10 @@ public IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties totalNumb return this; } - /** + /** * Get totalNumberOfSources * @return totalNumberOfSources - **/ + */ @javax.annotation.Nullable public Integer getTotalNumberOfSources() { return totalNumberOfSources; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -261,22 +260,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties - */ + /** + * Create an instance of IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties + */ public static IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties.class); } - /** - * Convert an instance of IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedBreakdownSourcesBreakdownTotalSourcesProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedProperties.java b/src/main/java/com/onfido/model/IdentityEnhancedProperties.java index ccc87bb3..7c6c237d 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedProperties.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedProperties.java @@ -41,7 +41,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -53,7 +52,7 @@ /** * IdentityEnhancedProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedProperties { public static final String SERIALIZED_NAME_MATCHED_ADDRESS = "matched_address"; @SerializedName(SERIALIZED_NAME_MATCHED_ADDRESS) @@ -71,10 +70,10 @@ public IdentityEnhancedProperties matchedAddress(BigDecimal matchedAddress) { return this; } - /** + /** * Returns address number which has been matched. * @return matchedAddress - **/ + */ @javax.annotation.Nullable public BigDecimal getMatchedAddress() { return matchedAddress; @@ -98,10 +97,10 @@ public IdentityEnhancedProperties addMatchedAddressesItem(IdentityEnhancedProper return this; } - /** + /** * Returns array of sources which contain matched addresses for the corresponding address number. * @return matchedAddresses - **/ + */ @javax.annotation.Nullable public List getMatchedAddresses() { return matchedAddresses; @@ -212,12 +211,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -313,22 +312,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedProperties - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedProperties - */ + /** + * Create an instance of IdentityEnhancedProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedProperties + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedProperties + */ public static IdentityEnhancedProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedProperties.class); } - /** - * Convert an instance of IdentityEnhancedProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedPropertiesMatchedAddressesInner.java b/src/main/java/com/onfido/model/IdentityEnhancedPropertiesMatchedAddressesInner.java index 3d2866b6..5fa2d498 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedPropertiesMatchedAddressesInner.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedPropertiesMatchedAddressesInner.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * IdentityEnhancedPropertiesMatchedAddressesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedPropertiesMatchedAddressesInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -70,10 +69,10 @@ public IdentityEnhancedPropertiesMatchedAddressesInner id(BigDecimal id) { return this; } - /** + /** * The address number. * @return id - **/ + */ @javax.annotation.Nullable public BigDecimal getId() { return id; @@ -97,10 +96,10 @@ public IdentityEnhancedPropertiesMatchedAddressesInner addMatchTypesItem(String return this; } - /** + /** * Sources which contain matched addresses. * @return matchTypes - **/ + */ @javax.annotation.Nullable public List getMatchTypes() { return matchTypes; @@ -211,12 +210,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedPropertiesMatchedAddressesInner - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedPropertiesMatchedAddressesInner + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedPropertiesMatchedAddressesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -302,22 +301,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedPropertiesMatchedAddressesInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedPropertiesMatchedAddressesInner - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedPropertiesMatchedAddressesInner - */ + /** + * Create an instance of IdentityEnhancedPropertiesMatchedAddressesInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedPropertiesMatchedAddressesInner + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedPropertiesMatchedAddressesInner + */ public static IdentityEnhancedPropertiesMatchedAddressesInner fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedPropertiesMatchedAddressesInner.class); } - /** - * Convert an instance of IdentityEnhancedPropertiesMatchedAddressesInner to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedPropertiesMatchedAddressesInner to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IdentityEnhancedReport.java b/src/main/java/com/onfido/model/IdentityEnhancedReport.java index 08faec8c..a88d9b12 100644 --- a/src/main/java/com/onfido/model/IdentityEnhancedReport.java +++ b/src/main/java/com/onfido/model/IdentityEnhancedReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * IdentityEnhancedReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IdentityEnhancedReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public IdentityEnhancedReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public IdentityEnhancedReport createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public IdentityEnhancedReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public IdentityEnhancedReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public IdentityEnhancedReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public IdentityEnhancedReport subResult(ReportSubResult subResult) { return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public IdentityEnhancedReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public IdentityEnhancedReport addDocumentsItem(ReportDocument documentsItem) { return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public IdentityEnhancedReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public IdentityEnhancedReport breakdown(IdentityEnhancedBreakdown breakdown) { return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public IdentityEnhancedBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public IdentityEnhancedReport properties(IdentityEnhancedProperties properties) return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public IdentityEnhancedProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IdentityEnhancedReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IdentityEnhancedReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IdentityEnhancedReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of IdentityEnhancedReport - * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedReport - */ + /** + * Create an instance of IdentityEnhancedReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of IdentityEnhancedReport + * @throws IOException if the JSON string is invalid with respect to IdentityEnhancedReport + */ public static IdentityEnhancedReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IdentityEnhancedReport.class); } - /** - * Convert an instance of IdentityEnhancedReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IdentityEnhancedReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IndiaPanReport.java b/src/main/java/com/onfido/model/IndiaPanReport.java index b409bab6..b0c338d4 100644 --- a/src/main/java/com/onfido/model/IndiaPanReport.java +++ b/src/main/java/com/onfido/model/IndiaPanReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * IndiaPanReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IndiaPanReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public IndiaPanReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public IndiaPanReport createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public IndiaPanReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public IndiaPanReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public IndiaPanReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public IndiaPanReport subResult(ReportSubResult subResult) { return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public IndiaPanReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public IndiaPanReport addDocumentsItem(ReportDocument documentsItem) { return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public IndiaPanReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public IndiaPanReport breakdown(IndiaPanReportAllOfBreakdown breakdown) { return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public IndiaPanReportAllOfBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public IndiaPanReport properties(IndiaPanReportAllOfProperties properties) { return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public IndiaPanReportAllOfProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IndiaPanReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IndiaPanReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IndiaPanReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IndiaPanReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of IndiaPanReport - * @throws IOException if the JSON string is invalid with respect to IndiaPanReport - */ + /** + * Create an instance of IndiaPanReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of IndiaPanReport + * @throws IOException if the JSON string is invalid with respect to IndiaPanReport + */ public static IndiaPanReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IndiaPanReport.class); } - /** - * Convert an instance of IndiaPanReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IndiaPanReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IndiaPanReportAllOfBreakdown.java b/src/main/java/com/onfido/model/IndiaPanReportAllOfBreakdown.java index c4c7b7b0..19e36f29 100644 --- a/src/main/java/com/onfido/model/IndiaPanReportAllOfBreakdown.java +++ b/src/main/java/com/onfido/model/IndiaPanReportAllOfBreakdown.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * IndiaPanReportAllOfBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IndiaPanReportAllOfBreakdown { public static final String SERIALIZED_NAME_DEVICE = "device"; @SerializedName(SERIALIZED_NAME_DEVICE) @@ -64,10 +63,10 @@ public IndiaPanReportAllOfBreakdown device(IndiaPanReportAllOfBreakdownDevice de return this; } - /** + /** * Get device * @return device - **/ + */ @javax.annotation.Nullable public IndiaPanReportAllOfBreakdownDevice getDevice() { return device; @@ -175,12 +174,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IndiaPanReportAllOfBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IndiaPanReportAllOfBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IndiaPanReportAllOfBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -266,22 +265,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IndiaPanReportAllOfBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of IndiaPanReportAllOfBreakdown - * @throws IOException if the JSON string is invalid with respect to IndiaPanReportAllOfBreakdown - */ + /** + * Create an instance of IndiaPanReportAllOfBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of IndiaPanReportAllOfBreakdown + * @throws IOException if the JSON string is invalid with respect to IndiaPanReportAllOfBreakdown + */ public static IndiaPanReportAllOfBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IndiaPanReportAllOfBreakdown.class); } - /** - * Convert an instance of IndiaPanReportAllOfBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IndiaPanReportAllOfBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IndiaPanReportAllOfBreakdownDevice.java b/src/main/java/com/onfido/model/IndiaPanReportAllOfBreakdownDevice.java index b7e86c7e..b8e4d0a3 100644 --- a/src/main/java/com/onfido/model/IndiaPanReportAllOfBreakdownDevice.java +++ b/src/main/java/com/onfido/model/IndiaPanReportAllOfBreakdownDevice.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * IndiaPanReportAllOfBreakdownDevice */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IndiaPanReportAllOfBreakdownDevice { public static final String SERIALIZED_NAME_BREAKDOWN = "breakdown"; @SerializedName(SERIALIZED_NAME_BREAKDOWN) @@ -64,10 +63,10 @@ public IndiaPanReportAllOfBreakdownDevice breakdown(IndiaPanReportAllOfBreakdown return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public IndiaPanReportAllOfBreakdownDeviceBreakdown getBreakdown() { return breakdown; @@ -175,12 +174,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IndiaPanReportAllOfBreakdownDevice - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IndiaPanReportAllOfBreakdownDevice + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IndiaPanReportAllOfBreakdownDevice.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -266,22 +265,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IndiaPanReportAllOfBreakdownDevice given an JSON string - * - * @param jsonString JSON string - * @return An instance of IndiaPanReportAllOfBreakdownDevice - * @throws IOException if the JSON string is invalid with respect to IndiaPanReportAllOfBreakdownDevice - */ + /** + * Create an instance of IndiaPanReportAllOfBreakdownDevice given an JSON string + * + * @param jsonString JSON string + * @return An instance of IndiaPanReportAllOfBreakdownDevice + * @throws IOException if the JSON string is invalid with respect to IndiaPanReportAllOfBreakdownDevice + */ public static IndiaPanReportAllOfBreakdownDevice fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IndiaPanReportAllOfBreakdownDevice.class); } - /** - * Convert an instance of IndiaPanReportAllOfBreakdownDevice to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IndiaPanReportAllOfBreakdownDevice to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IndiaPanReportAllOfBreakdownDeviceBreakdown.java b/src/main/java/com/onfido/model/IndiaPanReportAllOfBreakdownDeviceBreakdown.java index 8fa48cb9..a87c4303 100644 --- a/src/main/java/com/onfido/model/IndiaPanReportAllOfBreakdownDeviceBreakdown.java +++ b/src/main/java/com/onfido/model/IndiaPanReportAllOfBreakdownDeviceBreakdown.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * IndiaPanReportAllOfBreakdownDeviceBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IndiaPanReportAllOfBreakdownDeviceBreakdown { public static final String SERIALIZED_NAME_PAN_VALID = "pan_valid"; @SerializedName(SERIALIZED_NAME_PAN_VALID) @@ -68,10 +67,10 @@ public IndiaPanReportAllOfBreakdownDeviceBreakdown panValid(IndiaPanReportAllOfB return this; } - /** + /** * Get panValid * @return panValid - **/ + */ @javax.annotation.Nullable public IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid getPanValid() { return panValid; @@ -87,10 +86,10 @@ public IndiaPanReportAllOfBreakdownDeviceBreakdown nameMatch(IndiaPanReportAllOf return this; } - /** + /** * Get nameMatch * @return nameMatch - **/ + */ @javax.annotation.Nullable public IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid getNameMatch() { return nameMatch; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IndiaPanReportAllOfBreakdownDeviceBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IndiaPanReportAllOfBreakdownDeviceBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IndiaPanReportAllOfBreakdownDeviceBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -296,22 +295,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IndiaPanReportAllOfBreakdownDeviceBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of IndiaPanReportAllOfBreakdownDeviceBreakdown - * @throws IOException if the JSON string is invalid with respect to IndiaPanReportAllOfBreakdownDeviceBreakdown - */ + /** + * Create an instance of IndiaPanReportAllOfBreakdownDeviceBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of IndiaPanReportAllOfBreakdownDeviceBreakdown + * @throws IOException if the JSON string is invalid with respect to IndiaPanReportAllOfBreakdownDeviceBreakdown + */ public static IndiaPanReportAllOfBreakdownDeviceBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IndiaPanReportAllOfBreakdownDeviceBreakdown.class); } - /** - * Convert an instance of IndiaPanReportAllOfBreakdownDeviceBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IndiaPanReportAllOfBreakdownDeviceBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid.java b/src/main/java/com/onfido/model/IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid.java index be60caaf..d11ce7ae 100644 --- a/src/main/java/com/onfido/model/IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid.java +++ b/src/main/java/com/onfido/model/IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -63,10 +62,10 @@ public IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid result(String result) return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -264,22 +263,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid given an JSON string - * - * @param jsonString JSON string - * @return An instance of IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid - * @throws IOException if the JSON string is invalid with respect to IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid - */ + /** + * Create an instance of IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid given an JSON string + * + * @param jsonString JSON string + * @return An instance of IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid + * @throws IOException if the JSON string is invalid with respect to IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid + */ public static IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid.class); } - /** - * Convert an instance of IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IndiaPanReportAllOfBreakdownDeviceBreakdownPanValid to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IndiaPanReportAllOfProperties.java b/src/main/java/com/onfido/model/IndiaPanReportAllOfProperties.java index d960761f..974d51b8 100644 --- a/src/main/java/com/onfido/model/IndiaPanReportAllOfProperties.java +++ b/src/main/java/com/onfido/model/IndiaPanReportAllOfProperties.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * IndiaPanReportAllOfProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IndiaPanReportAllOfProperties { public static final String SERIALIZED_NAME_DEVICE = "device"; @SerializedName(SERIALIZED_NAME_DEVICE) @@ -64,10 +63,10 @@ public IndiaPanReportAllOfProperties device(IndiaPanReportAllOfPropertiesDevice return this; } - /** + /** * Get device * @return device - **/ + */ @javax.annotation.Nullable public IndiaPanReportAllOfPropertiesDevice getDevice() { return device; @@ -175,12 +174,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IndiaPanReportAllOfProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IndiaPanReportAllOfProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IndiaPanReportAllOfProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -266,22 +265,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IndiaPanReportAllOfProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of IndiaPanReportAllOfProperties - * @throws IOException if the JSON string is invalid with respect to IndiaPanReportAllOfProperties - */ + /** + * Create an instance of IndiaPanReportAllOfProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of IndiaPanReportAllOfProperties + * @throws IOException if the JSON string is invalid with respect to IndiaPanReportAllOfProperties + */ public static IndiaPanReportAllOfProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IndiaPanReportAllOfProperties.class); } - /** - * Convert an instance of IndiaPanReportAllOfProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IndiaPanReportAllOfProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/IndiaPanReportAllOfPropertiesDevice.java b/src/main/java/com/onfido/model/IndiaPanReportAllOfPropertiesDevice.java index 60585dc6..250b3739 100644 --- a/src/main/java/com/onfido/model/IndiaPanReportAllOfPropertiesDevice.java +++ b/src/main/java/com/onfido/model/IndiaPanReportAllOfPropertiesDevice.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * IndiaPanReportAllOfPropertiesDevice */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IndiaPanReportAllOfPropertiesDevice { public static final String SERIALIZED_NAME_PAN = "pan"; @SerializedName(SERIALIZED_NAME_PAN) @@ -67,10 +66,10 @@ public IndiaPanReportAllOfPropertiesDevice pan(String pan) { return this; } - /** + /** * The applicant's PAN (10 digit alphanumeric number). * @return pan - **/ + */ @javax.annotation.Nullable public String getPan() { return pan; @@ -86,10 +85,10 @@ public IndiaPanReportAllOfPropertiesDevice fullName(String fullName) { return this; } - /** + /** * The applicant's full name. * @return fullName - **/ + */ @javax.annotation.Nullable public String getFullName() { return fullName; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to IndiaPanReportAllOfPropertiesDevice - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to IndiaPanReportAllOfPropertiesDevice + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!IndiaPanReportAllOfPropertiesDevice.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -293,22 +292,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of IndiaPanReportAllOfPropertiesDevice given an JSON string - * - * @param jsonString JSON string - * @return An instance of IndiaPanReportAllOfPropertiesDevice - * @throws IOException if the JSON string is invalid with respect to IndiaPanReportAllOfPropertiesDevice - */ + /** + * Create an instance of IndiaPanReportAllOfPropertiesDevice given an JSON string + * + * @param jsonString JSON string + * @return An instance of IndiaPanReportAllOfPropertiesDevice + * @throws IOException if the JSON string is invalid with respect to IndiaPanReportAllOfPropertiesDevice + */ public static IndiaPanReportAllOfPropertiesDevice fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, IndiaPanReportAllOfPropertiesDevice.class); } - /** - * Convert an instance of IndiaPanReportAllOfPropertiesDevice to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of IndiaPanReportAllOfPropertiesDevice to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/KnownFacesBreakdown.java b/src/main/java/com/onfido/model/KnownFacesBreakdown.java index b0340186..d8512f5e 100644 --- a/src/main/java/com/onfido/model/KnownFacesBreakdown.java +++ b/src/main/java/com/onfido/model/KnownFacesBreakdown.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * KnownFacesBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class KnownFacesBreakdown { public static final String SERIALIZED_NAME_PREVIOUSLY_SEEN_FACES = "previously_seen_faces"; @SerializedName(SERIALIZED_NAME_PREVIOUSLY_SEEN_FACES) @@ -69,10 +68,10 @@ public KnownFacesBreakdown previouslySeenFaces(KnownFacesBreakdownPreviouslySeen return this; } - /** + /** * Get previouslySeenFaces * @return previouslySeenFaces - **/ + */ @javax.annotation.Nullable public KnownFacesBreakdownPreviouslySeenFaces getPreviouslySeenFaces() { return previouslySeenFaces; @@ -88,10 +87,10 @@ public KnownFacesBreakdown imageIntegrity(KnownFacesBreakdownImageIntegrity imag return this; } - /** + /** * Get imageIntegrity * @return imageIntegrity - **/ + */ @javax.annotation.Nullable public KnownFacesBreakdownImageIntegrity getImageIntegrity() { return imageIntegrity; @@ -202,12 +201,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to KnownFacesBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to KnownFacesBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!KnownFacesBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -297,22 +296,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of KnownFacesBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of KnownFacesBreakdown - * @throws IOException if the JSON string is invalid with respect to KnownFacesBreakdown - */ + /** + * Create an instance of KnownFacesBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of KnownFacesBreakdown + * @throws IOException if the JSON string is invalid with respect to KnownFacesBreakdown + */ public static KnownFacesBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, KnownFacesBreakdown.class); } - /** - * Convert an instance of KnownFacesBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of KnownFacesBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/KnownFacesBreakdownImageIntegrity.java b/src/main/java/com/onfido/model/KnownFacesBreakdownImageIntegrity.java index ab1928e0..d5b1bfc8 100644 --- a/src/main/java/com/onfido/model/KnownFacesBreakdownImageIntegrity.java +++ b/src/main/java/com/onfido/model/KnownFacesBreakdownImageIntegrity.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Asserts whether the uploaded live photo or live video and the content contained within it were of sufficient quality to perform a face comparison. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class KnownFacesBreakdownImageIntegrity { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -63,10 +62,10 @@ public KnownFacesBreakdownImageIntegrity result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to KnownFacesBreakdownImageIntegrity - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to KnownFacesBreakdownImageIntegrity + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!KnownFacesBreakdownImageIntegrity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -264,22 +263,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of KnownFacesBreakdownImageIntegrity given an JSON string - * - * @param jsonString JSON string - * @return An instance of KnownFacesBreakdownImageIntegrity - * @throws IOException if the JSON string is invalid with respect to KnownFacesBreakdownImageIntegrity - */ + /** + * Create an instance of KnownFacesBreakdownImageIntegrity given an JSON string + * + * @param jsonString JSON string + * @return An instance of KnownFacesBreakdownImageIntegrity + * @throws IOException if the JSON string is invalid with respect to KnownFacesBreakdownImageIntegrity + */ public static KnownFacesBreakdownImageIntegrity fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, KnownFacesBreakdownImageIntegrity.class); } - /** - * Convert an instance of KnownFacesBreakdownImageIntegrity to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of KnownFacesBreakdownImageIntegrity to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/KnownFacesBreakdownPreviouslySeenFaces.java b/src/main/java/com/onfido/model/KnownFacesBreakdownPreviouslySeenFaces.java index 2f04c13b..2dc4ae42 100644 --- a/src/main/java/com/onfido/model/KnownFacesBreakdownPreviouslySeenFaces.java +++ b/src/main/java/com/onfido/model/KnownFacesBreakdownPreviouslySeenFaces.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Asserts whether the applicant's most recent facial media (live photo or live video) matches any other live photos or live videos already in your Onfido account database. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class KnownFacesBreakdownPreviouslySeenFaces { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -63,10 +62,10 @@ public KnownFacesBreakdownPreviouslySeenFaces result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to KnownFacesBreakdownPreviouslySeenFaces - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to KnownFacesBreakdownPreviouslySeenFaces + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!KnownFacesBreakdownPreviouslySeenFaces.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -264,22 +263,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of KnownFacesBreakdownPreviouslySeenFaces given an JSON string - * - * @param jsonString JSON string - * @return An instance of KnownFacesBreakdownPreviouslySeenFaces - * @throws IOException if the JSON string is invalid with respect to KnownFacesBreakdownPreviouslySeenFaces - */ + /** + * Create an instance of KnownFacesBreakdownPreviouslySeenFaces given an JSON string + * + * @param jsonString JSON string + * @return An instance of KnownFacesBreakdownPreviouslySeenFaces + * @throws IOException if the JSON string is invalid with respect to KnownFacesBreakdownPreviouslySeenFaces + */ public static KnownFacesBreakdownPreviouslySeenFaces fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, KnownFacesBreakdownPreviouslySeenFaces.class); } - /** - * Convert an instance of KnownFacesBreakdownPreviouslySeenFaces to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of KnownFacesBreakdownPreviouslySeenFaces to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/KnownFacesProperties.java b/src/main/java/com/onfido/model/KnownFacesProperties.java index 590fae08..49f0e5cc 100644 --- a/src/main/java/com/onfido/model/KnownFacesProperties.java +++ b/src/main/java/com/onfido/model/KnownFacesProperties.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * KnownFacesProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class KnownFacesProperties { public static final String SERIALIZED_NAME_MATCHES = "matches"; @SerializedName(SERIALIZED_NAME_MATCHES) @@ -74,10 +73,10 @@ public KnownFacesProperties addMatchesItem(KnownFacesPropertiesMatchesInner matc return this; } - /** + /** * Returns any matching applicant IDs as entries inside a matches array under a properties bag. * @return matches - **/ + */ @javax.annotation.Nullable public List getMatches() { return matches; @@ -185,12 +184,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to KnownFacesProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to KnownFacesProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!KnownFacesProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -286,22 +285,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of KnownFacesProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of KnownFacesProperties - * @throws IOException if the JSON string is invalid with respect to KnownFacesProperties - */ + /** + * Create an instance of KnownFacesProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of KnownFacesProperties + * @throws IOException if the JSON string is invalid with respect to KnownFacesProperties + */ public static KnownFacesProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, KnownFacesProperties.class); } - /** - * Convert an instance of KnownFacesProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of KnownFacesProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/KnownFacesPropertiesMatchesInner.java b/src/main/java/com/onfido/model/KnownFacesPropertiesMatchesInner.java index 2027ef85..d21be94d 100644 --- a/src/main/java/com/onfido/model/KnownFacesPropertiesMatchesInner.java +++ b/src/main/java/com/onfido/model/KnownFacesPropertiesMatchesInner.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * KnownFacesPropertiesMatchesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class KnownFacesPropertiesMatchesInner { public static final String SERIALIZED_NAME_APPLICANT_ID = "applicant_id"; @SerializedName(SERIALIZED_NAME_APPLICANT_ID) @@ -80,10 +79,10 @@ public KnownFacesPropertiesMatchesInner applicantId(UUID applicantId) { return this; } - /** + /** * The applicant ID of the matched applicant. * @return applicantId - **/ + */ @javax.annotation.Nullable public UUID getApplicantId() { return applicantId; @@ -99,10 +98,10 @@ public KnownFacesPropertiesMatchesInner score(Float score) { return this; } - /** + /** * A floating point number between 0 and 1 that expresses how similar the two faces are, where 1 is a perfect match. * @return score - **/ + */ @javax.annotation.Nullable public Float getScore() { return score; @@ -118,10 +117,10 @@ public KnownFacesPropertiesMatchesInner mediaId(UUID mediaId) { return this; } - /** + /** * The corresponding UUID for the media type. * @return mediaId - **/ + */ @javax.annotation.Nullable public UUID getMediaId() { return mediaId; @@ -137,10 +136,10 @@ public KnownFacesPropertiesMatchesInner mediaType(String mediaType) { return this; } - /** + /** * The media type (for example live_photos or live_videos). * @return mediaType - **/ + */ @javax.annotation.Nullable public String getMediaType() { return mediaType; @@ -156,10 +155,10 @@ public KnownFacesPropertiesMatchesInner suspected(Boolean suspected) { return this; } - /** + /** * Indicates if match is suspected based on fuzzy name matching feature. Dependent on feature being active for account, otherwise defaults to true. * @return suspected - **/ + */ @javax.annotation.Nullable public Boolean getSuspected() { return suspected; @@ -279,12 +278,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to KnownFacesPropertiesMatchesInner - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to KnownFacesPropertiesMatchesInner + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!KnownFacesPropertiesMatchesInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -375,22 +374,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of KnownFacesPropertiesMatchesInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of KnownFacesPropertiesMatchesInner - * @throws IOException if the JSON string is invalid with respect to KnownFacesPropertiesMatchesInner - */ + /** + * Create an instance of KnownFacesPropertiesMatchesInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of KnownFacesPropertiesMatchesInner + * @throws IOException if the JSON string is invalid with respect to KnownFacesPropertiesMatchesInner + */ public static KnownFacesPropertiesMatchesInner fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, KnownFacesPropertiesMatchesInner.class); } - /** - * Convert an instance of KnownFacesPropertiesMatchesInner to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of KnownFacesPropertiesMatchesInner to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/KnownFacesReport.java b/src/main/java/com/onfido/model/KnownFacesReport.java index a6d2f883..c72febcc 100644 --- a/src/main/java/com/onfido/model/KnownFacesReport.java +++ b/src/main/java/com/onfido/model/KnownFacesReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * KnownFacesReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class KnownFacesReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public KnownFacesReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public KnownFacesReport createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public KnownFacesReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public KnownFacesReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public KnownFacesReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public KnownFacesReport subResult(ReportSubResult subResult) { return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public KnownFacesReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public KnownFacesReport addDocumentsItem(ReportDocument documentsItem) { return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public KnownFacesReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public KnownFacesReport breakdown(KnownFacesBreakdown breakdown) { return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public KnownFacesBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public KnownFacesReport properties(KnownFacesProperties properties) { return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public KnownFacesProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to KnownFacesReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to KnownFacesReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!KnownFacesReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of KnownFacesReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of KnownFacesReport - * @throws IOException if the JSON string is invalid with respect to KnownFacesReport - */ + /** + * Create an instance of KnownFacesReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of KnownFacesReport + * @throws IOException if the JSON string is invalid with respect to KnownFacesReport + */ public static KnownFacesReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, KnownFacesReport.class); } - /** - * Convert an instance of KnownFacesReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of KnownFacesReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/LivePhoto.java b/src/main/java/com/onfido/model/LivePhoto.java index 91605757..9112498d 100644 --- a/src/main/java/com/onfido/model/LivePhoto.java +++ b/src/main/java/com/onfido/model/LivePhoto.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * LivePhoto */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class LivePhoto { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -89,10 +88,10 @@ public LivePhoto id(UUID id) { return this; } - /** + /** * The unique identifier for the photo. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -108,10 +107,10 @@ public LivePhoto createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the photo was uploaded. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -127,10 +126,10 @@ public LivePhoto href(String href) { return this; } - /** + /** * The uri of this resource. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -146,10 +145,10 @@ public LivePhoto downloadHref(String downloadHref) { return this; } - /** + /** * The uri that can be used to download the photo. * @return downloadHref - **/ + */ @javax.annotation.Nullable public String getDownloadHref() { return downloadHref; @@ -165,10 +164,10 @@ public LivePhoto fileName(String fileName) { return this; } - /** + /** * The name of the uploaded file. * @return fileName - **/ + */ @javax.annotation.Nullable public String getFileName() { return fileName; @@ -184,10 +183,10 @@ public LivePhoto fileType(String fileType) { return this; } - /** + /** * The file type of the uploaded file. * @return fileType - **/ + */ @javax.annotation.Nullable public String getFileType() { return fileType; @@ -203,10 +202,10 @@ public LivePhoto fileSize(Integer fileSize) { return this; } - /** + /** * The size of the file in bytes. * @return fileSize - **/ + */ @javax.annotation.Nullable public Integer getFileSize() { return fileSize; @@ -333,12 +332,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to LivePhoto - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to LivePhoto + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!LivePhoto.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -442,22 +441,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of LivePhoto given an JSON string - * - * @param jsonString JSON string - * @return An instance of LivePhoto - * @throws IOException if the JSON string is invalid with respect to LivePhoto - */ + /** + * Create an instance of LivePhoto given an JSON string + * + * @param jsonString JSON string + * @return An instance of LivePhoto + * @throws IOException if the JSON string is invalid with respect to LivePhoto + */ public static LivePhoto fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, LivePhoto.class); } - /** - * Convert an instance of LivePhoto to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of LivePhoto to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/LivePhotoResponse.java b/src/main/java/com/onfido/model/LivePhotoResponse.java index 71529412..21cc2ba1 100644 --- a/src/main/java/com/onfido/model/LivePhotoResponse.java +++ b/src/main/java/com/onfido/model/LivePhotoResponse.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * LivePhotoResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class LivePhotoResponse { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -89,10 +88,10 @@ public LivePhotoResponse id(UUID id) { return this; } - /** + /** * The unique identifier for the photo. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -108,10 +107,10 @@ public LivePhotoResponse createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the photo was uploaded. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -127,10 +126,10 @@ public LivePhotoResponse href(String href) { return this; } - /** + /** * The uri of this resource. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -146,10 +145,10 @@ public LivePhotoResponse downloadHref(String downloadHref) { return this; } - /** + /** * The uri that can be used to download the photo. * @return downloadHref - **/ + */ @javax.annotation.Nullable public String getDownloadHref() { return downloadHref; @@ -165,10 +164,10 @@ public LivePhotoResponse fileName(String fileName) { return this; } - /** + /** * The name of the uploaded file. * @return fileName - **/ + */ @javax.annotation.Nullable public String getFileName() { return fileName; @@ -184,10 +183,10 @@ public LivePhotoResponse fileType(String fileType) { return this; } - /** + /** * The file type of the uploaded file. * @return fileType - **/ + */ @javax.annotation.Nullable public String getFileType() { return fileType; @@ -203,10 +202,10 @@ public LivePhotoResponse fileSize(Integer fileSize) { return this; } - /** + /** * The size of the file in bytes. * @return fileSize - **/ + */ @javax.annotation.Nullable public Integer getFileSize() { return fileSize; @@ -333,12 +332,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to LivePhotoResponse - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to LivePhotoResponse + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!LivePhotoResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -442,22 +441,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of LivePhotoResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of LivePhotoResponse - * @throws IOException if the JSON string is invalid with respect to LivePhotoResponse - */ + /** + * Create an instance of LivePhotoResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of LivePhotoResponse + * @throws IOException if the JSON string is invalid with respect to LivePhotoResponse + */ public static LivePhotoResponse fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, LivePhotoResponse.class); } - /** - * Convert an instance of LivePhotoResponse to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of LivePhotoResponse to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/LivePhotosList.java b/src/main/java/com/onfido/model/LivePhotosList.java index 8039597e..b2bee03d 100644 --- a/src/main/java/com/onfido/model/LivePhotosList.java +++ b/src/main/java/com/onfido/model/LivePhotosList.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * LivePhotosList */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class LivePhotosList { public static final String SERIALIZED_NAME_LIVE_PHOTOS = "live_photos"; @SerializedName(SERIALIZED_NAME_LIVE_PHOTOS) @@ -74,10 +73,10 @@ public LivePhotosList addLivePhotosItem(LivePhoto livePhotosItem) { return this; } - /** + /** * Get livePhotos * @return livePhotos - **/ + */ @javax.annotation.Nonnull public List getLivePhotos() { return livePhotos; @@ -186,12 +185,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("live_photos"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to LivePhotosList - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to LivePhotosList + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!LivePhotosList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of LivePhotosList given an JSON string - * - * @param jsonString JSON string - * @return An instance of LivePhotosList - * @throws IOException if the JSON string is invalid with respect to LivePhotosList - */ + /** + * Create an instance of LivePhotosList given an JSON string + * + * @param jsonString JSON string + * @return An instance of LivePhotosList + * @throws IOException if the JSON string is invalid with respect to LivePhotosList + */ public static LivePhotosList fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, LivePhotosList.class); } - /** - * Convert an instance of LivePhotosList to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of LivePhotosList to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/LiveVideo.java b/src/main/java/com/onfido/model/LiveVideo.java index 43fbb0e1..97044b61 100644 --- a/src/main/java/com/onfido/model/LiveVideo.java +++ b/src/main/java/com/onfido/model/LiveVideo.java @@ -42,7 +42,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -54,7 +53,7 @@ /** * LiveVideo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class LiveVideo { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -96,10 +95,10 @@ public LiveVideo id(UUID id) { return this; } - /** + /** * The unique identifier for the video. * @return id - **/ + */ @javax.annotation.Nullable public UUID getId() { return id; @@ -115,10 +114,10 @@ public LiveVideo createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the video was uploaded. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -134,10 +133,10 @@ public LiveVideo href(String href) { return this; } - /** + /** * The uri of this resource. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -153,10 +152,10 @@ public LiveVideo downloadHref(String downloadHref) { return this; } - /** + /** * The uri that can be used to download the video. * @return downloadHref - **/ + */ @javax.annotation.Nullable public String getDownloadHref() { return downloadHref; @@ -172,10 +171,10 @@ public LiveVideo fileName(String fileName) { return this; } - /** + /** * The name of the uploaded file. * @return fileName - **/ + */ @javax.annotation.Nullable public String getFileName() { return fileName; @@ -191,10 +190,10 @@ public LiveVideo fileSize(Integer fileSize) { return this; } - /** + /** * The size of the file in bytes. * @return fileSize - **/ + */ @javax.annotation.Nullable public Integer getFileSize() { return fileSize; @@ -210,10 +209,10 @@ public LiveVideo fileType(String fileType) { return this; } - /** + /** * The file type of the uploaded file. * @return fileType - **/ + */ @javax.annotation.Nullable public String getFileType() { return fileType; @@ -237,10 +236,10 @@ public LiveVideo addChallengeItem(Map challengeItem) { return this; } - /** + /** * Challenge the end user was asked to perform during the video recording. * @return challenge - **/ + */ @javax.annotation.Nullable public List> getChallenge() { return challenge; @@ -369,12 +368,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to LiveVideo - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to LiveVideo + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!LiveVideo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -475,22 +474,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of LiveVideo given an JSON string - * - * @param jsonString JSON string - * @return An instance of LiveVideo - * @throws IOException if the JSON string is invalid with respect to LiveVideo - */ + /** + * Create an instance of LiveVideo given an JSON string + * + * @param jsonString JSON string + * @return An instance of LiveVideo + * @throws IOException if the JSON string is invalid with respect to LiveVideo + */ public static LiveVideo fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, LiveVideo.class); } - /** - * Convert an instance of LiveVideo to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of LiveVideo to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/LiveVideosList.java b/src/main/java/com/onfido/model/LiveVideosList.java index 1a7cbcb3..1cbd7073 100644 --- a/src/main/java/com/onfido/model/LiveVideosList.java +++ b/src/main/java/com/onfido/model/LiveVideosList.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * LiveVideosList */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class LiveVideosList { public static final String SERIALIZED_NAME_LIVE_VIDEOS = "live_videos"; @SerializedName(SERIALIZED_NAME_LIVE_VIDEOS) @@ -74,10 +73,10 @@ public LiveVideosList addLiveVideosItem(LiveVideo liveVideosItem) { return this; } - /** + /** * Get liveVideos * @return liveVideos - **/ + */ @javax.annotation.Nonnull public List getLiveVideos() { return liveVideos; @@ -186,12 +185,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("live_videos"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to LiveVideosList - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to LiveVideosList + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!LiveVideosList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of LiveVideosList given an JSON string - * - * @param jsonString JSON string - * @return An instance of LiveVideosList - * @throws IOException if the JSON string is invalid with respect to LiveVideosList - */ + /** + * Create an instance of LiveVideosList given an JSON string + * + * @param jsonString JSON string + * @return An instance of LiveVideosList + * @throws IOException if the JSON string is invalid with respect to LiveVideosList + */ public static LiveVideosList fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, LiveVideosList.class); } - /** - * Convert an instance of LiveVideosList to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of LiveVideosList to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/Location.java b/src/main/java/com/onfido/model/Location.java index 88a8a581..f688529f 100644 --- a/src/main/java/com/onfido/model/Location.java +++ b/src/main/java/com/onfido/model/Location.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Location */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Location { public static final String SERIALIZED_NAME_IP_ADDRESS = "ip_address"; @SerializedName(SERIALIZED_NAME_IP_ADDRESS) @@ -68,10 +67,10 @@ public Location ipAddress(String ipAddress) { return this; } - /** + /** * The applicant's ip address. * @return ipAddress - **/ + */ @javax.annotation.Nullable public String getIpAddress() { return ipAddress; @@ -87,10 +86,10 @@ public Location countryOfResidence(CountryCodes countryOfResidence) { return this; } - /** + /** * The applicant's country of residence in 3-letter ISO code. * @return countryOfResidence - **/ + */ @javax.annotation.Nullable public CountryCodes getCountryOfResidence() { return countryOfResidence; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to Location - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to Location + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Location.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of Location given an JSON string - * - * @param jsonString JSON string - * @return An instance of Location - * @throws IOException if the JSON string is invalid with respect to Location - */ + /** + * Create an instance of Location given an JSON string + * + * @param jsonString JSON string + * @return An instance of Location + * @throws IOException if the JSON string is invalid with respect to Location + */ public static Location fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, Location.class); } - /** - * Convert an instance of Location to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of Location to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/LocationBuilder.java b/src/main/java/com/onfido/model/LocationBuilder.java index 575d85a3..95b8519b 100644 --- a/src/main/java/com/onfido/model/LocationBuilder.java +++ b/src/main/java/com/onfido/model/LocationBuilder.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * LocationBuilder */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class LocationBuilder { public static final String SERIALIZED_NAME_IP_ADDRESS = "ip_address"; @SerializedName(SERIALIZED_NAME_IP_ADDRESS) @@ -68,10 +67,10 @@ public LocationBuilder ipAddress(String ipAddress) { return this; } - /** + /** * The applicant's ip address. * @return ipAddress - **/ + */ @javax.annotation.Nullable public String getIpAddress() { return ipAddress; @@ -87,10 +86,10 @@ public LocationBuilder countryOfResidence(CountryCodes countryOfResidence) { return this; } - /** + /** * The applicant's country of residence in 3-letter ISO code. * @return countryOfResidence - **/ + */ @javax.annotation.Nullable public CountryCodes getCountryOfResidence() { return countryOfResidence; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to LocationBuilder - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to LocationBuilder + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!LocationBuilder.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of LocationBuilder given an JSON string - * - * @param jsonString JSON string - * @return An instance of LocationBuilder - * @throws IOException if the JSON string is invalid with respect to LocationBuilder - */ + /** + * Create an instance of LocationBuilder given an JSON string + * + * @param jsonString JSON string + * @return An instance of LocationBuilder + * @throws IOException if the JSON string is invalid with respect to LocationBuilder + */ public static LocationBuilder fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, LocationBuilder.class); } - /** - * Convert an instance of LocationBuilder to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of LocationBuilder to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/LocationShared.java b/src/main/java/com/onfido/model/LocationShared.java index ef191191..5f302534 100644 --- a/src/main/java/com/onfido/model/LocationShared.java +++ b/src/main/java/com/onfido/model/LocationShared.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * LocationShared */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class LocationShared { public static final String SERIALIZED_NAME_IP_ADDRESS = "ip_address"; @SerializedName(SERIALIZED_NAME_IP_ADDRESS) @@ -68,10 +67,10 @@ public LocationShared ipAddress(String ipAddress) { return this; } - /** + /** * The applicant's ip address. * @return ipAddress - **/ + */ @javax.annotation.Nullable public String getIpAddress() { return ipAddress; @@ -87,10 +86,10 @@ public LocationShared countryOfResidence(CountryCodes countryOfResidence) { return this; } - /** + /** * The applicant's country of residence in 3-letter ISO code. * @return countryOfResidence - **/ + */ @javax.annotation.Nullable public CountryCodes getCountryOfResidence() { return countryOfResidence; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to LocationShared - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to LocationShared + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!LocationShared.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of LocationShared given an JSON string - * - * @param jsonString JSON string - * @return An instance of LocationShared - * @throws IOException if the JSON string is invalid with respect to LocationShared - */ + /** + * Create an instance of LocationShared given an JSON string + * + * @param jsonString JSON string + * @return An instance of LocationShared + * @throws IOException if the JSON string is invalid with respect to LocationShared + */ public static LocationShared fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, LocationShared.class); } - /** - * Convert an instance of LocationShared to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of LocationShared to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/MotionCapture.java b/src/main/java/com/onfido/model/MotionCapture.java index c96b8e42..9acb1ad3 100644 --- a/src/main/java/com/onfido/model/MotionCapture.java +++ b/src/main/java/com/onfido/model/MotionCapture.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * MotionCapture */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MotionCapture { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -89,10 +88,10 @@ public MotionCapture id(UUID id) { return this; } - /** + /** * The unique identifier for the motion capture. * @return id - **/ + */ @javax.annotation.Nullable public UUID getId() { return id; @@ -108,10 +107,10 @@ public MotionCapture createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the motion capture was uploaded. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -127,10 +126,10 @@ public MotionCapture href(String href) { return this; } - /** + /** * The uri of this resource. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -146,10 +145,10 @@ public MotionCapture downloadHref(String downloadHref) { return this; } - /** + /** * The uri that can be used to download the motion capture. * @return downloadHref - **/ + */ @javax.annotation.Nullable public String getDownloadHref() { return downloadHref; @@ -165,10 +164,10 @@ public MotionCapture fileName(String fileName) { return this; } - /** + /** * The name of the uploaded file. * @return fileName - **/ + */ @javax.annotation.Nullable public String getFileName() { return fileName; @@ -184,10 +183,10 @@ public MotionCapture fileSize(Integer fileSize) { return this; } - /** + /** * The size of the file in bytes. * @return fileSize - **/ + */ @javax.annotation.Nullable public Integer getFileSize() { return fileSize; @@ -203,10 +202,10 @@ public MotionCapture fileType(String fileType) { return this; } - /** + /** * The file type of the uploaded file. * @return fileType - **/ + */ @javax.annotation.Nullable public String getFileType() { return fileType; @@ -332,12 +331,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to MotionCapture - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to MotionCapture + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!MotionCapture.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -434,22 +433,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of MotionCapture given an JSON string - * - * @param jsonString JSON string - * @return An instance of MotionCapture - * @throws IOException if the JSON string is invalid with respect to MotionCapture - */ + /** + * Create an instance of MotionCapture given an JSON string + * + * @param jsonString JSON string + * @return An instance of MotionCapture + * @throws IOException if the JSON string is invalid with respect to MotionCapture + */ public static MotionCapture fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, MotionCapture.class); } - /** - * Convert an instance of MotionCapture to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of MotionCapture to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/MotionCapturesList.java b/src/main/java/com/onfido/model/MotionCapturesList.java index 3721bf18..4f672873 100644 --- a/src/main/java/com/onfido/model/MotionCapturesList.java +++ b/src/main/java/com/onfido/model/MotionCapturesList.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * MotionCapturesList */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MotionCapturesList { public static final String SERIALIZED_NAME_MOTION_CAPTURES = "motion_captures"; @SerializedName(SERIALIZED_NAME_MOTION_CAPTURES) @@ -74,10 +73,10 @@ public MotionCapturesList addMotionCapturesItem(MotionCapture motionCapturesItem return this; } - /** + /** * Get motionCaptures * @return motionCaptures - **/ + */ @javax.annotation.Nonnull public List getMotionCaptures() { return motionCaptures; @@ -186,12 +185,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("motion_captures"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to MotionCapturesList - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to MotionCapturesList + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!MotionCapturesList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of MotionCapturesList given an JSON string - * - * @param jsonString JSON string - * @return An instance of MotionCapturesList - * @throws IOException if the JSON string is invalid with respect to MotionCapturesList - */ + /** + * Create an instance of MotionCapturesList given an JSON string + * + * @param jsonString JSON string + * @return An instance of MotionCapturesList + * @throws IOException if the JSON string is invalid with respect to MotionCapturesList + */ public static MotionCapturesList fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, MotionCapturesList.class); } - /** - * Convert an instance of MotionCapturesList to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of MotionCapturesList to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/PhotoAutoReasons.java b/src/main/java/com/onfido/model/PhotoAutoReasons.java index 5114ee35..f1ae7969 100644 --- a/src/main/java/com/onfido/model/PhotoAutoReasons.java +++ b/src/main/java/com/onfido/model/PhotoAutoReasons.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * PhotoAutoReasons */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class PhotoAutoReasons { public static final String SERIALIZED_NAME_DIGITAL_TAMPERING = "digital_tampering"; @SerializedName(SERIALIZED_NAME_DIGITAL_TAMPERING) @@ -79,10 +78,10 @@ public PhotoAutoReasons digitalTampering(String digitalTampering) { return this; } - /** + /** * Flags when evidence is found that the image was manipulated by Photoshop, or other software. * @return digitalTampering - **/ + */ @javax.annotation.Nullable public String getDigitalTampering() { return digitalTampering; @@ -98,10 +97,10 @@ public PhotoAutoReasons fakeWebcam(String fakeWebcam) { return this; } - /** + /** * Flags when evidence is found that a fake webcam was used. * @return fakeWebcam - **/ + */ @javax.annotation.Nullable public String getFakeWebcam() { return fakeWebcam; @@ -117,10 +116,10 @@ public PhotoAutoReasons timeOfCapture(String timeOfCapture) { return this; } - /** + /** * Flags when evidence is found that the live photo was taken more than 24 hours before live photo upload. * @return timeOfCapture - **/ + */ @javax.annotation.Nullable public String getTimeOfCapture() { return timeOfCapture; @@ -136,10 +135,10 @@ public PhotoAutoReasons emulator(String emulator) { return this; } - /** + /** * Flags when evidence is found that an Android emulator was used. * @return emulator - **/ + */ @javax.annotation.Nullable public String getEmulator() { return emulator; @@ -155,10 +154,10 @@ public PhotoAutoReasons reasons(String reasons) { return this; } - /** + /** * Additional comma separated details such as the exact digital tampering software used, or the name of the fake webcam. * @return reasons - **/ + */ @javax.annotation.Nullable public String getReasons() { return reasons; @@ -278,12 +277,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to PhotoAutoReasons - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to PhotoAutoReasons + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!PhotoAutoReasons.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -380,22 +379,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of PhotoAutoReasons given an JSON string - * - * @param jsonString JSON string - * @return An instance of PhotoAutoReasons - * @throws IOException if the JSON string is invalid with respect to PhotoAutoReasons - */ + /** + * Create an instance of PhotoAutoReasons given an JSON string + * + * @param jsonString JSON string + * @return An instance of PhotoAutoReasons + * @throws IOException if the JSON string is invalid with respect to PhotoAutoReasons + */ public static PhotoAutoReasons fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, PhotoAutoReasons.class); } - /** - * Convert an instance of PhotoAutoReasons to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of PhotoAutoReasons to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/PhotoReasons.java b/src/main/java/com/onfido/model/PhotoReasons.java index 32d11e1d..5498d05e 100644 --- a/src/main/java/com/onfido/model/PhotoReasons.java +++ b/src/main/java/com/onfido/model/PhotoReasons.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * PhotoReasons */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class PhotoReasons { public static final String SERIALIZED_NAME_DIGITAL_TAMPERING = "digital_tampering"; @SerializedName(SERIALIZED_NAME_DIGITAL_TAMPERING) @@ -79,10 +78,10 @@ public PhotoReasons digitalTampering(String digitalTampering) { return this; } - /** + /** * Flags when evidence is found that the image was manipulated by Photoshop, or other software. * @return digitalTampering - **/ + */ @javax.annotation.Nullable public String getDigitalTampering() { return digitalTampering; @@ -98,10 +97,10 @@ public PhotoReasons fakeWebcam(String fakeWebcam) { return this; } - /** + /** * Flags when evidence is found that a fake webcam was used. * @return fakeWebcam - **/ + */ @javax.annotation.Nullable public String getFakeWebcam() { return fakeWebcam; @@ -117,10 +116,10 @@ public PhotoReasons timeOfCapture(String timeOfCapture) { return this; } - /** + /** * Flags when evidence is found that the live photo was taken more than 24 hours before live photo upload. * @return timeOfCapture - **/ + */ @javax.annotation.Nullable public String getTimeOfCapture() { return timeOfCapture; @@ -136,10 +135,10 @@ public PhotoReasons emulator(String emulator) { return this; } - /** + /** * Flags when evidence is found that an Android emulator was used. * @return emulator - **/ + */ @javax.annotation.Nullable public String getEmulator() { return emulator; @@ -155,10 +154,10 @@ public PhotoReasons reasons(String reasons) { return this; } - /** + /** * Additional comma separated details such as the exact digital tampering software used, or the name of the fake webcam. * @return reasons - **/ + */ @javax.annotation.Nullable public String getReasons() { return reasons; @@ -278,12 +277,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to PhotoReasons - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to PhotoReasons + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!PhotoReasons.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -380,22 +379,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of PhotoReasons given an JSON string - * - * @param jsonString JSON string - * @return An instance of PhotoReasons - * @throws IOException if the JSON string is invalid with respect to PhotoReasons - */ + /** + * Create an instance of PhotoReasons given an JSON string + * + * @param jsonString JSON string + * @return An instance of PhotoReasons + * @throws IOException if the JSON string is invalid with respect to PhotoReasons + */ public static PhotoReasons fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, PhotoReasons.class); } - /** - * Convert an instance of PhotoReasons to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of PhotoReasons to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ProofOfAddressBreakdown.java b/src/main/java/com/onfido/model/ProofOfAddressBreakdown.java index 8378ed52..26096f91 100644 --- a/src/main/java/com/onfido/model/ProofOfAddressBreakdown.java +++ b/src/main/java/com/onfido/model/ProofOfAddressBreakdown.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * ProofOfAddressBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ProofOfAddressBreakdown { public static final String SERIALIZED_NAME_DATA_COMPARISON = "data_comparison"; @SerializedName(SERIALIZED_NAME_DATA_COMPARISON) @@ -74,10 +73,10 @@ public ProofOfAddressBreakdown dataComparison(ProofOfAddressBreakdownDataCompari return this; } - /** + /** * Get dataComparison * @return dataComparison - **/ + */ @javax.annotation.Nullable public ProofOfAddressBreakdownDataComparison getDataComparison() { return dataComparison; @@ -93,10 +92,10 @@ public ProofOfAddressBreakdown documentClassification(ProofOfAddressBreakdownDoc return this; } - /** + /** * Get documentClassification * @return documentClassification - **/ + */ @javax.annotation.Nullable public ProofOfAddressBreakdownDocumentClassification getDocumentClassification() { return documentClassification; @@ -112,10 +111,10 @@ public ProofOfAddressBreakdown imageIntegrity(ProofOfAddressBreakdownImageIntegr return this; } - /** + /** * Get imageIntegrity * @return imageIntegrity - **/ + */ @javax.annotation.Nullable public ProofOfAddressBreakdownImageIntegrity getImageIntegrity() { return imageIntegrity; @@ -229,12 +228,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ProofOfAddressBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -328,22 +327,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ProofOfAddressBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProofOfAddressBreakdown - * @throws IOException if the JSON string is invalid with respect to ProofOfAddressBreakdown - */ + /** + * Create an instance of ProofOfAddressBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of ProofOfAddressBreakdown + * @throws IOException if the JSON string is invalid with respect to ProofOfAddressBreakdown + */ public static ProofOfAddressBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ProofOfAddressBreakdown.class); } - /** - * Convert an instance of ProofOfAddressBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ProofOfAddressBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ProofOfAddressBreakdownDataComparison.java b/src/main/java/com/onfido/model/ProofOfAddressBreakdownDataComparison.java index 90c94a9a..30a23036 100644 --- a/src/main/java/com/onfido/model/ProofOfAddressBreakdownDataComparison.java +++ b/src/main/java/com/onfido/model/ProofOfAddressBreakdownDataComparison.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the first name, last name and address provided by the applicant match those on the PoA document. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ProofOfAddressBreakdownDataComparison { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public ProofOfAddressBreakdownDataComparison result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public ProofOfAddressBreakdownDataComparison breakdown(ProofOfAddressBreakdownDa return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public ProofOfAddressBreakdownDataComparisonBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressBreakdownDataComparison - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressBreakdownDataComparison + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ProofOfAddressBreakdownDataComparison.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ProofOfAddressBreakdownDataComparison given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProofOfAddressBreakdownDataComparison - * @throws IOException if the JSON string is invalid with respect to ProofOfAddressBreakdownDataComparison - */ + /** + * Create an instance of ProofOfAddressBreakdownDataComparison given an JSON string + * + * @param jsonString JSON string + * @return An instance of ProofOfAddressBreakdownDataComparison + * @throws IOException if the JSON string is invalid with respect to ProofOfAddressBreakdownDataComparison + */ public static ProofOfAddressBreakdownDataComparison fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ProofOfAddressBreakdownDataComparison.class); } - /** - * Convert an instance of ProofOfAddressBreakdownDataComparison to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ProofOfAddressBreakdownDataComparison to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ProofOfAddressBreakdownDataComparisonBreakdown.java b/src/main/java/com/onfido/model/ProofOfAddressBreakdownDataComparisonBreakdown.java index da5fc7b2..ae9b67f0 100644 --- a/src/main/java/com/onfido/model/ProofOfAddressBreakdownDataComparisonBreakdown.java +++ b/src/main/java/com/onfido/model/ProofOfAddressBreakdownDataComparisonBreakdown.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * ProofOfAddressBreakdownDataComparisonBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ProofOfAddressBreakdownDataComparisonBreakdown { public static final String SERIALIZED_NAME_ADDRESS = "address"; @SerializedName(SERIALIZED_NAME_ADDRESS) @@ -72,10 +71,10 @@ public ProofOfAddressBreakdownDataComparisonBreakdown address(DocumentBreakdownD return this; } - /** + /** * Get address * @return address - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getAddress() { return address; @@ -91,10 +90,10 @@ public ProofOfAddressBreakdownDataComparisonBreakdown firstName(DocumentBreakdow return this; } - /** + /** * Get firstName * @return firstName - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getFirstName() { return firstName; @@ -110,10 +109,10 @@ public ProofOfAddressBreakdownDataComparisonBreakdown lastName(DocumentBreakdown return this; } - /** + /** * Get lastName * @return lastName - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getLastName() { return lastName; @@ -227,12 +226,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressBreakdownDataComparisonBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressBreakdownDataComparisonBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ProofOfAddressBreakdownDataComparisonBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -326,22 +325,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ProofOfAddressBreakdownDataComparisonBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProofOfAddressBreakdownDataComparisonBreakdown - * @throws IOException if the JSON string is invalid with respect to ProofOfAddressBreakdownDataComparisonBreakdown - */ + /** + * Create an instance of ProofOfAddressBreakdownDataComparisonBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of ProofOfAddressBreakdownDataComparisonBreakdown + * @throws IOException if the JSON string is invalid with respect to ProofOfAddressBreakdownDataComparisonBreakdown + */ public static ProofOfAddressBreakdownDataComparisonBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ProofOfAddressBreakdownDataComparisonBreakdown.class); } - /** - * Convert an instance of ProofOfAddressBreakdownDataComparisonBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ProofOfAddressBreakdownDataComparisonBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ProofOfAddressBreakdownDocumentClassification.java b/src/main/java/com/onfido/model/ProofOfAddressBreakdownDocumentClassification.java index 370a5350..b51f17e1 100644 --- a/src/main/java/com/onfido/model/ProofOfAddressBreakdownDocumentClassification.java +++ b/src/main/java/com/onfido/model/ProofOfAddressBreakdownDocumentClassification.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the document is of a valid type as PoA. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ProofOfAddressBreakdownDocumentClassification { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public ProofOfAddressBreakdownDocumentClassification result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public ProofOfAddressBreakdownDocumentClassification breakdown(ProofOfAddressBre return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public ProofOfAddressBreakdownDocumentClassificationBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressBreakdownDocumentClassification - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressBreakdownDocumentClassification + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ProofOfAddressBreakdownDocumentClassification.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ProofOfAddressBreakdownDocumentClassification given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProofOfAddressBreakdownDocumentClassification - * @throws IOException if the JSON string is invalid with respect to ProofOfAddressBreakdownDocumentClassification - */ + /** + * Create an instance of ProofOfAddressBreakdownDocumentClassification given an JSON string + * + * @param jsonString JSON string + * @return An instance of ProofOfAddressBreakdownDocumentClassification + * @throws IOException if the JSON string is invalid with respect to ProofOfAddressBreakdownDocumentClassification + */ public static ProofOfAddressBreakdownDocumentClassification fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ProofOfAddressBreakdownDocumentClassification.class); } - /** - * Convert an instance of ProofOfAddressBreakdownDocumentClassification to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ProofOfAddressBreakdownDocumentClassification to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ProofOfAddressBreakdownDocumentClassificationBreakdown.java b/src/main/java/com/onfido/model/ProofOfAddressBreakdownDocumentClassificationBreakdown.java index d5c00cee..707b5e46 100644 --- a/src/main/java/com/onfido/model/ProofOfAddressBreakdownDocumentClassificationBreakdown.java +++ b/src/main/java/com/onfido/model/ProofOfAddressBreakdownDocumentClassificationBreakdown.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * ProofOfAddressBreakdownDocumentClassificationBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ProofOfAddressBreakdownDocumentClassificationBreakdown { public static final String SERIALIZED_NAME_SUPPORTED_DOCUMENT = "supported_document"; @SerializedName(SERIALIZED_NAME_SUPPORTED_DOCUMENT) @@ -64,10 +63,10 @@ public ProofOfAddressBreakdownDocumentClassificationBreakdown supportedDocument( return this; } - /** + /** * Get supportedDocument * @return supportedDocument - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getSupportedDocument() { return supportedDocument; @@ -175,12 +174,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressBreakdownDocumentClassificationBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressBreakdownDocumentClassificationBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ProofOfAddressBreakdownDocumentClassificationBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -266,22 +265,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ProofOfAddressBreakdownDocumentClassificationBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProofOfAddressBreakdownDocumentClassificationBreakdown - * @throws IOException if the JSON string is invalid with respect to ProofOfAddressBreakdownDocumentClassificationBreakdown - */ + /** + * Create an instance of ProofOfAddressBreakdownDocumentClassificationBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of ProofOfAddressBreakdownDocumentClassificationBreakdown + * @throws IOException if the JSON string is invalid with respect to ProofOfAddressBreakdownDocumentClassificationBreakdown + */ public static ProofOfAddressBreakdownDocumentClassificationBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ProofOfAddressBreakdownDocumentClassificationBreakdown.class); } - /** - * Convert an instance of ProofOfAddressBreakdownDocumentClassificationBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ProofOfAddressBreakdownDocumentClassificationBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ProofOfAddressBreakdownImageIntegrity.java b/src/main/java/com/onfido/model/ProofOfAddressBreakdownImageIntegrity.java index 73a039c2..3a4da358 100644 --- a/src/main/java/com/onfido/model/ProofOfAddressBreakdownImageIntegrity.java +++ b/src/main/java/com/onfido/model/ProofOfAddressBreakdownImageIntegrity.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the quality of the uploaded document was sufficient to verify the address. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ProofOfAddressBreakdownImageIntegrity { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public ProofOfAddressBreakdownImageIntegrity result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public ProofOfAddressBreakdownImageIntegrity breakdown(ProofOfAddressBreakdownIm return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public ProofOfAddressBreakdownImageIntegrityBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressBreakdownImageIntegrity - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressBreakdownImageIntegrity + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ProofOfAddressBreakdownImageIntegrity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ProofOfAddressBreakdownImageIntegrity given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProofOfAddressBreakdownImageIntegrity - * @throws IOException if the JSON string is invalid with respect to ProofOfAddressBreakdownImageIntegrity - */ + /** + * Create an instance of ProofOfAddressBreakdownImageIntegrity given an JSON string + * + * @param jsonString JSON string + * @return An instance of ProofOfAddressBreakdownImageIntegrity + * @throws IOException if the JSON string is invalid with respect to ProofOfAddressBreakdownImageIntegrity + */ public static ProofOfAddressBreakdownImageIntegrity fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ProofOfAddressBreakdownImageIntegrity.class); } - /** - * Convert an instance of ProofOfAddressBreakdownImageIntegrity to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ProofOfAddressBreakdownImageIntegrity to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ProofOfAddressBreakdownImageIntegrityBreakdown.java b/src/main/java/com/onfido/model/ProofOfAddressBreakdownImageIntegrityBreakdown.java index bfc4b10e..c1b39564 100644 --- a/src/main/java/com/onfido/model/ProofOfAddressBreakdownImageIntegrityBreakdown.java +++ b/src/main/java/com/onfido/model/ProofOfAddressBreakdownImageIntegrityBreakdown.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * ProofOfAddressBreakdownImageIntegrityBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ProofOfAddressBreakdownImageIntegrityBreakdown { public static final String SERIALIZED_NAME_IMAGE_QUALITY = "image_quality"; @SerializedName(SERIALIZED_NAME_IMAGE_QUALITY) @@ -64,10 +63,10 @@ public ProofOfAddressBreakdownImageIntegrityBreakdown imageQuality(DocumentBreak return this; } - /** + /** * Get imageQuality * @return imageQuality - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getImageQuality() { return imageQuality; @@ -175,12 +174,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressBreakdownImageIntegrityBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressBreakdownImageIntegrityBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ProofOfAddressBreakdownImageIntegrityBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -266,22 +265,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ProofOfAddressBreakdownImageIntegrityBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProofOfAddressBreakdownImageIntegrityBreakdown - * @throws IOException if the JSON string is invalid with respect to ProofOfAddressBreakdownImageIntegrityBreakdown - */ + /** + * Create an instance of ProofOfAddressBreakdownImageIntegrityBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of ProofOfAddressBreakdownImageIntegrityBreakdown + * @throws IOException if the JSON string is invalid with respect to ProofOfAddressBreakdownImageIntegrityBreakdown + */ public static ProofOfAddressBreakdownImageIntegrityBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ProofOfAddressBreakdownImageIntegrityBreakdown.class); } - /** - * Convert an instance of ProofOfAddressBreakdownImageIntegrityBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ProofOfAddressBreakdownImageIntegrityBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ProofOfAddressProperties.java b/src/main/java/com/onfido/model/ProofOfAddressProperties.java index 865e626b..58e837a2 100644 --- a/src/main/java/com/onfido/model/ProofOfAddressProperties.java +++ b/src/main/java/com/onfido/model/ProofOfAddressProperties.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * ProofOfAddressProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ProofOfAddressProperties { public static final String SERIALIZED_NAME_ADDRESS = "address"; @SerializedName(SERIALIZED_NAME_ADDRESS) @@ -164,10 +163,10 @@ public ProofOfAddressProperties address(String address) { return this; } - /** + /** * This property provides the address on the document. * @return address - **/ + */ @javax.annotation.Nullable public String getAddress() { return address; @@ -183,10 +182,10 @@ public ProofOfAddressProperties documentType(DocumentTypeEnum documentType) { return this; } - /** + /** * This property provides the document type according to the set of supported documents. * @return documentType - **/ + */ @javax.annotation.Nullable public DocumentTypeEnum getDocumentType() { return documentType; @@ -202,10 +201,10 @@ public ProofOfAddressProperties firstNames(String firstNames) { return this; } - /** + /** * This property provides the first names on the document, including any initials and middle names. * @return firstNames - **/ + */ @javax.annotation.Nullable public String getFirstNames() { return firstNames; @@ -221,10 +220,10 @@ public ProofOfAddressProperties lastNames(String lastNames) { return this; } - /** + /** * This property provided the last names on the document. * @return lastNames - **/ + */ @javax.annotation.Nullable public String getLastNames() { return lastNames; @@ -240,10 +239,10 @@ public ProofOfAddressProperties issueDate(LocalDate issueDate) { return this; } - /** + /** * This property provides the issue date of the document. * @return issueDate - **/ + */ @javax.annotation.Nullable public LocalDate getIssueDate() { return issueDate; @@ -259,10 +258,10 @@ public ProofOfAddressProperties issuer(String issuer) { return this; } - /** + /** * This property provides the document issuer (e.g. HSBC, British Gas). * @return issuer - **/ + */ @javax.annotation.Nullable public String getIssuer() { return issuer; @@ -278,10 +277,10 @@ public ProofOfAddressProperties summaryPeriodStart(LocalDate summaryPeriodStart) return this; } - /** + /** * This property provides the summary period start date. * @return summaryPeriodStart - **/ + */ @javax.annotation.Nullable public LocalDate getSummaryPeriodStart() { return summaryPeriodStart; @@ -297,10 +296,10 @@ public ProofOfAddressProperties summaryPeriodEnd(LocalDate summaryPeriodEnd) { return this; } - /** + /** * This property provides the summary period end date. * @return summaryPeriodEnd - **/ + */ @javax.annotation.Nullable public LocalDate getSummaryPeriodEnd() { return summaryPeriodEnd; @@ -429,12 +428,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ProofOfAddressProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -535,22 +534,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ProofOfAddressProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProofOfAddressProperties - * @throws IOException if the JSON string is invalid with respect to ProofOfAddressProperties - */ + /** + * Create an instance of ProofOfAddressProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of ProofOfAddressProperties + * @throws IOException if the JSON string is invalid with respect to ProofOfAddressProperties + */ public static ProofOfAddressProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ProofOfAddressProperties.class); } - /** - * Convert an instance of ProofOfAddressProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ProofOfAddressProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ProofOfAddressReport.java b/src/main/java/com/onfido/model/ProofOfAddressReport.java index 3d433432..e8823c72 100644 --- a/src/main/java/com/onfido/model/ProofOfAddressReport.java +++ b/src/main/java/com/onfido/model/ProofOfAddressReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * ProofOfAddressReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ProofOfAddressReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public ProofOfAddressReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public ProofOfAddressReport createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public ProofOfAddressReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public ProofOfAddressReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public ProofOfAddressReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public ProofOfAddressReport subResult(ReportSubResult subResult) { return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public ProofOfAddressReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public ProofOfAddressReport addDocumentsItem(ReportDocument documentsItem) { return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public ProofOfAddressReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public ProofOfAddressReport breakdown(ProofOfAddressBreakdown breakdown) { return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public ProofOfAddressBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public ProofOfAddressReport properties(ProofOfAddressProperties properties) { return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public ProofOfAddressProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ProofOfAddressReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ProofOfAddressReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ProofOfAddressReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of ProofOfAddressReport - * @throws IOException if the JSON string is invalid with respect to ProofOfAddressReport - */ + /** + * Create an instance of ProofOfAddressReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of ProofOfAddressReport + * @throws IOException if the JSON string is invalid with respect to ProofOfAddressReport + */ public static ProofOfAddressReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ProofOfAddressReport.class); } - /** - * Convert an instance of ProofOfAddressReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ProofOfAddressReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/RepeatAttemptsList.java b/src/main/java/com/onfido/model/RepeatAttemptsList.java index 37f9f051..8bae0fcc 100644 --- a/src/main/java/com/onfido/model/RepeatAttemptsList.java +++ b/src/main/java/com/onfido/model/RepeatAttemptsList.java @@ -41,7 +41,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -53,7 +52,7 @@ /** * RepeatAttemptsList */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class RepeatAttemptsList { public static final String SERIALIZED_NAME_REPORT_ID = "report_id"; @SerializedName(SERIALIZED_NAME_REPORT_ID) @@ -83,10 +82,10 @@ public RepeatAttemptsList reportId(UUID reportId) { return this; } - /** + /** * The unique identifier of the completed Document report. * @return reportId - **/ + */ @javax.annotation.Nullable public UUID getReportId() { return reportId; @@ -110,10 +109,10 @@ public RepeatAttemptsList addRepeatAttemptsItem(RepeatAttemptsListRepeatAttempts return this; } - /** + /** * An array of repeat attempt objects. If no repeat attempts were found, the array will be empty. The number of objects returned can increase over time if more matches are received. * @return repeatAttempts - **/ + */ @javax.annotation.Nonnull public List getRepeatAttempts() { return repeatAttempts; @@ -129,10 +128,10 @@ public RepeatAttemptsList attemptsCount(Integer attemptsCount) { return this; } - /** + /** * The total number of attempts using the same document, including the current report under assessment. * @return attemptsCount - **/ + */ @javax.annotation.Nullable public Integer getAttemptsCount() { return attemptsCount; @@ -148,12 +147,12 @@ public RepeatAttemptsList attemptsClearRate(Float attemptsClearRate) { return this; } - /** + /** * A number between 0 and 1 which indicates the proportion of attempts that have been cleared, including the current report under assessment. * minimum: 0 * maximum: 1 * @return attemptsClearRate - **/ + */ @javax.annotation.Nullable public Float getAttemptsClearRate() { return attemptsClearRate; @@ -169,10 +168,10 @@ public RepeatAttemptsList uniqueMismatchesCount(Integer uniqueMismatchesCount) { return this; } - /** + /** * The number of unique entries in the repeat_attempts field for which at least one of the fields is a mismatch. * @return uniqueMismatchesCount - **/ + */ @javax.annotation.Nullable public Integer getUniqueMismatchesCount() { return uniqueMismatchesCount; @@ -293,12 +292,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("repeat_attempts"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to RepeatAttemptsList - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to RepeatAttemptsList + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!RepeatAttemptsList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -400,22 +399,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of RepeatAttemptsList given an JSON string - * - * @param jsonString JSON string - * @return An instance of RepeatAttemptsList - * @throws IOException if the JSON string is invalid with respect to RepeatAttemptsList - */ + /** + * Create an instance of RepeatAttemptsList given an JSON string + * + * @param jsonString JSON string + * @return An instance of RepeatAttemptsList + * @throws IOException if the JSON string is invalid with respect to RepeatAttemptsList + */ public static RepeatAttemptsList fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, RepeatAttemptsList.class); } - /** - * Convert an instance of RepeatAttemptsList to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of RepeatAttemptsList to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/RepeatAttemptsListRepeatAttemptsInner.java b/src/main/java/com/onfido/model/RepeatAttemptsListRepeatAttemptsInner.java index 27643356..8297a724 100644 --- a/src/main/java/com/onfido/model/RepeatAttemptsListRepeatAttemptsInner.java +++ b/src/main/java/com/onfido/model/RepeatAttemptsListRepeatAttemptsInner.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * RepeatAttemptsListRepeatAttemptsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class RepeatAttemptsListRepeatAttemptsInner { public static final String SERIALIZED_NAME_REPORT_ID = "report_id"; @SerializedName(SERIALIZED_NAME_REPORT_ID) @@ -251,10 +250,10 @@ public RepeatAttemptsListRepeatAttemptsInner reportId(UUID reportId) { return this; } - /** + /** * The unique identifier of the matching Document report. * @return reportId - **/ + */ @javax.annotation.Nullable public UUID getReportId() { return reportId; @@ -270,10 +269,10 @@ public RepeatAttemptsListRepeatAttemptsInner applicantId(UUID applicantId) { return this; } - /** + /** * The unique identifier of the applicant for the matching Document report. * @return applicantId - **/ + */ @javax.annotation.Nullable public UUID getApplicantId() { return applicantId; @@ -289,10 +288,10 @@ public RepeatAttemptsListRepeatAttemptsInner dateOfBirth(DateOfBirthEnum dateOfB return this; } - /** + /** * Whether the dates of birth are exactly the same or are different. * @return dateOfBirth - **/ + */ @javax.annotation.Nullable public DateOfBirthEnum getDateOfBirth() { return dateOfBirth; @@ -308,10 +307,10 @@ public RepeatAttemptsListRepeatAttemptsInner names(NamesEnum names) { return this; } - /** + /** * Whether the names are exactly the same or are different. * @return names - **/ + */ @javax.annotation.Nullable public NamesEnum getNames() { return names; @@ -327,10 +326,10 @@ public RepeatAttemptsListRepeatAttemptsInner result(ResultEnum result) { return this; } - /** + /** * The report result of this attempt. * @return result - **/ + */ @javax.annotation.Nullable public ResultEnum getResult() { return result; @@ -346,10 +345,10 @@ public RepeatAttemptsListRepeatAttemptsInner createdAt(OffsetDateTime createdAt) return this; } - /** + /** * When the matching report was created. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -365,10 +364,10 @@ public RepeatAttemptsListRepeatAttemptsInner completedAt(OffsetDateTime complete return this; } - /** + /** * When the matching report was completed. * @return completedAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCompletedAt() { return completedAt; @@ -494,12 +493,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to RepeatAttemptsListRepeatAttemptsInner - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to RepeatAttemptsListRepeatAttemptsInner + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!RepeatAttemptsListRepeatAttemptsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -608,22 +607,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of RepeatAttemptsListRepeatAttemptsInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of RepeatAttemptsListRepeatAttemptsInner - * @throws IOException if the JSON string is invalid with respect to RepeatAttemptsListRepeatAttemptsInner - */ + /** + * Create an instance of RepeatAttemptsListRepeatAttemptsInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of RepeatAttemptsListRepeatAttemptsInner + * @throws IOException if the JSON string is invalid with respect to RepeatAttemptsListRepeatAttemptsInner + */ public static RepeatAttemptsListRepeatAttemptsInner fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, RepeatAttemptsListRepeatAttemptsInner.class); } - /** - * Convert an instance of RepeatAttemptsListRepeatAttemptsInner to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of RepeatAttemptsListRepeatAttemptsInner to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/Report.java b/src/main/java/com/onfido/model/Report.java index 2df7f910..45a2a1d1 100644 --- a/src/main/java/com/onfido/model/Report.java +++ b/src/main/java/com/onfido/model/Report.java @@ -90,7 +90,7 @@ import com.onfido.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Report extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(Report.class.getName()); @@ -730,107 +730,7 @@ public Report() { super("oneOf", Boolean.FALSE); } - public Report(DeviceIntelligenceReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(DocumentReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(DocumentVideoReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(DocumentVideoWithAddressInformationReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(DocumentWithAddressInformationReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(DocumentWithDriverVerificationReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(DocumentWithDrivingLicenceInformationReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(FacialSimilarityMotionReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(FacialSimilarityPhotoFullyAutoReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(FacialSimilarityPhotoReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(FacialSimilarityVideoReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(IdentityEnhancedReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(IndiaPanReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(KnownFacesReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(ProofOfAddressReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(UsDrivingLicenceReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(WatchlistAmlReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(WatchlistEnhancedReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(WatchlistPepsOnlyReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(WatchlistSanctionsOnlyReport o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public Report(WatchlistStandardReport o) { + public Report(Object o) { super("oneOf", Boolean.FALSE); setActualInstance(o); } diff --git a/src/main/java/com/onfido/model/ReportDocument.java b/src/main/java/com/onfido/model/ReportDocument.java index 76c7e417..260196ea 100644 --- a/src/main/java/com/onfido/model/ReportDocument.java +++ b/src/main/java/com/onfido/model/ReportDocument.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * ReportDocument */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ReportDocument { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -64,10 +63,10 @@ public ReportDocument id(UUID id) { return this; } - /** + /** * ID of uploaded document to use. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -176,12 +175,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ReportDocument - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ReportDocument + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ReportDocument.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -273,22 +272,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ReportDocument given an JSON string - * - * @param jsonString JSON string - * @return An instance of ReportDocument - * @throws IOException if the JSON string is invalid with respect to ReportDocument - */ + /** + * Create an instance of ReportDocument given an JSON string + * + * @param jsonString JSON string + * @return An instance of ReportDocument + * @throws IOException if the JSON string is invalid with respect to ReportDocument + */ public static ReportDocument fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ReportDocument.class); } - /** - * Convert an instance of ReportDocument to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ReportDocument to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ReportShared.java b/src/main/java/com/onfido/model/ReportShared.java index cf5f81a5..d2dfe8f4 100644 --- a/src/main/java/com/onfido/model/ReportShared.java +++ b/src/main/java/com/onfido/model/ReportShared.java @@ -46,7 +46,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -58,7 +57,7 @@ /** * ReportShared */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ReportShared { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -104,10 +103,10 @@ public ReportShared id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -123,10 +122,10 @@ public ReportShared createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -142,10 +141,10 @@ public ReportShared href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -161,10 +160,10 @@ public ReportShared status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -180,10 +179,10 @@ public ReportShared result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -199,10 +198,10 @@ public ReportShared subResult(ReportSubResult subResult) { return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -218,10 +217,10 @@ public ReportShared checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -245,10 +244,10 @@ public ReportShared addDocumentsItem(ReportDocument documentsItem) { return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -264,10 +263,10 @@ public ReportShared name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -401,12 +400,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ReportShared - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ReportShared + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ReportShared.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -532,22 +531,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ReportShared given an JSON string - * - * @param jsonString JSON string - * @return An instance of ReportShared - * @throws IOException if the JSON string is invalid with respect to ReportShared - */ + /** + * Create an instance of ReportShared given an JSON string + * + * @param jsonString JSON string + * @return An instance of ReportShared + * @throws IOException if the JSON string is invalid with respect to ReportShared + */ public static ReportShared fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ReportShared.class); } - /** - * Convert an instance of ReportShared to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ReportShared to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ReportsList.java b/src/main/java/com/onfido/model/ReportsList.java index b8e6b3e8..6b7c6e44 100644 --- a/src/main/java/com/onfido/model/ReportsList.java +++ b/src/main/java/com/onfido/model/ReportsList.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * ReportsList */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ReportsList { public static final String SERIALIZED_NAME_REPORTS = "reports"; @SerializedName(SERIALIZED_NAME_REPORTS) @@ -74,10 +73,10 @@ public ReportsList addReportsItem(Report reportsItem) { return this; } - /** + /** * Get reports * @return reports - **/ + */ @javax.annotation.Nonnull public List getReports() { return reports; @@ -186,12 +185,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("reports"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ReportsList - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ReportsList + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ReportsList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ReportsList given an JSON string - * - * @param jsonString JSON string - * @return An instance of ReportsList - * @throws IOException if the JSON string is invalid with respect to ReportsList - */ + /** + * Create an instance of ReportsList given an JSON string + * + * @param jsonString JSON string + * @return An instance of ReportsList + * @throws IOException if the JSON string is invalid with respect to ReportsList + */ public static ReportsList fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ReportsList.class); } - /** - * Convert an instance of ReportsList to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ReportsList to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/ResultsFeedback.java b/src/main/java/com/onfido/model/ResultsFeedback.java index 4db359ed..f11239a6 100644 --- a/src/main/java/com/onfido/model/ResultsFeedback.java +++ b/src/main/java/com/onfido/model/ResultsFeedback.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * ResultsFeedback */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ResultsFeedback { /** * The expected result for the check or report. @@ -130,10 +129,10 @@ public ResultsFeedback expectedResult(ExpectedResultEnum expectedResult) { return this; } - /** + /** * The expected result for the check or report. * @return expectedResult - **/ + */ @javax.annotation.Nullable public ExpectedResultEnum getExpectedResult() { return expectedResult; @@ -149,10 +148,10 @@ public ResultsFeedback checkId(UUID checkId) { return this; } - /** + /** * The ID of the check (only if report_id is not provided). * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -168,10 +167,10 @@ public ResultsFeedback reportId(UUID reportId) { return this; } - /** + /** * The ID of the check (only if check_id is not provided). * @return reportId - **/ + */ @javax.annotation.Nullable public UUID getReportId() { return reportId; @@ -187,10 +186,10 @@ public ResultsFeedback feedbackNotes(String feedbackNotes) { return this; } - /** + /** * Any additional information or feedback. * @return feedbackNotes - **/ + */ @javax.annotation.Nullable public String getFeedbackNotes() { return feedbackNotes; @@ -307,12 +306,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ResultsFeedback - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ResultsFeedback + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ResultsFeedback.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -410,22 +409,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of ResultsFeedback given an JSON string - * - * @param jsonString JSON string - * @return An instance of ResultsFeedback - * @throws IOException if the JSON string is invalid with respect to ResultsFeedback - */ + /** + * Create an instance of ResultsFeedback given an JSON string + * + * @param jsonString JSON string + * @return An instance of ResultsFeedback + * @throws IOException if the JSON string is invalid with respect to ResultsFeedback + */ public static ResultsFeedback fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, ResultsFeedback.class); } - /** - * Convert an instance of ResultsFeedback to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of ResultsFeedback to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/SdkToken.java b/src/main/java/com/onfido/model/SdkToken.java index e0915769..96858875 100644 --- a/src/main/java/com/onfido/model/SdkToken.java +++ b/src/main/java/com/onfido/model/SdkToken.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * SdkToken */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class SdkToken { public static final String SERIALIZED_NAME_TOKEN = "token"; @SerializedName(SERIALIZED_NAME_TOKEN) @@ -63,10 +62,10 @@ public SdkToken token(String token) { return this; } - /** + /** * The generated SDK token * @return token - **/ + */ @javax.annotation.Nonnull public String getToken() { return token; @@ -175,12 +174,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("token"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to SdkToken - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to SdkToken + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!SdkToken.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -272,22 +271,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of SdkToken given an JSON string - * - * @param jsonString JSON string - * @return An instance of SdkToken - * @throws IOException if the JSON string is invalid with respect to SdkToken - */ + /** + * Create an instance of SdkToken given an JSON string + * + * @param jsonString JSON string + * @return An instance of SdkToken + * @throws IOException if the JSON string is invalid with respect to SdkToken + */ public static SdkToken fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, SdkToken.class); } - /** - * Convert an instance of SdkToken to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of SdkToken to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/SdkTokenBuilder.java b/src/main/java/com/onfido/model/SdkTokenBuilder.java index 723c6300..d64544ca 100644 --- a/src/main/java/com/onfido/model/SdkTokenBuilder.java +++ b/src/main/java/com/onfido/model/SdkTokenBuilder.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * SdkTokenBuilder */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class SdkTokenBuilder { public static final String SERIALIZED_NAME_APPLICANT_ID = "applicant_id"; @SerializedName(SERIALIZED_NAME_APPLICANT_ID) @@ -76,10 +75,10 @@ public SdkTokenBuilder applicantId(UUID applicantId) { return this; } - /** + /** * The unique identifier of the applicant * @return applicantId - **/ + */ @javax.annotation.Nonnull public UUID getApplicantId() { return applicantId; @@ -95,10 +94,10 @@ public SdkTokenBuilder referrer(String referrer) { return this; } - /** + /** * The referrer URL pattern * @return referrer - **/ + */ @javax.annotation.Nullable public String getReferrer() { return referrer; @@ -114,10 +113,10 @@ public SdkTokenBuilder applicationId(String applicationId) { return this; } - /** + /** * The application ID (iOS or Android) * @return applicationId - **/ + */ @javax.annotation.Nullable public String getApplicationId() { return applicationId; @@ -133,10 +132,10 @@ public SdkTokenBuilder crossDeviceUrl(String crossDeviceUrl) { return this; } - /** + /** * The URL to be used by the Web SDK for the cross device flow. * @return crossDeviceUrl - **/ + */ @javax.annotation.Nullable public String getCrossDeviceUrl() { return crossDeviceUrl; @@ -254,12 +253,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("applicant_id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to SdkTokenBuilder - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to SdkTokenBuilder + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!SdkTokenBuilder.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -360,22 +359,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of SdkTokenBuilder given an JSON string - * - * @param jsonString JSON string - * @return An instance of SdkTokenBuilder - * @throws IOException if the JSON string is invalid with respect to SdkTokenBuilder - */ + /** + * Create an instance of SdkTokenBuilder given an JSON string + * + * @param jsonString JSON string + * @return An instance of SdkTokenBuilder + * @throws IOException if the JSON string is invalid with respect to SdkTokenBuilder + */ public static SdkTokenBuilder fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, SdkTokenBuilder.class); } - /** - * Convert an instance of SdkTokenBuilder to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of SdkTokenBuilder to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/SdkTokenRequest.java b/src/main/java/com/onfido/model/SdkTokenRequest.java index 182a403c..a2d03bad 100644 --- a/src/main/java/com/onfido/model/SdkTokenRequest.java +++ b/src/main/java/com/onfido/model/SdkTokenRequest.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * SdkTokenRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class SdkTokenRequest { public static final String SERIALIZED_NAME_APPLICANT_ID = "applicant_id"; @SerializedName(SERIALIZED_NAME_APPLICANT_ID) @@ -76,10 +75,10 @@ public SdkTokenRequest applicantId(UUID applicantId) { return this; } - /** + /** * The unique identifier of the applicant * @return applicantId - **/ + */ @javax.annotation.Nonnull public UUID getApplicantId() { return applicantId; @@ -95,10 +94,10 @@ public SdkTokenRequest referrer(String referrer) { return this; } - /** + /** * The referrer URL pattern * @return referrer - **/ + */ @javax.annotation.Nullable public String getReferrer() { return referrer; @@ -114,10 +113,10 @@ public SdkTokenRequest applicationId(String applicationId) { return this; } - /** + /** * The application ID (iOS or Android) * @return applicationId - **/ + */ @javax.annotation.Nullable public String getApplicationId() { return applicationId; @@ -133,10 +132,10 @@ public SdkTokenRequest crossDeviceUrl(String crossDeviceUrl) { return this; } - /** + /** * The URL to be used by the Web SDK for the cross device flow. * @return crossDeviceUrl - **/ + */ @javax.annotation.Nullable public String getCrossDeviceUrl() { return crossDeviceUrl; @@ -254,12 +253,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("applicant_id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to SdkTokenRequest - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to SdkTokenRequest + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!SdkTokenRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -360,22 +359,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of SdkTokenRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of SdkTokenRequest - * @throws IOException if the JSON string is invalid with respect to SdkTokenRequest - */ + /** + * Create an instance of SdkTokenRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of SdkTokenRequest + * @throws IOException if the JSON string is invalid with respect to SdkTokenRequest + */ public static SdkTokenRequest fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, SdkTokenRequest.class); } - /** - * Convert an instance of SdkTokenRequest to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of SdkTokenRequest to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/SdkTokenResponse.java b/src/main/java/com/onfido/model/SdkTokenResponse.java index 468e57fb..a64fc00f 100644 --- a/src/main/java/com/onfido/model/SdkTokenResponse.java +++ b/src/main/java/com/onfido/model/SdkTokenResponse.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * SdkTokenResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class SdkTokenResponse { public static final String SERIALIZED_NAME_TOKEN = "token"; @SerializedName(SERIALIZED_NAME_TOKEN) @@ -63,10 +62,10 @@ public SdkTokenResponse token(String token) { return this; } - /** + /** * The generated SDK token * @return token - **/ + */ @javax.annotation.Nonnull public String getToken() { return token; @@ -175,12 +174,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("token"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to SdkTokenResponse - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to SdkTokenResponse + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!SdkTokenResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -272,22 +271,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of SdkTokenResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of SdkTokenResponse - * @throws IOException if the JSON string is invalid with respect to SdkTokenResponse - */ + /** + * Create an instance of SdkTokenResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of SdkTokenResponse + * @throws IOException if the JSON string is invalid with respect to SdkTokenResponse + */ public static SdkTokenResponse fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, SdkTokenResponse.class); } - /** - * Convert an instance of SdkTokenResponse to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of SdkTokenResponse to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/Task.java b/src/main/java/com/onfido/model/Task.java index 40d89033..08db77de 100644 --- a/src/main/java/com/onfido/model/Task.java +++ b/src/main/java/com/onfido/model/Task.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * Task */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Task { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -94,10 +93,10 @@ public Task id(String id) { return this; } - /** + /** * The identifier for the Task. * @return id - **/ + */ @javax.annotation.Nullable public String getId() { return id; @@ -113,10 +112,10 @@ public Task workflowRunId(UUID workflowRunId) { return this; } - /** + /** * The workflow run id the task belongs to. * @return workflowRunId - **/ + */ @javax.annotation.Nullable public UUID getWorkflowRunId() { return workflowRunId; @@ -132,10 +131,10 @@ public Task taskDefId(String taskDefId) { return this; } - /** + /** * The identifier for the Task Definition. * @return taskDefId - **/ + */ @javax.annotation.Nullable public String getTaskDefId() { return taskDefId; @@ -151,10 +150,10 @@ public Task taskDefVersion(String taskDefVersion) { return this; } - /** + /** * The task definition version. * @return taskDefVersion - **/ + */ @javax.annotation.Nullable public String getTaskDefVersion() { return taskDefVersion; @@ -170,10 +169,10 @@ public Task input(Object input) { return this; } - /** + /** * Input object with the fields used by the Task to execute. * @return input - **/ + */ @javax.annotation.Nullable public Object getInput() { return input; @@ -189,10 +188,10 @@ public Task output(Object output) { return this; } - /** + /** * Output object with the fields produced by the Task execution. * @return output - **/ + */ @javax.annotation.Nullable public Object getOutput() { return output; @@ -208,10 +207,10 @@ public Task createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time when the Task was created. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -227,10 +226,10 @@ public Task updatedAt(OffsetDateTime updatedAt) { return this; } - /** + /** * The date and time when the Task was last updated. * @return updatedAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getUpdatedAt() { return updatedAt; @@ -370,12 +369,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to Task - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to Task + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Task.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -469,22 +468,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of Task given an JSON string - * - * @param jsonString JSON string - * @return An instance of Task - * @throws IOException if the JSON string is invalid with respect to Task - */ + /** + * Create an instance of Task given an JSON string + * + * @param jsonString JSON string + * @return An instance of Task + * @throws IOException if the JSON string is invalid with respect to Task + */ public static Task fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, Task.class); } - /** - * Convert an instance of Task to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of Task to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/TaskItem.java b/src/main/java/com/onfido/model/TaskItem.java index efc31222..f06db1a0 100644 --- a/src/main/java/com/onfido/model/TaskItem.java +++ b/src/main/java/com/onfido/model/TaskItem.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * TaskItem */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class TaskItem { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -86,10 +85,10 @@ public TaskItem id(String id) { return this; } - /** + /** * The identifier for the Task. * @return id - **/ + */ @javax.annotation.Nullable public String getId() { return id; @@ -105,10 +104,10 @@ public TaskItem workflowRunId(UUID workflowRunId) { return this; } - /** + /** * The workflow run id the task belongs to. * @return workflowRunId - **/ + */ @javax.annotation.Nullable public UUID getWorkflowRunId() { return workflowRunId; @@ -124,10 +123,10 @@ public TaskItem taskDefId(String taskDefId) { return this; } - /** + /** * The identifier for the Task Definition. * @return taskDefId - **/ + */ @javax.annotation.Nullable public String getTaskDefId() { return taskDefId; @@ -143,10 +142,10 @@ public TaskItem taskDefVersion(String taskDefVersion) { return this; } - /** + /** * The task definition version. * @return taskDefVersion - **/ + */ @javax.annotation.Nullable public String getTaskDefVersion() { return taskDefVersion; @@ -162,10 +161,10 @@ public TaskItem createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time when the Task was created. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -181,10 +180,10 @@ public TaskItem updatedAt(OffsetDateTime updatedAt) { return this; } - /** + /** * The date and time when the Task was last updated. * @return updatedAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getUpdatedAt() { return updatedAt; @@ -318,12 +317,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to TaskItem - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to TaskItem + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!TaskItem.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -417,22 +416,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of TaskItem given an JSON string - * - * @param jsonString JSON string - * @return An instance of TaskItem - * @throws IOException if the JSON string is invalid with respect to TaskItem - */ + /** + * Create an instance of TaskItem given an JSON string + * + * @param jsonString JSON string + * @return An instance of TaskItem + * @throws IOException if the JSON string is invalid with respect to TaskItem + */ public static TaskItem fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, TaskItem.class); } - /** - * Convert an instance of TaskItem to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of TaskItem to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/TimelineFileReference.java b/src/main/java/com/onfido/model/TimelineFileReference.java index 3739e395..af9a67b5 100644 --- a/src/main/java/com/onfido/model/TimelineFileReference.java +++ b/src/main/java/com/onfido/model/TimelineFileReference.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * TimelineFileReference */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class TimelineFileReference { public static final String SERIALIZED_NAME_WORKFLOW_TIMELINE_FILE_ID = "workflow_timeline_file_id"; @SerializedName(SERIALIZED_NAME_WORKFLOW_TIMELINE_FILE_ID) @@ -68,10 +67,10 @@ public TimelineFileReference workflowTimelineFileId(UUID workflowTimelineFileId) return this; } - /** + /** * The unique identifier for the Timefile File that will be created. * @return workflowTimelineFileId - **/ + */ @javax.annotation.Nonnull public UUID getWorkflowTimelineFileId() { return workflowTimelineFileId; @@ -87,10 +86,10 @@ public TimelineFileReference href(String href) { return this; } - /** + /** * Link to access the Timefile File that will be created. * @return href - **/ + */ @javax.annotation.Nonnull public String getHref() { return href; @@ -203,12 +202,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("href"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to TimelineFileReference - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to TimelineFileReference + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!TimelineFileReference.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -303,22 +302,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of TimelineFileReference given an JSON string - * - * @param jsonString JSON string - * @return An instance of TimelineFileReference - * @throws IOException if the JSON string is invalid with respect to TimelineFileReference - */ + /** + * Create an instance of TimelineFileReference given an JSON string + * + * @param jsonString JSON string + * @return An instance of TimelineFileReference + * @throws IOException if the JSON string is invalid with respect to TimelineFileReference + */ public static TimelineFileReference fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, TimelineFileReference.class); } - /** - * Convert an instance of TimelineFileReference to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of TimelineFileReference to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/UsDrivingLicenceBreakdown.java b/src/main/java/com/onfido/model/UsDrivingLicenceBreakdown.java index 792e6369..5b6855ef 100644 --- a/src/main/java/com/onfido/model/UsDrivingLicenceBreakdown.java +++ b/src/main/java/com/onfido/model/UsDrivingLicenceBreakdown.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * UsDrivingLicenceBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class UsDrivingLicenceBreakdown { public static final String SERIALIZED_NAME_DOCUMENT = "document"; @SerializedName(SERIALIZED_NAME_DOCUMENT) @@ -74,10 +73,10 @@ public UsDrivingLicenceBreakdown document(UsDrivingLicenceBreakdownDocument docu return this; } - /** + /** * Get document * @return document - **/ + */ @javax.annotation.Nullable public UsDrivingLicenceBreakdownDocument getDocument() { return document; @@ -93,10 +92,10 @@ public UsDrivingLicenceBreakdown address(UsDrivingLicenceBreakdownAddress addres return this; } - /** + /** * Get address * @return address - **/ + */ @javax.annotation.Nullable public UsDrivingLicenceBreakdownAddress getAddress() { return address; @@ -112,10 +111,10 @@ public UsDrivingLicenceBreakdown personal(UsDrivingLicenceBreakdownPersonal pers return this; } - /** + /** * Get personal * @return personal - **/ + */ @javax.annotation.Nullable public UsDrivingLicenceBreakdownPersonal getPersonal() { return personal; @@ -229,12 +228,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!UsDrivingLicenceBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -328,22 +327,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of UsDrivingLicenceBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of UsDrivingLicenceBreakdown - * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceBreakdown - */ + /** + * Create an instance of UsDrivingLicenceBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of UsDrivingLicenceBreakdown + * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceBreakdown + */ public static UsDrivingLicenceBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, UsDrivingLicenceBreakdown.class); } - /** - * Convert an instance of UsDrivingLicenceBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of UsDrivingLicenceBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownAddress.java b/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownAddress.java index 8f8b43e8..14ad087e 100644 --- a/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownAddress.java +++ b/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownAddress.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the address data provided matches a real driving license in the DMV driver's license database. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class UsDrivingLicenceBreakdownAddress { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public UsDrivingLicenceBreakdownAddress result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public UsDrivingLicenceBreakdownAddress breakdown(UsDrivingLicenceBreakdownAddre return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public UsDrivingLicenceBreakdownAddressBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceBreakdownAddress - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceBreakdownAddress + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!UsDrivingLicenceBreakdownAddress.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of UsDrivingLicenceBreakdownAddress given an JSON string - * - * @param jsonString JSON string - * @return An instance of UsDrivingLicenceBreakdownAddress - * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceBreakdownAddress - */ + /** + * Create an instance of UsDrivingLicenceBreakdownAddress given an JSON string + * + * @param jsonString JSON string + * @return An instance of UsDrivingLicenceBreakdownAddress + * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceBreakdownAddress + */ public static UsDrivingLicenceBreakdownAddress fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, UsDrivingLicenceBreakdownAddress.class); } - /** - * Convert an instance of UsDrivingLicenceBreakdownAddress to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of UsDrivingLicenceBreakdownAddress to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownAddressBreakdown.java b/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownAddressBreakdown.java index ce0fe069..4421bd43 100644 --- a/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownAddressBreakdown.java +++ b/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownAddressBreakdown.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * UsDrivingLicenceBreakdownAddressBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class UsDrivingLicenceBreakdownAddressBreakdown { public static final String SERIALIZED_NAME_CITY = "city"; @SerializedName(SERIALIZED_NAME_CITY) @@ -84,10 +83,10 @@ public UsDrivingLicenceBreakdownAddressBreakdown city(DocumentBreakdownDataCompa return this; } - /** + /** * Get city * @return city - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getCity() { return city; @@ -103,10 +102,10 @@ public UsDrivingLicenceBreakdownAddressBreakdown line1(DocumentBreakdownDataComp return this; } - /** + /** * Get line1 * @return line1 - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getLine1() { return line1; @@ -122,10 +121,10 @@ public UsDrivingLicenceBreakdownAddressBreakdown line2(DocumentBreakdownDataComp return this; } - /** + /** * Get line2 * @return line2 - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getLine2() { return line2; @@ -141,10 +140,10 @@ public UsDrivingLicenceBreakdownAddressBreakdown stateCode(DocumentBreakdownData return this; } - /** + /** * Get stateCode * @return stateCode - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getStateCode() { return stateCode; @@ -160,10 +159,10 @@ public UsDrivingLicenceBreakdownAddressBreakdown zip4(DocumentBreakdownDataCompa return this; } - /** + /** * Get zip4 * @return zip4 - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getZip4() { return zip4; @@ -179,10 +178,10 @@ public UsDrivingLicenceBreakdownAddressBreakdown zip5(DocumentBreakdownDataCompa return this; } - /** + /** * Get zip5 * @return zip5 - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getZip5() { return zip5; @@ -305,12 +304,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceBreakdownAddressBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceBreakdownAddressBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!UsDrivingLicenceBreakdownAddressBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -416,22 +415,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of UsDrivingLicenceBreakdownAddressBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of UsDrivingLicenceBreakdownAddressBreakdown - * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceBreakdownAddressBreakdown - */ + /** + * Create an instance of UsDrivingLicenceBreakdownAddressBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of UsDrivingLicenceBreakdownAddressBreakdown + * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceBreakdownAddressBreakdown + */ public static UsDrivingLicenceBreakdownAddressBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, UsDrivingLicenceBreakdownAddressBreakdown.class); } - /** - * Convert an instance of UsDrivingLicenceBreakdownAddressBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of UsDrivingLicenceBreakdownAddressBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownDocument.java b/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownDocument.java index 3492bd45..39e92fcd 100644 --- a/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownDocument.java +++ b/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownDocument.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the document data provided matches a real driving license in the DMV driver's license database. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class UsDrivingLicenceBreakdownDocument { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public UsDrivingLicenceBreakdownDocument result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public UsDrivingLicenceBreakdownDocument breakdown(UsDrivingLicenceBreakdownDocu return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public UsDrivingLicenceBreakdownDocumentBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceBreakdownDocument - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceBreakdownDocument + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!UsDrivingLicenceBreakdownDocument.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of UsDrivingLicenceBreakdownDocument given an JSON string - * - * @param jsonString JSON string - * @return An instance of UsDrivingLicenceBreakdownDocument - * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceBreakdownDocument - */ + /** + * Create an instance of UsDrivingLicenceBreakdownDocument given an JSON string + * + * @param jsonString JSON string + * @return An instance of UsDrivingLicenceBreakdownDocument + * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceBreakdownDocument + */ public static UsDrivingLicenceBreakdownDocument fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, UsDrivingLicenceBreakdownDocument.class); } - /** - * Convert an instance of UsDrivingLicenceBreakdownDocument to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of UsDrivingLicenceBreakdownDocument to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownDocumentBreakdown.java b/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownDocumentBreakdown.java index ac122355..8e66fd75 100644 --- a/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownDocumentBreakdown.java +++ b/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownDocumentBreakdown.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * UsDrivingLicenceBreakdownDocumentBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class UsDrivingLicenceBreakdownDocumentBreakdown { public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) @@ -76,10 +75,10 @@ public UsDrivingLicenceBreakdownDocumentBreakdown category(DocumentBreakdownData return this; } - /** + /** * Get category * @return category - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getCategory() { return category; @@ -95,10 +94,10 @@ public UsDrivingLicenceBreakdownDocumentBreakdown expirationDate(DocumentBreakdo return this; } - /** + /** * Get expirationDate * @return expirationDate - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getExpirationDate() { return expirationDate; @@ -114,10 +113,10 @@ public UsDrivingLicenceBreakdownDocumentBreakdown issueDate(DocumentBreakdownDat return this; } - /** + /** * Get issueDate * @return issueDate - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getIssueDate() { return issueDate; @@ -133,10 +132,10 @@ public UsDrivingLicenceBreakdownDocumentBreakdown documentNumber(DocumentBreakdo return this; } - /** + /** * Get documentNumber * @return documentNumber - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getDocumentNumber() { return documentNumber; @@ -253,12 +252,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceBreakdownDocumentBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceBreakdownDocumentBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!UsDrivingLicenceBreakdownDocumentBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -356,22 +355,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of UsDrivingLicenceBreakdownDocumentBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of UsDrivingLicenceBreakdownDocumentBreakdown - * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceBreakdownDocumentBreakdown - */ + /** + * Create an instance of UsDrivingLicenceBreakdownDocumentBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of UsDrivingLicenceBreakdownDocumentBreakdown + * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceBreakdownDocumentBreakdown + */ public static UsDrivingLicenceBreakdownDocumentBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, UsDrivingLicenceBreakdownDocumentBreakdown.class); } - /** - * Convert an instance of UsDrivingLicenceBreakdownDocumentBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of UsDrivingLicenceBreakdownDocumentBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownPersonal.java b/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownPersonal.java index 906b1f27..359994bf 100644 --- a/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownPersonal.java +++ b/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownPersonal.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * Asserts whether the personal data provided matches a real driving license in the DMV driver's license database. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class UsDrivingLicenceBreakdownPersonal { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -68,10 +67,10 @@ public UsDrivingLicenceBreakdownPersonal result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -87,10 +86,10 @@ public UsDrivingLicenceBreakdownPersonal breakdown(UsDrivingLicenceBreakdownPers return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public UsDrivingLicenceBreakdownPersonalBreakdown getBreakdown() { return breakdown; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceBreakdownPersonal - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceBreakdownPersonal + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!UsDrivingLicenceBreakdownPersonal.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -295,22 +294,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of UsDrivingLicenceBreakdownPersonal given an JSON string - * - * @param jsonString JSON string - * @return An instance of UsDrivingLicenceBreakdownPersonal - * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceBreakdownPersonal - */ + /** + * Create an instance of UsDrivingLicenceBreakdownPersonal given an JSON string + * + * @param jsonString JSON string + * @return An instance of UsDrivingLicenceBreakdownPersonal + * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceBreakdownPersonal + */ public static UsDrivingLicenceBreakdownPersonal fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, UsDrivingLicenceBreakdownPersonal.class); } - /** - * Convert an instance of UsDrivingLicenceBreakdownPersonal to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of UsDrivingLicenceBreakdownPersonal to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownPersonalBreakdown.java b/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownPersonalBreakdown.java index 9ee1d8f6..f3b33556 100644 --- a/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownPersonalBreakdown.java +++ b/src/main/java/com/onfido/model/UsDrivingLicenceBreakdownPersonalBreakdown.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * UsDrivingLicenceBreakdownPersonalBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class UsDrivingLicenceBreakdownPersonalBreakdown { public static final String SERIALIZED_NAME_FIRST_NAME = "first_name"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) @@ -112,10 +111,10 @@ public UsDrivingLicenceBreakdownPersonalBreakdown firstName(DocumentBreakdownDat return this; } - /** + /** * Get firstName * @return firstName - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getFirstName() { return firstName; @@ -131,10 +130,10 @@ public UsDrivingLicenceBreakdownPersonalBreakdown nameSuffix(DocumentBreakdownDa return this; } - /** + /** * Get nameSuffix * @return nameSuffix - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getNameSuffix() { return nameSuffix; @@ -150,10 +149,10 @@ public UsDrivingLicenceBreakdownPersonalBreakdown height(DocumentBreakdownDataCo return this; } - /** + /** * Get height * @return height - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getHeight() { return height; @@ -169,10 +168,10 @@ public UsDrivingLicenceBreakdownPersonalBreakdown weight(DocumentBreakdownDataCo return this; } - /** + /** * Get weight * @return weight - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getWeight() { return weight; @@ -188,10 +187,10 @@ public UsDrivingLicenceBreakdownPersonalBreakdown sexCode(DocumentBreakdownDataC return this; } - /** + /** * Get sexCode * @return sexCode - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getSexCode() { return sexCode; @@ -207,10 +206,10 @@ public UsDrivingLicenceBreakdownPersonalBreakdown eyeColor(DocumentBreakdownData return this; } - /** + /** * Get eyeColor * @return eyeColor - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getEyeColor() { return eyeColor; @@ -226,10 +225,10 @@ public UsDrivingLicenceBreakdownPersonalBreakdown dateOfBirth(DocumentBreakdownD return this; } - /** + /** * Get dateOfBirth * @return dateOfBirth - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getDateOfBirth() { return dateOfBirth; @@ -245,10 +244,10 @@ public UsDrivingLicenceBreakdownPersonalBreakdown lastName(DocumentBreakdownData return this; } - /** + /** * Get lastName * @return lastName - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getLastName() { return lastName; @@ -264,10 +263,10 @@ public UsDrivingLicenceBreakdownPersonalBreakdown middleName(DocumentBreakdownDa return this; } - /** + /** * Get middleName * @return middleName - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getMiddleName() { return middleName; @@ -283,10 +282,10 @@ public UsDrivingLicenceBreakdownPersonalBreakdown firstNameFuzzy(DocumentBreakdo return this; } - /** + /** * Get firstNameFuzzy * @return firstNameFuzzy - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getFirstNameFuzzy() { return firstNameFuzzy; @@ -302,10 +301,10 @@ public UsDrivingLicenceBreakdownPersonalBreakdown middleNameFuzzy(DocumentBreakd return this; } - /** + /** * Get middleNameFuzzy * @return middleNameFuzzy - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getMiddleNameFuzzy() { return middleNameFuzzy; @@ -321,10 +320,10 @@ public UsDrivingLicenceBreakdownPersonalBreakdown lastNameFuzzy(DocumentBreakdow return this; } - /** + /** * Get lastNameFuzzy * @return lastNameFuzzy - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getLastNameFuzzy() { return lastNameFuzzy; @@ -340,10 +339,10 @@ public UsDrivingLicenceBreakdownPersonalBreakdown middleInitial(DocumentBreakdow return this; } - /** + /** * Get middleInitial * @return middleInitial - **/ + */ @javax.annotation.Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getMiddleInitial() { return middleInitial; @@ -487,12 +486,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceBreakdownPersonalBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceBreakdownPersonalBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!UsDrivingLicenceBreakdownPersonalBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -626,22 +625,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of UsDrivingLicenceBreakdownPersonalBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of UsDrivingLicenceBreakdownPersonalBreakdown - * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceBreakdownPersonalBreakdown - */ + /** + * Create an instance of UsDrivingLicenceBreakdownPersonalBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of UsDrivingLicenceBreakdownPersonalBreakdown + * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceBreakdownPersonalBreakdown + */ public static UsDrivingLicenceBreakdownPersonalBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, UsDrivingLicenceBreakdownPersonalBreakdown.class); } - /** - * Convert an instance of UsDrivingLicenceBreakdownPersonalBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of UsDrivingLicenceBreakdownPersonalBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/UsDrivingLicenceBuilder.java b/src/main/java/com/onfido/model/UsDrivingLicenceBuilder.java index dbf527f0..8382e700 100644 --- a/src/main/java/com/onfido/model/UsDrivingLicenceBuilder.java +++ b/src/main/java/com/onfido/model/UsDrivingLicenceBuilder.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * UsDrivingLicenceBuilder */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class UsDrivingLicenceBuilder { public static final String SERIALIZED_NAME_ID_NUMBER = "id_number"; @SerializedName(SERIALIZED_NAME_ID_NUMBER) @@ -317,10 +316,10 @@ public UsDrivingLicenceBuilder idNumber(String idNumber) { return this; } - /** + /** * Driving licence ID number * @return idNumber - **/ + */ @javax.annotation.Nonnull public String getIdNumber() { return idNumber; @@ -336,10 +335,10 @@ public UsDrivingLicenceBuilder issueState(String issueState) { return this; } - /** + /** * Two letter code of issuing state (state-issued driving licenses only) * @return issueState - **/ + */ @javax.annotation.Nonnull public String getIssueState() { return issueState; @@ -355,10 +354,10 @@ public UsDrivingLicenceBuilder addressLine1(String addressLine1) { return this; } - /** + /** * Line 1 of the address * @return addressLine1 - **/ + */ @javax.annotation.Nullable public String getAddressLine1() { return addressLine1; @@ -374,10 +373,10 @@ public UsDrivingLicenceBuilder addressLine2(String addressLine2) { return this; } - /** + /** * Line 2 of the address * @return addressLine2 - **/ + */ @javax.annotation.Nullable public String getAddressLine2() { return addressLine2; @@ -393,10 +392,10 @@ public UsDrivingLicenceBuilder city(String city) { return this; } - /** + /** * The city of the owner's address * @return city - **/ + */ @javax.annotation.Nullable public String getCity() { return city; @@ -412,10 +411,10 @@ public UsDrivingLicenceBuilder dateOfBirth(LocalDate dateOfBirth) { return this; } - /** + /** * Date of birth in yyyy-mm-dd format * @return dateOfBirth - **/ + */ @javax.annotation.Nullable public LocalDate getDateOfBirth() { return dateOfBirth; @@ -431,10 +430,10 @@ public UsDrivingLicenceBuilder documentCategory(DocumentCategoryEnum documentCat return this; } - /** + /** * Document category. * @return documentCategory - **/ + */ @javax.annotation.Nullable public DocumentCategoryEnum getDocumentCategory() { return documentCategory; @@ -450,10 +449,10 @@ public UsDrivingLicenceBuilder expirationDate(LocalDate expirationDate) { return this; } - /** + /** * Expiration date of the driving licence in yyyy-mm-dd format * @return expirationDate - **/ + */ @javax.annotation.Nullable public LocalDate getExpirationDate() { return expirationDate; @@ -469,10 +468,10 @@ public UsDrivingLicenceBuilder eyeColorCode(EyeColorCodeEnum eyeColorCode) { return this; } - /** + /** * Eye color code. * @return eyeColorCode - **/ + */ @javax.annotation.Nullable public EyeColorCodeEnum getEyeColorCode() { return eyeColorCode; @@ -488,10 +487,10 @@ public UsDrivingLicenceBuilder firstName(String firstName) { return this; } - /** + /** * The owner's first name * @return firstName - **/ + */ @javax.annotation.Nullable public String getFirstName() { return firstName; @@ -502,10 +501,10 @@ public void setFirstName(String firstName) { } - /** + /** * Get gender * @return gender - **/ + */ @javax.annotation.Nullable public GenderEnum getGender() { return gender; @@ -518,10 +517,10 @@ public UsDrivingLicenceBuilder issueDate(LocalDate issueDate) { return this; } - /** + /** * Issue date in yyyy-mm-dd format * @return issueDate - **/ + */ @javax.annotation.Nullable public LocalDate getIssueDate() { return issueDate; @@ -537,10 +536,10 @@ public UsDrivingLicenceBuilder lastName(String lastName) { return this; } - /** + /** * The owner's surname * @return lastName - **/ + */ @javax.annotation.Nullable public String getLastName() { return lastName; @@ -556,10 +555,10 @@ public UsDrivingLicenceBuilder middleName(String middleName) { return this; } - /** + /** * The owner's middle name * @return middleName - **/ + */ @javax.annotation.Nullable public String getMiddleName() { return middleName; @@ -575,10 +574,10 @@ public UsDrivingLicenceBuilder nameSuffix(String nameSuffix) { return this; } - /** + /** * The owner's name suffix * @return nameSuffix - **/ + */ @javax.annotation.Nullable public String getNameSuffix() { return nameSuffix; @@ -594,10 +593,10 @@ public UsDrivingLicenceBuilder postalCode(String postalCode) { return this; } - /** + /** * The postcode or ZIP of the owner's address * @return postalCode - **/ + */ @javax.annotation.Nullable public String getPostalCode() { return postalCode; @@ -613,10 +612,10 @@ public UsDrivingLicenceBuilder state(String state) { return this; } - /** + /** * 2-characters state code * @return state - **/ + */ @javax.annotation.Nullable public String getState() { return state; @@ -632,10 +631,10 @@ public UsDrivingLicenceBuilder weightMeasure(Integer weightMeasure) { return this; } - /** + /** * Weight in pounds * @return weightMeasure - **/ + */ @javax.annotation.Nullable public Integer getWeightMeasure() { return weightMeasure; @@ -796,12 +795,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("issue_state"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceBuilder - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceBuilder + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!UsDrivingLicenceBuilder.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -944,22 +943,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of UsDrivingLicenceBuilder given an JSON string - * - * @param jsonString JSON string - * @return An instance of UsDrivingLicenceBuilder - * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceBuilder - */ + /** + * Create an instance of UsDrivingLicenceBuilder given an JSON string + * + * @param jsonString JSON string + * @return An instance of UsDrivingLicenceBuilder + * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceBuilder + */ public static UsDrivingLicenceBuilder fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, UsDrivingLicenceBuilder.class); } - /** - * Convert an instance of UsDrivingLicenceBuilder to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of UsDrivingLicenceBuilder to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/UsDrivingLicenceReport.java b/src/main/java/com/onfido/model/UsDrivingLicenceReport.java index 82e8fa3d..69fddf0b 100644 --- a/src/main/java/com/onfido/model/UsDrivingLicenceReport.java +++ b/src/main/java/com/onfido/model/UsDrivingLicenceReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * UsDrivingLicenceReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class UsDrivingLicenceReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public UsDrivingLicenceReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public UsDrivingLicenceReport createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public UsDrivingLicenceReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public UsDrivingLicenceReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public UsDrivingLicenceReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public UsDrivingLicenceReport subResult(ReportSubResult subResult) { return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public UsDrivingLicenceReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public UsDrivingLicenceReport addDocumentsItem(ReportDocument documentsItem) { return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public UsDrivingLicenceReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public UsDrivingLicenceReport breakdown(UsDrivingLicenceBreakdown breakdown) { return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public UsDrivingLicenceBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public UsDrivingLicenceReport properties(DocumentProperties properties) { return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public DocumentProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!UsDrivingLicenceReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of UsDrivingLicenceReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of UsDrivingLicenceReport - * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceReport - */ + /** + * Create an instance of UsDrivingLicenceReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of UsDrivingLicenceReport + * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceReport + */ public static UsDrivingLicenceReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, UsDrivingLicenceReport.class); } - /** - * Convert an instance of UsDrivingLicenceReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of UsDrivingLicenceReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/UsDrivingLicenceShared.java b/src/main/java/com/onfido/model/UsDrivingLicenceShared.java index a0649a68..cb82ee6e 100644 --- a/src/main/java/com/onfido/model/UsDrivingLicenceShared.java +++ b/src/main/java/com/onfido/model/UsDrivingLicenceShared.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * An object that contains all accepted fields for the Driver's License Data Verification report. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class UsDrivingLicenceShared { public static final String SERIALIZED_NAME_ID_NUMBER = "id_number"; @SerializedName(SERIALIZED_NAME_ID_NUMBER) @@ -317,10 +316,10 @@ public UsDrivingLicenceShared idNumber(String idNumber) { return this; } - /** + /** * Driving licence ID number * @return idNumber - **/ + */ @javax.annotation.Nonnull public String getIdNumber() { return idNumber; @@ -336,10 +335,10 @@ public UsDrivingLicenceShared issueState(String issueState) { return this; } - /** + /** * Two letter code of issuing state (state-issued driving licenses only) * @return issueState - **/ + */ @javax.annotation.Nonnull public String getIssueState() { return issueState; @@ -355,10 +354,10 @@ public UsDrivingLicenceShared addressLine1(String addressLine1) { return this; } - /** + /** * Line 1 of the address * @return addressLine1 - **/ + */ @javax.annotation.Nullable public String getAddressLine1() { return addressLine1; @@ -374,10 +373,10 @@ public UsDrivingLicenceShared addressLine2(String addressLine2) { return this; } - /** + /** * Line 2 of the address * @return addressLine2 - **/ + */ @javax.annotation.Nullable public String getAddressLine2() { return addressLine2; @@ -393,10 +392,10 @@ public UsDrivingLicenceShared city(String city) { return this; } - /** + /** * The city of the owner's address * @return city - **/ + */ @javax.annotation.Nullable public String getCity() { return city; @@ -412,10 +411,10 @@ public UsDrivingLicenceShared dateOfBirth(LocalDate dateOfBirth) { return this; } - /** + /** * Date of birth in yyyy-mm-dd format * @return dateOfBirth - **/ + */ @javax.annotation.Nullable public LocalDate getDateOfBirth() { return dateOfBirth; @@ -431,10 +430,10 @@ public UsDrivingLicenceShared documentCategory(DocumentCategoryEnum documentCate return this; } - /** + /** * Document category. * @return documentCategory - **/ + */ @javax.annotation.Nullable public DocumentCategoryEnum getDocumentCategory() { return documentCategory; @@ -450,10 +449,10 @@ public UsDrivingLicenceShared expirationDate(LocalDate expirationDate) { return this; } - /** + /** * Expiration date of the driving licence in yyyy-mm-dd format * @return expirationDate - **/ + */ @javax.annotation.Nullable public LocalDate getExpirationDate() { return expirationDate; @@ -469,10 +468,10 @@ public UsDrivingLicenceShared eyeColorCode(EyeColorCodeEnum eyeColorCode) { return this; } - /** + /** * Eye color code. * @return eyeColorCode - **/ + */ @javax.annotation.Nullable public EyeColorCodeEnum getEyeColorCode() { return eyeColorCode; @@ -488,10 +487,10 @@ public UsDrivingLicenceShared firstName(String firstName) { return this; } - /** + /** * The owner's first name * @return firstName - **/ + */ @javax.annotation.Nullable public String getFirstName() { return firstName; @@ -502,10 +501,10 @@ public void setFirstName(String firstName) { } - /** + /** * Get gender * @return gender - **/ + */ @javax.annotation.Nullable public GenderEnum getGender() { return gender; @@ -518,10 +517,10 @@ public UsDrivingLicenceShared issueDate(LocalDate issueDate) { return this; } - /** + /** * Issue date in yyyy-mm-dd format * @return issueDate - **/ + */ @javax.annotation.Nullable public LocalDate getIssueDate() { return issueDate; @@ -537,10 +536,10 @@ public UsDrivingLicenceShared lastName(String lastName) { return this; } - /** + /** * The owner's surname * @return lastName - **/ + */ @javax.annotation.Nullable public String getLastName() { return lastName; @@ -556,10 +555,10 @@ public UsDrivingLicenceShared middleName(String middleName) { return this; } - /** + /** * The owner's middle name * @return middleName - **/ + */ @javax.annotation.Nullable public String getMiddleName() { return middleName; @@ -575,10 +574,10 @@ public UsDrivingLicenceShared nameSuffix(String nameSuffix) { return this; } - /** + /** * The owner's name suffix * @return nameSuffix - **/ + */ @javax.annotation.Nullable public String getNameSuffix() { return nameSuffix; @@ -594,10 +593,10 @@ public UsDrivingLicenceShared postalCode(String postalCode) { return this; } - /** + /** * The postcode or ZIP of the owner's address * @return postalCode - **/ + */ @javax.annotation.Nullable public String getPostalCode() { return postalCode; @@ -613,10 +612,10 @@ public UsDrivingLicenceShared state(String state) { return this; } - /** + /** * 2-characters state code * @return state - **/ + */ @javax.annotation.Nullable public String getState() { return state; @@ -632,10 +631,10 @@ public UsDrivingLicenceShared weightMeasure(Integer weightMeasure) { return this; } - /** + /** * Weight in pounds * @return weightMeasure - **/ + */ @javax.annotation.Nullable public Integer getWeightMeasure() { return weightMeasure; @@ -796,12 +795,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("issue_state"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceShared - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UsDrivingLicenceShared + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!UsDrivingLicenceShared.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -944,22 +943,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of UsDrivingLicenceShared given an JSON string - * - * @param jsonString JSON string - * @return An instance of UsDrivingLicenceShared - * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceShared - */ + /** + * Create an instance of UsDrivingLicenceShared given an JSON string + * + * @param jsonString JSON string + * @return An instance of UsDrivingLicenceShared + * @throws IOException if the JSON string is invalid with respect to UsDrivingLicenceShared + */ public static UsDrivingLicenceShared fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, UsDrivingLicenceShared.class); } - /** - * Convert an instance of UsDrivingLicenceShared to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of UsDrivingLicenceShared to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/VideoReasons.java b/src/main/java/com/onfido/model/VideoReasons.java index 7223e68e..c2cd3016 100644 --- a/src/main/java/com/onfido/model/VideoReasons.java +++ b/src/main/java/com/onfido/model/VideoReasons.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * VideoReasons */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class VideoReasons { public static final String SERIALIZED_NAME_FAKE_WEBCAM = "fake_webcam"; @SerializedName(SERIALIZED_NAME_FAKE_WEBCAM) @@ -75,10 +74,10 @@ public VideoReasons fakeWebcam(String fakeWebcam) { return this; } - /** + /** * Flags when evidence is found that a fake webcam was used. * @return fakeWebcam - **/ + */ @javax.annotation.Nullable public String getFakeWebcam() { return fakeWebcam; @@ -94,10 +93,10 @@ public VideoReasons challengeReuse(String challengeReuse) { return this; } - /** + /** * Flags when evidence is found that the video was uploaded in an attempt to circumvent the randomness of the speaking and head turn challenges * @return challengeReuse - **/ + */ @javax.annotation.Nullable public String getChallengeReuse() { return challengeReuse; @@ -113,10 +112,10 @@ public VideoReasons emulator(String emulator) { return this; } - /** + /** * Flags when evidence is found that an Android emulator was used. * @return emulator - **/ + */ @javax.annotation.Nullable public String getEmulator() { return emulator; @@ -132,10 +131,10 @@ public VideoReasons reasons(String reasons) { return this; } - /** + /** * Additional comma separated details such as the name of the fake webcam. * @return reasons - **/ + */ @javax.annotation.Nullable public String getReasons() { return reasons; @@ -252,12 +251,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to VideoReasons - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to VideoReasons + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!VideoReasons.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -351,22 +350,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of VideoReasons given an JSON string - * - * @param jsonString JSON string - * @return An instance of VideoReasons - * @throws IOException if the JSON string is invalid with respect to VideoReasons - */ + /** + * Create an instance of VideoReasons given an JSON string + * + * @param jsonString JSON string + * @return An instance of VideoReasons + * @throws IOException if the JSON string is invalid with respect to VideoReasons + */ public static VideoReasons fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, VideoReasons.class); } - /** - * Convert an instance of VideoReasons to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of VideoReasons to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistAmlBreakdown.java b/src/main/java/com/onfido/model/WatchlistAmlBreakdown.java index aa68d10f..f8d791a5 100644 --- a/src/main/java/com/onfido/model/WatchlistAmlBreakdown.java +++ b/src/main/java/com/onfido/model/WatchlistAmlBreakdown.java @@ -41,7 +41,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -53,7 +52,7 @@ /** * WatchlistAmlBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistAmlBreakdown { public static final String SERIALIZED_NAME_SANCTION = "sanction"; @SerializedName(SERIALIZED_NAME_SANCTION) @@ -79,10 +78,10 @@ public WatchlistAmlBreakdown sanction(WatchlistAmlBreakdownSanction sanction) { return this; } - /** + /** * Get sanction * @return sanction - **/ + */ @javax.annotation.Nullable public WatchlistAmlBreakdownSanction getSanction() { return sanction; @@ -98,10 +97,10 @@ public WatchlistAmlBreakdown politicallyExposedPerson(WatchlistAmlBreakdownPolit return this; } - /** + /** * Get politicallyExposedPerson * @return politicallyExposedPerson - **/ + */ @javax.annotation.Nullable public WatchlistAmlBreakdownPoliticallyExposedPerson getPoliticallyExposedPerson() { return politicallyExposedPerson; @@ -117,10 +116,10 @@ public WatchlistAmlBreakdown legalAndRegulatoryWarnings(WatchlistAmlBreakdownLeg return this; } - /** + /** * Get legalAndRegulatoryWarnings * @return legalAndRegulatoryWarnings - **/ + */ @javax.annotation.Nullable public WatchlistAmlBreakdownLegalAndRegulatoryWarnings getLegalAndRegulatoryWarnings() { return legalAndRegulatoryWarnings; @@ -136,10 +135,10 @@ public WatchlistAmlBreakdown adverseMedia(WatchlistAmlBreakdownAdverseMedia adve return this; } - /** + /** * Get adverseMedia * @return adverseMedia - **/ + */ @javax.annotation.Nullable public WatchlistAmlBreakdownAdverseMedia getAdverseMedia() { return adverseMedia; @@ -256,12 +255,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistAmlBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistAmlBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistAmlBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -359,22 +358,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistAmlBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistAmlBreakdown - * @throws IOException if the JSON string is invalid with respect to WatchlistAmlBreakdown - */ + /** + * Create an instance of WatchlistAmlBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistAmlBreakdown + * @throws IOException if the JSON string is invalid with respect to WatchlistAmlBreakdown + */ public static WatchlistAmlBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistAmlBreakdown.class); } - /** - * Convert an instance of WatchlistAmlBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistAmlBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistAmlBreakdownAdverseMedia.java b/src/main/java/com/onfido/model/WatchlistAmlBreakdownAdverseMedia.java index 10d92f83..5d716f44 100644 --- a/src/main/java/com/onfido/model/WatchlistAmlBreakdownAdverseMedia.java +++ b/src/main/java/com/onfido/model/WatchlistAmlBreakdownAdverseMedia.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Asserts if there are any records found of negative events reported by publicly and generally available media sources. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistAmlBreakdownAdverseMedia { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -63,10 +62,10 @@ public WatchlistAmlBreakdownAdverseMedia result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistAmlBreakdownAdverseMedia - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistAmlBreakdownAdverseMedia + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistAmlBreakdownAdverseMedia.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -264,22 +263,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistAmlBreakdownAdverseMedia given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistAmlBreakdownAdverseMedia - * @throws IOException if the JSON string is invalid with respect to WatchlistAmlBreakdownAdverseMedia - */ + /** + * Create an instance of WatchlistAmlBreakdownAdverseMedia given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistAmlBreakdownAdverseMedia + * @throws IOException if the JSON string is invalid with respect to WatchlistAmlBreakdownAdverseMedia + */ public static WatchlistAmlBreakdownAdverseMedia fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistAmlBreakdownAdverseMedia.class); } - /** - * Convert an instance of WatchlistAmlBreakdownAdverseMedia to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistAmlBreakdownAdverseMedia to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistAmlBreakdownLegalAndRegulatoryWarnings.java b/src/main/java/com/onfido/model/WatchlistAmlBreakdownLegalAndRegulatoryWarnings.java index 7331fe39..9378f7f4 100644 --- a/src/main/java/com/onfido/model/WatchlistAmlBreakdownLegalAndRegulatoryWarnings.java +++ b/src/main/java/com/onfido/model/WatchlistAmlBreakdownLegalAndRegulatoryWarnings.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Asserts if there are any records found in Law-Enforcement and Regulatory bodies Monitored Lists (including Terrorism, Money Laundering and Most Wanted lists). */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistAmlBreakdownLegalAndRegulatoryWarnings { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -63,10 +62,10 @@ public WatchlistAmlBreakdownLegalAndRegulatoryWarnings result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistAmlBreakdownLegalAndRegulatoryWarnings - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistAmlBreakdownLegalAndRegulatoryWarnings + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistAmlBreakdownLegalAndRegulatoryWarnings.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -264,22 +263,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistAmlBreakdownLegalAndRegulatoryWarnings given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistAmlBreakdownLegalAndRegulatoryWarnings - * @throws IOException if the JSON string is invalid with respect to WatchlistAmlBreakdownLegalAndRegulatoryWarnings - */ + /** + * Create an instance of WatchlistAmlBreakdownLegalAndRegulatoryWarnings given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistAmlBreakdownLegalAndRegulatoryWarnings + * @throws IOException if the JSON string is invalid with respect to WatchlistAmlBreakdownLegalAndRegulatoryWarnings + */ public static WatchlistAmlBreakdownLegalAndRegulatoryWarnings fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistAmlBreakdownLegalAndRegulatoryWarnings.class); } - /** - * Convert an instance of WatchlistAmlBreakdownLegalAndRegulatoryWarnings to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistAmlBreakdownLegalAndRegulatoryWarnings to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistAmlBreakdownPoliticallyExposedPerson.java b/src/main/java/com/onfido/model/WatchlistAmlBreakdownPoliticallyExposedPerson.java index b83bd18f..728697f4 100644 --- a/src/main/java/com/onfido/model/WatchlistAmlBreakdownPoliticallyExposedPerson.java +++ b/src/main/java/com/onfido/model/WatchlistAmlBreakdownPoliticallyExposedPerson.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Asserts if there are any records found in the proprietary database of Politically Exposed Persons sourced from government lists, websites and other media sources. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistAmlBreakdownPoliticallyExposedPerson { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -63,10 +62,10 @@ public WatchlistAmlBreakdownPoliticallyExposedPerson result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistAmlBreakdownPoliticallyExposedPerson - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistAmlBreakdownPoliticallyExposedPerson + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistAmlBreakdownPoliticallyExposedPerson.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -264,22 +263,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistAmlBreakdownPoliticallyExposedPerson given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistAmlBreakdownPoliticallyExposedPerson - * @throws IOException if the JSON string is invalid with respect to WatchlistAmlBreakdownPoliticallyExposedPerson - */ + /** + * Create an instance of WatchlistAmlBreakdownPoliticallyExposedPerson given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistAmlBreakdownPoliticallyExposedPerson + * @throws IOException if the JSON string is invalid with respect to WatchlistAmlBreakdownPoliticallyExposedPerson + */ public static WatchlistAmlBreakdownPoliticallyExposedPerson fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistAmlBreakdownPoliticallyExposedPerson.class); } - /** - * Convert an instance of WatchlistAmlBreakdownPoliticallyExposedPerson to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistAmlBreakdownPoliticallyExposedPerson to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistAmlBreakdownSanction.java b/src/main/java/com/onfido/model/WatchlistAmlBreakdownSanction.java index 7261f62b..e2195290 100644 --- a/src/main/java/com/onfido/model/WatchlistAmlBreakdownSanction.java +++ b/src/main/java/com/onfido/model/WatchlistAmlBreakdownSanction.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * Asserts if there are any records found in Government and International Organisations Sanctions Lists. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistAmlBreakdownSanction { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -63,10 +62,10 @@ public WatchlistAmlBreakdownSanction result(String result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public String getResult() { return result; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistAmlBreakdownSanction - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistAmlBreakdownSanction + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistAmlBreakdownSanction.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -264,22 +263,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistAmlBreakdownSanction given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistAmlBreakdownSanction - * @throws IOException if the JSON string is invalid with respect to WatchlistAmlBreakdownSanction - */ + /** + * Create an instance of WatchlistAmlBreakdownSanction given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistAmlBreakdownSanction + * @throws IOException if the JSON string is invalid with respect to WatchlistAmlBreakdownSanction + */ public static WatchlistAmlBreakdownSanction fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistAmlBreakdownSanction.class); } - /** - * Convert an instance of WatchlistAmlBreakdownSanction to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistAmlBreakdownSanction to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistAmlProperties.java b/src/main/java/com/onfido/model/WatchlistAmlProperties.java index 78fe7925..0242e400 100644 --- a/src/main/java/com/onfido/model/WatchlistAmlProperties.java +++ b/src/main/java/com/onfido/model/WatchlistAmlProperties.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * WatchlistAmlProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistAmlProperties { public static final String SERIALIZED_NAME_RECORDS = "records"; @Deprecated @@ -75,11 +74,11 @@ public WatchlistAmlProperties addRecordsItem(String recordsItem) { return this; } - /** + /** * Returns any matches including, but not limited to, name and date of birth of match, aliases and associates, and relevant events and sources. * @return records * @deprecated - **/ + */ @Deprecated @javax.annotation.Nullable public List getRecords() { @@ -189,12 +188,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistAmlProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistAmlProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistAmlProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -280,22 +279,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistAmlProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistAmlProperties - * @throws IOException if the JSON string is invalid with respect to WatchlistAmlProperties - */ + /** + * Create an instance of WatchlistAmlProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistAmlProperties + * @throws IOException if the JSON string is invalid with respect to WatchlistAmlProperties + */ public static WatchlistAmlProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistAmlProperties.class); } - /** - * Convert an instance of WatchlistAmlProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistAmlProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistAmlReport.java b/src/main/java/com/onfido/model/WatchlistAmlReport.java index 01038907..12ffe37b 100644 --- a/src/main/java/com/onfido/model/WatchlistAmlReport.java +++ b/src/main/java/com/onfido/model/WatchlistAmlReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * WatchlistAmlReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistAmlReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public WatchlistAmlReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public WatchlistAmlReport createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public WatchlistAmlReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public WatchlistAmlReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public WatchlistAmlReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public WatchlistAmlReport subResult(ReportSubResult subResult) { return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public WatchlistAmlReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public WatchlistAmlReport addDocumentsItem(ReportDocument documentsItem) { return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public WatchlistAmlReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public WatchlistAmlReport breakdown(WatchlistAmlBreakdown breakdown) { return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public WatchlistAmlBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public WatchlistAmlReport properties(WatchlistAmlProperties properties) { return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public WatchlistAmlProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistAmlReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistAmlReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistAmlReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistAmlReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistAmlReport - * @throws IOException if the JSON string is invalid with respect to WatchlistAmlReport - */ + /** + * Create an instance of WatchlistAmlReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistAmlReport + * @throws IOException if the JSON string is invalid with respect to WatchlistAmlReport + */ public static WatchlistAmlReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistAmlReport.class); } - /** - * Convert an instance of WatchlistAmlReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistAmlReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistEnhancedBreakdown.java b/src/main/java/com/onfido/model/WatchlistEnhancedBreakdown.java index 815dcfd5..9b339330 100644 --- a/src/main/java/com/onfido/model/WatchlistEnhancedBreakdown.java +++ b/src/main/java/com/onfido/model/WatchlistEnhancedBreakdown.java @@ -41,7 +41,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -53,7 +52,7 @@ /** * WatchlistEnhancedBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistEnhancedBreakdown { public static final String SERIALIZED_NAME_POLITICALLY_EXPOSED_PERSON = "politically_exposed_person"; @SerializedName(SERIALIZED_NAME_POLITICALLY_EXPOSED_PERSON) @@ -79,10 +78,10 @@ public WatchlistEnhancedBreakdown politicallyExposedPerson(WatchlistAmlBreakdown return this; } - /** + /** * Get politicallyExposedPerson * @return politicallyExposedPerson - **/ + */ @javax.annotation.Nullable public WatchlistAmlBreakdownPoliticallyExposedPerson getPoliticallyExposedPerson() { return politicallyExposedPerson; @@ -98,10 +97,10 @@ public WatchlistEnhancedBreakdown sanction(WatchlistAmlBreakdownSanction sanctio return this; } - /** + /** * Get sanction * @return sanction - **/ + */ @javax.annotation.Nullable public WatchlistAmlBreakdownSanction getSanction() { return sanction; @@ -117,10 +116,10 @@ public WatchlistEnhancedBreakdown adverseMedia(WatchlistAmlBreakdownAdverseMedia return this; } - /** + /** * Get adverseMedia * @return adverseMedia - **/ + */ @javax.annotation.Nullable public WatchlistAmlBreakdownAdverseMedia getAdverseMedia() { return adverseMedia; @@ -136,10 +135,10 @@ public WatchlistEnhancedBreakdown monitoredLists(WatchlistAmlBreakdownLegalAndRe return this; } - /** + /** * Get monitoredLists * @return monitoredLists - **/ + */ @javax.annotation.Nullable public WatchlistAmlBreakdownLegalAndRegulatoryWarnings getMonitoredLists() { return monitoredLists; @@ -256,12 +255,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistEnhancedBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -359,22 +358,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistEnhancedBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistEnhancedBreakdown - * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedBreakdown - */ + /** + * Create an instance of WatchlistEnhancedBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistEnhancedBreakdown + * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedBreakdown + */ public static WatchlistEnhancedBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistEnhancedBreakdown.class); } - /** - * Convert an instance of WatchlistEnhancedBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistEnhancedBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistEnhancedProperties.java b/src/main/java/com/onfido/model/WatchlistEnhancedProperties.java index 0149c3e8..7e6b2261 100644 --- a/src/main/java/com/onfido/model/WatchlistEnhancedProperties.java +++ b/src/main/java/com/onfido/model/WatchlistEnhancedProperties.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * WatchlistEnhancedProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistEnhancedProperties { public static final String SERIALIZED_NAME_RECORDS = "records"; @SerializedName(SERIALIZED_NAME_RECORDS) @@ -74,10 +73,10 @@ public WatchlistEnhancedProperties addRecordsItem(WatchlistEnhancedPropertiesRec return this; } - /** + /** * Returns any matches including, but not limited to, name and date of birth of match, aliases and associates, and relevant events and sources. * @return records - **/ + */ @javax.annotation.Nullable public List getRecords() { return records; @@ -185,12 +184,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistEnhancedProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -286,22 +285,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistEnhancedProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistEnhancedProperties - * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedProperties - */ + /** + * Create an instance of WatchlistEnhancedProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistEnhancedProperties + * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedProperties + */ public static WatchlistEnhancedProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistEnhancedProperties.class); } - /** - * Convert an instance of WatchlistEnhancedProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistEnhancedProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInner.java b/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInner.java index 5365c596..6b2e693c 100644 --- a/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInner.java +++ b/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInner.java @@ -45,7 +45,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -57,7 +56,7 @@ /** * WatchlistEnhancedPropertiesRecordsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistEnhancedPropertiesRecordsInner { public static final String SERIALIZED_NAME_ADDRESS = "address"; @SerializedName(SERIALIZED_NAME_ADDRESS) @@ -111,10 +110,10 @@ public WatchlistEnhancedPropertiesRecordsInner addAddressItem(WatchlistEnhancedP return this; } - /** + /** * All addresses on file. * @return address - **/ + */ @javax.annotation.Nullable public List getAddress() { return address; @@ -138,10 +137,10 @@ public WatchlistEnhancedPropertiesRecordsInner addAliasItem(WatchlistEnhancedPro return this; } - /** + /** * Any names that the person is also known as. * @return alias - **/ + */ @javax.annotation.Nullable public List getAlias() { return alias; @@ -165,10 +164,10 @@ public WatchlistEnhancedPropertiesRecordsInner addAssociateItem(WatchlistEnhance return this; } - /** + /** * Any linked persons, for example family relatives or business partners. * @return associate - **/ + */ @javax.annotation.Nullable public List getAssociate() { return associate; @@ -192,10 +191,10 @@ public WatchlistEnhancedPropertiesRecordsInner addAttributeItem(WatchlistEnhance return this; } - /** + /** * Information about the person, for example hair color or nationality. * @return attribute - **/ + */ @javax.annotation.Nullable public List getAttribute() { return attribute; @@ -219,10 +218,10 @@ public WatchlistEnhancedPropertiesRecordsInner addDateOfBirthItem(String dateOfB return this; } - /** + /** * All the date of births on file. * @return dateOfBirth - **/ + */ @javax.annotation.Nullable public List getDateOfBirth() { return dateOfBirth; @@ -246,10 +245,10 @@ public WatchlistEnhancedPropertiesRecordsInner addEventItem(WatchlistEnhancedPro return this; } - /** + /** * Information about events that have occurred to the person, for example deportation or arrest. * @return event - **/ + */ @javax.annotation.Nullable public List getEvent() { return event; @@ -265,10 +264,10 @@ public WatchlistEnhancedPropertiesRecordsInner fullName(String fullName) { return this; } - /** + /** * The name on file * @return fullName - **/ + */ @javax.annotation.Nullable public String getFullName() { return fullName; @@ -292,10 +291,10 @@ public WatchlistEnhancedPropertiesRecordsInner addPositionItem(String positionIt return this; } - /** + /** * The role, country and date of each position. * @return position - **/ + */ @javax.annotation.Nullable public List getPosition() { return position; @@ -319,10 +318,10 @@ public WatchlistEnhancedPropertiesRecordsInner addSourceItem(WatchlistEnhancedPr return this; } - /** + /** * Details about where the information was obtained. * @return source - **/ + */ @javax.annotation.Nullable public List getSource() { return source; @@ -454,12 +453,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedPropertiesRecordsInner - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedPropertiesRecordsInner + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistEnhancedPropertiesRecordsInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -636,22 +635,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistEnhancedPropertiesRecordsInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistEnhancedPropertiesRecordsInner - * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInner - */ + /** + * Create an instance of WatchlistEnhancedPropertiesRecordsInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistEnhancedPropertiesRecordsInner + * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInner + */ public static WatchlistEnhancedPropertiesRecordsInner fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistEnhancedPropertiesRecordsInner.class); } - /** - * Convert an instance of WatchlistEnhancedPropertiesRecordsInner to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistEnhancedPropertiesRecordsInner to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerAddressInner.java b/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerAddressInner.java index 54ec6e6f..49e9ccb0 100644 --- a/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerAddressInner.java +++ b/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerAddressInner.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * WatchlistEnhancedPropertiesRecordsInnerAddressInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistEnhancedPropertiesRecordsInnerAddressInner { public static final String SERIALIZED_NAME_ADDRESS_LINE1 = "address_line1"; @SerializedName(SERIALIZED_NAME_ADDRESS_LINE1) @@ -84,10 +83,10 @@ public WatchlistEnhancedPropertiesRecordsInnerAddressInner addressLine1(String a return this; } - /** + /** * Get addressLine1 * @return addressLine1 - **/ + */ @javax.annotation.Nullable public String getAddressLine1() { return addressLine1; @@ -103,10 +102,10 @@ public WatchlistEnhancedPropertiesRecordsInnerAddressInner country(CountryCodes return this; } - /** + /** * Get country * @return country - **/ + */ @javax.annotation.Nullable public CountryCodes getCountry() { return country; @@ -122,10 +121,10 @@ public WatchlistEnhancedPropertiesRecordsInnerAddressInner postalCode(String pos return this; } - /** + /** * Get postalCode * @return postalCode - **/ + */ @javax.annotation.Nullable public String getPostalCode() { return postalCode; @@ -141,10 +140,10 @@ public WatchlistEnhancedPropertiesRecordsInnerAddressInner stateProvince(String return this; } - /** + /** * Get stateProvince * @return stateProvince - **/ + */ @javax.annotation.Nullable public String getStateProvince() { return stateProvince; @@ -160,10 +159,10 @@ public WatchlistEnhancedPropertiesRecordsInnerAddressInner town(String town) { return this; } - /** + /** * Get town * @return town - **/ + */ @javax.annotation.Nullable public String getTown() { return town; @@ -179,10 +178,10 @@ public WatchlistEnhancedPropertiesRecordsInnerAddressInner locatorType(String lo return this; } - /** + /** * Get locatorType * @return locatorType - **/ + */ @javax.annotation.Nullable public String getLocatorType() { return locatorType; @@ -305,12 +304,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAddressInner - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAddressInner + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistEnhancedPropertiesRecordsInnerAddressInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -411,22 +410,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistEnhancedPropertiesRecordsInnerAddressInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistEnhancedPropertiesRecordsInnerAddressInner - * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAddressInner - */ + /** + * Create an instance of WatchlistEnhancedPropertiesRecordsInnerAddressInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistEnhancedPropertiesRecordsInnerAddressInner + * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAddressInner + */ public static WatchlistEnhancedPropertiesRecordsInnerAddressInner fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistEnhancedPropertiesRecordsInnerAddressInner.class); } - /** - * Convert an instance of WatchlistEnhancedPropertiesRecordsInnerAddressInner to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistEnhancedPropertiesRecordsInnerAddressInner to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerAliasInner.java b/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerAliasInner.java index c4eaf5e3..22439f3b 100644 --- a/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerAliasInner.java +++ b/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerAliasInner.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * WatchlistEnhancedPropertiesRecordsInnerAliasInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistEnhancedPropertiesRecordsInnerAliasInner { public static final String SERIALIZED_NAME_ALIAS_NAME = "alias_name"; @SerializedName(SERIALIZED_NAME_ALIAS_NAME) @@ -67,10 +66,10 @@ public WatchlistEnhancedPropertiesRecordsInnerAliasInner aliasName(String aliasN return this; } - /** + /** * Get aliasName * @return aliasName - **/ + */ @javax.annotation.Nullable public String getAliasName() { return aliasName; @@ -86,10 +85,10 @@ public WatchlistEnhancedPropertiesRecordsInnerAliasInner aliasType(String aliasT return this; } - /** + /** * Get aliasType * @return aliasType - **/ + */ @javax.annotation.Nullable public String getAliasType() { return aliasType; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAliasInner - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAliasInner + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistEnhancedPropertiesRecordsInnerAliasInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -293,22 +292,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistEnhancedPropertiesRecordsInnerAliasInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistEnhancedPropertiesRecordsInnerAliasInner - * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAliasInner - */ + /** + * Create an instance of WatchlistEnhancedPropertiesRecordsInnerAliasInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistEnhancedPropertiesRecordsInnerAliasInner + * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAliasInner + */ public static WatchlistEnhancedPropertiesRecordsInnerAliasInner fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistEnhancedPropertiesRecordsInnerAliasInner.class); } - /** - * Convert an instance of WatchlistEnhancedPropertiesRecordsInnerAliasInner to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistEnhancedPropertiesRecordsInnerAliasInner to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerAssociateInner.java b/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerAssociateInner.java index ebb88b2c..9c5f581c 100644 --- a/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerAssociateInner.java +++ b/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerAssociateInner.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * WatchlistEnhancedPropertiesRecordsInnerAssociateInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistEnhancedPropertiesRecordsInnerAssociateInner { public static final String SERIALIZED_NAME_ENTITY_NAME = "entity_name"; @SerializedName(SERIALIZED_NAME_ENTITY_NAME) @@ -71,10 +70,10 @@ public WatchlistEnhancedPropertiesRecordsInnerAssociateInner entityName(String e return this; } - /** + /** * Get entityName * @return entityName - **/ + */ @javax.annotation.Nullable public String getEntityName() { return entityName; @@ -90,10 +89,10 @@ public WatchlistEnhancedPropertiesRecordsInnerAssociateInner relationshipDirecti return this; } - /** + /** * Get relationshipDirection * @return relationshipDirection - **/ + */ @javax.annotation.Nullable public String getRelationshipDirection() { return relationshipDirection; @@ -109,10 +108,10 @@ public WatchlistEnhancedPropertiesRecordsInnerAssociateInner relationshipType(St return this; } - /** + /** * Get relationshipType * @return relationshipType - **/ + */ @javax.annotation.Nullable public String getRelationshipType() { return relationshipType; @@ -226,12 +225,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAssociateInner - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAssociateInner + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistEnhancedPropertiesRecordsInnerAssociateInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -322,22 +321,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistEnhancedPropertiesRecordsInnerAssociateInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistEnhancedPropertiesRecordsInnerAssociateInner - * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAssociateInner - */ + /** + * Create an instance of WatchlistEnhancedPropertiesRecordsInnerAssociateInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistEnhancedPropertiesRecordsInnerAssociateInner + * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAssociateInner + */ public static WatchlistEnhancedPropertiesRecordsInnerAssociateInner fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistEnhancedPropertiesRecordsInnerAssociateInner.class); } - /** - * Convert an instance of WatchlistEnhancedPropertiesRecordsInnerAssociateInner to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistEnhancedPropertiesRecordsInnerAssociateInner to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerAttributeInner.java b/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerAttributeInner.java index 28ae6d09..e8fdd8d0 100644 --- a/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerAttributeInner.java +++ b/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerAttributeInner.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * WatchlistEnhancedPropertiesRecordsInnerAttributeInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistEnhancedPropertiesRecordsInnerAttributeInner { public static final String SERIALIZED_NAME_ATTRIBUTE_TYPE = "attribute_type"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_TYPE) @@ -67,10 +66,10 @@ public WatchlistEnhancedPropertiesRecordsInnerAttributeInner attributeType(Strin return this; } - /** + /** * Get attributeType * @return attributeType - **/ + */ @javax.annotation.Nullable public String getAttributeType() { return attributeType; @@ -86,10 +85,10 @@ public WatchlistEnhancedPropertiesRecordsInnerAttributeInner attributeValue(Stri return this; } - /** + /** * Get attributeValue * @return attributeValue - **/ + */ @javax.annotation.Nullable public String getAttributeValue() { return attributeValue; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAttributeInner - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAttributeInner + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistEnhancedPropertiesRecordsInnerAttributeInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -293,22 +292,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistEnhancedPropertiesRecordsInnerAttributeInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistEnhancedPropertiesRecordsInnerAttributeInner - * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAttributeInner - */ + /** + * Create an instance of WatchlistEnhancedPropertiesRecordsInnerAttributeInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistEnhancedPropertiesRecordsInnerAttributeInner + * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAttributeInner + */ public static WatchlistEnhancedPropertiesRecordsInnerAttributeInner fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistEnhancedPropertiesRecordsInnerAttributeInner.class); } - /** - * Convert an instance of WatchlistEnhancedPropertiesRecordsInnerAttributeInner to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistEnhancedPropertiesRecordsInnerAttributeInner to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerEventInner.java b/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerEventInner.java index 3e672781..6ecedce6 100644 --- a/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerEventInner.java +++ b/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerEventInner.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * WatchlistEnhancedPropertiesRecordsInnerEventInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistEnhancedPropertiesRecordsInnerEventInner { public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) @@ -81,10 +80,10 @@ public WatchlistEnhancedPropertiesRecordsInnerEventInner category(String categor return this; } - /** + /** * Get category * @return category - **/ + */ @javax.annotation.Nullable public String getCategory() { return category; @@ -100,10 +99,10 @@ public WatchlistEnhancedPropertiesRecordsInnerEventInner eventDate(LocalDate eve return this; } - /** + /** * Get eventDate * @return eventDate - **/ + */ @javax.annotation.Nullable public LocalDate getEventDate() { return eventDate; @@ -119,10 +118,10 @@ public WatchlistEnhancedPropertiesRecordsInnerEventInner eventDescription(String return this; } - /** + /** * Get eventDescription * @return eventDescription - **/ + */ @javax.annotation.Nullable public String getEventDescription() { return eventDescription; @@ -138,10 +137,10 @@ public WatchlistEnhancedPropertiesRecordsInnerEventInner source(WatchlistEnhance return this; } - /** + /** * Get source * @return source - **/ + */ @javax.annotation.Nullable public WatchlistEnhancedPropertiesRecordsInnerEventInnerSource getSource() { return source; @@ -157,10 +156,10 @@ public WatchlistEnhancedPropertiesRecordsInnerEventInner subCategory(String subC return this; } - /** + /** * Get subCategory * @return subCategory - **/ + */ @javax.annotation.Nullable public String getSubCategory() { return subCategory; @@ -280,12 +279,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerEventInner - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerEventInner + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistEnhancedPropertiesRecordsInnerEventInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -380,22 +379,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistEnhancedPropertiesRecordsInnerEventInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistEnhancedPropertiesRecordsInnerEventInner - * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerEventInner - */ + /** + * Create an instance of WatchlistEnhancedPropertiesRecordsInnerEventInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistEnhancedPropertiesRecordsInnerEventInner + * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerEventInner + */ public static WatchlistEnhancedPropertiesRecordsInnerEventInner fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistEnhancedPropertiesRecordsInnerEventInner.class); } - /** - * Convert an instance of WatchlistEnhancedPropertiesRecordsInnerEventInner to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistEnhancedPropertiesRecordsInnerEventInner to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerEventInnerSource.java b/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerEventInnerSource.java index 3b19d9a0..d79a8bbb 100644 --- a/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerEventInnerSource.java +++ b/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerEventInnerSource.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * WatchlistEnhancedPropertiesRecordsInnerEventInnerSource */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistEnhancedPropertiesRecordsInnerEventInnerSource { public static final String SERIALIZED_NAME_SOURCE_DATE = "source_date"; @SerializedName(SERIALIZED_NAME_SOURCE_DATE) @@ -76,10 +75,10 @@ public WatchlistEnhancedPropertiesRecordsInnerEventInnerSource sourceDate(LocalD return this; } - /** + /** * Get sourceDate * @return sourceDate - **/ + */ @javax.annotation.Nullable public LocalDate getSourceDate() { return sourceDate; @@ -95,10 +94,10 @@ public WatchlistEnhancedPropertiesRecordsInnerEventInnerSource sourceFormat(Stri return this; } - /** + /** * Get sourceFormat * @return sourceFormat - **/ + */ @javax.annotation.Nullable public String getSourceFormat() { return sourceFormat; @@ -114,10 +113,10 @@ public WatchlistEnhancedPropertiesRecordsInnerEventInnerSource sourceName(String return this; } - /** + /** * Get sourceName * @return sourceName - **/ + */ @javax.annotation.Nullable public String getSourceName() { return sourceName; @@ -133,10 +132,10 @@ public WatchlistEnhancedPropertiesRecordsInnerEventInnerSource sourceUrl(String return this; } - /** + /** * Get sourceUrl * @return sourceUrl - **/ + */ @javax.annotation.Nullable public String getSourceUrl() { return sourceUrl; @@ -253,12 +252,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerEventInnerSource - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerEventInnerSource + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistEnhancedPropertiesRecordsInnerEventInnerSource.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -349,22 +348,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistEnhancedPropertiesRecordsInnerEventInnerSource given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistEnhancedPropertiesRecordsInnerEventInnerSource - * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerEventInnerSource - */ + /** + * Create an instance of WatchlistEnhancedPropertiesRecordsInnerEventInnerSource given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistEnhancedPropertiesRecordsInnerEventInnerSource + * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerEventInnerSource + */ public static WatchlistEnhancedPropertiesRecordsInnerEventInnerSource fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistEnhancedPropertiesRecordsInnerEventInnerSource.class); } - /** - * Convert an instance of WatchlistEnhancedPropertiesRecordsInnerEventInnerSource to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistEnhancedPropertiesRecordsInnerEventInnerSource to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerSourceInner.java b/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerSourceInner.java index 7d42e214..d7233aee 100644 --- a/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerSourceInner.java +++ b/src/main/java/com/onfido/model/WatchlistEnhancedPropertiesRecordsInnerSourceInner.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * WatchlistEnhancedPropertiesRecordsInnerSourceInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistEnhancedPropertiesRecordsInnerSourceInner { public static final String SERIALIZED_NAME_SOURCE_HEADLINE = "source_headline"; @SerializedName(SERIALIZED_NAME_SOURCE_HEADLINE) @@ -75,10 +74,10 @@ public WatchlistEnhancedPropertiesRecordsInnerSourceInner sourceHeadline(String return this; } - /** + /** * Get sourceHeadline * @return sourceHeadline - **/ + */ @javax.annotation.Nullable public String getSourceHeadline() { return sourceHeadline; @@ -94,10 +93,10 @@ public WatchlistEnhancedPropertiesRecordsInnerSourceInner sourceName(String sour return this; } - /** + /** * Get sourceName * @return sourceName - **/ + */ @javax.annotation.Nullable public String getSourceName() { return sourceName; @@ -113,10 +112,10 @@ public WatchlistEnhancedPropertiesRecordsInnerSourceInner sourceUrl(String sourc return this; } - /** + /** * Get sourceUrl * @return sourceUrl - **/ + */ @javax.annotation.Nullable public String getSourceUrl() { return sourceUrl; @@ -132,10 +131,10 @@ public WatchlistEnhancedPropertiesRecordsInnerSourceInner sourceFormat(String so return this; } - /** + /** * Get sourceFormat * @return sourceFormat - **/ + */ @javax.annotation.Nullable public String getSourceFormat() { return sourceFormat; @@ -252,12 +251,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerSourceInner - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerSourceInner + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistEnhancedPropertiesRecordsInnerSourceInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -351,22 +350,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistEnhancedPropertiesRecordsInnerSourceInner given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistEnhancedPropertiesRecordsInnerSourceInner - * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerSourceInner - */ + /** + * Create an instance of WatchlistEnhancedPropertiesRecordsInnerSourceInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistEnhancedPropertiesRecordsInnerSourceInner + * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerSourceInner + */ public static WatchlistEnhancedPropertiesRecordsInnerSourceInner fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistEnhancedPropertiesRecordsInnerSourceInner.class); } - /** - * Convert an instance of WatchlistEnhancedPropertiesRecordsInnerSourceInner to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistEnhancedPropertiesRecordsInnerSourceInner to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistEnhancedReport.java b/src/main/java/com/onfido/model/WatchlistEnhancedReport.java index 05b33e94..1f3003dc 100644 --- a/src/main/java/com/onfido/model/WatchlistEnhancedReport.java +++ b/src/main/java/com/onfido/model/WatchlistEnhancedReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * WatchlistEnhancedReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistEnhancedReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public WatchlistEnhancedReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public WatchlistEnhancedReport createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public WatchlistEnhancedReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public WatchlistEnhancedReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public WatchlistEnhancedReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public WatchlistEnhancedReport subResult(ReportSubResult subResult) { return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public WatchlistEnhancedReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public WatchlistEnhancedReport addDocumentsItem(ReportDocument documentsItem) { return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public WatchlistEnhancedReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public WatchlistEnhancedReport breakdown(WatchlistEnhancedBreakdown breakdown) { return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public WatchlistEnhancedBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public WatchlistEnhancedReport properties(WatchlistEnhancedProperties properties return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public WatchlistEnhancedProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistEnhancedReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistEnhancedReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistEnhancedReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistEnhancedReport - * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedReport - */ + /** + * Create an instance of WatchlistEnhancedReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistEnhancedReport + * @throws IOException if the JSON string is invalid with respect to WatchlistEnhancedReport + */ public static WatchlistEnhancedReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistEnhancedReport.class); } - /** - * Convert an instance of WatchlistEnhancedReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistEnhancedReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistMonitor.java b/src/main/java/com/onfido/model/WatchlistMonitor.java index 1b682f54..62b18e2b 100644 --- a/src/main/java/com/onfido/model/WatchlistMonitor.java +++ b/src/main/java/com/onfido/model/WatchlistMonitor.java @@ -41,7 +41,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -53,7 +52,7 @@ /** * WatchlistMonitor */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistMonitor { public static final String SERIALIZED_NAME_APPLICANT_ID = "applicant_id"; @SerializedName(SERIALIZED_NAME_APPLICANT_ID) @@ -145,10 +144,10 @@ public WatchlistMonitor applicantId(UUID applicantId) { return this; } - /** + /** * The ID for the applicant associated with the monitor. * @return applicantId - **/ + */ @javax.annotation.Nonnull public UUID getApplicantId() { return applicantId; @@ -164,10 +163,10 @@ public WatchlistMonitor reportName(ReportNameEnum reportName) { return this; } - /** + /** * The name of the report type the monitor creates. * @return reportName - **/ + */ @javax.annotation.Nonnull public ReportNameEnum getReportName() { return reportName; @@ -191,10 +190,10 @@ public WatchlistMonitor addTagsItem(String tagsItem) { return this; } - /** + /** * A list of tags associated with this monitor. These tags will be applied to each check this monitor creates. * @return tags - **/ + */ @javax.annotation.Nullable public List getTags() { return tags; @@ -210,10 +209,10 @@ public WatchlistMonitor id(UUID id) { return this; } - /** + /** * The unique identifier for the monitor. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -229,10 +228,10 @@ public WatchlistMonitor createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the monitor was created. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -248,10 +247,10 @@ public WatchlistMonitor deletedAt(OffsetDateTime deletedAt) { return this; } - /** + /** * The date and time at which the monitor was deleted. If the monitor is still active, this field will be null. * @return deletedAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getDeletedAt() { return deletedAt; @@ -267,10 +266,10 @@ public WatchlistMonitor isSandbox(Boolean isSandbox) { return this; } - /** + /** * Indicates whether the object was created in the sandbox or not. * @return isSandbox - **/ + */ @javax.annotation.Nullable public Boolean getIsSandbox() { return isSandbox; @@ -399,12 +398,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistMonitor - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistMonitor + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistMonitor.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -508,22 +507,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistMonitor given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistMonitor - * @throws IOException if the JSON string is invalid with respect to WatchlistMonitor - */ + /** + * Create an instance of WatchlistMonitor given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistMonitor + * @throws IOException if the JSON string is invalid with respect to WatchlistMonitor + */ public static WatchlistMonitor fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistMonitor.class); } - /** - * Convert an instance of WatchlistMonitor to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistMonitor to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistMonitorBuilder.java b/src/main/java/com/onfido/model/WatchlistMonitorBuilder.java index 058a7ffd..8af2622d 100644 --- a/src/main/java/com/onfido/model/WatchlistMonitorBuilder.java +++ b/src/main/java/com/onfido/model/WatchlistMonitorBuilder.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * WatchlistMonitorBuilder */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistMonitorBuilder { public static final String SERIALIZED_NAME_APPLICANT_ID = "applicant_id"; @SerializedName(SERIALIZED_NAME_APPLICANT_ID) @@ -128,10 +127,10 @@ public WatchlistMonitorBuilder applicantId(UUID applicantId) { return this; } - /** + /** * The ID for the applicant associated with the monitor. * @return applicantId - **/ + */ @javax.annotation.Nonnull public UUID getApplicantId() { return applicantId; @@ -147,10 +146,10 @@ public WatchlistMonitorBuilder reportName(ReportNameEnum reportName) { return this; } - /** + /** * The name of the report type the monitor creates. * @return reportName - **/ + */ @javax.annotation.Nonnull public ReportNameEnum getReportName() { return reportName; @@ -174,10 +173,10 @@ public WatchlistMonitorBuilder addTagsItem(String tagsItem) { return this; } - /** + /** * A list of tags associated with this monitor. These tags will be applied to each check this monitor creates. * @return tags - **/ + */ @javax.annotation.Nullable public List getTags() { return tags; @@ -293,12 +292,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("report_name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistMonitorBuilder - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistMonitorBuilder + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistMonitorBuilder.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -399,22 +398,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistMonitorBuilder given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistMonitorBuilder - * @throws IOException if the JSON string is invalid with respect to WatchlistMonitorBuilder - */ + /** + * Create an instance of WatchlistMonitorBuilder given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistMonitorBuilder + * @throws IOException if the JSON string is invalid with respect to WatchlistMonitorBuilder + */ public static WatchlistMonitorBuilder fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistMonitorBuilder.class); } - /** - * Convert an instance of WatchlistMonitorBuilder to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistMonitorBuilder to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistMonitorMatch.java b/src/main/java/com/onfido/model/WatchlistMonitorMatch.java index a4ad36b3..c711d582 100644 --- a/src/main/java/com/onfido/model/WatchlistMonitorMatch.java +++ b/src/main/java/com/onfido/model/WatchlistMonitorMatch.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * WatchlistMonitorMatch */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistMonitorMatch { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -68,10 +67,10 @@ public WatchlistMonitorMatch id(UUID id) { return this; } - /** + /** * Monitor ID * @return id - **/ + */ @javax.annotation.Nullable public UUID getId() { return id; @@ -87,10 +86,10 @@ public WatchlistMonitorMatch enabled(Boolean enabled) { return this; } - /** + /** * Monitor status * @return enabled - **/ + */ @javax.annotation.Nullable public Boolean getEnabled() { return enabled; @@ -201,12 +200,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistMonitorMatch - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistMonitorMatch + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistMonitorMatch.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -291,22 +290,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistMonitorMatch given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistMonitorMatch - * @throws IOException if the JSON string is invalid with respect to WatchlistMonitorMatch - */ + /** + * Create an instance of WatchlistMonitorMatch given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistMonitorMatch + * @throws IOException if the JSON string is invalid with respect to WatchlistMonitorMatch + */ public static WatchlistMonitorMatch fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistMonitorMatch.class); } - /** - * Convert an instance of WatchlistMonitorMatch to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistMonitorMatch to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistMonitorMatchesList.java b/src/main/java/com/onfido/model/WatchlistMonitorMatchesList.java index 0a9c0dde..d0c7a9e8 100644 --- a/src/main/java/com/onfido/model/WatchlistMonitorMatchesList.java +++ b/src/main/java/com/onfido/model/WatchlistMonitorMatchesList.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * WatchlistMonitorMatchesList */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistMonitorMatchesList { public static final String SERIALIZED_NAME_MATCHES = "matches"; @SerializedName(SERIALIZED_NAME_MATCHES) @@ -74,10 +73,10 @@ public WatchlistMonitorMatchesList addMatchesItem(WatchlistMonitorMatch matchesI return this; } - /** + /** * Get matches * @return matches - **/ + */ @javax.annotation.Nonnull public List getMatches() { return matches; @@ -186,12 +185,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("matches"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistMonitorMatchesList - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistMonitorMatchesList + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistMonitorMatchesList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistMonitorMatchesList given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistMonitorMatchesList - * @throws IOException if the JSON string is invalid with respect to WatchlistMonitorMatchesList - */ + /** + * Create an instance of WatchlistMonitorMatchesList given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistMonitorMatchesList + * @throws IOException if the JSON string is invalid with respect to WatchlistMonitorMatchesList + */ public static WatchlistMonitorMatchesList fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistMonitorMatchesList.class); } - /** - * Convert an instance of WatchlistMonitorMatchesList to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistMonitorMatchesList to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistMonitorMatchesUpdater.java b/src/main/java/com/onfido/model/WatchlistMonitorMatchesUpdater.java index 5af3b52b..9e102c75 100644 --- a/src/main/java/com/onfido/model/WatchlistMonitorMatchesUpdater.java +++ b/src/main/java/com/onfido/model/WatchlistMonitorMatchesUpdater.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * WatchlistMonitorMatchesUpdater */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistMonitorMatchesUpdater { public static final String SERIALIZED_NAME_ENABLE = "enable"; @SerializedName(SERIALIZED_NAME_ENABLE) @@ -78,10 +77,10 @@ public WatchlistMonitorMatchesUpdater addEnableItem(UUID enableItem) { return this; } - /** + /** * Get enable * @return enable - **/ + */ @javax.annotation.Nullable public List getEnable() { return enable; @@ -105,10 +104,10 @@ public WatchlistMonitorMatchesUpdater addDisableItem(UUID disableItem) { return this; } - /** + /** * Get disable * @return disable - **/ + */ @javax.annotation.Nullable public List getDisable() { return disable; @@ -219,12 +218,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistMonitorMatchesUpdater - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistMonitorMatchesUpdater + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistMonitorMatchesUpdater.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -314,22 +313,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistMonitorMatchesUpdater given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistMonitorMatchesUpdater - * @throws IOException if the JSON string is invalid with respect to WatchlistMonitorMatchesUpdater - */ + /** + * Create an instance of WatchlistMonitorMatchesUpdater given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistMonitorMatchesUpdater + * @throws IOException if the JSON string is invalid with respect to WatchlistMonitorMatchesUpdater + */ public static WatchlistMonitorMatchesUpdater fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistMonitorMatchesUpdater.class); } - /** - * Convert an instance of WatchlistMonitorMatchesUpdater to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistMonitorMatchesUpdater to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistMonitorResponse.java b/src/main/java/com/onfido/model/WatchlistMonitorResponse.java index ea3c664b..f775a647 100644 --- a/src/main/java/com/onfido/model/WatchlistMonitorResponse.java +++ b/src/main/java/com/onfido/model/WatchlistMonitorResponse.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * WatchlistMonitorResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistMonitorResponse { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -77,10 +76,10 @@ public WatchlistMonitorResponse id(UUID id) { return this; } - /** + /** * The unique identifier for the monitor. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -96,10 +95,10 @@ public WatchlistMonitorResponse createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the monitor was created. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -115,10 +114,10 @@ public WatchlistMonitorResponse deletedAt(OffsetDateTime deletedAt) { return this; } - /** + /** * The date and time at which the monitor was deleted. If the monitor is still active, this field will be null. * @return deletedAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getDeletedAt() { return deletedAt; @@ -134,10 +133,10 @@ public WatchlistMonitorResponse isSandbox(Boolean isSandbox) { return this; } - /** + /** * Indicates whether the object was created in the sandbox or not. * @return isSandbox - **/ + */ @javax.annotation.Nullable public Boolean getIsSandbox() { return isSandbox; @@ -255,12 +254,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistMonitorResponse - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistMonitorResponse + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistMonitorResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -352,22 +351,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistMonitorResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistMonitorResponse - * @throws IOException if the JSON string is invalid with respect to WatchlistMonitorResponse - */ + /** + * Create an instance of WatchlistMonitorResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistMonitorResponse + * @throws IOException if the JSON string is invalid with respect to WatchlistMonitorResponse + */ public static WatchlistMonitorResponse fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistMonitorResponse.class); } - /** - * Convert an instance of WatchlistMonitorResponse to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistMonitorResponse to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistMonitorShared.java b/src/main/java/com/onfido/model/WatchlistMonitorShared.java index 4f5dce11..4e1a65b7 100644 --- a/src/main/java/com/onfido/model/WatchlistMonitorShared.java +++ b/src/main/java/com/onfido/model/WatchlistMonitorShared.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * WatchlistMonitorShared */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistMonitorShared { public static final String SERIALIZED_NAME_APPLICANT_ID = "applicant_id"; @SerializedName(SERIALIZED_NAME_APPLICANT_ID) @@ -128,10 +127,10 @@ public WatchlistMonitorShared applicantId(UUID applicantId) { return this; } - /** + /** * The ID for the applicant associated with the monitor. * @return applicantId - **/ + */ @javax.annotation.Nonnull public UUID getApplicantId() { return applicantId; @@ -147,10 +146,10 @@ public WatchlistMonitorShared reportName(ReportNameEnum reportName) { return this; } - /** + /** * The name of the report type the monitor creates. * @return reportName - **/ + */ @javax.annotation.Nonnull public ReportNameEnum getReportName() { return reportName; @@ -174,10 +173,10 @@ public WatchlistMonitorShared addTagsItem(String tagsItem) { return this; } - /** + /** * A list of tags associated with this monitor. These tags will be applied to each check this monitor creates. * @return tags - **/ + */ @javax.annotation.Nullable public List getTags() { return tags; @@ -293,12 +292,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("report_name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistMonitorShared - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistMonitorShared + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistMonitorShared.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -399,22 +398,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistMonitorShared given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistMonitorShared - * @throws IOException if the JSON string is invalid with respect to WatchlistMonitorShared - */ + /** + * Create an instance of WatchlistMonitorShared given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistMonitorShared + * @throws IOException if the JSON string is invalid with respect to WatchlistMonitorShared + */ public static WatchlistMonitorShared fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistMonitorShared.class); } - /** - * Convert an instance of WatchlistMonitorShared to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistMonitorShared to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistMonitorsList.java b/src/main/java/com/onfido/model/WatchlistMonitorsList.java index 98282ecb..e49cc9db 100644 --- a/src/main/java/com/onfido/model/WatchlistMonitorsList.java +++ b/src/main/java/com/onfido/model/WatchlistMonitorsList.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * WatchlistMonitorsList */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistMonitorsList { public static final String SERIALIZED_NAME_MONITORS = "monitors"; @SerializedName(SERIALIZED_NAME_MONITORS) @@ -74,10 +73,10 @@ public WatchlistMonitorsList addMonitorsItem(WatchlistMonitor monitorsItem) { return this; } - /** + /** * Get monitors * @return monitors - **/ + */ @javax.annotation.Nonnull public List getMonitors() { return monitors; @@ -186,12 +185,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("monitors"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistMonitorsList - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistMonitorsList + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistMonitorsList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistMonitorsList given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistMonitorsList - * @throws IOException if the JSON string is invalid with respect to WatchlistMonitorsList - */ + /** + * Create an instance of WatchlistMonitorsList given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistMonitorsList + * @throws IOException if the JSON string is invalid with respect to WatchlistMonitorsList + */ public static WatchlistMonitorsList fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistMonitorsList.class); } - /** - * Convert an instance of WatchlistMonitorsList to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistMonitorsList to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistPepsOnlyReport.java b/src/main/java/com/onfido/model/WatchlistPepsOnlyReport.java index 8071e46b..1db42008 100644 --- a/src/main/java/com/onfido/model/WatchlistPepsOnlyReport.java +++ b/src/main/java/com/onfido/model/WatchlistPepsOnlyReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * WatchlistPepsOnlyReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistPepsOnlyReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public WatchlistPepsOnlyReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public WatchlistPepsOnlyReport createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public WatchlistPepsOnlyReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public WatchlistPepsOnlyReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public WatchlistPepsOnlyReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public WatchlistPepsOnlyReport subResult(ReportSubResult subResult) { return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public WatchlistPepsOnlyReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public WatchlistPepsOnlyReport addDocumentsItem(ReportDocument documentsItem) { return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public WatchlistPepsOnlyReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public WatchlistPepsOnlyReport breakdown(WatchlistStandardBreakdown breakdown) { return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public WatchlistStandardBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public WatchlistPepsOnlyReport properties(WatchlistStandardProperties properties return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public WatchlistStandardProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistPepsOnlyReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistPepsOnlyReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistPepsOnlyReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistPepsOnlyReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistPepsOnlyReport - * @throws IOException if the JSON string is invalid with respect to WatchlistPepsOnlyReport - */ + /** + * Create an instance of WatchlistPepsOnlyReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistPepsOnlyReport + * @throws IOException if the JSON string is invalid with respect to WatchlistPepsOnlyReport + */ public static WatchlistPepsOnlyReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistPepsOnlyReport.class); } - /** - * Convert an instance of WatchlistPepsOnlyReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistPepsOnlyReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistSanctionsOnlyReport.java b/src/main/java/com/onfido/model/WatchlistSanctionsOnlyReport.java index f05d08b8..8b0da538 100644 --- a/src/main/java/com/onfido/model/WatchlistSanctionsOnlyReport.java +++ b/src/main/java/com/onfido/model/WatchlistSanctionsOnlyReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * WatchlistSanctionsOnlyReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistSanctionsOnlyReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public WatchlistSanctionsOnlyReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public WatchlistSanctionsOnlyReport createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public WatchlistSanctionsOnlyReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public WatchlistSanctionsOnlyReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public WatchlistSanctionsOnlyReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public WatchlistSanctionsOnlyReport subResult(ReportSubResult subResult) { return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public WatchlistSanctionsOnlyReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public WatchlistSanctionsOnlyReport addDocumentsItem(ReportDocument documentsIte return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public WatchlistSanctionsOnlyReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public WatchlistSanctionsOnlyReport breakdown(WatchlistStandardBreakdown breakdo return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public WatchlistStandardBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public WatchlistSanctionsOnlyReport properties(WatchlistStandardProperties prope return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public WatchlistStandardProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistSanctionsOnlyReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistSanctionsOnlyReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistSanctionsOnlyReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistSanctionsOnlyReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistSanctionsOnlyReport - * @throws IOException if the JSON string is invalid with respect to WatchlistSanctionsOnlyReport - */ + /** + * Create an instance of WatchlistSanctionsOnlyReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistSanctionsOnlyReport + * @throws IOException if the JSON string is invalid with respect to WatchlistSanctionsOnlyReport + */ public static WatchlistSanctionsOnlyReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistSanctionsOnlyReport.class); } - /** - * Convert an instance of WatchlistSanctionsOnlyReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistSanctionsOnlyReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistStandardBreakdown.java b/src/main/java/com/onfido/model/WatchlistStandardBreakdown.java index 24ef316e..75fa5152 100644 --- a/src/main/java/com/onfido/model/WatchlistStandardBreakdown.java +++ b/src/main/java/com/onfido/model/WatchlistStandardBreakdown.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * WatchlistStandardBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistStandardBreakdown { public static final String SERIALIZED_NAME_SANCTION = "sanction"; @SerializedName(SERIALIZED_NAME_SANCTION) @@ -74,10 +73,10 @@ public WatchlistStandardBreakdown sanction(WatchlistAmlBreakdownSanction sanctio return this; } - /** + /** * Get sanction * @return sanction - **/ + */ @javax.annotation.Nullable public WatchlistAmlBreakdownSanction getSanction() { return sanction; @@ -93,10 +92,10 @@ public WatchlistStandardBreakdown politicallyExposedPerson(WatchlistAmlBreakdown return this; } - /** + /** * Get politicallyExposedPerson * @return politicallyExposedPerson - **/ + */ @javax.annotation.Nullable public WatchlistAmlBreakdownPoliticallyExposedPerson getPoliticallyExposedPerson() { return politicallyExposedPerson; @@ -112,10 +111,10 @@ public WatchlistStandardBreakdown legalAndRegulatoryWarnings(WatchlistAmlBreakdo return this; } - /** + /** * Get legalAndRegulatoryWarnings * @return legalAndRegulatoryWarnings - **/ + */ @javax.annotation.Nullable public WatchlistAmlBreakdownLegalAndRegulatoryWarnings getLegalAndRegulatoryWarnings() { return legalAndRegulatoryWarnings; @@ -229,12 +228,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistStandardBreakdown - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistStandardBreakdown + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistStandardBreakdown.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -328,22 +327,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistStandardBreakdown given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistStandardBreakdown - * @throws IOException if the JSON string is invalid with respect to WatchlistStandardBreakdown - */ + /** + * Create an instance of WatchlistStandardBreakdown given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistStandardBreakdown + * @throws IOException if the JSON string is invalid with respect to WatchlistStandardBreakdown + */ public static WatchlistStandardBreakdown fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistStandardBreakdown.class); } - /** - * Convert an instance of WatchlistStandardBreakdown to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistStandardBreakdown to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistStandardProperties.java b/src/main/java/com/onfido/model/WatchlistStandardProperties.java index 44930c9e..63198fc2 100644 --- a/src/main/java/com/onfido/model/WatchlistStandardProperties.java +++ b/src/main/java/com/onfido/model/WatchlistStandardProperties.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * WatchlistStandardProperties */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistStandardProperties { public static final String SERIALIZED_NAME_RECORDS = "records"; @Deprecated @@ -75,11 +74,11 @@ public WatchlistStandardProperties addRecordsItem(String recordsItem) { return this; } - /** + /** * Returns any matches including, but not limited to, name and date of birth of match, aliases and associates, and relevant events and sources. * @return records * @deprecated - **/ + */ @Deprecated @javax.annotation.Nullable public List getRecords() { @@ -189,12 +188,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistStandardProperties - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistStandardProperties + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistStandardProperties.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -280,22 +279,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistStandardProperties given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistStandardProperties - * @throws IOException if the JSON string is invalid with respect to WatchlistStandardProperties - */ + /** + * Create an instance of WatchlistStandardProperties given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistStandardProperties + * @throws IOException if the JSON string is invalid with respect to WatchlistStandardProperties + */ public static WatchlistStandardProperties fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistStandardProperties.class); } - /** - * Convert an instance of WatchlistStandardProperties to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistStandardProperties to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WatchlistStandardReport.java b/src/main/java/com/onfido/model/WatchlistStandardReport.java index 904ceac5..0f72abc0 100644 --- a/src/main/java/com/onfido/model/WatchlistStandardReport.java +++ b/src/main/java/com/onfido/model/WatchlistStandardReport.java @@ -48,7 +48,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -60,7 +59,7 @@ /** * WatchlistStandardReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WatchlistStandardReport { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -114,10 +113,10 @@ public WatchlistStandardReport id(UUID id) { return this; } - /** + /** * The unique identifier for the report. Read-only. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -133,10 +132,10 @@ public WatchlistStandardReport createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time at which the report was first initiated. Read-only. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -152,10 +151,10 @@ public WatchlistStandardReport href(String href) { return this; } - /** + /** * The API endpoint to retrieve the report. Read-only. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -171,10 +170,10 @@ public WatchlistStandardReport status(ReportStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public ReportStatus getStatus() { return status; @@ -190,10 +189,10 @@ public WatchlistStandardReport result(ReportResult result) { return this; } - /** + /** * Get result * @return result - **/ + */ @javax.annotation.Nullable public ReportResult getResult() { return result; @@ -209,10 +208,10 @@ public WatchlistStandardReport subResult(ReportSubResult subResult) { return this; } - /** + /** * Get subResult * @return subResult - **/ + */ @javax.annotation.Nullable public ReportSubResult getSubResult() { return subResult; @@ -228,10 +227,10 @@ public WatchlistStandardReport checkId(UUID checkId) { return this; } - /** + /** * The ID of the check to which the report belongs. Read-only. * @return checkId - **/ + */ @javax.annotation.Nullable public UUID getCheckId() { return checkId; @@ -255,10 +254,10 @@ public WatchlistStandardReport addDocumentsItem(ReportDocument documentsItem) { return this; } - /** + /** * Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS] * @return documents - **/ + */ @javax.annotation.Nullable public List getDocuments() { return documents; @@ -274,10 +273,10 @@ public WatchlistStandardReport name(ReportName name) { return this; } - /** + /** * Get name * @return name - **/ + */ @javax.annotation.Nonnull public ReportName getName() { return name; @@ -293,10 +292,10 @@ public WatchlistStandardReport breakdown(WatchlistStandardBreakdown breakdown) { return this; } - /** + /** * Get breakdown * @return breakdown - **/ + */ @javax.annotation.Nullable public WatchlistStandardBreakdown getBreakdown() { return breakdown; @@ -312,10 +311,10 @@ public WatchlistStandardReport properties(WatchlistStandardProperties properties return this; } - /** + /** * Get properties * @return properties - **/ + */ @javax.annotation.Nullable public WatchlistStandardProperties getProperties() { return properties; @@ -455,12 +454,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("name"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WatchlistStandardReport - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WatchlistStandardReport + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WatchlistStandardReport.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -594,22 +593,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WatchlistStandardReport given an JSON string - * - * @param jsonString JSON string - * @return An instance of WatchlistStandardReport - * @throws IOException if the JSON string is invalid with respect to WatchlistStandardReport - */ + /** + * Create an instance of WatchlistStandardReport given an JSON string + * + * @param jsonString JSON string + * @return An instance of WatchlistStandardReport + * @throws IOException if the JSON string is invalid with respect to WatchlistStandardReport + */ public static WatchlistStandardReport fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WatchlistStandardReport.class); } - /** - * Convert an instance of WatchlistStandardReport to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WatchlistStandardReport to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/Webhook.java b/src/main/java/com/onfido/model/Webhook.java index 1c3361db..10d41fb4 100644 --- a/src/main/java/com/onfido/model/Webhook.java +++ b/src/main/java/com/onfido/model/Webhook.java @@ -41,7 +41,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -53,7 +52,7 @@ /** * Webhook */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Webhook { public static final String SERIALIZED_NAME_ENABLED = "enabled"; @SerializedName(SERIALIZED_NAME_ENABLED) @@ -95,10 +94,10 @@ public Webhook enabled(Boolean enabled) { return this; } - /** + /** * Determine if the webhook is active. * @return enabled - **/ + */ @javax.annotation.Nullable public Boolean getEnabled() { return enabled; @@ -122,10 +121,10 @@ public Webhook addEventsItem(WebhookEventType eventsItem) { return this; } - /** + /** * The events that will be published to the webhook. If the events parameter is omitted all the events will be subscribed. * @return events - **/ + */ @javax.annotation.Nullable public List getEvents() { return events; @@ -149,10 +148,10 @@ public Webhook addEnvironmentsItem(String environmentsItem) { return this; } - /** + /** * The environments from which the webhook will receive events. Allowed values are “sandbox” and “live”. If the environments parameter is omitted the webhook will receive events from both environments. * @return environments - **/ + */ @javax.annotation.Nullable public List getEnvironments() { return environments; @@ -168,10 +167,10 @@ public Webhook payloadVersion(Integer payloadVersion) { return this; } - /** + /** * Webhook version used to control the payload object when sending webhooks. * @return payloadVersion - **/ + */ @javax.annotation.Nullable public Integer getPayloadVersion() { return payloadVersion; @@ -187,10 +186,10 @@ public Webhook id(UUID id) { return this; } - /** + /** * The unique identifier of the webhook. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -206,10 +205,10 @@ public Webhook url(String url) { return this; } - /** + /** * The url that will listen to notifications (must be https). * @return url - **/ + */ @javax.annotation.Nullable public String getUrl() { return url; @@ -225,10 +224,10 @@ public Webhook token(String token) { return this; } - /** + /** * Webhook secret token used to sign the webhook's payload. * @return token - **/ + */ @javax.annotation.Nullable public String getToken() { return token; @@ -244,10 +243,10 @@ public Webhook href(String href) { return this; } - /** + /** * The API endpoint to retrieve the webhook. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -377,12 +376,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to Webhook - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to Webhook + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Webhook.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -491,22 +490,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of Webhook given an JSON string - * - * @param jsonString JSON string - * @return An instance of Webhook - * @throws IOException if the JSON string is invalid with respect to Webhook - */ + /** + * Create an instance of Webhook given an JSON string + * + * @param jsonString JSON string + * @return An instance of Webhook + * @throws IOException if the JSON string is invalid with respect to Webhook + */ public static Webhook fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, Webhook.class); } - /** - * Convert an instance of Webhook to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of Webhook to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WebhookBuilder.java b/src/main/java/com/onfido/model/WebhookBuilder.java index 66826ed9..9a57ddf3 100644 --- a/src/main/java/com/onfido/model/WebhookBuilder.java +++ b/src/main/java/com/onfido/model/WebhookBuilder.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * WebhookBuilder */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WebhookBuilder { public static final String SERIALIZED_NAME_ENABLED = "enabled"; @SerializedName(SERIALIZED_NAME_ENABLED) @@ -82,10 +81,10 @@ public WebhookBuilder enabled(Boolean enabled) { return this; } - /** + /** * Determine if the webhook is active. * @return enabled - **/ + */ @javax.annotation.Nullable public Boolean getEnabled() { return enabled; @@ -109,10 +108,10 @@ public WebhookBuilder addEventsItem(WebhookEventType eventsItem) { return this; } - /** + /** * The events that will be published to the webhook. If the events parameter is omitted all the events will be subscribed. * @return events - **/ + */ @javax.annotation.Nullable public List getEvents() { return events; @@ -136,10 +135,10 @@ public WebhookBuilder addEnvironmentsItem(String environmentsItem) { return this; } - /** + /** * The environments from which the webhook will receive events. Allowed values are “sandbox” and “live”. If the environments parameter is omitted the webhook will receive events from both environments. * @return environments - **/ + */ @javax.annotation.Nullable public List getEnvironments() { return environments; @@ -155,10 +154,10 @@ public WebhookBuilder payloadVersion(Integer payloadVersion) { return this; } - /** + /** * Webhook version used to control the payload object when sending webhooks. * @return payloadVersion - **/ + */ @javax.annotation.Nullable public Integer getPayloadVersion() { return payloadVersion; @@ -174,10 +173,10 @@ public WebhookBuilder url(String url) { return this; } - /** + /** * The url that will listen to notifications (must be https). * @return url - **/ + */ @javax.annotation.Nonnull public String getUrl() { return url; @@ -298,12 +297,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("url"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WebhookBuilder - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WebhookBuilder + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WebhookBuilder.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -403,22 +402,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WebhookBuilder given an JSON string - * - * @param jsonString JSON string - * @return An instance of WebhookBuilder - * @throws IOException if the JSON string is invalid with respect to WebhookBuilder - */ + /** + * Create an instance of WebhookBuilder given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookBuilder + * @throws IOException if the JSON string is invalid with respect to WebhookBuilder + */ public static WebhookBuilder fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WebhookBuilder.class); } - /** - * Convert an instance of WebhookBuilder to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WebhookBuilder to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WebhookCreate.java b/src/main/java/com/onfido/model/WebhookCreate.java index 87b9cbda..3dae3f2e 100644 --- a/src/main/java/com/onfido/model/WebhookCreate.java +++ b/src/main/java/com/onfido/model/WebhookCreate.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * WebhookCreate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WebhookCreate { public static final String SERIALIZED_NAME_URL = "url"; @SerializedName(SERIALIZED_NAME_URL) @@ -63,10 +62,10 @@ public WebhookCreate url(String url) { return this; } - /** + /** * The url that will listen to notifications (must be https). * @return url - **/ + */ @javax.annotation.Nonnull public String getUrl() { return url; @@ -175,12 +174,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("url"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WebhookCreate - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WebhookCreate + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WebhookCreate.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -272,22 +271,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WebhookCreate given an JSON string - * - * @param jsonString JSON string - * @return An instance of WebhookCreate - * @throws IOException if the JSON string is invalid with respect to WebhookCreate - */ + /** + * Create an instance of WebhookCreate given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookCreate + * @throws IOException if the JSON string is invalid with respect to WebhookCreate + */ public static WebhookCreate fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WebhookCreate.class); } - /** - * Convert an instance of WebhookCreate to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WebhookCreate to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WebhookEvent.java b/src/main/java/com/onfido/model/WebhookEvent.java index 5bf5f97c..e8c6e97c 100644 --- a/src/main/java/com/onfido/model/WebhookEvent.java +++ b/src/main/java/com/onfido/model/WebhookEvent.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * WebhookEvent */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WebhookEvent { public static final String SERIALIZED_NAME_PAYLOAD = "payload"; @SerializedName(SERIALIZED_NAME_PAYLOAD) @@ -64,10 +63,10 @@ public WebhookEvent payload(WebhookEventPayload payload) { return this; } - /** + /** * Get payload * @return payload - **/ + */ @javax.annotation.Nullable public WebhookEventPayload getPayload() { return payload; @@ -175,12 +174,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WebhookEvent - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WebhookEvent + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WebhookEvent.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -266,22 +265,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WebhookEvent given an JSON string - * - * @param jsonString JSON string - * @return An instance of WebhookEvent - * @throws IOException if the JSON string is invalid with respect to WebhookEvent - */ + /** + * Create an instance of WebhookEvent given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookEvent + * @throws IOException if the JSON string is invalid with respect to WebhookEvent + */ public static WebhookEvent fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WebhookEvent.class); } - /** - * Convert an instance of WebhookEvent to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WebhookEvent to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WebhookEventPayload.java b/src/main/java/com/onfido/model/WebhookEventPayload.java index ac4362b4..0032ed08 100644 --- a/src/main/java/com/onfido/model/WebhookEventPayload.java +++ b/src/main/java/com/onfido/model/WebhookEventPayload.java @@ -41,7 +41,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -53,7 +52,7 @@ /** * WebhookEventPayload */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WebhookEventPayload { public static final String SERIALIZED_NAME_RESOURCE_TYPE = "resource_type"; @SerializedName(SERIALIZED_NAME_RESOURCE_TYPE) @@ -79,10 +78,10 @@ public WebhookEventPayload resourceType(WebhookEventResourceType resourceType) { return this; } - /** + /** * Indicates the resource affected by this event. * @return resourceType - **/ + */ @javax.annotation.Nonnull public WebhookEventResourceType getResourceType() { return resourceType; @@ -98,10 +97,10 @@ public WebhookEventPayload action(WebhookEventType action) { return this; } - /** + /** * The event that triggered this webhook. * @return action - **/ + */ @javax.annotation.Nullable public WebhookEventType getAction() { return action; @@ -117,10 +116,10 @@ public WebhookEventPayload _object(WebhookEventPayloadObject _object) { return this; } - /** + /** * Get _object * @return _object - **/ + */ @javax.annotation.Nullable public WebhookEventPayloadObject getObject() { return _object; @@ -136,10 +135,10 @@ public WebhookEventPayload resource(WebhookEventPayloadResource resource) { return this; } - /** + /** * Get resource * @return resource - **/ + */ @javax.annotation.Nullable public WebhookEventPayloadResource getResource() { return resource; @@ -257,12 +256,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("resource_type"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WebhookEventPayload - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WebhookEventPayload + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WebhookEventPayload.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -365,22 +364,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WebhookEventPayload given an JSON string - * - * @param jsonString JSON string - * @return An instance of WebhookEventPayload - * @throws IOException if the JSON string is invalid with respect to WebhookEventPayload - */ + /** + * Create an instance of WebhookEventPayload given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookEventPayload + * @throws IOException if the JSON string is invalid with respect to WebhookEventPayload + */ public static WebhookEventPayload fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WebhookEventPayload.class); } - /** - * Convert an instance of WebhookEventPayload to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WebhookEventPayload to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WebhookEventPayloadObject.java b/src/main/java/com/onfido/model/WebhookEventPayloadObject.java index dc1dba29..03044f7d 100644 --- a/src/main/java/com/onfido/model/WebhookEventPayloadObject.java +++ b/src/main/java/com/onfido/model/WebhookEventPayloadObject.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * The object affected by this event. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WebhookEventPayloadObject { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -81,10 +80,10 @@ public WebhookEventPayloadObject id(String id) { return this; } - /** + /** * The unique identifier of the resource. * @return id - **/ + */ @javax.annotation.Nonnull public String getId() { return id; @@ -100,10 +99,10 @@ public WebhookEventPayloadObject status(WebhookEventObjectStatus status) { return this; } - /** + /** * Get status * @return status - **/ + */ @javax.annotation.Nullable public WebhookEventObjectStatus getStatus() { return status; @@ -119,10 +118,10 @@ public WebhookEventPayloadObject startedAtIso8601(OffsetDateTime startedAtIso860 return this; } - /** + /** * The date and time when the operation was started, if available. * @return startedAtIso8601 - **/ + */ @javax.annotation.Nullable public OffsetDateTime getStartedAtIso8601() { return startedAtIso8601; @@ -138,10 +137,10 @@ public WebhookEventPayloadObject completedAtIso8601(OffsetDateTime completedAtIs return this; } - /** + /** * The date and time when the operation was completed, if available. * @return completedAtIso8601 - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCompletedAtIso8601() { return completedAtIso8601; @@ -157,10 +156,10 @@ public WebhookEventPayloadObject href(String href) { return this; } - /** + /** * The uri of the resource. * @return href - **/ + */ @javax.annotation.Nonnull public String getHref() { return href; @@ -282,12 +281,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("href"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WebhookEventPayloadObject - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WebhookEventPayloadObject + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WebhookEventPayloadObject.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -386,22 +385,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WebhookEventPayloadObject given an JSON string - * - * @param jsonString JSON string - * @return An instance of WebhookEventPayloadObject - * @throws IOException if the JSON string is invalid with respect to WebhookEventPayloadObject - */ + /** + * Create an instance of WebhookEventPayloadObject given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookEventPayloadObject + * @throws IOException if the JSON string is invalid with respect to WebhookEventPayloadObject + */ public static WebhookEventPayloadObject fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WebhookEventPayloadObject.class); } - /** - * Convert an instance of WebhookEventPayloadObject to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WebhookEventPayloadObject to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WebhookEventPayloadResource.java b/src/main/java/com/onfido/model/WebhookEventPayloadResource.java index 69eb0d4e..35f34193 100644 --- a/src/main/java/com/onfido/model/WebhookEventPayloadResource.java +++ b/src/main/java/com/onfido/model/WebhookEventPayloadResource.java @@ -44,7 +44,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -56,7 +55,7 @@ /** * The resource affected by this event. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WebhookEventPayloadResource { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -126,10 +125,10 @@ public WebhookEventPayloadResource id(String id) { return this; } - /** + /** * The identifier of the resource. * @return id - **/ + */ @javax.annotation.Nullable public String getId() { return id; @@ -145,10 +144,10 @@ public WebhookEventPayloadResource applicantId(UUID applicantId) { return this; } - /** + /** * The unique identifier for the Applicant. * @return applicantId - **/ + */ @javax.annotation.Nullable public UUID getApplicantId() { return applicantId; @@ -164,10 +163,10 @@ public WebhookEventPayloadResource createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time when the resource was created. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -183,10 +182,10 @@ public WebhookEventPayloadResource updatedAt(OffsetDateTime updatedAt) { return this; } - /** + /** * The date and time when the resource was last updated. * @return updatedAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getUpdatedAt() { return updatedAt; @@ -202,10 +201,10 @@ public WebhookEventPayloadResource dashboardUrl(String dashboardUrl) { return this; } - /** + /** * The URL for viewing the resource on Onfido Dashboard. * @return dashboardUrl - **/ + */ @javax.annotation.Nullable public String getDashboardUrl() { return dashboardUrl; @@ -221,10 +220,10 @@ public WebhookEventPayloadResource workflowId(UUID workflowId) { return this; } - /** + /** * The unique identifier for the Workflow. * @return workflowId - **/ + */ @javax.annotation.Nullable public UUID getWorkflowId() { return workflowId; @@ -240,10 +239,10 @@ public WebhookEventPayloadResource workflowRunId(UUID workflowRunId) { return this; } - /** + /** * Get workflowRunId * @return workflowRunId - **/ + */ @javax.annotation.Nullable public UUID getWorkflowRunId() { return workflowRunId; @@ -259,10 +258,10 @@ public WebhookEventPayloadResource workflowVersionId(Integer workflowVersionId) return this; } - /** + /** * The identifier for the Workflow version. * @return workflowVersionId - **/ + */ @javax.annotation.Nullable public Integer getWorkflowVersionId() { return workflowVersionId; @@ -278,10 +277,10 @@ public WebhookEventPayloadResource taskDefId(String taskDefId) { return this; } - /** + /** * The identifier for the Task Definition. * @return taskDefId - **/ + */ @javax.annotation.Nullable public String getTaskDefId() { return taskDefId; @@ -297,10 +296,10 @@ public WebhookEventPayloadResource taskDefVersion(String taskDefVersion) { return this; } - /** + /** * The task definition version. * @return taskDefVersion - **/ + */ @javax.annotation.Nullable public String getTaskDefVersion() { return taskDefVersion; @@ -316,10 +315,10 @@ public WebhookEventPayloadResource input(Object input) { return this; } - /** + /** * Input object with the fields used by the Task execution. * @return input - **/ + */ @javax.annotation.Nullable public Object getInput() { return input; @@ -335,10 +334,10 @@ public WebhookEventPayloadResource output(Object output) { return this; } - /** + /** * Output object with the fields produced by the Task execution. * @return output - **/ + */ @javax.annotation.Nullable public Object getOutput() { return output; @@ -362,10 +361,10 @@ public WebhookEventPayloadResource addReasonsItem(String reasonsItem) { return this; } - /** + /** * The reasons the Workflow Run outcome was reached. Configurable when creating the Workflow Version. * @return reasons - **/ + */ @javax.annotation.Nullable public List getReasons() { return reasons; @@ -381,10 +380,10 @@ public WebhookEventPayloadResource link(WorkflowRunLink link) { return this; } - /** + /** * Object for the configuration of the Workflow Run link. * @return link - **/ + */ @javax.annotation.Nullable public WorkflowRunLink getLink() { return link; @@ -400,10 +399,10 @@ public WebhookEventPayloadResource error(WorkflowRunError error) { return this; } - /** + /** * Error object that details why a Workflow Run is in Error status. * @return error - **/ + */ @javax.annotation.Nullable public WorkflowRunError getError() { return error; @@ -564,12 +563,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WebhookEventPayloadResource - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WebhookEventPayloadResource + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WebhookEventPayloadResource.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -684,22 +683,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WebhookEventPayloadResource given an JSON string - * - * @param jsonString JSON string - * @return An instance of WebhookEventPayloadResource - * @throws IOException if the JSON string is invalid with respect to WebhookEventPayloadResource - */ + /** + * Create an instance of WebhookEventPayloadResource given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookEventPayloadResource + * @throws IOException if the JSON string is invalid with respect to WebhookEventPayloadResource + */ public static WebhookEventPayloadResource fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WebhookEventPayloadResource.class); } - /** - * Convert an instance of WebhookEventPayloadResource to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WebhookEventPayloadResource to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WebhookResend.java b/src/main/java/com/onfido/model/WebhookResend.java index 07dfe2fa..ae564e77 100644 --- a/src/main/java/com/onfido/model/WebhookResend.java +++ b/src/main/java/com/onfido/model/WebhookResend.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * WebhookResend */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WebhookResend { public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) @@ -74,10 +73,10 @@ public WebhookResend addDataItem(WebhooksResendItem dataItem) { return this; } - /** + /** * Get data * @return data - **/ + */ @javax.annotation.Nullable public List getData() { return data; @@ -185,12 +184,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WebhookResend - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WebhookResend + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WebhookResend.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -286,22 +285,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WebhookResend given an JSON string - * - * @param jsonString JSON string - * @return An instance of WebhookResend - * @throws IOException if the JSON string is invalid with respect to WebhookResend - */ + /** + * Create an instance of WebhookResend given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookResend + * @throws IOException if the JSON string is invalid with respect to WebhookResend + */ public static WebhookResend fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WebhookResend.class); } - /** - * Convert an instance of WebhookResend to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WebhookResend to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WebhookResponse.java b/src/main/java/com/onfido/model/WebhookResponse.java index eb9243b1..c9ac4792 100644 --- a/src/main/java/com/onfido/model/WebhookResponse.java +++ b/src/main/java/com/onfido/model/WebhookResponse.java @@ -38,7 +38,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -50,7 +49,7 @@ /** * WebhookResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WebhookResponse { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -76,10 +75,10 @@ public WebhookResponse id(UUID id) { return this; } - /** + /** * The unique identifier of the webhook. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -95,10 +94,10 @@ public WebhookResponse url(String url) { return this; } - /** + /** * The url that will listen to notifications (must be https). * @return url - **/ + */ @javax.annotation.Nullable public String getUrl() { return url; @@ -114,10 +113,10 @@ public WebhookResponse token(String token) { return this; } - /** + /** * Webhook secret token used to sign the webhook's payload. * @return token - **/ + */ @javax.annotation.Nullable public String getToken() { return token; @@ -133,10 +132,10 @@ public WebhookResponse href(String href) { return this; } - /** + /** * The API endpoint to retrieve the webhook. * @return href - **/ + */ @javax.annotation.Nullable public String getHref() { return href; @@ -254,12 +253,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WebhookResponse - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WebhookResponse + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WebhookResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -360,22 +359,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WebhookResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of WebhookResponse - * @throws IOException if the JSON string is invalid with respect to WebhookResponse - */ + /** + * Create an instance of WebhookResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookResponse + * @throws IOException if the JSON string is invalid with respect to WebhookResponse + */ public static WebhookResponse fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WebhookResponse.class); } - /** - * Convert an instance of WebhookResponse to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WebhookResponse to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WebhookShared.java b/src/main/java/com/onfido/model/WebhookShared.java index 1201bcc5..5795ed23 100644 --- a/src/main/java/com/onfido/model/WebhookShared.java +++ b/src/main/java/com/onfido/model/WebhookShared.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * WebhookShared */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WebhookShared { public static final String SERIALIZED_NAME_ENABLED = "enabled"; @SerializedName(SERIALIZED_NAME_ENABLED) @@ -78,10 +77,10 @@ public WebhookShared enabled(Boolean enabled) { return this; } - /** + /** * Determine if the webhook is active. * @return enabled - **/ + */ @javax.annotation.Nullable public Boolean getEnabled() { return enabled; @@ -105,10 +104,10 @@ public WebhookShared addEventsItem(WebhookEventType eventsItem) { return this; } - /** + /** * The events that will be published to the webhook. If the events parameter is omitted all the events will be subscribed. * @return events - **/ + */ @javax.annotation.Nullable public List getEvents() { return events; @@ -132,10 +131,10 @@ public WebhookShared addEnvironmentsItem(String environmentsItem) { return this; } - /** + /** * The environments from which the webhook will receive events. Allowed values are “sandbox” and “live”. If the environments parameter is omitted the webhook will receive events from both environments. * @return environments - **/ + */ @javax.annotation.Nullable public List getEnvironments() { return environments; @@ -151,10 +150,10 @@ public WebhookShared payloadVersion(Integer payloadVersion) { return this; } - /** + /** * Webhook version used to control the payload object when sending webhooks. * @return payloadVersion - **/ + */ @javax.annotation.Nullable public Integer getPayloadVersion() { return payloadVersion; @@ -271,12 +270,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WebhookShared - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WebhookShared + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WebhookShared.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -366,22 +365,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WebhookShared given an JSON string - * - * @param jsonString JSON string - * @return An instance of WebhookShared - * @throws IOException if the JSON string is invalid with respect to WebhookShared - */ + /** + * Create an instance of WebhookShared given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookShared + * @throws IOException if the JSON string is invalid with respect to WebhookShared + */ public static WebhookShared fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WebhookShared.class); } - /** - * Convert an instance of WebhookShared to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WebhookShared to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WebhookUpdate.java b/src/main/java/com/onfido/model/WebhookUpdate.java index 1302a65f..91d99f66 100644 --- a/src/main/java/com/onfido/model/WebhookUpdate.java +++ b/src/main/java/com/onfido/model/WebhookUpdate.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * WebhookUpdate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WebhookUpdate { public static final String SERIALIZED_NAME_URL = "url"; @SerializedName(SERIALIZED_NAME_URL) @@ -63,10 +62,10 @@ public WebhookUpdate url(String url) { return this; } - /** + /** * The url that will listen to notifications (must be https). * @return url - **/ + */ @javax.annotation.Nullable public String getUrl() { return url; @@ -174,12 +173,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WebhookUpdate - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WebhookUpdate + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WebhookUpdate.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -264,22 +263,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WebhookUpdate given an JSON string - * - * @param jsonString JSON string - * @return An instance of WebhookUpdate - * @throws IOException if the JSON string is invalid with respect to WebhookUpdate - */ + /** + * Create an instance of WebhookUpdate given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookUpdate + * @throws IOException if the JSON string is invalid with respect to WebhookUpdate + */ public static WebhookUpdate fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WebhookUpdate.class); } - /** - * Convert an instance of WebhookUpdate to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WebhookUpdate to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WebhookUpdater.java b/src/main/java/com/onfido/model/WebhookUpdater.java index d737ef2e..82aa5aa4 100644 --- a/src/main/java/com/onfido/model/WebhookUpdater.java +++ b/src/main/java/com/onfido/model/WebhookUpdater.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * WebhookUpdater */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WebhookUpdater { public static final String SERIALIZED_NAME_ENABLED = "enabled"; @SerializedName(SERIALIZED_NAME_ENABLED) @@ -82,10 +81,10 @@ public WebhookUpdater enabled(Boolean enabled) { return this; } - /** + /** * Determine if the webhook is active. * @return enabled - **/ + */ @javax.annotation.Nullable public Boolean getEnabled() { return enabled; @@ -109,10 +108,10 @@ public WebhookUpdater addEventsItem(WebhookEventType eventsItem) { return this; } - /** + /** * The events that will be published to the webhook. If the events parameter is omitted all the events will be subscribed. * @return events - **/ + */ @javax.annotation.Nullable public List getEvents() { return events; @@ -136,10 +135,10 @@ public WebhookUpdater addEnvironmentsItem(String environmentsItem) { return this; } - /** + /** * The environments from which the webhook will receive events. Allowed values are “sandbox” and “live”. If the environments parameter is omitted the webhook will receive events from both environments. * @return environments - **/ + */ @javax.annotation.Nullable public List getEnvironments() { return environments; @@ -155,10 +154,10 @@ public WebhookUpdater payloadVersion(Integer payloadVersion) { return this; } - /** + /** * Webhook version used to control the payload object when sending webhooks. * @return payloadVersion - **/ + */ @javax.annotation.Nullable public Integer getPayloadVersion() { return payloadVersion; @@ -174,10 +173,10 @@ public WebhookUpdater url(String url) { return this; } - /** + /** * The url that will listen to notifications (must be https). * @return url - **/ + */ @javax.annotation.Nullable public String getUrl() { return url; @@ -297,12 +296,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WebhookUpdater - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WebhookUpdater + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WebhookUpdater.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -395,22 +394,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WebhookUpdater given an JSON string - * - * @param jsonString JSON string - * @return An instance of WebhookUpdater - * @throws IOException if the JSON string is invalid with respect to WebhookUpdater - */ + /** + * Create an instance of WebhookUpdater given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookUpdater + * @throws IOException if the JSON string is invalid with respect to WebhookUpdater + */ public static WebhookUpdater fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WebhookUpdater.class); } - /** - * Convert an instance of WebhookUpdater to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WebhookUpdater to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WebhooksList.java b/src/main/java/com/onfido/model/WebhooksList.java index ea337fbb..2b986e72 100644 --- a/src/main/java/com/onfido/model/WebhooksList.java +++ b/src/main/java/com/onfido/model/WebhooksList.java @@ -40,7 +40,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -52,7 +51,7 @@ /** * WebhooksList */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WebhooksList { public static final String SERIALIZED_NAME_WEBHOOKS = "webhooks"; @SerializedName(SERIALIZED_NAME_WEBHOOKS) @@ -74,10 +73,10 @@ public WebhooksList addWebhooksItem(Webhook webhooksItem) { return this; } - /** + /** * Get webhooks * @return webhooks - **/ + */ @javax.annotation.Nonnull public List getWebhooks() { return webhooks; @@ -186,12 +185,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("webhooks"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WebhooksList - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WebhooksList + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WebhooksList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -290,22 +289,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WebhooksList given an JSON string - * - * @param jsonString JSON string - * @return An instance of WebhooksList - * @throws IOException if the JSON string is invalid with respect to WebhooksList - */ + /** + * Create an instance of WebhooksList given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhooksList + * @throws IOException if the JSON string is invalid with respect to WebhooksList + */ public static WebhooksList fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WebhooksList.class); } - /** - * Convert an instance of WebhooksList to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WebhooksList to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WebhooksResendItem.java b/src/main/java/com/onfido/model/WebhooksResendItem.java index e49b5f38..40e5c860 100644 --- a/src/main/java/com/onfido/model/WebhooksResendItem.java +++ b/src/main/java/com/onfido/model/WebhooksResendItem.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * WebhooksResendItem */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WebhooksResendItem { public static final String SERIALIZED_NAME_RESOURCE_ID = "resource_id"; @SerializedName(SERIALIZED_NAME_RESOURCE_ID) @@ -69,10 +68,10 @@ public WebhooksResendItem resourceId(UUID resourceId) { return this; } - /** + /** * ID of the resource whose webhooks are to be retriggered. * @return resourceId - **/ + */ @javax.annotation.Nonnull public UUID getResourceId() { return resourceId; @@ -88,10 +87,10 @@ public WebhooksResendItem event(WebhookEventType event) { return this; } - /** + /** * The events that should retrigger webhooks. Accepts values check.completed. * @return event - **/ + */ @javax.annotation.Nonnull public WebhookEventType getEvent() { return event; @@ -204,12 +203,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("event"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WebhooksResendItem - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WebhooksResendItem + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WebhooksResendItem.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -303,22 +302,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WebhooksResendItem given an JSON string - * - * @param jsonString JSON string - * @return An instance of WebhooksResendItem - * @throws IOException if the JSON string is invalid with respect to WebhooksResendItem - */ + /** + * Create an instance of WebhooksResendItem given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhooksResendItem + * @throws IOException if the JSON string is invalid with respect to WebhooksResendItem + */ public static WebhooksResendItem fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WebhooksResendItem.class); } - /** - * Convert an instance of WebhooksResendItem to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WebhooksResendItem to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WorkflowRun.java b/src/main/java/com/onfido/model/WorkflowRun.java index 0c0b89cc..18c1d431 100644 --- a/src/main/java/com/onfido/model/WorkflowRun.java +++ b/src/main/java/com/onfido/model/WorkflowRun.java @@ -45,7 +45,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -57,7 +56,7 @@ /** * WorkflowRun */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WorkflowRun { public static final String SERIALIZED_NAME_APPLICANT_ID = "applicant_id"; @SerializedName(SERIALIZED_NAME_APPLICANT_ID) @@ -127,10 +126,10 @@ public WorkflowRun applicantId(UUID applicantId) { return this; } - /** + /** * The unique identifier for the Applicant. * @return applicantId - **/ + */ @javax.annotation.Nonnull public UUID getApplicantId() { return applicantId; @@ -146,10 +145,10 @@ public WorkflowRun workflowId(UUID workflowId) { return this; } - /** + /** * The unique identifier for the Workflow. * @return workflowId - **/ + */ @javax.annotation.Nonnull public UUID getWorkflowId() { return workflowId; @@ -173,10 +172,10 @@ public WorkflowRun addTagsItem(String tagsItem) { return this; } - /** + /** * Tags or labels assigned to the workflow run. * @return tags - **/ + */ @javax.annotation.Nullable public List getTags() { return tags; @@ -192,10 +191,10 @@ public WorkflowRun customerUserId(String customerUserId) { return this; } - /** + /** * Customer-provided user identifier. * @return customerUserId - **/ + */ @javax.annotation.Nullable public String getCustomerUserId() { return customerUserId; @@ -211,10 +210,10 @@ public WorkflowRun link(WorkflowRunLink link) { return this; } - /** + /** * Object for the configuration of the Workflow Run link. * @return link - **/ + */ @javax.annotation.Nullable public WorkflowRunLink getLink() { return link; @@ -230,10 +229,10 @@ public WorkflowRun createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time when the Workflow Run was created. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -249,10 +248,10 @@ public WorkflowRun updatedAt(OffsetDateTime updatedAt) { return this; } - /** + /** * The date and time when the Workflow Run was last updated. * @return updatedAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getUpdatedAt() { return updatedAt; @@ -268,10 +267,10 @@ public WorkflowRun id(UUID id) { return this; } - /** + /** * The unique identifier for the Workflow Run. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -287,10 +286,10 @@ public WorkflowRun workflowVersionId(Integer workflowVersionId) { return this; } - /** + /** * The identifier for the Workflow version. * @return workflowVersionId - **/ + */ @javax.annotation.Nullable public Integer getWorkflowVersionId() { return workflowVersionId; @@ -306,10 +305,10 @@ public WorkflowRun dashboardUrl(String dashboardUrl) { return this; } - /** + /** * The URL for viewing the Workflow Run results on your Onfido Dashboard. * @return dashboardUrl - **/ + */ @javax.annotation.Nullable public String getDashboardUrl() { return dashboardUrl; @@ -325,10 +324,10 @@ public WorkflowRun status(WorkflowRunStatus status) { return this; } - /** + /** * The status of the Workflow Run. * @return status - **/ + */ @javax.annotation.Nullable public WorkflowRunStatus getStatus() { return status; @@ -344,10 +343,10 @@ public WorkflowRun output(Object output) { return this; } - /** + /** * Output object contains all of the properties configured on the Workflow version. * @return output - **/ + */ @javax.annotation.Nullable public Object getOutput() { return output; @@ -371,10 +370,10 @@ public WorkflowRun addReasonsItem(String reasonsItem) { return this; } - /** + /** * The reasons the Workflow Run outcome was reached. Configurable when creating the Workflow version. * @return reasons - **/ + */ @javax.annotation.Nullable public List getReasons() { return reasons; @@ -390,10 +389,10 @@ public WorkflowRun error(WorkflowRunError error) { return this; } - /** + /** * Error object. Only set when the Workflow Run status is 'error'. * @return error - **/ + */ @javax.annotation.Nullable public WorkflowRunError getError() { return error; @@ -409,10 +408,10 @@ public WorkflowRun sdkToken(String sdkToken) { return this; } - /** + /** * Client token to use when loading this workflow run in the Onfido SDK. * @return sdkToken - **/ + */ @javax.annotation.Nullable public String getSdkToken() { return sdkToken; @@ -576,12 +575,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WorkflowRun - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WorkflowRun + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WorkflowRun.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -708,22 +707,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WorkflowRun given an JSON string - * - * @param jsonString JSON string - * @return An instance of WorkflowRun - * @throws IOException if the JSON string is invalid with respect to WorkflowRun - */ + /** + * Create an instance of WorkflowRun given an JSON string + * + * @param jsonString JSON string + * @return An instance of WorkflowRun + * @throws IOException if the JSON string is invalid with respect to WorkflowRun + */ public static WorkflowRun fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WorkflowRun.class); } - /** - * Convert an instance of WorkflowRun to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WorkflowRun to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WorkflowRunBuilder.java b/src/main/java/com/onfido/model/WorkflowRunBuilder.java index 55e234bb..2a4f5700 100644 --- a/src/main/java/com/onfido/model/WorkflowRunBuilder.java +++ b/src/main/java/com/onfido/model/WorkflowRunBuilder.java @@ -45,7 +45,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -57,7 +56,7 @@ /** * WorkflowRunBuilder */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WorkflowRunBuilder { public static final String SERIALIZED_NAME_APPLICANT_ID = "applicant_id"; @SerializedName(SERIALIZED_NAME_APPLICANT_ID) @@ -99,10 +98,10 @@ public WorkflowRunBuilder applicantId(UUID applicantId) { return this; } - /** + /** * The unique identifier for the Applicant. * @return applicantId - **/ + */ @javax.annotation.Nonnull public UUID getApplicantId() { return applicantId; @@ -118,10 +117,10 @@ public WorkflowRunBuilder workflowId(UUID workflowId) { return this; } - /** + /** * The unique identifier for the Workflow. * @return workflowId - **/ + */ @javax.annotation.Nonnull public UUID getWorkflowId() { return workflowId; @@ -145,10 +144,10 @@ public WorkflowRunBuilder addTagsItem(String tagsItem) { return this; } - /** + /** * Tags or labels assigned to the workflow run. * @return tags - **/ + */ @javax.annotation.Nullable public List getTags() { return tags; @@ -164,10 +163,10 @@ public WorkflowRunBuilder customerUserId(String customerUserId) { return this; } - /** + /** * Customer-provided user identifier. * @return customerUserId - **/ + */ @javax.annotation.Nullable public String getCustomerUserId() { return customerUserId; @@ -183,10 +182,10 @@ public WorkflowRunBuilder link(WorkflowRunLink link) { return this; } - /** + /** * Object for the configuration of the Workflow Run link. * @return link - **/ + */ @javax.annotation.Nullable public WorkflowRunLink getLink() { return link; @@ -202,10 +201,10 @@ public WorkflowRunBuilder createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time when the Workflow Run was created. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -221,10 +220,10 @@ public WorkflowRunBuilder updatedAt(OffsetDateTime updatedAt) { return this; } - /** + /** * The date and time when the Workflow Run was last updated. * @return updatedAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getUpdatedAt() { return updatedAt; @@ -248,10 +247,10 @@ public WorkflowRunBuilder putCustomDataItem(String key, Object customDataItem) { return this; } - /** + /** * Object with Custom Input Data to be used in the Workflow Run. * @return customData - **/ + */ @javax.annotation.Nullable public Map getCustomData() { return customData; @@ -393,12 +392,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("workflow_id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WorkflowRunBuilder - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WorkflowRunBuilder + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WorkflowRunBuilder.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -504,22 +503,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WorkflowRunBuilder given an JSON string - * - * @param jsonString JSON string - * @return An instance of WorkflowRunBuilder - * @throws IOException if the JSON string is invalid with respect to WorkflowRunBuilder - */ + /** + * Create an instance of WorkflowRunBuilder given an JSON string + * + * @param jsonString JSON string + * @return An instance of WorkflowRunBuilder + * @throws IOException if the JSON string is invalid with respect to WorkflowRunBuilder + */ public static WorkflowRunBuilder fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WorkflowRunBuilder.class); } - /** - * Convert an instance of WorkflowRunBuilder to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WorkflowRunBuilder to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WorkflowRunError.java b/src/main/java/com/onfido/model/WorkflowRunError.java index 60058003..d6b5d244 100644 --- a/src/main/java/com/onfido/model/WorkflowRunError.java +++ b/src/main/java/com/onfido/model/WorkflowRunError.java @@ -37,7 +37,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -49,7 +48,7 @@ /** * WorkflowRunError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WorkflowRunError { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -67,10 +66,10 @@ public WorkflowRunError type(String type) { return this; } - /** + /** * The type of error. * @return type - **/ + */ @javax.annotation.Nullable public String getType() { return type; @@ -86,10 +85,10 @@ public WorkflowRunError message(String message) { return this; } - /** + /** * A textual description of the error. * @return message - **/ + */ @javax.annotation.Nullable public String getMessage() { return message; @@ -200,12 +199,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WorkflowRunError - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WorkflowRunError + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WorkflowRunError.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -293,22 +292,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WorkflowRunError given an JSON string - * - * @param jsonString JSON string - * @return An instance of WorkflowRunError - * @throws IOException if the JSON string is invalid with respect to WorkflowRunError - */ + /** + * Create an instance of WorkflowRunError given an JSON string + * + * @param jsonString JSON string + * @return An instance of WorkflowRunError + * @throws IOException if the JSON string is invalid with respect to WorkflowRunError + */ public static WorkflowRunError fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WorkflowRunError.class); } - /** - * Convert an instance of WorkflowRunError to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WorkflowRunError to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WorkflowRunLink.java b/src/main/java/com/onfido/model/WorkflowRunLink.java index 467da198..21871aac 100644 --- a/src/main/java/com/onfido/model/WorkflowRunLink.java +++ b/src/main/java/com/onfido/model/WorkflowRunLink.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * WorkflowRunLink */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WorkflowRunLink { public static final String SERIALIZED_NAME_URL = "url"; @SerializedName(SERIALIZED_NAME_URL) @@ -145,10 +144,10 @@ public WorkflowRunLink url(String url) { return this; } - /** + /** * Link to access the Workflow Run without the need to integrate with Onfido's SDKs. * @return url - **/ + */ @javax.annotation.Nullable public String getUrl() { return url; @@ -164,10 +163,10 @@ public WorkflowRunLink completedRedirectUrl(String completedRedirectUrl) { return this; } - /** + /** * When the interactive section of the Workflow Run has completed successfully, the user will be redirected to this URL instead of seeing the default Onfido 'thank you' page. * @return completedRedirectUrl - **/ + */ @javax.annotation.Nullable public String getCompletedRedirectUrl() { return completedRedirectUrl; @@ -183,10 +182,10 @@ public WorkflowRunLink expiredRedirectUrl(String expiredRedirectUrl) { return this; } - /** + /** * When the link has expired, the user will be immediately redirected to this URL instead of seeing the default Onfido error message. * @return expiredRedirectUrl - **/ + */ @javax.annotation.Nullable public String getExpiredRedirectUrl() { return expiredRedirectUrl; @@ -202,10 +201,10 @@ public WorkflowRunLink expiresAt(OffsetDateTime expiresAt) { return this; } - /** + /** * Date and time when the link will expire. * @return expiresAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getExpiresAt() { return expiresAt; @@ -221,10 +220,10 @@ public WorkflowRunLink language(LanguageEnum language) { return this; } - /** + /** * The code for the language when the workflow run is acessed using the link. * @return language - **/ + */ @javax.annotation.Nullable public LanguageEnum getLanguage() { return language; @@ -355,12 +354,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WorkflowRunLink - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WorkflowRunLink + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WorkflowRunLink.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -458,22 +457,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WorkflowRunLink given an JSON string - * - * @param jsonString JSON string - * @return An instance of WorkflowRunLink - * @throws IOException if the JSON string is invalid with respect to WorkflowRunLink - */ + /** + * Create an instance of WorkflowRunLink given an JSON string + * + * @param jsonString JSON string + * @return An instance of WorkflowRunLink + * @throws IOException if the JSON string is invalid with respect to WorkflowRunLink + */ public static WorkflowRunLink fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WorkflowRunLink.class); } - /** - * Convert an instance of WorkflowRunLink to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WorkflowRunLink to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WorkflowRunRequest.java b/src/main/java/com/onfido/model/WorkflowRunRequest.java index 2f384149..912eeefa 100644 --- a/src/main/java/com/onfido/model/WorkflowRunRequest.java +++ b/src/main/java/com/onfido/model/WorkflowRunRequest.java @@ -39,7 +39,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -51,7 +50,7 @@ /** * WorkflowRunRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WorkflowRunRequest { public static final String SERIALIZED_NAME_CUSTOM_DATA = "custom_data"; @SerializedName(SERIALIZED_NAME_CUSTOM_DATA) @@ -73,10 +72,10 @@ public WorkflowRunRequest putCustomDataItem(String key, Object customDataItem) { return this; } - /** + /** * Object with Custom Input Data to be used in the Workflow Run. * @return customData - **/ + */ @javax.annotation.Nullable public Map getCustomData() { return customData; @@ -184,12 +183,12 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WorkflowRunRequest - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WorkflowRunRequest + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WorkflowRunRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -271,22 +270,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WorkflowRunRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of WorkflowRunRequest - * @throws IOException if the JSON string is invalid with respect to WorkflowRunRequest - */ + /** + * Create an instance of WorkflowRunRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of WorkflowRunRequest + * @throws IOException if the JSON string is invalid with respect to WorkflowRunRequest + */ public static WorkflowRunRequest fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WorkflowRunRequest.class); } - /** - * Convert an instance of WorkflowRunRequest to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WorkflowRunRequest to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WorkflowRunResponse.java b/src/main/java/com/onfido/model/WorkflowRunResponse.java index e0c53a88..133b85c7 100644 --- a/src/main/java/com/onfido/model/WorkflowRunResponse.java +++ b/src/main/java/com/onfido/model/WorkflowRunResponse.java @@ -43,7 +43,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -55,7 +54,7 @@ /** * WorkflowRunResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WorkflowRunResponse { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -97,10 +96,10 @@ public WorkflowRunResponse id(UUID id) { return this; } - /** + /** * The unique identifier for the Workflow Run. * @return id - **/ + */ @javax.annotation.Nonnull public UUID getId() { return id; @@ -116,10 +115,10 @@ public WorkflowRunResponse workflowVersionId(Integer workflowVersionId) { return this; } - /** + /** * The identifier for the Workflow version. * @return workflowVersionId - **/ + */ @javax.annotation.Nullable public Integer getWorkflowVersionId() { return workflowVersionId; @@ -135,10 +134,10 @@ public WorkflowRunResponse dashboardUrl(String dashboardUrl) { return this; } - /** + /** * The URL for viewing the Workflow Run results on your Onfido Dashboard. * @return dashboardUrl - **/ + */ @javax.annotation.Nullable public String getDashboardUrl() { return dashboardUrl; @@ -154,10 +153,10 @@ public WorkflowRunResponse status(WorkflowRunStatus status) { return this; } - /** + /** * The status of the Workflow Run. * @return status - **/ + */ @javax.annotation.Nullable public WorkflowRunStatus getStatus() { return status; @@ -173,10 +172,10 @@ public WorkflowRunResponse output(Object output) { return this; } - /** + /** * Output object contains all of the properties configured on the Workflow version. * @return output - **/ + */ @javax.annotation.Nullable public Object getOutput() { return output; @@ -200,10 +199,10 @@ public WorkflowRunResponse addReasonsItem(String reasonsItem) { return this; } - /** + /** * The reasons the Workflow Run outcome was reached. Configurable when creating the Workflow version. * @return reasons - **/ + */ @javax.annotation.Nullable public List getReasons() { return reasons; @@ -219,10 +218,10 @@ public WorkflowRunResponse error(WorkflowRunError error) { return this; } - /** + /** * Error object. Only set when the Workflow Run status is 'error'. * @return error - **/ + */ @javax.annotation.Nullable public WorkflowRunError getError() { return error; @@ -238,10 +237,10 @@ public WorkflowRunResponse sdkToken(String sdkToken) { return this; } - /** + /** * Client token to use when loading this workflow run in the Onfido SDK. * @return sdkToken - **/ + */ @javax.annotation.Nullable public String getSdkToken() { return sdkToken; @@ -382,12 +381,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WorkflowRunResponse - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WorkflowRunResponse + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WorkflowRunResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -497,22 +496,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WorkflowRunResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of WorkflowRunResponse - * @throws IOException if the JSON string is invalid with respect to WorkflowRunResponse - */ + /** + * Create an instance of WorkflowRunResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of WorkflowRunResponse + * @throws IOException if the JSON string is invalid with respect to WorkflowRunResponse + */ public static WorkflowRunResponse fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WorkflowRunResponse.class); } - /** - * Convert an instance of WorkflowRunResponse to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WorkflowRunResponse to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } diff --git a/src/main/java/com/onfido/model/WorkflowRunShared.java b/src/main/java/com/onfido/model/WorkflowRunShared.java index 9c713022..f781628b 100644 --- a/src/main/java/com/onfido/model/WorkflowRunShared.java +++ b/src/main/java/com/onfido/model/WorkflowRunShared.java @@ -43,7 +43,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -55,7 +54,7 @@ /** * WorkflowRunShared */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class WorkflowRunShared { public static final String SERIALIZED_NAME_APPLICANT_ID = "applicant_id"; @SerializedName(SERIALIZED_NAME_APPLICANT_ID) @@ -93,10 +92,10 @@ public WorkflowRunShared applicantId(UUID applicantId) { return this; } - /** + /** * The unique identifier for the Applicant. * @return applicantId - **/ + */ @javax.annotation.Nonnull public UUID getApplicantId() { return applicantId; @@ -112,10 +111,10 @@ public WorkflowRunShared workflowId(UUID workflowId) { return this; } - /** + /** * The unique identifier for the Workflow. * @return workflowId - **/ + */ @javax.annotation.Nonnull public UUID getWorkflowId() { return workflowId; @@ -139,10 +138,10 @@ public WorkflowRunShared addTagsItem(String tagsItem) { return this; } - /** + /** * Tags or labels assigned to the workflow run. * @return tags - **/ + */ @javax.annotation.Nullable public List getTags() { return tags; @@ -158,10 +157,10 @@ public WorkflowRunShared customerUserId(String customerUserId) { return this; } - /** + /** * Customer-provided user identifier. * @return customerUserId - **/ + */ @javax.annotation.Nullable public String getCustomerUserId() { return customerUserId; @@ -177,10 +176,10 @@ public WorkflowRunShared link(WorkflowRunLink link) { return this; } - /** + /** * Object for the configuration of the Workflow Run link. * @return link - **/ + */ @javax.annotation.Nullable public WorkflowRunLink getLink() { return link; @@ -196,10 +195,10 @@ public WorkflowRunShared createdAt(OffsetDateTime createdAt) { return this; } - /** + /** * The date and time when the Workflow Run was created. * @return createdAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getCreatedAt() { return createdAt; @@ -215,10 +214,10 @@ public WorkflowRunShared updatedAt(OffsetDateTime updatedAt) { return this; } - /** + /** * The date and time when the Workflow Run was last updated. * @return updatedAt - **/ + */ @javax.annotation.Nullable public OffsetDateTime getUpdatedAt() { return updatedAt; @@ -357,12 +356,12 @@ private String toIndentedString(Object o) { openapiRequiredFields.add("workflow_id"); } - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to WorkflowRunShared - */ + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WorkflowRunShared + */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!WorkflowRunShared.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null @@ -468,22 +467,22 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } } - /** - * Create an instance of WorkflowRunShared given an JSON string - * - * @param jsonString JSON string - * @return An instance of WorkflowRunShared - * @throws IOException if the JSON string is invalid with respect to WorkflowRunShared - */ + /** + * Create an instance of WorkflowRunShared given an JSON string + * + * @param jsonString JSON string + * @return An instance of WorkflowRunShared + * @throws IOException if the JSON string is invalid with respect to WorkflowRunShared + */ public static WorkflowRunShared fromJson(String jsonString) throws IOException { return JSON.getGson().fromJson(jsonString, WorkflowRunShared.class); } - /** - * Convert an instance of WorkflowRunShared to an JSON string - * - * @return JSON string - */ + /** + * Convert an instance of WorkflowRunShared to an JSON string + * + * @return JSON string + */ public String toJson() { return JSON.getGson().toJson(this); } From 2247071e1e74c1789133ea42a00482aaef611a9f Mon Sep 17 00:00:00 2001 From: Davide Vacca Date: Wed, 23 Oct 2024 15:37:18 +0200 Subject: [PATCH 2/2] Add migration guide --- MIGRATION.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 MIGRATION.md diff --git a/MIGRATION.md b/MIGRATION.md new file mode 100644 index 00000000..248a0dc4 --- /dev/null +++ b/MIGRATION.md @@ -0,0 +1,33 @@ +# Migration Guide + +## Upgrading from 4.x to 5.x + +### Core Resources + +- Applicants + - Replace broken `ConsentsBuilder` object with a list of `ApplicantConsentBuilder` ones +- Workflow Runs + - Rename `WorkflowRunSharedLink` object into `WorkflowRunLink` + - Merge and rename `WorkflowRun.StatusEnum` and `WorkflowRunResponse.StatusEnum` enum into `WorkflowRunStatus` enum for storing status information + - Rename `WorkflowRunResponseError` object into `WorkflowRunError` +- Documents + - Reuse already existent `DocumentTypes` enum when uploading documents + +### Other Endpoints + +- Webhooks + - Define `WebhookEventObjectStatus` enum to collect webhook event object's status + - Define `WebhookEventResourceType` enum to collect webhhok event resource's type + - Define `WebhookEventPayloadResource` object to store webhook payload's contents +- Checks + - Rename `Check.StatusEnum` enum into `CheckStatus` for accessing checks status +- Reports + - Remove deprecated properties from `DeviceIntelligenceBreakdownPropertiesDevice` object: `trueOs`, `osAnomaly`, `rooted` and `remoteSoftware` + - Remove deprecated properties from `DeviceIntelligenceBreakdownPropertiesIp` object: `vpnDetection`, `proxyDetection` and `type` + - Deprecate `records` object from `WatchlistStandardProperties` and `WatchlistAmlProperties` objects (includes `WatchlistPepsOnly` and `WatchlistSanctionsOnly` ones) + +### OpenAPI generator + +- Version upgraded from 7.6.0 to 7.9.0 + - Some dependencies were update, notabily `jakarta.*` replaced `javax.*` ones + - Use `ISO8601Utils` library instead of `sdf` for date and time parsing