Enum Class SandboxConfigSource

java.lang.Object
java.lang.Enum<SandboxConfigSource>
com.github.copilot.generated.rpc.SandboxConfigSource
All Implemented Interfaces:
Serializable, Comparable<SandboxConfigSource>, Constable

@CopilotExperimental @Generated("copilot-sdk-codegen") public enum SandboxConfigSource extends Enum<SandboxConfigSource>
Origin of the sandbox choice supplied by the host. This value describes preference or session intent; it does not authorize bypassing managed policy.
Since:
1.0.0
  • Enum Constant Details

    • NEVER_CONFIGURED

      public static final SandboxConfigSource NEVER_CONFIGURED
      The never_configured variant.
    • USER_ENABLED

      public static final SandboxConfigSource USER_ENABLED
      The user_enabled variant.
    • USER_DISABLED

      public static final SandboxConfigSource USER_DISABLED
      The user_disabled variant.
    • SESSION_FLAG

      public static final SandboxConfigSource SESSION_FLAG
      The session_flag variant.
    • SESSION_DISABLED

      public static final SandboxConfigSource SESSION_DISABLED
      The session_disabled variant.
    • UNSUPPORTED_HOST

      public static final SandboxConfigSource UNSUPPORTED_HOST
      The unsupported_host variant.
    • REPOSITORY_POLICY

      public static final SandboxConfigSource REPOSITORY_POLICY
      The repository_policy variant.
  • Method Details

    • values

      public static SandboxConfigSource[] 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 SandboxConfigSource 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 name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • fromValue

      public static SandboxConfigSource fromValue(String value)