Package com.onfido.model
Class DocumentPropertiesExtractedData
- java.lang.Object
-
- com.onfido.model.DocumentPropertiesExtractedData
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class DocumentPropertiesExtractedData extends Object
DocumentPropertiesExtractedData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentPropertiesExtractedData.CustomTypeAdapterFactory
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DocumentPropertiesExtractedData()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_DOCUMENT_NUMBER
public static final String SERIALIZED_NAME_DOCUMENT_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATE_OF_BIRTH
public static final String SERIALIZED_NAME_DATE_OF_BIRTH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATE_OF_EXPIRY
public static final String SERIALIZED_NAME_DATE_OF_EXPIRY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FIRST_NAME
public static final String SERIALIZED_NAME_FIRST_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LAST_NAME
public static final String SERIALIZED_NAME_LAST_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MIDDLE_NAME
public static final String SERIALIZED_NAME_MIDDLE_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FULL_NAME
public static final String SERIALIZED_NAME_FULL_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SPOUSE_NAME
public static final String SERIALIZED_NAME_SPOUSE_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WIDOW_NAME
public static final String SERIALIZED_NAME_WIDOW_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ALIAS_NAME
public static final String SERIALIZED_NAME_ALIAS_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GENDER
public static final String SERIALIZED_NAME_GENDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MRZ_LINE1
public static final String SERIALIZED_NAME_MRZ_LINE1
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MRZ_LINE2
public static final String SERIALIZED_NAME_MRZ_LINE2
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MRZ_LINE3
public static final String SERIALIZED_NAME_MRZ_LINE3
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NATIONALITY
public static final String SERIALIZED_NAME_NATIONALITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDRESS_LINE1
public static final String SERIALIZED_NAME_ADDRESS_LINE1
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDRESS_LINE2
public static final String SERIALIZED_NAME_ADDRESS_LINE2
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDRESS_LINE3
public static final String SERIALIZED_NAME_ADDRESS_LINE3
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDRESS_LINE4
public static final String SERIALIZED_NAME_ADDRESS_LINE4
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDRESS_LINE5
public static final String SERIALIZED_NAME_ADDRESS_LINE5
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISSUING_AUTHORITY
public static final String SERIALIZED_NAME_ISSUING_AUTHORITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
documentNumber
public DocumentPropertiesExtractedData documentNumber(String documentNumber)
-
getDocumentNumber
@Nullable public String getDocumentNumber()
Get documentNumber- Returns:
- documentNumber
-
setDocumentNumber
public void setDocumentNumber(String documentNumber)
-
dateOfBirth
public DocumentPropertiesExtractedData dateOfBirth(LocalDate dateOfBirth)
-
setDateOfBirth
public void setDateOfBirth(LocalDate dateOfBirth)
-
dateOfExpiry
public DocumentPropertiesExtractedData dateOfExpiry(LocalDate dateOfExpiry)
-
setDateOfExpiry
public void setDateOfExpiry(LocalDate dateOfExpiry)
-
firstName
public DocumentPropertiesExtractedData firstName(String firstName)
-
setFirstName
public void setFirstName(String firstName)
-
lastName
public DocumentPropertiesExtractedData lastName(String lastName)
-
setLastName
public void setLastName(String lastName)
-
middleName
public DocumentPropertiesExtractedData middleName(String middleName)
-
setMiddleName
public void setMiddleName(String middleName)
-
fullName
public DocumentPropertiesExtractedData fullName(String fullName)
-
setFullName
public void setFullName(String fullName)
-
spouseName
public DocumentPropertiesExtractedData spouseName(String spouseName)
-
setSpouseName
public void setSpouseName(String spouseName)
-
widowName
public DocumentPropertiesExtractedData widowName(String widowName)
-
setWidowName
public void setWidowName(String widowName)
-
aliasName
public DocumentPropertiesExtractedData aliasName(String aliasName)
-
setAliasName
public void setAliasName(String aliasName)
-
gender
public DocumentPropertiesExtractedData gender(String gender)
-
setGender
public void setGender(String gender)
-
mrzLine1
public DocumentPropertiesExtractedData mrzLine1(String mrzLine1)
-
setMrzLine1
public void setMrzLine1(String mrzLine1)
-
mrzLine2
public DocumentPropertiesExtractedData mrzLine2(String mrzLine2)
-
setMrzLine2
public void setMrzLine2(String mrzLine2)
-
mrzLine3
public DocumentPropertiesExtractedData mrzLine3(String mrzLine3)
-
setMrzLine3
public void setMrzLine3(String mrzLine3)
-
nationality
public DocumentPropertiesExtractedData nationality(String nationality)
-
setNationality
public void setNationality(String nationality)
-
addressLine1
public DocumentPropertiesExtractedData addressLine1(String addressLine1)
-
setAddressLine1
public void setAddressLine1(String addressLine1)
-
addressLine2
public DocumentPropertiesExtractedData addressLine2(String addressLine2)
-
setAddressLine2
public void setAddressLine2(String addressLine2)
-
addressLine3
public DocumentPropertiesExtractedData addressLine3(String addressLine3)
-
setAddressLine3
public void setAddressLine3(String addressLine3)
-
addressLine4
public DocumentPropertiesExtractedData addressLine4(String addressLine4)
-
setAddressLine4
public void setAddressLine4(String addressLine4)
-
addressLine5
public DocumentPropertiesExtractedData addressLine5(String addressLine5)
-
setAddressLine5
public void setAddressLine5(String addressLine5)
-
issuingAuthority
public DocumentPropertiesExtractedData issuingAuthority(String issuingAuthority)
-
getIssuingAuthority
@Nullable public String getIssuingAuthority()
Get issuingAuthority- Returns:
- issuingAuthority
-
setIssuingAuthority
public void setIssuingAuthority(String issuingAuthority)
-
putAdditionalProperty
public DocumentPropertiesExtractedData putAdditionalProperty(String key, Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the DocumentPropertiesExtractedData instance itself
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
public Object getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to DocumentPropertiesExtractedData
-
fromJson
public static DocumentPropertiesExtractedData fromJson(String jsonString) throws IOException
Create an instance of DocumentPropertiesExtractedData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DocumentPropertiesExtractedData
- Throws:
IOException- if the JSON string is invalid with respect to DocumentPropertiesExtractedData
-
toJson
public String toJson()
Convert an instance of DocumentPropertiesExtractedData to an JSON string- Returns:
- JSON string
-
-