Package app.knock.api.models.users.feeds
Class FeedListItemsResponse.Block.MessageInAppFeedButtonSetBlock.Button
-
- All Implemented Interfaces:
public final class FeedListItemsResponse.Block.MessageInAppFeedButtonSetBlock.ButtonA button in an in app feed message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFeedListItemsResponse.Block.MessageInAppFeedButtonSetBlock.Button.BuilderA builder for Button.
-
Method Summary
Modifier and Type Method Description final Stringaction()The action to take when the button is clicked. final Stringlabel()The label of the button. final Stringname()The name of the button. final JsonField<String>_action()Returns the raw JSON value of action. final JsonField<String>_label()Returns the raw JSON value of label. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final FeedListItemsResponse.Block.MessageInAppFeedButtonSetBlock.Button.BuildertoBuilder()final FeedListItemsResponse.Block.MessageInAppFeedButtonSetBlock.Buttonvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FeedListItemsResponse.Block.MessageInAppFeedButtonSetBlock.Button.Builderbuilder()Returns a mutable builder for constructing an instance of Button. -
-
Method Detail
-
_action
final JsonField<String> _action()
Returns the raw JSON value of action.
Unlike action, this method doesn't throw if the JSON field has an unexpected type.
-
_label
final JsonField<String> _label()
Returns the raw JSON value of label.
Unlike label, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FeedListItemsResponse.Block.MessageInAppFeedButtonSetBlock.Button.Builder toBuilder()
-
builder
final static FeedListItemsResponse.Block.MessageInAppFeedButtonSetBlock.Button.Builder builder()
Returns a mutable builder for constructing an instance of Button.
The following fields are required:
.action() .label() .name()
-
-
-
-