Class: Telnyx::Models::OutboundMessagePayload::To
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::OutboundMessagePayload::To
- Defined in:
- lib/telnyx/models/outbound_message_payload.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#carrier ⇒ String?
The carrier of the receiver.
-
#line_type ⇒ Symbol, ...
The line-type of the receiver.
-
#phone_number ⇒ String?
Receiving address (+E.164 formatted phone number or short code).
-
#status ⇒ Symbol, ...
The delivery status of the message.
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
#initialize(carrier: nil, line_type: nil, phone_number: nil, status: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/outbound_message_payload.rb', line 529
|
Instance Attribute Details
#carrier ⇒ String?
The carrier of the receiver.
509 |
# File 'lib/telnyx/models/outbound_message_payload.rb', line 509 optional :carrier, String |
#line_type ⇒ Symbol, ...
The line-type of the receiver.
515 |
# File 'lib/telnyx/models/outbound_message_payload.rb', line 515 optional :line_type, enum: -> { Telnyx::OutboundMessagePayload::To::LineType } |
#phone_number ⇒ String?
Receiving address (+E.164 formatted phone number or short code).
521 |
# File 'lib/telnyx/models/outbound_message_payload.rb', line 521 optional :phone_number, String |
#status ⇒ Symbol, ...
The delivery status of the message.
527 |
# File 'lib/telnyx/models/outbound_message_payload.rb', line 527 optional :status, enum: -> { Telnyx::OutboundMessagePayload::To::Status } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/outbound_message_payload.rb', line 551
|