Package com.qtsurfer.api.client.model
Class LiveRunCompact
java.lang.Object
com.qtsurfer.api.client.model.LiveRunCompact
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
public class LiveRunCompact
extends Object
A run's state as returned by `PATCH /live/{runId}` — narrower than `LiveRun` (no `strategyId`, `params`, or `desired`), since this endpoint is addressed by `runId` alone.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets stagestatic enumGets or Sets visibility -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSourcesItem(LiveSource sourcesItem) description(String description) booleanReturn true if this LiveRunCompact object is equal to o.Get descriptiongetName()Get namegetRunId()Get runIdGet sourcesgetStage()Get stagegetState()Get stateGet visibilityinthashCode()voidsetDescription(String description) voidvoidvoidsetSources(List<LiveSource> sources) voidsetStage(LiveRunCompact.StageEnum stage) voidvoidsetVisibility(LiveRunCompact.VisibilityEnum visibility) sources(List<LiveSource> sources) stage(LiveRunCompact.StageEnum stage) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.visibility(LiveRunCompact.VisibilityEnum visibility)
-
Field Details
-
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_SOURCES
- See Also:
-
-
Constructor Details
-
LiveRunCompact
public LiveRunCompact()
-
-
Method Details
-
runId
-
getRunId
Get runId- 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
Get stage- Returns:
- stage
-
setStage
-
state
-
getState
Get state- Returns:
- state
-
setState
-
sources
-
addSourcesItem
-
getSources
Get sources- Returns:
- sources
-
setSources
-
equals
Return true if this LiveRunCompact 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
-