Enum Class SessionHistoryCompactParams.SessionHistoryCompactParamsTrigger
java.lang.Object
java.lang.Enum<SessionHistoryCompactParams.SessionHistoryCompactParamsTrigger>
com.github.copilot.generated.rpc.SessionHistoryCompactParams.SessionHistoryCompactParamsTrigger
- All Implemented Interfaces:
Serializable, Comparable<SessionHistoryCompactParams.SessionHistoryCompactParamsTrigger>, Constable
- Enclosing class:
SessionHistoryCompactParams
public static enum SessionHistoryCompactParams.SessionHistoryCompactParamsTrigger
extends Enum<SessionHistoryCompactParams.SessionHistoryCompactParamsTrigger>
What initiated this compaction request, recorded as the `trigger` on the persisted `session.compaction_start` / `session.compaction_complete` events. When absent, the compaction is persisted without trigger attribution (initiator unknown).
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
MANUAL
Themanualvariant. -
MODEL_SWITCH
Themodel_switchvariant.
-
-
Method Details
-
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
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 SessionHistoryCompactParams.SessionHistoryCompactParamsTrigger fromValue(String value)
-