Class InlineObjectRequest
-
- All Implemented Interfaces:
public final class InlineObjectRequestA custom /concepts/objects entity which belongs to a collection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInlineObjectRequest.BuilderA builder for InlineObjectRequest.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the object. final Stringcollection()The collection this object belongs to. final Optional<InlineChannelDataRequest>channelData()A request to set channel data for a type of channel inline. final Optional<OffsetDateTime>createdAt()Timestamp when the resource was created. final Optional<InlinePreferenceSetRequest>preferences()Inline set preferences for a recipient, where the key is the preference set id. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_collection()Returns the raw JSON value of collection. final JsonField<InlineChannelDataRequest>_channelData()Returns the raw JSON value of channelData. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<InlinePreferenceSetRequest>_preferences()Returns the raw JSON value of preferences. final Map<String, JsonValue>_additionalProperties()final InlineObjectRequest.BuildertoBuilder()final InlineObjectRequestvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static InlineObjectRequest.Builderbuilder()Returns a mutable builder for constructing an instance of InlineObjectRequest. -
-
Method Detail
-
collection
final String collection()
The collection this object belongs to.
-
channelData
final Optional<InlineChannelDataRequest> channelData()
A request to set channel data for a type of channel inline.
-
createdAt
final Optional<OffsetDateTime> createdAt()
Timestamp when the resource was created.
-
preferences
final Optional<InlinePreferenceSetRequest> preferences()
Inline set preferences for a recipient, where the key is the preference set id.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_collection
final JsonField<String> _collection()
Returns the raw JSON value of collection.
Unlike collection, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, 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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final InlineObjectRequest.Builder toBuilder()
-
validate
final InlineObjectRequest validate()
-
builder
final static InlineObjectRequest.Builder builder()
Returns a mutable builder for constructing an instance of InlineObjectRequest.
The following fields are required:
.id() .collection()
-
-
-
-