Class AlloyRetrieveCurrentPriceResponse
-
- All Implemented Interfaces:
public final class AlloyRetrieveCurrentPriceResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAlloyRetrieveCurrentPriceResponse.BuilderA builder for AlloyRetrieveCurrentPriceResponse.
public final classAlloyRetrieveCurrentPriceResponse._SvSchema version
-
Method Summary
Modifier and Type Method Description final Stringid()ID of the Alloyasset.final Doubleprice()Current trade price. final OffsetDateTimetimestamp()When the price was generated. final Optional<AlloyRetrieveCurrentPriceResponse._Sv>_sv()Schema version final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Double>_price()Returns the raw JSON value of price. final JsonField<OffsetDateTime>_timestamp()Returns the raw JSON value of timestamp. final JsonField<AlloyRetrieveCurrentPriceResponse._Sv>__sv()Returns the raw JSON value of _sv. final Map<String, JsonValue>_additionalProperties()final AlloyRetrieveCurrentPriceResponse.BuildertoBuilder()final AlloyRetrieveCurrentPriceResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AlloyRetrieveCurrentPriceResponse.Builderbuilder()Returns a mutable builder for constructing an instance of AlloyRetrieveCurrentPriceResponse. -
-
Method Detail
-
timestamp
final OffsetDateTime timestamp()
When the price was generated.
-
_sv
final Optional<AlloyRetrieveCurrentPriceResponse._Sv> _sv()
Schema version
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_price
final JsonField<Double> _price()
Returns the raw JSON value of price.
Unlike price, this method doesn't throw if the JSON field has an unexpected type.
-
_timestamp
final JsonField<OffsetDateTime> _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<AlloyRetrieveCurrentPriceResponse._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 AlloyRetrieveCurrentPriceResponse.Builder toBuilder()
-
validate
final AlloyRetrieveCurrentPriceResponse validate()
-
builder
final static AlloyRetrieveCurrentPriceResponse.Builder builder()
Returns a mutable builder for constructing an instance of AlloyRetrieveCurrentPriceResponse.
The following fields are required:
.id() .price() .timestamp()
-
-
-
-