Record Class SessionQueueWithdrawMessageParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionQueueWithdrawMessageParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionQueueWithdrawMessageParams(String sessionId, String messageId, String expectedPrompt)
extends Record
Conditional withdrawal of a single user message, from its queue or from the running turn it started.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionQueueWithdrawMessageParams(String sessionId, String messageId, String expectedPrompt) Creates an instance of aSessionQueueWithdrawMessageParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpectedPromptrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themessageIdrecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionQueueWithdrawMessageParams
Creates an instance of aSessionQueueWithdrawMessageParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentmessageId- the value for themessageIdrecord componentexpectedPrompt- the value for theexpectedPromptrecord 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). -
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
messageId
Returns the value of themessageIdrecord component.- Returns:
- the value of the
messageIdrecord component
-
expectedPrompt
Returns the value of theexpectedPromptrecord component.- Returns:
- the value of the
expectedPromptrecord component
-