Uses of Enum Class
com.github.copilot.generated.SessionMode
Packages that use SessionMode
Package
Description
Auto-generated session event types for the GitHub Copilot SDK.
-
Uses of SessionMode in com.github.copilot.generated
Subclasses with type arguments of type SessionMode in com.github.copilot.generatedMethods in com.github.copilot.generated that return SessionModeModifier and TypeMethodDescriptionPermissionRequestedEvent.PermissionRequestedEventData.agentMode()Returns the value of theagentModerecord component.static SessionModeSessionIdleEvent.SessionIdleEventData.mode()Returns the value of themoderecord component.SessionModeNoticeDeliveredEvent.SessionModeNoticeDeliveredEventData.mode()Returns the value of themoderecord component.SessionModeChangedEvent.SessionModeChangedEventData.newMode()Returns the value of thenewModerecord component.SessionModeChangedEvent.SessionModeChangedEventData.previousMode()Returns the value of thepreviousModerecord component.static SessionModeReturns the enum constant of this class with the specified name.static SessionMode[]SessionMode.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in com.github.copilot.generated with parameters of type SessionModeModifierConstructorDescriptionPermissionRequestedEventData(String requestId, Object permissionRequest, Object promptRequest, PermissionMode permissionMode, SessionMode agentMode, Object riskAssessment, Boolean resolvedByHook, String recoveryEpisodeId) Creates an instance of aPermissionRequestedEventDatarecord class.SessionIdleEventData(Boolean aborted, SessionMode mode) Creates an instance of aSessionIdleEventDatarecord class.SessionModeChangedEventData(SessionMode previousMode, SessionMode newMode) Creates an instance of aSessionModeChangedEventDatarecord class.SessionModeNoticeDeliveredEventData(SessionMode mode, String content) Creates an instance of aSessionModeNoticeDeliveredEventDatarecord class.