Class AppRateLimitedEvent

java.lang.Object
com.slack.api.model.event.AppRateLimitedEvent
All Implemented Interfaces:
Event, Serializable

public class AppRateLimitedEvent extends Object implements Event
https://api.slack.com/events/app_rate_limited
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    boolean
     
    your application's ID, especially useful if you have multiple applications working with the Events API
    a rounded epoch time value indicating the minute your application became rate limited for this workspace.
    subscriptions between your app and the workspace with this ID are being rate limited
    the same shared token used to verify other events in the Events API
     
    int
     
    void
    setApiAppId(String apiAppId)
    your application's ID, especially useful if you have multiple applications working with the Events API
    void
    setMinuteRateLimited(Integer minuteRateLimited)
    a rounded epoch time value indicating the minute your application became rate limited for this workspace.
    void
    setTeamId(String teamId)
    subscriptions between your app and the workspace with this ID are being rate limited
    void
    the same shared token used to verify other events in the Events API
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.slack.api.model.event.Event

    getSubtype
  • Field Details

  • Constructor Details

    • AppRateLimitedEvent

      public AppRateLimitedEvent()
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface Event
    • getToken

      public String getToken()
      the same shared token used to verify other events in the Events API
    • getTeamId

      public String getTeamId()
      subscriptions between your app and the workspace with this ID are being rate limited
    • getMinuteRateLimited

      public 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 String getApiAppId()
      your application's ID, especially useful if you have multiple applications working with the Events API
    • setToken

      public void setToken(String token)
      the same shared token used to verify other events in the Events API
    • setTeamId

      public void setTeamId(String teamId)
      subscriptions between your app and the workspace with this ID are being rate limited
    • setMinuteRateLimited

      public void setMinuteRateLimited(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(String apiAppId)
      your application's ID, especially useful if you have multiple applications working with the Events API
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object