Autobot::Cron::CronPayload
Inherits JSON::Serializable < Struct < Value < Object
What to do when the job runs.
Constructors
new(pull : JSON::PullParser)
Sourcenew(kind : Autobot::Cron::PayloadKind = PayloadKind::AgentTurn, message : String = "", deliver : Bool = false, channel : Nil | String = nil, to : Nil | String = nil, command : Nil | String = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
channel
Sourcecommand
Sourcedeliver?
Sourcekind
Sourcekind=(kind : PayloadKind)
Sourcemessage
Sourceto
Source