Package com.slack.api.model.event
Class AppRateLimitedEvent
java.lang.Object
com.slack.api.model.event.AppRateLimitedEvent
- All Implemented Interfaces:
Event,java.io.Serializable
public class AppRateLimitedEvent extends java.lang.Object implements Event
https://api.slack.com/events/app_rate_limited
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE_NAME -
Constructor Summary
Constructors Constructor Description AppRateLimitedEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetApiAppId()your application's ID, especially useful if you have multiple applications working with the Events APIjava.lang.IntegergetMinuteRateLimited()a rounded epoch time value indicating the minute your application became rate limited for this workspace.java.lang.StringgetTeamId()subscriptions between your app and the workspace with this ID are being rate limitedjava.lang.StringgetToken()the same shared token used to verify other events in the Events APIjava.lang.StringgetType()inthashCode()voidsetApiAppId(java.lang.String apiAppId)your application's ID, especially useful if you have multiple applications working with the Events APIvoidsetMinuteRateLimited(java.lang.Integer minuteRateLimited)a rounded epoch time value indicating the minute your application became rate limited for this workspace.voidsetTeamId(java.lang.String teamId)subscriptions between your app and the workspace with this ID are being rate limitedvoidsetToken(java.lang.String token)the same shared token used to verify other events in the Events APIjava.lang.StringtoString()
-
Field Details
-
TYPE_NAME
public static final java.lang.String TYPE_NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
AppRateLimitedEvent
public AppRateLimitedEvent()
-
-
Method Details
-
getType
public java.lang.String getType() -
getToken
public java.lang.String getToken()the same shared token used to verify other events in the Events API -
getTeamId
public java.lang.String getTeamId()subscriptions between your app and the workspace with this ID are being rate limited -
getMinuteRateLimited
public java.lang.Integer getMinuteRateLimited()a rounded epoch time value indicating the minute your application became rate limited for this workspace. 1518467820 is at 2018-02-12 20:37:00 UTC. -
getApiAppId
public java.lang.String getApiAppId()your application's ID, especially useful if you have multiple applications working with the Events API -
setToken
public void setToken(java.lang.String token)the same shared token used to verify other events in the Events API -
setTeamId
public void setTeamId(java.lang.String teamId)subscriptions between your app and the workspace with this ID are being rate limited -
setMinuteRateLimited
public void setMinuteRateLimited(java.lang.Integer minuteRateLimited)a rounded epoch time value indicating the minute your application became rate limited for this workspace. 1518467820 is at 2018-02-12 20:37:00 UTC. -
setApiAppId
public void setApiAppId(java.lang.String apiAppId)your application's ID, especially useful if you have multiple applications working with the Events API -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-