Class StarsAddRequest.StarsAddRequestBuilder
- java.lang.Object
-
- com.slack.api.methods.request.stars.StarsAddRequest.StarsAddRequestBuilder
-
- Enclosing class:
- StarsAddRequest
public static class StarsAddRequest.StarsAddRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StarsAddRequestbuild()StarsAddRequest.StarsAddRequestBuilderchannel(String channel)Channel to add star to, or channel where the message to add star to was posted (used with `timestamp`).StarsAddRequest.StarsAddRequestBuilderfile(String file)File to add star to.StarsAddRequest.StarsAddRequestBuilderfileComment(String fileComment)File comment to add star to.StarsAddRequest.StarsAddRequestBuildertimestamp(String timestamp)Timestamp of the message to add star to.StarsAddRequest.StarsAddRequestBuildertoken(String token)Authentication token.StringtoString()
-
-
-
Method Detail
-
token
public StarsAddRequest.StarsAddRequestBuilder token(String token)
Authentication token. Requires scope: `stars:write`- Returns:
this.
-
file
public StarsAddRequest.StarsAddRequestBuilder file(String file)
File to add star to.- Returns:
this.
-
fileComment
public StarsAddRequest.StarsAddRequestBuilder fileComment(String fileComment)
File comment to add star to.- Returns:
this.
-
channel
public StarsAddRequest.StarsAddRequestBuilder channel(String channel)
Channel to add star to, or channel where the message to add star to was posted (used with `timestamp`).- Returns:
this.
-
timestamp
public StarsAddRequest.StarsAddRequestBuilder timestamp(String timestamp)
Timestamp of the message to add star to.- Returns:
this.
-
build
public StarsAddRequest build()
-
-