Class WatchPredictParams.Body.Builder
-
- All Implemented Interfaces:
public final class WatchPredictParams.Body.Builder
A builder for Body.
-
-
Method Summary
-
-
Method Detail
-
target
final WatchPredictParams.Body.Builder target(WatchPredictParams.Target target)
The prediction target. Only supports phone numbers for now.
-
target
final WatchPredictParams.Body.Builder target(JsonField<WatchPredictParams.Target> target)
Sets Builder.target to an arbitrary JSON value.
You should usually call Builder.target with a well-typed Target value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
dispatchId
final WatchPredictParams.Body.Builder dispatchId(String dispatchId)
The identifier of the dispatch that came from the front-end SDK.
-
dispatchId
final WatchPredictParams.Body.Builder dispatchId(JsonField<String> dispatchId)
Sets Builder.dispatchId to an arbitrary JSON value.
You should usually call Builder.dispatchId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final WatchPredictParams.Body.Builder metadata(WatchPredictParams.Metadata metadata)
The metadata for this prediction.
-
metadata
final WatchPredictParams.Body.Builder metadata(JsonField<WatchPredictParams.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.
-
signals
final WatchPredictParams.Body.Builder signals(WatchPredictParams.Signals signals)
The signals used for anti-fraud. For more details, refer to /verify/v2/documentation/prevent-fraud#signals.
-
signals
final WatchPredictParams.Body.Builder signals(JsonField<WatchPredictParams.Signals> signals)
Sets Builder.signals to an arbitrary JSON value.
You should usually call Builder.signals with a well-typed Signals value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final WatchPredictParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final WatchPredictParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WatchPredictParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WatchPredictParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WatchPredictParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WatchPredictParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.target()
-
-
-
-