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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .release.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"source": {
"repo_url": "https://github.com/onfido/onfido-openapi-spec",
"short_sha": "3e893ef",
"long_sha": "3e893efe638faef78662beb4eb2ad2e14f1d2506",
"short_sha": "00a5e20",
"long_sha": "00a5e20f0c07ac93887aba6bcd1ffe67b9b13fca",
"version": "v5.7.0"
},
"release": "v6.7.0"
Expand Down
29 changes: 28 additions & 1 deletion src/main/java/com/onfido/model/DocumentProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ public class DocumentProperties {
@javax.annotation.Nullable
private LocalDate issuingDate;

public static final String SERIALIZED_NAME_VALID_FROM = "valid_from";
@SerializedName(SERIALIZED_NAME_VALID_FROM)
@javax.annotation.Nullable
private LocalDate validFrom;

public static final String SERIALIZED_NAME_CATEGORISATION = "categorisation";
@SerializedName(SERIALIZED_NAME_CATEGORISATION)
@javax.annotation.Nullable
Expand Down Expand Up @@ -723,6 +728,25 @@ public void setIssuingDate(@javax.annotation.Nullable LocalDate issuingDate) {
}


public DocumentProperties validFrom(@javax.annotation.Nullable LocalDate validFrom) {
this.validFrom = validFrom;
return this;
}

/**
* Get validFrom
* @return validFrom
*/
@javax.annotation.Nullable
public LocalDate getValidFrom() {
return validFrom;
}

public void setValidFrom(@javax.annotation.Nullable LocalDate validFrom) {
this.validFrom = validFrom;
}


public DocumentProperties categorisation(@javax.annotation.Nullable String categorisation) {
this.categorisation = categorisation;
return this;
Expand Down Expand Up @@ -1414,6 +1438,7 @@ public boolean equals(Object o) {
Objects.equals(this.nationality, documentProperties.nationality) &&
Objects.equals(this.issuingState, documentProperties.issuingState) &&
Objects.equals(this.issuingDate, documentProperties.issuingDate) &&
Objects.equals(this.validFrom, documentProperties.validFrom) &&
Objects.equals(this.categorisation, documentProperties.categorisation) &&
Objects.equals(this.mrzLine1, documentProperties.mrzLine1) &&
Objects.equals(this.mrzLine2, documentProperties.mrzLine2) &&
Expand Down Expand Up @@ -1451,7 +1476,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(dateOfBirth, dateOfExpiry, personalNumber, documentNumbers, documentType, firstName, middleName, lastName, gender, issuingCountry, nationality, issuingState, issuingDate, categorisation, mrzLine1, mrzLine2, mrzLine3, address, placeOfBirth, spouseName, widowName, aliasName, issuingAuthority, remarks, civilState, expatriation, fatherName, motherName, religion, typeOfPermit, versionNumber, documentSubtype, profession, securityDocumentNumber, taxNumber, nistIdentityEvidenceStrength, hasIssuanceConfirmation, realIdCompliance, securityTier, addressLines, barcode, nfc, drivingLicenceInformation, documentClassification, extractedData, additionalProperties);
return Objects.hash(dateOfBirth, dateOfExpiry, personalNumber, documentNumbers, documentType, firstName, middleName, lastName, gender, issuingCountry, nationality, issuingState, issuingDate, validFrom, categorisation, mrzLine1, mrzLine2, mrzLine3, address, placeOfBirth, spouseName, widowName, aliasName, issuingAuthority, remarks, civilState, expatriation, fatherName, motherName, religion, typeOfPermit, versionNumber, documentSubtype, profession, securityDocumentNumber, taxNumber, nistIdentityEvidenceStrength, hasIssuanceConfirmation, realIdCompliance, securityTier, addressLines, barcode, nfc, drivingLicenceInformation, documentClassification, extractedData, additionalProperties);
}

@Override
Expand All @@ -1471,6 +1496,7 @@ public String toString() {
sb.append(" nationality: ").append(toIndentedString(nationality)).append("\n");
sb.append(" issuingState: ").append(toIndentedString(issuingState)).append("\n");
sb.append(" issuingDate: ").append(toIndentedString(issuingDate)).append("\n");
sb.append(" validFrom: ").append(toIndentedString(validFrom)).append("\n");
sb.append(" categorisation: ").append(toIndentedString(categorisation)).append("\n");
sb.append(" mrzLine1: ").append(toIndentedString(mrzLine1)).append("\n");
sb.append(" mrzLine2: ").append(toIndentedString(mrzLine2)).append("\n");
Expand Down Expand Up @@ -1539,6 +1565,7 @@ private String toIndentedString(Object o) {
openapiFields.add("nationality");
openapiFields.add("issuing_state");
openapiFields.add("issuing_date");
openapiFields.add("valid_from");
openapiFields.add("categorisation");
openapiFields.add("mrz_line1");
openapiFields.add("mrz_line2");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ public class DocumentWithDriverVerificationReportAllOfProperties {
@javax.annotation.Nullable
private LocalDate issuingDate;

public static final String SERIALIZED_NAME_VALID_FROM = "valid_from";
@SerializedName(SERIALIZED_NAME_VALID_FROM)
@javax.annotation.Nullable
private LocalDate validFrom;

public static final String SERIALIZED_NAME_CATEGORISATION = "categorisation";
@SerializedName(SERIALIZED_NAME_CATEGORISATION)
@javax.annotation.Nullable
Expand Down Expand Up @@ -760,6 +765,25 @@ public void setIssuingDate(@javax.annotation.Nullable LocalDate issuingDate) {
}


public DocumentWithDriverVerificationReportAllOfProperties validFrom(@javax.annotation.Nullable LocalDate validFrom) {
this.validFrom = validFrom;
return this;
}

/**
* Get validFrom
* @return validFrom
*/
@javax.annotation.Nullable
public LocalDate getValidFrom() {
return validFrom;
}

public void setValidFrom(@javax.annotation.Nullable LocalDate validFrom) {
this.validFrom = validFrom;
}


public DocumentWithDriverVerificationReportAllOfProperties categorisation(@javax.annotation.Nullable String categorisation) {
this.categorisation = categorisation;
return this;
Expand Down Expand Up @@ -1592,6 +1616,7 @@ public boolean equals(Object o) {
Objects.equals(this.nationality, documentWithDriverVerificationReportAllOfProperties.nationality) &&
Objects.equals(this.issuingState, documentWithDriverVerificationReportAllOfProperties.issuingState) &&
Objects.equals(this.issuingDate, documentWithDriverVerificationReportAllOfProperties.issuingDate) &&
Objects.equals(this.validFrom, documentWithDriverVerificationReportAllOfProperties.validFrom) &&
Objects.equals(this.categorisation, documentWithDriverVerificationReportAllOfProperties.categorisation) &&
Objects.equals(this.mrzLine1, documentWithDriverVerificationReportAllOfProperties.mrzLine1) &&
Objects.equals(this.mrzLine2, documentWithDriverVerificationReportAllOfProperties.mrzLine2) &&
Expand Down Expand Up @@ -1636,7 +1661,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(dateOfBirth, dateOfExpiry, personalNumber, documentNumbers, documentType, firstName, middleName, lastName, gender, issuingCountry, nationality, issuingState, issuingDate, categorisation, mrzLine1, mrzLine2, mrzLine3, address, placeOfBirth, spouseName, widowName, aliasName, issuingAuthority, remarks, civilState, expatriation, fatherName, motherName, religion, typeOfPermit, versionNumber, documentSubtype, profession, securityDocumentNumber, taxNumber, nistIdentityEvidenceStrength, hasIssuanceConfirmation, realIdCompliance, securityTier, addressLines, barcode, nfc, drivingLicenceInformation, documentClassification, extractedData, driversLicence, restrictedLicence, rawLicenceCategory, rawVehicleClasses, manualTransmissionRestriction, vehicleClassDetails, passengerVehicle, additionalProperties);
return Objects.hash(dateOfBirth, dateOfExpiry, personalNumber, documentNumbers, documentType, firstName, middleName, lastName, gender, issuingCountry, nationality, issuingState, issuingDate, validFrom, categorisation, mrzLine1, mrzLine2, mrzLine3, address, placeOfBirth, spouseName, widowName, aliasName, issuingAuthority, remarks, civilState, expatriation, fatherName, motherName, religion, typeOfPermit, versionNumber, documentSubtype, profession, securityDocumentNumber, taxNumber, nistIdentityEvidenceStrength, hasIssuanceConfirmation, realIdCompliance, securityTier, addressLines, barcode, nfc, drivingLicenceInformation, documentClassification, extractedData, driversLicence, restrictedLicence, rawLicenceCategory, rawVehicleClasses, manualTransmissionRestriction, vehicleClassDetails, passengerVehicle, additionalProperties);
}

@Override
Expand All @@ -1656,6 +1681,7 @@ public String toString() {
sb.append(" nationality: ").append(toIndentedString(nationality)).append("\n");
sb.append(" issuingState: ").append(toIndentedString(issuingState)).append("\n");
sb.append(" issuingDate: ").append(toIndentedString(issuingDate)).append("\n");
sb.append(" validFrom: ").append(toIndentedString(validFrom)).append("\n");
sb.append(" categorisation: ").append(toIndentedString(categorisation)).append("\n");
sb.append(" mrzLine1: ").append(toIndentedString(mrzLine1)).append("\n");
sb.append(" mrzLine2: ").append(toIndentedString(mrzLine2)).append("\n");
Expand Down Expand Up @@ -1731,6 +1757,7 @@ private String toIndentedString(Object o) {
openapiFields.add("nationality");
openapiFields.add("issuing_state");
openapiFields.add("issuing_date");
openapiFields.add("valid_from");
openapiFields.add("categorisation");
openapiFields.add("mrz_line1");
openapiFields.add("mrz_line2");
Expand Down