Record Class SessionQueueSnapshotResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionQueueSnapshotResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionQueueSnapshotResult(String inFlightModelChangeId, List<QueuePendingItems> items, List<String> steeringMessages, List<Long> itemOrders, List<Long> steeringMessageOrders)
extends Record
Internal snapshot of native queue state for local session orchestration.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionQueueSnapshotResult(String inFlightModelChangeId, List<QueuePendingItems> items, List<String> steeringMessages, List<Long> itemOrders, List<Long> steeringMessageOrders) Creates an instance of aSessionQueueSnapshotResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinFlightModelChangeIdrecord component.Returns the value of theitemOrdersrecord component.items()Returns the value of theitemsrecord component.Returns the value of thesteeringMessageOrdersrecord component.Returns the value of thesteeringMessagesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionQueueSnapshotResult
public SessionQueueSnapshotResult(String inFlightModelChangeId, List<QueuePendingItems> items, List<String> steeringMessages, List<Long> itemOrders, List<Long> steeringMessageOrders) Creates an instance of aSessionQueueSnapshotResultrecord class.- Parameters:
inFlightModelChangeId- the value for theinFlightModelChangeIdrecord componentitems- the value for theitemsrecord componentsteeringMessages- the value for thesteeringMessagesrecord componentitemOrders- the value for theitemOrdersrecord componentsteeringMessageOrders- the value for thesteeringMessageOrdersrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
inFlightModelChangeId
Returns the value of theinFlightModelChangeIdrecord component.- Returns:
- the value of the
inFlightModelChangeIdrecord component
-
items
Returns the value of theitemsrecord component.- Returns:
- the value of the
itemsrecord component
-
steeringMessages
-
itemOrders
-
steeringMessageOrders
-