Package com.onfido.model
Class FacialSimilarityPhotoBreakdown
- java.lang.Object
-
- com.onfido.model.FacialSimilarityPhotoBreakdown
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class FacialSimilarityPhotoBreakdown extends Object
FacialSimilarityPhotoBreakdown
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFacialSimilarityPhotoBreakdown.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_FACE_COMPARISONstatic StringSERIALIZED_NAME_IMAGE_INTEGRITYstatic StringSERIALIZED_NAME_VISUAL_AUTHENTICITY
-
Constructor Summary
Constructors Constructor Description FacialSimilarityPhotoBreakdown()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_FACE_COMPARISON
public static final String SERIALIZED_NAME_FACE_COMPARISON
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IMAGE_INTEGRITY
public static final String SERIALIZED_NAME_IMAGE_INTEGRITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VISUAL_AUTHENTICITY
public static final String SERIALIZED_NAME_VISUAL_AUTHENTICITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
faceComparison
public FacialSimilarityPhotoBreakdown faceComparison(FacialSimilarityPhotoBreakdownFaceComparison faceComparison)
-
getFaceComparison
@Nullable public FacialSimilarityPhotoBreakdownFaceComparison getFaceComparison()
Get faceComparison- Returns:
- faceComparison
-
setFaceComparison
public void setFaceComparison(FacialSimilarityPhotoBreakdownFaceComparison faceComparison)
-
imageIntegrity
public FacialSimilarityPhotoBreakdown imageIntegrity(FacialSimilarityPhotoBreakdownImageIntegrity imageIntegrity)
-
getImageIntegrity
@Nullable public FacialSimilarityPhotoBreakdownImageIntegrity getImageIntegrity()
Get imageIntegrity- Returns:
- imageIntegrity
-
setImageIntegrity
public void setImageIntegrity(FacialSimilarityPhotoBreakdownImageIntegrity imageIntegrity)
-
visualAuthenticity
public FacialSimilarityPhotoBreakdown visualAuthenticity(FacialSimilarityPhotoBreakdownVisualAuthenticity visualAuthenticity)
-
getVisualAuthenticity
@Nullable public FacialSimilarityPhotoBreakdownVisualAuthenticity getVisualAuthenticity()
Get visualAuthenticity- Returns:
- visualAuthenticity
-
setVisualAuthenticity
public void setVisualAuthenticity(FacialSimilarityPhotoBreakdownVisualAuthenticity visualAuthenticity)
-
putAdditionalProperty
public FacialSimilarityPhotoBreakdown 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 FacialSimilarityPhotoBreakdown 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 FacialSimilarityPhotoBreakdown
-
fromJson
public static FacialSimilarityPhotoBreakdown fromJson(String jsonString) throws IOException
Create an instance of FacialSimilarityPhotoBreakdown given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FacialSimilarityPhotoBreakdown
- Throws:
IOException- if the JSON string is invalid with respect to FacialSimilarityPhotoBreakdown
-
toJson
public String toJson()
Convert an instance of FacialSimilarityPhotoBreakdown to an JSON string- Returns:
- JSON string
-
-