Table of Contents

Class UsenetSearchResult

Namespace
TorBoxSDK.Models.Search
Assembly
TorBoxSDK.dll

Represents a single usenet search result returned by the TorBox Search API.

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

Properties

Age

Gets the age of the article in days, or null if not available.

[JsonPropertyName("age")]
public int? Age { get; init; }

Property Value

int?

Category

Gets the category of the usenet article, or null if not available.

[JsonPropertyName("category")]
public string? Category { get; init; }

Property Value

string

Id

Gets the unique identifier of the usenet article, or null if not available.

[JsonPropertyName("id")]
public string? Id { get; init; }

Property Value

string

Name

Gets the display name of the usenet article, or null if not available.

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

Property Value

string

Gets the direct NZB download link, or null if not available.

[JsonPropertyName("nzb_link")]
public string? NzbLink { get; init; }

Property Value

string

PostedAt

Gets the date and time when this article was posted, or null if not available.

[JsonPropertyName("posted_at")]
public DateTimeOffset? PostedAt { get; init; }

Property Value

DateTimeOffset?

Size

Gets the total size of the usenet article in bytes.

[JsonPropertyName("size")]
public long Size { get; init; }

Property Value

long

Source

Gets the source indexer that provided this result, or null if not available.

[JsonPropertyName("source")]
public string? Source { get; init; }

Property Value

string