Enum DocumentDTO.TypeEnum
- java.lang.Object
-
- java.lang.Enum<DocumentDTO.TypeEnum>
-
- org.wso2.am.integration.clients.store.api.v1.dto.DocumentDTO.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<DocumentDTO.TypeEnum>
- Enclosing class:
- DocumentDTO
public static enum DocumentDTO.TypeEnum extends Enum<DocumentDTO.TypeEnum>
Gets or Sets type
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentDTO.TypeEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description API_MESSAGE_FORMATHOWTOOTHERPUBLIC_FORUMSAMPLESSUPPORT_FORUMSWAGGER_DOC
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentDTO.TypeEnumfromValue(String value)StringgetValue()StringtoString()static DocumentDTO.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static DocumentDTO.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HOWTO
public static final DocumentDTO.TypeEnum HOWTO
-
SAMPLES
public static final DocumentDTO.TypeEnum SAMPLES
-
PUBLIC_FORUM
public static final DocumentDTO.TypeEnum PUBLIC_FORUM
-
SUPPORT_FORUM
public static final DocumentDTO.TypeEnum SUPPORT_FORUM
-
API_MESSAGE_FORMAT
public static final DocumentDTO.TypeEnum API_MESSAGE_FORMAT
-
SWAGGER_DOC
public static final DocumentDTO.TypeEnum SWAGGER_DOC
-
OTHER
public static final DocumentDTO.TypeEnum OTHER
-
-
Method Detail
-
values
public static DocumentDTO.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 (DocumentDTO.TypeEnum c : DocumentDTO.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 DocumentDTO.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<DocumentDTO.TypeEnum>
-
fromValue
public static DocumentDTO.TypeEnum fromValue(String value)
-
-