Class: Telnyx::Models::MobileVoiceConnection::Outbound

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

Overview

See Also:

  • Telnyx::Models::MobileVoiceConnection#outbound

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



121
# File 'sig/telnyx/models/mobile_voice_connection.rbs', line 121

def initialize: (

Instance Attribute Details

#channel_limitInteger?

Parameters:

  • value (Integer, nil)

Returns:

  • (Integer, nil)


126
# File 'lib/telnyx/models/mobile_voice_connection.rb', line 126

optional :channel_limit, Integer, nil?: true

#outbound_voice_profile_idString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


131
# File 'lib/telnyx/models/mobile_voice_connection.rb', line 131

optional :outbound_voice_profile_id, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


126
# File 'sig/telnyx/models/mobile_voice_connection.rbs', line 126

def to_hash: -> {