Enum Class AutoTier

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

@Generated("copilot-sdk-codegen") public enum AutoTier extends Enum<AutoTier>
Routing preference used when the session model is `auto`. `fast` is an integrator-only latency preset and is not a first-party GitHub Copilot product preference.
Since:
1.0.0
  • Enum Constant Details

    • EFFICIENCY

      public static final AutoTier EFFICIENCY
      The efficiency variant.
    • BALANCE

      public static final AutoTier BALANCE
      The balance variant.
    • INTELLIGENCE

      public static final AutoTier INTELLIGENCE
      The intelligence variant.
    • FAST

      public static final AutoTier FAST
      The fast variant.
  • Method Details

    • values

      public static AutoTier[] 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 AutoTier 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 AutoTier fromValue(String value)