Package com.veeroute.lss.monitor.api
Class ScenariosApi
java.lang.Object
com.veeroute.lss.monitor.api.ScenariosApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateScenario(Scenario scenario) Create scenario Create scenario.okhttp3.CallcreateScenarioAsync(Scenario scenario, ApiCallback<Scenario> _callback) Create scenario (asynchronously) Create scenario.okhttp3.CallcreateScenarioCall(Scenario scenario, ApiCallback _callback) Build call for createScenariocreateScenarioWithHttpInfo(Scenario scenario) Create scenario Create scenario.voiddeleteScenario(String scenarioKey) Delete scenario Delete scenario.okhttp3.CalldeleteScenarioAsync(String scenarioKey, ApiCallback<Void> _callback) Delete scenario (asynchronously) Delete scenario.okhttp3.CalldeleteScenarioCall(String scenarioKey, ApiCallback _callback) Build call for deleteScenariodeleteScenarioWithHttpInfo(String scenarioKey) Delete scenario Delete scenario.intReading scenario list Reading the list of scenario keys.okhttp3.CalllistScenariosAsync(ApiCallback<List<String>> _callback) Reading scenario list (asynchronously) Reading the list of scenario keys.okhttp3.CalllistScenariosCall(ApiCallback _callback) Build call for listScenariosReading scenario list Reading the list of scenario keys.readScenario(String scenarioKey) Reading scenario Reading scenario.okhttp3.CallreadScenarioAsync(String scenarioKey, ApiCallback<Scenario> _callback) Reading scenario (asynchronously) Reading scenario.okhttp3.CallreadScenarioCall(String scenarioKey, ApiCallback _callback) Build call for readScenarioreadScenarioWithHttpInfo(String scenarioKey) Reading scenario Reading scenario.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) updateScenario(Scenario scenario) Update scenario Update scenario.okhttp3.CallupdateScenarioAsync(Scenario scenario, ApiCallback<Scenario> _callback) Update scenario (asynchronously) Update scenario.okhttp3.CallupdateScenarioCall(Scenario scenario, ApiCallback _callback) Build call for updateScenarioupdateScenarioWithHttpInfo(Scenario scenario) Update scenario Update scenario.
-
Constructor Details
-
ScenariosApi
public ScenariosApi() -
ScenariosApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createScenarioCall
public okhttp3.Call createScenarioCall(@Nonnull Scenario scenario, ApiCallback _callback) throws ApiException Build call for createScenario- Parameters:
scenario- New scenario. (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 Create completed 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 -
-
createScenario
Create scenario Create scenario.- Parameters:
scenario- New scenario. (required)- Returns:
- Scenario
- 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 Create completed 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 -
-
createScenarioWithHttpInfo
public ApiResponse<Scenario> createScenarioWithHttpInfo(@Nonnull Scenario scenario) throws ApiException Create scenario Create scenario.- Parameters:
scenario- New scenario. (required)- Returns:
- ApiResponse<Scenario>
- 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 Create completed 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 -
-
createScenarioAsync
public okhttp3.Call createScenarioAsync(@Nonnull Scenario scenario, ApiCallback<Scenario> _callback) throws ApiException Create scenario (asynchronously) Create scenario.- Parameters:
scenario- New scenario. (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 Create completed 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 -
-
deleteScenarioCall
public okhttp3.Call deleteScenarioCall(@Nonnull String scenarioKey, ApiCallback _callback) throws ApiException Build call for deleteScenario- Parameters:
scenarioKey- User scenario key, unique identifier. (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 Scenario have been deleted 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 -
-
deleteScenario
Delete scenario Delete scenario.- Parameters:
scenarioKey- User scenario key, unique identifier. (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 Scenario have been deleted 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 -
-
deleteScenarioWithHttpInfo
public ApiResponse<Void> deleteScenarioWithHttpInfo(@Nonnull String scenarioKey) throws ApiException Delete scenario Delete scenario.- Parameters:
scenarioKey- User scenario key, unique identifier. (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 Scenario have been deleted 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 -
-
deleteScenarioAsync
public okhttp3.Call deleteScenarioAsync(@Nonnull String scenarioKey, ApiCallback<Void> _callback) throws ApiException Delete scenario (asynchronously) Delete scenario.- Parameters:
scenarioKey- User scenario key, unique identifier. (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 Scenario have been deleted 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 -
-
listScenariosCall
Build call for listScenarios- 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 Reading list completed 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 -
-
listScenarios
Reading scenario list Reading the list of scenario keys.- Returns:
- List<String>
- 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 Reading list completed 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 -
-
listScenariosWithHttpInfo
Reading scenario list Reading the list of scenario keys.- Returns:
- ApiResponse<List<String>>
- 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 Reading list completed 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 -
-
listScenariosAsync
Reading scenario list (asynchronously) Reading the list of scenario keys.- 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 Reading list completed 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 -
-
readScenarioCall
public okhttp3.Call readScenarioCall(@Nonnull String scenarioKey, ApiCallback _callback) throws ApiException Build call for readScenario- Parameters:
scenarioKey- User scenario key, unique identifier. (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 Reading completed 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 -
-
readScenario
Reading scenario Reading scenario.- Parameters:
scenarioKey- User scenario key, unique identifier. (required)- Returns:
- Scenario
- 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 Reading completed 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 -
-
readScenarioWithHttpInfo
public ApiResponse<Scenario> readScenarioWithHttpInfo(@Nonnull String scenarioKey) throws ApiException Reading scenario Reading scenario.- Parameters:
scenarioKey- User scenario key, unique identifier. (required)- Returns:
- ApiResponse<Scenario>
- 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 Reading completed 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 -
-
readScenarioAsync
public okhttp3.Call readScenarioAsync(@Nonnull String scenarioKey, ApiCallback<Scenario> _callback) throws ApiException Reading scenario (asynchronously) Reading scenario.- Parameters:
scenarioKey- User scenario key, unique identifier. (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 Reading completed 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 -
-
updateScenarioCall
public okhttp3.Call updateScenarioCall(@Nonnull Scenario scenario, ApiCallback _callback) throws ApiException Build call for updateScenario- Parameters:
scenario- New scenario. (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 Update completed 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 -
-
updateScenario
Update scenario Update scenario.- Parameters:
scenario- New scenario. (required)- Returns:
- Scenario
- 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 Update completed 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 -
-
updateScenarioWithHttpInfo
public ApiResponse<Scenario> updateScenarioWithHttpInfo(@Nonnull Scenario scenario) throws ApiException Update scenario Update scenario.- Parameters:
scenario- New scenario. (required)- Returns:
- ApiResponse<Scenario>
- 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 Update completed 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 -
-
updateScenarioAsync
public okhttp3.Call updateScenarioAsync(@Nonnull Scenario scenario, ApiCallback<Scenario> _callback) throws ApiException Update scenario (asynchronously) Update scenario.- Parameters:
scenario- New scenario. (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 Update completed 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 -
-