Package so.prelude.sdk.models
Class WatchPredictParams.Target.Builder
-
- All Implemented Interfaces:
public final class WatchPredictParams.Target.Builder
A builder for Target.
-
-
Method Summary
-
-
Method Detail
-
type
final WatchPredictParams.Target.Builder type(WatchPredictParams.Target.Type type)
The type of the target. Either "phone_number" or "email_address".
-
type
final WatchPredictParams.Target.Builder type(JsonField<WatchPredictParams.Target.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
value
final WatchPredictParams.Target.Builder value(String value)
An E.164 formatted phone number or an email address.
-
value
final WatchPredictParams.Target.Builder value(JsonField<String> value)
Sets Builder.value to an arbitrary JSON value.
You should usually call Builder.value with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final WatchPredictParams.Target.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final WatchPredictParams.Target.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WatchPredictParams.Target.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WatchPredictParams.Target.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WatchPredictParams.Target.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WatchPredictParams.Target build()
Returns an immutable instance of Target.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.type() .value()
-
-
-
-