Package com.bandwidth.sdk.model
Class VerificationDenialWebhook
java.lang.Object
com.bandwidth.sdk.model.VerificationDenialWebhook
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.10.0")
public class VerificationDenialWebhook
extends Object
VerificationDenialWebhook
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalDenialReasonsItem
(AdditionalDenialReason additionalDenialReasonsItem) additionalDenialReasons
(List<AdditionalDenialReason> additionalDenialReasons) blockedReason
(String blockedReason) declineReasonDescription
(String declineReasonDescription) denialStatusCode
(Integer denialStatusCode) boolean
static VerificationDenialWebhook
Create an instance of VerificationDenialWebhook given an JSON stringUser's account ID.An optional list of denial reasons in addition to declineReasonDescription when multiple reasons apply.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether a Toll-Free Verification is blocked.The reason why the Toll-Free Verification is blocked.Explanation for why a verification request was declined.Reason code for denial.Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number.Toll-free telephone number in E.164 format.Whether a Toll-Free Verification request qualifies for resubmission via PUT.Get statusint
hashCode()
internalTicketNumber
(UUID internalTicketNumber) phoneNumber
(String phoneNumber) putAdditionalProperty
(String key, Object value) Set the additional (undeclared) property with the specified name and value.resubmitAllowed
(Boolean resubmitAllowed) void
setAccountId
(String accountId) void
setAdditionalDenialReasons
(List<AdditionalDenialReason> additionalDenialReasons) void
setBlocked
(Boolean blocked) void
setBlockedReason
(String blockedReason) void
setDeclineReasonDescription
(String declineReasonDescription) void
setDenialStatusCode
(Integer denialStatusCode) void
setInternalTicketNumber
(UUID internalTicketNumber) void
setPhoneNumber
(String phoneNumber) void
setResubmitAllowed
(Boolean resubmitAllowed) void
toJson()
Convert an instance of VerificationDenialWebhook to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ACCOUNT_ID
- See Also:
-
SERIALIZED_NAME_ADDITIONAL_DENIAL_REASONS
- See Also:
-
SERIALIZED_NAME_DECLINE_REASON_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_DENIAL_STATUS_CODE
- See Also:
-
SERIALIZED_NAME_INTERNAL_TICKET_NUMBER
- See Also:
-
SERIALIZED_NAME_PHONE_NUMBER
- See Also:
-
SERIALIZED_NAME_RESUBMIT_ALLOWED
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_BLOCKED
- See Also:
-
SERIALIZED_NAME_BLOCKED_REASON
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
VerificationDenialWebhook
public VerificationDenialWebhook()
-
-
Method Details
-
accountId
-
getAccountId
User's account ID.- Returns:
- accountId
-
setAccountId
-
additionalDenialReasons
public VerificationDenialWebhook additionalDenialReasons(@Nullable List<AdditionalDenialReason> additionalDenialReasons) -
addAdditionalDenialReasonsItem
public VerificationDenialWebhook addAdditionalDenialReasonsItem(AdditionalDenialReason additionalDenialReasonsItem) -
getAdditionalDenialReasons
An optional list of denial reasons in addition to declineReasonDescription when multiple reasons apply.- Returns:
- additionalDenialReasons
-
setAdditionalDenialReasons
public void setAdditionalDenialReasons(@Nullable List<AdditionalDenialReason> additionalDenialReasons) -
declineReasonDescription
public VerificationDenialWebhook declineReasonDescription(@Nullable String declineReasonDescription) -
getDeclineReasonDescription
Explanation for why a verification request was declined.- Returns:
- declineReasonDescription
-
setDeclineReasonDescription
-
denialStatusCode
-
getDenialStatusCode
Reason code for denial.- Returns:
- denialStatusCode
-
setDenialStatusCode
-
internalTicketNumber
-
getInternalTicketNumber
Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number.- Returns:
- internalTicketNumber
-
setInternalTicketNumber
-
phoneNumber
-
getPhoneNumber
Toll-free telephone number in E.164 format.- Returns:
- phoneNumber
-
setPhoneNumber
-
resubmitAllowed
-
getResubmitAllowed
Whether a Toll-Free Verification request qualifies for resubmission via PUT.- Returns:
- resubmitAllowed
-
setResubmitAllowed
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
blocked
-
getBlocked
Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. (Not Available Until 5/28/2025)- Returns:
- blocked
-
setBlocked
-
blockedReason
-
getBlockedReason
The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. (Not Available Until 5/28/2025)- Returns:
- blockedReason
-
setBlockedReason
-
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 VerificationDenialWebhook 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 VerificationDenialWebhook
-
fromJson
Create an instance of VerificationDenialWebhook given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of VerificationDenialWebhook
- Throws:
IOException
- if the JSON string is invalid with respect to VerificationDenialWebhook
-
toJson
Convert an instance of VerificationDenialWebhook to an JSON string- Returns:
- JSON string
-