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 java.lang.Object implements AuditClient
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AuditClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache)AuditClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache, java.lang.String token) -
Method Summary
Modifier and Type Method Description AuditClientattachRawBody(boolean attachRawBody)ActionsResponsegetActions()ActionsResponsegetActions(ActionsRequest req)ActionsResponsegetActions(RequestConfigurator<ActionsRequest.ActionsRequestBuilder> req)java.lang.StringgetEndpointUrlPrefix()LogsResponsegetLogs(LogsRequest req)LogsResponsegetLogs(RequestConfigurator<LogsRequest.LogsRequestBuilder> req)SchemasResponsegetSchemas()SchemasResponsegetSchemas(SchemasRequest req)SchemasResponsegetSchemas(RequestConfigurator<SchemasRequest.SchemasRequestBuilder> req)voidsetEndpointUrlPrefix(java.lang.String endpointUrlPrefix)
-
Constructor Details
-
AuditClientImpl
public AuditClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache) -
AuditClientImpl
public AuditClientImpl(SlackConfig config, SlackHttpClient slackHttpClient, TeamIdCache teamIdCache, java.lang.String token)
-
-
Method Details
-
getEndpointUrlPrefix
public java.lang.String getEndpointUrlPrefix() -
setEndpointUrlPrefix
public void setEndpointUrlPrefix(java.lang.String endpointUrlPrefix) -
attachRawBody
- Specified by:
attachRawBodyin interfaceAuditClient
-
getSchemas
- Specified by:
getSchemasin interfaceAuditClient- Throws:
java.io.IOExceptionAuditApiException
-
getSchemas
public SchemasResponse getSchemas(SchemasRequest req) throws java.io.IOException, AuditApiException- Specified by:
getSchemasin interfaceAuditClient- Throws:
java.io.IOExceptionAuditApiException
-
getSchemas
public SchemasResponse getSchemas(RequestConfigurator<SchemasRequest.SchemasRequestBuilder> req) throws java.io.IOException, AuditApiException- Specified by:
getSchemasin interfaceAuditClient- Throws:
java.io.IOExceptionAuditApiException
-
getActions
- Specified by:
getActionsin interfaceAuditClient- Throws:
java.io.IOExceptionAuditApiException
-
getActions
public ActionsResponse getActions(ActionsRequest req) throws java.io.IOException, AuditApiException- Specified by:
getActionsin interfaceAuditClient- Throws:
java.io.IOExceptionAuditApiException
-
getActions
public ActionsResponse getActions(RequestConfigurator<ActionsRequest.ActionsRequestBuilder> req) throws java.io.IOException, AuditApiException- Specified by:
getActionsin interfaceAuditClient- Throws:
java.io.IOExceptionAuditApiException
-
getLogs
- Specified by:
getLogsin interfaceAuditClient- Throws:
java.io.IOExceptionAuditApiException
-
getLogs
public LogsResponse getLogs(RequestConfigurator<LogsRequest.LogsRequestBuilder> req) throws java.io.IOException, AuditApiException- Specified by:
getLogsin interfaceAuditClient- Throws:
java.io.IOExceptionAuditApiException
-