Class: Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageChatContent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageChatContent
- Defined in:
- lib/knockapi/models/messages/batch_get_content_response.rb
Defined Under Namespace
Classes: Template
Instance Attribute Summary collapse
-
#_typename ⇒ String
The typename of the schema.
-
#connection ⇒ Hash{Symbol=>Object}
The channel data connection from the recipient to the underlying provider.
-
#metadata ⇒ Hash{Symbol=>Object}?
Additional metadata associated with the chat message.
-
#template ⇒ Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageChatContent::Template
The template structure for the chat message.
Instance Method Summary collapse
-
#initialize(_typename:, connection:, template:, metadata: nil) ⇒ Object
constructor
The content of a chat 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(_typename:, connection:, template:, metadata: nil) ⇒ Object
The content of a chat message.
|
|
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 242
|
Instance Attribute Details
#_typename ⇒ String
The typename of the schema.
219 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 219 required :_typename, String, api_name: :__typename |
#connection ⇒ Hash{Symbol=>Object}
The channel data connection from the recipient to the underlying provider.
225 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 225 required :connection, Knockapi::Internal::Type::HashOf[Knockapi::Internal::Type::Unknown] |
#metadata ⇒ Hash{Symbol=>Object}?
Additional metadata associated with the chat message.
238 239 240 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 238 optional :metadata, Knockapi::Internal::Type::HashOf[Knockapi::Internal::Type::Unknown], nil?: true |
#template ⇒ Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageChatContent::Template
The template structure for the chat message.
231 232 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 231 required :template, -> { Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageChatContent::Template } |