Package com.slack.api.audit.impl
Class AuditClientImpl
java.lang.Object
com.slack.api.audit.impl.AuditClientImpl
- All Implemented Interfaces:
AuditClient
-
Field Summary
Fields inherited from interface com.slack.api.audit.AuditClient
ENDPOINT_URL_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionAuditClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache) AuditClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache, String token) -
Method Summary
Modifier and TypeMethodDescriptionattachRawBody(boolean attachRawBody) getActions(ActionsRequest req) getLogs(LogsRequest req) getSchemas(SchemasRequest req) voidsetEndpointUrlPrefix(String endpointUrlPrefix)
-
Constructor Details
-
AuditClientImpl
public AuditClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache) -
AuditClientImpl
public AuditClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache, String token)
-
-
Method Details
-
getEndpointUrlPrefix
-
setEndpointUrlPrefix
-
attachRawBody
- Specified by:
attachRawBodyin interfaceAuditClient
-
getSchemas
- Specified by:
getSchemasin interfaceAuditClient- Throws:
IOExceptionAuditApiException
-
getSchemas
- Specified by:
getSchemasin interfaceAuditClient- Throws:
IOExceptionAuditApiException
-
getSchemas
public SchemasResponse getSchemas(RequestConfigurator<SchemasRequest.SchemasRequestBuilder> req) throws IOException, AuditApiException - Specified by:
getSchemasin interfaceAuditClient- Throws:
IOExceptionAuditApiException
-
getActions
- Specified by:
getActionsin interfaceAuditClient- Throws:
IOExceptionAuditApiException
-
getActions
- Specified by:
getActionsin interfaceAuditClient- Throws:
IOExceptionAuditApiException
-
getActions
public ActionsResponse getActions(RequestConfigurator<ActionsRequest.ActionsRequestBuilder> req) throws IOException, AuditApiException - Specified by:
getActionsin interfaceAuditClient- Throws:
IOExceptionAuditApiException
-
getLogs
- Specified by:
getLogsin interfaceAuditClient- Throws:
IOExceptionAuditApiException
-
getLogs
public LogsResponse getLogs(RequestConfigurator<LogsRequest.LogsRequestBuilder> req) throws IOException, AuditApiException - Specified by:
getLogsin interfaceAuditClient- Throws:
IOExceptionAuditApiException
-