Package com.thingworx.common
Enum RESTAPIConstants.FunctionType
- java.lang.Object
-
- java.lang.Enum<RESTAPIConstants.FunctionType>
-
- com.thingworx.common.RESTAPIConstants.FunctionType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RESTAPIConstants.FunctionType>
- Enclosing class:
- RESTAPIConstants
@ThingworxExtensionApiClass(since={6,6}) public static enum RESTAPIConstants.FunctionType extends java.lang.Enum<RESTAPIConstants.FunctionType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RESTAPIConstants.FunctionType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RESTAPIConstants.FunctionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ
public static final RESTAPIConstants.FunctionType READ
-
DELETE
public static final RESTAPIConstants.FunctionType DELETE
-
CREATE
public static final RESTAPIConstants.FunctionType CREATE
-
QUERY
public static final RESTAPIConstants.FunctionType QUERY
-
UPDATE
public static final RESTAPIConstants.FunctionType UPDATE
-
NONE
public static final RESTAPIConstants.FunctionType NONE
-
LIST
public static final RESTAPIConstants.FunctionType LIST
-
INVOKE
public static final RESTAPIConstants.FunctionType INVOKE
-
WRITE
public static final RESTAPIConstants.FunctionType WRITE
-
-
Method Detail
-
values
public static RESTAPIConstants.FunctionType[] 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 (RESTAPIConstants.FunctionType c : RESTAPIConstants.FunctionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RESTAPIConstants.FunctionType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-