Class: Telnyx::Models::MobilePhoneNumber::Inbound

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/mobile_phone_number.rb,
sig/telnyx/models/mobile_phone_number.rbs

Overview

See Also:

  • Telnyx::Models::MobilePhoneNumber#inbound

Instance Attribute 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



298
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 298

def initialize: (

Instance Attribute Details

#interception_app_idString?

The ID of the app that will intercept inbound calls.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


291
# File 'lib/telnyx/models/mobile_phone_number.rb', line 291

optional :interception_app_id, String, nil?: true

#interception_app_nameString?

Returns the value of attribute interception_app_name.

Returns:

  • (String, nil)


296
297
298
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 296

def interception_app_name
  @interception_app_name
end

Instance Method Details

#to_hash{

Returns:

  • ({)


303
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 303

def to_hash: -> {