Package com.onfido.model
Class IndiaPanReport
- java.lang.Object
-
- com.onfido.model.IndiaPanReport
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class IndiaPanReport extends Object
IndiaPanReport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndiaPanReport.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BREAKDOWNstatic StringSERIALIZED_NAME_CHECK_IDstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_DOCUMENTSstatic StringSERIALIZED_NAME_HREFstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_PROPERTIESstatic StringSERIALIZED_NAME_RESULTstatic StringSERIALIZED_NAME_STATUSstatic StringSERIALIZED_NAME_SUB_RESULT
-
Constructor Summary
Constructors Constructor Description IndiaPanReport()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IndiaPanReportaddDocumentsItem(ReportDocument documentsItem)IndiaPanReportbreakdown(IndiaPanReportAllOfBreakdown breakdown)IndiaPanReportcheckId(UUID checkId)IndiaPanReportcreatedAt(OffsetDateTime createdAt)IndiaPanReportdocuments(List<ReportDocument> documents)booleanequals(Object o)static IndiaPanReportfromJson(String jsonString)Create an instance of IndiaPanReport given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.IndiaPanReportAllOfBreakdowngetBreakdown()Get breakdownUUIDgetCheckId()The ID of the check to which the report belongs.OffsetDateTimegetCreatedAt()The date and time at which the report was first initiated.List<ReportDocument>getDocuments()Array of objects with document ids that were used in the Onfido engine.StringgetHref()The API endpoint to retrieve the report.UUIDgetId()The unique identifier for the report.ReportNamegetName()Get nameIndiaPanReportAllOfPropertiesgetProperties()Get propertiesReportResultgetResult()Get resultReportStatusgetStatus()Get statusReportSubResultgetSubResult()Get subResultinthashCode()IndiaPanReporthref(String href)IndiaPanReportid(UUID id)IndiaPanReportname(ReportName name)IndiaPanReportproperties(IndiaPanReportAllOfProperties properties)IndiaPanReportputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.IndiaPanReportresult(ReportResult result)voidsetBreakdown(IndiaPanReportAllOfBreakdown breakdown)voidsetCheckId(UUID checkId)voidsetCreatedAt(OffsetDateTime createdAt)voidsetDocuments(List<ReportDocument> documents)voidsetHref(String href)voidsetId(UUID id)voidsetName(ReportName name)voidsetProperties(IndiaPanReportAllOfProperties properties)voidsetResult(ReportResult result)voidsetStatus(ReportStatus status)voidsetSubResult(ReportSubResult subResult)IndiaPanReportstatus(ReportStatus status)IndiaPanReportsubResult(ReportSubResult subResult)StringtoJson()Convert an instance of IndiaPanReport 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_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_HREF
public static final String SERIALIZED_NAME_HREF
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESULT
public static final String SERIALIZED_NAME_RESULT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUB_RESULT
public static final String SERIALIZED_NAME_SUB_RESULT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHECK_ID
public static final String SERIALIZED_NAME_CHECK_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENTS
public static final String SERIALIZED_NAME_DOCUMENTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BREAKDOWN
public static final String SERIALIZED_NAME_BREAKDOWN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROPERTIES
public static final String SERIALIZED_NAME_PROPERTIES
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public IndiaPanReport id(UUID id)
-
setId
public void setId(UUID id)
-
createdAt
public IndiaPanReport createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
The date and time at which the report was first initiated. Read-only.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
href
public IndiaPanReport href(String href)
-
getHref
@Nullable public String getHref()
The API endpoint to retrieve the report. Read-only.- Returns:
- href
-
setHref
public void setHref(String href)
-
status
public IndiaPanReport status(ReportStatus status)
-
getStatus
@Nullable public ReportStatus getStatus()
Get status- Returns:
- status
-
setStatus
public void setStatus(ReportStatus status)
-
result
public IndiaPanReport result(ReportResult result)
-
getResult
@Nullable public ReportResult getResult()
Get result- Returns:
- result
-
setResult
public void setResult(ReportResult result)
-
subResult
public IndiaPanReport subResult(ReportSubResult subResult)
-
getSubResult
@Nullable public ReportSubResult getSubResult()
Get subResult- Returns:
- subResult
-
setSubResult
public void setSubResult(ReportSubResult subResult)
-
checkId
public IndiaPanReport checkId(UUID checkId)
-
getCheckId
@Nullable public UUID getCheckId()
The ID of the check to which the report belongs. Read-only.- Returns:
- checkId
-
setCheckId
public void setCheckId(UUID checkId)
-
documents
public IndiaPanReport documents(List<ReportDocument> documents)
-
addDocumentsItem
public IndiaPanReport addDocumentsItem(ReportDocument documentsItem)
-
getDocuments
@Nullable public List<ReportDocument> getDocuments()
Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]- Returns:
- documents
-
setDocuments
public void setDocuments(List<ReportDocument> documents)
-
name
public IndiaPanReport name(ReportName name)
-
getName
@Nonnull public ReportName getName()
Get name- Returns:
- name
-
setName
public void setName(ReportName name)
-
breakdown
public IndiaPanReport breakdown(IndiaPanReportAllOfBreakdown breakdown)
-
getBreakdown
@Nullable public IndiaPanReportAllOfBreakdown getBreakdown()
Get breakdown- Returns:
- breakdown
-
setBreakdown
public void setBreakdown(IndiaPanReportAllOfBreakdown breakdown)
-
properties
public IndiaPanReport properties(IndiaPanReportAllOfProperties properties)
-
getProperties
@Nullable public IndiaPanReportAllOfProperties getProperties()
Get properties- Returns:
- properties
-
setProperties
public void setProperties(IndiaPanReportAllOfProperties properties)
-
putAdditionalProperty
public IndiaPanReport 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 IndiaPanReport 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 IndiaPanReport
-
fromJson
public static IndiaPanReport fromJson(String jsonString) throws IOException
Create an instance of IndiaPanReport given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of IndiaPanReport
- Throws:
IOException- if the JSON string is invalid with respect to IndiaPanReport
-
toJson
public String toJson()
Convert an instance of IndiaPanReport to an JSON string- Returns:
- JSON string
-
-