struct

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_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

activity_date
Source
added_date
Source
bandwidth_priority
Source
comment
Source
done_date
Source
download_dir
Source
downloaded_ever
Source
error
Source
error_string
Source
hash_string
Source
is_finished
Source
is_private
Source
is_stalled
Source
labels
Source
left_until_done
Source
metadata_percent_complete
Source
name
Source
peers_connected
Source
peers_getting_from_us
Source
peers_sending_to_us
Source
percent_complete
Source
percent_done
Source
queue_position
Source
rate_download
Source
rate_upload
Source
recheck_progress
Source
seconds_downloading
Source
seconds_seeding
Source
seed_ratio_limit
Source
seed_ratio_mode
Source
size_when_done
Source
start_date
Source
state

The {Status} enum corresponding to the numeric status field, or nil if status was not requested or is unrecognized.

Source
status
Source
total_size
Source
tracker_stats
Source
trackers
Source
upload_ratio
Source
uploaded_ever
Source