Enum SystemChannelFlag
- All Implemented Interfaces:
 Serializable,Comparable<SystemChannelFlag>
Flags which configures a system channel of a
 
Guild.- See Also:
 
- 
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSuppress server setup tips.Hide member join sticker reply buttons.Suppress member join notifications.Suppress server boost notifications.Hide role subscription sticker reply buttons.Suppress role subscription purchase and renewal notifications. - 
Method Summary
Modifier and TypeMethodDescriptionstatic EnumSet<SystemChannelFlag> getFlags(int raw) Converts a bitmask representation of system channel flags into itsEnumSet.static intgetRaw(Collection<SystemChannelFlag> flags) Converts aCollectionof this class to its respective bitmask representing the same set of system channel flags.static SystemChannelFlagReturns the enum constant of this type with the specified name.static SystemChannelFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared. 
- 
Enum Constant Details
- 
SUPPRESS_JOIN_NOTIFICATIONS
Suppress member join notifications. - 
SUPPRESS_PREMIUM_SUBSCRIPTIONS
Suppress server boost notifications. - 
SUPPRESS_GUILD_REMINDER_NOTIFICATIONS
Suppress server setup tips. - 
SUPPRESS_JOIN_NOTIFICATION_REPLIES
Hide member join sticker reply buttons. - 
SUPPRESS_ROLE_SUBSCRIPTION_PURCHASE_NOTIFICATIONS
Suppress role subscription purchase and renewal notifications. - 
SUPPRESS_ROLE_SUBSCRIPTION_PURCHASE_NOTIFICATION_REPLIES
Hide role subscription sticker reply buttons. 
 - 
 - 
Method Details
- 
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
 - an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOf
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
 - 
getFlags
Converts a bitmask representation of system channel flags into itsEnumSet.- Parameters:
 raw- The raw bitmask representing the system channel flags- Returns:
 - An 
EnumSetof system channel flags represented by the input bitmask. 
 - 
getRaw
Converts aCollectionof this class to its respective bitmask representing the same set of system channel flags.- Parameters:
 flags- A set of system channel flags- Returns:
 - The raw bitmask representing the input flags.
 
 
 -