Class: Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageInAppFeedContent::Block::MessageInAppFeedButtonSetBlock
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageInAppFeedContent::Block::MessageInAppFeedButtonSetBlock
- Defined in:
- lib/knockapi/models/messages/batch_get_content_response.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#buttons ⇒ Array<Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageInAppFeedContent::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::Messages::BatchGetContentResponseItem::Data::MessageInAppFeedContent::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/messages/batch_get_content_response.rb', line 466
|
Instance Attribute Details
#buttons ⇒ Array<Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageInAppFeedContent::Block::MessageInAppFeedButtonSetBlock::Button>
A list of buttons in an in app feed message.
418 419 420 421 422 423 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 418 required :buttons, -> do Knockapi::Internal::Type::ArrayOf[ Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageInAppFeedContent::Block::MessageInAppFeedButtonSetBlock::Button ] end |
#name ⇒ String
The name of the button set in a message in an app feed.
429 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 429 required :name, String |
#type ⇒ Symbol, Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageInAppFeedContent::Block::MessageInAppFeedButtonSetBlock::Type
The type of block in a message in an app feed.
435 436 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 435 required :type, enum: -> { Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageInAppFeedContent::Block::MessageInAppFeedButtonSetBlock::Type } |