Class StockRetrieveHistoricalPricesResponse
-
- All Implemented Interfaces:
public final class StockRetrieveHistoricalPricesResponseDatapoint of historical price data for a
Stock.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classStockRetrieveHistoricalPricesResponse.BuilderA builder for StockRetrieveHistoricalPricesResponse.
-
Method Summary
Modifier and Type Method Description final Doubleclose()Close price from the given time period. final Doublehigh()Highest price from the given time period. final Doublelow()Lowest price from the given time period. final Doubleopen()Open price from the given time period. final Longtimestamp()The UNIX timestamp in seconds for the start of the aggregate window. final JsonField<Double>_close()Returns the raw JSON value of close. final JsonField<Double>_high()Returns the raw JSON value of high. final JsonField<Double>_low()Returns the raw JSON value of low. final JsonField<Double>_open()Returns the raw JSON value of open. final JsonField<Long>_timestamp()Returns the raw JSON value of timestamp. final Map<String, JsonValue>_additionalProperties()final StockRetrieveHistoricalPricesResponse.BuildertoBuilder()final StockRetrieveHistoricalPricesResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static StockRetrieveHistoricalPricesResponse.Builderbuilder()Returns a mutable builder for constructing an instance of StockRetrieveHistoricalPricesResponse. -
-
Method Detail
-
timestamp
final Long timestamp()
The UNIX timestamp in seconds for the start of the aggregate window.
-
_close
final JsonField<Double> _close()
Returns the raw JSON value of close.
Unlike close, this method doesn't throw if the JSON field has an unexpected type.
-
_high
final JsonField<Double> _high()
Returns the raw JSON value of high.
Unlike high, this method doesn't throw if the JSON field has an unexpected type.
-
_low
final JsonField<Double> _low()
Returns the raw JSON value of low.
Unlike low, this method doesn't throw if the JSON field has an unexpected type.
-
_open
final JsonField<Double> _open()
Returns the raw JSON value of open.
Unlike open, this method doesn't throw if the JSON field has an unexpected type.
-
_timestamp
final JsonField<Long> _timestamp()
Returns the raw JSON value of timestamp.
Unlike timestamp, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final StockRetrieveHistoricalPricesResponse.Builder toBuilder()
-
validate
final StockRetrieveHistoricalPricesResponse validate()
-
builder
final static StockRetrieveHistoricalPricesResponse.Builder builder()
Returns a mutable builder for constructing an instance of StockRetrieveHistoricalPricesResponse.
The following fields are required:
.close() .high() .low() .open() .timestamp()
-
-
-
-