Package com.onfido.model
Class UsDrivingLicenceBreakdownAddressBreakdown
- java.lang.Object
-
- com.onfido.model.UsDrivingLicenceBreakdownAddressBreakdown
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class UsDrivingLicenceBreakdownAddressBreakdown extends Object
UsDrivingLicenceBreakdownAddressBreakdown
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUsDrivingLicenceBreakdownAddressBreakdown.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CITYstatic StringSERIALIZED_NAME_LINE1static StringSERIALIZED_NAME_LINE2static StringSERIALIZED_NAME_STATE_CODEstatic StringSERIALIZED_NAME_ZIP4static StringSERIALIZED_NAME_ZIP5
-
Constructor Summary
Constructors Constructor Description UsDrivingLicenceBreakdownAddressBreakdown()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_CITY
public static final String SERIALIZED_NAME_CITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINE1
public static final String SERIALIZED_NAME_LINE1
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINE2
public static final String SERIALIZED_NAME_LINE2
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATE_CODE
public static final String SERIALIZED_NAME_STATE_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ZIP4
public static final String SERIALIZED_NAME_ZIP4
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ZIP5
public static final String SERIALIZED_NAME_ZIP5
- See Also:
- Constant Field Values
-
-
Method Detail
-
city
public UsDrivingLicenceBreakdownAddressBreakdown city(DocumentBreakdownDataComparisonBreakdownIssuingCountry city)
-
getCity
@Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getCity()
Get city- Returns:
- city
-
setCity
public void setCity(DocumentBreakdownDataComparisonBreakdownIssuingCountry city)
-
line1
public UsDrivingLicenceBreakdownAddressBreakdown line1(DocumentBreakdownDataComparisonBreakdownIssuingCountry line1)
-
getLine1
@Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getLine1()
Get line1- Returns:
- line1
-
setLine1
public void setLine1(DocumentBreakdownDataComparisonBreakdownIssuingCountry line1)
-
line2
public UsDrivingLicenceBreakdownAddressBreakdown line2(DocumentBreakdownDataComparisonBreakdownIssuingCountry line2)
-
getLine2
@Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getLine2()
Get line2- Returns:
- line2
-
setLine2
public void setLine2(DocumentBreakdownDataComparisonBreakdownIssuingCountry line2)
-
stateCode
public UsDrivingLicenceBreakdownAddressBreakdown stateCode(DocumentBreakdownDataComparisonBreakdownIssuingCountry stateCode)
-
getStateCode
@Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getStateCode()
Get stateCode- Returns:
- stateCode
-
setStateCode
public void setStateCode(DocumentBreakdownDataComparisonBreakdownIssuingCountry stateCode)
-
zip4
public UsDrivingLicenceBreakdownAddressBreakdown zip4(DocumentBreakdownDataComparisonBreakdownIssuingCountry zip4)
-
getZip4
@Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getZip4()
Get zip4- Returns:
- zip4
-
setZip4
public void setZip4(DocumentBreakdownDataComparisonBreakdownIssuingCountry zip4)
-
zip5
public UsDrivingLicenceBreakdownAddressBreakdown zip5(DocumentBreakdownDataComparisonBreakdownIssuingCountry zip5)
-
getZip5
@Nullable public DocumentBreakdownDataComparisonBreakdownIssuingCountry getZip5()
Get zip5- Returns:
- zip5
-
setZip5
public void setZip5(DocumentBreakdownDataComparisonBreakdownIssuingCountry zip5)
-
putAdditionalProperty
public UsDrivingLicenceBreakdownAddressBreakdown 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 UsDrivingLicenceBreakdownAddressBreakdown 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 UsDrivingLicenceBreakdownAddressBreakdown
-
fromJson
public static UsDrivingLicenceBreakdownAddressBreakdown fromJson(String jsonString) throws IOException
Create an instance of UsDrivingLicenceBreakdownAddressBreakdown given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UsDrivingLicenceBreakdownAddressBreakdown
- Throws:
IOException- if the JSON string is invalid with respect to UsDrivingLicenceBreakdownAddressBreakdown
-
toJson
public String toJson()
Convert an instance of UsDrivingLicenceBreakdownAddressBreakdown to an JSON string- Returns:
- JSON string
-
-