Package com.mewna.catnip.rest.guild
Class GuildData
java.lang.Object
com.mewna.catnip.rest.guild.GuildData
- All Implemented Interfaces:
- JsonConvertible
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddChannel(ChannelData channel) base64Icon(String base64Icon) configurePublicRole(Consumer<RoleData> configurator) configureRole(int id, Consumer<RoleData> configurator) static GuildDatacreateRole(Consumer<RoleData> configurator) createTextChannel(String name) createTextChannel(String name, Consumer<ChannelData> configurator) createVoiceChannel(String name) createVoiceChannel(String name, Consumer<ChannelData> configurator) defaultNotificationLevel(Guild.NotificationLevel defaultNotificationLevel) explicitContentFilter(Guild.ContentFilterLevel explicitContentFilter) getChannel(int position) getRole(int id) name()region()removeChannel(int position) removeChannel(ChannelData channel) removeRole(int id) removeRole(RoleData role) com.grack.nanojson.JsonObjecttoJson()verificationLevel(Guild.VerificationLevel verificationLevel) 
- 
Constructor Details- 
GuildData
 
- 
- 
Method Details- 
create
- 
name
- 
createRole
- 
createRole
- 
getRole
- 
configureRole
- 
getPublicRole
- 
configurePublicRole
- 
removeRole
- 
removeRole
- 
addRole
- 
createTextChannel
- 
createTextChannel@Nonnull public GuildData createTextChannel(@Nonnull String name, @Nonnull Consumer<ChannelData> configurator) 
- 
createVoiceChannel
- 
createVoiceChannel@Nonnull public GuildData createVoiceChannel(@Nonnull String name, @Nonnull Consumer<ChannelData> configurator) 
- 
getChannel
- 
removeChannel
- 
removeChannel
- 
addChannel
- 
toJson@Nonnull @CheckReturnValue public com.grack.nanojson.JsonObject toJson()- Specified by:
- toJsonin interface- JsonConvertible
 
- 
name
- 
region
- 
base64Icon
- 
verificationLevel
- 
defaultNotificationLevel
- 
explicitContentFilter
- 
region- Returns:
- this.
 
- 
base64Icon- Returns:
- this.
 
- 
verificationLevel- Returns:
- this.
 
- 
defaultNotificationLevel- Returns:
- this.
 
- 
explicitContentFilter- Returns:
- this.
 
 
-