Class: Telnyx::Models::EmailInboxes::Messages::ReplyEmailInboxMessageRequest
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::EmailInboxes::Messages::ReplyEmailInboxMessageRequest
- Defined in:
- lib/telnyx/models/email_inboxes/messages/reply_email_inbox_message_request.rb,
sig/telnyx/models/email_inboxes/messages/reply_email_inbox_message_request.rbs
Direct Known Subclasses
Instance Attribute Summary collapse
-
#html ⇒ String?
HTML reply body.
-
#text ⇒ String?
Plain-text reply body.
Instance Method Summary collapse
-
#initialize(html: nil, text: nil) ⇒ ReplyEmailInboxMessageRequest
constructor
At least one of
textorhtmlmust contain a non-whitespace body. - #to_hash ⇒ { html: String, text: String }
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: nil, text: nil) ⇒ ReplyEmailInboxMessageRequest
At least one of text or html must contain a non-whitespace body. Recipients
are derived from the source message; caller-supplied to, cc, or bcc values
are ignored.
|
|
# File 'lib/telnyx/models/email_inboxes/messages/reply_email_inbox_message_request.rb', line 20
|
Instance Attribute Details
#html ⇒ String?
HTML reply body.
12 |
# File 'lib/telnyx/models/email_inboxes/messages/reply_email_inbox_message_request.rb', line 12 optional :html, String |
#text ⇒ String?
Plain-text reply body.
18 |
# File 'lib/telnyx/models/email_inboxes/messages/reply_email_inbox_message_request.rb', line 18 optional :text, String |
Instance Method Details
#to_hash ⇒ { html: String, text: String }
18 |
# File 'sig/telnyx/models/email_inboxes/messages/reply_email_inbox_message_request.rbs', line 18
def to_hash: -> { html: String, text: String }
|