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.
  • 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 a BrokerSseNonTradingActivitiesOptions record class.
      Parameters:
      id - the value for the id record component
      since - the value for the since record component
      until - the value for the until record component
      sinceId - the value for the sinceId record component
      untilId - the value for the untilId record component
      sinceUlid - the value for the sinceUlid record component
      untilUlid - the value for the untilUlid record component
      includePreprocessing - the value for the includePreprocessing record component
      groupId - the value for the groupId record component
  • Method Details

    • empty

      public static BrokerSseNonTradingActivitiesOptions empty()
    • builder

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • since

      public LocalDate since()
      Returns the value of the since record component.
      Returns:
      the value of the since record component
    • until

      public LocalDate until()
      Returns the value of the until record component.
      Returns:
      the value of the until record component
    • sinceId

      public Integer sinceId()
      Returns the value of the sinceId record component.
      Returns:
      the value of the sinceId record component
    • untilId

      public Integer untilId()
      Returns the value of the untilId record component.
      Returns:
      the value of the untilId record component
    • sinceUlid

      public String sinceUlid()
      Returns the value of the sinceUlid record component.
      Returns:
      the value of the sinceUlid record component
    • untilUlid

      public String untilUlid()
      Returns the value of the untilUlid record component.
      Returns:
      the value of the untilUlid record component
    • includePreprocessing

      public Boolean includePreprocessing()
      Returns the value of the includePreprocessing record component.
      Returns:
      the value of the includePreprocessing record component
    • groupId

      public UUID groupId()
      Returns the value of the groupId record component.
      Returns:
      the value of the groupId record component