Class: Telnyx::Models::EmailInboxes::EmailMessageResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/email_inboxes/email_message_response.rb,
sig/telnyx/models/email_inboxes/email_message_response.rbs

Overview

See Also:

  • Telnyx::Resources::EmailInboxes::Drafts#send_

Defined Under Namespace

Classes: Suppressed

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#initializeObject



19
# File 'sig/telnyx/models/email_inboxes/email_message_response.rbs', line 19

def initialize: (

Instance Attribute Details

#dataTelnyx::Models::EmailInboxes::EmailMessage

Parameters:

  • value (Telnyx::EmailInboxes::EmailMessage)

Returns:



11
# File 'lib/telnyx/models/email_inboxes/email_message_response.rb', line 11

required :data, -> { Telnyx::EmailInboxes::EmailMessage }

#suppressedArray<Telnyx::Models::EmailInboxes::EmailMessageResponse::Suppressed>?

Recipients removed by suppression checks when at least one recipient remains and the message is accepted.



18
19
# File 'lib/telnyx/models/email_inboxes/email_message_response.rb', line 18

optional :suppressed,
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::EmailInboxes::EmailMessageResponse::Suppressed] }

Instance Method Details

#to_hash{

Returns:

  • ({)


24
# File 'sig/telnyx/models/email_inboxes/email_message_response.rbs', line 24

def to_hash: -> {