Package com.onfido.model
Class DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner
- java.lang.Object
-
- com.onfido.model.DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner extends Object
DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CATEGORYstatic StringSERIALIZED_NAME_CODESstatic StringSERIALIZED_NAME_EXPIRY_DATEstatic StringSERIALIZED_NAME_OBTAINMENT_DATE
-
Constructor Summary
Constructors Constructor Description DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInnercategory(String category)DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInnercodes(String codes)booleanequals(Object o)DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInnerexpiryDate(LocalDate expiryDate)static DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInnerfromJson(String jsonString)Create an instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.StringgetCategory()Vehicle class/categoryStringgetCodes()Special conditions driver must meetLocalDategetExpiryDate()Category expiry dateLocalDategetObtainmentDate()Category obtainment dateinthashCode()DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInnerobtainmentDate(LocalDate obtainmentDate)DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInnerputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.voidsetCategory(String category)voidsetCodes(String codes)voidsetExpiryDate(LocalDate expiryDate)voidsetObtainmentDate(LocalDate obtainmentDate)StringtoJson()Convert an instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CATEGORY
public static final String SERIALIZED_NAME_CATEGORY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CODES
public static final String SERIALIZED_NAME_CODES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OBTAINMENT_DATE
public static final String SERIALIZED_NAME_OBTAINMENT_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXPIRY_DATE
public static final String SERIALIZED_NAME_EXPIRY_DATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
category
public DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner category(String category)
-
setCategory
public void setCategory(String category)
-
codes
public DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner codes(String codes)
-
setCodes
public void setCodes(String codes)
-
obtainmentDate
public DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner obtainmentDate(LocalDate obtainmentDate)
-
getObtainmentDate
@Nullable public LocalDate getObtainmentDate()
Category obtainment date- Returns:
- obtainmentDate
-
setObtainmentDate
public void setObtainmentDate(LocalDate obtainmentDate)
-
expiryDate
public DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner expiryDate(LocalDate expiryDate)
-
setExpiryDate
public void setExpiryDate(LocalDate expiryDate)
-
putAdditionalProperty
public DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner 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 DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner 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 DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner
-
fromJson
public static DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner fromJson(String jsonString) throws IOException
Create an instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner
- Throws:
IOException- if the JSON string is invalid with respect to DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner
-
toJson
public String toJson()
Convert an instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner to an JSON string- Returns:
- JSON string
-
-