slackline/api/admin/slackbot/skills_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.slackbot.skills.list. Each setter takes the call that slackbot.skills_list returns and sets one argument:

slackbot.skills_list()
|> skills_list.category(category)

Values

pub fn auto_enabled_status(
  call: slackline.Call(slackbot.SkillsList, r),
  auto_enabled_status: slackbot.AutoEnabledStatus,
) -> slackline.Call(slackbot.SkillsList, r)

Filter by org deployment, independently of publication. Acceptable values: all enabled disabled Defaults to all.

pub fn category(
  call: slackline.Call(slackbot.SkillsList, r),
  category: common.SkillCategory,
) -> slackline.Call(slackbot.SkillsList, r)

Only return skills in this category. Acceptable values: communication customer_support data_and_analytics engineering product_management productivity professional_development project_management sales system team_management other

pub fn creator_ids(
  call: slackline.Call(slackbot.SkillsList, r),
  creator_ids: List(String),
) -> slackline.Call(slackbot.SkillsList, r)

Only return skills created by these users. Accepts U or W user IDs. Maximum: 100

pub fn cursor(
  call: slackline.Call(slackbot.SkillsList, r),
  cursor: String,
) -> slackline.Call(slackbot.SkillsList, r)

Continuation from the previous page. Keep all filters and sorting unchanged. Pages can be empty while a continuation remains; continue until next_cursor is empty. Changes during traversal may move results; pagination is not a snapshot.

pub fn limit(
  call: slackline.Call(slackbot.SkillsList, r),
  limit: Int,
) -> slackline.Call(slackbot.SkillsList, r)

The maximum number of skills to return. Fewer may be returned even when more remain. Defaults to 100.

pub fn publish_status(
  call: slackline.Call(slackbot.SkillsList, r),
  publish_status: slackbot.PublishStatus,
) -> slackline.Call(slackbot.SkillsList, r)

Filter by publication to the org catalog. Acceptable values: all published unpublished Defaults to all.

pub fn sort(
  call: slackline.Call(slackbot.SkillsList, r),
  sort: slackbot.SkillSort,
) -> slackline.Call(slackbot.SkillsList, r)

Sort across the inventory. Name uses case-insensitive ordering. Unedited skills use their creation date for date_updated sorting. Acceptable values: name usage_count date_updated Defaults to name.

pub fn sort_dir(
  call: slackline.Call(slackbot.SkillsList, r),
  sort_dir: common.SortDirection,
) -> slackline.Call(slackbot.SkillsList, r)

Sort direction; file ID breaks ties. Acceptable values: asc desc Defaults to asc.

✨ Search Document