Package com.onfido.model
Class CheckShared
- java.lang.Object
-
- com.onfido.model.CheckShared
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class CheckShared extends Object
CheckShared
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCheckShared.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_APPLICANT_IDstatic StringSERIALIZED_NAME_APPLICANT_PROVIDES_DATAstatic StringSERIALIZED_NAME_PRIVACY_NOTICES_READ_CONSENT_GIVENstatic StringSERIALIZED_NAME_REDIRECT_URIstatic StringSERIALIZED_NAME_TAGSstatic StringSERIALIZED_NAME_WEBHOOK_IDS
-
Constructor Summary
Constructors Constructor Description CheckShared()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CheckSharedaddTagsItem(String tagsItem)CheckSharedaddWebhookIdsItem(String webhookIdsItem)CheckSharedapplicantId(UUID applicantId)CheckSharedapplicantProvidesData(Boolean applicantProvidesData)booleanequals(Object o)static CheckSharedfromJson(String jsonString)Create an instance of CheckShared given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.UUIDgetApplicantId()The ID of the applicant to do the check on.BooleangetApplicantProvidesData()Send an applicant form to applicant to complete to proceed with check.BooleangetPrivacyNoticesReadConsentGiven()Get privacyNoticesReadConsentGivenStringgetRedirectUri()For checks where `applicant_provides_data` is `true`, redirect to this URI when the applicant has submitted their data.List<String>getTags()Array of tags being assigned to this check.List<String>getWebhookIds()An array of webhook ids describing which webhooks to trigger for this check.inthashCode()CheckSharedprivacyNoticesReadConsentGiven(Boolean privacyNoticesReadConsentGiven)CheckSharedputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.CheckSharedredirectUri(String redirectUri)voidsetApplicantId(UUID applicantId)voidsetApplicantProvidesData(Boolean applicantProvidesData)voidsetPrivacyNoticesReadConsentGiven(Boolean privacyNoticesReadConsentGiven)voidsetRedirectUri(String redirectUri)voidsetTags(List<String> tags)voidsetWebhookIds(List<String> webhookIds)CheckSharedtags(List<String> tags)StringtoJson()Convert an instance of CheckShared to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundCheckSharedwebhookIds(List<String> webhookIds)
-
-
-
Field Detail
-
SERIALIZED_NAME_WEBHOOK_IDS
public static final String SERIALIZED_NAME_WEBHOOK_IDS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APPLICANT_ID
public static final String SERIALIZED_NAME_APPLICANT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APPLICANT_PROVIDES_DATA
public static final String SERIALIZED_NAME_APPLICANT_PROVIDES_DATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REDIRECT_URI
public static final String SERIALIZED_NAME_REDIRECT_URI
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRIVACY_NOTICES_READ_CONSENT_GIVEN
public static final String SERIALIZED_NAME_PRIVACY_NOTICES_READ_CONSENT_GIVEN
- See Also:
- Constant Field Values
-
-
Method Detail
-
webhookIds
public CheckShared webhookIds(List<String> webhookIds)
-
addWebhookIdsItem
public CheckShared addWebhookIdsItem(String webhookIdsItem)
-
getWebhookIds
@Nullable public List<String> getWebhookIds()
An array of webhook ids describing which webhooks to trigger for this check.- Returns:
- webhookIds
-
applicantId
public CheckShared applicantId(UUID applicantId)
-
getApplicantId
@Nonnull public UUID getApplicantId()
The ID of the applicant to do the check on.- Returns:
- applicantId
-
setApplicantId
public void setApplicantId(UUID applicantId)
-
applicantProvidesData
public CheckShared applicantProvidesData(Boolean applicantProvidesData)
-
getApplicantProvidesData
@Nullable public Boolean getApplicantProvidesData()
Send an applicant form to applicant to complete to proceed with check. Defaults to false.- Returns:
- applicantProvidesData
-
setApplicantProvidesData
public void setApplicantProvidesData(Boolean applicantProvidesData)
-
tags
public CheckShared tags(List<String> tags)
-
addTagsItem
public CheckShared addTagsItem(String tagsItem)
-
getTags
@Nullable public List<String> getTags()
Array of tags being assigned to this check.- Returns:
- tags
-
redirectUri
public CheckShared redirectUri(String redirectUri)
-
getRedirectUri
@Nullable public String getRedirectUri()
For checks where `applicant_provides_data` is `true`, redirect to this URI when the applicant has submitted their data.- Returns:
- redirectUri
-
setRedirectUri
public void setRedirectUri(String redirectUri)
-
privacyNoticesReadConsentGiven
public CheckShared privacyNoticesReadConsentGiven(Boolean privacyNoticesReadConsentGiven)
-
getPrivacyNoticesReadConsentGiven
@Nullable public Boolean getPrivacyNoticesReadConsentGiven()
Get privacyNoticesReadConsentGiven- Returns:
- privacyNoticesReadConsentGiven
-
setPrivacyNoticesReadConsentGiven
public void setPrivacyNoticesReadConsentGiven(Boolean privacyNoticesReadConsentGiven)
-
putAdditionalProperty
public CheckShared 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 CheckShared 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 CheckShared
-
fromJson
public static CheckShared fromJson(String jsonString) throws IOException
Create an instance of CheckShared given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CheckShared
- Throws:
IOException- if the JSON string is invalid with respect to CheckShared
-
toJson
public String toJson()
Convert an instance of CheckShared to an JSON string- Returns:
- JSON string
-
-