Package net.dv8tion.jda.api.entities
Enum ChannelField
- java.lang.Object
-
- java.lang.Enum<ChannelField>
-
- net.dv8tion.jda.api.entities.ChannelField
-
- All Implemented Interfaces:
Serializable
,Comparable<ChannelField>
public enum ChannelField extends Enum<ChannelField>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCHIVED
ARCHIVED_TIMESTAMP
AUTO_ARCHIVE_DURATION
BITRATE
INVITABLE
LOCKED
NAME
NSFW
PARENT
POSITION
REGION
SLOWMODE
TOPIC
TYPE
USER_LIMIT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditLogKey
getAuditLogKey()
String
getFieldName()
String
toString()
static ChannelField
valueOf(String name)
Returns the enum constant of this type with the specified name.static ChannelField[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE
public static final ChannelField TYPE
-
NAME
public static final ChannelField NAME
-
POSITION
public static final ChannelField POSITION
-
TOPIC
public static final ChannelField TOPIC
-
NSFW
public static final ChannelField NSFW
-
SLOWMODE
public static final ChannelField SLOWMODE
-
PARENT
public static final ChannelField PARENT
-
BITRATE
public static final ChannelField BITRATE
-
REGION
public static final ChannelField REGION
-
USER_LIMIT
public static final ChannelField USER_LIMIT
-
AUTO_ARCHIVE_DURATION
public static final ChannelField AUTO_ARCHIVE_DURATION
-
ARCHIVED
public static final ChannelField ARCHIVED
-
ARCHIVED_TIMESTAMP
public static final ChannelField ARCHIVED_TIMESTAMP
-
LOCKED
public static final ChannelField LOCKED
-
INVITABLE
public static final ChannelField INVITABLE
-
-
Method Detail
-
values
public static ChannelField[] 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 (ChannelField c : ChannelField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChannelField 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
-
getAuditLogKey
@Nullable public AuditLogKey getAuditLogKey()
-
toString
public String toString()
- Overrides:
toString
in classEnum<ChannelField>
-
-