Table of Contents

Class DiscordApplicationRoleConnectionMetadata

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Represents a role connection metadata object that is registered to an application.

public sealed class DiscordApplicationRoleConnectionMetadata : ObservableApiObject, IEquatable<DiscordApplicationRoleConnectionMetadata>
Inheritance
DiscordApplicationRoleConnectionMetadata
Implements
Inherited Members

Constructors

DiscordApplicationRoleConnectionMetadata(ApplicationRoleConnectionMetadataType, string, string, string, DiscordApplicationCommandLocalization, DiscordApplicationCommandLocalization)

Creates a new instance of a DiscordApplicationRoleConnectionMetadata.

Properties

Description

Gets the description of the metadata field.

DescriptionLocalizations

Gets the description localizations.

Key

The dictionary key for the metadata field. Must be a-z, 0-9, or _ characters.

Name

Gets the name of the metadata field.

NameLocalizations

Gets the name localizations.

Type

Gets the type of this role connection metadata object.

Methods

Equals(DiscordApplicationRoleConnectionMetadata)

Checks whether this DiscordApplicationRoleConnectionMetadata object is equal to another object.

Equals(object)

Determines if a object is equal to the current DiscordApplicationRoleConnectionMetadata.

GetHashCode()

Gets the hash code for this DiscordApplicationRoleConnectionMetadata.

Operators

operator ==(DiscordApplicationRoleConnectionMetadata, DiscordApplicationRoleConnectionMetadata)

Determines if two DiscordApplicationRoleConnectionMetadata objects are equal.

operator !=(DiscordApplicationRoleConnectionMetadata, DiscordApplicationRoleConnectionMetadata)

Determines if two DiscordApplicationRoleConnectionMetadata objects are not equal.