Class: Cadenya::Models::MemoryLayers::MemoryEntryUpdateSpec
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/cadenya/models/memory_layers/memory_entry_update_spec.rb,
sig/cadenya/models/memory_layers/memory_entry_update_spec.rbs
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(content: nil, description: nil, key: nil, upload_id: nil) ⇒ Object
MemoryEntryUpdateSpec is the input shape for UpdateMemoryEntry. Fields present
in the request's update_mask are applied; unset fields are left alone. The
source oneof is optional for updates — omit it to leave the body untouched, or
set exactly one branch to replace it.
|
# File 'lib/cadenya/models/memory_layers/memory_entry_update_spec.rb', line 27
|
Instance Attribute Details
#content ⇒ String?
10
|
# File 'lib/cadenya/models/memory_layers/memory_entry_update_spec.rb', line 10
optional :content, String
|
#description ⇒ String?
15
|
# File 'lib/cadenya/models/memory_layers/memory_entry_update_spec.rb', line 15
optional :description, String
|
#key ⇒ String?
20
|
# File 'lib/cadenya/models/memory_layers/memory_entry_update_spec.rb', line 20
optional :key, String
|
#upload_id ⇒ String?
25
|
# File 'lib/cadenya/models/memory_layers/memory_entry_update_spec.rb', line 25
optional :upload_id, String, api_name: :uploadId
|
Instance Method Details
#to_hash ⇒ {
31
|
# File 'sig/cadenya/models/memory_layers/memory_entry_update_spec.rbs', line 31
def to_hash: -> {
|