Package com.onfido.model
Class FacialSimilarityReportShared
- java.lang.Object
-
- com.onfido.model.FacialSimilarityReportShared
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class FacialSimilarityReportShared extends Object
FacialSimilarityReportShared
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFacialSimilarityReportShared.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ID_PHOTOSstatic StringSERIALIZED_NAME_LIVE_PHOTOSstatic StringSERIALIZED_NAME_LIVE_VIDEOSstatic StringSERIALIZED_NAME_MOTION_CAPTURES
-
Constructor Summary
Constructors Constructor Description FacialSimilarityReportShared()
-
Method Summary
-
-
-
Field Detail
-
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
-
-
Method Detail
-
livePhotos
public FacialSimilarityReportShared livePhotos(List<FacialSimilarityReportMedia> livePhotos)
-
addLivePhotosItem
public FacialSimilarityReportShared 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 FacialSimilarityReportShared liveVideos(List<FacialSimilarityReportMedia> liveVideos)
-
addLiveVideosItem
public FacialSimilarityReportShared 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 FacialSimilarityReportShared motionCaptures(List<FacialSimilarityReportMedia> motionCaptures)
-
addMotionCapturesItem
public FacialSimilarityReportShared 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 FacialSimilarityReportShared idPhotos(List<FacialSimilarityReportMedia> idPhotos)
-
addIdPhotosItem
public FacialSimilarityReportShared 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)
-
putAdditionalProperty
public FacialSimilarityReportShared 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 FacialSimilarityReportShared 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 FacialSimilarityReportShared
-
fromJson
public static FacialSimilarityReportShared fromJson(String jsonString) throws IOException
Create an instance of FacialSimilarityReportShared given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FacialSimilarityReportShared
- Throws:
IOException- if the JSON string is invalid with respect to FacialSimilarityReportShared
-
toJson
public String toJson()
Convert an instance of FacialSimilarityReportShared to an JSON string- Returns:
- JSON string
-
-