Table of Contents

Class ApplicationRoleConnectionMetadataProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class ApplicationRoleConnectionMetadataProperties
Inheritance
ApplicationRoleConnectionMetadataProperties
Inherited Members

Constructors

ApplicationRoleConnectionMetadataProperties(ApplicationRoleConnectionMetadataType, string, string, string)

public ApplicationRoleConnectionMetadataProperties(ApplicationRoleConnectionMetadataType type, string key, string name, string description)

Parameters

type ApplicationRoleConnectionMetadataType
key string
name string
description string

Properties

Description

[JsonPropertyName("description")]
public string Description { get; set; }

Property Value

string

DescriptionLocalizations

[JsonPropertyName("description_localizations")]
public IReadOnlyDictionary<string, string>? DescriptionLocalizations { get; set; }

Property Value

IReadOnlyDictionary<string, string>

Key

[JsonPropertyName("key")]
public string Key { get; set; }

Property Value

string

Name

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

Property Value

string

NameLocalizations

[JsonPropertyName("name_localizations")]
public IReadOnlyDictionary<string, string>? NameLocalizations { get; set; }

Property Value

IReadOnlyDictionary<string, string>

Type

[JsonPropertyName("type")]
public ApplicationRoleConnectionMetadataType Type { get; set; }

Property Value

ApplicationRoleConnectionMetadataType

Methods

WithDescription(string)

public ApplicationRoleConnectionMetadataProperties WithDescription(string description)

Parameters

description string

Returns

ApplicationRoleConnectionMetadataProperties

WithDescriptionLocalizations(IReadOnlyDictionary<string, string>?)

public ApplicationRoleConnectionMetadataProperties WithDescriptionLocalizations(IReadOnlyDictionary<string, string>? descriptionLocalizations)

Parameters

descriptionLocalizations IReadOnlyDictionary<string, string>

Returns

ApplicationRoleConnectionMetadataProperties

WithKey(string)

public ApplicationRoleConnectionMetadataProperties WithKey(string key)

Parameters

key string

Returns

ApplicationRoleConnectionMetadataProperties

WithName(string)

public ApplicationRoleConnectionMetadataProperties WithName(string name)

Parameters

name string

Returns

ApplicationRoleConnectionMetadataProperties

WithNameLocalizations(IReadOnlyDictionary<string, string>?)

public ApplicationRoleConnectionMetadataProperties WithNameLocalizations(IReadOnlyDictionary<string, string>? nameLocalizations)

Parameters

nameLocalizations IReadOnlyDictionary<string, string>

Returns

ApplicationRoleConnectionMetadataProperties

WithType(ApplicationRoleConnectionMetadataType)

public ApplicationRoleConnectionMetadataProperties WithType(ApplicationRoleConnectionMetadataType type)

Parameters

type ApplicationRoleConnectionMetadataType

Returns

ApplicationRoleConnectionMetadataProperties