forked from github/copilot-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSessionUiCapabilities.java
More file actions
37 lines (32 loc) · 1.06 KB
/
SessionUiCapabilities.java
File metadata and controls
37 lines (32 loc) · 1.06 KB
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
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------------------------------------------*/
package com.github.copilot.sdk.json;
/**
* UI-specific capability flags for a session.
*
* @since 1.0.0
*/
public class SessionUiCapabilities {
private Boolean elicitation;
/**
* Returns whether the host supports interactive elicitation dialogs.
*
* @return {@code true} if elicitation is supported, {@code false} or
* {@code null} otherwise
*/
public Boolean getElicitation() {
return elicitation;
}
/**
* Sets whether the host supports interactive elicitation dialogs.
*
* @param elicitation
* {@code true} if elicitation is supported
* @return this instance for method chaining
*/
public SessionUiCapabilities setElicitation(Boolean elicitation) {
this.elicitation = elicitation;
return this;
}
}