Class: Knockapi::Models::Messages::BatchGetContentResponseItem
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::Messages::BatchGetContentResponseItem
- Defined in:
- lib/knockapi/models/messages/batch_get_content_response.rb
Defined Under Namespace
Modules: Data
Instance Attribute Summary collapse
-
#_typename ⇒ String
The typename of the schema.
-
#data ⇒ Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageEmailContent, ...
Content data specific to the channel type.
-
#inserted_at ⇒ Time
Timestamp when the message content was created.
-
#message_id ⇒ String
The unique identifier for the message content.
Instance Method Summary collapse
-
#initialize(_typename:, data:, inserted_at:, message_id:) ⇒ Object
constructor
The content of a 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:, data:, inserted_at:, message_id:) ⇒ Object
The content of a message.
|
|
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 31
|
Instance Attribute Details
#_typename ⇒ String
The typename of the schema.
11 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 11 required :_typename, String, api_name: :__typename |
#data ⇒ Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageEmailContent, ...
Content data specific to the channel type.
17 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 17 required :data, union: -> { Knockapi::Models::Messages::BatchGetContentResponseItem::Data } |
#inserted_at ⇒ Time
Timestamp when the message content was created.
23 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 23 required :inserted_at, Time |
#message_id ⇒ String
The unique identifier for the message content.
29 |
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 29 required :message_id, String |