forked from github/copilot-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHookInvocation.java
More file actions
36 lines (31 loc) · 847 Bytes
/
HookInvocation.java
File metadata and controls
36 lines (31 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------------------------------------------*/
package com.github.copilot.sdk.json;
/**
* Context for a hook invocation.
*
* @since 1.0.6
*/
public class HookInvocation {
private String sessionId;
/**
* Gets the session ID.
*
* @return the session ID
*/
public String getSessionId() {
return sessionId;
}
/**
* Sets the session ID.
*
* @param sessionId
* the session ID
* @return this instance for method chaining
*/
public HookInvocation setSessionId(String sessionId) {
this.sessionId = sessionId;
return this;
}
}