public class QueryAsynchFetchJobsResult extends HeaderResponse
| Constructor and Description |
|---|
QueryAsynchFetchJobsResult() |
QueryAsynchFetchJobsResult(String requestId,
String err,
String code,
String status,
int wait,
CreateAsyncFetchJobsRequest job)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Obtain the error code.
|
String |
getErr()
Obtain the error description.
|
CreateAsyncFetchJobsRequest |
getJob()
Obtain the job details.
|
String |
getRequestId()
Obtain the unique ID of a request.
|
String |
getStatus()
Obtain the job status.
|
int |
getWait()
Obtain the number of queuing jobs.
|
void |
setCode(String code)
Set the error code.
|
void |
setErr(String err)
Set the error description.
|
void |
setJob(CreateAsyncFetchJobsRequest job)
Set the job details.
|
void |
setRequestId(String requestId)
Set the unique ID of a request.
|
void |
setStatus(String status)
Set the job status.
|
void |
setWait(int wait)
Set the number of queuing jobs.
|
String |
toString() |
getResponseHeaders, getStatusCodepublic QueryAsynchFetchJobsResult()
public QueryAsynchFetchJobsResult(String requestId, String err, String code, String status, int wait, CreateAsyncFetchJobsRequest job)
requestId - Unique ID of a requesterr - Error descriptioncode - Error codestatus - Job statuswait - Number of queuing jobs before the current job. The value 0 indicates that the current job is being executed, and the value -1 indicates that the job has been executed at least once (the retry logic may be triggered).job - Job detailspublic String getRequestId()
getRequestId in class HeaderResponsepublic void setRequestId(String requestId)
requestId - Unique ID of a requestpublic String getErr()
public void setErr(String err)
err - Error descriptionpublic String getCode()
public void setCode(String code)
code - Error codepublic String getStatus()
public void setStatus(String status)
status - Job statuspublic int getWait()
public void setWait(int wait)
wait - Number of queuing jobspublic CreateAsyncFetchJobsRequest getJob()
public void setJob(CreateAsyncFetchJobsRequest job)
job - Job detailspublic String toString()
toString in class HeaderResponseCopyright © 2019. All rights reserved.