Class: Telnyx::Models::Storage::Kvs::KeyListResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Storage::Kvs::KeyListResponse::Data
- Defined in:
- lib/telnyx/models/storage/kvs/key_list_response.rb,
sig/telnyx/models/storage/kvs/key_list_response.rbs
Instance Attribute Summary collapse
- #key ⇒ String?
-
#size_bytes ⇒ Integer?
Size of the stored value in bytes.
- #updated_at ⇒ Time?
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(data: nil, meta: nil, record_type: nil) ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/telnyx/models/storage/kvs/key_list_response.rb', line 30 class Data < Telnyx::Internal::Type::BaseModel # @!attribute key # # @return [String, nil] optional :key, String # @!attribute size_bytes # Size of the stored value in bytes. # # @return [Integer, nil] optional :size_bytes, Integer # @!attribute updated_at # # @return [Time, nil] optional :updated_at, Time # @!method initialize(key: nil, size_bytes: nil, updated_at: nil) # @param key [String] # # @param size_bytes [Integer] Size of the stored value in bytes. # # @param updated_at [Time] end |
Instance Attribute Details
#key ⇒ String?
34 |
# File 'lib/telnyx/models/storage/kvs/key_list_response.rb', line 34 optional :key, String |
#size_bytes ⇒ Integer?
Size of the stored value in bytes.
40 |
# File 'lib/telnyx/models/storage/kvs/key_list_response.rb', line 40 optional :size_bytes, Integer |
#updated_at ⇒ Time?
45 |
# File 'lib/telnyx/models/storage/kvs/key_list_response.rb', line 45 optional :updated_at, Time |
Instance Method Details
#to_hash ⇒ {
62 |
# File 'sig/telnyx/models/storage/kvs/key_list_response.rbs', line 62
def to_hash: -> {
|