Class: Telnyx::Models::EmailInboxes::ThreadRetrieveResponse

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

Overview

See Also:

  • Telnyx::Resources::EmailInboxes::Threads#retrieve

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(data:, meta:) ⇒ Object



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

Instance Attribute Details

#dataTelnyx::Models::EmailInboxes::InboundThreadDetail

Parameters:

  • value (Telnyx::EmailInboxes::InboundThreadDetail)

Returns:



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

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

#metaTelnyx::Models::EmailInboxes::EmailPaginationMeta

Parameters:

  • value (Telnyx::EmailInboxes::EmailPaginationMeta)

Returns:



16
# File 'lib/telnyx/models/email_inboxes/thread_retrieve_response.rb', line 16

required :meta, -> { Telnyx::EmailInboxes::EmailPaginationMeta }

Instance Method Details

#to_hash{

Returns:

  • ({)


20
# File 'sig/telnyx/models/email_inboxes/thread_retrieve_response.rbs', line 20

def to_hash: -> {