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