Package com.launchdarkly.api.api
Class IntegrationAuditLogSubscriptionsApi
- java.lang.Object
-
- com.launchdarkly.api.api.IntegrationAuditLogSubscriptionsApi
-
public class IntegrationAuditLogSubscriptionsApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IntegrationAuditLogSubscriptionsApi()IntegrationAuditLogSubscriptionsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegrationcreateSubscription(java.lang.String integrationKey, SubscriptionPost subscriptionPost)Create audit log subscription Create an audit log subscription.<br /><br />For each subscription, you must specify the set of resources you wish to subscribe to audit log notifications for.okhttp3.CallcreateSubscriptionAsync(java.lang.String integrationKey, SubscriptionPost subscriptionPost, ApiCallback<Integration> _callback)Create audit log subscription (asynchronously) Create an audit log subscription.<br /><br />For each subscription, you must specify the set of resources you wish to subscribe to audit log notifications for.okhttp3.CallcreateSubscriptionCall(java.lang.String integrationKey, SubscriptionPost subscriptionPost, ApiCallback _callback)Build call for createSubscriptionApiResponse<Integration>createSubscriptionWithHttpInfo(java.lang.String integrationKey, SubscriptionPost subscriptionPost)Create audit log subscription Create an audit log subscription.<br /><br />For each subscription, you must specify the set of resources you wish to subscribe to audit log notifications for.voiddeleteSubscription(java.lang.String integrationKey, java.lang.String id)Delete audit log subscription Delete an audit log subscription.okhttp3.CalldeleteSubscriptionAsync(java.lang.String integrationKey, java.lang.String id, ApiCallback<java.lang.Void> _callback)Delete audit log subscription (asynchronously) Delete an audit log subscription.okhttp3.CalldeleteSubscriptionCall(java.lang.String integrationKey, java.lang.String id, ApiCallback _callback)Build call for deleteSubscriptionApiResponse<java.lang.Void>deleteSubscriptionWithHttpInfo(java.lang.String integrationKey, java.lang.String id)Delete audit log subscription Delete an audit log subscription.ApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()intgetHostIndex()IntegrationgetSubscriptionByID(java.lang.String integrationKey, java.lang.String id)Get audit log subscription by ID Get an audit log subscription by ID.okhttp3.CallgetSubscriptionByIDAsync(java.lang.String integrationKey, java.lang.String id, ApiCallback<Integration> _callback)Get audit log subscription by ID (asynchronously) Get an audit log subscription by ID.okhttp3.CallgetSubscriptionByIDCall(java.lang.String integrationKey, java.lang.String id, ApiCallback _callback)Build call for getSubscriptionByIDApiResponse<Integration>getSubscriptionByIDWithHttpInfo(java.lang.String integrationKey, java.lang.String id)Get audit log subscription by ID Get an audit log subscription by ID.IntegrationsgetSubscriptions(java.lang.String integrationKey)Get audit log subscriptions by integration Get all audit log subscriptions associated with a given integration.okhttp3.CallgetSubscriptionsAsync(java.lang.String integrationKey, ApiCallback<Integrations> _callback)Get audit log subscriptions by integration (asynchronously) Get all audit log subscriptions associated with a given integration.okhttp3.CallgetSubscriptionsCall(java.lang.String integrationKey, ApiCallback _callback)Build call for getSubscriptionsApiResponse<Integrations>getSubscriptionsWithHttpInfo(java.lang.String integrationKey)Get audit log subscriptions by integration Get all audit log subscriptions associated with a given integration.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)IntegrationupdateSubscription(java.lang.String integrationKey, java.lang.String id, java.util.List<PatchOperation> patchOperation)Update audit log subscription Update an audit log subscription configuration.okhttp3.CallupdateSubscriptionAsync(java.lang.String integrationKey, java.lang.String id, java.util.List<PatchOperation> patchOperation, ApiCallback<Integration> _callback)Update audit log subscription (asynchronously) Update an audit log subscription configuration.okhttp3.CallupdateSubscriptionCall(java.lang.String integrationKey, java.lang.String id, java.util.List<PatchOperation> patchOperation, ApiCallback _callback)Build call for updateSubscriptionApiResponse<Integration>updateSubscriptionWithHttpInfo(java.lang.String integrationKey, java.lang.String id, java.util.List<PatchOperation> patchOperation)Update audit log subscription Update an audit log subscription configuration.
-
-
-
Constructor Detail
-
IntegrationAuditLogSubscriptionsApi
public IntegrationAuditLogSubscriptionsApi()
-
IntegrationAuditLogSubscriptionsApi
public IntegrationAuditLogSubscriptionsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getHostIndex
public int getHostIndex()
-
setHostIndex
public void setHostIndex(int hostIndex)
-
getCustomBaseUrl
public java.lang.String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(java.lang.String customBaseUrl)
-
createSubscriptionCall
public okhttp3.Call createSubscriptionCall(java.lang.String integrationKey, SubscriptionPost subscriptionPost, ApiCallback _callback) throws ApiExceptionBuild call for createSubscription- Parameters:
integrationKey- The integration key (required)subscriptionPost- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createSubscription
public Integration createSubscription(java.lang.String integrationKey, SubscriptionPost subscriptionPost) throws ApiException
Create audit log subscription Create an audit log subscription.<br /><br />For each subscription, you must specify the set of resources you wish to subscribe to audit log notifications for. You can describe these resources using a custom role policy. To learn more, read [Custom role concepts](https://docs.launchdarkly.com/home/account/role-concepts).- Parameters:
integrationKey- The integration key (required)subscriptionPost- (required)- Returns:
- Integration
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createSubscriptionWithHttpInfo
public ApiResponse<Integration> createSubscriptionWithHttpInfo(java.lang.String integrationKey, SubscriptionPost subscriptionPost) throws ApiException
Create audit log subscription Create an audit log subscription.<br /><br />For each subscription, you must specify the set of resources you wish to subscribe to audit log notifications for. You can describe these resources using a custom role policy. To learn more, read [Custom role concepts](https://docs.launchdarkly.com/home/account/role-concepts).- Parameters:
integrationKey- The integration key (required)subscriptionPost- (required)- Returns:
- ApiResponse<Integration>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createSubscriptionAsync
public okhttp3.Call createSubscriptionAsync(java.lang.String integrationKey, SubscriptionPost subscriptionPost, ApiCallback<Integration> _callback) throws ApiExceptionCreate audit log subscription (asynchronously) Create an audit log subscription.<br /><br />For each subscription, you must specify the set of resources you wish to subscribe to audit log notifications for. You can describe these resources using a custom role policy. To learn more, read [Custom role concepts](https://docs.launchdarkly.com/home/account/role-concepts).- Parameters:
integrationKey- The integration key (required)subscriptionPost- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
deleteSubscriptionCall
public okhttp3.Call deleteSubscriptionCall(java.lang.String integrationKey, java.lang.String id, ApiCallback _callback) throws ApiExceptionBuild call for deleteSubscription- Parameters:
integrationKey- The integration key (required)id- The subscription ID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deleteSubscription
public void deleteSubscription(java.lang.String integrationKey, java.lang.String id) throws ApiExceptionDelete audit log subscription Delete an audit log subscription.- Parameters:
integrationKey- The integration key (required)id- The subscription ID (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteSubscriptionWithHttpInfo
public ApiResponse<java.lang.Void> deleteSubscriptionWithHttpInfo(java.lang.String integrationKey, java.lang.String id) throws ApiException
Delete audit log subscription Delete an audit log subscription.- Parameters:
integrationKey- The integration key (required)id- The subscription ID (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteSubscriptionAsync
public okhttp3.Call deleteSubscriptionAsync(java.lang.String integrationKey, java.lang.String id, ApiCallback<java.lang.Void> _callback) throws ApiExceptionDelete audit log subscription (asynchronously) Delete an audit log subscription.- Parameters:
integrationKey- The integration key (required)id- The subscription ID (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getSubscriptionByIDCall
public okhttp3.Call getSubscriptionByIDCall(java.lang.String integrationKey, java.lang.String id, ApiCallback _callback) throws ApiExceptionBuild call for getSubscriptionByID- Parameters:
integrationKey- The integration key (required)id- The subscription ID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getSubscriptionByID
public Integration getSubscriptionByID(java.lang.String integrationKey, java.lang.String id) throws ApiException
Get audit log subscription by ID Get an audit log subscription by ID.- Parameters:
integrationKey- The integration key (required)id- The subscription ID (required)- Returns:
- Integration
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSubscriptionByIDWithHttpInfo
public ApiResponse<Integration> getSubscriptionByIDWithHttpInfo(java.lang.String integrationKey, java.lang.String id) throws ApiException
Get audit log subscription by ID Get an audit log subscription by ID.- Parameters:
integrationKey- The integration key (required)id- The subscription ID (required)- Returns:
- ApiResponse<Integration>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSubscriptionByIDAsync
public okhttp3.Call getSubscriptionByIDAsync(java.lang.String integrationKey, java.lang.String id, ApiCallback<Integration> _callback) throws ApiExceptionGet audit log subscription by ID (asynchronously) Get an audit log subscription by ID.- Parameters:
integrationKey- The integration key (required)id- The subscription ID (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getSubscriptionsCall
public okhttp3.Call getSubscriptionsCall(java.lang.String integrationKey, ApiCallback _callback) throws ApiExceptionBuild call for getSubscriptions- Parameters:
integrationKey- The integration key (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getSubscriptions
public Integrations getSubscriptions(java.lang.String integrationKey) throws ApiException
Get audit log subscriptions by integration Get all audit log subscriptions associated with a given integration.- Parameters:
integrationKey- The integration key (required)- Returns:
- Integrations
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSubscriptionsWithHttpInfo
public ApiResponse<Integrations> getSubscriptionsWithHttpInfo(java.lang.String integrationKey) throws ApiException
Get audit log subscriptions by integration Get all audit log subscriptions associated with a given integration.- Parameters:
integrationKey- The integration key (required)- Returns:
- ApiResponse<Integrations>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSubscriptionsAsync
public okhttp3.Call getSubscriptionsAsync(java.lang.String integrationKey, ApiCallback<Integrations> _callback) throws ApiExceptionGet audit log subscriptions by integration (asynchronously) Get all audit log subscriptions associated with a given integration.- Parameters:
integrationKey- The integration key (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
updateSubscriptionCall
public okhttp3.Call updateSubscriptionCall(java.lang.String integrationKey, java.lang.String id, java.util.List<PatchOperation> patchOperation, ApiCallback _callback) throws ApiExceptionBuild call for updateSubscription- Parameters:
integrationKey- The integration key (required)id- The ID of the audit log subscription (required)patchOperation- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
updateSubscription
public Integration updateSubscription(java.lang.String integrationKey, java.lang.String id, java.util.List<PatchOperation> patchOperation) throws ApiException
Update audit log subscription Update an audit log subscription configuration. Updating an audit log subscription uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).- Parameters:
integrationKey- The integration key (required)id- The ID of the audit log subscription (required)patchOperation- (required)- Returns:
- Integration
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateSubscriptionWithHttpInfo
public ApiResponse<Integration> updateSubscriptionWithHttpInfo(java.lang.String integrationKey, java.lang.String id, java.util.List<PatchOperation> patchOperation) throws ApiException
Update audit log subscription Update an audit log subscription configuration. Updating an audit log subscription uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).- Parameters:
integrationKey- The integration key (required)id- The ID of the audit log subscription (required)patchOperation- (required)- Returns:
- ApiResponse<Integration>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateSubscriptionAsync
public okhttp3.Call updateSubscriptionAsync(java.lang.String integrationKey, java.lang.String id, java.util.List<PatchOperation> patchOperation, ApiCallback<Integration> _callback) throws ApiExceptionUpdate audit log subscription (asynchronously) Update an audit log subscription configuration. Updating an audit log subscription uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).- Parameters:
integrationKey- The integration key (required)id- The ID of the audit log subscription (required)patchOperation- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-