Enum Class ModelChangeSource

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

@Generated("copilot-sdk-codegen") public enum ModelChangeSource extends Enum<ModelChangeSource>
Origin of an effective session model change.
Since:
1.0.0
  • Enum Constant Details

    • MODEL_COMMAND

      public static final ModelChangeSource MODEL_COMMAND
      The model_command variant.
    • SETTINGS_COMMAND

      public static final ModelChangeSource SETTINGS_COMMAND
      The settings_command variant.
    • CONFIG_COMMAND

      public static final ModelChangeSource CONFIG_COMMAND
      The config_command variant.
    • MODEL_PICKER

      public static final ModelChangeSource MODEL_PICKER
      The model_picker variant.
    • MANAGED_SETTINGS

      public static final ModelChangeSource MANAGED_SETTINGS
      The managed_settings variant.
    • REPO_SETTINGS

      public static final ModelChangeSource REPO_SETTINGS
      The repo_settings variant.
    • STARTUP

      public static final ModelChangeSource STARTUP
      The startup variant.
    • AGENT

      public static final ModelChangeSource AGENT
      The agent variant.
    • PLAN_MODE

      public static final ModelChangeSource PLAN_MODE
      The plan_mode variant.
    • AUTOMATIC

      public static final ModelChangeSource AUTOMATIC
      The automatic variant.
    • CHANGEBOARDING_SHORTCUT

      public static final ModelChangeSource CHANGEBOARDING_SHORTCUT
      The changeboarding_shortcut variant.
    • SDK

      public static final ModelChangeSource SDK
      The sdk variant.
    • AUTO_TIER_RECOMMENDATION

      public static final ModelChangeSource AUTO_TIER_RECOMMENDATION
      The auto_tier_recommendation variant.
  • Method Details

    • values

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