Package org.javacord.api.entity.auditlog
Enum AuditLogChangeType
- java.lang.Object
-
- java.lang.Enum<AuditLogChangeType>
-
- org.javacord.api.entity.auditlog.AuditLogChangeType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AuditLogChangeType>,java.util.Formattable,Nameable
public enum AuditLogChangeType extends java.lang.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(java.lang.String name)Gets the type by its name.java.lang.StringgetName()Gets the name of the type.static AuditLogChangeTypevalueOf(java.lang.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
-
ID
public static final AuditLogChangeType ID
-
NAME
public static final AuditLogChangeType NAME
-
TYPE
public static final AuditLogChangeType TYPE
-
AFK_CHANNEL_ID
public static final AuditLogChangeType AFK_CHANNEL_ID
-
AFK_TIMEOUT
public static final AuditLogChangeType AFK_TIMEOUT
-
BANNER
public static final AuditLogChangeType BANNER
-
DEFAULT_MESSAGE_NOTIFICATIONS
public static final AuditLogChangeType DEFAULT_MESSAGE_NOTIFICATIONS
-
DESCRIPTION
public static final AuditLogChangeType DESCRIPTION
-
DISCOVERY_SPLASH
public static final AuditLogChangeType DISCOVERY_SPLASH
-
EXPLICIT_CONTENT_FILTER
public static final AuditLogChangeType EXPLICIT_CONTENT_FILTER
-
ICON
public static final AuditLogChangeType ICON
-
MFA_LEVEL
public static final AuditLogChangeType MFA_LEVEL
-
OWNER_ID
public static final AuditLogChangeType OWNER_ID
-
PREFERRED_LOCALE
public static final AuditLogChangeType PREFERRED_LOCALE
-
PRUNE_DELETE_DAYS
public static final AuditLogChangeType PRUNE_DELETE_DAYS
-
PUBLIC_UPDATES_CHANNEL_ID
public static final AuditLogChangeType PUBLIC_UPDATES_CHANNEL_ID
-
REGION
public static final AuditLogChangeType REGION
-
RULES_CHANNEL_ID
public static final AuditLogChangeType RULES_CHANNEL_ID
-
SPLASH
public static final AuditLogChangeType SPLASH
-
SYSTEM_CHANNEL_ID
public static final AuditLogChangeType SYSTEM_CHANNEL_ID
-
VANITY_URL_CODE
public static final AuditLogChangeType VANITY_URL_CODE
-
VERIFICATION_LEVEL
public static final AuditLogChangeType VERIFICATION_LEVEL
-
WIDGET_CHANNEL_ID
public static final AuditLogChangeType WIDGET_CHANNEL_ID
-
WIDGET_ENABLED
public static final AuditLogChangeType WIDGET_ENABLED
-
ROLE_ADD
public static final AuditLogChangeType ROLE_ADD
-
ROLE_REMOVE
public static final AuditLogChangeType ROLE_REMOVE
-
APPLICATION_ID
public static final AuditLogChangeType APPLICATION_ID
-
BITRATE
public static final AuditLogChangeType BITRATE
-
DEFAULT_AUTO_ARCHIVE_DURATION
public static final AuditLogChangeType DEFAULT_AUTO_ARCHIVE_DURATION
-
NSFW
public static final AuditLogChangeType NSFW
-
PERMISSION_OVERWRITES
public static final AuditLogChangeType PERMISSION_OVERWRITES
-
POSITION
public static final AuditLogChangeType POSITION
-
RATE_LIMIT_PER_USER
public static final AuditLogChangeType RATE_LIMIT_PER_USER
-
TOPIC
public static final AuditLogChangeType TOPIC
-
USER_LIMIT
public static final AuditLogChangeType USER_LIMIT
-
ARCHIVED
public static final AuditLogChangeType ARCHIVED
-
AUTO_ARCHIVE_DURATION
public static final AuditLogChangeType AUTO_ARCHIVE_DURATION
-
LOCKED
public static final AuditLogChangeType LOCKED
-
ALLOWED_PERMISSIONS
public static final AuditLogChangeType ALLOWED_PERMISSIONS
-
COLOR
public static final AuditLogChangeType COLOR
-
DENIED_PERMISSIONS
public static final AuditLogChangeType DENIED_PERMISSIONS
-
DISPLAY_SEPARATELY
public static final AuditLogChangeType DISPLAY_SEPARATELY
-
MENTIONABLE
public static final AuditLogChangeType MENTIONABLE
-
PERMISSIONS
public static final AuditLogChangeType PERMISSIONS
-
UNICODE_EMOJI
public static final AuditLogChangeType UNICODE_EMOJI
-
ASSET
public static final AuditLogChangeType ASSET
-
AVAILABLE
public static final AuditLogChangeType AVAILABLE
-
FORMAT_TYPE
public static final AuditLogChangeType FORMAT_TYPE
-
GUILD_ID
public static final AuditLogChangeType GUILD_ID
-
TAGS
public static final AuditLogChangeType TAGS
-
CHANNEL_ID
public static final AuditLogChangeType CHANNEL_ID
-
CODE
public static final AuditLogChangeType CODE
-
INVITER_ID
public static final AuditLogChangeType INVITER_ID
-
MAX_AGE
public static final AuditLogChangeType MAX_AGE
-
MAX_USES
public static final AuditLogChangeType MAX_USES
-
TEMPORARY
public static final AuditLogChangeType TEMPORARY
-
USES
public static final AuditLogChangeType USES
-
AVATAR
public static final AuditLogChangeType AVATAR
-
DEAF
public static final AuditLogChangeType DEAF
-
MUTE
public static final AuditLogChangeType MUTE
-
NICK
public static final AuditLogChangeType NICK
-
ENABLE_EMOTICONS
public static final AuditLogChangeType ENABLE_EMOTICONS
-
EXPIRE_BEHAVIOR
public static final AuditLogChangeType EXPIRE_BEHAVIOR
-
EXPIRE_GRACE_PERIOD
public static final AuditLogChangeType EXPIRE_GRACE_PERIOD
-
PRIVACY_LEVEL
public static final AuditLogChangeType PRIVACY_LEVEL
-
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(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
-
getName
public java.lang.String getName()
Gets the name of the type.
-
fromName
public static AuditLogChangeType fromName(java.lang.String name)
Gets the type by its name.- Parameters:
name- The name of the type.- Returns:
- The type with the given name.
-
-