Package com.slack.api.audit.impl
Class AuditClientImpl
java.lang.Object
com.slack.api.audit.impl.AuditClientImpl
- All Implemented Interfaces:
AuditClient
public class AuditClientImpl extends Object implements AuditClient
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AuditClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache)AuditClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache, String token) -
Method Summary
Modifier and Type Method Description AuditClientattachRawBody(boolean attachRawBody)ActionsResponsegetActions()ActionsResponsegetActions(ActionsRequest req)ActionsResponsegetActions(RequestConfigurator<ActionsRequest.ActionsRequestBuilder> req)StringgetEndpointUrlPrefix()LogsResponsegetLogs(LogsRequest req)LogsResponsegetLogs(RequestConfigurator<LogsRequest.LogsRequestBuilder> req)SchemasResponsegetSchemas()SchemasResponsegetSchemas(SchemasRequest req)SchemasResponsegetSchemas(RequestConfigurator<SchemasRequest.SchemasRequestBuilder> 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
-