Package com.onfido.model
Class FacialSimilarityPhotoReport
- java.lang.Object
-
- com.onfido.model.FacialSimilarityPhotoReport
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class FacialSimilarityPhotoReport extends Object
FacialSimilarityPhotoReport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFacialSimilarityPhotoReport.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_ID_PHOTOSstatic StringSERIALIZED_NAME_LIVE_PHOTOSstatic StringSERIALIZED_NAME_LIVE_VIDEOSstatic StringSERIALIZED_NAME_MOTION_CAPTURESstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_PROPERTIESstatic StringSERIALIZED_NAME_RESULTstatic StringSERIALIZED_NAME_STATUSstatic StringSERIALIZED_NAME_SUB_RESULT
-
Constructor Summary
Constructors Constructor Description FacialSimilarityPhotoReport()
-
Method Summary
-
-
-
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_LIVE_PHOTOS
public static final String SERIALIZED_NAME_LIVE_PHOTOS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LIVE_VIDEOS
public static final String SERIALIZED_NAME_LIVE_VIDEOS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MOTION_CAPTURES
public static final String SERIALIZED_NAME_MOTION_CAPTURES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID_PHOTOS
public static final String SERIALIZED_NAME_ID_PHOTOS
- 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 FacialSimilarityPhotoReport id(UUID id)
-
setId
public void setId(UUID id)
-
createdAt
public FacialSimilarityPhotoReport 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 FacialSimilarityPhotoReport 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 FacialSimilarityPhotoReport status(ReportStatus status)
-
getStatus
@Nullable public ReportStatus getStatus()
Get status- Returns:
- status
-
setStatus
public void setStatus(ReportStatus status)
-
result
public FacialSimilarityPhotoReport result(ReportResult result)
-
getResult
@Nullable public ReportResult getResult()
Get result- Returns:
- result
-
setResult
public void setResult(ReportResult result)
-
subResult
public FacialSimilarityPhotoReport subResult(ReportSubResult subResult)
-
getSubResult
@Nullable public ReportSubResult getSubResult()
Get subResult- Returns:
- subResult
-
setSubResult
public void setSubResult(ReportSubResult subResult)
-
checkId
public FacialSimilarityPhotoReport 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 FacialSimilarityPhotoReport documents(List<ReportDocument> documents)
-
addDocumentsItem
public FacialSimilarityPhotoReport 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 FacialSimilarityPhotoReport name(ReportName name)
-
getName
@Nonnull public ReportName getName()
Get name- Returns:
- name
-
setName
public void setName(ReportName name)
-
livePhotos
public FacialSimilarityPhotoReport livePhotos(List<FacialSimilarityReportMedia> livePhotos)
-
addLivePhotosItem
public FacialSimilarityPhotoReport addLivePhotosItem(FacialSimilarityReportMedia livePhotosItem)
-
getLivePhotos
@Nullable public List<FacialSimilarityReportMedia> getLivePhotos()
Array of objects with live photo ids that were used in the Onfido engine.- Returns:
- livePhotos
-
setLivePhotos
public void setLivePhotos(List<FacialSimilarityReportMedia> livePhotos)
-
liveVideos
public FacialSimilarityPhotoReport liveVideos(List<FacialSimilarityReportMedia> liveVideos)
-
addLiveVideosItem
public FacialSimilarityPhotoReport addLiveVideosItem(FacialSimilarityReportMedia liveVideosItem)
-
getLiveVideos
@Nullable public List<FacialSimilarityReportMedia> getLiveVideos()
Array of objects with live video ids that were used in the Onfido engine.- Returns:
- liveVideos
-
setLiveVideos
public void setLiveVideos(List<FacialSimilarityReportMedia> liveVideos)
-
motionCaptures
public FacialSimilarityPhotoReport motionCaptures(List<FacialSimilarityReportMedia> motionCaptures)
-
addMotionCapturesItem
public FacialSimilarityPhotoReport addMotionCapturesItem(FacialSimilarityReportMedia motionCapturesItem)
-
getMotionCaptures
@Nullable public List<FacialSimilarityReportMedia> getMotionCaptures()
Array of objects with motion capture ids that were used in the Onfido engine.- Returns:
- motionCaptures
-
setMotionCaptures
public void setMotionCaptures(List<FacialSimilarityReportMedia> motionCaptures)
-
idPhotos
public FacialSimilarityPhotoReport idPhotos(List<FacialSimilarityReportMedia> idPhotos)
-
addIdPhotosItem
public FacialSimilarityPhotoReport addIdPhotosItem(FacialSimilarityReportMedia idPhotosItem)
-
getIdPhotos
@Nullable public List<FacialSimilarityReportMedia> getIdPhotos()
Array of objects with id photo ids that were used in the Onfido engine.- Returns:
- idPhotos
-
setIdPhotos
public void setIdPhotos(List<FacialSimilarityReportMedia> idPhotos)
-
breakdown
public FacialSimilarityPhotoReport breakdown(FacialSimilarityPhotoBreakdown breakdown)
-
getBreakdown
@Nullable public FacialSimilarityPhotoBreakdown getBreakdown()
Get breakdown- Returns:
- breakdown
-
setBreakdown
public void setBreakdown(FacialSimilarityPhotoBreakdown breakdown)
-
properties
public FacialSimilarityPhotoReport properties(FacialSimilarityPhotoProperties properties)
-
getProperties
@Nullable public FacialSimilarityPhotoProperties getProperties()
Get properties- Returns:
- properties
-
setProperties
public void setProperties(FacialSimilarityPhotoProperties properties)
-
putAdditionalProperty
public FacialSimilarityPhotoReport 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 FacialSimilarityPhotoReport 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 FacialSimilarityPhotoReport
-
fromJson
public static FacialSimilarityPhotoReport fromJson(String jsonString) throws IOException
Create an instance of FacialSimilarityPhotoReport given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FacialSimilarityPhotoReport
- Throws:
IOException- if the JSON string is invalid with respect to FacialSimilarityPhotoReport
-
toJson
public String toJson()
Convert an instance of FacialSimilarityPhotoReport to an JSON string- Returns:
- JSON string
-
-