Package markets.alpaca.client.broker.sse
Record Class BrokerSseNonTradingActivitiesOptions
java.lang.Object
java.lang.Record
markets.alpaca.client.broker.sse.BrokerSseNonTradingActivitiesOptions
public record BrokerSseNonTradingActivitiesOptions(String id, LocalDate since, LocalDate until, Integer sinceId, Integer untilId, String sinceUlid, String untilUlid, Boolean includePreprocessing, UUID groupId)
extends Record
Optional filters for Broker non-trading-activity SSE events.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()empty()final booleanIndicates whether some other object is "equal to" this one.groupId()Returns the value of thegroupIdrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theincludePreprocessingrecord component.since()Returns the value of thesincerecord component.sinceId()Returns the value of thesinceIdrecord component.Returns the value of thesinceUlidrecord component.final StringtoString()Returns a string representation of this record class.until()Returns the value of theuntilrecord component.untilId()Returns the value of theuntilIdrecord component.Returns the value of theuntilUlidrecord component.
-
Constructor Details
-
BrokerSseNonTradingActivitiesOptions
public BrokerSseNonTradingActivitiesOptions(String id, LocalDate since, LocalDate until, Integer sinceId, Integer untilId, String sinceUlid, String untilUlid, Boolean includePreprocessing, UUID groupId) Creates an instance of aBrokerSseNonTradingActivitiesOptionsrecord class.- Parameters:
id- the value for theidrecord componentsince- the value for thesincerecord componentuntil- the value for theuntilrecord componentsinceId- the value for thesinceIdrecord componentuntilId- the value for theuntilIdrecord componentsinceUlid- the value for thesinceUlidrecord componentuntilUlid- the value for theuntilUlidrecord componentincludePreprocessing- the value for theincludePreprocessingrecord componentgroupId- the value for thegroupIdrecord component
-
-
Method Details
-
empty
-
builder
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
since
Returns the value of thesincerecord component.- Returns:
- the value of the
sincerecord component
-
until
Returns the value of theuntilrecord component.- Returns:
- the value of the
untilrecord component
-
sinceId
Returns the value of thesinceIdrecord component.- Returns:
- the value of the
sinceIdrecord component
-
untilId
Returns the value of theuntilIdrecord component.- Returns:
- the value of the
untilIdrecord component
-
sinceUlid
Returns the value of thesinceUlidrecord component.- Returns:
- the value of the
sinceUlidrecord component
-
untilUlid
Returns the value of theuntilUlidrecord component.- Returns:
- the value of the
untilUlidrecord component
-
includePreprocessing
Returns the value of theincludePreprocessingrecord component.- Returns:
- the value of the
includePreprocessingrecord component
-
groupId
Returns the value of thegroupIdrecord component.- Returns:
- the value of the
groupIdrecord component
-