Enum Class PermissionModeSource
- All Implemented Interfaces:
Serializable, Comparable<PermissionModeSource>, Constable
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public enum PermissionModeSource
extends Enum<PermissionModeSource>
Optional source for permission-mode telemetry. `organization_targeting` is reserved for startup selection after the authenticated account matches an organization targeting policy; SDK callers default to `rpc` and cannot claim targeting provenance.
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTheautopilot_confirmationvariant.Thecli_flagvariant.Theorganization_targetingvariant.Therpcvariant.Theslash_commandvariant.Theuser_settingvariant. -
Method Summary
Modifier and TypeMethodDescriptionstatic PermissionModeSourcegetValue()static PermissionModeSourceReturns the enum constant of this class with the specified name.static PermissionModeSource[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CLI_FLAG
Thecli_flagvariant. -
SLASH_COMMAND
Theslash_commandvariant. -
AUTOPILOT_CONFIRMATION
Theautopilot_confirmationvariant. -
USER_SETTING
Theuser_settingvariant. -
ORGANIZATION_TARGETING
Theorganization_targetingvariant. -
RPC
Therpcvariant.
-
-
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
-