Class: Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageInAppFeedContent::Block::MessageInAppFeedContentBlock
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageInAppFeedContent::Block::MessageInAppFeedContentBlock
- Defined in:
- lib/knockapi/models/messages/batch_get_content_response.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#content ⇒ String
The content of the block in a message in an app feed.
-
#name ⇒ String
The name of the block in a message in an app feed.
-
#rendered ⇒ String
The rendered HTML version of the content.
-
#type ⇒ Symbol, Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageInAppFeedContent::Block::MessageInAppFeedContentBlock::Type
The type of block in a message in an app feed.
Instance Method Summary collapse
-
#initialize(content:, name:, rendered:, type:) ⇒ Object
constructor
A block in a message in an app feed.
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(content:, name:, rendered:, type:) ⇒ Object
A block in a message in an app feed.
|
|
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 388
|
Instance Attribute Details
#content ⇒ String
The content of the block in a message in an app feed.
367 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 367 required :content, String |
#name ⇒ String
The name of the block in a message in an app feed.
373 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 373 required :name, String |
#rendered ⇒ String
The rendered HTML version of the content.
379 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 379 required :rendered, String |
#type ⇒ Symbol, Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageInAppFeedContent::Block::MessageInAppFeedContentBlock::Type
The type of block in a message in an app feed.
385 386 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 385 required :type, enum: -> { Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageInAppFeedContent::Block::MessageInAppFeedContentBlock::Type } |