Class StarsListRequest
- java.lang.Object
-
- com.slack.api.methods.request.stars.StarsListRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class StarsListRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/stars.list
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStarsListRequest.StarsListRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
builder
public static StarsListRequest.StarsListRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `stars:read`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getCount
public Integer getCount()
Number of items to return per page.
-
getCursor
public String 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
public Integer 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
public Integer getPage()
Page number of results to return.
-
getTeamId
public String getTeamId()
encoded team id to list stars in, required if org token is used
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `stars:read`- Specified by:
setTokenin interfaceSlackApiRequest
-
setCount
public void setCount(Integer count)
Number of items to return per page.
-
setCursor
public void setCursor(String cursor)
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
public void setLimit(Integer limit)
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
public void setPage(Integer page)
Page number of results to return.
-
setTeamId
public void setTeamId(String teamId)
encoded team id to list stars in, required if org token is used
-
canEqual
protected boolean canEqual(Object other)
-
-