Package com.onfido.model
Class VideoReasons
- java.lang.Object
-
- com.onfido.model.VideoReasons
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class VideoReasons extends Object
VideoReasons
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVideoReasons.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CHALLENGE_REUSEstatic StringSERIALIZED_NAME_EMULATORstatic StringSERIALIZED_NAME_FAKE_WEBCAMstatic StringSERIALIZED_NAME_REASONS
-
Constructor Summary
Constructors Constructor Description VideoReasons()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VideoReasonschallengeReuse(String challengeReuse)VideoReasonsemulator(String emulator)booleanequals(Object o)VideoReasonsfakeWebcam(String fakeWebcam)static VideoReasonsfromJson(String jsonString)Create an instance of VideoReasons given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.StringgetChallengeReuse()Flags when evidence is found that the video was uploaded in an attempt to circumvent the randomness of the speaking and head turn challengesStringgetEmulator()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 name of the fake webcam.inthashCode()VideoReasonsputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.VideoReasonsreasons(String reasons)voidsetChallengeReuse(String challengeReuse)voidsetEmulator(String emulator)voidsetFakeWebcam(String fakeWebcam)voidsetReasons(String reasons)StringtoJson()Convert an instance of VideoReasons 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_FAKE_WEBCAM
public static final String SERIALIZED_NAME_FAKE_WEBCAM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHALLENGE_REUSE
public static final String SERIALIZED_NAME_CHALLENGE_REUSE
- 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
-
fakeWebcam
public VideoReasons 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)
-
challengeReuse
public VideoReasons challengeReuse(String challengeReuse)
-
getChallengeReuse
@Nullable public String getChallengeReuse()
Flags when evidence is found that the video was uploaded in an attempt to circumvent the randomness of the speaking and head turn challenges- Returns:
- challengeReuse
-
setChallengeReuse
public void setChallengeReuse(String challengeReuse)
-
emulator
public VideoReasons 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 VideoReasons reasons(String reasons)
-
getReasons
@Nullable public String getReasons()
Additional comma separated details such as the name of the fake webcam.- Returns:
- reasons
-
setReasons
public void setReasons(String reasons)
-
putAdditionalProperty
public VideoReasons 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 VideoReasons 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 VideoReasons
-
fromJson
public static VideoReasons fromJson(String jsonString) throws IOException
Create an instance of VideoReasons given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VideoReasons
- Throws:
IOException- if the JSON string is invalid with respect to VideoReasons
-
toJson
public String toJson()
Convert an instance of VideoReasons to an JSON string- Returns:
- JSON string
-
-