Enum Class McpServerStatus

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

@Generated("copilot-sdk-codegen") public enum McpServerStatus extends Enum<McpServerStatus>
Connection status: connected, failed, needs-auth, pending, disabled, or not_configured
Since:
1.0.0
  • Enum Constant Details

    • CONNECTED

      public static final McpServerStatus CONNECTED
      The connected variant.
    • FAILED

      public static final McpServerStatus FAILED
      The failed variant.
    • NEEDS_AUTH

      public static final McpServerStatus NEEDS_AUTH
      The needs-auth variant.
    • PENDING

      public static final McpServerStatus PENDING
      The pending variant.
    • DISABLED

      public static final McpServerStatus DISABLED
      The disabled variant.
    • NOT_CONFIGURED

      public static final McpServerStatus NOT_CONFIGURED
      The not_configured variant.
  • Method Details

    • values

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