@Generated(value="org.jsonschema2pojo") public static enum DirectMessageEvent.Type extends Enum<DirectMessageEvent.Type>
Enum Constant and Description |
---|
MESSAGE_CREATE |
Modifier and Type | Method and Description |
---|---|
static DirectMessageEvent.Type |
fromValue(String value) |
String |
toString() |
static DirectMessageEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DirectMessageEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirectMessageEvent.Type MESSAGE_CREATE
public static DirectMessageEvent.Type[] values()
for (DirectMessageEvent.Type c : DirectMessageEvent.Type.values()) System.out.println(c);
public static DirectMessageEvent.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<DirectMessageEvent.Type>
public static DirectMessageEvent.Type fromValue(String value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.