-
public final class GetAppRolesEvent extends Event
To get applications roles.
-
-
Field Summary
Fields Modifier and Type Field Description private final PlayerIdrecipientIdprivate final Map<String, Set<AppRole>>appRolesprivate final StringapplicationIdprivate final Id<out Event>idprivate final Instantdateprivate final EventStatestate
-
Method Summary
Modifier and Type Method Description StringtoString()final PlayerIdgetRecipientId()The bot id. final Map<String, Set<AppRole>>getAppRoles()appId -> list of roles final StringgetApplicationId()The bot application id. final Id<out Event>getId()The unique id of the event. final InstantgetDate()The creation date of the event. final EventStategetState()The state of the event. -
Methods inherited from class ai.tock.bot.engine.event.GetAppRolesEvent
hasEntity, hasEntityPredefinedValue -
Methods inherited from class ai.tock.bot.engine.event.Event
equals, hashCode -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getRecipientId
final PlayerId getRecipientId()
The bot id.
-
getAppRoles
final Map<String, Set<AppRole>> getAppRoles()
appId -> list of roles
-
getApplicationId
final String getApplicationId()
The bot application id.
-
getState
final EventState getState()
The state of the event.
-
-
-
-