Class MessageGetContentResponse.Builder
-
- All Implemented Interfaces:
public final class MessageGetContentResponse.BuilderA builder for MessageGetContentResponse.
-
-
Method Summary
-
-
Method Detail
-
_typename
final MessageGetContentResponse.Builder _typename(String _typename)
The typename of the schema.
-
_typename
final MessageGetContentResponse.Builder _typename(JsonField<String> _typename)
Sets Builder._typename to an arbitrary JSON value.
You should usually call Builder._typename with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
data
final MessageGetContentResponse.Builder data(MessageGetContentResponse.Data data)
Content data specific to the channel type.
-
data
final MessageGetContentResponse.Builder data(JsonField<MessageGetContentResponse.Data> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed Data value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
data
final MessageGetContentResponse.Builder data(MessageGetContentResponse.Data.MessageEmailContent messageEmailContent)
Alias for calling data with
Data.ofMessageEmailContent(messageEmailContent).
-
data
final MessageGetContentResponse.Builder data(MessageGetContentResponse.Data.MessageSmsContent messageSmsContent)
Alias for calling data with
Data.ofMessageSmsContent(messageSmsContent).
-
data
final MessageGetContentResponse.Builder data(MessageGetContentResponse.Data.MessagePushContent messagePushContent)
Alias for calling data with
Data.ofMessagePushContent(messagePushContent).
-
data
final MessageGetContentResponse.Builder data(MessageGetContentResponse.Data.MessageChatContent messageChatContent)
Alias for calling data with
Data.ofMessageChatContent(messageChatContent).
-
data
final MessageGetContentResponse.Builder data(MessageGetContentResponse.Data.MessageInAppFeedContent messageInAppFeedContent)
Alias for calling data with
Data.ofMessageInAppFeedContent(messageInAppFeedContent).
-
insertedAt
final MessageGetContentResponse.Builder insertedAt(OffsetDateTime insertedAt)
Timestamp when the message content was created.
-
insertedAt
final MessageGetContentResponse.Builder insertedAt(JsonField<OffsetDateTime> insertedAt)
Sets Builder.insertedAt to an arbitrary JSON value.
You should usually call Builder.insertedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
messageId
final MessageGetContentResponse.Builder messageId(String messageId)
The unique identifier for the message content.
-
messageId
final MessageGetContentResponse.Builder messageId(JsonField<String> messageId)
Sets Builder.messageId to an arbitrary JSON value.
You should usually call Builder.messageId 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 MessageGetContentResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MessageGetContentResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MessageGetContentResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MessageGetContentResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MessageGetContentResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MessageGetContentResponse build()
Returns an immutable instance of MessageGetContentResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
._typename() .data() .insertedAt() .messageId()
-
-
-
-