Class ObjectSetParams.Body.Builder
-
- All Implemented Interfaces:
public final class ObjectSetParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
channelData
final ObjectSetParams.Body.Builder channelData(InlineChannelDataRequest channelData)
A request to set channel data for a type of channel inline.
-
channelData
final ObjectSetParams.Body.Builder channelData(JsonField<InlineChannelDataRequest> channelData)
Sets Builder.channelData to an arbitrary JSON value.
You should usually call Builder.channelData with a well-typed InlineChannelDataRequest value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
locale
final ObjectSetParams.Body.Builder locale(String locale)
The locale of the object. Used for /concepts/translations.
-
locale
final ObjectSetParams.Body.Builder locale(Optional<String> locale)
Alias for calling Builder.locale with
locale.orElse(null).
-
locale
final ObjectSetParams.Body.Builder locale(JsonField<String> locale)
Sets Builder.locale to an arbitrary JSON value.
You should usually call Builder.locale with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
preferences
final ObjectSetParams.Body.Builder preferences(InlinePreferenceSetRequest preferences)
Inline set preferences for a recipient, where the key is the preference set id.
-
preferences
final ObjectSetParams.Body.Builder preferences(JsonField<InlinePreferenceSetRequest> preferences)
Sets Builder.preferences to an arbitrary JSON value.
You should usually call Builder.preferences with a well-typed InlinePreferenceSetRequest value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
timezone
final ObjectSetParams.Body.Builder timezone(String timezone)
The timezone of the object. Must be a valid tz database time zone * string. Used for /concepts/schedules#scheduling-workflows-with-recurring-schedules-for-recipients.
-
timezone
final ObjectSetParams.Body.Builder timezone(Optional<String> timezone)
Alias for calling Builder.timezone with
timezone.orElse(null).
-
timezone
final ObjectSetParams.Body.Builder timezone(JsonField<String> timezone)
Sets Builder.timezone to an arbitrary JSON value.
You should usually call Builder.timezone 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 ObjectSetParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ObjectSetParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ObjectSetParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ObjectSetParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ObjectSetParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ObjectSetParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-