Class CalendarDay
java.lang.Object
markets.alpaca.client.openapi.broker.model.CalendarDay
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CalendarDay
extends Object
implements Serializable
A calendar day.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncoreEnd(OffsetDateTime coreEnd) coreStart(OffsetDateTime coreStart) booleanstatic CalendarDayCreate an instance of CalendarDay given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The end time of the core market session.The start time of the core market session.getDate()The date of the calendar day.The end time of the lunch session.The start time of the lunch session.The end time of the after-hours session.The start time of the after-hours session.The end time of the pre-market session.The start time of the pre-market session.The settlement date.inthashCode()lunchEnd(OffsetDateTime lunchEnd) lunchStart(OffsetDateTime lunchStart) postEnd(OffsetDateTime postEnd) postStart(OffsetDateTime postStart) preEnd(OffsetDateTime preEnd) preStart(OffsetDateTime preStart) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCoreEnd(OffsetDateTime coreEnd) voidsetCoreStart(OffsetDateTime coreStart) voidvoidsetLunchEnd(OffsetDateTime lunchEnd) voidsetLunchStart(OffsetDateTime lunchStart) voidsetPostEnd(OffsetDateTime postEnd) voidsetPostStart(OffsetDateTime postStart) voidsetPreEnd(OffsetDateTime preEnd) voidsetPreStart(OffsetDateTime preStart) voidsetSettlementDate(LocalDate settlementDate) settlementDate(LocalDate settlementDate) toJson()Convert an instance of CalendarDay to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CORE_END
- See Also:
-
SERIALIZED_NAME_CORE_START
- See Also:
-
SERIALIZED_NAME_DATE
- See Also:
-
SERIALIZED_NAME_LUNCH_END
- See Also:
-
SERIALIZED_NAME_LUNCH_START
- See Also:
-
SERIALIZED_NAME_POST_END
- See Also:
-
SERIALIZED_NAME_POST_START
- See Also:
-
SERIALIZED_NAME_PRE_END
- See Also:
-
SERIALIZED_NAME_PRE_START
- See Also:
-
SERIALIZED_NAME_SETTLEMENT_DATE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CalendarDay
public CalendarDay()
-
-
Method Details
-
coreEnd
-
getCoreEnd
The end time of the core market session.- Returns:
- coreEnd
-
setCoreEnd
-
coreStart
-
getCoreStart
The start time of the core market session.- Returns:
- coreStart
-
setCoreStart
-
date
-
getDate
The date of the calendar day.- Returns:
- date
-
setDate
-
lunchEnd
-
getLunchEnd
The end time of the lunch session.- Returns:
- lunchEnd
-
setLunchEnd
-
lunchStart
-
getLunchStart
The start time of the lunch session.- Returns:
- lunchStart
-
setLunchStart
-
postEnd
-
getPostEnd
The end time of the after-hours session.- Returns:
- postEnd
-
setPostEnd
-
postStart
-
getPostStart
The start time of the after-hours session.- Returns:
- postStart
-
setPostStart
-
preEnd
-
getPreEnd
The end time of the pre-market session.- Returns:
- preEnd
-
setPreEnd
-
preStart
-
getPreStart
The start time of the pre-market session.- Returns:
- preStart
-
setPreStart
-
settlementDate
-
getSettlementDate
The settlement date.- Returns:
- settlementDate
-
setSettlementDate
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the CalendarDay instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to CalendarDay
-
fromJson
Create an instance of CalendarDay given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CalendarDay
- Throws:
IOException- if the JSON string is invalid with respect to CalendarDay
-
toJson
Convert an instance of CalendarDay to an JSON string- Returns:
- JSON string
-