Class FilesCommentsAddRequest
- java.lang.Object
-
- com.slack.api.methods.request.files.comments.FilesCommentsAddRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class FilesCommentsAddRequest extends Object implements SlackApiRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFilesCommentsAddRequest.FilesCommentsAddRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FilesCommentsAddRequest.FilesCommentsAddRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetComment()Text of the comment to add.StringgetFile()File to add a comment to.StringgetToken()Authentication token.inthashCode()voidsetComment(String comment)Text of the comment to add.voidsetFile(String file)File to add a comment to.voidsetToken(String token)Authentication token.StringtoString()
-
-
-
Method Detail
-
builder
public static FilesCommentsAddRequest.FilesCommentsAddRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `files:write:user`- Specified by:
getTokenin interfaceSlackApiRequest
-
getFile
public String getFile()
File to add a comment to.
-
getComment
public String getComment()
Text of the comment to add.
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `files:write:user`
-
setFile
public void setFile(String file)
File to add a comment to.
-
setComment
public void setComment(String comment)
Text of the comment to add.
-
canEqual
protected boolean canEqual(Object other)
-
-