Class: Cadenya::Models::Agents::AgentSchedule

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/cadenya/models/agents/agent_schedule.rb

Overview

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Method Summary collapse

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.

Parameters:



# File 'lib/cadenya/models/agents/agent_schedule.rb', line 36

Instance Attribute Details

#infoCadenya::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 }

#metadataCadenya::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 }

#specCadenya::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 }