Class AlloyRetrieveCurrentPriceResponse.Builder
-
- All Implemented Interfaces:
public final class AlloyRetrieveCurrentPriceResponse.BuilderA builder for AlloyRetrieveCurrentPriceResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final AlloyRetrieveCurrentPriceResponse.Builder id(String id)
ID of the
Alloyasset.
-
id
final AlloyRetrieveCurrentPriceResponse.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
price
final AlloyRetrieveCurrentPriceResponse.Builder price(Double price)
Current trade price.
-
price
final AlloyRetrieveCurrentPriceResponse.Builder price(JsonField<Double> price)
Sets Builder.price to an arbitrary JSON value.
You should usually call Builder.price with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
timestamp
final AlloyRetrieveCurrentPriceResponse.Builder timestamp(OffsetDateTime timestamp)
When the price was generated.
-
timestamp
final AlloyRetrieveCurrentPriceResponse.Builder timestamp(JsonField<OffsetDateTime> timestamp)
Sets Builder.timestamp to an arbitrary JSON value.
You should usually call Builder.timestamp with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
_sv
final AlloyRetrieveCurrentPriceResponse.Builder _sv(AlloyRetrieveCurrentPriceResponse._Sv _sv)
Schema version
-
_sv
final AlloyRetrieveCurrentPriceResponse.Builder _sv(JsonField<AlloyRetrieveCurrentPriceResponse._Sv> _sv)
Sets Builder._sv to an arbitrary JSON value.
You should usually call Builder._sv with a well-typed _Sv value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final AlloyRetrieveCurrentPriceResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AlloyRetrieveCurrentPriceResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AlloyRetrieveCurrentPriceResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AlloyRetrieveCurrentPriceResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AlloyRetrieveCurrentPriceResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AlloyRetrieveCurrentPriceResponse build()
Returns an immutable instance of AlloyRetrieveCurrentPriceResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .price() .timestamp()
-
-
-
-