Package com.onfido.model
Class UsDrivingLicenceBreakdown
- java.lang.Object
-
- com.onfido.model.UsDrivingLicenceBreakdown
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class UsDrivingLicenceBreakdown extends Object
UsDrivingLicenceBreakdown
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUsDrivingLicenceBreakdown.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ADDRESSstatic StringSERIALIZED_NAME_DOCUMENTstatic StringSERIALIZED_NAME_PERSONAL
-
Constructor Summary
Constructors Constructor Description UsDrivingLicenceBreakdown()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_DOCUMENT
public static final String SERIALIZED_NAME_DOCUMENT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDRESS
public static final String SERIALIZED_NAME_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PERSONAL
public static final String SERIALIZED_NAME_PERSONAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
document
public UsDrivingLicenceBreakdown document(UsDrivingLicenceBreakdownDocument document)
-
getDocument
@Nullable public UsDrivingLicenceBreakdownDocument getDocument()
Get document- Returns:
- document
-
setDocument
public void setDocument(UsDrivingLicenceBreakdownDocument document)
-
address
public UsDrivingLicenceBreakdown address(UsDrivingLicenceBreakdownAddress address)
-
getAddress
@Nullable public UsDrivingLicenceBreakdownAddress getAddress()
Get address- Returns:
- address
-
setAddress
public void setAddress(UsDrivingLicenceBreakdownAddress address)
-
personal
public UsDrivingLicenceBreakdown personal(UsDrivingLicenceBreakdownPersonal personal)
-
getPersonal
@Nullable public UsDrivingLicenceBreakdownPersonal getPersonal()
Get personal- Returns:
- personal
-
setPersonal
public void setPersonal(UsDrivingLicenceBreakdownPersonal personal)
-
putAdditionalProperty
public UsDrivingLicenceBreakdown 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 UsDrivingLicenceBreakdown 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 UsDrivingLicenceBreakdown
-
fromJson
public static UsDrivingLicenceBreakdown fromJson(String jsonString) throws IOException
Create an instance of UsDrivingLicenceBreakdown given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UsDrivingLicenceBreakdown
- Throws:
IOException- if the JSON string is invalid with respect to UsDrivingLicenceBreakdown
-
toJson
public String toJson()
Convert an instance of UsDrivingLicenceBreakdown to an JSON string- Returns:
- JSON string
-
-