Class VerificationCheckParams
-
- All Implemented Interfaces:
-
so.prelude.sdk.core.Params
public final class VerificationCheckParams implements Params
Check the validity of a verification code.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
VerificationCheckParams.Builder
A builder for VerificationCheckParams.
public final class
VerificationCheckParams.Body
public final class
VerificationCheckParams.Target
The verification target. Either a phone number or an email address. To use the email verification feature contact us to discuss your use case.
-
Method Summary
Modifier and Type Method Description final String
code()
The OTP code to validate. final VerificationCheckParams.Target
target()
The verification target. final JsonField<String>
_code()
Returns the raw JSON value of code. final JsonField<VerificationCheckParams.Target>
_target()
Returns the raw JSON value of target. final Map<String, JsonValue>
_additionalBodyProperties()
final Headers
_additionalHeaders()
Additional headers to send with the request. final QueryParams
_additionalQueryParams()
Additional query param to send with the request. final VerificationCheckParams.Builder
toBuilder()
final VerificationCheckParams.Body
_body()
Headers
_headers()
The full set of headers in the parameters, including both fixed and additional headers. QueryParams
_queryParams()
The full set of query params in the parameters, including both fixed and additional query params. Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static VerificationCheckParams.Builder
builder()
Returns a mutable builder for constructing an instance of VerificationCheckParams. -
-
Method Detail
-
target
final VerificationCheckParams.Target target()
The verification target. Either a phone number or an email address. To use the email verification feature contact us to discuss your use case.
-
_code
final JsonField<String> _code()
Returns the raw JSON value of code.
Unlike code, this method doesn't throw if the JSON field has an unexpected type.
-
_target
final JsonField<VerificationCheckParams.Target> _target()
Returns the raw JSON value of target.
Unlike target, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final VerificationCheckParams.Builder toBuilder()
-
_body
final VerificationCheckParams.Body _body()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static VerificationCheckParams.Builder builder()
Returns a mutable builder for constructing an instance of VerificationCheckParams.
The following fields are required:
.code() .target()
-
-
-
-