Class LegacyCalendarDay
java.lang.Object
markets.alpaca.client.openapi.broker.model.LegacyCalendarDay
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class LegacyCalendarDay
extends Object
implements Serializable
A calendar day.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LegacyCalendarDayCreate an instance of LegacyCalendarDay given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getClose()The time the market closes at on this date in HH:MM format.getDate()Date string in YYYY-MM-DD format.getOpen()The time the market opens at on this date in HH:MM format.The time the session closes at on this date in HHMM format.The time the session opens at on this date in HHMM format.Date string in YYYY-MM-DD format.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.sessionClose(String sessionClose) sessionOpen(String sessionOpen) voidvoidvoidvoidsetSessionClose(String sessionClose) voidsetSessionOpen(String sessionOpen) voidsetSettlementDate(LocalDate settlementDate) settlementDate(LocalDate settlementDate) toJson()Convert an instance of LegacyCalendarDay 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_CLOSE
- See Also:
-
SERIALIZED_NAME_DATE
- See Also:
-
SERIALIZED_NAME_OPEN
- See Also:
-
SERIALIZED_NAME_SESSION_CLOSE
- See Also:
-
SERIALIZED_NAME_SESSION_OPEN
- See Also:
-
SERIALIZED_NAME_SETTLEMENT_DATE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LegacyCalendarDay
public LegacyCalendarDay()
-
-
Method Details
-
close
-
getClose
The time the market closes at on this date in HH:MM format.- Returns:
- close
-
setClose
-
date
-
getDate
Date string in YYYY-MM-DD format.- Returns:
- date
-
setDate
-
open
-
getOpen
The time the market opens at on this date in HH:MM format.- Returns:
- open
-
setOpen
-
sessionClose
-
getSessionClose
The time the session closes at on this date in HHMM format.- Returns:
- sessionClose
-
setSessionClose
-
sessionOpen
-
getSessionOpen
The time the session opens at on this date in HHMM format.- Returns:
- sessionOpen
-
setSessionOpen
-
settlementDate
-
getSettlementDate
Date string in YYYY-MM-DD format. Representing the settlement date for the trade 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 LegacyCalendarDay 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 LegacyCalendarDay
-
fromJson
Create an instance of LegacyCalendarDay given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LegacyCalendarDay
- Throws:
IOException- if the JSON string is invalid with respect to LegacyCalendarDay
-
toJson
Convert an instance of LegacyCalendarDay to an JSON string- Returns:
- JSON string
-