Class: Telnyx::Models::EmailMessageRetrieveResponse::Data
- Inherits:
-
Telnyx::Models::EmailInboxes::EmailMessage
- Object
- Internal::Type::BaseModel
- Telnyx::Models::EmailInboxes::EmailMessage
- Telnyx::Models::EmailMessageRetrieveResponse::Data
- Defined in:
- lib/telnyx/models/email_message_retrieve_response.rb,
sig/telnyx/models/email_message_retrieve_response.rbs
Overview
Instance Attribute Summary collapse
-
#html_body ⇒ String?
HTML body submitted for the message.
-
#text_body ⇒ String?
Plain-text body submitted for the message.
Attributes inherited from Telnyx::Models::EmailInboxes::EmailMessage
#attachments, #bcc, #cc, #created_at, #events, #from, #id, #inline_css, #recipient_statuses, #record_type, #reply_to, #sandbox, #scheduled_at, #status, #subject, #template_id, #template_variables, #to
Instance Method Summary collapse
-
#initialize(html_body:, text_body:) ⇒ Data
constructor
A new instance of Data.
- #to_hash ⇒ { html_body: String?, text_body: String? }
Methods inherited from Telnyx::Models::EmailInboxes::EmailMessage
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(html_body:, text_body:) ⇒ Data
Returns a new instance of Data.
|
|
# File 'lib/telnyx/models/email_message_retrieve_response.rb', line 29
|
Instance Attribute Details
#html_body ⇒ String?
HTML body submitted for the message.
21 |
# File 'lib/telnyx/models/email_message_retrieve_response.rb', line 21 required :html_body, String, nil?: true |
#text_body ⇒ String?
Plain-text body submitted for the message.
27 |
# File 'lib/telnyx/models/email_message_retrieve_response.rb', line 27 required :text_body, String, nil?: true |
Instance Method Details
#to_hash ⇒ { html_body: String?, text_body: String? }
30 |
# File 'sig/telnyx/models/email_message_retrieve_response.rbs', line 30
def to_hash: -> { html_body: String?, text_body: String? }
|