public class IntegrationsApi
extends java.lang.Object
| Constructor | Description |
|---|---|
IntegrationsApi() |
|
IntegrationsApi(ApiClient apiClient) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
deleteIntegrationSubscription(java.lang.String integrationKey,
java.lang.String integrationId) |
Delete an integration subscription by ID.
|
com.squareup.okhttp.Call |
deleteIntegrationSubscriptionAsync(java.lang.String integrationKey,
java.lang.String integrationId,
ApiCallback<java.lang.Void> callback) |
Delete an integration subscription by ID.
|
com.squareup.okhttp.Call |
deleteIntegrationSubscriptionCall(java.lang.String integrationKey,
java.lang.String integrationId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for deleteIntegrationSubscription
|
ApiResponse<java.lang.Void> |
deleteIntegrationSubscriptionWithHttpInfo(java.lang.String integrationKey,
java.lang.String integrationId) |
Delete an integration subscription by ID.
|
ApiClient |
getApiClient() |
|
Integrations |
getIntegrations() |
Get a list of all configured audit log event integrations associated with this account.
|
com.squareup.okhttp.Call |
getIntegrationsAsync(ApiCallback<Integrations> callback) |
Get a list of all configured audit log event integrations associated with this account.
|
com.squareup.okhttp.Call |
getIntegrationsCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getIntegrations
|
IntegrationSubscription |
getIntegrationSubscription(java.lang.String integrationKey,
java.lang.String integrationId) |
Get a single integration subscription by ID.
|
com.squareup.okhttp.Call |
getIntegrationSubscriptionAsync(java.lang.String integrationKey,
java.lang.String integrationId,
ApiCallback<IntegrationSubscription> callback) |
Get a single integration subscription by ID.
|
com.squareup.okhttp.Call |
getIntegrationSubscriptionCall(java.lang.String integrationKey,
java.lang.String integrationId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getIntegrationSubscription
|
Integration |
getIntegrationSubscriptions(java.lang.String integrationKey) |
Get a list of all configured integrations of a given kind.
|
com.squareup.okhttp.Call |
getIntegrationSubscriptionsAsync(java.lang.String integrationKey,
ApiCallback<Integration> callback) |
Get a list of all configured integrations of a given kind.
|
com.squareup.okhttp.Call |
getIntegrationSubscriptionsCall(java.lang.String integrationKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getIntegrationSubscriptions
|
ApiResponse<Integration> |
getIntegrationSubscriptionsWithHttpInfo(java.lang.String integrationKey) |
Get a list of all configured integrations of a given kind.
|
ApiResponse<IntegrationSubscription> |
getIntegrationSubscriptionWithHttpInfo(java.lang.String integrationKey,
java.lang.String integrationId) |
Get a single integration subscription by ID.
|
ApiResponse<Integrations> |
getIntegrationsWithHttpInfo() |
Get a list of all configured audit log event integrations associated with this account.
|
IntegrationSubscription |
patchIntegrationSubscription(java.lang.String integrationKey,
java.lang.String integrationId,
java.util.List<PatchOperation> patchDelta) |
Modify an integration subscription by ID.
|
com.squareup.okhttp.Call |
patchIntegrationSubscriptionAsync(java.lang.String integrationKey,
java.lang.String integrationId,
java.util.List<PatchOperation> patchDelta,
ApiCallback<IntegrationSubscription> callback) |
Modify an integration subscription by ID.
|
com.squareup.okhttp.Call |
patchIntegrationSubscriptionCall(java.lang.String integrationKey,
java.lang.String integrationId,
java.util.List<PatchOperation> patchDelta,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for patchIntegrationSubscription
|
ApiResponse<IntegrationSubscription> |
patchIntegrationSubscriptionWithHttpInfo(java.lang.String integrationKey,
java.lang.String integrationId,
java.util.List<PatchOperation> patchDelta) |
Modify an integration subscription by ID.
|
IntegrationSubscription |
postIntegrationSubscription(java.lang.String integrationKey,
SubscriptionBody subscriptionBody) |
Create a new integration subscription of a given kind.
|
com.squareup.okhttp.Call |
postIntegrationSubscriptionAsync(java.lang.String integrationKey,
SubscriptionBody subscriptionBody,
ApiCallback<IntegrationSubscription> callback) |
Create a new integration subscription of a given kind.
|
com.squareup.okhttp.Call |
postIntegrationSubscriptionCall(java.lang.String integrationKey,
SubscriptionBody subscriptionBody,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for postIntegrationSubscription
|
ApiResponse<IntegrationSubscription> |
postIntegrationSubscriptionWithHttpInfo(java.lang.String integrationKey,
SubscriptionBody subscriptionBody) |
Create a new integration subscription of a given kind.
|
void |
setApiClient(ApiClient apiClient) |
public IntegrationsApi()
public IntegrationsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call deleteIntegrationSubscriptionCall(java.lang.String integrationKey,
java.lang.String integrationId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
integrationKey - The key used to specify the integration kind. (required)integrationId - The integration ID. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteIntegrationSubscription(java.lang.String integrationKey,
java.lang.String integrationId)
throws ApiException
integrationKey - The key used to specify the integration kind. (required)integrationId - The integration ID. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> deleteIntegrationSubscriptionWithHttpInfo(java.lang.String integrationKey, java.lang.String integrationId) throws ApiException
integrationKey - The key used to specify the integration kind. (required)integrationId - The integration ID. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteIntegrationSubscriptionAsync(java.lang.String integrationKey,
java.lang.String integrationId,
ApiCallback<java.lang.Void> callback)
throws ApiException
integrationKey - The key used to specify the integration kind. (required)integrationId - The integration ID. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getIntegrationSubscriptionCall(java.lang.String integrationKey,
java.lang.String integrationId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
integrationKey - The key used to specify the integration kind. (required)integrationId - The integration ID. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic IntegrationSubscription getIntegrationSubscription(java.lang.String integrationKey, java.lang.String integrationId) throws ApiException
integrationKey - The key used to specify the integration kind. (required)integrationId - The integration ID. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<IntegrationSubscription> getIntegrationSubscriptionWithHttpInfo(java.lang.String integrationKey, java.lang.String integrationId) throws ApiException
integrationKey - The key used to specify the integration kind. (required)integrationId - The integration ID. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getIntegrationSubscriptionAsync(java.lang.String integrationKey,
java.lang.String integrationId,
ApiCallback<IntegrationSubscription> callback)
throws ApiException
integrationKey - The key used to specify the integration kind. (required)integrationId - The integration ID. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getIntegrationSubscriptionsCall(java.lang.String integrationKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
integrationKey - The key used to specify the integration kind. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Integration getIntegrationSubscriptions(java.lang.String integrationKey) throws ApiException
integrationKey - The key used to specify the integration kind. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Integration> getIntegrationSubscriptionsWithHttpInfo(java.lang.String integrationKey) throws ApiException
integrationKey - The key used to specify the integration kind. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getIntegrationSubscriptionsAsync(java.lang.String integrationKey,
ApiCallback<Integration> callback)
throws ApiException
integrationKey - The key used to specify the integration kind. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getIntegrationsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Integrations getIntegrations() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Integrations> getIntegrationsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getIntegrationsAsync(ApiCallback<Integrations> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call patchIntegrationSubscriptionCall(java.lang.String integrationKey,
java.lang.String integrationId,
java.util.List<PatchOperation> patchDelta,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
integrationKey - The key used to specify the integration kind. (required)integrationId - The integration ID. (required)patchDelta - Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/' (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic IntegrationSubscription patchIntegrationSubscription(java.lang.String integrationKey, java.lang.String integrationId, java.util.List<PatchOperation> patchDelta) throws ApiException
integrationKey - The key used to specify the integration kind. (required)integrationId - The integration ID. (required)patchDelta - Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/' (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<IntegrationSubscription> patchIntegrationSubscriptionWithHttpInfo(java.lang.String integrationKey, java.lang.String integrationId, java.util.List<PatchOperation> patchDelta) throws ApiException
integrationKey - The key used to specify the integration kind. (required)integrationId - The integration ID. (required)patchDelta - Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/' (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call patchIntegrationSubscriptionAsync(java.lang.String integrationKey,
java.lang.String integrationId,
java.util.List<PatchOperation> patchDelta,
ApiCallback<IntegrationSubscription> callback)
throws ApiException
integrationKey - The key used to specify the integration kind. (required)integrationId - The integration ID. (required)patchDelta - Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/' (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call postIntegrationSubscriptionCall(java.lang.String integrationKey,
SubscriptionBody subscriptionBody,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
integrationKey - The key used to specify the integration kind. (required)subscriptionBody - Create a new integration subscription. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic IntegrationSubscription postIntegrationSubscription(java.lang.String integrationKey, SubscriptionBody subscriptionBody) throws ApiException
integrationKey - The key used to specify the integration kind. (required)subscriptionBody - Create a new integration subscription. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<IntegrationSubscription> postIntegrationSubscriptionWithHttpInfo(java.lang.String integrationKey, SubscriptionBody subscriptionBody) throws ApiException
integrationKey - The key used to specify the integration kind. (required)subscriptionBody - Create a new integration subscription. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call postIntegrationSubscriptionAsync(java.lang.String integrationKey,
SubscriptionBody subscriptionBody,
ApiCallback<IntegrationSubscription> callback)
throws ApiException
integrationKey - The key used to specify the integration kind. (required)subscriptionBody - Create a new integration subscription. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object