Class AutopilotApi

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

public class AutopilotApi extends Object
  • Constructor Details

    • AutopilotApi

      public AutopilotApi()
    • AutopilotApi

      public AutopilotApi(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)
    • runWaveAutopilotCall

      public okhttp3.Call runWaveAutopilotCall(@Nonnull UUID fileKey, @Nullable WaveAutopilotSettings waveAutopilotSettings, ApiCallback _callback) throws ApiException
      Build call for runWaveAutopilot
      Parameters:
      fileKey - File key, unique identifier. (required)
      waveAutopilotSettings - Autopilot parameters. (optional)
      _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 Successful execution -
      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 -
    • runWaveAutopilot

      public Wave runWaveAutopilot(@Nonnull UUID fileKey, @Nullable WaveAutopilotSettings waveAutopilotSettings) throws ApiException
      Run autopilot Turn on the autopilot — an automatic process that includes: * accounting for all incoming facts * processing of data changes * recalculation of existing trips * updating analytics on facts and building a forecast * assigning new trips to crews The autopilot can only be turned on for an active wave (wave status is `ACTIVE`).
      Parameters:
      fileKey - File key, unique identifier. (required)
      waveAutopilotSettings - Autopilot parameters. (optional)
      Returns:
      Wave
      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 Successful execution -
      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 -
    • runWaveAutopilotWithHttpInfo

      public ApiResponse<Wave> runWaveAutopilotWithHttpInfo(@Nonnull UUID fileKey, @Nullable WaveAutopilotSettings waveAutopilotSettings) throws ApiException
      Run autopilot Turn on the autopilot — an automatic process that includes: * accounting for all incoming facts * processing of data changes * recalculation of existing trips * updating analytics on facts and building a forecast * assigning new trips to crews The autopilot can only be turned on for an active wave (wave status is `ACTIVE`).
      Parameters:
      fileKey - File key, unique identifier. (required)
      waveAutopilotSettings - Autopilot parameters. (optional)
      Returns:
      ApiResponse<Wave>
      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 Successful execution -
      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 -
    • runWaveAutopilotAsync

      public okhttp3.Call runWaveAutopilotAsync(@Nonnull UUID fileKey, @Nullable WaveAutopilotSettings waveAutopilotSettings, ApiCallback<Wave> _callback) throws ApiException
      Run autopilot (asynchronously) Turn on the autopilot — an automatic process that includes: * accounting for all incoming facts * processing of data changes * recalculation of existing trips * updating analytics on facts and building a forecast * assigning new trips to crews The autopilot can only be turned on for an active wave (wave status is `ACTIVE`).
      Parameters:
      fileKey - File key, unique identifier. (required)
      waveAutopilotSettings - Autopilot parameters. (optional)
      _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 Successful execution -
      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 -
    • stopWaveAutopilotCall

      public okhttp3.Call stopWaveAutopilotCall(@Nonnull UUID fileKey, ApiCallback _callback) throws ApiException
      Build call for stopWaveAutopilot
      Parameters:
      fileKey - File 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 Successful execution - autopilot has been stopped -
      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 -
    • stopWaveAutopilot

      public void stopWaveAutopilot(@Nonnull UUID fileKey) throws ApiException
      Stop autopilot Stop autopilot.
      Parameters:
      fileKey - File 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 Successful execution - autopilot has been stopped -
      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 -
    • stopWaveAutopilotWithHttpInfo

      public ApiResponse<Void> stopWaveAutopilotWithHttpInfo(@Nonnull UUID fileKey) throws ApiException
      Stop autopilot Stop autopilot.
      Parameters:
      fileKey - File 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 Successful execution - autopilot has been stopped -
      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 -
    • stopWaveAutopilotAsync

      public okhttp3.Call stopWaveAutopilotAsync(@Nonnull UUID fileKey, ApiCallback<Void> _callback) throws ApiException
      Stop autopilot (asynchronously) Stop autopilot.
      Parameters:
      fileKey - File 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 Successful execution - autopilot has been stopped -
      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 -
    • updateWaveAutopilotCall

      public okhttp3.Call updateWaveAutopilotCall(@Nonnull UUID fileKey, @Nonnull WaveAutopilotSettings waveAutopilotSettings, ApiCallback _callback) throws ApiException
      Build call for updateWaveAutopilot
      Parameters:
      fileKey - File key, unique identifier. (required)
      waveAutopilotSettings - Autopilot parameters. (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 Successful execution -
      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 -
    • updateWaveAutopilot

      public Wave updateWaveAutopilot(@Nonnull UUID fileKey, @Nonnull WaveAutopilotSettings waveAutopilotSettings) throws ApiException
      Update autopilot Update autopilot.
      Parameters:
      fileKey - File key, unique identifier. (required)
      waveAutopilotSettings - Autopilot parameters. (required)
      Returns:
      Wave
      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 Successful execution -
      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 -
    • updateWaveAutopilotWithHttpInfo

      public ApiResponse<Wave> updateWaveAutopilotWithHttpInfo(@Nonnull UUID fileKey, @Nonnull WaveAutopilotSettings waveAutopilotSettings) throws ApiException
      Update autopilot Update autopilot.
      Parameters:
      fileKey - File key, unique identifier. (required)
      waveAutopilotSettings - Autopilot parameters. (required)
      Returns:
      ApiResponse<Wave>
      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 Successful execution -
      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 -
    • updateWaveAutopilotAsync

      public okhttp3.Call updateWaveAutopilotAsync(@Nonnull UUID fileKey, @Nonnull WaveAutopilotSettings waveAutopilotSettings, ApiCallback<Wave> _callback) throws ApiException
      Update autopilot (asynchronously) Update autopilot.
      Parameters:
      fileKey - File key, unique identifier. (required)
      waveAutopilotSettings - Autopilot parameters. (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 Successful execution -
      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 -