Class PinsRemoveRequest

java.lang.Object
com.slack.api.methods.request.pins.PinsRemoveRequest
All Implemented Interfaces:
SlackApiRequest

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

    Nested Classes 
    Modifier and Type Class Description
    static class  PinsRemoveRequest.PinsRemoveRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static PinsRemoveRequest.PinsRemoveRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getChannel()
    Channel where the item is pinned to.
    java.lang.String getFile()
    Deprecated.
    java.lang.String getFileComment()
    Deprecated.
    java.lang.String getTimestamp()
    Timestamp of the message to un-pin.
    java.lang.String getToken()
    Authentication token.
    int hashCode()  
    void setChannel​(java.lang.String channel)
    Channel where the item is pinned to.
    void setFile​(java.lang.String file)
    Deprecated.
    void setFileComment​(java.lang.String fileComment)
    Deprecated.
    void setTimestamp​(java.lang.String timestamp)
    Timestamp of the message to un-pin.
    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: `pins:write`
      Specified by:
      getToken in interface SlackApiRequest
    • getChannel

      public java.lang.String getChannel()
      Channel where the item is pinned to.
    • getFile

      @Deprecated public java.lang.String getFile()
      Deprecated.
      File to un-pin.
    • getFileComment

      @Deprecated public java.lang.String getFileComment()
      Deprecated.
      File comment to un-pin.
    • getTimestamp

      public java.lang.String getTimestamp()
      Timestamp of the message to un-pin.
    • setToken

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

      public void setChannel​(java.lang.String channel)
      Channel where the item is pinned to.
    • setFile

      @Deprecated public void setFile​(java.lang.String file)
      Deprecated.
      File to un-pin.
    • setFileComment

      @Deprecated public void setFileComment​(java.lang.String fileComment)
      Deprecated.
      File comment to un-pin.
    • setTimestamp

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