Table of Contents

Class AddReferralRequest

Namespace
TorBoxSDK.Models.User
Assembly
TorBoxSDK.dll

Represents a request to apply a referral code to the authenticated user account.

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

Remarks

The referral code is currently sent as a query string parameter by the API client.

Properties

Referral

Gets the referral code to apply.

[JsonPropertyName("referral")]
public string Referral { get; init; }

Property Value

string