Package com.bandwidth.sdk.model
Class VerificationWebhook
java.lang.Object
com.bandwidth.sdk.model.VerificationWebhook
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.10.0")
public class VerificationWebhook
extends Object
VerificationWebhook
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static VerificationWebhook
Create an instance of VerificationWebhook given an JSON stringUser's account ID.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.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.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.void
setAccountId
(String accountId) void
setInternalTicketNumber
(UUID internalTicketNumber) void
setPhoneNumber
(String phoneNumber) void
setStatus
(TfvCallbackStatusEnum status) status
(TfvCallbackStatusEnum status) toJson()
Convert an instance of VerificationWebhook 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_PHONE_NUMBER
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_INTERNAL_TICKET_NUMBER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
VerificationWebhook
public VerificationWebhook()
-
-
Method Details
-
accountId
-
getAccountId
User's account ID.- Returns:
- accountId
-
setAccountId
-
phoneNumber
-
getPhoneNumber
Toll-free telephone number in E.164 format.- Returns:
- phoneNumber
-
setPhoneNumber
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
internalTicketNumber
-
getInternalTicketNumber
Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number.- Returns:
- internalTicketNumber
-
setInternalTicketNumber
-
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 VerificationWebhook 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 VerificationWebhook
-
fromJson
Create an instance of VerificationWebhook given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of VerificationWebhook
- Throws:
IOException
- if the JSON string is invalid with respect to VerificationWebhook
-
toJson
Convert an instance of VerificationWebhook to an JSON string- Returns:
- JSON string
-