Class AlloyRetrieveHistoricalPricesResponse.Builder
-
- All Implemented Interfaces:
public final class AlloyRetrieveHistoricalPricesResponse.BuilderA builder for AlloyRetrieveHistoricalPricesResponse.
-
-
Method Summary
-
-
Method Detail
-
close
final AlloyRetrieveHistoricalPricesResponse.Builder close(Double close)
Close price from the given time period.
-
close
final AlloyRetrieveHistoricalPricesResponse.Builder close(JsonField<Double> close)
Sets Builder.close to an arbitrary JSON value.
You should usually call Builder.close with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
high
final AlloyRetrieveHistoricalPricesResponse.Builder high(Double high)
High price from the given time period.
-
high
final AlloyRetrieveHistoricalPricesResponse.Builder high(JsonField<Double> high)
Sets Builder.high to an arbitrary JSON value.
You should usually call Builder.high with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
low
final AlloyRetrieveHistoricalPricesResponse.Builder low(Double low)
Low price from the given time period.
-
low
final AlloyRetrieveHistoricalPricesResponse.Builder low(JsonField<Double> low)
Sets Builder.low to an arbitrary JSON value.
You should usually call Builder.low with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
open
final AlloyRetrieveHistoricalPricesResponse.Builder open(Double open)
Open price from the given time period.
-
open
final AlloyRetrieveHistoricalPricesResponse.Builder open(JsonField<Double> open)
Sets Builder.open to an arbitrary JSON value.
You should usually call Builder.open 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 AlloyRetrieveHistoricalPricesResponse.Builder timestamp(Long timestamp)
UNIX timestamp in seconds for the start of the aggregate window.
-
timestamp
final AlloyRetrieveHistoricalPricesResponse.Builder timestamp(JsonField<Long> timestamp)
Sets Builder.timestamp to an arbitrary JSON value.
You should usually call Builder.timestamp with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
_sv
final AlloyRetrieveHistoricalPricesResponse.Builder _sv(AlloyRetrieveHistoricalPricesResponse._Sv _sv)
Schema version
-
_sv
final AlloyRetrieveHistoricalPricesResponse.Builder _sv(JsonField<AlloyRetrieveHistoricalPricesResponse._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 AlloyRetrieveHistoricalPricesResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AlloyRetrieveHistoricalPricesResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AlloyRetrieveHistoricalPricesResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AlloyRetrieveHistoricalPricesResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AlloyRetrieveHistoricalPricesResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AlloyRetrieveHistoricalPricesResponse build()
Returns an immutable instance of AlloyRetrieveHistoricalPricesResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.close() .high() .low() .open() .timestamp()
-
-
-
-