Class ObjectSetParams.Body
-
- All Implemented Interfaces:
public final class ObjectSetParams.BodyA set of parameters to set an object with. Does not include the object id or collection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classObjectSetParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Optional<InlineChannelDataRequest>channelData()A request to set channel data for a type of channel inline. final Optional<String>locale()The locale of the object. final Optional<InlinePreferenceSetRequest>preferences()Inline set preferences for a recipient, where the key is the preference set id. final Optional<String>timezone()The timezone of the object. final JsonField<InlineChannelDataRequest>_channelData()Returns the raw JSON value of channelData. final JsonField<String>_locale()Returns the raw JSON value of locale. final JsonField<InlinePreferenceSetRequest>_preferences()Returns the raw JSON value of preferences. final JsonField<String>_timezone()Returns the raw JSON value of timezone. final Map<String, JsonValue>_additionalProperties()final ObjectSetParams.Body.BuildertoBuilder()final ObjectSetParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ObjectSetParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
channelData
final Optional<InlineChannelDataRequest> channelData()
A request to set channel data for a type of channel inline.
-
preferences
final Optional<InlinePreferenceSetRequest> preferences()
Inline set preferences for a recipient, where the key is the preference set id.
-
timezone
final Optional<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.
-
_channelData
final JsonField<InlineChannelDataRequest> _channelData()
Returns the raw JSON value of channelData.
Unlike channelData, this method doesn't throw if the JSON field has an unexpected type.
-
_locale
final JsonField<String> _locale()
Returns the raw JSON value of locale.
Unlike locale, this method doesn't throw if the JSON field has an unexpected type.
-
_preferences
final JsonField<InlinePreferenceSetRequest> _preferences()
Returns the raw JSON value of preferences.
Unlike preferences, this method doesn't throw if the JSON field has an unexpected type.
-
_timezone
final JsonField<String> _timezone()
Returns the raw JSON value of timezone.
Unlike timezone, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ObjectSetParams.Body.Builder toBuilder()
-
validate
final ObjectSetParams.Body validate()
-
builder
final static ObjectSetParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-