Class: Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageChatContent::Template
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageChatContent::Template
- Defined in:
- lib/knockapi/models/messages/batch_get_content_response.rb
Overview
Defined Under Namespace
Classes: Block
Instance Attribute Summary collapse
-
#blocks ⇒ Array<Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageChatContent::Template::Block>?
The blocks of the message in a chat.
-
#json_content ⇒ Hash{Symbol=>Object}?
The JSON content of the message.
-
#summary ⇒ String?
The summary of the chat message.
Method Summary
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from Knockapi::Internal::Type::BaseModel
Instance Attribute Details
#blocks ⇒ Array<Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageChatContent::Template::Block>?
The blocks of the message in a chat.
259 260 261 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 259 optional :blocks, -> { Knockapi::Internal::Type::ArrayOf[Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageChatContent::Template::Block] }, nil?: true |
#json_content ⇒ Hash{Symbol=>Object}?
The JSON content of the message.
267 268 269 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 267 optional :json_content, Knockapi::Internal::Type::HashOf[Knockapi::Internal::Type::Unknown], nil?: true |
#summary ⇒ String?
The summary of the chat message.
275 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 275 optional :summary, String, nil?: true |