Package com.onfido.model
Class IdentityEnhancedBreakdown
- java.lang.Object
-
- com.onfido.model.IdentityEnhancedBreakdown
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class IdentityEnhancedBreakdown extends Object
IdentityEnhancedBreakdown
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentityEnhancedBreakdown.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ADDRESSstatic StringSERIALIZED_NAME_DATE_OF_BIRTHstatic StringSERIALIZED_NAME_MORTALITYstatic StringSERIALIZED_NAME_SOURCES
-
Constructor Summary
Constructors Constructor Description IdentityEnhancedBreakdown()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_SOURCES
public static final String SERIALIZED_NAME_SOURCES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDRESS
public static final String SERIALIZED_NAME_ADDRESS
- 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_MORTALITY
public static final String SERIALIZED_NAME_MORTALITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
sources
public IdentityEnhancedBreakdown sources(IdentityEnhancedBreakdownSources sources)
-
getSources
@Nullable public IdentityEnhancedBreakdownSources getSources()
Get sources- Returns:
- sources
-
setSources
public void setSources(IdentityEnhancedBreakdownSources sources)
-
address
public IdentityEnhancedBreakdown address(IdentityEnhancedBreakdownAddress address)
-
getAddress
@Nullable public IdentityEnhancedBreakdownAddress getAddress()
Get address- Returns:
- address
-
setAddress
public void setAddress(IdentityEnhancedBreakdownAddress address)
-
dateOfBirth
public IdentityEnhancedBreakdown dateOfBirth(IdentityEnhancedBreakdownDateOfBirth dateOfBirth)
-
getDateOfBirth
@Nullable public IdentityEnhancedBreakdownDateOfBirth getDateOfBirth()
Get dateOfBirth- Returns:
- dateOfBirth
-
setDateOfBirth
public void setDateOfBirth(IdentityEnhancedBreakdownDateOfBirth dateOfBirth)
-
mortality
public IdentityEnhancedBreakdown mortality(IdentityEnhancedBreakdownMortality mortality)
-
getMortality
@Nullable public IdentityEnhancedBreakdownMortality getMortality()
Get mortality- Returns:
- mortality
-
setMortality
public void setMortality(IdentityEnhancedBreakdownMortality mortality)
-
putAdditionalProperty
public IdentityEnhancedBreakdown 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 IdentityEnhancedBreakdown 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 IdentityEnhancedBreakdown
-
fromJson
public static IdentityEnhancedBreakdown fromJson(String jsonString) throws IOException
Create an instance of IdentityEnhancedBreakdown given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of IdentityEnhancedBreakdown
- Throws:
IOException- if the JSON string is invalid with respect to IdentityEnhancedBreakdown
-
toJson
public String toJson()
Convert an instance of IdentityEnhancedBreakdown to an JSON string- Returns:
- JSON string
-
-