Package com.onfido.model
Class KnownFacesReport
- java.lang.Object
-
- com.onfido.model.KnownFacesReport
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class KnownFacesReport extends Object
KnownFacesReport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKnownFacesReport.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 KnownFacesReport()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KnownFacesReportaddDocumentsItem(ReportDocument documentsItem)KnownFacesReportbreakdown(KnownFacesBreakdown breakdown)KnownFacesReportcheckId(UUID checkId)KnownFacesReportcreatedAt(OffsetDateTime createdAt)KnownFacesReportdocuments(List<ReportDocument> documents)booleanequals(Object o)static KnownFacesReportfromJson(String jsonString)Create an instance of KnownFacesReport given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.KnownFacesBreakdowngetBreakdown()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 nameKnownFacesPropertiesgetProperties()Get propertiesReportResultgetResult()Get resultReportStatusgetStatus()Get statusReportSubResultgetSubResult()Get subResultinthashCode()KnownFacesReporthref(String href)KnownFacesReportid(UUID id)KnownFacesReportname(ReportName name)KnownFacesReportproperties(KnownFacesProperties properties)KnownFacesReportputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.KnownFacesReportresult(ReportResult result)voidsetBreakdown(KnownFacesBreakdown breakdown)voidsetCheckId(UUID checkId)voidsetCreatedAt(OffsetDateTime createdAt)voidsetDocuments(List<ReportDocument> documents)voidsetHref(String href)voidsetId(UUID id)voidsetName(ReportName name)voidsetProperties(KnownFacesProperties properties)voidsetResult(ReportResult result)voidsetStatus(ReportStatus status)voidsetSubResult(ReportSubResult subResult)KnownFacesReportstatus(ReportStatus status)KnownFacesReportsubResult(ReportSubResult subResult)StringtoJson()Convert an instance of KnownFacesReport 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 KnownFacesReport id(UUID id)
-
setId
public void setId(UUID id)
-
createdAt
public KnownFacesReport 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 KnownFacesReport 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 KnownFacesReport status(ReportStatus status)
-
getStatus
@Nullable public ReportStatus getStatus()
Get status- Returns:
- status
-
setStatus
public void setStatus(ReportStatus status)
-
result
public KnownFacesReport result(ReportResult result)
-
getResult
@Nullable public ReportResult getResult()
Get result- Returns:
- result
-
setResult
public void setResult(ReportResult result)
-
subResult
public KnownFacesReport subResult(ReportSubResult subResult)
-
getSubResult
@Nullable public ReportSubResult getSubResult()
Get subResult- Returns:
- subResult
-
setSubResult
public void setSubResult(ReportSubResult subResult)
-
checkId
public KnownFacesReport 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 KnownFacesReport documents(List<ReportDocument> documents)
-
addDocumentsItem
public KnownFacesReport 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 KnownFacesReport name(ReportName name)
-
getName
@Nonnull public ReportName getName()
Get name- Returns:
- name
-
setName
public void setName(ReportName name)
-
breakdown
public KnownFacesReport breakdown(KnownFacesBreakdown breakdown)
-
getBreakdown
@Nullable public KnownFacesBreakdown getBreakdown()
Get breakdown- Returns:
- breakdown
-
setBreakdown
public void setBreakdown(KnownFacesBreakdown breakdown)
-
properties
public KnownFacesReport properties(KnownFacesProperties properties)
-
getProperties
@Nullable public KnownFacesProperties getProperties()
Get properties- Returns:
- properties
-
setProperties
public void setProperties(KnownFacesProperties properties)
-
putAdditionalProperty
public KnownFacesReport 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 KnownFacesReport 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 KnownFacesReport
-
fromJson
public static KnownFacesReport fromJson(String jsonString) throws IOException
Create an instance of KnownFacesReport given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of KnownFacesReport
- Throws:
IOException- if the JSON string is invalid with respect to KnownFacesReport
-
toJson
public String toJson()
Convert an instance of KnownFacesReport to an JSON string- Returns:
- JSON string
-
-