Class: Telnyx::Models::EmailMessageBatchResponse

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

Overview

See Also:

  • Telnyx::Resources::EmailMessages#batch

Defined Under Namespace

Classes: Error, Meta

Instance Attribute Summary collapse

Class Method 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



17
# File 'sig/telnyx/models/email_message_batch_response.rbs', line 17

def initialize: (

Instance Attribute Details

#dataArray<Telnyx::Models::EmailInboxes::EmailMessage>

Parameters:

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

Returns:



10
# File 'lib/telnyx/models/email_message_batch_response.rb', line 10

required :data, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::EmailInboxes::EmailMessage] }

#errorsArray<Telnyx::Models::EmailMessageBatchResponse::Error>



15
# File 'lib/telnyx/models/email_message_batch_response.rb', line 15

required :errors, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::EmailMessageBatchResponse::Error] }

#metaTelnyx::Models::EmailMessageBatchResponse::Meta



20
# File 'lib/telnyx/models/email_message_batch_response.rb', line 20

required :meta, -> { Telnyx::Models::EmailMessageBatchResponse::Meta }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/email_message_batch_response.rb', line 66

Instance Method Details

#to_hash{

Returns:

  • ({)


23
# File 'sig/telnyx/models/email_message_batch_response.rbs', line 23

def to_hash: -> {