Class: Telnyx::Models::MobilePhoneNumber
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::MobilePhoneNumber
- Defined in:
- lib/telnyx/models/mobile_phone_number.rb,
sig/telnyx/models/mobile_phone_number.rbs
Overview
Defined Under Namespace
Modules: InboundCallScreening, NoiseSuppression Classes: CallForwarding, CallRecording, CnamListing, Inbound, Outbound
Instance Attribute Summary collapse
- #call_forwarding ⇒ Telnyx::Models::MobilePhoneNumber::CallForwarding?
- #call_recording ⇒ Telnyx::Models::MobilePhoneNumber::CallRecording?
-
#caller_id_name_enabled ⇒ Boolean?
Indicates if caller ID name is enabled.
- #cnam_listing ⇒ Telnyx::Models::MobilePhoneNumber::CnamListing?
-
#connection_id ⇒ String?
The ID of the connection associated with this number.
-
#connection_name ⇒ String?
Returns the value of attribute connection_name.
-
#connection_type ⇒ String?
Returns the value of attribute connection_type.
-
#country_iso_alpha2 ⇒ String?
readonly
Returns the value of attribute country_iso_alpha2.
-
#created_at ⇒ Time?
readonly
Returns the value of attribute created_at.
-
#customer_reference ⇒ String?
A customer reference string.
-
#id ⇒ String?
readonly
Returns the value of attribute id.
- #inbound ⇒ Telnyx::Models::MobilePhoneNumber::Inbound?
-
#inbound_call_screening ⇒ Symbol, ...
The inbound call screening setting.
-
#mobile_voice_enabled ⇒ Boolean?
readonly
Returns the value of attribute mobile_voice_enabled.
-
#noise_suppression ⇒ Symbol, ...
The noise suppression setting.
- #outbound ⇒ Telnyx::Models::MobilePhoneNumber::Outbound?
-
#phone_number ⇒ String?
readonly
Returns the value of attribute phone_number.
-
#record_type ⇒ String?
readonly
Returns the value of attribute record_type.
-
#sim_card_id ⇒ String?
readonly
Returns the value of attribute sim_card_id.
-
#status ⇒ String?
readonly
Returns the value of attribute status.
-
#tags ⇒ Array<String>?
A list of tags associated with the number.
-
#updated_at ⇒ Time?
readonly
Returns the value of attribute updated_at.
Class Method Summary collapse
Instance Method Summary collapse
- #country_iso_alpha2 ⇒ String readonly
- #created_at ⇒ Time readonly
- #id ⇒ String readonly
- #initialize(interception_app_id: nil, interception_app_name: nil) ⇒ Object constructor
- #mobile_voice_enabled ⇒ Boolean readonly
- #phone_number ⇒ String readonly
- #record_type ⇒ String readonly
- #sim_card_id ⇒ String readonly
- #status ⇒ String 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(interception_app_id: nil, interception_app_name: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/mobile_phone_number.rb', line 140
|
Instance Attribute Details
#call_forwarding ⇒ Telnyx::Models::MobilePhoneNumber::CallForwarding?
10 |
# File 'lib/telnyx/models/mobile_phone_number.rb', line 10 optional :call_forwarding, -> { Telnyx::MobilePhoneNumber::CallForwarding } |
#call_recording ⇒ Telnyx::Models::MobilePhoneNumber::CallRecording?
15 |
# File 'lib/telnyx/models/mobile_phone_number.rb', line 15 optional :call_recording, -> { Telnyx::MobilePhoneNumber::CallRecording } |
#caller_id_name_enabled ⇒ Boolean?
Indicates if caller ID name is enabled.
21 |
# File 'lib/telnyx/models/mobile_phone_number.rb', line 21 optional :caller_id_name_enabled, Telnyx::Internal::Type::Boolean |
#cnam_listing ⇒ Telnyx::Models::MobilePhoneNumber::CnamListing?
26 |
# File 'lib/telnyx/models/mobile_phone_number.rb', line 26 optional :cnam_listing, -> { Telnyx::MobilePhoneNumber::CnamListing } |
#connection_id ⇒ String?
The ID of the connection associated with this number.
32 |
# File 'lib/telnyx/models/mobile_phone_number.rb', line 32 optional :connection_id, String, nil?: true |
#connection_name ⇒ String?
Returns the value of attribute connection_name.
84 85 86 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 84 def connection_name @connection_name end |
#connection_type ⇒ String?
Returns the value of attribute connection_type.
86 87 88 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 86 def connection_type @connection_type end |
#country_iso_alpha2 ⇒ String? (readonly)
Returns the value of attribute country_iso_alpha2.
88 89 90 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 88 def country_iso_alpha2 @country_iso_alpha2 end |
#created_at ⇒ Time? (readonly)
Returns the value of attribute created_at.
92 93 94 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 92 def created_at @created_at end |
#customer_reference ⇒ String?
A customer reference string.
38 |
# File 'lib/telnyx/models/mobile_phone_number.rb', line 38 optional :customer_reference, String, nil?: true |
#id ⇒ String? (readonly)
Returns the value of attribute id.
80 81 82 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 80 def id @id end |
#inbound ⇒ Telnyx::Models::MobilePhoneNumber::Inbound?
43 |
# File 'lib/telnyx/models/mobile_phone_number.rb', line 43 optional :inbound, -> { Telnyx::MobilePhoneNumber::Inbound } |
#inbound_call_screening ⇒ Symbol, ...
The inbound call screening setting.
49 50 51 52 53 |
# File 'lib/telnyx/models/mobile_phone_number.rb', line 49 optional :inbound_call_screening, enum: -> { Telnyx::MobilePhoneNumber::InboundCallScreening }, nil?: true |
#mobile_voice_enabled ⇒ Boolean? (readonly)
Returns the value of attribute mobile_voice_enabled.
96 97 98 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 96 def mobile_voice_enabled @mobile_voice_enabled end |
#noise_suppression ⇒ Symbol, ...
The noise suppression setting.
59 |
# File 'lib/telnyx/models/mobile_phone_number.rb', line 59 optional :noise_suppression, enum: -> { Telnyx::MobilePhoneNumber::NoiseSuppression } |
#outbound ⇒ Telnyx::Models::MobilePhoneNumber::Outbound?
64 |
# File 'lib/telnyx/models/mobile_phone_number.rb', line 64 optional :outbound, -> { Telnyx::MobilePhoneNumber::Outbound } |
#phone_number ⇒ String? (readonly)
Returns the value of attribute phone_number.
100 101 102 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 100 def phone_number @phone_number end |
#record_type ⇒ String? (readonly)
Returns the value of attribute record_type.
104 105 106 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 104 def record_type @record_type end |
#sim_card_id ⇒ String? (readonly)
Returns the value of attribute sim_card_id.
108 109 110 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 108 def sim_card_id @sim_card_id end |
#status ⇒ String? (readonly)
Returns the value of attribute status.
112 113 114 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 112 def status @status end |
#tags ⇒ Array<String>?
A list of tags associated with the number.
70 |
# File 'lib/telnyx/models/mobile_phone_number.rb', line 70 optional :tags, Telnyx::Internal::Type::ArrayOf[String] |
#updated_at ⇒ Time? (readonly)
Returns the value of attribute updated_at.
116 117 118 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 116 def updated_at @updated_at end |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/mobile_phone_number.rb', line 216
|
Instance Method Details
#country_iso_alpha2= ⇒ String (readonly)
90 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 90
def country_iso_alpha2=: (String) -> String
|
#created_at= ⇒ Time (readonly)
94 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 94
def created_at=: (Time) -> Time
|
#id= ⇒ String (readonly)
82 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 82
def id=: (String) -> String
|
#mobile_voice_enabled= ⇒ Boolean (readonly)
98 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 98
def mobile_voice_enabled=: (bool) -> bool
|
#phone_number= ⇒ String (readonly)
102 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 102
def phone_number=: (String) -> String
|
#record_type= ⇒ String (readonly)
106 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 106
def record_type=: (String) -> String
|
#sim_card_id= ⇒ String (readonly)
110 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 110
def sim_card_id=: (String) -> String
|
#status= ⇒ String (readonly)
114 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 114
def status=: (String) -> String
|
#to_hash ⇒ {
145 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 145
def to_hash: -> {
|
#updated_at= ⇒ Time (readonly)
118 |
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 118
def updated_at=: (Time) -> Time
|