slackline/api/admin/roles/list_assignments
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Setters for the optional arguments of
admin.roles.listAssignments.
Each setter takes the call that roles.list_assignments returns and sets
one argument:
roles.list_assignments()
|> list_assignments.cursor("5c3e53d5")
Values
pub fn cursor(
call: slackline.Call(roles.ListAssignments, r),
cursor: String,
) -> slackline.Call(roles.ListAssignments, r)
Set cursor to next_cursor returned by the previous call to list items in
the next page
pub fn entity_ids(
call: slackline.Call(roles.ListAssignments, r),
entity_ids: List(String),
) -> slackline.Call(roles.ListAssignments, r)
The entities for which the roles apply
pub fn limit(
call: slackline.Call(roles.ListAssignments, r),
limit: Int,
) -> slackline.Call(roles.ListAssignments, r)
The maximum number of items to return. Must be between 1 - 200 both
inclusive. Defaults to 200.
pub fn role_ids(
call: slackline.Call(roles.ListAssignments, r),
role_ids: List(String),
) -> slackline.Call(roles.ListAssignments, r)
collection of role ids to scope results by
pub fn sort_dir(
call: slackline.Call(roles.ListAssignments, r),
sort_dir: common.SortDirection,
) -> slackline.Call(roles.ListAssignments, r)
Sort direction. Default is descending on date_create, can be either ASC or DESC