Package so.prelude.sdk.models
Class VerificationCheckParams.Body
-
- All Implemented Interfaces:
public final class VerificationCheckParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
VerificationCheckParams.Body.Builder
A builder for Body.
-
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>
_additionalProperties()
final VerificationCheckParams.Body.Builder
toBuilder()
final VerificationCheckParams.Body
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static VerificationCheckParams.Body.Builder
builder()
Returns a mutable builder for constructing an instance of Body. -
-
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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final VerificationCheckParams.Body.Builder toBuilder()
-
validate
final VerificationCheckParams.Body validate()
-
builder
final static VerificationCheckParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.code() .target()
-
-
-
-