Package org.javacord.api.entity.auditlog
Enum AuditLogChangeType
- java.lang.Object
-
- java.lang.Enum<AuditLogChangeType>
-
- org.javacord.api.entity.auditlog.AuditLogChangeType
-
- All Implemented Interfaces:
Serializable,Comparable<AuditLogChangeType>,Formattable,Nameable
public enum AuditLogChangeType extends Enum<AuditLogChangeType> implements Nameable
This class represents an audit log change type (sometimes also called key).
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuditLogChangeTypefromName(String name)Gets the type by its name.StringgetName()Gets the name of the type.static AuditLogChangeTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AuditLogChangeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAME
public static final AuditLogChangeType NAME
-
ICON
public static final AuditLogChangeType ICON
-
SPLASH
public static final AuditLogChangeType SPLASH
-
OWNER_ID
public static final AuditLogChangeType OWNER_ID
-
REGION
public static final AuditLogChangeType REGION
-
AFK_CHANNEL_ID
public static final AuditLogChangeType AFK_CHANNEL_ID
-
AFK_TIMEOUT
public static final AuditLogChangeType AFK_TIMEOUT
-
MFA_LEVEL
public static final AuditLogChangeType MFA_LEVEL
-
VERIFICATION_LEVEL
public static final AuditLogChangeType VERIFICATION_LEVEL
-
EXPLICIT_CONTENT_FILTER
public static final AuditLogChangeType EXPLICIT_CONTENT_FILTER
-
DEFAULT_MESSAGE_NOTIFICATIONS
public static final AuditLogChangeType DEFAULT_MESSAGE_NOTIFICATIONS
-
VANITY_URL_CODE
public static final AuditLogChangeType VANITY_URL_CODE
-
ROLE_ADD
public static final AuditLogChangeType ROLE_ADD
-
ROLE_REMOVE
public static final AuditLogChangeType ROLE_REMOVE
-
PRUNE_DELETE_DAYS
public static final AuditLogChangeType PRUNE_DELETE_DAYS
-
WIDGET_ENABLED
public static final AuditLogChangeType WIDGET_ENABLED
-
WIDGET_CHANNEL_ID
public static final AuditLogChangeType WIDGET_CHANNEL_ID
-
POSITION
public static final AuditLogChangeType POSITION
-
TOPIC
public static final AuditLogChangeType TOPIC
-
BITRATE
public static final AuditLogChangeType BITRATE
-
PERMISSION_OVERWRITES
public static final AuditLogChangeType PERMISSION_OVERWRITES
-
NSFW
public static final AuditLogChangeType NSFW
-
APPLICATION_ID
public static final AuditLogChangeType APPLICATION_ID
-
PERMISSIONS
public static final AuditLogChangeType PERMISSIONS
-
COLOR
public static final AuditLogChangeType COLOR
-
DISPLAY_SEPARATELY
public static final AuditLogChangeType DISPLAY_SEPARATELY
-
MENTIONABLE
public static final AuditLogChangeType MENTIONABLE
-
ALLOWED_PERMISSIONS
public static final AuditLogChangeType ALLOWED_PERMISSIONS
-
DENIED_PERMISSIONS
public static final AuditLogChangeType DENIED_PERMISSIONS
-
CODE
public static final AuditLogChangeType CODE
-
CHANNEL_ID
public static final AuditLogChangeType CHANNEL_ID
-
INVITER_ID
public static final AuditLogChangeType INVITER_ID
-
MAX_USES
public static final AuditLogChangeType MAX_USES
-
USES
public static final AuditLogChangeType USES
-
MAX_AGE
public static final AuditLogChangeType MAX_AGE
-
TEMPORARY
public static final AuditLogChangeType TEMPORARY
-
DEAF
public static final AuditLogChangeType DEAF
-
MUTE
public static final AuditLogChangeType MUTE
-
NICK
public static final AuditLogChangeType NICK
-
AVATAR
public static final AuditLogChangeType AVATAR
-
ID
public static final AuditLogChangeType ID
-
TYPE
public static final AuditLogChangeType TYPE
-
UNKNOWN
public static final AuditLogChangeType UNKNOWN
An unknown change type.
-
-
Method Detail
-
values
public static AuditLogChangeType[] 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 (AuditLogChangeType c : AuditLogChangeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuditLogChangeType 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
-
getName
public String getName()
Gets the name of the type.
-
fromName
public static AuditLogChangeType fromName(String name)
Gets the type by its name.- Parameters:
name- The name of the type.- Returns:
- The type with the given name.
-
-