discord4j.discordjson.json.EmbedData 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.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import discord4j.discordjson.possible.Possible;
import org.immutables.value.Value;
import java.util.List;
@Value.Immutable
@JsonSerialize(as = ImmutableEmbedData.class)
@JsonDeserialize(as = ImmutableEmbedData.class)
public interface EmbedData {
static ImmutableEmbedData.Builder builder() {
return ImmutableEmbedData.builder();
}
Possible title();
Possible type();
Possible description();
Possible url();
Possible timestamp();
Possible color();
Possible footer();
Possible image();
Possible thumbnail();
Possible video();
Possible provider();
Possible author();
Possible> fields();
}