slackline/api/stars/list
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Setters for the optional arguments of
stars.list. Each
setter takes the call that stars.list returns and sets one argument:
import slackline/api/stars/list as stars_list
stars.list()
|> stars_list.count(10)
Values
pub fn count(
call: slackline.Call(stars.ListMethod, r),
count: Int,
) -> slackline.Call(stars.ListMethod, r)
Defaults to 100.
pub fn cursor(
call: slackline.Call(stars.ListMethod, r),
cursor: String,
) -> slackline.Call(stars.ListMethod, r)
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.
pub fn limit(
call: slackline.Call(stars.ListMethod, r),
limit: Int,
) -> slackline.Call(stars.ListMethod, r)
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.
pub fn page(
call: slackline.Call(stars.ListMethod, r),
page: Int,
) -> slackline.Call(stars.ListMethod, r)
Defaults to 1.
pub fn team_id(
call: slackline.Call(stars.ListMethod, r),
team_id: String,
) -> slackline.Call(stars.ListMethod, r)
encoded team id to list stars in, required if org token is used