Class StarsRemoveRequest

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

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

    Nested Classes 
    Modifier and Type Class Description
    static class  StarsRemoveRequest.StarsRemoveRequestBuilder  
  • Method Summary

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

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

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

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

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

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

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

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

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

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