Package com.onfido.model
Class DocumentIQReasons
- java.lang.Object
-
- com.onfido.model.DocumentIQReasons
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class DocumentIQReasons extends Object
DocumentIQReasons
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentIQReasons.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BLURRED_PHOTOstatic StringSERIALIZED_NAME_COVERED_PHOTOstatic StringSERIALIZED_NAME_CUT_OFF_DOCUMENTstatic StringSERIALIZED_NAME_DAMAGED_DOCUMENTstatic StringSERIALIZED_NAME_DARK_PHOTOstatic StringSERIALIZED_NAME_GLARE_ON_PHOTOstatic StringSERIALIZED_NAME_INCORRECT_SIDEstatic StringSERIALIZED_NAME_NO_DOCUMENT_IN_IMAGEstatic StringSERIALIZED_NAME_OTHER_PHOTO_ISSUEstatic StringSERIALIZED_NAME_TWO_DOCUMENTS_UPLOADED
-
Constructor Summary
Constructors Constructor Description DocumentIQReasons()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentIQReasonsblurredPhoto(String blurredPhoto)DocumentIQReasonscoveredPhoto(String coveredPhoto)DocumentIQReasonscutOffDocument(String cutOffDocument)DocumentIQReasonsdamagedDocument(String damagedDocument)DocumentIQReasonsdarkPhoto(String darkPhoto)booleanequals(Object o)static DocumentIQReasonsfromJson(String jsonString)Create an instance of DocumentIQReasons given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.StringgetBlurredPhoto()When data points are blurred and no reference can be made elsewhere in the document or if the data points are too blurry and 'they could be something else'.StringgetCoveredPhoto()When data points have been covered either by the applicant or by another object such as a sticker.StringgetCutOffDocument()When data points are not included in the image due to the document being cut off.StringgetDamagedDocument()When a document is damaged and we are unable to make out data points.StringgetDarkPhoto()When an image of the document is too dark to be able to see data points.StringgetGlareOnPhoto()When there is light reflecting on the document causing glare to obstruct data points.StringgetIncorrectSide()When the incorrect side of a document has been uploaded, and we have not received the front.StringgetNoDocumentInImage()If no document has been uploaded or there is a blank image.StringgetOtherPhotoIssue()Any other reason not listed, such as when holograms are obscuring data points.StringgetTwoDocumentsUploaded()When 2 different documents are submitted in the same check.DocumentIQReasonsglareOnPhoto(String glareOnPhoto)inthashCode()DocumentIQReasonsincorrectSide(String incorrectSide)DocumentIQReasonsnoDocumentInImage(String noDocumentInImage)DocumentIQReasonsotherPhotoIssue(String otherPhotoIssue)DocumentIQReasonsputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.voidsetBlurredPhoto(String blurredPhoto)voidsetCoveredPhoto(String coveredPhoto)voidsetCutOffDocument(String cutOffDocument)voidsetDamagedDocument(String damagedDocument)voidsetDarkPhoto(String darkPhoto)voidsetGlareOnPhoto(String glareOnPhoto)voidsetIncorrectSide(String incorrectSide)voidsetNoDocumentInImage(String noDocumentInImage)voidsetOtherPhotoIssue(String otherPhotoIssue)voidsetTwoDocumentsUploaded(String twoDocumentsUploaded)StringtoJson()Convert an instance of DocumentIQReasons to an JSON stringStringtoString()DocumentIQReasonstwoDocumentsUploaded(String twoDocumentsUploaded)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_DARK_PHOTO
public static final String SERIALIZED_NAME_DARK_PHOTO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GLARE_ON_PHOTO
public static final String SERIALIZED_NAME_GLARE_ON_PHOTO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BLURRED_PHOTO
public static final String SERIALIZED_NAME_BLURRED_PHOTO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COVERED_PHOTO
public static final String SERIALIZED_NAME_COVERED_PHOTO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OTHER_PHOTO_ISSUE
public static final String SERIALIZED_NAME_OTHER_PHOTO_ISSUE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DAMAGED_DOCUMENT
public static final String SERIALIZED_NAME_DAMAGED_DOCUMENT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INCORRECT_SIDE
public static final String SERIALIZED_NAME_INCORRECT_SIDE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CUT_OFF_DOCUMENT
public static final String SERIALIZED_NAME_CUT_OFF_DOCUMENT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NO_DOCUMENT_IN_IMAGE
public static final String SERIALIZED_NAME_NO_DOCUMENT_IN_IMAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TWO_DOCUMENTS_UPLOADED
public static final String SERIALIZED_NAME_TWO_DOCUMENTS_UPLOADED
- See Also:
- Constant Field Values
-
-
Method Detail
-
darkPhoto
public DocumentIQReasons darkPhoto(String darkPhoto)
-
getDarkPhoto
@Nullable public String getDarkPhoto()
When an image of the document is too dark to be able to see data points.- Returns:
- darkPhoto
-
setDarkPhoto
public void setDarkPhoto(String darkPhoto)
-
glareOnPhoto
public DocumentIQReasons glareOnPhoto(String glareOnPhoto)
-
getGlareOnPhoto
@Nullable public String getGlareOnPhoto()
When there is light reflecting on the document causing glare to obstruct data points.- Returns:
- glareOnPhoto
-
setGlareOnPhoto
public void setGlareOnPhoto(String glareOnPhoto)
-
blurredPhoto
public DocumentIQReasons blurredPhoto(String blurredPhoto)
-
getBlurredPhoto
@Nullable public String getBlurredPhoto()
When data points are blurred and no reference can be made elsewhere in the document or if the data points are too blurry and 'they could be something else'.- Returns:
- blurredPhoto
-
setBlurredPhoto
public void setBlurredPhoto(String blurredPhoto)
-
coveredPhoto
public DocumentIQReasons coveredPhoto(String coveredPhoto)
-
getCoveredPhoto
@Nullable public String getCoveredPhoto()
When data points have been covered either by the applicant or by another object such as a sticker.- Returns:
- coveredPhoto
-
setCoveredPhoto
public void setCoveredPhoto(String coveredPhoto)
-
otherPhotoIssue
public DocumentIQReasons otherPhotoIssue(String otherPhotoIssue)
-
getOtherPhotoIssue
@Nullable public String getOtherPhotoIssue()
Any other reason not listed, such as when holograms are obscuring data points.- Returns:
- otherPhotoIssue
-
setOtherPhotoIssue
public void setOtherPhotoIssue(String otherPhotoIssue)
-
damagedDocument
public DocumentIQReasons damagedDocument(String damagedDocument)
-
getDamagedDocument
@Nullable public String getDamagedDocument()
When a document is damaged and we are unable to make out data points.- Returns:
- damagedDocument
-
setDamagedDocument
public void setDamagedDocument(String damagedDocument)
-
incorrectSide
public DocumentIQReasons incorrectSide(String incorrectSide)
-
getIncorrectSide
@Nullable public String getIncorrectSide()
When the incorrect side of a document has been uploaded, and we have not received the front.- Returns:
- incorrectSide
-
setIncorrectSide
public void setIncorrectSide(String incorrectSide)
-
cutOffDocument
public DocumentIQReasons cutOffDocument(String cutOffDocument)
-
getCutOffDocument
@Nullable public String getCutOffDocument()
When data points are not included in the image due to the document being cut off.- Returns:
- cutOffDocument
-
setCutOffDocument
public void setCutOffDocument(String cutOffDocument)
-
noDocumentInImage
public DocumentIQReasons noDocumentInImage(String noDocumentInImage)
-
getNoDocumentInImage
@Nullable public String getNoDocumentInImage()
If no document has been uploaded or there is a blank image.- Returns:
- noDocumentInImage
-
setNoDocumentInImage
public void setNoDocumentInImage(String noDocumentInImage)
-
twoDocumentsUploaded
public DocumentIQReasons twoDocumentsUploaded(String twoDocumentsUploaded)
-
getTwoDocumentsUploaded
@Nullable public String getTwoDocumentsUploaded()
When 2 different documents are submitted in the same check.- Returns:
- twoDocumentsUploaded
-
setTwoDocumentsUploaded
public void setTwoDocumentsUploaded(String twoDocumentsUploaded)
-
putAdditionalProperty
public DocumentIQReasons 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 DocumentIQReasons 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 DocumentIQReasons
-
fromJson
public static DocumentIQReasons fromJson(String jsonString) throws IOException
Create an instance of DocumentIQReasons given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DocumentIQReasons
- Throws:
IOException- if the JSON string is invalid with respect to DocumentIQReasons
-
toJson
public String toJson()
Convert an instance of DocumentIQReasons to an JSON string- Returns:
- JSON string
-
-