Class FilesCommentsEditRequest

java.lang.Object
com.slack.api.methods.request.files.comments.FilesCommentsEditRequest
All Implemented Interfaces:
SlackApiRequest

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

    Nested Classes 
    Modifier and Type Class Description
    static class  FilesCommentsEditRequest.FilesCommentsEditRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static FilesCommentsEditRequest.FilesCommentsEditRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getComment()
    Text of the comment to edit.
    java.lang.String getFile()
    File containing the comment to edit.
    java.lang.String getId()
    The comment to edit.
    java.lang.String getToken()
    Authentication token.
    int hashCode()  
    void setComment​(java.lang.String comment)
    Text of the comment to edit.
    void setFile​(java.lang.String file)
    File containing the comment to edit.
    void setId​(java.lang.String id)
    The comment to edit.
    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: `files:write:user`
      Specified by:
      getToken in interface SlackApiRequest
    • getFile

      public java.lang.String getFile()
      File containing the comment to edit.
    • getId

      public java.lang.String getId()
      The comment to edit.
    • getComment

      public java.lang.String getComment()
      Text of the comment to edit.
    • setToken

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

      public void setFile​(java.lang.String file)
      File containing the comment to edit.
    • setId

      public void setId​(java.lang.String id)
      The comment to edit.
    • setComment

      public void setComment​(java.lang.String comment)
      Text of the comment to edit.
    • 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