Class PublicLiveRun

java.lang.Object
com.qtsurfer.api.client.model.PublicLiveRun

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.14.0") public class PublicLiveRun extends Object
A run as it appears in `GET /live/public` — never reveals who owns it or which strategy it runs.
  • Field Details

  • Constructor Details

    • PublicLiveRun

      public PublicLiveRun()
  • Method Details

    • runId

      public PublicLiveRun runId(@Nonnull String runId)
    • getRunId

      @Nonnull public String getRunId()
      Get runId
      Returns:
      runId
    • setRunId

      public void setRunId(@Nonnull String runId)
    • name

      public PublicLiveRun name(@Nullable String name)
    • getName

      @Nullable public String getName()
      Get name
      Returns:
      name
    • setName

      public void setName(@Nullable String name)
    • description

      public PublicLiveRun description(@Nullable String description)
    • getDescription

      @Nullable public String getDescription()
      Get description
      Returns:
      description
    • setDescription

      public void setDescription(@Nullable String description)
    • sources

      public PublicLiveRun sources(@Nonnull List<LiveSource> sources)
    • addSourcesItem

      public PublicLiveRun addSourcesItem(LiveSource sourcesItem)
    • getSources

      @Nonnull public List<LiveSource> getSources()
      Get sources
      Returns:
      sources
    • setSources

      public void setSources(@Nonnull List<LiveSource> sources)
    • state

      public PublicLiveRun state(@Nonnull String state)
    • getState

      @Nonnull public String getState()
      Get state
      Returns:
      state
    • setState

      public void setState(@Nonnull String state)
    • createdAtMs

      public PublicLiveRun createdAtMs(@Nonnull Long createdAtMs)
    • getCreatedAtMs

      @Nonnull public Long getCreatedAtMs()
      Get createdAtMs
      Returns:
      createdAtMs
    • setCreatedAtMs

      public void setCreatedAtMs(@Nonnull Long createdAtMs)
    • equals

      public boolean equals(Object o)
      Return true if this PublicLiveRun object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string