Package com.github.copilot.sdk.generated
Enum Class ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction
java.lang.Object
java.lang.Enum<ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction>
com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction
- All Implemented Interfaces:
Serializable,Comparable<ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction>,Constable
- Enclosing class:
- ElicitationCompletedEvent.ElicitationCompletedEventData
public static enum ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction
extends Enum<ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction>
The user action: "accept" (submitted form), "decline" (explicitly refused), or "cancel" (dismissed)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the enum constant of this class with the specified name.static ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
ACCEPT
public static final ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction ACCEPTTheacceptvariant. -
DECLINE
public static final ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction DECLINEThedeclinevariant. -
CANCEL
public static final ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction CANCELThecancelvariant.
-
-
Method Details
-
values
public static ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction[] values()Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-
fromValue
public static ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction fromValue(String value)
-