AgentZero::DistributedTask
Inherits Struct < Value < Object
Distributed task definition
Constructors
new(name : String, description : String, required_capabilities : Array(String) = [] of String, priority : Int32 = 5, max_agents : Int32 = -1, timeout_seconds : Int32 = 300)
Instance methods
description
description=(description : String)
id
id=(id : String)
max_agents
max_agents=(max_agents : Int32)
name
name=(name : String)
payload
payload=(payload : Hash(String, JSON::Any))
priority
priority=(priority : Int32)
required_capabilities
required_capabilities=(required_capabilities : Array(String))
timeout_seconds
timeout_seconds=(timeout_seconds : Int32)