Class: Telnyx::Models::MobileVoiceConnection
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::MobileVoiceConnection
- Defined in:
- lib/telnyx/models/mobile_voice_connection.rb
Overview
Defined Under Namespace
Modules: RecordType, WebhookAPIVersion Classes: Inbound, Outbound
Instance Attribute Summary collapse
-
#active ⇒ Boolean?
Indicates if the connection is active.
-
#connection_name ⇒ String?
The name of the connection.
- #inbound ⇒ Telnyx::Models::MobileVoiceConnection::Inbound?
- #outbound ⇒ Telnyx::Models::MobileVoiceConnection::Outbound?
-
#tags ⇒ Array<String>?
A list of tags associated with the connection.
-
#webhook_api_version ⇒ Symbol, ...
The API version for webhooks.
-
#webhook_event_failover_url ⇒ String?
The failover URL where webhooks are sent.
-
#webhook_event_url ⇒ String?
The URL where webhooks are sent.
-
#webhook_timeout_secs ⇒ Integer?
The timeout for webhooks in seconds.
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(channel_limit: nil, outbound_voice_profile_id: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/mobile_voice_connection.rb', line 83
|
Instance Attribute Details
#active ⇒ Boolean?
Indicates if the connection is active.
11 |
# File 'lib/telnyx/models/mobile_voice_connection.rb', line 11 optional :active, Telnyx::Internal::Type::Boolean |
#connection_name ⇒ String?
The name of the connection.
17 |
# File 'lib/telnyx/models/mobile_voice_connection.rb', line 17 optional :connection_name, String |
#inbound ⇒ Telnyx::Models::MobileVoiceConnection::Inbound?
22 |
# File 'lib/telnyx/models/mobile_voice_connection.rb', line 22 optional :inbound, -> { Telnyx::MobileVoiceConnection::Inbound } |
#outbound ⇒ Telnyx::Models::MobileVoiceConnection::Outbound?
27 |
# File 'lib/telnyx/models/mobile_voice_connection.rb', line 27 optional :outbound, -> { Telnyx::MobileVoiceConnection::Outbound } |
#tags ⇒ Array<String>?
A list of tags associated with the connection.
33 |
# File 'lib/telnyx/models/mobile_voice_connection.rb', line 33 optional :tags, Telnyx::Internal::Type::ArrayOf[String] |
#webhook_api_version ⇒ Symbol, ...
The API version for webhooks.
39 |
# File 'lib/telnyx/models/mobile_voice_connection.rb', line 39 optional :webhook_api_version, enum: -> { Telnyx::MobileVoiceConnection::WebhookAPIVersion }, nil?: true |
#webhook_event_failover_url ⇒ String?
The failover URL where webhooks are sent.
45 |
# File 'lib/telnyx/models/mobile_voice_connection.rb', line 45 optional :webhook_event_failover_url, String, nil?: true |
#webhook_event_url ⇒ String?
The URL where webhooks are sent.
51 |
# File 'lib/telnyx/models/mobile_voice_connection.rb', line 51 optional :webhook_event_url, String, nil?: true |
#webhook_timeout_secs ⇒ Integer?
The timeout for webhooks in seconds.
57 |
# File 'lib/telnyx/models/mobile_voice_connection.rb', line 57 optional :webhook_timeout_secs, Integer, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/mobile_voice_connection.rb', line 146
|