Package com.onfido.model
Class UsDrivingLicenceBreakdownDocumentBreakdown
- java.lang.Object
-
- com.onfido.model.UsDrivingLicenceBreakdownDocumentBreakdown
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class UsDrivingLicenceBreakdownDocumentBreakdown extends Object
UsDrivingLicenceBreakdownDocumentBreakdown
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUsDrivingLicenceBreakdownDocumentBreakdown.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CATEGORYstatic StringSERIALIZED_NAME_DOCUMENT_NUMBERstatic StringSERIALIZED_NAME_EXPIRATION_DATEstatic StringSERIALIZED_NAME_ISSUE_DATE
-
Constructor Summary
Constructors Constructor Description UsDrivingLicenceBreakdownDocumentBreakdown()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_CATEGORY
public static final String SERIALIZED_NAME_CATEGORY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXPIRATION_DATE
public static final String SERIALIZED_NAME_EXPIRATION_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISSUE_DATE
public static final String SERIALIZED_NAME_ISSUE_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENT_NUMBER
public static final String SERIALIZED_NAME_DOCUMENT_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
category
public UsDrivingLicenceBreakdownDocumentBreakdown category(DocumentBreakdownDataComparisonBreakdownIssuingCountry category)
-
getCategory
@Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getCategory()
Get category- Returns:
- category
-
setCategory
public void setCategory(DocumentBreakdownDataComparisonBreakdownIssuingCountry category)
-
expirationDate
public UsDrivingLicenceBreakdownDocumentBreakdown expirationDate(DocumentBreakdownDataComparisonBreakdownIssuingCountry expirationDate)
-
getExpirationDate
@Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getExpirationDate()
Get expirationDate- Returns:
- expirationDate
-
setExpirationDate
public void setExpirationDate(DocumentBreakdownDataComparisonBreakdownIssuingCountry expirationDate)
-
issueDate
public UsDrivingLicenceBreakdownDocumentBreakdown issueDate(DocumentBreakdownDataComparisonBreakdownIssuingCountry issueDate)
-
getIssueDate
@Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getIssueDate()
Get issueDate- Returns:
- issueDate
-
setIssueDate
public void setIssueDate(DocumentBreakdownDataComparisonBreakdownIssuingCountry issueDate)
-
documentNumber
public UsDrivingLicenceBreakdownDocumentBreakdown documentNumber(DocumentBreakdownDataComparisonBreakdownIssuingCountry documentNumber)
-
getDocumentNumber
@Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getDocumentNumber()
Get documentNumber- Returns:
- documentNumber
-
setDocumentNumber
public void setDocumentNumber(DocumentBreakdownDataComparisonBreakdownIssuingCountry documentNumber)
-
putAdditionalProperty
public UsDrivingLicenceBreakdownDocumentBreakdown 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 UsDrivingLicenceBreakdownDocumentBreakdown 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 UsDrivingLicenceBreakdownDocumentBreakdown
-
fromJson
public static UsDrivingLicenceBreakdownDocumentBreakdown fromJson(String jsonString) throws IOException
Create an instance of UsDrivingLicenceBreakdownDocumentBreakdown given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UsDrivingLicenceBreakdownDocumentBreakdown
- Throws:
IOException- if the JSON string is invalid with respect to UsDrivingLicenceBreakdownDocumentBreakdown
-
toJson
public String toJson()
Convert an instance of UsDrivingLicenceBreakdownDocumentBreakdown to an JSON string- Returns:
- JSON string
-
-