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.
public final class
VerificationCreateResponse.Reason
The reason why the verification was blocked. Only present when status is "blocked".
public final class
VerificationCreateResponse.Silent
The silent verification specific properties.
-
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<VerificationCreateResponse.Reason>
reason()
The reason why the verification was blocked. final Optional<String>
requestId()
final Optional<VerificationCreateResponse.Silent>
silent()
The silent verification specific properties. 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<VerificationCreateResponse.Reason>
_reason()
Returns the raw JSON value of reason. final JsonField<String>
_requestId()
Returns the raw JSON value of requestId. final JsonField<VerificationCreateResponse.Silent>
_silent()
Returns the raw JSON value of silent. 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.
-
reason
final Optional<VerificationCreateResponse.Reason> reason()
The reason why the verification was blocked. Only present when status is "blocked".
-
silent
final Optional<VerificationCreateResponse.Silent> silent()
The silent verification specific properties.
-
_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.
-
_reason
final JsonField<VerificationCreateResponse.Reason> _reason()
Returns the raw JSON value of reason.
Unlike reason, 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.
-
_silent
final JsonField<VerificationCreateResponse.Silent> _silent()
Returns the raw JSON value of silent.
Unlike silent, 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()
-
-
-
-