Class: Telnyx::Models::WirelessBlocklist

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/wireless_blocklist.rb

Overview

Defined Under Namespace

Modules: Type

Instance Attribute 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(id: nil, created_at: nil, name: nil, record_type: nil, type: nil, updated_at: nil, values: nil) ⇒ Object

Parameters:

  • id (String) (defaults to: nil)

    Identifies the resource.

  • created_at (String) (defaults to: nil)

    ISO 8601 formatted date-time indicating when the resource was created.

  • name (String) (defaults to: nil)

    The wireless blocklist name.

  • record_type (String) (defaults to: nil)
  • type (Symbol, Telnyx::Models::WirelessBlocklist::Type) (defaults to: nil)

    The type of the wireless blocklist.

  • updated_at (String) (defaults to: nil)

    ISO 8601 formatted date-time indicating when the resource was updated.

  • values (Array<String>) (defaults to: nil)

    Values to block. The values here depend on the ‘type` of Wireless Blocklist.



# File 'lib/telnyx/models/wireless_blocklist.rb', line 50

Instance Attribute Details

#nameString?

The wireless blocklist name.

Returns:

  • (String, nil)


11
# File 'lib/telnyx/models/wireless_blocklist.rb', line 11

optional :name, String

#typeSymbol, ...

The type of the wireless blocklist.

Returns:



17
# File 'lib/telnyx/models/wireless_blocklist.rb', line 17

optional :type, enum: -> { Telnyx::WirelessBlocklist::Type }

#valuesArray<String>?

Values to block. The values here depend on the ‘type` of Wireless Blocklist.

Returns:

  • (Array<String>, nil)


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

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