Class: Cadenya::Models::Agents::AgentSchedule
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::Agents::AgentSchedule
- Defined in:
- lib/cadenya/models/agents/agent_schedule.rb
Overview
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#info ⇒ Cadenya::Models::Agents::AgentScheduleInfo?
AgentScheduleInfo provides read-only runtime data about a schedule.
-
#metadata ⇒ Cadenya::Models::ResourceMetadata
Standard metadata for persistent, named resources (e.g., agents, tools, prompts).
-
#spec ⇒ Cadenya::Models::Agents::AgentScheduleSpec
AgentScheduleSpec is the user-provided configuration for a schedule.
Instance Method Summary collapse
-
#initialize(metadata:, spec:, state:, info: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see AgentSchedule 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(metadata:, spec:, state:, info: nil) ⇒ Object
Some parameter documentations has been truncated, see Cadenya::Models::Agents::AgentSchedule for more details.
AgentSchedule resource — a recurring trigger attached to an agent that creates objectives on its cadence.
|
|
# File 'lib/cadenya/models/agents/agent_schedule.rb', line 36
|
Instance Attribute Details
#info ⇒ Cadenya::Models::Agents::AgentScheduleInfo?
AgentScheduleInfo provides read-only runtime data about a schedule.
24 |
# File 'lib/cadenya/models/agents/agent_schedule.rb', line 24 optional :info, -> { Cadenya::Agents::AgentScheduleInfo } |
#metadata ⇒ Cadenya::Models::ResourceMetadata
Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
12 |
# File 'lib/cadenya/models/agents/agent_schedule.rb', line 12 required :metadata, -> { Cadenya::ResourceMetadata } |
#spec ⇒ Cadenya::Models::Agents::AgentScheduleSpec
AgentScheduleSpec is the user-provided configuration for a schedule.
18 |
# File 'lib/cadenya/models/agents/agent_schedule.rb', line 18 required :spec, -> { Cadenya::Agents::AgentScheduleSpec } |