ApplicationManager class

A manager for Applications.

Constructors

ApplicationManager(NyxxRest client)
Create a new ApplicationManager.

Properties

client NyxxRest
The client this manager belongs to.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetchApplicationRoleConnectionMetadata(Snowflake id) Future<List<ApplicationRoleConnectionMetadata>>
Fetch an application's role connection metadata.
fetchCurrentApplication() Future<Application>
Fetch the current application.
fetchOAuth2CurrentApplication() Future<Application>
Fetch the current OAuth2 application.
listSkus(Snowflake id) Future<List<Sku>>
List this application's SKUs.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(Map<String, Object?> raw) Application
Parse an Application from raw.
parseApplicationIntegrationTypeConfiguration(Map<String, Object?> raw) → ApplicationIntegrationTypeConfiguration
Parse a ApplicationIntegrationTypeConfiguration from raw.
parseApplicationRoleConnectionMetadata(Map<String, Object?> raw) ApplicationRoleConnectionMetadata
Parse a ApplicationRoleConnectionMetadata from raw.
parseInstallationParameters(Map<String, Object?> raw) InstallationParameters
Parse a InstallationParameters from raw.
parseSku(Map<String, Object?> raw) Sku
Parse a Sku from raw.
parseTeam(Map<String, Object?> raw) Team
Parse a Team from raw.
parseTeamMember(Map<String, Object?> raw) TeamMember
Parse a TeamMember from raw.
toString() String
A string representation of this object.
inherited
updateApplicationRoleConnectionMetadata(Snowflake id) Future<List<ApplicationRoleConnectionMetadata>>
Update and fetch an application's role connection metadata.
updateCurrentApplication(ApplicationUpdateBuilder builder) Future<Application>
Update the current application.

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](Snowflake id) PartialApplication
Return a partial application with the given id.