Package com.qtsurfer.api.client.model
Class JobState
java.lang.Object
com.qtsurfer.api.client.model.JobState
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
public class JobState
extends Object
Information about a single job
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendTime(OffsetDateTime endTime) booleanReturn true if this JobState object is equal to o.The amount of data processed so farOpaque context identifier for the jobTimestamp for when the preparation finishedgetSize()Total size of the data being preparedTimestamp for when the preparation startedCurrent status of the job.Detailed status information, if availableinthashCode()voidsetCompleted(Integer completed) voidsetContextId(String contextId) voidsetEndTime(OffsetDateTime endTime) voidvoidsetStartTime(OffsetDateTime startTime) voidsetStatus(JobState.StatusEnum status) voidsetStatusDetail(String statusDetail) startTime(OffsetDateTime startTime) status(JobState.StatusEnum status) statusDetail(String statusDetail) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_CONTEXT_ID
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_STATUS_DETAIL
- See Also:
-
JSON_PROPERTY_SIZE
- See Also:
-
JSON_PROPERTY_COMPLETED
- See Also:
-
JSON_PROPERTY_START_TIME
- See Also:
-
JSON_PROPERTY_END_TIME
- See Also:
-
-
Constructor Details
-
JobState
public JobState()
-
-
Method Details
-
contextId
-
getContextId
Opaque context identifier for the job- Returns:
- contextId
-
setContextId
-
status
-
getStatus
Current status of the job. Treat `Completed | Aborted | Failed` as terminal; `New | Started` mean keep polling. A single-instrument prepare is always terminal (`Completed`) — decide from `PrepareJobState.coverageRatio`, not by polling.- Returns:
- status
-
setStatus
-
statusDetail
-
getStatusDetail
Detailed status information, if available- Returns:
- statusDetail
-
setStatusDetail
-
size
-
getSize
Total size of the data being prepared- Returns:
- size
-
setSize
-
completed
-
getCompleted
The amount of data processed so far- Returns:
- completed
-
setCompleted
-
startTime
-
getStartTime
Timestamp for when the preparation started- Returns:
- startTime
-
setStartTime
-
endTime
-
getEndTime
Timestamp for when the preparation finished- Returns:
- endTime
-
setEndTime
-
equals
Return true if this JobState object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-