Enum APIDTO.TypeEnum
- java.lang.Object
-
- java.lang.Enum<APIDTO.TypeEnum>
-
- org.wso2.am.integration.clients.publisher.api.v1.dto.APIDTO.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<APIDTO.TypeEnum>
- Enclosing class:
- APIDTO
public static enum APIDTO.TypeEnum extends Enum<APIDTO.TypeEnum>
The api creation type to be used. Accepted values are HTTP, WS, SOAPTOREST, GRAPHQL, WEBSUB, SSE, WEBHOOK, ASYNC
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAPIDTO.TypeEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static APIDTO.TypeEnumfromValue(String value)StringgetValue()StringtoString()static APIDTO.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static APIDTO.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTTP
public static final APIDTO.TypeEnum HTTP
-
WS
public static final APIDTO.TypeEnum WS
-
SOAPTOREST
public static final APIDTO.TypeEnum SOAPTOREST
-
SOAP
public static final APIDTO.TypeEnum SOAP
-
GRAPHQL
public static final APIDTO.TypeEnum GRAPHQL
-
WEBSUB
public static final APIDTO.TypeEnum WEBSUB
-
SSE
public static final APIDTO.TypeEnum SSE
-
WEBHOOK
public static final APIDTO.TypeEnum WEBHOOK
-
ASYNC
public static final APIDTO.TypeEnum ASYNC
-
-
Method Detail
-
values
public static APIDTO.TypeEnum[] 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.TypeEnum c : APIDTO.TypeEnum.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.TypeEnum 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.TypeEnum>
-
fromValue
public static APIDTO.TypeEnum fromValue(String value)
-
-