Class InviteImpl.EmbeddedApplicationImpl
java.lang.Object
net.dv8tion.jda.internal.entities.InviteImpl.EmbeddedApplicationImpl
- All Implemented Interfaces:
Invite.EmbeddedApplication
,ISnowflake
- Enclosing class:
InviteImpl
public static class InviteImpl.EmbeddedApplicationImpl
extends Object
implements Invite.EmbeddedApplication
-
Constructor Summary
ConstructorsConstructorDescriptionEmbeddedApplicationImpl
(String iconId, String name, String description, String summary, long id, int maxParticipants) -
Method Summary
Modifier and TypeMethodDescriptionThe description of this application.The icon id of this application ornull
if the application has no icon.The icon url of this application ornull
if the application has no icon.long
The Snowflake id of this entity.int
The max participant count of this application or-1
if no max participant count is setgetName()
The name of this application.The summary of this application ornull
if this application has no summary.toString()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.dv8tion.jda.api.entities.Invite.EmbeddedApplication
getIcon
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getTimeCreated
-
Constructor Details
-
EmbeddedApplicationImpl
-
-
Method Details
-
getIdLong
public long getIdLong()Description copied from interface:ISnowflake
The Snowflake id of this entity. This is unique to every entity and will never change.- Specified by:
getIdLong
in interfaceISnowflake
- Returns:
- Long containing the Id.
-
getName
Description copied from interface:Invite.EmbeddedApplication
The name of this application.- Specified by:
getName
in interfaceInvite.EmbeddedApplication
- Returns:
- The name of this application.
-
getDescription
Description copied from interface:Invite.EmbeddedApplication
The description of this application.- Specified by:
getDescription
in interfaceInvite.EmbeddedApplication
- Returns:
- The description of this application.
-
getSummary
Description copied from interface:Invite.EmbeddedApplication
The summary of this application ornull
if this application has no summary.- Specified by:
getSummary
in interfaceInvite.EmbeddedApplication
- Returns:
- The summary of this application.
-
getIconId
Description copied from interface:Invite.EmbeddedApplication
The icon id of this application ornull
if the application has no icon.- Specified by:
getIconId
in interfaceInvite.EmbeddedApplication
- Returns:
- The application's icon id
- See Also:
-
getIconUrl
Description copied from interface:Invite.EmbeddedApplication
The icon url of this application ornull
if the application has no icon.- Specified by:
getIconUrl
in interfaceInvite.EmbeddedApplication
- Returns:
- The application's icon url
- See Also:
-
getMaxParticipants
public int getMaxParticipants()Description copied from interface:Invite.EmbeddedApplication
The max participant count of this application or-1
if no max participant count is set- Specified by:
getMaxParticipants
in interfaceInvite.EmbeddedApplication
- Returns:
-1
if this application does not have a max participant count
-
toString
-