Class AlloyRetrieveHistoricalPricesResponse
-
- All Implemented Interfaces:
public final class AlloyRetrieveHistoricalPricesResponseDatapoint of historical price data for an
Alloy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAlloyRetrieveHistoricalPricesResponse.BuilderA builder for AlloyRetrieveHistoricalPricesResponse.
public final classAlloyRetrieveHistoricalPricesResponse._SvSchema version
-
Method Summary
Modifier and Type Method Description final Doubleclose()Close price from the given time period. final Doublehigh()High price from the given time period. final Doublelow()Low price from the given time period. final Doubleopen()Open price from the given time period. final Longtimestamp()UNIX timestamp in seconds for the start of the aggregate window. final Optional<AlloyRetrieveHistoricalPricesResponse._Sv>_sv()Schema version 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 JsonField<AlloyRetrieveHistoricalPricesResponse._Sv>__sv()Returns the raw JSON value of _sv. final Map<String, JsonValue>_additionalProperties()final AlloyRetrieveHistoricalPricesResponse.BuildertoBuilder()final AlloyRetrieveHistoricalPricesResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AlloyRetrieveHistoricalPricesResponse.Builderbuilder()Returns a mutable builder for constructing an instance of AlloyRetrieveHistoricalPricesResponse. -
-
Method Detail
-
_sv
final Optional<AlloyRetrieveHistoricalPricesResponse._Sv> _sv()
Schema version
-
_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.
-
__sv
final JsonField<AlloyRetrieveHistoricalPricesResponse._Sv> __sv()
Returns the raw JSON value of _sv.
Unlike _sv, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AlloyRetrieveHistoricalPricesResponse.Builder toBuilder()
-
validate
final AlloyRetrieveHistoricalPricesResponse validate()
-
builder
final static AlloyRetrieveHistoricalPricesResponse.Builder builder()
Returns a mutable builder for constructing an instance of AlloyRetrieveHistoricalPricesResponse.
The following fields are required:
.close() .high() .low() .open() .timestamp()
-
-
-
-