Class: Telnyx::Models::EmailEventListResponse::Email

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

Overview

See Also:

  • Telnyx::Models::EmailEventListResponse#email

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

#initialize(cc:, from:, subject:, to:) ⇒ Object

Summary of the associated email message. Present when the email_message preload is available.



# File 'lib/telnyx/models/email_event_list_response.rb', line 94

Instance Attribute Details

#ccArray<Telnyx::Models::EmailInboxes::EmailAddress>

Parameters:

  • value (::Array[Telnyx::EmailInboxes::EmailAddress])

Returns:



77
# File 'lib/telnyx/models/email_event_list_response.rb', line 77

required :cc, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::EmailInboxes::EmailAddress] }

#fromTelnyx::Models::EmailInboxes::EmailAddress

Parameters:

  • value (Telnyx::EmailInboxes::EmailAddress)

Returns:



82
# File 'lib/telnyx/models/email_event_list_response.rb', line 82

required :from, -> { Telnyx::EmailInboxes::EmailAddress }

#subjectString

Parameters:

  • value (String)

Returns:

  • (String)


87
# File 'lib/telnyx/models/email_event_list_response.rb', line 87

required :subject, String

#toArray<Telnyx::Models::EmailInboxes::EmailAddress>

Parameters:

  • value (::Array[Telnyx::EmailInboxes::EmailAddress])

Returns:



92
# File 'lib/telnyx/models/email_event_list_response.rb', line 92

required :to, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::EmailInboxes::EmailAddress] }

Instance Method Details

#to_hash{

Returns:

  • ({)


89
# File 'sig/telnyx/models/email_event_list_response.rbs', line 89

def to_hash: -> {