Class: Telnyx::Models::InboundMessage

Inherits:
EmailInboxes::ThreadMessage show all
Defined in:
lib/telnyx/models/inbound_message.rb,
sig/telnyx/models/inbound_message.rbs

Defined Under Namespace

Modules: Direction, Status

Instance Attribute Summary collapse

Attributes inherited from EmailInboxes::ThreadMessage

#attachments, #bcc, #cc, #created_at, #from, #has_quoted_text, #headers, #html_body_url, #id, #in_reply_to, #inbox_id, #inline_files, #labels, #message_id, #read_at, #received_at, #record_type, #references, #reply_text, #reply_to, #sent_at, #subject, #text_body_url, #thread_id, #to, #updated_at

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



22
# File 'sig/telnyx/models/inbound_message.rbs', line 22

def initialize: (

Instance Attribute Details

#directionSymbol, ...



9
# File 'lib/telnyx/models/inbound_message.rb', line 9

optional :direction, enum: -> { Telnyx::InboundMessage::Direction }

#statusSymbol, ...

Returns:



14
# File 'lib/telnyx/models/inbound_message.rb', line 14

optional :status, enum: -> { Telnyx::InboundMessage::Status }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/inbound_message.rb', line 25

Instance Method Details

#to_hash{

Returns:

  • ({)


27
# File 'sig/telnyx/models/inbound_message.rbs', line 27

def to_hash: -> {