Package com.github.copilot.sdk.generated
Record Class SessionStartEvent.SessionStartEventData
java.lang.Object
java.lang.Record
com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
- Enclosing class:
- SessionStartEvent
public static record SessionStartEvent.SessionStartEventData(String sessionId, Double version, String producer, String copilotVersion, OffsetDateTime startTime, String selectedModel, String reasoningEffort, SessionStartEvent.SessionStartEventData.SessionStartEventDataContext context, Boolean alreadyInUse, Boolean remoteSteerable)
extends Record
Data payload for
SessionStartEvent.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordWorking directory and git context at session start -
Constructor Summary
ConstructorsConstructorDescriptionSessionStartEventData(String sessionId, Double version, String producer, String copilotVersion, OffsetDateTime startTime, String selectedModel, String reasoningEffort, SessionStartEvent.SessionStartEventData.SessionStartEventDataContext context, Boolean alreadyInUse, Boolean remoteSteerable) Creates an instance of aSessionStartEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealreadyInUserecord component.context()Returns the value of thecontextrecord component.Returns the value of thecopilotVersionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.producer()Returns the value of theproducerrecord component.Returns the value of thereasoningEffortrecord component.Returns the value of theremoteSteerablerecord component.Returns the value of theselectedModelrecord component.Returns the value of thesessionIdrecord component.Returns the value of thestartTimerecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
SessionStartEventData
public SessionStartEventData(String sessionId, Double version, String producer, String copilotVersion, OffsetDateTime startTime, String selectedModel, String reasoningEffort, SessionStartEvent.SessionStartEventData.SessionStartEventDataContext context, Boolean alreadyInUse, Boolean remoteSteerable) Creates an instance of aSessionStartEventDatarecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentversion- the value for theversionrecord componentproducer- the value for theproducerrecord componentcopilotVersion- the value for thecopilotVersionrecord componentstartTime- the value for thestartTimerecord componentselectedModel- the value for theselectedModelrecord componentreasoningEffort- the value for thereasoningEffortrecord componentcontext- the value for thecontextrecord componentalreadyInUse- the value for thealreadyInUserecord componentremoteSteerable- the value for theremoteSteerablerecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
producer
Returns the value of theproducerrecord component.- Returns:
- the value of the
producerrecord component
-
copilotVersion
Returns the value of thecopilotVersionrecord component.- Returns:
- the value of the
copilotVersionrecord component
-
startTime
Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
selectedModel
Returns the value of theselectedModelrecord component.- Returns:
- the value of the
selectedModelrecord component
-
reasoningEffort
Returns the value of thereasoningEffortrecord component.- Returns:
- the value of the
reasoningEffortrecord component
-
context
Returns the value of thecontextrecord component.- Returns:
- the value of the
contextrecord component
-
alreadyInUse
Returns the value of thealreadyInUserecord component.- Returns:
- the value of the
alreadyInUserecord component
-
remoteSteerable
Returns the value of theremoteSteerablerecord component.- Returns:
- the value of the
remoteSteerablerecord component
-