Table of Contents

Class EditTorrentRequest

Namespace
TorBoxSDK.Models.Torrents
Assembly
TorBoxSDK.dll

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

IReadOnlyList<string>

Name

Gets the new name for the torrent, or null to leave the name unchanged.

[JsonPropertyName("name")]
public string? Name { get; init; }

Property Value

string

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

IReadOnlyList<string>

TorrentId

Gets the unique identifier of the torrent to edit.

[JsonPropertyName("torrent_id")]
public long TorrentId { get; init; }

Property Value

long