Table of Contents

Class CurrentApplicationOptions

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

Properties

CoverImage

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("cover_image")]
public ImageProperties? CoverImage { get; set; }

Property Value

ImageProperties?

CustomInstallUrl

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("custom_install_url")]
public string? CustomInstallUrl { get; set; }

Property Value

string

Description

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("description")]
public string? Description { get; set; }

Property Value

string

Flags

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("flags")]
public ApplicationFlags? Flags { get; set; }

Property Value

ApplicationFlags?

Icon

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("icon")]
public ImageProperties? Icon { get; set; }

Property Value

ImageProperties?

InstallParams

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("install_params")]
public ApplicationInstallParamsProperties? InstallParams { get; set; }

Property Value

ApplicationInstallParamsProperties

IntegrationTypesConfiguration

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("integration_types_config")]
public IReadOnlyDictionary<ApplicationIntegrationType, ApplicationIntegrationTypeConfigurationProperties>? IntegrationTypesConfiguration { get; set; }

Property Value

IReadOnlyDictionary<ApplicationIntegrationType, ApplicationIntegrationTypeConfigurationProperties>

InteractionsEndpointUrl

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("interactions_endpoint_url")]
public string? InteractionsEndpointUrl { get; set; }

Property Value

string

RoleConnectionsVerificationUrl

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("role_connections_verification_url")]
public string? RoleConnectionsVerificationUrl { get; set; }

Property Value

string

Tags

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("tags")]
public IEnumerable<string>? Tags { get; set; }

Property Value

IEnumerable<string>

Methods

AddTags(IEnumerable<string>)

public CurrentApplicationOptions AddTags(IEnumerable<string> tags)

Parameters

tags IEnumerable<string>

Returns

CurrentApplicationOptions

AddTags(params string[])

public CurrentApplicationOptions AddTags(params string[] tags)

Parameters

tags string[]

Returns

CurrentApplicationOptions

WithCoverImage(ImageProperties?)

public CurrentApplicationOptions WithCoverImage(ImageProperties? coverImage)

Parameters

coverImage ImageProperties?

Returns

CurrentApplicationOptions

WithCustomInstallUrl(string?)

public CurrentApplicationOptions WithCustomInstallUrl(string? customInstallUrl)

Parameters

customInstallUrl string

Returns

CurrentApplicationOptions

WithDescription(string?)

public CurrentApplicationOptions WithDescription(string? description)

Parameters

description string

Returns

CurrentApplicationOptions

WithFlags(ApplicationFlags?)

public CurrentApplicationOptions WithFlags(ApplicationFlags? flags)

Parameters

flags ApplicationFlags?

Returns

CurrentApplicationOptions

WithIcon(ImageProperties?)

public CurrentApplicationOptions WithIcon(ImageProperties? icon)

Parameters

icon ImageProperties?

Returns

CurrentApplicationOptions

WithInstallParams(ApplicationInstallParamsProperties?)

public CurrentApplicationOptions WithInstallParams(ApplicationInstallParamsProperties? installParams)

Parameters

installParams ApplicationInstallParamsProperties

Returns

CurrentApplicationOptions

WithIntegrationTypesConfiguration(IReadOnlyDictionary<ApplicationIntegrationType, ApplicationIntegrationTypeConfigurationProperties>?)

public CurrentApplicationOptions WithIntegrationTypesConfiguration(IReadOnlyDictionary<ApplicationIntegrationType, ApplicationIntegrationTypeConfigurationProperties>? integrationTypesConfiguration)

Parameters

integrationTypesConfiguration IReadOnlyDictionary<ApplicationIntegrationType, ApplicationIntegrationTypeConfigurationProperties>

Returns

CurrentApplicationOptions

WithInteractionsEndpointUrl(string?)

public CurrentApplicationOptions WithInteractionsEndpointUrl(string? interactionsEndpointUrl)

Parameters

interactionsEndpointUrl string

Returns

CurrentApplicationOptions

WithRoleConnectionsVerificationUrl(string?)

public CurrentApplicationOptions WithRoleConnectionsVerificationUrl(string? roleConnectionsVerificationUrl)

Parameters

roleConnectionsVerificationUrl string

Returns

CurrentApplicationOptions

WithTags(IEnumerable<string>?)

public CurrentApplicationOptions WithTags(IEnumerable<string>? tags)

Parameters

tags IEnumerable<string>

Returns

CurrentApplicationOptions