Package com.onfido.model
Class DocumentBreakdown
- java.lang.Object
-
- com.onfido.model.DocumentBreakdown
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class DocumentBreakdown extends Object
DocumentBreakdown
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentBreakdown.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_AGE_VALIDATIONstatic StringSERIALIZED_NAME_COMPROMISED_DOCUMENTstatic StringSERIALIZED_NAME_DATA_COMPARISONstatic StringSERIALIZED_NAME_DATA_CONSISTENCYstatic StringSERIALIZED_NAME_DATA_VALIDATIONstatic StringSERIALIZED_NAME_IMAGE_INTEGRITYstatic StringSERIALIZED_NAME_ISSUING_AUTHORITYstatic StringSERIALIZED_NAME_POLICE_RECORDstatic StringSERIALIZED_NAME_VISUAL_AUTHENTICITY
-
Constructor Summary
Constructors Constructor Description DocumentBreakdown()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_DATA_COMPARISON
public static final String SERIALIZED_NAME_DATA_COMPARISON
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATA_VALIDATION
public static final String SERIALIZED_NAME_DATA_VALIDATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IMAGE_INTEGRITY
public static final String SERIALIZED_NAME_IMAGE_INTEGRITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VISUAL_AUTHENTICITY
public static final String SERIALIZED_NAME_VISUAL_AUTHENTICITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATA_CONSISTENCY
public static final String SERIALIZED_NAME_DATA_CONSISTENCY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_POLICE_RECORD
public static final String SERIALIZED_NAME_POLICE_RECORD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMPROMISED_DOCUMENT
public static final String SERIALIZED_NAME_COMPROMISED_DOCUMENT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AGE_VALIDATION
public static final String SERIALIZED_NAME_AGE_VALIDATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISSUING_AUTHORITY
public static final String SERIALIZED_NAME_ISSUING_AUTHORITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
dataComparison
public DocumentBreakdown dataComparison(DocumentBreakdownDataComparison dataComparison)
-
getDataComparison
@Nullable public DocumentBreakdownDataComparison getDataComparison()
Get dataComparison- Returns:
- dataComparison
-
setDataComparison
public void setDataComparison(DocumentBreakdownDataComparison dataComparison)
-
dataValidation
public DocumentBreakdown dataValidation(DocumentBreakdownDataValidation dataValidation)
-
getDataValidation
@Nullable public DocumentBreakdownDataValidation getDataValidation()
Get dataValidation- Returns:
- dataValidation
-
setDataValidation
public void setDataValidation(DocumentBreakdownDataValidation dataValidation)
-
imageIntegrity
public DocumentBreakdown imageIntegrity(DocumentBreakdownImageIntegrity imageIntegrity)
-
getImageIntegrity
@Nullable public DocumentBreakdownImageIntegrity getImageIntegrity()
Get imageIntegrity- Returns:
- imageIntegrity
-
setImageIntegrity
public void setImageIntegrity(DocumentBreakdownImageIntegrity imageIntegrity)
-
visualAuthenticity
public DocumentBreakdown visualAuthenticity(DocumentBreakdownVisualAuthenticity visualAuthenticity)
-
getVisualAuthenticity
@Nullable public DocumentBreakdownVisualAuthenticity getVisualAuthenticity()
Get visualAuthenticity- Returns:
- visualAuthenticity
-
setVisualAuthenticity
public void setVisualAuthenticity(DocumentBreakdownVisualAuthenticity visualAuthenticity)
-
dataConsistency
public DocumentBreakdown dataConsistency(DocumentBreakdownDataConsistency dataConsistency)
-
getDataConsistency
@Nullable public DocumentBreakdownDataConsistency getDataConsistency()
Get dataConsistency- Returns:
- dataConsistency
-
setDataConsistency
public void setDataConsistency(DocumentBreakdownDataConsistency dataConsistency)
-
policeRecord
public DocumentBreakdown policeRecord(DocumentBreakdownPoliceRecord policeRecord)
-
getPoliceRecord
@Nullable public DocumentBreakdownPoliceRecord getPoliceRecord()
Get policeRecord- Returns:
- policeRecord
-
setPoliceRecord
public void setPoliceRecord(DocumentBreakdownPoliceRecord policeRecord)
-
compromisedDocument
public DocumentBreakdown compromisedDocument(DocumentBreakdownCompromisedDocument compromisedDocument)
-
getCompromisedDocument
@Nullable public DocumentBreakdownCompromisedDocument getCompromisedDocument()
Get compromisedDocument- Returns:
- compromisedDocument
-
setCompromisedDocument
public void setCompromisedDocument(DocumentBreakdownCompromisedDocument compromisedDocument)
-
ageValidation
public DocumentBreakdown ageValidation(DocumentBreakdownAgeValidation ageValidation)
-
getAgeValidation
@Nullable public DocumentBreakdownAgeValidation getAgeValidation()
Get ageValidation- Returns:
- ageValidation
-
setAgeValidation
public void setAgeValidation(DocumentBreakdownAgeValidation ageValidation)
-
issuingAuthority
public DocumentBreakdown issuingAuthority(DocumentBreakdownIssuingAuthority issuingAuthority)
-
getIssuingAuthority
@Nullable public DocumentBreakdownIssuingAuthority getIssuingAuthority()
Get issuingAuthority- Returns:
- issuingAuthority
-
setIssuingAuthority
public void setIssuingAuthority(DocumentBreakdownIssuingAuthority issuingAuthority)
-
putAdditionalProperty
public DocumentBreakdown 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 DocumentBreakdown 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 DocumentBreakdown
-
fromJson
public static DocumentBreakdown fromJson(String jsonString) throws IOException
Create an instance of DocumentBreakdown given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DocumentBreakdown
- Throws:
IOException- if the JSON string is invalid with respect to DocumentBreakdown
-
toJson
public String toJson()
Convert an instance of DocumentBreakdown to an JSON string- Returns:
- JSON string
-
-