Class: Telnyx::Models::InboundMessagePayload::From
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::InboundMessagePayload::From
- Defined in:
- lib/telnyx/models/inbound_message_payload.rb
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#carrier ⇒ String?
The carrier of the sender.
-
#line_type ⇒ Symbol, ...
The line-type of the sender.
-
#phone_number ⇒ String?
Sending address (+E.164 formatted phone number, alphanumeric sender ID, or short code).
- #status ⇒ Symbol, ...
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(carrier: nil, line_type: nil, phone_number: nil, status: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see From for more details.
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(carrier: nil, line_type: nil, phone_number: nil, status: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::InboundMessagePayload::From for more details.
|
|
# File 'lib/telnyx/models/inbound_message_payload.rb', line 411
|
Instance Attribute Details
#carrier ⇒ String?
The carrier of the sender.
391 |
# File 'lib/telnyx/models/inbound_message_payload.rb', line 391 optional :carrier, String |
#line_type ⇒ Symbol, ...
The line-type of the sender.
397 |
# File 'lib/telnyx/models/inbound_message_payload.rb', line 397 optional :line_type, enum: -> { Telnyx::InboundMessagePayload::From::LineType } |
#phone_number ⇒ String?
Sending address (+E.164 formatted phone number, alphanumeric sender ID, or short code).
404 |
# File 'lib/telnyx/models/inbound_message_payload.rb', line 404 optional :phone_number, String |
#status ⇒ Symbol, ...
409 |
# File 'lib/telnyx/models/inbound_message_payload.rb', line 409 optional :status, enum: -> { Telnyx::InboundMessagePayload::From::Status } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/inbound_message_payload.rb', line 436
|