slackline/api/admin/auth/policy_get_entities

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

Setters for the optional arguments of admin.auth.policy.getEntities. Each setter takes the call that auth.policy_get_entities returns and sets one argument:

auth.policy_get_entities(policy_name: "email_password")
|> policy_get_entities.entity_type("entity_type")

Values

pub fn cursor(
  call: slackline.Call(auth.PolicyGetEntities, r),
  cursor: String,
) -> slackline.Call(auth.PolicyGetEntities, r)

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

pub fn entity_type(
  call: slackline.Call(auth.PolicyGetEntities, r),
  entity_type: String,
) -> slackline.Call(auth.PolicyGetEntities, r)

The type of entity to assign to the policy. Currently, USER is supported.

pub fn limit(
  call: slackline.Call(auth.PolicyGetEntities, r),
  limit: Int,
) -> slackline.Call(auth.PolicyGetEntities, r)

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

✨ Search Document