enum

QBittorrent::Model::SearchJobStatus

Inherits Enum < Comparable < Value < Object

search/status / search/results status.

Constants

Running = 0
Stopped = 1

Constructors

new(pull : JSON::PullParser) : self

Strict decode: raises on an unrecognised API string.

Source

Class methods

from_api?(value : String) : self | Nil

Parses an API string, or nil if unrecognised.

Source

Instance methods

running?

Returns true if this enum value equals Running

Source
stopped?

Returns true if this enum value equals Stopped

Source
to_api

Exact API string for this search-job status.

Source
to_json(json : JSON::Builder) : Nil

Serializes to the exact API string (e.g. "stalledUP").

Source