Class: Cadenya::Models::MemoryLayerSpec
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::MemoryLayerSpec
- Defined in:
- lib/cadenya/models/memory_layer_spec.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#description ⇒ String?
Human-readable description of the layer’s purpose.
- #type ⇒ Symbol, Cadenya::Models::MemoryLayerSpec::Type
Instance Method Summary collapse
-
#initialize(type:, description: nil, expires_at: nil, system_managed: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see MemoryLayerSpec for more details.
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(type:, description: nil, expires_at: nil, system_managed: nil) ⇒ Object
Some parameter documentations has been truncated, see Cadenya::Models::MemoryLayerSpec for more details.
|
|
# File 'lib/cadenya/models/memory_layer_spec.rb', line 36
|
Instance Attribute Details
#description ⇒ String?
Human-readable description of the layer’s purpose. Encouraged for user-created layers; system-managed layers may have a generated description.
16 |
# File 'lib/cadenya/models/memory_layer_spec.rb', line 16 optional :description, String |
#type ⇒ Symbol, Cadenya::Models::MemoryLayerSpec::Type
9 |
# File 'lib/cadenya/models/memory_layer_spec.rb', line 9 required :type, enum: -> { Cadenya::MemoryLayerSpec::Type } |