public enum PermissionsDeletePost extends Enum<PermissionsDeletePost> implements HasCode<PermissionsDeletePost>
| Modifier and Type | Class and Description |
|---|---|
static class |
PermissionsDeletePost.PermissionsDeletePostDeserializer |
| Enum Constant and Description |
|---|
ALL |
SYSTEM_ADMIN |
TEAM_ADMIN |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
static PermissionsDeletePost |
of(String code) |
static PermissionsDeletePost |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionsDeletePost[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionsDeletePost ALL
public static final PermissionsDeletePost TEAM_ADMIN
public static final PermissionsDeletePost SYSTEM_ADMIN
public static PermissionsDeletePost[] values()
for (PermissionsDeletePost c : PermissionsDeletePost.values()) System.out.println(c);
public static PermissionsDeletePost 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 static PermissionsDeletePost of(String code)
@Generated(value="lombok") public String getCode()
getCode in interface HasCode<PermissionsDeletePost>Copyright © 2019. All rights reserved.