Class ReactionsAddRequest

java.lang.Object
com.slack.api.methods.request.reactions.ReactionsAddRequest
All Implemented Interfaces:
SlackApiRequest

public class ReactionsAddRequest
extends java.lang.Object
implements SlackApiRequest
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  ReactionsAddRequest.ReactionsAddRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static ReactionsAddRequest.ReactionsAddRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getChannel()
    Channel where the message to add reaction to was posted.
    java.lang.String getFile()
    Deprecated.
    java.lang.String getFileComment()
    Deprecated.
    java.lang.String getName()
    Reaction (emoji) name.
    java.lang.String getTimestamp()
    Timestamp of the message to add reaction to.
    java.lang.String getToken()
    Authentication token.
    int hashCode()  
    void setChannel​(java.lang.String channel)
    Channel where the message to add reaction to was posted.
    void setFile​(java.lang.String file)
    Deprecated.
    void setFileComment​(java.lang.String fileComment)
    Deprecated.
    void setName​(java.lang.String name)
    Reaction (emoji) name.
    void setTimestamp​(java.lang.String timestamp)
    Timestamp of the message to add reaction to.
    void setToken​(java.lang.String token)
    Authentication token.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • builder

    • getToken

      public java.lang.String getToken()
      Authentication token. Requires scope: `reactions:write`
      Specified by:
      getToken in interface SlackApiRequest
    • getName

      public java.lang.String getName()
      Reaction (emoji) name.
    • getFile

      @Deprecated public java.lang.String getFile()
      Deprecated.
      File to add reaction to.
    • getFileComment

      @Deprecated public java.lang.String getFileComment()
      Deprecated.
      File comment to add reaction to.
    • getChannel

      public java.lang.String getChannel()
      Channel where the message to add reaction to was posted.
    • getTimestamp

      public java.lang.String getTimestamp()
      Timestamp of the message to add reaction to.
    • setToken

      public void setToken​(java.lang.String token)
      Authentication token. Requires scope: `reactions:write`
    • setName

      public void setName​(java.lang.String name)
      Reaction (emoji) name.
    • setFile

      @Deprecated public void setFile​(java.lang.String file)
      Deprecated.
      File to add reaction to.
    • setFileComment

      @Deprecated public void setFileComment​(java.lang.String fileComment)
      Deprecated.
      File comment to add reaction to.
    • setChannel

      public void setChannel​(java.lang.String channel)
      Channel where the message to add reaction to was posted.
    • setTimestamp

      public void setTimestamp​(java.lang.String timestamp)
      Timestamp of the message to add reaction to.
    • 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