ProtoHackers::JobCentre::Request
Inherits JSON::Serializable < Reference < Object
Constructors
new(request : String, queue : Nil | String, pri : Int32 | Nil, job : Nil | Hash(String, String), queues : Nil | Array(String), wait : Bool | Nil, id : UInt64 | Nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
id
Sourceid=(id : UInt64 | Nil)
Sourceis_valid?
Sourcejob
Sourcejob=(job : Hash(String, String) | Nil)
Sourcepri
Sourcepri=(pri : Int32 | Nil)
Sourcequeue
Sourcequeue=(queue : String | Nil)
Sourcequeues
Sourcequeues=(queues : Array(String) | Nil)
Sourcerequest
Sourcerequest=(request : String)
Sourcewait
Sourcewait=(wait : Bool | Nil)
Source