-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathCreateSessionResponse.java
More file actions
37 lines (32 loc) · 962 Bytes
/
CreateSessionResponse.java
File metadata and controls
37 lines (32 loc) · 962 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
37
package com.github.copilot.sdk.json;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Internal response object from creating a session.
*
* @since 1.0.0
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public final class CreateSessionResponse {
@JsonProperty("sessionId")
private String sessionId;
@JsonProperty("workspacePath")
private String workspacePath;
public String getSessionId() {
return sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
}
/**
* Gets the workspace path when infinite sessions are enabled.
*
* @return the workspace path, or {@code null} if infinite sessions are disabled
*/
public String getWorkspacePath() {
return workspacePath;
}
public void setWorkspacePath(String workspacePath) {
this.workspacePath = workspacePath;
}
}