Class: Telnyx::Models::Storage::KvNamespace

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/storage/kv_namespace.rb,
sig/telnyx/models/storage/kv_namespace.rbs

Overview

See Also:

  • Telnyx::Resources::Storage::Kvs#list

Defined Under Namespace

Modules: Status

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, status: nil, updated_at: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::Storage::KvNamespace for more details.

Parameters:

  • id (String) (defaults to: nil)
  • created_at (Time) (defaults to: nil)
  • name (String) (defaults to: nil)
  • record_type (String) (defaults to: nil)
  • status (Symbol, Telnyx::Models::Storage::KvNamespace::Status) (defaults to: nil)

    Provisioning status. A namespace is usable once status is provision_ok. Once

  • updated_at (Time) (defaults to: nil)


# File 'lib/telnyx/models/storage/kv_namespace.rb', line 40

Instance Attribute Details

#created_atTime?

Parameters:

  • (Time)

Returns:

  • (Time, nil)


16
# File 'lib/telnyx/models/storage/kv_namespace.rb', line 16

optional :created_at, Time

#idString?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :id, String

#nameString?

Parameters:

  • (String)

Returns:

  • (String, nil)


21
# File 'lib/telnyx/models/storage/kv_namespace.rb', line 21

optional :name, String

#record_typeString?

Parameters:

  • (String)

Returns:

  • (String, nil)


26
# File 'lib/telnyx/models/storage/kv_namespace.rb', line 26

optional :record_type, String

#statusSymbol, ...

Provisioning status. A namespace is usable once status is provision_ok. Once deletion completes, the namespace no longer appears in the API.



33
# File 'lib/telnyx/models/storage/kv_namespace.rb', line 33

optional :status, enum: -> { Telnyx::Storage::KvNamespace::Status }

#updated_atTime?

Parameters:

  • (Time)

Returns:

  • (Time, nil)


38
# File 'lib/telnyx/models/storage/kv_namespace.rb', line 38

optional :updated_at, Time

Instance Method Details

#to_hash{

Returns:

  • ({)


50
# File 'sig/telnyx/models/storage/kv_namespace.rbs', line 50

def to_hash: -> {