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 class
FilesCommentsAddRequest.FilesCommentsAddRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FilesCommentsAddRequest.FilesCommentsAddRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getComment()
Text of the comment to add.String
getFile()
File to add a comment to.String
getToken()
Authentication token.int
hashCode()
void
setComment(String comment)
Text of the comment to add.void
setFile(String file)
File to add a comment to.void
setToken(String token)
Authentication token.String
toString()
-
-
-
Method Detail
-
builder
public static FilesCommentsAddRequest.FilesCommentsAddRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `files:write:user`- Specified by:
getToken
in 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)
-
-