Class: Telnyx::Models::MobileVoiceConnectionCreateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/telnyx/models/mobile_voice_connection_create_params.rb

Overview

Defined Under Namespace

Modules: WebhookAPIVersion Classes: Inbound, Outbound

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(channel_limit: nil, outbound_voice_profile_id: nil) ⇒ Object

Parameters:

  • channel_limit (Integer) (defaults to: nil)
  • outbound_voice_profile_id (String) (defaults to: nil)


# File 'lib/telnyx/models/mobile_voice_connection_create_params.rb', line 73

Instance Attribute Details

#activeBoolean?

Returns:

  • (Boolean, nil)


13
# File 'lib/telnyx/models/mobile_voice_connection_create_params.rb', line 13

optional :active, Telnyx::Internal::Type::Boolean

#connection_nameString?

Returns:

  • (String, nil)


18
# File 'lib/telnyx/models/mobile_voice_connection_create_params.rb', line 18

optional :connection_name, String

#inboundTelnyx::Models::MobileVoiceConnectionCreateParams::Inbound?



23
# File 'lib/telnyx/models/mobile_voice_connection_create_params.rb', line 23

optional :inbound, -> { Telnyx::MobileVoiceConnectionCreateParams::Inbound }

#outboundTelnyx::Models::MobileVoiceConnectionCreateParams::Outbound?



28
# File 'lib/telnyx/models/mobile_voice_connection_create_params.rb', line 28

optional :outbound, -> { Telnyx::MobileVoiceConnectionCreateParams::Outbound }

#tagsArray<String>?

Returns:

  • (Array<String>, nil)


33
# File 'lib/telnyx/models/mobile_voice_connection_create_params.rb', line 33

optional :tags, Telnyx::Internal::Type::ArrayOf[String]

#webhook_api_versionSymbol, ...



38
# File 'lib/telnyx/models/mobile_voice_connection_create_params.rb', line 38

optional :webhook_api_version, enum: -> { Telnyx::MobileVoiceConnectionCreateParams::WebhookAPIVersion }

#webhook_event_failover_urlString?

Returns:

  • (String, nil)


43
# File 'lib/telnyx/models/mobile_voice_connection_create_params.rb', line 43

optional :webhook_event_failover_url, String, nil?: true

#webhook_event_urlString?

Returns:

  • (String, nil)


48
# File 'lib/telnyx/models/mobile_voice_connection_create_params.rb', line 48

optional :webhook_event_url, String, nil?: true

#webhook_timeout_secsInteger?

Returns:

  • (Integer, nil)


53
# File 'lib/telnyx/models/mobile_voice_connection_create_params.rb', line 53

optional :webhook_timeout_secs, Integer, nil?: true