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
-
Fields inherited from interface com.slack.api.audit.AuditClient
ENDPOINT_URL_PREFIX
-
-
Constructor Summary
Constructors Constructor Description AuditClientImpl(SlackHttpClient slackHttpClient)AuditClientImpl(SlackHttpClient slackHttpClient, String token)
-
Method Summary
All Methods Instance Methods Concrete Methods 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 Detail
-
AuditClientImpl
public AuditClientImpl(SlackHttpClient slackHttpClient)
-
AuditClientImpl
public AuditClientImpl(SlackHttpClient slackHttpClient, String token)
-
-
Method Detail
-
getEndpointUrlPrefix
public String getEndpointUrlPrefix()
-
setEndpointUrlPrefix
public void setEndpointUrlPrefix(String endpointUrlPrefix)
-
attachRawBody
public AuditClient attachRawBody(boolean attachRawBody)
- Specified by:
attachRawBodyin interfaceAuditClient
-
getSchemas
public SchemasResponse getSchemas() throws IOException, AuditApiException
- Specified by:
getSchemasin interfaceAuditClient- Throws:
IOExceptionAuditApiException
-
getSchemas
public SchemasResponse getSchemas(SchemasRequest req) throws IOException, AuditApiException
- Specified by:
getSchemasin interfaceAuditClient- Throws:
IOExceptionAuditApiException
-
getSchemas
public SchemasResponse getSchemas(RequestConfigurator<SchemasRequest.SchemasRequestBuilder> req) throws IOException, AuditApiException
- Specified by:
getSchemasin interfaceAuditClient- Throws:
IOExceptionAuditApiException
-
getActions
public ActionsResponse getActions() throws IOException, AuditApiException
- Specified by:
getActionsin interfaceAuditClient- Throws:
IOExceptionAuditApiException
-
getActions
public ActionsResponse getActions(ActionsRequest req) throws IOException, AuditApiException
- Specified by:
getActionsin interfaceAuditClient- Throws:
IOExceptionAuditApiException
-
getActions
public ActionsResponse getActions(RequestConfigurator<ActionsRequest.ActionsRequestBuilder> req) throws IOException, AuditApiException
- Specified by:
getActionsin interfaceAuditClient- Throws:
IOExceptionAuditApiException
-
getLogs
public LogsResponse getLogs(LogsRequest req) throws IOException, AuditApiException
- Specified by:
getLogsin interfaceAuditClient- Throws:
IOExceptionAuditApiException
-
getLogs
public LogsResponse getLogs(RequestConfigurator<LogsRequest.LogsRequestBuilder> req) throws IOException, AuditApiException
- Specified by:
getLogsin interfaceAuditClient- Throws:
IOExceptionAuditApiException
-
-