Class PinsAddRequest

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

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

    Nested Classes 
    Modifier and Type Class Description
    static class  PinsAddRequest.PinsAddRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static PinsAddRequest.PinsAddRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getChannel()
    Channel to pin the item in.
    java.lang.String getFile()
    Deprecated.
    java.lang.String getFileComment()
    Deprecated.
    java.lang.String getTimestamp()
    Timestamp of the message to pin.
    java.lang.String getToken()
    Authentication token.
    int hashCode()  
    void setChannel​(java.lang.String channel)
    Channel to pin the item in.
    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 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

      public static PinsAddRequest.PinsAddRequestBuilder 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 to pin the item in.
    • getFile

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

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

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

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

      public void setChannel​(java.lang.String channel)
      Channel to pin the item in.
    • setFile

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

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

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