Enum Class SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus
java.lang.Object
java.lang.Enum<SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus>
com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus
- All Implemented Interfaces:
Serializable,Comparable<SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus>,Constable
- Enclosing class:
- SessionMcpListResult.SessionMcpListResultServersItem
public static enum SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus
extends Enum<SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus>
Connection status: connected, failed, needs-auth, pending, disabled, or not_configured
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTheconnectedvariant.Thedisabledvariant.Thefailedvariant.Theneeds-authvariant.Thenot_configuredvariant.Thependingvariant. -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CONNECTED
public static final SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus CONNECTEDTheconnectedvariant. -
FAILED
public static final SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus FAILEDThefailedvariant. -
NEEDS_AUTH
public static final SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus NEEDS_AUTHTheneeds-authvariant. -
PENDING
public static final SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus PENDINGThependingvariant. -
DISABLED
public static final SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus DISABLEDThedisabledvariant. -
NOT_CONFIGURED
public static final SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus NOT_CONFIGUREDThenot_configuredvariant.
-
-
Method Details
-
values
public static SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus[] 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 SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus 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 nameNullPointerException- if the argument is null
-
getValue
-
fromValue
public static SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus fromValue(String value)
-