Package com.qtsurfer.api.sdk
Record Class LiveSignalsQuery
java.lang.Object
java.lang.Record
com.qtsurfer.api.sdk.LiveSignalsQuery
public record LiveSignalsQuery(Long sinceMs, String instrument, String type, String cursor, Integer limit)
extends Record
Optional filters and cursor for one page of retained live signals.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LiveSignalsQuery.Builderbuilder()Create a builder for a retained-signal query.cursor()Returns the value of thecursorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinstrumentrecord component.limit()Returns the value of thelimitrecord component.sinceMs()Returns the value of thesinceMsrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
LiveSignalsQuery
Creates an instance of aLiveSignalsQueryrecord class.- Parameters:
sinceMs- the value for thesinceMsrecord componentinstrument- the value for theinstrumentrecord componenttype- the value for thetyperecord componentcursor- the value for thecursorrecord componentlimit- the value for thelimitrecord component
-
-
Method Details
-
builder
Create a builder for a retained-signal query. -
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). -
sinceMs
Returns the value of thesinceMsrecord component.- Returns:
- the value of the
sinceMsrecord component
-
instrument
Returns the value of theinstrumentrecord component.- Returns:
- the value of the
instrumentrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
cursor
Returns the value of thecursorrecord component.- Returns:
- the value of the
cursorrecord component
-
limit
Returns the value of thelimitrecord component.- Returns:
- the value of the
limitrecord component
-