Class BatchGetContentResponse.Data.MessageInAppFeedContent.Builder
-
- All Implemented Interfaces:
public final class BatchGetContentResponse.Data.MessageInAppFeedContent.BuilderA builder for MessageInAppFeedContent.
-
-
Method Summary
-
-
Method Detail
-
_typename
final BatchGetContentResponse.Data.MessageInAppFeedContent.Builder _typename(String _typename)
The typename of the schema.
-
_typename
final BatchGetContentResponse.Data.MessageInAppFeedContent.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.
-
blocks
final BatchGetContentResponse.Data.MessageInAppFeedContent.Builder blocks(List<BatchGetContentResponse.Data.MessageInAppFeedContent.Block> blocks)
The blocks of the message in an app feed.
-
blocks
final BatchGetContentResponse.Data.MessageInAppFeedContent.Builder blocks(JsonField<List<BatchGetContentResponse.Data.MessageInAppFeedContent.Block>> blocks)
Sets Builder.blocks to an arbitrary JSON value.
You should usually call Builder.blocks with a well-typed
List<Block>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addBlock
final BatchGetContentResponse.Data.MessageInAppFeedContent.Builder addBlock(BatchGetContentResponse.Data.MessageInAppFeedContent.Block block)
-
addBlock
final BatchGetContentResponse.Data.MessageInAppFeedContent.Builder addBlock(BatchGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedContentBlock messageInAppFeedContent)
Alias for calling addBlock with
Block.ofMessageInAppFeedContent(messageInAppFeedContent).
-
addBlock
final BatchGetContentResponse.Data.MessageInAppFeedContent.Builder addBlock(BatchGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock messageInAppFeedButtonSet)
Alias for calling addBlock with
Block.ofMessageInAppFeedButtonSet(messageInAppFeedButtonSet).
-
additionalProperties
final BatchGetContentResponse.Data.MessageInAppFeedContent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BatchGetContentResponse.Data.MessageInAppFeedContent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BatchGetContentResponse.Data.MessageInAppFeedContent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BatchGetContentResponse.Data.MessageInAppFeedContent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BatchGetContentResponse.Data.MessageInAppFeedContent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BatchGetContentResponse.Data.MessageInAppFeedContent build()
Returns an immutable instance of MessageInAppFeedContent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
._typename() .blocks()
-
-
-
-