Class ControlTorrentRequest
Represents a request to perform a control operation on one or more torrents.
public sealed record ControlTorrentRequest : IEquatable<ControlTorrentRequest>
- Inheritance
-
ControlTorrentRequest
- Implements
- Inherited Members
Properties
All
Gets a value indicating whether the operation should apply to all torrents, or null to apply to a single torrent identified by TorrentId.
[JsonPropertyName("all")]
public bool? All { get; init; }
Property Value
- bool?
Operation
Gets the control operation to perform on the torrent.
[JsonPropertyName("operation")]
public ControlOperation Operation { get; init; }
Property Value
TorrentId
[JsonPropertyName("torrent_id")]
public long? TorrentId { get; init; }
Property Value
- long?