Class ApplicationRoleConnectionProperties
- Namespace
- NetCord.Rest
- Assembly
- NetCord.dll
public class ApplicationRoleConnectionProperties
- Inheritance
-
ApplicationRoleConnectionProperties
- Inherited Members
-
Constructors
ApplicationRoleConnectionProperties()
public ApplicationRoleConnectionProperties()
Properties
[JsonPropertyName("metadata")]
public IReadOnlyDictionary<string, string>? Metadata { get; set; }
Property Value
- IReadOnlyDictionary<string, string>
[JsonPropertyName("platform_name")]
public string? PlatformName { get; set; }
Property Value
- string
[JsonPropertyName("platform_username")]
public string? PlatformUsername { get; set; }
Property Value
- string
Methods
public ApplicationRoleConnectionProperties WithMetadata(IReadOnlyDictionary<string, string>? metadata)
Parameters
metadata
IReadOnlyDictionary<string, string>
Returns
- ApplicationRoleConnectionProperties
public ApplicationRoleConnectionProperties WithPlatformName(string? platformName)
Parameters
platformName
string
Returns
- ApplicationRoleConnectionProperties
public ApplicationRoleConnectionProperties WithPlatformUsername(string? platformUsername)
Parameters
platformUsername
string
Returns
- ApplicationRoleConnectionProperties