Class: Telnyx::Models::Storage::Kvs::KeyUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Storage::Kvs::KeyUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/telnyx/models/storage/kvs/key_update_params.rb,
sig/telnyx/models/storage/kvs/key_update_params.rbs
Overview
Instance Attribute Summary collapse
-
#body ⇒ Pathname, ...
Raw value bytes, stored verbatim.
- #id ⇒ String
- #key ⇒ String
-
#ttl_secs ⇒ Integer?
Time-to-live in seconds.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(id:, key:, body:, ttl_secs: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see KeyUpdateParams for more details.
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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:, key:, body:, ttl_secs: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::Storage::Kvs::KeyUpdateParams for more details.
|
|
# File 'lib/telnyx/models/storage/kvs/key_update_params.rb', line 36
|
Instance Attribute Details
#body ⇒ Pathname, ...
Raw value bytes, stored verbatim.
26 |
# File 'lib/telnyx/models/storage/kvs/key_update_params.rb', line 26 required :body, Telnyx::Internal::Type::FileInput |
#id ⇒ String
15 |
# File 'lib/telnyx/models/storage/kvs/key_update_params.rb', line 15 required :id, String |
#key ⇒ String
20 |
# File 'lib/telnyx/models/storage/kvs/key_update_params.rb', line 20 required :key, String |
#ttl_secs ⇒ Integer?
Time-to-live in seconds. When set, the key expires and is deleted after this
duration. Requires a namespace provisioned with TTL support; namespaces without
it return a 409.
34 |
# File 'lib/telnyx/models/storage/kvs/key_update_params.rb', line 34 optional :ttl_secs, Integer |
Instance Method Details
#to_hash ⇒ {
36 |
# File 'sig/telnyx/models/storage/kvs/key_update_params.rbs', line 36
def to_hash: -> {
|