Enum DocumentSearchResultDTO.DocTypeEnum
- java.lang.Object
-
- java.lang.Enum<DocumentSearchResultDTO.DocTypeEnum>
-
- org.wso2.am.integration.clients.store.api.v1.dto.DocumentSearchResultDTO.DocTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<DocumentSearchResultDTO.DocTypeEnum>
- Enclosing class:
- DocumentSearchResultDTO
public static enum DocumentSearchResultDTO.DocTypeEnum extends Enum<DocumentSearchResultDTO.DocTypeEnum>
Gets or Sets docType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentSearchResultDTO.DocTypeEnum.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 DocumentSearchResultDTO.DocTypeEnumfromValue(String value)StringgetValue()StringtoString()static DocumentSearchResultDTO.DocTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static DocumentSearchResultDTO.DocTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HOWTO
public static final DocumentSearchResultDTO.DocTypeEnum HOWTO
-
SAMPLES
public static final DocumentSearchResultDTO.DocTypeEnum SAMPLES
-
PUBLIC_FORUM
public static final DocumentSearchResultDTO.DocTypeEnum PUBLIC_FORUM
-
SUPPORT_FORUM
public static final DocumentSearchResultDTO.DocTypeEnum SUPPORT_FORUM
-
API_MESSAGE_FORMAT
public static final DocumentSearchResultDTO.DocTypeEnum API_MESSAGE_FORMAT
-
SWAGGER_DOC
public static final DocumentSearchResultDTO.DocTypeEnum SWAGGER_DOC
-
OTHER
public static final DocumentSearchResultDTO.DocTypeEnum OTHER
-
-
Method Detail
-
values
public static DocumentSearchResultDTO.DocTypeEnum[] 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 (DocumentSearchResultDTO.DocTypeEnum c : DocumentSearchResultDTO.DocTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentSearchResultDTO.DocTypeEnum 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<DocumentSearchResultDTO.DocTypeEnum>
-
fromValue
public static DocumentSearchResultDTO.DocTypeEnum fromValue(String value)
-
-