Package com.onfido.model
Class DocumentPropertiesBarcodeInner
- java.lang.Object
-
- com.onfido.model.DocumentPropertiesBarcodeInner
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class DocumentPropertiesBarcodeInner extends Object
DocumentPropertiesBarcodeInner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentPropertiesBarcodeInner.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ADDRESS_LINE1static StringSERIALIZED_NAME_ADDRESS_LINE2static StringSERIALIZED_NAME_ADDRESS_LINE3static StringSERIALIZED_NAME_ADDRESS_LINE4static StringSERIALIZED_NAME_ADDRESS_LINE5static StringSERIALIZED_NAME_DATE_OF_BIRTHstatic StringSERIALIZED_NAME_DATE_OF_EXPIRYstatic StringSERIALIZED_NAME_DOCUMENT_NUMBERstatic StringSERIALIZED_NAME_DOCUMENT_TYPEstatic StringSERIALIZED_NAME_FIRST_NAMEstatic StringSERIALIZED_NAME_GENDERstatic StringSERIALIZED_NAME_ISSUING_COUNTRYstatic StringSERIALIZED_NAME_ISSUING_DATEstatic StringSERIALIZED_NAME_ISSUING_STATEstatic StringSERIALIZED_NAME_LAST_NAMEstatic StringSERIALIZED_NAME_MIDDLE_NAMEstatic StringSERIALIZED_NAME_PROPERTY_CLASSstatic StringSERIALIZED_NAME_REAL_ID_CLASSIFICATION
-
Constructor Summary
Constructors Constructor Description DocumentPropertiesBarcodeInner()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_FIRST_NAME
public static final String SERIALIZED_NAME_FIRST_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_LAST_NAME
public static final String SERIALIZED_NAME_LAST_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENT_TYPE
public static final String SERIALIZED_NAME_DOCUMENT_TYPE
- 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_DATE_OF_BIRTH
public static final String SERIALIZED_NAME_DATE_OF_BIRTH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISSUING_DATE
public static final String SERIALIZED_NAME_ISSUING_DATE
- 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_STATE
public static final String SERIALIZED_NAME_ISSUING_STATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROPERTY_CLASS
public static final String SERIALIZED_NAME_PROPERTY_CLASS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GENDER
public static final String SERIALIZED_NAME_GENDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISSUING_COUNTRY
public static final String SERIALIZED_NAME_ISSUING_COUNTRY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENT_NUMBER
public static final String SERIALIZED_NAME_DOCUMENT_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REAL_ID_CLASSIFICATION
public static final String SERIALIZED_NAME_REAL_ID_CLASSIFICATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
firstName
public DocumentPropertiesBarcodeInner firstName(String firstName)
-
setFirstName
public void setFirstName(String firstName)
-
middleName
public DocumentPropertiesBarcodeInner middleName(String middleName)
-
setMiddleName
public void setMiddleName(String middleName)
-
lastName
public DocumentPropertiesBarcodeInner lastName(String lastName)
-
setLastName
public void setLastName(String lastName)
-
documentType
public DocumentPropertiesBarcodeInner documentType(String documentType)
-
setDocumentType
public void setDocumentType(String documentType)
-
dateOfExpiry
public DocumentPropertiesBarcodeInner dateOfExpiry(LocalDate dateOfExpiry)
-
setDateOfExpiry
public void setDateOfExpiry(LocalDate dateOfExpiry)
-
dateOfBirth
public DocumentPropertiesBarcodeInner dateOfBirth(LocalDate dateOfBirth)
-
setDateOfBirth
public void setDateOfBirth(LocalDate dateOfBirth)
-
issuingDate
public DocumentPropertiesBarcodeInner issuingDate(LocalDate issuingDate)
-
setIssuingDate
public void setIssuingDate(LocalDate issuingDate)
-
addressLine1
public DocumentPropertiesBarcodeInner addressLine1(String addressLine1)
-
setAddressLine1
public void setAddressLine1(String addressLine1)
-
addressLine2
public DocumentPropertiesBarcodeInner addressLine2(String addressLine2)
-
setAddressLine2
public void setAddressLine2(String addressLine2)
-
addressLine3
public DocumentPropertiesBarcodeInner addressLine3(String addressLine3)
-
setAddressLine3
public void setAddressLine3(String addressLine3)
-
addressLine4
public DocumentPropertiesBarcodeInner addressLine4(String addressLine4)
-
setAddressLine4
public void setAddressLine4(String addressLine4)
-
addressLine5
public DocumentPropertiesBarcodeInner addressLine5(String addressLine5)
-
setAddressLine5
public void setAddressLine5(String addressLine5)
-
issuingState
public DocumentPropertiesBarcodeInner issuingState(String issuingState)
-
setIssuingState
public void setIssuingState(String issuingState)
-
propertyClass
public DocumentPropertiesBarcodeInner propertyClass(String propertyClass)
-
getPropertyClass
@Nullable public String getPropertyClass()
Get propertyClass- Returns:
- propertyClass
-
setPropertyClass
public void setPropertyClass(String propertyClass)
-
gender
public DocumentPropertiesBarcodeInner gender(String gender)
-
setGender
public void setGender(String gender)
-
issuingCountry
public DocumentPropertiesBarcodeInner issuingCountry(String issuingCountry)
-
getIssuingCountry
@Nullable public String getIssuingCountry()
Get issuingCountry- Returns:
- issuingCountry
-
setIssuingCountry
public void setIssuingCountry(String issuingCountry)
-
documentNumber
public DocumentPropertiesBarcodeInner documentNumber(String documentNumber)
-
getDocumentNumber
@Nullable public String getDocumentNumber()
Get documentNumber- Returns:
- documentNumber
-
setDocumentNumber
public void setDocumentNumber(String documentNumber)
-
realIdClassification
public DocumentPropertiesBarcodeInner realIdClassification(String realIdClassification)
-
getRealIdClassification
@Nullable public String getRealIdClassification()
Get realIdClassification- Returns:
- realIdClassification
-
setRealIdClassification
public void setRealIdClassification(String realIdClassification)
-
putAdditionalProperty
public DocumentPropertiesBarcodeInner 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 DocumentPropertiesBarcodeInner 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 DocumentPropertiesBarcodeInner
-
fromJson
public static DocumentPropertiesBarcodeInner fromJson(String jsonString) throws IOException
Create an instance of DocumentPropertiesBarcodeInner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DocumentPropertiesBarcodeInner
- Throws:
IOException- if the JSON string is invalid with respect to DocumentPropertiesBarcodeInner
-
toJson
public String toJson()
Convert an instance of DocumentPropertiesBarcodeInner to an JSON string- Returns:
- JSON string
-
-