Class CIPPhoto
java.lang.Object
markets.alpaca.client.openapi.broker.model.CIPPhoto
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CIPPhoto
extends Object
implements Serializable
Represents the results of checking a Photo for CIPInfo
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumOverall status of the check. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfaceComparison(String faceComparison) faceComparisonBreakdown(String faceComparisonBreakdown) static CIPPhotoCreate an instance of CIPPhoto given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.datetime of when the check happenedThe result of the check.a json object representing the breakdown of sub-checks done in `face_comparison`.getId()Your internal ID of the checkThe result of the check.a json object representing the breakdown of sub-checks done in `image_integrity`.The result of the check.Overall status of the check.The result of the check.a json object representing the breakdown of sub-checks don in `visual_authenticity`.inthashCode()imageIntegrity(String imageIntegrity) imageIntegrityBreakdown(String imageIntegrityBreakdown) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(String createdAt) voidsetFaceComparison(String faceComparison) voidsetFaceComparisonBreakdown(String faceComparisonBreakdown) voidvoidsetImageIntegrity(String imageIntegrity) voidsetImageIntegrityBreakdown(String imageIntegrityBreakdown) voidvoidsetStatus(CIPPhoto.StatusEnum status) voidsetVisualAuthenticity(String visualAuthenticity) voidsetVisualAuthenticityBreakdown(String visualAuthenticityBreakdown) status(CIPPhoto.StatusEnum status) toJson()Convert an instance of CIPPhoto to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundvisualAuthenticity(String visualAuthenticity) visualAuthenticityBreakdown(String visualAuthenticityBreakdown)
-
Field Details
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_FACE_COMPARISON
- See Also:
-
SERIALIZED_NAME_FACE_COMPARISON_BREAKDOWN
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_IMAGE_INTEGRITY
- See Also:
-
SERIALIZED_NAME_IMAGE_INTEGRITY_BREAKDOWN
- See Also:
-
SERIALIZED_NAME_RESULT
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_VISUAL_AUTHENTICITY
- See Also:
-
SERIALIZED_NAME_VISUAL_AUTHENTICITY_BREAKDOWN
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CIPPhoto
public CIPPhoto()
-
-
Method Details
-
createdAt
-
getCreatedAt
datetime of when the check happened- Returns:
- createdAt
-
setCreatedAt
-
faceComparison
-
getFaceComparison
The result of the check. Either `clear` or `consider`.- Returns:
- faceComparison
-
setFaceComparison
-
faceComparisonBreakdown
-
getFaceComparisonBreakdown
a json object representing the breakdown of sub-checks done in `face_comparison`. Example: {\"face_match\":{\"result\": \"clear\",\"properties\":{\"score\": \"80\"}}}- Returns:
- faceComparisonBreakdown
-
setFaceComparisonBreakdown
-
id
-
getId
Your internal ID of the check- Returns:
- id
-
setId
-
imageIntegrity
-
getImageIntegrity
The result of the check. Either `clear` or `consider`.- Returns:
- imageIntegrity
-
setImageIntegrity
-
imageIntegrityBreakdown
-
getImageIntegrityBreakdown
a json object representing the breakdown of sub-checks done in `image_integrity`. Example {\"face_detected\":{\"result\": \"clear\"},\"source_integrity\": {\"result\": \"clear\"}}- Returns:
- imageIntegrityBreakdown
-
setImageIntegrityBreakdown
-
result
-
getResult
The result of the check. Either `clear` or `consider`.- Returns:
- result
-
setResult
-
status
-
getStatus
Overall status of the check. Either `complete` or `withdrawn`.- Returns:
- status
-
setStatus
-
visualAuthenticity
-
getVisualAuthenticity
The result of the check. Either `clear` or `consider`.- Returns:
- visualAuthenticity
-
setVisualAuthenticity
-
visualAuthenticityBreakdown
-
getVisualAuthenticityBreakdown
a json object representing the breakdown of sub-checks don in `visual_authenticity`. Example {\"spoofing_detection\": {\"result\": \"clear\",\"properties\": {\"score\": \"26\"}}}}- Returns:
- visualAuthenticityBreakdown
-
setVisualAuthenticityBreakdown
-
putAdditionalProperty
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 CIPPhoto instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates 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 CIPPhoto
-
fromJson
Create an instance of CIPPhoto given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CIPPhoto
- Throws:
IOException- if the JSON string is invalid with respect to CIPPhoto
-
toJson
Convert an instance of CIPPhoto to an JSON string- Returns:
- JSON string
-