Class WatchPredictParams
-
- All Implemented Interfaces:
-
so.prelude.sdk.core.Params
public final class WatchPredictParams implements Params
Predict the outcome of a verification based on Prelude’s anti-fraud system.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
WatchPredictParams.Builder
A builder for WatchPredictParams.
public final class
WatchPredictParams.Body
public final class
WatchPredictParams.Target
The prediction target. Only supports phone numbers for now.
public final class
WatchPredictParams.Metadata
The metadata for this prediction.
public final class
WatchPredictParams.Signals
The signals used for anti-fraud. For more details, refer to /verify/v2/documentation/prevent-fraud#signals.
-
Method Summary
Modifier and Type Method Description final WatchPredictParams.Target
target()
The prediction target. final Optional<String>
dispatchId()
The identifier of the dispatch that came from the front-end SDK. final Optional<WatchPredictParams.Metadata>
metadata()
The metadata for this prediction. final Optional<WatchPredictParams.Signals>
signals()
The signals used for anti-fraud. final JsonField<WatchPredictParams.Target>
_target()
Returns the raw JSON value of target. final JsonField<String>
_dispatchId()
Returns the raw JSON value of dispatchId. final JsonField<WatchPredictParams.Metadata>
_metadata()
Returns the raw JSON value of metadata. final JsonField<WatchPredictParams.Signals>
_signals()
Returns the raw JSON value of signals. final Map<String, JsonValue>
_additionalBodyProperties()
final Headers
_additionalHeaders()
final QueryParams
_additionalQueryParams()
final WatchPredictParams.Builder
toBuilder()
final WatchPredictParams.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 WatchPredictParams.Builder
builder()
Returns a mutable builder for constructing an instance of WatchPredictParams. -
-
Method Detail
-
target
final WatchPredictParams.Target target()
The prediction target. Only supports phone numbers for now.
-
dispatchId
final Optional<String> dispatchId()
The identifier of the dispatch that came from the front-end SDK.
-
metadata
final Optional<WatchPredictParams.Metadata> metadata()
The metadata for this prediction.
-
signals
final Optional<WatchPredictParams.Signals> signals()
The signals used for anti-fraud. For more details, refer to /verify/v2/documentation/prevent-fraud#signals.
-
_target
final JsonField<WatchPredictParams.Target> _target()
Returns the raw JSON value of target.
Unlike target, this method doesn't throw if the JSON field has an unexpected type.
-
_dispatchId
final JsonField<String> _dispatchId()
Returns the raw JSON value of dispatchId.
Unlike dispatchId, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<WatchPredictParams.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_signals
final JsonField<WatchPredictParams.Signals> _signals()
Returns the raw JSON value of signals.
Unlike signals, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final WatchPredictParams.Builder toBuilder()
-
_body
final WatchPredictParams.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 WatchPredictParams.Builder builder()
Returns a mutable builder for constructing an instance of WatchPredictParams.
The following fields are required:
.target()
-
-
-
-