Class: Cadenya::Models::Objectives::ObjectiveToolCallInfo
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::Objectives::ObjectiveToolCallInfo
- Defined in:
- lib/cadenya/models/objectives/objective_tool_call_info.rb
Instance Attribute Summary collapse
-
#created_by ⇒ Cadenya::Models::Profile?
A profile identifies a user or non-human principal (such as an API key) at the account level.
-
#objective ⇒ Cadenya::Models::OperationMetadata?
Metadata for ephemeral operations and activities (e.g., objectives, executions, runs).
-
#tool ⇒ Cadenya::Models::BareMetadata?
BareMetadata contains the minimal metadata for a resource: the ID and an optional human-readable name.
-
#tool_set ⇒ Cadenya::Models::BareMetadata?
BareMetadata contains the minimal metadata for a resource: the ID and an optional human-readable name.
Method Summary
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from Cadenya::Internal::Type::BaseModel
Instance Attribute Details
#created_by ⇒ Cadenya::Models::Profile?
A profile identifies a user or non-human principal (such as an API key) at the account level. Profiles are account-scoped and can be granted access to multiple workspaces.
13 |
# File 'lib/cadenya/models/objectives/objective_tool_call_info.rb', line 13 optional :created_by, -> { Cadenya::Profile }, api_name: :createdBy |
#objective ⇒ Cadenya::Models::OperationMetadata?
Metadata for ephemeral operations and activities (e.g., objectives, executions, runs)
20 |
# File 'lib/cadenya/models/objectives/objective_tool_call_info.rb', line 20 optional :objective, -> { Cadenya::OperationMetadata } |
#tool ⇒ Cadenya::Models::BareMetadata?
BareMetadata contains the minimal metadata for a resource: the ID and an optional human-readable name. These are used for reference fields where the full metadata (account scoping, timestamps, labels, external IDs) is not needed —e.g., the tool references inside an agent variation spec or the tools assigned to an objective. Both fields are server-populated; clients provide IDs through sibling fields rather than by constructing a BareMetadata themselves.
31 |
# File 'lib/cadenya/models/objectives/objective_tool_call_info.rb', line 31 optional :tool, -> { Cadenya::BareMetadata } |
#tool_set ⇒ Cadenya::Models::BareMetadata?
BareMetadata contains the minimal metadata for a resource: the ID and an optional human-readable name. These are used for reference fields where the full metadata (account scoping, timestamps, labels, external IDs) is not needed —e.g., the tool references inside an agent variation spec or the tools assigned to an objective. Both fields are server-populated; clients provide IDs through sibling fields rather than by constructing a BareMetadata themselves.
42 |
# File 'lib/cadenya/models/objectives/objective_tool_call_info.rb', line 42 optional :tool_set, -> { Cadenya::BareMetadata }, api_name: :toolSet |