Record Class QueuePendingItems
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.QueuePendingItems
@Generated("copilot-sdk-codegen")
public record QueuePendingItems(String id, String messageId, QueuePendingItemsKind kind, String displayText, SendAgentMode agentMode, String source)
extends Record
User-facing pending queue entry, with kind and display text for a queued message, slash command, or model change.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionQueuePendingItems(String id, String messageId, QueuePendingItemsKind kind, String displayText, SendAgentMode agentMode, String source) Creates an instance of aQueuePendingItemsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theagentModerecord component.Returns the value of thedisplayTextrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.kind()Returns the value of thekindrecord component.Returns the value of themessageIdrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QueuePendingItems
public QueuePendingItems(String id, String messageId, QueuePendingItemsKind kind, String displayText, SendAgentMode agentMode, String source) Creates an instance of aQueuePendingItemsrecord class.- Parameters:
id- the value for theidrecord componentmessageId- the value for themessageIdrecord componentkind- the value for thekindrecord componentdisplayText- the value for thedisplayTextrecord componentagentMode- the value for theagentModerecord componentsource- the value for thesourcerecord 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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
messageId
Returns the value of themessageIdrecord component.- Returns:
- the value of the
messageIdrecord component
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
displayText
Returns the value of thedisplayTextrecord component.- Returns:
- the value of the
displayTextrecord component
-
agentMode
Returns the value of theagentModerecord component.- Returns:
- the value of the
agentModerecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-