public class JobsApi
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
java.io.File |
getJobResult(java.lang.String jobId)
Get Job Result
Fetches the result from a job.
|
com.squareup.okhttp.Call |
getJobResultAsync(java.lang.String jobId,
ApiCallback<java.io.File> callback)
Get Job Result (asynchronously)
Fetches the result from a job.
|
com.squareup.okhttp.Call |
getJobResultCall(java.lang.String jobId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getJobResult
|
ApiResponse<java.io.File> |
getJobResultWithHttpInfo(java.lang.String jobId)
Get Job Result
Fetches the result from a job.
|
Job |
getJobStatus(java.lang.String jobId)
Query Job Status
Queries the status of a running job.
|
com.squareup.okhttp.Call |
getJobStatusAsync(java.lang.String jobId,
ApiCallback<Job> callback)
Query Job Status (asynchronously)
Queries the status of a running job.
|
com.squareup.okhttp.Call |
getJobStatusCall(java.lang.String jobId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getJobStatus
|
ApiResponse<Job> |
getJobStatusWithHttpInfo(java.lang.String jobId)
Query Job Status
Queries the status of a running job.
|
void |
setApiClient(ApiClient apiClient) |
public JobsApi()
public JobsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getJobResultCall(java.lang.String jobId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
jobId - The ID of the job to get the result for (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic java.io.File getJobResult(java.lang.String jobId)
throws ApiException
jobId - The ID of the job to get the result for (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.io.File> getJobResultWithHttpInfo(java.lang.String jobId) throws ApiException
jobId - The ID of the job to get the result for (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getJobResultAsync(java.lang.String jobId,
ApiCallback<java.io.File> callback)
throws ApiException
jobId - The ID of the job to get the result for (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getJobStatusCall(java.lang.String jobId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
jobId - The ID of the job to check (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Job getJobStatus(java.lang.String jobId) throws ApiException
jobId - The ID of the job to check (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Job> getJobStatusWithHttpInfo(java.lang.String jobId) throws ApiException
jobId - The ID of the job to check (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getJobStatusAsync(java.lang.String jobId,
ApiCallback<Job> callback)
throws ApiException
jobId - The ID of the job to check (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object