Package com.onfido.model
Class PhotoAutoReasons
- java.lang.Object
-
- com.onfido.model.PhotoAutoReasons
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class PhotoAutoReasons extends Object
PhotoAutoReasons
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPhotoAutoReasons.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DIGITAL_TAMPERINGstatic StringSERIALIZED_NAME_EMULATORstatic StringSERIALIZED_NAME_FAKE_WEBCAMstatic StringSERIALIZED_NAME_REASONSstatic StringSERIALIZED_NAME_TIME_OF_CAPTURE
-
Constructor Summary
Constructors Constructor Description PhotoAutoReasons()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PhotoAutoReasonsdigitalTampering(String digitalTampering)PhotoAutoReasonsemulator(String emulator)booleanequals(Object o)PhotoAutoReasonsfakeWebcam(String fakeWebcam)static PhotoAutoReasonsfromJson(String jsonString)Create an instance of PhotoAutoReasons given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.StringgetDigitalTampering()Flags when evidence is found that the image was manipulated by Photoshop, or other software.StringgetEmulator()Flags when evidence is found that an Android emulator was used.StringgetFakeWebcam()Flags when evidence is found that a fake webcam was used.StringgetReasons()Additional comma separated details such as the exact digital tampering software used, or the name of the fake webcam.StringgetTimeOfCapture()Flags when evidence is found that the live photo was taken more than 24 hours before live photo upload.inthashCode()PhotoAutoReasonsputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.PhotoAutoReasonsreasons(String reasons)voidsetDigitalTampering(String digitalTampering)voidsetEmulator(String emulator)voidsetFakeWebcam(String fakeWebcam)voidsetReasons(String reasons)voidsetTimeOfCapture(String timeOfCapture)PhotoAutoReasonstimeOfCapture(String timeOfCapture)StringtoJson()Convert an instance of PhotoAutoReasons 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_DIGITAL_TAMPERING
public static final String SERIALIZED_NAME_DIGITAL_TAMPERING
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FAKE_WEBCAM
public static final String SERIALIZED_NAME_FAKE_WEBCAM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIME_OF_CAPTURE
public static final String SERIALIZED_NAME_TIME_OF_CAPTURE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMULATOR
public static final String SERIALIZED_NAME_EMULATOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REASONS
public static final String SERIALIZED_NAME_REASONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
digitalTampering
public PhotoAutoReasons digitalTampering(String digitalTampering)
-
getDigitalTampering
@Nullable public String getDigitalTampering()
Flags when evidence is found that the image was manipulated by Photoshop, or other software.- Returns:
- digitalTampering
-
setDigitalTampering
public void setDigitalTampering(String digitalTampering)
-
fakeWebcam
public PhotoAutoReasons fakeWebcam(String fakeWebcam)
-
getFakeWebcam
@Nullable public String getFakeWebcam()
Flags when evidence is found that a fake webcam was used.- Returns:
- fakeWebcam
-
setFakeWebcam
public void setFakeWebcam(String fakeWebcam)
-
timeOfCapture
public PhotoAutoReasons timeOfCapture(String timeOfCapture)
-
getTimeOfCapture
@Nullable public String getTimeOfCapture()
Flags when evidence is found that the live photo was taken more than 24 hours before live photo upload.- Returns:
- timeOfCapture
-
setTimeOfCapture
public void setTimeOfCapture(String timeOfCapture)
-
emulator
public PhotoAutoReasons emulator(String emulator)
-
getEmulator
@Nullable public String getEmulator()
Flags when evidence is found that an Android emulator was used.- Returns:
- emulator
-
setEmulator
public void setEmulator(String emulator)
-
reasons
public PhotoAutoReasons reasons(String reasons)
-
getReasons
@Nullable public String getReasons()
Additional comma separated details such as the exact digital tampering software used, or the name of the fake webcam.- Returns:
- reasons
-
setReasons
public void setReasons(String reasons)
-
putAdditionalProperty
public PhotoAutoReasons 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 PhotoAutoReasons 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 PhotoAutoReasons
-
fromJson
public static PhotoAutoReasons fromJson(String jsonString) throws IOException
Create an instance of PhotoAutoReasons given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PhotoAutoReasons
- Throws:
IOException- if the JSON string is invalid with respect to PhotoAutoReasons
-
toJson
public String toJson()
Convert an instance of PhotoAutoReasons to an JSON string- Returns:
- JSON string
-
-