Enum Class McpPlanValueCategory

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

@Generated("copilot-sdk-codegen") public enum McpPlanValueCategory extends Enum<McpPlanValueCategory>
Where a required value is applied when the planned server is launched
Since:
1.0.0
  • Enum Constant Details

    • ENVIRONMENT_VARIABLE

      public static final McpPlanValueCategory ENVIRONMENT_VARIABLE
      The environment-variable variant.
    • RUNTIME_ARGUMENT

      public static final McpPlanValueCategory RUNTIME_ARGUMENT
      The runtime-argument variant.
    • PACKAGE_ARGUMENT

      public static final McpPlanValueCategory PACKAGE_ARGUMENT
      The package-argument variant.
    • URL_VARIABLE

      public static final McpPlanValueCategory URL_VARIABLE
      The url-variable variant.
  • Method Details

    • values

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