Package com.qtsurfer.api.client.model
Class InstrumentLinks
java.lang.Object
com.qtsurfer.api.client.model.InstrumentLinks
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
public class InstrumentLinks
extends Object
HAL `_links` — segment discovery for the instruments listing
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this InstrumentLinks object is equal to o.Link to the futures instruments listing.getSelf()Link to this listinggetSpot()Link to the spot instruments listing.inthashCode()voidsetFutures(HalLink futures) voidvoidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_SELF
- See Also:
-
JSON_PROPERTY_SPOT
- See Also:
-
JSON_PROPERTY_FUTURES
- See Also:
-
-
Constructor Details
-
InstrumentLinks
public InstrumentLinks()
-
-
Method Details
-
self
-
getSelf
Link to this listing- Returns:
- self
-
setSelf
-
spot
-
getSpot
Link to the spot instruments listing. Present when the exchange has a spot segment.- Returns:
- spot
-
setSpot
-
futures
-
getFutures
Link to the futures instruments listing. Present only when the exchange has a futures segment.- Returns:
- futures
-
setFutures
-
equals
Return true if this InstrumentLinks 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
-