forked from github/copilot-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathElicitationResultAction.java
More file actions
33 lines (25 loc) · 893 Bytes
/
ElicitationResultAction.java
File metadata and controls
33 lines (25 loc) · 893 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
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------------------------------------------*/
package com.github.copilot.sdk.json;
/**
* Action value for an {@link ElicitationResult}.
*
* @since 1.0.0
*/
public enum ElicitationResultAction {
/** The user submitted the form (accepted). */
ACCEPT("accept"),
/** The user explicitly rejected the request. */
DECLINE("decline"),
/** The user dismissed the dialog without responding. */
CANCEL("cancel");
private final String value;
ElicitationResultAction(String value) {
this.value = value;
}
/** Returns the wire-format string value. @return the string value */
public String getValue() {
return value;
}
}