discord4j.discordjson.json.GuildModifyRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of discord-json Show documentation
Show all versions of discord-json Show documentation
Discord entity domain as immutable Jackson objects
package discord4j.discordjson.json;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import discord4j.discordjson.possible.Possible;
import org.immutables.value.Value;
import java.util.List;
import java.util.Optional;
@Value.Immutable
@JsonSerialize(as = ImmutableGuildModifyRequest.class)
@JsonDeserialize(as = ImmutableGuildModifyRequest.class)
public interface GuildModifyRequest {
static ImmutableGuildModifyRequest.Builder builder() {
return ImmutableGuildModifyRequest.builder();
}
Possible name();
Possible> region();
@JsonProperty("verification_level")
Possible> verificationLevel();
@JsonProperty("default_message_notifications")
Possible> defaultMessageNotifications();
@JsonProperty("explicit_content_filter")
Possible> explicitContentFilter();
@JsonProperty("afk_channel_id")
Possible> afkChannelId();
@JsonProperty("afk_timeout")
Possible afkTimeout();
Possible> icon();
@JsonProperty("owner_id")
Possible ownerId();
Possible> splash();
@JsonProperty("discovery_splash")
Possible> discoverySplash();
Possible> banner();
@JsonProperty("system_channel_id")
Possible> systemChannelId();
@JsonProperty("system_channel_flags")
Possible systemChannelFlags();
@JsonProperty("rules_channel_id")
Possible> rulesChannelId();
@JsonProperty("public_updates_channel_id")
Possible> publicUpdatesChannelId();
@JsonProperty("preferred_locale")
Possible> preferredLocale();
Possible> features();
Possible> description();
@JsonProperty("safety_alerts_channel_id")
Possible> safetyAlertsChannelId();
}