Class ScenariosApi

java.lang.Object
com.veeroute.lss.monitor.api.ScenariosApi

public class ScenariosApi extends Object
  • Constructor Details

    • ScenariosApi

      public ScenariosApi()
    • ScenariosApi

      public ScenariosApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • 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

      public Scenario createScenario(@Nonnull Scenario scenario) throws ApiException
      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

      public void deleteScenario(@Nonnull String scenarioKey) throws ApiException
      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

      public okhttp3.Call listScenariosCall(ApiCallback _callback) throws ApiException
      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

      public List<String> listScenarios() throws ApiException
      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

      public ApiResponse<List<String>> listScenariosWithHttpInfo() throws ApiException
      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

      public okhttp3.Call listScenariosAsync(ApiCallback<List<String>> _callback) throws ApiException
      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

      public Scenario readScenario(@Nonnull String scenarioKey) throws ApiException
      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

      public Scenario updateScenario(@Nonnull Scenario scenario) throws ApiException
      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 -