Transmission::RPC::Torrent
Inherits JSON::Serializable < Struct < Value < Object
A torrent as returned by torrent_get.
Every field is nilable: torrent_get only populates the fields the caller
asked for, and unknown fields in the response are ignored. Request fields
with {Client#torrent_get}'s fields: argument. This struct covers the
commonly used fields; use {Client#torrent_get_raw} when you need others.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
activity_date
Sourceadded_date
Sourcebandwidth_priority
Sourcecomment
Sourcedone_date
Sourcedownload_dir
Sourcedownloaded_ever
Sourceerror
Sourceerror_string
Sourceeta
Sourcehash_string
Sourceid
Sourceis_finished
Sourceis_private
Sourceis_stalled
Sourcelabels
Sourceleft_until_done
Sourcemetadata_percent_complete
Sourcename
Sourcepeers_connected
Sourcepeers_getting_from_us
Sourcepeers_sending_to_us
Sourcepercent_complete
Sourcepercent_done
Sourcequeue_position
Sourcerate_download
Sourcerate_upload
Sourcerecheck_progress
Sourceseconds_downloading
Sourceseconds_seeding
Sourceseed_ratio_limit
Sourceseed_ratio_mode
Sourcesize_when_done
Sourcestart_date
Sourcestate
The {Status} enum corresponding to the numeric status field, or nil
if status was not requested or is unrecognized.
status
Sourcetotal_size
Sourcetracker_stats
Sourcetrackers
Sourceupload_ratio
Sourceuploaded_ever
Source