Package com.qtsurfer.api.client.model
Class StrategyLinks
java.lang.Object
com.qtsurfer.api.client.model.StrategyLinks
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
public class StrategyLinks
extends Object
HAL `_links` for a strategy — present on a full `StrategyState` body (`GET /strategy/{strategyId}`, and `POST /strategy/{strategyId}/validate`'s already-validated `200`), absent from that same endpoint's `202` — a deliberately partial stub carrying only what is known before a check has even started. Following `code` can still `404` once present: it documents its own honest \"nothing to return\" for a strategy with no source of its own (a `REFERENCE` marketplace copy, or one resolved only through the platform's shared pool). This link says where to look, not that something is there.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this StrategyLinks object is equal to o.getCode()Link to this strategy's registered source, `GET /strategy/{strategyId}/code`.inthashCode()voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_CODE
- See Also:
-
-
Constructor Details
-
StrategyLinks
public StrategyLinks()
-
-
Method Details
-
code
-
getCode
Link to this strategy's registered source, `GET /strategy/{strategyId}/code`.- Returns:
- code
-
setCode
-
equals
Return true if this StrategyLinks 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
-