Package com.qtsurfer.api.client.model
Class LiveRunSummary
java.lang.Object
com.qtsurfer.api.client.model.LiveRunSummary
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
public class LiveRunSummary
extends Object
A run as it appears in `GET /live` — one of your own, narrower than `LiveRun` (no `params`, `paramsVersion`, `relay`, or `gate`), since listing stays cheap regardless of how many runs you have. Check a specific run's full state with `GET /strategy/{strategyId}/live`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhat you last asked for.static enumA new run always starts `SANDBOX` — a trial run compared against a second execution for agreement — and moves to `LIVE` once it passes.static enumGets or Sets visibility -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSourcesItem(LiveSource sourcesItem) createdAtMs(Long createdAtMs) description(String description) desired(LiveRunSummary.DesiredEnum desired) booleanReturn true if this LiveRunSummary object is equal to o.Epoch milliseconds this run was started.Get descriptionWhat you last asked for.getName()Get namegetRunId()This run's own id — its canonical identity for `PATCH`/`PUT .../params` and for `GET /live/public`.Get sourcesgetStage()A new run always starts `SANDBOX` — a trial run compared against a second execution for agreement — and moves to `LIVE` once it passes.Epoch milliseconds.getState()`STARTING` until first observed running; otherwise the runner's own reported state (e.g.Unique identifier for a compiled strategy, derived from the source itself: the same code always yields the same id, for every caller.Get visibilityinthashCode()voidsetCreatedAtMs(Long createdAtMs) voidsetDescription(String description) voidsetDesired(LiveRunSummary.DesiredEnum desired) voidvoidvoidsetSources(List<LiveSource> sources) voidsetStage(LiveRunSummary.StageEnum stage) voidsetStartedAtMs(Long startedAtMs) voidvoidsetStrategyId(String strategyId) voidsetVisibility(LiveRunSummary.VisibilityEnum visibility) sources(List<LiveSource> sources) stage(LiveRunSummary.StageEnum stage) startedAtMs(Long startedAtMs) strategyId(String strategyId) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.visibility(LiveRunSummary.VisibilityEnum visibility)
-
Field Details
-
JSON_PROPERTY_STRATEGY_ID
- See Also:
-
JSON_PROPERTY_RUN_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_VISIBILITY
- See Also:
-
JSON_PROPERTY_STAGE
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_DESIRED
- See Also:
-
JSON_PROPERTY_SOURCES
- See Also:
-
JSON_PROPERTY_CREATED_AT_MS
- See Also:
-
JSON_PROPERTY_STARTED_AT_MS
- See Also:
-
-
Constructor Details
-
LiveRunSummary
public LiveRunSummary()
-
-
Method Details
-
strategyId
-
getStrategyId
Unique identifier for a compiled strategy, derived from the source itself: the same code always yields the same id, for every caller. How much formatting the id ignores depends on the language — see `POST /strategy` for exactly which rewrites preserve it and which do not.- Returns:
- strategyId
-
setStrategyId
-
runId
-
getRunId
This run's own id — its canonical identity for `PATCH`/`PUT .../params` and for `GET /live/public`.- Returns:
- runId
-
setRunId
-
name
-
getName
Get name- Returns:
- name
-
setName
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
visibility
-
getVisibility
Get visibility- Returns:
- visibility
-
setVisibility
-
stage
-
getStage
A new run always starts `SANDBOX` — a trial run compared against a second execution for agreement — and moves to `LIVE` once it passes.- Returns:
- stage
-
setStage
-
state
-
getState
`STARTING` until first observed running; otherwise the runner's own reported state (e.g. `RUNNING`).- Returns:
- state
-
setState
-
desired
-
getDesired
What you last asked for. `state` can lag this briefly after `DELETE`.- Returns:
- desired
-
setDesired
-
sources
-
addSourcesItem
-
getSources
Get sources- Returns:
- sources
-
setSources
-
createdAtMs
-
getCreatedAtMs
Epoch milliseconds this run was started.- Returns:
- createdAtMs
-
setCreatedAtMs
-
startedAtMs
-
getStartedAtMs
Epoch milliseconds.- Returns:
- startedAtMs
-
setStartedAtMs
-
equals
Return true if this LiveRunSummary 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
-