Package com.veeroute.lss.monitor.api
Class AutopilotApi
java.lang.Object
com.veeroute.lss.monitor.api.AutopilotApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintrunWaveAutopilot(UUID fileKey, WaveAutopilotSettings waveAutopilotSettings) 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`).okhttp3.CallrunWaveAutopilotAsync(UUID fileKey, WaveAutopilotSettings waveAutopilotSettings, ApiCallback<Wave> _callback) 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`).okhttp3.CallrunWaveAutopilotCall(UUID fileKey, WaveAutopilotSettings waveAutopilotSettings, ApiCallback _callback) Build call for runWaveAutopilotrunWaveAutopilotWithHttpInfo(UUID fileKey, WaveAutopilotSettings waveAutopilotSettings) 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`).voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) voidstopWaveAutopilot(UUID fileKey) Stop autopilot Stop autopilot.okhttp3.CallstopWaveAutopilotAsync(UUID fileKey, ApiCallback<Void> _callback) Stop autopilot (asynchronously) Stop autopilot.okhttp3.CallstopWaveAutopilotCall(UUID fileKey, ApiCallback _callback) Build call for stopWaveAutopilotstopWaveAutopilotWithHttpInfo(UUID fileKey) Stop autopilot Stop autopilot.updateWaveAutopilot(UUID fileKey, WaveAutopilotSettings waveAutopilotSettings) Update autopilot Update autopilot.okhttp3.CallupdateWaveAutopilotAsync(UUID fileKey, WaveAutopilotSettings waveAutopilotSettings, ApiCallback<Wave> _callback) Update autopilot (asynchronously) Update autopilot.okhttp3.CallupdateWaveAutopilotCall(UUID fileKey, WaveAutopilotSettings waveAutopilotSettings, ApiCallback _callback) Build call for updateWaveAutopilotupdateWaveAutopilotWithHttpInfo(UUID fileKey, WaveAutopilotSettings waveAutopilotSettings) Update autopilot Update autopilot.
-
Constructor Details
-
AutopilotApi
public AutopilotApi() -
AutopilotApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
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
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
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 -
-