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 AuditClient
attachRawBody(boolean attachRawBody)
ActionsResponse
getActions()
ActionsResponse
getActions(ActionsRequest req)
ActionsResponse
getActions(RequestConfigurator<ActionsRequest.ActionsRequestBuilder> req)
String
getEndpointUrlPrefix()
LogsResponse
getLogs(LogsRequest req)
LogsResponse
getLogs(RequestConfigurator<LogsRequest.LogsRequestBuilder> req)
SchemasResponse
getSchemas()
SchemasResponse
getSchemas(SchemasRequest req)
SchemasResponse
getSchemas(RequestConfigurator<SchemasRequest.SchemasRequestBuilder> req)
void
setEndpointUrlPrefix(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:
attachRawBody
in interfaceAuditClient
-
getSchemas
- Specified by:
getSchemas
in interfaceAuditClient
- Throws:
IOException
AuditApiException
-
getSchemas
- Specified by:
getSchemas
in interfaceAuditClient
- Throws:
IOException
AuditApiException
-
getSchemas
public SchemasResponse getSchemas(RequestConfigurator<SchemasRequest.SchemasRequestBuilder> req) throws IOException, AuditApiException- Specified by:
getSchemas
in interfaceAuditClient
- Throws:
IOException
AuditApiException
-
getActions
- Specified by:
getActions
in interfaceAuditClient
- Throws:
IOException
AuditApiException
-
getActions
- Specified by:
getActions
in interfaceAuditClient
- Throws:
IOException
AuditApiException
-
getActions
public ActionsResponse getActions(RequestConfigurator<ActionsRequest.ActionsRequestBuilder> req) throws IOException, AuditApiException- Specified by:
getActions
in interfaceAuditClient
- Throws:
IOException
AuditApiException
-
getLogs
- Specified by:
getLogs
in interfaceAuditClient
- Throws:
IOException
AuditApiException
-
getLogs
public LogsResponse getLogs(RequestConfigurator<LogsRequest.LogsRequestBuilder> req) throws IOException, AuditApiException- Specified by:
getLogs
in interfaceAuditClient
- Throws:
IOException
AuditApiException
-