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)
SourceInstance methods
description
Sourcedescription=(description : String)
Sourceid
Sourceid=(id : String)
Sourcemax_agents
Sourcemax_agents=(max_agents : Int32)
Sourcename
Sourcename=(name : String)
Sourcepayload
Sourcepayload=(payload : Hash(String, JSON::Any))
Sourcepriority
Sourcepriority=(priority : Int32)
Sourcerequired_capabilities
Sourcerequired_capabilities=(required_capabilities : Array(String))
Sourcetimeout_seconds
Sourcetimeout_seconds=(timeout_seconds : Int32)
Source