Class: Cadenya::Models::CreateOperationMetadata
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::CreateOperationMetadata
- Defined in:
- lib/cadenya/models/create_operation_metadata.rb,
sig/cadenya/models/create_operation_metadata.rbs
Instance Attribute Summary collapse
-
#external_id ⇒ String?
External ID for the operation (e.g., a workflow ID from an external system).
-
#labels ⇒ Hash{Symbol=>String}?
Arbitrary key-value pairs for categorization and filtering Examples: "high", "source": "api", "workflow": "onboarding".
Instance Method Summary collapse
-
#initialize(external_id: nil, labels: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see CreateOperationMetadata for more details.
- #to_hash ⇒ { external_id: String, labels: ::Hash[Symbol, String] }
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(external_id: nil, labels: nil) ⇒ Object
Some parameter documentations has been truncated, see Cadenya::Models::CreateOperationMetadata for more details.
CreateOperationMetadata contains the user-provided fields for creating an operation. Read-only fields (id, account_id, workspace_id, created_at, profile_id) are excluded since they are set by the server.
|
|
# File 'lib/cadenya/models/create_operation_metadata.rb', line 19
|
Instance Attribute Details
#external_id ⇒ String?
External ID for the operation (e.g., a workflow ID from an external system)
10 |
# File 'lib/cadenya/models/create_operation_metadata.rb', line 10 optional :external_id, String, api_name: :externalId |
#labels ⇒ Hash{Symbol=>String}?
Arbitrary key-value pairs for categorization and filtering Examples: "high", "source": "api", "workflow": "onboarding"
17 |
# File 'lib/cadenya/models/create_operation_metadata.rb', line 17 optional :labels, Cadenya::Internal::Type::HashOf[String] |
Instance Method Details
#to_hash ⇒ { external_id: String, labels: ::Hash[Symbol, String] }
20 |
# File 'sig/cadenya/models/create_operation_metadata.rbs', line 20
def to_hash: -> { external_id: String, labels: ::Hash[Symbol, String] }
|