Package com.courier.models.messages
Class MessageContentResponse.Result
-
- All Implemented Interfaces:
public final class MessageContentResponse.Result
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageContentResponse.Result.BuilderA builder for Result.
public final classMessageContentResponse.Result.ContentContent details of the rendered message.
-
Method Summary
Modifier and Type Method Description final Stringchannel()The channel used for rendering the message. final StringchannelId()The ID of channel used for rendering the message. final MessageContentResponse.Result.Contentcontent()Content details of the rendered message. final JsonField<String>_channel()Returns the raw JSON value of channel. final JsonField<String>_channelId()Returns the raw JSON value of channelId. final JsonField<MessageContentResponse.Result.Content>_content()Returns the raw JSON value of content. final Map<String, JsonValue>_additionalProperties()final MessageContentResponse.Result.BuildertoBuilder()final MessageContentResponse.Resultvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageContentResponse.Result.Builderbuilder()Returns a mutable builder for constructing an instance of Result. -
-
Method Detail
-
content
final MessageContentResponse.Result.Content content()
Content details of the rendered message.
-
_channel
final JsonField<String> _channel()
Returns the raw JSON value of channel.
Unlike channel, this method doesn't throw if the JSON field has an unexpected type.
-
_channelId
final JsonField<String> _channelId()
Returns the raw JSON value of channelId.
Unlike channelId, this method doesn't throw if the JSON field has an unexpected type.
-
_content
final JsonField<MessageContentResponse.Result.Content> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MessageContentResponse.Result.Builder toBuilder()
-
validate
final MessageContentResponse.Result validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static MessageContentResponse.Result.Builder builder()
Returns a mutable builder for constructing an instance of Result.
The following fields are required:
.channel() .channelId() .content()
-
-
-
-