Class: Telnyx::Models::WirelessBlocklist
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::WirelessBlocklist
- Defined in:
- lib/telnyx/models/wireless_blocklist.rb,
sig/telnyx/models/wireless_blocklist.rbs
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#created_at ⇒ String?
readonly
Returns the value of attribute created_at.
-
#id ⇒ String?
readonly
Returns the value of attribute id.
-
#name ⇒ String?
The wireless blocklist name.
-
#record_type ⇒ String?
readonly
Returns the value of attribute record_type.
-
#type ⇒ Symbol, ...
The type of the wireless blocklist.
-
#updated_at ⇒ String?
readonly
Returns the value of attribute updated_at.
-
#values ⇒ Array<String>?
Values to block.
Instance Method Summary collapse
- #created_at ⇒ String readonly
- #id ⇒ String readonly
- #initialize(id: nil, created_at: nil, name: nil, record_type: nil, type: nil, updated_at: nil, values: nil) ⇒ Object constructor
- #record_type ⇒ String readonly
- #to_hash ⇒ {
- #updated_at ⇒ String 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(id: nil, created_at: nil, name: nil, record_type: nil, type: nil, updated_at: nil, values: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/wireless_blocklist.rb', line 50
|
Instance Attribute Details
#created_at ⇒ String? (readonly)
Returns the value of attribute created_at.
33 34 35 |
# File 'sig/telnyx/models/wireless_blocklist.rbs', line 33 def created_at @created_at end |
#id ⇒ String? (readonly)
Returns the value of attribute id.
29 30 31 |
# File 'sig/telnyx/models/wireless_blocklist.rbs', line 29 def id @id end |
#name ⇒ String?
The wireless blocklist name.
11 |
# File 'lib/telnyx/models/wireless_blocklist.rb', line 11 optional :name, String |
#record_type ⇒ String? (readonly)
Returns the value of attribute record_type.
37 38 39 |
# File 'sig/telnyx/models/wireless_blocklist.rbs', line 37 def record_type @record_type end |
#type ⇒ Symbol, ...
The type of the wireless blocklist.
17 |
# File 'lib/telnyx/models/wireless_blocklist.rb', line 17 optional :type, enum: -> { Telnyx::WirelessBlocklist::Type } |
#updated_at ⇒ String? (readonly)
Returns the value of attribute updated_at.
41 42 43 |
# File 'sig/telnyx/models/wireless_blocklist.rbs', line 41 def updated_at @updated_at end |
#values ⇒ Array<String>?
Values to block. The values here depend on the type of Wireless Blocklist.
23 |
# File 'lib/telnyx/models/wireless_blocklist.rb', line 23 optional :values, Telnyx::Internal::Type::ArrayOf[String] |
Instance Method Details
#created_at= ⇒ String (readonly)
35 |
# File 'sig/telnyx/models/wireless_blocklist.rbs', line 35
def created_at=: (String) -> String
|
#id= ⇒ String (readonly)
31 |
# File 'sig/telnyx/models/wireless_blocklist.rbs', line 31
def id=: (String) -> String
|
#record_type= ⇒ String (readonly)
39 |
# File 'sig/telnyx/models/wireless_blocklist.rbs', line 39
def record_type=: (String) -> String
|
#to_hash ⇒ {
55 |
# File 'sig/telnyx/models/wireless_blocklist.rbs', line 55
def to_hash: -> {
|
#updated_at= ⇒ String (readonly)
43 |
# File 'sig/telnyx/models/wireless_blocklist.rbs', line 43
def updated_at=: (String) -> String
|