Package com.github.copilot.sdk.json
Class PermissionInvocation
java.lang.Object
com.github.copilot.sdk.json.PermissionInvocation
Context information for a permission request invocation.
This object provides context about the session where the permission request originated.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the session ID where the permission was requested.setSessionId(String sessionId) Sets the session ID.
-
Constructor Details
-
PermissionInvocation
public PermissionInvocation()
-
-
Method Details
-
getSessionId
Gets the session ID where the permission was requested.- Returns:
- the session ID
-
setSessionId
Sets the session ID.- Parameters:
sessionId- the session ID- Returns:
- this invocation for method chaining
-