Class: Telnyx::Models::MessageCancelScheduledResponse::To

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/message_cancel_scheduled_response.rb

Defined Under Namespace

Modules: LineType, Status

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

#initialize(carrier: nil, line_type: nil, phone_number: nil, status: nil) ⇒ Object

Parameters:



# File 'lib/telnyx/models/message_cancel_scheduled_response.rb', line 527

Instance Attribute Details

#carrierString?

The carrier of the receiver.

Returns:

  • (String, nil)


507
# File 'lib/telnyx/models/message_cancel_scheduled_response.rb', line 507

optional :carrier, String

#line_typeSymbol, ...

The line-type of the receiver.



513
# File 'lib/telnyx/models/message_cancel_scheduled_response.rb', line 513

optional :line_type, enum: -> { Telnyx::Models::MessageCancelScheduledResponse::To::LineType }

#phone_numberString?

Receiving address (+E.164 formatted phone number or short code).

Returns:

  • (String, nil)


519
# File 'lib/telnyx/models/message_cancel_scheduled_response.rb', line 519

optional :phone_number, String

#statusSymbol, ...

The delivery status of the message.



525
# File 'lib/telnyx/models/message_cancel_scheduled_response.rb', line 525

optional :status, enum: -> { Telnyx::Models::MessageCancelScheduledResponse::To::Status }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/message_cancel_scheduled_response.rb', line 549