Class MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Builder
-
- All Implemented Interfaces:
public final class MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.BuilderA builder for MessageInAppFeedButtonSetBlock.
-
-
Method Summary
-
-
Method Detail
-
buttons
final MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Builder buttons(List<MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Button> buttons)
A list of buttons in an in app feed message.
-
buttons
final MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Builder buttons(JsonField<List<MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Button>> buttons)
Sets Builder.buttons to an arbitrary JSON value.
You should usually call Builder.buttons with a well-typed
List<Button>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addButton
final MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Builder addButton(MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Button button)
-
name
final MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Builder name(String name)
The name of the button set in a message in an app feed.
-
name
final MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Builder type(MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Type type)
The type of block in a message in an app feed.
-
type
final MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Builder type(JsonField<MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MessageGetContentResponse.Data.MessageInAppFeedContent.Block.MessageInAppFeedButtonSetBlock build()
Returns an immutable instance of MessageInAppFeedButtonSetBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.buttons() .name() .type()
-
-
-
-