Record Class SessionResumeEvent.SessionResumeEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SessionResumeEvent.SessionResumeEventData
- Enclosing class:
SessionResumeEvent
public static record SessionResumeEvent.SessionResumeEventData(OffsetDateTime resumeTime, Long eventCount, String selectedModel, String reasoningEffort, ReasoningSummary reasoningSummary, ContextTier contextTier, WorkingDirectoryContext context, Boolean alreadyInUse, Boolean sessionWasActive, Boolean remoteSteerable, Boolean continuePendingWork)
extends Record
Data payload for
SessionResumeEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionResumeEventData(OffsetDateTime resumeTime, Long eventCount, String selectedModel, String reasoningEffort, ReasoningSummary reasoningSummary, ContextTier contextTier, WorkingDirectoryContext context, Boolean alreadyInUse, Boolean sessionWasActive, Boolean remoteSteerable, Boolean continuePendingWork) Creates an instance of aSessionResumeEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealreadyInUserecord component.context()Returns the value of thecontextrecord component.Returns the value of thecontextTierrecord component.Returns the value of thecontinuePendingWorkrecord 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 thereasoningSummaryrecord component.Returns the value of theremoteSteerablerecord component.Returns the value of theresumeTimerecord component.Returns the value of theselectedModelrecord component.Returns the value of thesessionWasActiverecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionResumeEventData
public SessionResumeEventData(OffsetDateTime resumeTime, Long eventCount, String selectedModel, String reasoningEffort, ReasoningSummary reasoningSummary, ContextTier contextTier, WorkingDirectoryContext context, Boolean alreadyInUse, Boolean sessionWasActive, Boolean remoteSteerable, Boolean continuePendingWork) 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 componentreasoningSummary- the value for thereasoningSummaryrecord componentcontextTier- the value for thecontextTierrecord componentcontext- the value for thecontextrecord componentalreadyInUse- the value for thealreadyInUserecord componentsessionWasActive- the value for thesessionWasActiverecord componentremoteSteerable- the value for theremoteSteerablerecord componentcontinuePendingWork- the value for thecontinuePendingWorkrecord 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). -
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
-
reasoningSummary
Returns the value of thereasoningSummaryrecord component.- Returns:
- the value of the
reasoningSummaryrecord component
-
contextTier
Returns the value of thecontextTierrecord component.- Returns:
- the value of the
contextTierrecord 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
-
sessionWasActive
Returns the value of thesessionWasActiverecord component.- Returns:
- the value of the
sessionWasActiverecord component
-
remoteSteerable
Returns the value of theremoteSteerablerecord component.- Returns:
- the value of the
remoteSteerablerecord component
-
continuePendingWork
Returns the value of thecontinuePendingWorkrecord component.- Returns:
- the value of the
continuePendingWorkrecord component
-