slackline/api/team/access_logs
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Setters for the optional arguments of
team.accessLogs.
Each setter takes the call that team.access_logs returns and sets one
argument:
team.access_logs()
|> access_logs.before("1457989166")
Values
pub fn before(
call: slackline.Call(team.AccessLogs, r),
before: String,
) -> slackline.Call(team.AccessLogs, r)
End of time range of logs to include in results (inclusive): a Unix
timestamp or now.
pub fn count(
call: slackline.Call(team.AccessLogs, r),
count: Int,
) -> slackline.Call(team.AccessLogs, r)
Defaults to 100.
pub fn cursor(
call: slackline.Call(team.AccessLogs, r),
cursor: String,
) -> slackline.Call(team.AccessLogs, r)
Parameter for pagination. 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. See
pagination for more
details.
pub fn limit(
call: slackline.Call(team.AccessLogs, r),
limit: Int,
) -> slackline.Call(team.AccessLogs, 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. If specified, result is returned using a cursor-based approach instead of a classic one.
pub fn page(
call: slackline.Call(team.AccessLogs, r),
page: Int,
) -> slackline.Call(team.AccessLogs, r)
Defaults to 1.
pub fn team_id(
call: slackline.Call(team.AccessLogs, r),
team_id: String,
) -> slackline.Call(team.AccessLogs, r)
encoded team id to get logs from, required if org token is used