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

discord4j.discordjson.json.gateway.GuildScheduledEventUserAdd Maven / Gradle / Ivy

There is a newer version: 1.7.9
Show newest version
package discord4j.discordjson.json.gateway;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import discord4j.discordjson.Id;
import org.immutables.value.Value;

/**
 * Note: This event is considered experimental by Discord.
 * Discord
 */
@Value.Immutable
@JsonSerialize(as = ImmutableGuildScheduledEventUserAdd.class)
@JsonDeserialize(as = ImmutableGuildScheduledEventUserAdd.class)
public interface GuildScheduledEventUserAdd extends Dispatch {

    static ImmutableGuildScheduledEventUserAdd.Builder builder() {
        return ImmutableGuildScheduledEventUserAdd.builder();
    }

    @JsonProperty("guild_scheduled_event_id")
    Id scheduledEventId();

    @JsonProperty("user_id")
    Id userId();

    @JsonProperty("guild_id")
    Id guildId();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy