Enum MCPServerDTO.VisibilityEnum
- java.lang.Object
-
- java.lang.Enum<MCPServerDTO.VisibilityEnum>
-
- org.wso2.am.integration.clients.publisher.api.v1.dto.MCPServerDTO.VisibilityEnum
-
- All Implemented Interfaces:
Serializable,Comparable<MCPServerDTO.VisibilityEnum>
- Enclosing class:
- MCPServerDTO
public static enum MCPServerDTO.VisibilityEnum extends Enum<MCPServerDTO.VisibilityEnum>
The visibility level of the MCP Server. Accepts one of the following: PUBLIC, PRIVATE, RESTRICTED.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMCPServerDTO.VisibilityEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description PRIVATEPUBLICRESTRICTED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MCPServerDTO.VisibilityEnumfromValue(String value)StringgetValue()StringtoString()static MCPServerDTO.VisibilityEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static MCPServerDTO.VisibilityEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBLIC
public static final MCPServerDTO.VisibilityEnum PUBLIC
-
PRIVATE
public static final MCPServerDTO.VisibilityEnum PRIVATE
-
RESTRICTED
public static final MCPServerDTO.VisibilityEnum RESTRICTED
-
-
Method Detail
-
values
public static MCPServerDTO.VisibilityEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MCPServerDTO.VisibilityEnum c : MCPServerDTO.VisibilityEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MCPServerDTO.VisibilityEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<MCPServerDTO.VisibilityEnum>
-
fromValue
public static MCPServerDTO.VisibilityEnum fromValue(String value)
-
-