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 String
getDescription()
The description of this application.String
getIconId()
The icon id of this application ornull
if the application has no icon.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 setString
getName()
The name of this application.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 String getName()
The name of this application.- Returns:
- The name of this application.
-
getDescription
@Nonnull String getDescription()
The description of this application.- Returns:
- The description of this application.
-
getSummary
@Nullable String getSummary()
The summary of this application ornull
if this application has no summary.- Returns:
- The summary of this application.
-
getIconId
@Nullable 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 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
-
-