Class VerificationCreateResponse
-
- All Implemented Interfaces:
public final class VerificationCreateResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
VerificationCreateResponse.Builder
A builder for VerificationCreateResponse.
public final class
VerificationCreateResponse.Method
The method used for verifying this phone number.
public final class
VerificationCreateResponse.Status
The status of the verification.
public final class
VerificationCreateResponse.Metadata
The metadata for this verification.
-
Method Summary
Modifier and Type Method Description final String
id()
The verification identifier. final VerificationCreateResponse.Method
method()
The method used for verifying this phone number. final VerificationCreateResponse.Status
status()
The status of the verification. final Optional<List<String>>
channels()
The ordered sequence of channels to be used for verification final Optional<VerificationCreateResponse.Metadata>
metadata()
The metadata for this verification. final Optional<String>
requestId()
final JsonField<String>
_id()
Returns the raw JSON value of id. final JsonField<VerificationCreateResponse.Method>
_method()
Returns the raw JSON value of method. final JsonField<VerificationCreateResponse.Status>
_status()
Returns the raw JSON value of status. final JsonField<List<String>>
_channels()
Returns the raw JSON value of channels. final JsonField<VerificationCreateResponse.Metadata>
_metadata()
Returns the raw JSON value of metadata. final JsonField<String>
_requestId()
Returns the raw JSON value of requestId. final Map<String, JsonValue>
_additionalProperties()
final VerificationCreateResponse.Builder
toBuilder()
final VerificationCreateResponse
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static VerificationCreateResponse.Builder
builder()
Returns a mutable builder for constructing an instance of VerificationCreateResponse. -
-
Method Detail
-
method
final VerificationCreateResponse.Method method()
The method used for verifying this phone number.
-
status
final VerificationCreateResponse.Status status()
The status of the verification.
-
channels
final Optional<List<String>> channels()
The ordered sequence of channels to be used for verification
-
metadata
final Optional<VerificationCreateResponse.Metadata> metadata()
The metadata for this verification.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_method
final JsonField<VerificationCreateResponse.Method> _method()
Returns the raw JSON value of method.
Unlike method, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<VerificationCreateResponse.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_channels
final JsonField<List<String>> _channels()
Returns the raw JSON value of channels.
Unlike channels, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<VerificationCreateResponse.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_requestId
final JsonField<String> _requestId()
Returns the raw JSON value of requestId.
Unlike requestId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final VerificationCreateResponse.Builder toBuilder()
-
validate
final VerificationCreateResponse validate()
-
builder
final static VerificationCreateResponse.Builder builder()
Returns a mutable builder for constructing an instance of VerificationCreateResponse.
The following fields are required:
.id() .method() .status()
-
-
-
-