Package com.qtsurfer.api.client.model
Class InstrumentDetail
java.lang.Object
com.qtsurfer.api.client.model.InstrumentDetail
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
public class InstrumentDetail
extends Object
Exchange instrument with per-data-type coverage and market info
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncoverage(InstrumentCoverage coverage) booleanReturn true if this InstrumentDetail object is equal to o.getBase()Base currencyGet coveragegetId()Instrument identifier (e.g.Last traded pricegetQuote()Quote currencyTrading volume in the last 24 hours (in quote currency)inthashCode()voidvoidsetCoverage(InstrumentCoverage coverage) voidvoidsetLastPrice(Double lastPrice) voidvoidsetVolume24h(Double volume24h) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_BASE
- See Also:
-
JSON_PROPERTY_QUOTE
- See Also:
-
JSON_PROPERTY_COVERAGE
- See Also:
-
JSON_PROPERTY_LAST_PRICE
- See Also:
-
JSON_PROPERTY_VOLUME24H
- See Also:
-
-
Constructor Details
-
InstrumentDetail
public InstrumentDetail()
-
-
Method Details
-
id
-
getId
Instrument identifier (e.g. currency pair)- Returns:
- id
-
setId
-
base
-
getBase
Base currency- Returns:
- base
-
setBase
-
quote
-
getQuote
Quote currency- Returns:
- quote
-
setQuote
-
coverage
-
getCoverage
Get coverage- Returns:
- coverage
-
setCoverage
-
lastPrice
-
getLastPrice
Last traded price- Returns:
- lastPrice
-
setLastPrice
-
volume24h
-
getVolume24h
Trading volume in the last 24 hours (in quote currency)- Returns:
- volume24h
-
setVolume24h
-
equals
Return true if this InstrumentDetail 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
-