Class SweepSpecRequest

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.24.0") public class SweepSpecRequest extends Object
SweepSpecRequest
  • Field Details

  • Constructor Details

    • SweepSpecRequest

      public SweepSpecRequest()
  • Method Details

    • sampler

      public SweepSpecRequest sampler(@Nullable SweepSpecRequest.SamplerEnum sampler)
    • getSampler

      @Nullable public SweepSpecRequest.SamplerEnum getSampler()
      `grid` runs every combination of the axes and is held to your plan's `maxSweepCartesian` (`GET /account`); `random` and `lhs` run `samples` combinations and are not.
      Returns:
      sampler
    • setSampler

      public void setSampler(@Nullable SweepSpecRequest.SamplerEnum sampler)
    • seed

      public SweepSpecRequest seed(@Nullable Long seed)
    • getSeed

      @Nullable public Long getSeed()
      Reproducibility seed. If omitted, the server generates one with Java's `L64X128MixRandom` generator and returns the effective value. The range is limited to JavaScript-safe integers so generated clients can replay it exactly. minimum: -9007199254740991 maximum: 9007199254740991
      Returns:
      seed
    • setSeed

      public void setSeed(@Nullable Long seed)
    • samples

      public SweepSpecRequest samples(@Nullable Integer samples)
    • getSamples

      @Nullable public Integer getSamples()
      Number of samples for `random` and `lhs`; ignored by `grid`. minimum: 1
      Returns:
      samples
    • setSamples

      public void setSamples(@Nullable Integer samples)
    • objective

      public SweepSpecRequest objective(@Nullable SweepSpecRequest.ObjectiveEnum objective)
    • getObjective

      @Nullable public SweepSpecRequest.ObjectiveEnum getObjective()
      Get objective
      Returns:
      objective
    • setObjective

      public void setObjective(@Nullable SweepSpecRequest.ObjectiveEnum objective)
    • params

      public SweepSpecRequest params(@Nonnull Map<String,SweepAxis> params)
    • putParamsItem

      public SweepSpecRequest putParamsItem(String key, SweepAxis paramsItem)
    • getParams

      @Nonnull public Map<String,SweepAxis> getParams()
      Get params
      Returns:
      params
    • setParams

      public void setParams(@Nonnull Map<String,SweepAxis> params)
    • equals

      public boolean equals(Object o)
      Return true if this SweepSpecRequest 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