Class: Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedContentBlock
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedContentBlock
- Defined in:
- lib/knockapi/models/users/feed_list_items_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::Users::FeedListItemsResponse::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/users/feed_list_items_response.rb', line 192
|
Instance Attribute Details
#content ⇒ String
The content of the block in a message in an app feed.
171 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 171 required :content, String |
#name ⇒ String
The name of the block in a message in an app feed.
177 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 177 required :name, String |
#rendered ⇒ String
The rendered HTML version of the content.
183 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 183 required :rendered, String |
#type ⇒ Symbol, Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedContentBlock::Type
The type of block in a message in an app feed.
189 190 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 189 required :type, enum: -> { Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedContentBlock::Type } |