Class: Telnyx::Models::Storage::Kvs::KeyListResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Storage::Kvs::KeyListResponse
- Defined in:
- lib/telnyx/models/storage/kvs/key_list_response.rb,
sig/telnyx/models/storage/kvs/key_list_response.rbs
Overview
Instance Attribute Summary collapse
- #key ⇒ String?
-
#size_bytes ⇒ Integer?
Size of the stored value in bytes.
- #updated_at ⇒ Time?
Instance Method Summary collapse
- #initialize(key: nil, size_bytes: nil, updated_at: nil) ⇒ Object constructor
- #to_hash ⇒ { key: String, size_bytes: Integer, updated_at: Time }
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(key: nil, size_bytes: nil, updated_at: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/storage/kvs/key_list_response.rb', line 25
|
Instance Attribute Details
#key ⇒ String?
12 |
# File 'lib/telnyx/models/storage/kvs/key_list_response.rb', line 12 optional :key, String |
#size_bytes ⇒ Integer?
Size of the stored value in bytes.
18 |
# File 'lib/telnyx/models/storage/kvs/key_list_response.rb', line 18 optional :size_bytes, Integer |
#updated_at ⇒ Time?
23 |
# File 'lib/telnyx/models/storage/kvs/key_list_response.rb', line 23 optional :updated_at, Time |
Instance Method Details
#to_hash ⇒ { key: String, size_bytes: Integer, updated_at: Time }
27 |
# File 'sig/telnyx/models/storage/kvs/key_list_response.rbs', line 27
def to_hash: -> { key: String, size_bytes: Integer, updated_at: Time }
|