QBittorrent::Model::TorrentFile
Inherits JSON::Serializable < Struct < Value < Object
A file within a torrent, as returned by torrents/files (see
ext/api-map.md ยง3).
priority decodes through the tolerant FilePriorityConverter, so the
legacy/unused values 2โ5 (and any unknown/null) become nil instead
of raising. is_seed is only present on the first element of the list.
Fields are nilable to tolerate partial payloads and build drift.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
is_seed
Whether this file is fully downloaded/seeded (only present on the first list element).