Package com.onfido.model
Class DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle
- java.lang.Object
-
- com.onfido.model.DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle extends Object
Normalised data for passenger cars
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EXPIRY_DATEstatic StringSERIALIZED_NAME_IS_QUALIFIEDstatic StringSERIALIZED_NAME_OBTAINMENT_DATE
-
Constructor Summary
Constructors Constructor Description DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicleexpiryDate(LocalDate expiryDate)static DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehiclefromJson(String jsonString)Create an instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.LocalDategetExpiryDate()Date the class qualification expires, which may be different to doc expiryBooleangetIsQualified()Whether they are qualified for a passenger car, such as a “B” class in the UKLocalDategetObtainmentDate()Date the class qualification was obtainedinthashCode()DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicleisQualified(Boolean isQualified)DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicleobtainmentDate(LocalDate obtainmentDate)DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicleputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.voidsetExpiryDate(LocalDate expiryDate)voidsetIsQualified(Boolean isQualified)voidsetObtainmentDate(LocalDate obtainmentDate)StringtoJson()Convert an instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle 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_IS_QUALIFIED
public static final String SERIALIZED_NAME_IS_QUALIFIED
- 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
-
isQualified
public DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle isQualified(Boolean isQualified)
-
getIsQualified
@Nullable public Boolean getIsQualified()
Whether they are qualified for a passenger car, such as a “B” class in the UK- Returns:
- isQualified
-
setIsQualified
public void setIsQualified(Boolean isQualified)
-
obtainmentDate
public DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle obtainmentDate(LocalDate obtainmentDate)
-
getObtainmentDate
@Nullable public LocalDate getObtainmentDate()
Date the class qualification was obtained- Returns:
- obtainmentDate
-
setObtainmentDate
public void setObtainmentDate(LocalDate obtainmentDate)
-
expiryDate
public DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle expiryDate(LocalDate expiryDate)
-
getExpiryDate
@Nullable public LocalDate getExpiryDate()
Date the class qualification expires, which may be different to doc expiry- Returns:
- expiryDate
-
setExpiryDate
public void setExpiryDate(LocalDate expiryDate)
-
putAdditionalProperty
public DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle 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 DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle 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 DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle
-
fromJson
public static DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle fromJson(String jsonString) throws IOException
Create an instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle
- Throws:
IOException- if the JSON string is invalid with respect to DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle
-
toJson
public String toJson()
Convert an instance of DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle to an JSON string- Returns:
- JSON string
-
-