Package com.github.copilot.sdk.generated
Record Class SessionResumeEvent.SessionResumeEventData
java.lang.Object
java.lang.Record
com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
- Enclosing class:
- SessionResumeEvent
public static record SessionResumeEvent.SessionResumeEventData(OffsetDateTime resumeTime, Double eventCount, String selectedModel, String reasoningEffort, SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext context, Boolean alreadyInUse, Boolean remoteSteerable)
extends Record
Data payload for
SessionResumeEvent.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordUpdated working directory and git context at resume time -
Constructor Summary
ConstructorsConstructorDescriptionSessionResumeEventData(OffsetDateTime resumeTime, Double eventCount, String selectedModel, String reasoningEffort, SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext context, Boolean alreadyInUse, Boolean remoteSteerable) Creates an instance of aSessionResumeEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealreadyInUserecord component.context()Returns the value of thecontextrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theeventCountrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thereasoningEffortrecord component.Returns the value of theremoteSteerablerecord component.Returns the value of theresumeTimerecord component.Returns the value of theselectedModelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionResumeEventData
public SessionResumeEventData(OffsetDateTime resumeTime, Double eventCount, String selectedModel, String reasoningEffort, SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext context, Boolean alreadyInUse, Boolean remoteSteerable) Creates an instance of aSessionResumeEventDatarecord class.- Parameters:
resumeTime- the value for theresumeTimerecord componenteventCount- the value for theeventCountrecord 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). -
resumeTime
Returns the value of theresumeTimerecord component.- Returns:
- the value of the
resumeTimerecord component
-
eventCount
Returns the value of theeventCountrecord component.- Returns:
- the value of the
eventCountrecord 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
-