Class: Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedButtonSetBlock
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedButtonSetBlock
- Defined in:
- lib/knockapi/models/users/feed_list_items_response.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#buttons ⇒ Array<Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedButtonSetBlock::Button>
A list of buttons in an in app feed message.
-
#name ⇒ String
The name of the button set in a message in an app feed.
-
#type ⇒ Symbol, Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedButtonSetBlock::Type
The type of block in a message in an app feed.
Instance Method Summary collapse
-
#initialize(action:, label:, name:) ⇒ Object
constructor
A button in an in app feed message.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(action:, label:, name:) ⇒ Object
A button in an in app feed message.
|
|
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 266
|
Instance Attribute Details
#buttons ⇒ Array<Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedButtonSetBlock::Button>
A list of buttons in an in app feed message.
222 223 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 222 required :buttons, -> { Knockapi::Internal::Type::ArrayOf[Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedButtonSetBlock::Button] } |
#name ⇒ String
The name of the button set in a message in an app feed.
229 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 229 required :name, String |
#type ⇒ Symbol, Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedButtonSetBlock::Type
The type of block in a message in an app feed.
235 236 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 235 required :type, enum: -> { Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedButtonSetBlock::Type } |