Package com.qtsurfer.api.client.model
Class DatasetImportState
java.lang.Object
com.qtsurfer.api.client.model.DatasetImportState
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
public class DatasetImportState
extends Object
Progress of one import, from fetching through ingest. `fetching` is the one status only an import ever reports — an upload's file already exists by the time you can poll it; an import's doesn't, until this source finishes fetching it.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum* `fetching` — reading from the source; nothing staged yet. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this DatasetImportState object is equal to o.getError()A human-readable reason, present when `status` is `failed` — an unresolvable pool/pair, no data in the requested range, a range older than the configured source retains, the fetch exceeding your tier's time ceiling, or any of `DatasetUploadState.error`'s own ingest-side reasons once fetching hands off to it.Get importIdgetJobId()The fetch/ingest job id, while `status` is `fetching` or `ingesting`.* `fetching` — reading from the source; nothing staged yet.Present when `status` is `ready` or `failed`.inthashCode()voidvoidsetImportId(String importId) voidvoidvoidsetVersion(DatasetVersion version) status(DatasetImportState.StatusEnum status) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.version(DatasetVersion version)
-
Field Details
-
JSON_PROPERTY_IMPORT_ID
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_JOB_ID
- See Also:
-
JSON_PROPERTY_ERROR
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
DatasetImportState
public DatasetImportState()
-
-
Method Details
-
importId
-
getImportId
Get importId- Returns:
- importId
-
setImportId
-
status
-
getStatus
* `fetching` — reading from the source; nothing staged yet. * `ingesting` — fetch complete, staged, and re-entered the same ingest chain an upload uses; the worker is parsing and validating it. * `ready` — ingested successfully. `version` carries the result. * `failed` — the fetch or the ingest that followed it was rejected. `error` names why.- Returns:
- status
-
setStatus
-
jobId
-
getJobId
The fetch/ingest job id, while `status` is `fetching` or `ingesting`.- Returns:
- jobId
-
setJobId
-
error
-
getError
A human-readable reason, present when `status` is `failed` — an unresolvable pool/pair, no data in the requested range, a range older than the configured source retains, the fetch exceeding your tier's time ceiling, or any of `DatasetUploadState.error`'s own ingest-side reasons once fetching hands off to it. Durably recorded, same as on the upload path.- Returns:
- error
-
setError
-
version
-
getVersion
Present when `status` is `ready` or `failed`.- Returns:
- version
-
setVersion
-
equals
Return true if this DatasetImportState 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
-