Class: Telnyx::Models::MobilePhoneNumber::CallForwarding
Overview
Defined Under Namespace
Modules: ForwardingType
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(call_forwarding_enabled: nil, forwarding_type: nil, forwards_to: nil) ⇒ Object
|
# File 'lib/telnyx/models/mobile_phone_number.rb', line 204
|
Instance Attribute Details
#call_forwarding_enabled ⇒ Boolean?
190
|
# File 'lib/telnyx/models/mobile_phone_number.rb', line 190
optional :call_forwarding_enabled, Telnyx::Internal::Type::Boolean
|
#forwarding_type ⇒ Symbol, ...
195
196
197
|
# File 'lib/telnyx/models/mobile_phone_number.rb', line 195
optional :forwarding_type,
enum: -> { Telnyx::MobilePhoneNumber::CallForwarding::ForwardingType },
nil?: true
|
#forwards_to ⇒ String?
202
|
# File 'lib/telnyx/models/mobile_phone_number.rb', line 202
optional :forwards_to, String, nil?: true
|
Instance Method Details
#to_hash ⇒ {
192
|
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 192
def to_hash: -> {
|