Table of Contents

Class ControlWebDownloadRequest

Namespace
TorBoxSDK.Models.WebDownloads
Assembly
TorBoxSDK.dll

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

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

Properties

All

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

[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

WebdlId

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

[JsonPropertyName("webdl_id")]
public long? WebdlId { get; init; }

Property Value

long?