Record Class SessionFleetStartParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionFleetStartParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionFleetStartParams(String sessionId, String prompt, List<Object> attachments, Boolean billable, Boolean wait_)
extends Record
Parameters for starting fleet orchestration: an optional user prompt combined with the fleet instructions, plus the send options forwarded to the resulting turn.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattachmentsrecord component.billable()Returns the value of thebillablerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.prompt()Returns the value of thepromptrecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.wait_()Returns the value of thewait_record component.
-
Constructor Details
-
SessionFleetStartParams
public SessionFleetStartParams(String sessionId, String prompt, List<Object> attachments, Boolean billable, Boolean wait_) Creates an instance of aSessionFleetStartParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentprompt- the value for thepromptrecord componentattachments- the value for theattachmentsrecord componentbillable- the value for thebillablerecord componentwait_- the value for thewait_record 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
-
prompt
Returns the value of thepromptrecord component.- Returns:
- the value of the
promptrecord component
-
attachments
-
billable
Returns the value of thebillablerecord component.- Returns:
- the value of the
billablerecord component
-
wait_
Returns the value of thewait_record component.- Returns:
- the value of the
wait_record component
-