discord4j.discordjson.json.gateway.VoiceServerUpdate 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.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;
import reactor.util.annotation.Nullable;
@Value.Immutable
@JsonSerialize(as = ImmutableVoiceServerUpdate.class)
@JsonDeserialize(as = ImmutableVoiceServerUpdate.class)
public interface VoiceServerUpdate extends Dispatch {
static ImmutableVoiceServerUpdate.Builder builder() {
return ImmutableVoiceServerUpdate.builder();
}
String token();
@JsonProperty("guild_id")
Id guildId();
@Nullable
String endpoint();
}