Enum APIDTO.VisibilityEnum
- java.lang.Object
-
- java.lang.Enum<APIDTO.VisibilityEnum>
-
- org.wso2.am.integration.clients.publisher.api.v1.dto.APIDTO.VisibilityEnum
-
- All Implemented Interfaces:
Serializable,Comparable<APIDTO.VisibilityEnum>
- Enclosing class:
- APIDTO
public static enum APIDTO.VisibilityEnum extends Enum<APIDTO.VisibilityEnum>
The visibility level of the API. Accepts one of the following. PUBLIC, PRIVATE, RESTRICTED.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAPIDTO.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 APIDTO.VisibilityEnumfromValue(String value)StringgetValue()StringtoString()static APIDTO.VisibilityEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static APIDTO.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 APIDTO.VisibilityEnum PUBLIC
-
PRIVATE
public static final APIDTO.VisibilityEnum PRIVATE
-
RESTRICTED
public static final APIDTO.VisibilityEnum RESTRICTED
-
-
Method Detail
-
values
public static APIDTO.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 (APIDTO.VisibilityEnum c : APIDTO.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 APIDTO.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<APIDTO.VisibilityEnum>
-
fromValue
public static APIDTO.VisibilityEnum fromValue(String value)
-
-