Class MarketDataRetrieveMarketHoursResponse.Builder
-
- All Implemented Interfaces:
public final class MarketDataRetrieveMarketHoursResponse.BuilderA builder for MarketDataRetrieveMarketHoursResponse.
-
-
Method Summary
-
-
Method Detail
-
isMarketOpen
final MarketDataRetrieveMarketHoursResponse.Builder isMarketOpen(Boolean isMarketOpen)
Whether or not the market is open
-
isMarketOpen
final MarketDataRetrieveMarketHoursResponse.Builder isMarketOpen(JsonField<Boolean> isMarketOpen)
Sets Builder.isMarketOpen to an arbitrary JSON value.
You should usually call Builder.isMarketOpen with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nextSessionCloseDt
final MarketDataRetrieveMarketHoursResponse.Builder nextSessionCloseDt(OffsetDateTime nextSessionCloseDt)
Datetime at which the next session closes. ISO 8601 timestamp.
-
nextSessionCloseDt
final MarketDataRetrieveMarketHoursResponse.Builder nextSessionCloseDt(JsonField<OffsetDateTime> nextSessionCloseDt)
Sets Builder.nextSessionCloseDt to an arbitrary JSON value.
You should usually call Builder.nextSessionCloseDt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nextSessionOpenDt
final MarketDataRetrieveMarketHoursResponse.Builder nextSessionOpenDt(OffsetDateTime nextSessionOpenDt)
Datetime at which the next session opens. ISO 8601 timestamp.
-
nextSessionOpenDt
final MarketDataRetrieveMarketHoursResponse.Builder nextSessionOpenDt(JsonField<OffsetDateTime> nextSessionOpenDt)
Sets Builder.nextSessionOpenDt to an arbitrary JSON value.
You should usually call Builder.nextSessionOpenDt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
currentSessionAfterHoursCloseTimeDt
final MarketDataRetrieveMarketHoursResponse.Builder currentSessionAfterHoursCloseTimeDt(OffsetDateTime currentSessionAfterHoursCloseTimeDt)
Time at which the current session after-hours end.
-
currentSessionAfterHoursCloseTimeDt
final MarketDataRetrieveMarketHoursResponse.Builder currentSessionAfterHoursCloseTimeDt(Optional<OffsetDateTime> currentSessionAfterHoursCloseTimeDt)
Alias for calling Builder.currentSessionAfterHoursCloseTimeDt with
currentSessionAfterHoursCloseTimeDt.orElse(null).
-
currentSessionAfterHoursCloseTimeDt
final MarketDataRetrieveMarketHoursResponse.Builder currentSessionAfterHoursCloseTimeDt(JsonField<OffsetDateTime> currentSessionAfterHoursCloseTimeDt)
Sets Builder.currentSessionAfterHoursCloseTimeDt to an arbitrary JSON value.
You should usually call Builder.currentSessionAfterHoursCloseTimeDt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
currentSessionCloseDt
final MarketDataRetrieveMarketHoursResponse.Builder currentSessionCloseDt(OffsetDateTime currentSessionCloseDt)
Datetime at which the current session closes.
nullif the market is currently closed. ISO 8601 timestamp.
-
currentSessionCloseDt
final MarketDataRetrieveMarketHoursResponse.Builder currentSessionCloseDt(Optional<OffsetDateTime> currentSessionCloseDt)
Alias for calling Builder.currentSessionCloseDt with
currentSessionCloseDt.orElse(null).
-
currentSessionCloseDt
final MarketDataRetrieveMarketHoursResponse.Builder currentSessionCloseDt(JsonField<OffsetDateTime> currentSessionCloseDt)
Sets Builder.currentSessionCloseDt to an arbitrary JSON value.
You should usually call Builder.currentSessionCloseDt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
currentSessionOpenDt
final MarketDataRetrieveMarketHoursResponse.Builder currentSessionOpenDt(OffsetDateTime currentSessionOpenDt)
Datetime at which the current session opened.
nullif the market is currently closed. ISO 8601 timestamp.
-
currentSessionOpenDt
final MarketDataRetrieveMarketHoursResponse.Builder currentSessionOpenDt(Optional<OffsetDateTime> currentSessionOpenDt)
Alias for calling Builder.currentSessionOpenDt with
currentSessionOpenDt.orElse(null).
-
currentSessionOpenDt
final MarketDataRetrieveMarketHoursResponse.Builder currentSessionOpenDt(JsonField<OffsetDateTime> currentSessionOpenDt)
Sets Builder.currentSessionOpenDt to an arbitrary JSON value.
You should usually call Builder.currentSessionOpenDt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
currentSessionOvernightOpenTimeDt
final MarketDataRetrieveMarketHoursResponse.Builder currentSessionOvernightOpenTimeDt(OffsetDateTime currentSessionOvernightOpenTimeDt)
Time at which the current session overnight starts.
-
currentSessionOvernightOpenTimeDt
final MarketDataRetrieveMarketHoursResponse.Builder currentSessionOvernightOpenTimeDt(Optional<OffsetDateTime> currentSessionOvernightOpenTimeDt)
Alias for calling Builder.currentSessionOvernightOpenTimeDt with
currentSessionOvernightOpenTimeDt.orElse(null).
-
currentSessionOvernightOpenTimeDt
final MarketDataRetrieveMarketHoursResponse.Builder currentSessionOvernightOpenTimeDt(JsonField<OffsetDateTime> currentSessionOvernightOpenTimeDt)
Sets Builder.currentSessionOvernightOpenTimeDt to an arbitrary JSON value.
You should usually call Builder.currentSessionOvernightOpenTimeDt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
currentSessionPreMarketOpenTimeDt
final MarketDataRetrieveMarketHoursResponse.Builder currentSessionPreMarketOpenTimeDt(OffsetDateTime currentSessionPreMarketOpenTimeDt)
Time at which the current session pre-market hours start.
-
currentSessionPreMarketOpenTimeDt
final MarketDataRetrieveMarketHoursResponse.Builder currentSessionPreMarketOpenTimeDt(Optional<OffsetDateTime> currentSessionPreMarketOpenTimeDt)
Alias for calling Builder.currentSessionPreMarketOpenTimeDt with
currentSessionPreMarketOpenTimeDt.orElse(null).
-
currentSessionPreMarketOpenTimeDt
final MarketDataRetrieveMarketHoursResponse.Builder currentSessionPreMarketOpenTimeDt(JsonField<OffsetDateTime> currentSessionPreMarketOpenTimeDt)
Sets Builder.currentSessionPreMarketOpenTimeDt to an arbitrary JSON value.
You should usually call Builder.currentSessionPreMarketOpenTimeDt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nextSessionAfterHoursCloseTimeDt
final MarketDataRetrieveMarketHoursResponse.Builder nextSessionAfterHoursCloseTimeDt(OffsetDateTime nextSessionAfterHoursCloseTimeDt)
Time at which the next session after-hours end.
-
nextSessionAfterHoursCloseTimeDt
final MarketDataRetrieveMarketHoursResponse.Builder nextSessionAfterHoursCloseTimeDt(JsonField<OffsetDateTime> nextSessionAfterHoursCloseTimeDt)
Sets Builder.nextSessionAfterHoursCloseTimeDt to an arbitrary JSON value.
You should usually call Builder.nextSessionAfterHoursCloseTimeDt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nextSessionOvernightOpenTimeDt
final MarketDataRetrieveMarketHoursResponse.Builder nextSessionOvernightOpenTimeDt(OffsetDateTime nextSessionOvernightOpenTimeDt)
Time at which the next session overnight starts.
-
nextSessionOvernightOpenTimeDt
final MarketDataRetrieveMarketHoursResponse.Builder nextSessionOvernightOpenTimeDt(JsonField<OffsetDateTime> nextSessionOvernightOpenTimeDt)
Sets Builder.nextSessionOvernightOpenTimeDt to an arbitrary JSON value.
You should usually call Builder.nextSessionOvernightOpenTimeDt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nextSessionPreMarketOpenTimeDt
final MarketDataRetrieveMarketHoursResponse.Builder nextSessionPreMarketOpenTimeDt(OffsetDateTime nextSessionPreMarketOpenTimeDt)
Time at which the next session pre-market hours start.
-
nextSessionPreMarketOpenTimeDt
final MarketDataRetrieveMarketHoursResponse.Builder nextSessionPreMarketOpenTimeDt(JsonField<OffsetDateTime> nextSessionPreMarketOpenTimeDt)
Sets Builder.nextSessionPreMarketOpenTimeDt to an arbitrary JSON value.
You should usually call Builder.nextSessionPreMarketOpenTimeDt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MarketDataRetrieveMarketHoursResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MarketDataRetrieveMarketHoursResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MarketDataRetrieveMarketHoursResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MarketDataRetrieveMarketHoursResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MarketDataRetrieveMarketHoursResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MarketDataRetrieveMarketHoursResponse build()
Returns an immutable instance of MarketDataRetrieveMarketHoursResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.isMarketOpen() .nextSessionCloseDt() .nextSessionOpenDt()
-
-
-
-