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.String TYPE_NAME  
  • Constructor Summary

    Constructors 
    Constructor Description
    AppRateLimitedEvent()  
  • Method Summary

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

    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

  • Method Details

    • getType

      public java.lang.String getType()
      Specified by:
      getType in interface Event
    • 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:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object