slackline/api/files/info

This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.

Setters for the optional arguments of files.info. Each setter takes the call that files.info returns and sets one argument:

files.info(file: "F2147483862")
|> info.count(10)

Values

pub fn count(
  call: slackline.Call(files.Info, r),
  count: Int,
) -> slackline.Call(files.Info, r)

Defaults to 100.

pub fn cursor(
  call: slackline.Call(files.Info, r),
  cursor: String,
) -> slackline.Call(files.Info, r)

Parameter for pagination. File comments are paginated for a single file. 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 of comments. See pagination for more details.

pub fn limit(
  call: slackline.Call(files.Info, r),
  limit: Int,
) -> slackline.Call(files.Info, 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(files.Info, r),
  page: Int,
) -> slackline.Call(files.Info, r)

Defaults to 1.

✨ Search Document