ISnowflake
public interface AuthorizedApplication extends ISnowflake
JDAClient.getAuthorizedApplications()
,
JDAClient.getAuthorizedApplicationById(String)
Modifier and Type | Method | Description |
---|---|---|
RestAction<java.lang.Void> |
delete() |
Removes the authorization from this application.
|
java.lang.String |
getAuthId() |
The authorization id for this application.
|
java.lang.String |
getDescription() |
The description of the application.
|
java.lang.String |
getIconId() |
The icon id of this Application.
|
java.lang.String |
getIconUrl() |
The icon-url of this Application.
|
JDA |
getJDA() |
The
JDA instance of this AuthorizedApplication
(the one owning this authorisation). |
java.lang.String |
getName() |
The name of this Application.
|
java.util.List<java.lang.String> |
getScopes() |
List of authorization scopes of this Application.
|
getCreationTime, getId, getIdLong
@CheckReturnValue RestAction<java.lang.Void> delete()
Possible ErrorResponses
:
UNKNOWN_TOKEN
RestAction
- Type: Void
java.lang.String getAuthId()
remove the authorization
.java.lang.String getDescription()
String
if no description is definedjava.lang.String getIconId()
java.lang.String getIconUrl()
JDA getJDA()
JDA
instance of this AuthorizedApplication
(the one owning this authorisation).java.lang.String getName()
java.util.List<java.lang.String> getScopes()