Table of Contents

Class VendorAccount

Namespace
TorBoxSDK.Models.Vendors
Assembly
TorBoxSDK.dll

Represents a vendor account registered with TorBox.

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

Properties

ApiKey

Gets the API key assigned to the vendor, or null if not available.

[JsonPropertyName("api_key")]
public string? ApiKey { get; init; }

Property Value

string

CreatedAt

Gets the date and time when the vendor account was created, or null if not available.

[JsonPropertyName("created_at")]
public DateTimeOffset? CreatedAt { get; init; }

Property Value

DateTimeOffset?

Id

Gets the unique identifier of the vendor account.

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

Property Value

long

VendorName

Gets the name of the vendor, or null if not available.

[JsonPropertyName("vendor_name")]
public string? VendorName { get; init; }

Property Value

string

VendorUrl

Gets the URL of the vendor's website, or null if not available.

[JsonPropertyName("vendor_url")]
public string? VendorUrl { get; init; }

Property Value

string