Class StarsAddRequest

java.lang.Object
com.slack.api.methods.request.stars.StarsAddRequest
All Implemented Interfaces:
SlackApiRequest

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

    Nested Classes 
    Modifier and Type Class Description
    static class  StarsAddRequest.StarsAddRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static StarsAddRequest.StarsAddRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getChannel()
    Channel to add star to, or channel where the message to add star to was posted (used with `timestamp`).
    java.lang.String getFile()
    File to add star to.
    java.lang.String getFileComment()
    File comment to add star to.
    java.lang.String getTimestamp()
    Timestamp of the message to add star to.
    java.lang.String getToken()
    Authentication token.
    int hashCode()  
    void setChannel​(java.lang.String channel)
    Channel to add star to, or channel where the message to add star to was posted (used with `timestamp`).
    void setFile​(java.lang.String file)
    File to add star to.
    void setFileComment​(java.lang.String fileComment)
    File comment to add star to.
    void setTimestamp​(java.lang.String timestamp)
    Timestamp of the message to add star 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

      public static StarsAddRequest.StarsAddRequestBuilder builder()
    • getToken

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

      public java.lang.String getFile()
      File to add star to.
    • getFileComment

      public java.lang.String getFileComment()
      File comment to add star to.
    • getChannel

      public java.lang.String getChannel()
      Channel to add star to, or channel where the message to add star to was posted (used with `timestamp`).
    • getTimestamp

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

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

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

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

      public void setChannel​(java.lang.String channel)
      Channel to add star to, or channel where the message to add star to was posted (used with `timestamp`).
    • setTimestamp

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