Class PongEvent

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

public class PongEvent
extends java.lang.Object
implements Event
The pong event is sent in response to a 'ping' message previously sent. The id and other fields will match that of the ping message.

https://api.slack.com/rtm#ping_and_pong

See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String TYPE_NAME  
  • Constructor Summary

    Constructors 
    Constructor Description
    PongEvent()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.Long getReplyTo()  
    java.time.Instant getTime()  
    java.lang.String getType()  
    int hashCode()  
    void setReplyTo​(java.lang.Long replyTo)  
    void setTime​(java.time.Instant time)  
    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
    • getReplyTo

      public java.lang.Long getReplyTo()
    • getTime

      public java.time.Instant getTime()
    • setReplyTo

      public void setReplyTo​(java.lang.Long replyTo)
    • setTime

      public void setTime​(java.time.Instant time)
    • 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