Package com.veeroute.lss.monitor.api
Class SubscriptionsApi
java.lang.Object
com.veeroute.lss.monitor.api.SubscriptionsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateWaveSubscription(WaveSubscriptionSpecification waveSubscriptionSpecification) Create subscription Creating a subscription to the data changes of the company waves.okhttp3.CallcreateWaveSubscriptionAsync(WaveSubscriptionSpecification waveSubscriptionSpecification, ApiCallback<WaveSubscription> _callback) Create subscription (asynchronously) Creating a subscription to the data changes of the company waves.okhttp3.CallcreateWaveSubscriptionCall(WaveSubscriptionSpecification waveSubscriptionSpecification, ApiCallback _callback) Build call for createWaveSubscriptioncreateWaveSubscriptionWithHttpInfo(WaveSubscriptionSpecification waveSubscriptionSpecification) Create subscription Creating a subscription to the data changes of the company waves.voiddeleteWaveSubscription(String subscriptionKey) Delete subscription Deleting the wave data changes subscription by the subscription key - notifications for it stop being sent.okhttp3.CalldeleteWaveSubscriptionAsync(String subscriptionKey, ApiCallback<Void> _callback) Delete subscription (asynchronously) Deleting the wave data changes subscription by the subscription key - notifications for it stop being sent.okhttp3.CalldeleteWaveSubscriptionCall(String subscriptionKey, ApiCallback _callback) Build call for deleteWaveSubscriptiondeleteWaveSubscriptionWithHttpInfo(String subscriptionKey) Delete subscription Deleting the wave data changes subscription by the subscription key - notifications for it stop being sent.intRead subscription list Reading the list of all account subscriptions to the wave data changes.okhttp3.CalllistWaveSubscriptionsAsync(ApiCallback<List<WaveSubscription>> _callback) Read subscription list (asynchronously) Reading the list of all account subscriptions to the wave data changes.okhttp3.CalllistWaveSubscriptionsCall(ApiCallback _callback) Build call for listWaveSubscriptionsRead subscription list Reading the list of all account subscriptions to the wave data changes.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
SubscriptionsApi
public SubscriptionsApi() -
SubscriptionsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createWaveSubscriptionCall
public okhttp3.Call createWaveSubscriptionCall(@Nonnull WaveSubscriptionSpecification waveSubscriptionSpecification, ApiCallback _callback) throws ApiException Build call for createWaveSubscription- Parameters:
waveSubscriptionSpecification- Wave data changes subscription settings. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 The subscription has been successfully created - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
createWaveSubscription
public WaveSubscription createWaveSubscription(@Nonnull WaveSubscriptionSpecification waveSubscriptionSpecification) throws ApiException Create subscription Creating a subscription to the data changes of the company waves. Available only for users with `SUPPORT` role. The subscription is applied to all waves of the company at once, its key (`key`) is unique within the account. A subscription cannot be changed - to change the settings, delete the subscription ([delete_wave_subscription](#/subscriptions/delete_wave_subscription)) and create it again.- Parameters:
waveSubscriptionSpecification- Wave data changes subscription settings. (required)- Returns:
- WaveSubscription
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 The subscription has been successfully created - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
createWaveSubscriptionWithHttpInfo
public ApiResponse<WaveSubscription> createWaveSubscriptionWithHttpInfo(@Nonnull WaveSubscriptionSpecification waveSubscriptionSpecification) throws ApiException Create subscription Creating a subscription to the data changes of the company waves. Available only for users with `SUPPORT` role. The subscription is applied to all waves of the company at once, its key (`key`) is unique within the account. A subscription cannot be changed - to change the settings, delete the subscription ([delete_wave_subscription](#/subscriptions/delete_wave_subscription)) and create it again.- Parameters:
waveSubscriptionSpecification- Wave data changes subscription settings. (required)- Returns:
- ApiResponse<WaveSubscription>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 The subscription has been successfully created - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
createWaveSubscriptionAsync
public okhttp3.Call createWaveSubscriptionAsync(@Nonnull WaveSubscriptionSpecification waveSubscriptionSpecification, ApiCallback<WaveSubscription> _callback) throws ApiException Create subscription (asynchronously) Creating a subscription to the data changes of the company waves. Available only for users with `SUPPORT` role. The subscription is applied to all waves of the company at once, its key (`key`) is unique within the account. A subscription cannot be changed - to change the settings, delete the subscription ([delete_wave_subscription](#/subscriptions/delete_wave_subscription)) and create it again.- Parameters:
waveSubscriptionSpecification- Wave data changes subscription settings. (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- Http Response Details
Response Details Status Code Description Response Headers 200 The subscription has been successfully created - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
deleteWaveSubscriptionCall
public okhttp3.Call deleteWaveSubscriptionCall(@Nonnull String subscriptionKey, ApiCallback _callback) throws ApiException Build call for deleteWaveSubscription- Parameters:
subscriptionKey- Parameter (path) with the wave data changes subscription key. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 The subscription has been successfully deleted - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
deleteWaveSubscription
Delete subscription Deleting the wave data changes subscription by the subscription key - notifications for it stop being sent. Available only for users with `SUPPORT` role. The remaining account subscriptions continue to work. If a subscription with such a key has not been created, the `404` code is returned.- Parameters:
subscriptionKey- Parameter (path) with the wave data changes subscription key. (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 The subscription has been successfully deleted - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
deleteWaveSubscriptionWithHttpInfo
public ApiResponse<Void> deleteWaveSubscriptionWithHttpInfo(@Nonnull String subscriptionKey) throws ApiException Delete subscription Deleting the wave data changes subscription by the subscription key - notifications for it stop being sent. Available only for users with `SUPPORT` role. The remaining account subscriptions continue to work. If a subscription with such a key has not been created, the `404` code is returned.- Parameters:
subscriptionKey- Parameter (path) with the wave data changes subscription key. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 The subscription has been successfully deleted - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
deleteWaveSubscriptionAsync
public okhttp3.Call deleteWaveSubscriptionAsync(@Nonnull String subscriptionKey, ApiCallback<Void> _callback) throws ApiException Delete subscription (asynchronously) Deleting the wave data changes subscription by the subscription key - notifications for it stop being sent. Available only for users with `SUPPORT` role. The remaining account subscriptions continue to work. If a subscription with such a key has not been created, the `404` code is returned.- Parameters:
subscriptionKey- Parameter (path) with the wave data changes subscription 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- Http Response Details
Response Details Status Code Description Response Headers 204 The subscription has been successfully deleted - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
listWaveSubscriptionsCall
Build call for listWaveSubscriptions- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 The subscription list was received successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
listWaveSubscriptions
Read subscription list Reading the list of all account subscriptions to the wave data changes. Available only for users with `SUPPORT` role. If there are no subscriptions, an empty list is returned.- Returns:
- List<WaveSubscription>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 The subscription list was received successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
listWaveSubscriptionsWithHttpInfo
Read subscription list Reading the list of all account subscriptions to the wave data changes. Available only for users with `SUPPORT` role. If there are no subscriptions, an empty list is returned.- Returns:
- ApiResponse<List<WaveSubscription>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 The subscription list was received successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
listWaveSubscriptionsAsync
public okhttp3.Call listWaveSubscriptionsAsync(ApiCallback<List<WaveSubscription>> _callback) throws ApiException Read subscription list (asynchronously) Reading the list of all account subscriptions to the wave data changes. Available only for users with `SUPPORT` role. If there are no subscriptions, an empty list is returned.- Parameters:
_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- Http Response Details
Response Details Status Code Description Response Headers 200 The subscription list was received successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-