Class StockRetrieveHistoricalPricesResponse.Builder
-
- All Implemented Interfaces:
public final class StockRetrieveHistoricalPricesResponse.BuilderA builder for StockRetrieveHistoricalPricesResponse.
-
-
Method Summary
-
-
Method Detail
-
close
final StockRetrieveHistoricalPricesResponse.Builder close(Double close)
Close price from the given time period.
-
close
final StockRetrieveHistoricalPricesResponse.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 StockRetrieveHistoricalPricesResponse.Builder high(Double high)
Highest price from the given time period.
-
high
final StockRetrieveHistoricalPricesResponse.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 StockRetrieveHistoricalPricesResponse.Builder low(Double low)
Lowest price from the given time period.
-
low
final StockRetrieveHistoricalPricesResponse.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 StockRetrieveHistoricalPricesResponse.Builder open(Double open)
Open price from the given time period.
-
open
final StockRetrieveHistoricalPricesResponse.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 StockRetrieveHistoricalPricesResponse.Builder timestamp(Long timestamp)
The UNIX timestamp in seconds for the start of the aggregate window.
-
timestamp
final StockRetrieveHistoricalPricesResponse.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.
-
additionalProperties
final StockRetrieveHistoricalPricesResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final StockRetrieveHistoricalPricesResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final StockRetrieveHistoricalPricesResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final StockRetrieveHistoricalPricesResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final StockRetrieveHistoricalPricesResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final StockRetrieveHistoricalPricesResponse build()
Returns an immutable instance of StockRetrieveHistoricalPricesResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.close() .high() .low() .open() .timestamp()
-
-
-
-