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