slackline/api/admin/barriers/list

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

Setters for the optional arguments of admin.barriers.list. Each setter takes the call that barriers.list returns and sets one argument:

import slackline/api/admin/barriers/list as barriers_list

barriers.list()
|> barriers_list.limit(100)

Values

pub fn cursor(
  call: slackline.Call(barriers.ListMethod, r),
  cursor: String,
) -> slackline.Call(barriers.ListMethod, r)

Set cursor to next_cursor returned by the previous call to list items in the next page

pub fn filter_by_usergroup_name(
  call: slackline.Call(barriers.ListMethod, r),
  filter_by_usergroup_name: String,
) -> slackline.Call(barriers.ListMethod, r)

Only return barriers whose name matches. Mentioned in the usage info, not in the arguments list.

pub fn limit(
  call: slackline.Call(barriers.ListMethod, r),
  limit: Int,
) -> slackline.Call(barriers.ListMethod, r)

The maximum number of items to return. Must be between 1 - 1000 both inclusive Defaults to 100.

✨ Search Document