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