Package me.cadox8.xenapi.request
Enum RequestType
java.lang.Object
java.lang.Enum<RequestType>
me.cadox8.xenapi.request.RequestType
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RequestType>
,java.lang.constant.Constable
public enum RequestType extends java.lang.Enum<RequestType>
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATE
CREATE_ALERT
CREATE_POST
CREATE_THREAD
EDIT_USER
GET_ACCTIONS
GET_ADDON
GET_ADDONS
GET_ALERTS
GET_AVATAR
GET_CONVERSATIONS
GET_GROUP
GET_NODE
GET_NODES
GET_POST
GET_POSTS
LOGIN
LOGOUT
REGISTER
SEARCH
UPGRADE_USER
-
Method Summary
Modifier and Type Method Description static RequestType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RequestType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-