All Downloads are FREE. Search and download functionalities are using the official Maven repository.

discord4j.discordjson.json.GuildModifyRequest Maven / Gradle / Ivy

There is a newer version: 1.7.9
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy