Package com.onfido.model
Class RepeatAttemptsListRepeatAttemptsInner
- java.lang.Object
-
- com.onfido.model.RepeatAttemptsListRepeatAttemptsInner
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class RepeatAttemptsListRepeatAttemptsInner extends Object
RepeatAttemptsListRepeatAttemptsInner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRepeatAttemptsListRepeatAttemptsInner.CustomTypeAdapterFactorystatic classRepeatAttemptsListRepeatAttemptsInner.DateOfBirthEnumWhether the dates of birth are exactly the same or are different.static classRepeatAttemptsListRepeatAttemptsInner.NamesEnumWhether the names are exactly the same or are different.static classRepeatAttemptsListRepeatAttemptsInner.ResultEnumThe report result of this attempt.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_APPLICANT_IDstatic StringSERIALIZED_NAME_COMPLETED_ATstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_DATE_OF_BIRTHstatic StringSERIALIZED_NAME_NAMESstatic StringSERIALIZED_NAME_REPORT_IDstatic StringSERIALIZED_NAME_RESULT
-
Constructor Summary
Constructors Constructor Description RepeatAttemptsListRepeatAttemptsInner()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_REPORT_ID
public static final String SERIALIZED_NAME_REPORT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APPLICANT_ID
public static final String SERIALIZED_NAME_APPLICANT_ID
- 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_NAMES
public static final String SERIALIZED_NAME_NAMES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESULT
public static final String SERIALIZED_NAME_RESULT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMPLETED_AT
public static final String SERIALIZED_NAME_COMPLETED_AT
- See Also:
- Constant Field Values
-
-
Method Detail
-
reportId
public RepeatAttemptsListRepeatAttemptsInner reportId(UUID reportId)
-
getReportId
@Nullable public UUID getReportId()
The unique identifier of the matching Document report.- Returns:
- reportId
-
setReportId
public void setReportId(UUID reportId)
-
applicantId
public RepeatAttemptsListRepeatAttemptsInner applicantId(UUID applicantId)
-
getApplicantId
@Nullable public UUID getApplicantId()
The unique identifier of the applicant for the matching Document report.- Returns:
- applicantId
-
setApplicantId
public void setApplicantId(UUID applicantId)
-
dateOfBirth
public RepeatAttemptsListRepeatAttemptsInner dateOfBirth(RepeatAttemptsListRepeatAttemptsInner.DateOfBirthEnum dateOfBirth)
-
getDateOfBirth
@Nullable public RepeatAttemptsListRepeatAttemptsInner.DateOfBirthEnum getDateOfBirth()
Whether the dates of birth are exactly the same or are different.- Returns:
- dateOfBirth
-
setDateOfBirth
public void setDateOfBirth(RepeatAttemptsListRepeatAttemptsInner.DateOfBirthEnum dateOfBirth)
-
names
public RepeatAttemptsListRepeatAttemptsInner names(RepeatAttemptsListRepeatAttemptsInner.NamesEnum names)
-
getNames
@Nullable public RepeatAttemptsListRepeatAttemptsInner.NamesEnum getNames()
Whether the names are exactly the same or are different.- Returns:
- names
-
setNames
public void setNames(RepeatAttemptsListRepeatAttemptsInner.NamesEnum names)
-
result
public RepeatAttemptsListRepeatAttemptsInner result(RepeatAttemptsListRepeatAttemptsInner.ResultEnum result)
-
getResult
@Nullable public RepeatAttemptsListRepeatAttemptsInner.ResultEnum getResult()
The report result of this attempt.- Returns:
- result
-
setResult
public void setResult(RepeatAttemptsListRepeatAttemptsInner.ResultEnum result)
-
createdAt
public RepeatAttemptsListRepeatAttemptsInner createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
When the matching report was created.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
completedAt
public RepeatAttemptsListRepeatAttemptsInner completedAt(OffsetDateTime completedAt)
-
getCompletedAt
@Nullable public OffsetDateTime getCompletedAt()
When the matching report was completed.- Returns:
- completedAt
-
setCompletedAt
public void setCompletedAt(OffsetDateTime completedAt)
-
putAdditionalProperty
public RepeatAttemptsListRepeatAttemptsInner 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 RepeatAttemptsListRepeatAttemptsInner 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 RepeatAttemptsListRepeatAttemptsInner
-
fromJson
public static RepeatAttemptsListRepeatAttemptsInner fromJson(String jsonString) throws IOException
Create an instance of RepeatAttemptsListRepeatAttemptsInner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RepeatAttemptsListRepeatAttemptsInner
- Throws:
IOException- if the JSON string is invalid with respect to RepeatAttemptsListRepeatAttemptsInner
-
toJson
public String toJson()
Convert an instance of RepeatAttemptsListRepeatAttemptsInner to an JSON string- Returns:
- JSON string
-
-