Module net.bis5.mattermost4j.models
Package net.bis5.mattermost.model
Enum AutocompleteArg.AutocompleteArgType
- java.lang.Object
-
- java.lang.Enum<AutocompleteArg.AutocompleteArgType>
-
- net.bis5.mattermost.model.AutocompleteArg.AutocompleteArgType
-
- All Implemented Interfaces:
Serializable,Comparable<AutocompleteArg.AutocompleteArgType>,HasCode<AutocompleteArg.AutocompleteArgType>
- Enclosing class:
- AutocompleteArg
public static enum AutocompleteArg.AutocompleteArgType extends Enum<AutocompleteArg.AutocompleteArgType> implements HasCode<AutocompleteArg.AutocompleteArgType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAutocompleteArg.AutocompleteArgType.AutocompleteArgTypeDeserializer
-
Enum Constant Summary
Enum Constants Enum Constant Description DYNAMIC_LISTSTATIC_LISTTEXT_INPUT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()static AutocompleteArg.AutocompleteArgTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AutocompleteArg.AutocompleteArgType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT_INPUT
public static final AutocompleteArg.AutocompleteArgType TEXT_INPUT
-
STATIC_LIST
public static final AutocompleteArg.AutocompleteArgType STATIC_LIST
-
DYNAMIC_LIST
public static final AutocompleteArg.AutocompleteArgType DYNAMIC_LIST
-
-
Method Detail
-
values
public static AutocompleteArg.AutocompleteArgType[] 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 (AutocompleteArg.AutocompleteArgType c : AutocompleteArg.AutocompleteArgType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AutocompleteArg.AutocompleteArgType 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
-
getCode
public String getCode()
- Specified by:
getCodein interfaceHasCode<AutocompleteArg.AutocompleteArgType>
-
-