struct

Job

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(id : String, parent_id : Nil | String, body : String, tube : String, reserved : Bool, noop : Bool, ttl : Int32, expireds : Int32, expired_limit : Int32, priority : Int32, releases : Int32, created_time : Int64)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

body
Source
body=(body : String)
Source
created_time
Source
created_time=(created_time : Int64)
Source
expired_limit
Source
expired_limit=(expired_limit : Int32)
Source
expireds
Source
expireds=(expireds : Int32)
Source
id=(id : String)
Source
noop
Source
noop=(noop : Bool)
Source
parent_id
Source
parent_id=(parent_id : String | Nil)
Source
priority
Source
priority=(priority : Int32)
Source
releases
Source
releases=(releases : Int32)
Source
reserved
Source
reserved=(reserved : Bool)
Source
ttl=(ttl : Int32)
Source
tube
Source
tube=(tube : String)
Source