Class StarsListRequest
java.lang.Object
com.slack.api.methods.request.stars.StarsListRequest
- All Implemented Interfaces:
SlackApiRequest
public class StarsListRequest extends Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStarsListRequest.StarsListRequestBuilder -
Method Summary
Modifier and Type Method Description static StarsListRequest.StarsListRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)IntegergetCount()Number of items to return per page.StringgetCursor()Parameter for pagination.IntegergetLimit()The maximum number of items to return.IntegergetPage()Page number of results to return.StringgetTeamId()encoded team id to list stars in, required if org token is usedStringgetToken()Authentication token.inthashCode()voidsetCount(Integer count)Number of items to return per page.voidsetCursor(String cursor)Parameter for pagination.voidsetLimit(Integer limit)The maximum number of items to return.voidsetPage(Integer page)Page number of results to return.voidsetTeamId(String teamId)encoded team id to list stars in, required if org token is usedvoidsetToken(String token)Authentication token.StringtoString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `stars:read`- Specified by:
getTokenin interfaceSlackApiRequest
-
getCount
Number of items to return per page. -
getCursor
Parameter for pagination. Set cursor equal to the next_cursor attribute returned by the previous request's response_metadata. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection. See pagination for more details. -
getLimit
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. -
getPage
Page number of results to return. -
getTeamId
encoded team id to list stars in, required if org token is used -
setToken
Authentication token. Requires scope: `stars:read` -
setCount
Number of items to return per page. -
setCursor
Parameter for pagination. Set cursor equal to the next_cursor attribute returned by the previous request's response_metadata. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection. See pagination for more details. -
setLimit
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. -
setPage
Page number of results to return. -
setTeamId
encoded team id to list stars in, required if org token is used -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-