Package Avalara.SDK.api.A1099.V2
Class Jobs1099Api
- java.lang.Object
-
- Avalara.SDK.api.A1099.V2.Jobs1099Api
-
public class Jobs1099Api extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classJobs1099Api.GetJobRequestRepresents the Request object for the GetJob API
-
Constructor Summary
Constructors Constructor Description Jobs1099Api(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()StringgetCustomBaseUrl()Jobs1099Api.GetJobRequestgetGetJobRequest()Getter function to instantiate Request classintgetHostIndex()JobResultgetJob(Jobs1099Api.GetJobRequest requestParameters)Retrieves information about the job Retrieves information about the jobokhttp3.CallgetJobAsync(Jobs1099Api.GetJobRequest requestParameters, ApiCallback<JobResult> _callback)Retrieves information about the job (asynchronously) Retrieves information about the jobokhttp3.CallgetJobCall(Jobs1099Api.GetJobRequest requestParameters, ApiCallback _callback)Build call for getJobApiResponse<JobResult>getJobWithHttpInfo(Jobs1099Api.GetJobRequest requestParameters)Retrieves information about the job Retrieves information about the jobvoidsetCustomBaseUrl(String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
Jobs1099Api
public Jobs1099Api(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
getHostIndex
public int getHostIndex()
-
setHostIndex
public void setHostIndex(int hostIndex)
-
getCustomBaseUrl
public String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(String customBaseUrl)
-
getJobCall
public okhttp3.Call getJobCall(Jobs1099Api.GetJobRequest requestParameters, ApiCallback _callback) throws ApiException
Build call for getJob- Parameters:
requestOptions- Object which represents the options available for a given API/request_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
getJob
public JobResult getJob(Jobs1099Api.GetJobRequest requestParameters) throws ApiException
Retrieves information about the job Retrieves information about the job- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- JobResult
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
getJobWithHttpInfo
public ApiResponse<JobResult> getJobWithHttpInfo(Jobs1099Api.GetJobRequest requestParameters) throws ApiException
Retrieves information about the job Retrieves information about the job- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- ApiResponse<JobResult>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
getJobAsync
public okhttp3.Call getJobAsync(Jobs1099Api.GetJobRequest requestParameters, ApiCallback<JobResult> _callback) throws ApiException
Retrieves information about the job (asynchronously) Retrieves information about the job- Parameters:
requestOptions- Object which represents the options available for a given API/request_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:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
getGetJobRequest
public Jobs1099Api.GetJobRequest getGetJobRequest()
Getter function to instantiate Request class
-
-