forked from github/copilot-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGetForegroundSessionResponse.java
More file actions
24 lines (21 loc) · 948 Bytes
/
GetForegroundSessionResponse.java
File metadata and controls
24 lines (21 loc) · 948 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
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------------------------------------------*/
package com.github.copilot.sdk.json;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Response from session.getForeground RPC call.
* <p>
* This is only available when connecting to a server running in TUI+server mode
* (--ui-server).
*
* @since 1.0.0
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public record GetForegroundSessionResponse(
/** The session ID currently displayed in the TUI, or null if none. */
@JsonProperty("sessionId") String sessionId,
/** The workspace path of the foreground session, or null. */
@JsonProperty("workspacePath") String workspacePath) {
}