struct Job
- Job
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
lib/job.crConstructors
- .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)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #body : String
- #body=(body : String)
- #created_time : Int64
- #created_time=(created_time : Int64)
- #expired_limit : Int32
- #expired_limit=(expired_limit : Int32)
- #expireds : Int32
- #expireds=(expireds : Int32)
- #id : String
- #id=(id : String)
- #noop : Bool
- #noop=(noop : Bool)
- #parent_id : String | Nil
- #parent_id=(parent_id : String | Nil)
- #priority : Int32
- #priority=(priority : Int32)
- #releases : Int32
- #releases=(releases : Int32)
- #reserved : Bool
- #reserved=(reserved : Bool)
- #ttl : Int32
- #ttl=(ttl : Int32)
- #tube : String
- #tube=(tube : String)
Constructor Detail
def self.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)
#