Class: Telnyx::Models::MobileVoiceConnection
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::MobileVoiceConnection
- Defined in:
- lib/telnyx/models/mobile_voice_connection.rb,
sig/telnyx/models/mobile_voice_connection.rbs
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.
-
#created_at ⇒ Time?
readonly
Returns the value of attribute created_at.
-
#id ⇒ String?
readonly
Returns the value of attribute id.
- #inbound ⇒ Telnyx::Models::MobileVoiceConnection::Inbound?
- #outbound ⇒ Telnyx::Models::MobileVoiceConnection::Outbound?
-
#record_type ⇒ Telnyx::Models::MobileVoiceConnection::record_type?
readonly
Returns the value of attribute record_type.
-
#tags ⇒ Array<String>?
A list of tags associated with the connection.
-
#updated_at ⇒ Time?
readonly
Returns the value of attribute updated_at.
-
#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
- #created_at ⇒ Time readonly
- #id ⇒ String readonly
- #initialize(channel_limit: nil, outbound_voice_profile_id: nil) ⇒ Object constructor
- #record_type ⇒ Object readonly
- #to_hash ⇒ {
- #updated_at ⇒ Time readonly
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 |
#created_at ⇒ Time? (readonly)
Returns the value of attribute created_at.
57 58 59 |
# File 'sig/telnyx/models/mobile_voice_connection.rbs', line 57 def created_at @created_at end |
#id ⇒ String? (readonly)
Returns the value of attribute id.
53 54 55 |
# File 'sig/telnyx/models/mobile_voice_connection.rbs', line 53 def id @id end |
#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 } |
#record_type ⇒ Telnyx::Models::MobileVoiceConnection::record_type? (readonly)
Returns the value of attribute record_type.
61 62 63 |
# File 'sig/telnyx/models/mobile_voice_connection.rbs', line 61 def record_type @record_type end |
#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] |
#updated_at ⇒ Time? (readonly)
Returns the value of attribute updated_at.
67 68 69 |
# File 'sig/telnyx/models/mobile_voice_connection.rbs', line 67 def updated_at @updated_at end |
#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
|
Instance Method Details
#created_at= ⇒ Time (readonly)
59 |
# File 'sig/telnyx/models/mobile_voice_connection.rbs', line 59
def created_at=: (Time) -> Time
|
#id= ⇒ String (readonly)
55 |
# File 'sig/telnyx/models/mobile_voice_connection.rbs', line 55
def id=: (String) -> String
|
#record_type= ⇒ Object (readonly)
63 |
# File 'sig/telnyx/models/mobile_voice_connection.rbs', line 63
def record_type=: (
|
#to_hash ⇒ {
87 |
# File 'sig/telnyx/models/mobile_voice_connection.rbs', line 87
def to_hash: -> {
|
#updated_at= ⇒ Time (readonly)
69 |
# File 'sig/telnyx/models/mobile_voice_connection.rbs', line 69
def updated_at=: (Time) -> Time
|