Class VerificationCreateResponse.Builder
-
- All Implemented Interfaces:
public final class VerificationCreateResponse.Builder
A builder for VerificationCreateResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final VerificationCreateResponse.Builder id(String id)
The verification identifier.
-
id
final VerificationCreateResponse.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
method
final VerificationCreateResponse.Builder method(VerificationCreateResponse.Method method)
The method used for verifying this phone number.
-
method
final VerificationCreateResponse.Builder method(JsonField<VerificationCreateResponse.Method> method)
Sets Builder.method to an arbitrary JSON value.
You should usually call Builder.method with a well-typed Method value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final VerificationCreateResponse.Builder status(VerificationCreateResponse.Status status)
The status of the verification.
-
status
final VerificationCreateResponse.Builder status(JsonField<VerificationCreateResponse.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final VerificationCreateResponse.Builder metadata(VerificationCreateResponse.Metadata metadata)
The metadata for this verification.
-
metadata
final VerificationCreateResponse.Builder metadata(JsonField<VerificationCreateResponse.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
requestId
final VerificationCreateResponse.Builder requestId(String requestId)
-
requestId
final VerificationCreateResponse.Builder requestId(JsonField<String> requestId)
Sets Builder.requestId to an arbitrary JSON value.
You should usually call Builder.requestId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final VerificationCreateResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final VerificationCreateResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final VerificationCreateResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final VerificationCreateResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final VerificationCreateResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final VerificationCreateResponse build()
Returns an immutable instance of VerificationCreateResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .method() .status()
-
-
-
-