slackline/api/admin/apps/activities_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.apps.activities.list.
Each setter takes the call that apps.activities_list returns and sets one
argument:
apps.activities_list()
|> activities_list.app_id("A12345")
Values
pub fn app_id(
call: slackline.Call(apps.ActivitiesList, r),
app_id: String,
) -> slackline.Call(apps.ActivitiesList, r)
The ID of the app to get activities from.
pub fn component_id(
call: slackline.Call(apps.ActivitiesList, r),
component_id: String,
) -> slackline.Call(apps.ActivitiesList, r)
The component ID of log events to be returned. Will be FnXXXXXX for
functions, and WfXXXXXX for workflows
pub fn component_type(
call: slackline.Call(apps.ActivitiesList, r),
component_type: apps.ActivityComponentType,
) -> slackline.Call(apps.ActivitiesList, r)
The component type of log events to be returned. Acceptable values are
events_api, workflows, functions and tables.
pub fn cursor(
call: slackline.Call(apps.ActivitiesList, r),
cursor: String,
) -> slackline.Call(apps.ActivitiesList, r)
Paginate through collections of data by setting the cursor parameter to a
next_cursor attribute returned by a previous request’s
response_metadata. See
pagination for more
detail.
pub fn limit(
call: slackline.Call(apps.ActivitiesList, r),
limit: Int,
) -> slackline.Call(apps.ActivitiesList, r)
The maximum number of items to return.
pub fn log_event_type(
call: slackline.Call(apps.ActivitiesList, r),
log_event_type: String,
) -> slackline.Call(apps.ActivitiesList, r)
The event type of log events to be returned.
pub fn max_date_created(
call: slackline.Call(apps.ActivitiesList, r),
max_date_created: Int,
) -> slackline.Call(apps.ActivitiesList, r)
The latest timestamp of the log to retrieve (epoch microseconds).
pub fn min_date_created(
call: slackline.Call(apps.ActivitiesList, r),
min_date_created: Int,
) -> slackline.Call(apps.ActivitiesList, r)
The earliest timestamp of the log to retrieve (epoch microseconds).
pub fn min_log_level(
call: slackline.Call(apps.ActivitiesList, r),
min_log_level: common.ActivityLogLevel,
) -> slackline.Call(apps.ActivitiesList, r)
The minimum log level of the log events to be returned. Defaults to info.
Acceptable values (in order of relative importance from smallest to largest)
are trace, debug, info, warn, error and fatal.
pub fn sort_direction(
call: slackline.Call(apps.ActivitiesList, r),
sort_direction: common.SortDirection,
) -> slackline.Call(apps.ActivitiesList, r)
The direction you want the data sorted by (always by timestamp) Acceptable
values: asc desc
pub fn source(
call: slackline.Call(apps.ActivitiesList, r),
source: apps.ActivitySource,
) -> slackline.Call(apps.ActivitiesList, r)
The source of log events to be returned. Acceptable values are slack and
developer.
pub fn team_id(
call: slackline.Call(apps.ActivitiesList, r),
team_id: String,
) -> slackline.Call(apps.ActivitiesList, r)
The team who owns this log.
pub fn trace_id(
call: slackline.Call(apps.ActivitiesList, r),
trace_id: String,
) -> slackline.Call(apps.ActivitiesList, r)
The trace ID of log events to be returned.