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 classFilesCommentsEditRequest.FilesCommentsEditRequestBuilder -
Method Summary
Modifier and Type Method Description static FilesCommentsEditRequest.FilesCommentsEditRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetComment()Text of the comment to edit.java.lang.StringgetFile()File containing the comment to edit.java.lang.StringgetId()The comment to edit.java.lang.StringgetToken()Authentication token.inthashCode()voidsetComment(java.lang.String comment)Text of the comment to edit.voidsetFile(java.lang.String file)File containing the comment to edit.voidsetId(java.lang.String id)The comment to edit.voidsetToken(java.lang.String token)Authentication token.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token. Requires scope: `files:write:user`- Specified by:
getTokenin interfaceSlackApiRequest
-
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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-