Package net.dv8tion.jda.api.entities
Interface Invite.EmbeddedApplication
-
- All Superinterfaces:
ISnowflake
- Enclosing interface:
- Invite
public static interface Invite.EmbeddedApplication extends ISnowflake
POJO for the target application information provided by an invite.- See Also:
Invite.InviteTarget.getApplication()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDescription()
The description of this application.java.lang.String
getIconId()
The icon id of this application ornull
if the application has no icon.java.lang.String
getIconUrl()
The icon url of this application ornull
if the application has no icon.int
getMaxParticipants()
The max participant count of this application or-1
if no max participant count is setjava.lang.String
getName()
The name of this application.java.lang.String
getSummary()
The summary of this application ornull
if this application has no summary.-
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getIdLong, getTimeCreated
-
-
-
-
Method Detail
-
getName
@Nonnull java.lang.String getName()
The name of this application.- Returns:
- The name of this application.
-
getDescription
@Nonnull java.lang.String getDescription()
The description of this application.- Returns:
- The description of this application.
-
getSummary
@Nullable java.lang.String getSummary()
The summary of this application ornull
if this application has no summary.- Returns:
- The summary of this application.
-
getIconId
@Nullable java.lang.String getIconId()
The icon id of this application ornull
if the application has no icon.- Returns:
- The application's icon id
- See Also:
getIconUrl()
-
getIconUrl
@Nullable java.lang.String getIconUrl()
The icon url of this application ornull
if the application has no icon.- Returns:
- The application's icon url
- See Also:
getIconId()
-
getMaxParticipants
int getMaxParticipants()
The max participant count of this application or-1
if no max participant count is set- Returns:
-1
if this application does not have a max participant count
-
-