Class EquityCurveMeta

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.14.0") public class EquityCurveMeta extends Object
What the transform pipeline actually did, computed from the observed outcome — never a copy of what was requested. Lets a caller detect a forced or no-op transform (e.g. a `resample` ceiling already above the curve's size is a legal no-op, reported honestly as `resampled: false`).
  • Field Details

  • Constructor Details

    • EquityCurveMeta

      public EquityCurveMeta()
  • Method Details

    • inputPointCount

      public EquityCurveMeta inputPointCount(@Nonnull Integer inputPointCount)
    • getInputPointCount

      @Nonnull public Integer getInputPointCount()
      Size of the curve the transform pipeline received.
      Returns:
      inputPointCount
    • setInputPointCount

      public void setInputPointCount(@Nonnull Integer inputPointCount)
    • outputPointCount

      public EquityCurveMeta outputPointCount(@Nonnull Integer outputPointCount)
    • getOutputPointCount

      @Nonnull public Integer getOutputPointCount()
      Size after the full pipeline (resample, then differential, then outMode).
      Returns:
      outputPointCount
    • setOutputPointCount

      public void setOutputPointCount(@Nonnull Integer outputPointCount)
    • resampled

      public EquityCurveMeta resampled(@Nonnull Boolean resampled)
    • getResampled

      @Nonnull public Boolean getResampled()
      True only if the resample stage actually changed the point count.
      Returns:
      resampled
    • setResampled

      public void setResampled(@Nonnull Boolean resampled)
    • differential

      public EquityCurveMeta differential(@Nonnull Boolean differential)
    • getDifferential

      @Nonnull public Boolean getDifferential()
      True only if delta-encoding actually ran. Requesting it on a curve of 0 or 1 points has nothing to encode, so it does not run even if asked.
      Returns:
      differential
    • setDifferential

      public void setDifferential(@Nonnull Boolean differential)
    • outMode

      public EquityCurveMeta outMode(@Nonnull EquityCurveOutMode outMode)
    • getOutMode

      @Nonnull public EquityCurveOutMode getOutMode()
      The actual JSON shape served. Present even when the points themselves are not (a pointer curve, `EquityCurveResult.url`) — a caller resolving that URL separately still needs to know how to parse what it gets back before fetching it. May override an explicit request above a server-side size threshold; this field, not the request, is the source of truth for what shape actually came back.
      Returns:
      outMode
    • setOutMode

      public void setOutMode(@Nonnull EquityCurveOutMode outMode)
    • equals

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