Class MessageGetContentResponse
-
- All Implemented Interfaces:
public final class MessageGetContentResponseThe content of a message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageGetContentResponse.BuilderA builder for MessageGetContentResponse.
public final classMessageGetContentResponse.DataContent data specific to the channel type.
-
Method Summary
Modifier and Type Method Description final String_typename()The typename of the schema. final MessageGetContentResponse.Datadata()Content data specific to the channel type. final OffsetDateTimeinsertedAt()Timestamp when the message content was created. final StringmessageId()The unique identifier for the message content. final JsonField<String>__typename()Returns the raw JSON value of _typename. final JsonField<MessageGetContentResponse.Data>_data()Returns the raw JSON value of data. final JsonField<OffsetDateTime>_insertedAt()Returns the raw JSON value of insertedAt. final JsonField<String>_messageId()Returns the raw JSON value of messageId. final Map<String, JsonValue>_additionalProperties()final MessageGetContentResponse.BuildertoBuilder()final MessageGetContentResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageGetContentResponse.Builderbuilder()Returns a mutable builder for constructing an instance of MessageGetContentResponse. -
-
Method Detail
-
data
final MessageGetContentResponse.Data data()
Content data specific to the channel type.
-
insertedAt
final OffsetDateTime insertedAt()
Timestamp when the message content was created.
-
__typename
final JsonField<String> __typename()
Returns the raw JSON value of _typename.
Unlike _typename, this method doesn't throw if the JSON field has an unexpected type.
-
_data
final JsonField<MessageGetContentResponse.Data> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_insertedAt
final JsonField<OffsetDateTime> _insertedAt()
Returns the raw JSON value of insertedAt.
Unlike insertedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_messageId
final JsonField<String> _messageId()
Returns the raw JSON value of messageId.
Unlike messageId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MessageGetContentResponse.Builder toBuilder()
-
validate
final MessageGetContentResponse validate()
-
builder
final static MessageGetContentResponse.Builder builder()
Returns a mutable builder for constructing an instance of MessageGetContentResponse.
The following fields are required:
._typename() .data() .insertedAt() .messageId()
-
-
-
-