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.StringgetDescription()The description of this application.java.lang.StringgetIconId()The icon id of this application ornullif the application has no icon.java.lang.StringgetIconUrl()The icon url of this application ornullif the application has no icon.intgetMaxParticipants()The max participant count of this application or-1if no max participant count is setjava.lang.StringgetName()The name of this application.java.lang.StringgetSummary()The summary of this application ornullif 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 ornullif this application has no summary.- Returns:
- The summary of this application.
-
getIconId
@Nullable java.lang.String getIconId()
The icon id of this application ornullif 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 ornullif 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-1if no max participant count is set- Returns:
-1if this application does not have a max participant count
-
-