Record Class SessionStartEvent.SessionStartEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SessionStartEvent.SessionStartEventData
- Enclosing class:
SessionStartEvent
public static record SessionStartEvent.SessionStartEventData(String sessionId, Long version, String producer, String copilotVersion, OffsetDateTime startTime, String selectedModel, String providerId, String reasoningEffort, String reasoningEffortModel, Boolean reasoningEffortManaged, ReasoningSummary reasoningSummary, Verbosity verbosity, ContextTier contextTier, Boolean contextTierManaged, AutoTier autoTier, Boolean autoTierManaged, SessionLimitsConfig sessionLimits, WorkingDirectoryContext context, GitHubMcpToolConfig gitHubMcpToolConfig, Boolean alreadyInUse, Boolean remoteSteerable, String detachedFromSpawningParentSessionId)
extends Record
Data payload for
SessionStartEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionStartEventData(String sessionId, Long version, String producer, String copilotVersion, OffsetDateTime startTime, String selectedModel, String reasoningEffort, String reasoningEffortModel, ReasoningSummary reasoningSummary, Verbosity verbosity, ContextTier contextTier, AutoTier autoTier, SessionLimitsConfig sessionLimits, WorkingDirectoryContext context, GitHubMcpToolConfig gitHubMcpToolConfig, Boolean alreadyInUse, Boolean remoteSteerable, String detachedFromSpawningParentSessionId) Creates event data with the components it had before later optional fields were added.SessionStartEventData(String sessionId, Long version, String producer, String copilotVersion, OffsetDateTime startTime, String selectedModel, String providerId, String reasoningEffort, String reasoningEffortModel, Boolean reasoningEffortManaged, ReasoningSummary reasoningSummary, Verbosity verbosity, ContextTier contextTier, Boolean contextTierManaged, AutoTier autoTier, Boolean autoTierManaged, SessionLimitsConfig sessionLimits, WorkingDirectoryContext context, GitHubMcpToolConfig gitHubMcpToolConfig, Boolean alreadyInUse, Boolean remoteSteerable, String detachedFromSpawningParentSessionId) Creates an instance of aSessionStartEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealreadyInUserecord component.autoTier()Returns the value of theautoTierrecord component.Returns the value of theautoTierManagedrecord component.context()Returns the value of thecontextrecord component.Returns the value of thecontextTierrecord component.Returns the value of thecontextTierManagedrecord component.Returns the value of thecopilotVersionrecord component.Returns the value of thedetachedFromSpawningParentSessionIdrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegitHubMcpToolConfigrecord component.final inthashCode()Returns a hash code value for this object.producer()Returns the value of theproducerrecord component.Returns the value of theproviderIdrecord component.Returns the value of thereasoningEffortrecord component.Returns the value of thereasoningEffortManagedrecord component.Returns the value of thereasoningEffortModelrecord component.Returns the value of thereasoningSummaryrecord component.Returns the value of theremoteSteerablerecord component.Returns the value of theselectedModelrecord component.Returns the value of thesessionIdrecord component.Returns the value of thesessionLimitsrecord component.Returns the value of thestartTimerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theverbosityrecord component.version()Returns the value of theversionrecord component.
-
Constructor Details
-
SessionStartEventData
public SessionStartEventData(String sessionId, Long version, String producer, String copilotVersion, OffsetDateTime startTime, String selectedModel, String reasoningEffort, String reasoningEffortModel, ReasoningSummary reasoningSummary, Verbosity verbosity, ContextTier contextTier, AutoTier autoTier, SessionLimitsConfig sessionLimits, WorkingDirectoryContext context, GitHubMcpToolConfig gitHubMcpToolConfig, Boolean alreadyInUse, Boolean remoteSteerable, String detachedFromSpawningParentSessionId) Creates event data with the components it had before later optional fields were added. -
SessionStartEventData
public SessionStartEventData(String sessionId, Long version, String producer, String copilotVersion, OffsetDateTime startTime, String selectedModel, String providerId, String reasoningEffort, String reasoningEffortModel, Boolean reasoningEffortManaged, ReasoningSummary reasoningSummary, Verbosity verbosity, ContextTier contextTier, Boolean contextTierManaged, AutoTier autoTier, Boolean autoTierManaged, SessionLimitsConfig sessionLimits, WorkingDirectoryContext context, GitHubMcpToolConfig gitHubMcpToolConfig, Boolean alreadyInUse, Boolean remoteSteerable, String detachedFromSpawningParentSessionId) 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 componentproviderId- the value for theproviderIdrecord componentreasoningEffort- the value for thereasoningEffortrecord componentreasoningEffortModel- the value for thereasoningEffortModelrecord componentreasoningEffortManaged- the value for thereasoningEffortManagedrecord componentreasoningSummary- the value for thereasoningSummaryrecord componentverbosity- the value for theverbosityrecord componentcontextTier- the value for thecontextTierrecord componentcontextTierManaged- the value for thecontextTierManagedrecord componentautoTier- the value for theautoTierrecord componentautoTierManaged- the value for theautoTierManagedrecord componentsessionLimits- the value for thesessionLimitsrecord componentcontext- the value for thecontextrecord componentgitHubMcpToolConfig- the value for thegitHubMcpToolConfigrecord componentalreadyInUse- the value for thealreadyInUserecord componentremoteSteerable- the value for theremoteSteerablerecord componentdetachedFromSpawningParentSessionId- the value for thedetachedFromSpawningParentSessionIdrecord 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
-
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
-
providerId
Returns the value of theproviderIdrecord component.- Returns:
- the value of the
providerIdrecord component
-
reasoningEffort
Returns the value of thereasoningEffortrecord component.- Returns:
- the value of the
reasoningEffortrecord component
-
reasoningEffortModel
Returns the value of thereasoningEffortModelrecord component.- Returns:
- the value of the
reasoningEffortModelrecord component
-
reasoningEffortManaged
Returns the value of thereasoningEffortManagedrecord component.- Returns:
- the value of the
reasoningEffortManagedrecord component
-
reasoningSummary
Returns the value of thereasoningSummaryrecord component.- Returns:
- the value of the
reasoningSummaryrecord component
-
verbosity
Returns the value of theverbosityrecord component.- Returns:
- the value of the
verbosityrecord component
-
contextTier
Returns the value of thecontextTierrecord component.- Returns:
- the value of the
contextTierrecord component
-
contextTierManaged
Returns the value of thecontextTierManagedrecord component.- Returns:
- the value of the
contextTierManagedrecord component
-
autoTier
Returns the value of theautoTierrecord component.- Returns:
- the value of the
autoTierrecord component
-
autoTierManaged
Returns the value of theautoTierManagedrecord component.- Returns:
- the value of the
autoTierManagedrecord component
-
sessionLimits
Returns the value of thesessionLimitsrecord component.- Returns:
- the value of the
sessionLimitsrecord component
-
context
Returns the value of thecontextrecord component.- Returns:
- the value of the
contextrecord component
-
gitHubMcpToolConfig
Returns the value of thegitHubMcpToolConfigrecord component.- Returns:
- the value of the
gitHubMcpToolConfigrecord 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
-
detachedFromSpawningParentSessionId
Returns the value of thedetachedFromSpawningParentSessionIdrecord component.- Returns:
- the value of the
detachedFromSpawningParentSessionIdrecord component
-