Table of Contents

Class ControlUsenetDownloadRequest

Namespace
TorBoxSDK.Models.Usenet
Assembly
TorBoxSDK.dll

Represents a request to perform a control operation on one or more Usenet downloads.

public sealed record ControlUsenetDownloadRequest : IEquatable<ControlUsenetDownloadRequest>
Inheritance
ControlUsenetDownloadRequest
Implements
Inherited Members

Properties

All

Gets a value indicating whether the operation should apply to all Usenet downloads, or null to apply to a single download identified by UsenetId.

[JsonPropertyName("all")]
public bool? All { get; init; }

Property Value

bool?

Operation

Gets the control operation to perform on the download.

[JsonPropertyName("operation")]
public ControlOperation Operation { get; init; }

Property Value

ControlOperation

UsenetId

Gets the identifier of the Usenet download to control, or null when All is true.

[JsonPropertyName("usenet_id")]
public long? UsenetId { get; init; }

Property Value

long?