Table of Contents

Class DiscordRoleInfo

Namespace
TorBoxSDK.Models.Integrations
Assembly
TorBoxSDK.dll

Represents a single Discord role in the linked roles response.

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

Properties

Extra

Gets additional role data, or null if not available.

[JsonPropertyName("extra")]
public object? Extra { get; init; }

Property Value

object

Id

Gets the Discord role ID, or null if not available.

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

Property Value

string

Name

Gets the role name, or null if not available.

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

Property Value

string