Class ApplicationRoleConnectionMetadataProperties
- Namespace
- NetCord.Rest
- Assembly
- NetCord.dll
public class ApplicationRoleConnectionMetadataProperties
- Inheritance
-
ApplicationRoleConnectionMetadataProperties
- Inherited Members
-
Constructors
public ApplicationRoleConnectionMetadataProperties(ApplicationRoleConnectionMetadataType type, string key, string name, string description)
Parameters
type
ApplicationRoleConnectionMetadataType
key
string
name
string
description
string
Properties
[JsonPropertyName("description")]
public string Description { get; set; }
Property Value
- string
[JsonPropertyName("description_localizations")]
public IReadOnlyDictionary<string, string>? DescriptionLocalizations { get; set; }
Property Value
- IReadOnlyDictionary<string, string>
[JsonPropertyName("key")]
public string Key { get; set; }
Property Value
- string
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
- string
[JsonPropertyName("name_localizations")]
public IReadOnlyDictionary<string, string>? NameLocalizations { get; set; }
Property Value
- IReadOnlyDictionary<string, string>
[JsonPropertyName("type")]
public ApplicationRoleConnectionMetadataType Type { get; set; }
Property Value
- ApplicationRoleConnectionMetadataType
Methods
public ApplicationRoleConnectionMetadataProperties WithDescription(string description)
Parameters
description
string
Returns
- ApplicationRoleConnectionMetadataProperties
public ApplicationRoleConnectionMetadataProperties WithDescriptionLocalizations(IReadOnlyDictionary<string, string>? descriptionLocalizations)
Parameters
descriptionLocalizations
IReadOnlyDictionary<string, string>
Returns
- ApplicationRoleConnectionMetadataProperties
public ApplicationRoleConnectionMetadataProperties WithKey(string key)
Parameters
key
string
Returns
- ApplicationRoleConnectionMetadataProperties
public ApplicationRoleConnectionMetadataProperties WithName(string name)
Parameters
name
string
Returns
- ApplicationRoleConnectionMetadataProperties
public ApplicationRoleConnectionMetadataProperties WithNameLocalizations(IReadOnlyDictionary<string, string>? nameLocalizations)
Parameters
nameLocalizations
IReadOnlyDictionary<string, string>
Returns
- ApplicationRoleConnectionMetadataProperties
public ApplicationRoleConnectionMetadataProperties WithType(ApplicationRoleConnectionMetadataType type)
Parameters
type
ApplicationRoleConnectionMetadataType
Returns
- ApplicationRoleConnectionMetadataProperties