Class EditTorrentRequest
Represents a request to edit the properties of an existing torrent.
public sealed record EditTorrentRequest : IEquatable<EditTorrentRequest>
- Inheritance
-
EditTorrentRequest
- Implements
- Inherited Members
Properties
AlternativeHashes
Gets the alternative info hashes for the torrent, or null to leave alternative hashes unchanged.
[JsonPropertyName("alternative_hashes")]
public IReadOnlyList<string>? AlternativeHashes { get; init; }
Property Value
Name
Gets the new name for the torrent, or null to leave the name unchanged.
[JsonPropertyName("name")]
public string? Name { get; init; }
Property Value
Tags
Gets the tags to apply to the torrent, or null to leave tags unchanged.
[JsonPropertyName("tags")]
public IReadOnlyList<string>? Tags { get; init; }
Property Value
TorrentId
Gets the unique identifier of the torrent to edit.
[JsonPropertyName("torrent_id")]
public long TorrentId { get; init; }