Package com.github.copilot.sdk.json
Class HookInvocation
java.lang.Object
com.github.copilot.sdk.json.HookInvocation
Context for a hook invocation.
- Since:
- 1.0.6
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the session ID.setSessionId(String sessionId) Sets the session ID.
-
Constructor Details
-
HookInvocation
public HookInvocation()
-
-
Method Details
-
getSessionId
Gets the session ID.- Returns:
- the session ID
-
setSessionId
Sets the session ID.- Parameters:
sessionId- the session ID- Returns:
- this instance for method chaining
-