Record Class QueueInsertMessage
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.QueueInsertMessage
@Generated("copilot-sdk-codegen")
public record QueueInsertMessage(String prompt, String displayPrompt, List<Object> attachments, SendAgentMode agentMode, String source, Boolean billable, String requiredTool, Map<String,String> requestHeaders, SendMode mode, Boolean prepend, Boolean wait_, String delivery)
extends Record
Serializable message fields accepted by queue.insertAt.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionQueueInsertMessage(String prompt, String displayPrompt, List<Object> attachments, SendAgentMode agentMode, String source, Boolean billable, String requiredTool, Map<String, String> requestHeaders, SendMode mode, Boolean prepend, Boolean wait_, String delivery) Creates an instance of aQueueInsertMessagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theagentModerecord component.Returns the value of theattachmentsrecord component.billable()Returns the value of thebillablerecord component.delivery()Returns the value of thedeliveryrecord component.Returns the value of thedisplayPromptrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.mode()Returns the value of themoderecord component.prepend()Returns the value of theprependrecord component.prompt()Returns the value of thepromptrecord component.Returns the value of therequestHeadersrecord component.Returns the value of therequiredToolrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.wait_()Returns the value of thewait_record component.
-
Constructor Details
-
QueueInsertMessage
public QueueInsertMessage(String prompt, String displayPrompt, List<Object> attachments, SendAgentMode agentMode, String source, Boolean billable, String requiredTool, Map<String, String> requestHeaders, SendMode mode, Boolean prepend, Boolean wait_, String delivery) Creates an instance of aQueueInsertMessagerecord class.- Parameters:
prompt- the value for thepromptrecord componentdisplayPrompt- the value for thedisplayPromptrecord componentattachments- the value for theattachmentsrecord componentagentMode- the value for theagentModerecord componentsource- the value for thesourcerecord componentbillable- the value for thebillablerecord componentrequiredTool- the value for therequiredToolrecord componentrequestHeaders- the value for therequestHeadersrecord componentmode- the value for themoderecord componentprepend- the value for theprependrecord componentwait_- the value for thewait_record componentdelivery- the value for thedeliveryrecord 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). -
prompt
Returns the value of thepromptrecord component.- Returns:
- the value of the
promptrecord component
-
displayPrompt
Returns the value of thedisplayPromptrecord component.- Returns:
- the value of the
displayPromptrecord component
-
attachments
-
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
-
billable
Returns the value of thebillablerecord component.- Returns:
- the value of the
billablerecord component
-
requiredTool
Returns the value of therequiredToolrecord component.- Returns:
- the value of the
requiredToolrecord component
-
requestHeaders
-
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
prepend
Returns the value of theprependrecord component.- Returns:
- the value of the
prependrecord component
-
wait_
Returns the value of thewait_record component.- Returns:
- the value of the
wait_record component
-
delivery
Returns the value of thedeliveryrecord component.- Returns:
- the value of the
deliveryrecord component
-