Package com.qtsurfer.api.client.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondifferential(Boolean differential) booleanReturn true if this EquityCurveMeta object is equal to o.True only if delta-encoding actually ran.Size of the curve the transform pipeline received.The actual JSON shape served.Size after the full pipeline (resample, then differential, then outMode).True only if the resample stage actually changed the point count.inthashCode()inputPointCount(Integer inputPointCount) outMode(EquityCurveOutMode outMode) outputPointCount(Integer outputPointCount) voidsetDifferential(Boolean differential) voidsetInputPointCount(Integer inputPointCount) voidsetOutMode(EquityCurveOutMode outMode) voidsetOutputPointCount(Integer outputPointCount) voidsetResampled(Boolean resampled) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_INPUT_POINT_COUNT
- See Also:
-
JSON_PROPERTY_OUTPUT_POINT_COUNT
- See Also:
-
JSON_PROPERTY_RESAMPLED
- See Also:
-
JSON_PROPERTY_DIFFERENTIAL
- See Also:
-
JSON_PROPERTY_OUT_MODE
- See Also:
-
-
Constructor Details
-
EquityCurveMeta
public EquityCurveMeta()
-
-
Method Details
-
inputPointCount
-
getInputPointCount
Size of the curve the transform pipeline received.- Returns:
- inputPointCount
-
setInputPointCount
-
outputPointCount
-
getOutputPointCount
Size after the full pipeline (resample, then differential, then outMode).- Returns:
- outputPointCount
-
setOutputPointCount
-
resampled
-
getResampled
True only if the resample stage actually changed the point count.- Returns:
- resampled
-
setResampled
-
differential
-
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
-
outMode
-
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
-
equals
Return true if this EquityCurveMeta 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
-