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

discord4j.discordjson.json.GuildScheduledEventModifyRequest 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.Id;
import discord4j.discordjson.possible.Possible;
import org.immutables.value.Value;

import java.time.Instant;
import java.util.Optional;

@Value.Immutable
@JsonSerialize(as = ImmutableGuildScheduledEventModifyRequest.class)
@JsonDeserialize(as = ImmutableGuildScheduledEventModifyRequest.class)
public interface GuildScheduledEventModifyRequest {

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

    /* must be set to null if entity type is changed to external */
    @JsonProperty("channel_id")
    Possible> channelId();

    /* Required (with location) if changing entity type to external */
    @JsonProperty("entity_metadata")
    Possible entityMetadata();

    Possible name();

    @JsonProperty("privacy_level")
    Possible privacyLevel();

    @JsonProperty("scheduled_start_time")
    Possible scheduledStartTime();

    /* Required if changing entity type to external */
    @JsonProperty("scheduled_end_time")
    Possible scheduledEndTime();

    Possible description();

    @JsonProperty("entity_type")
    Possible entityType();

    Possible status();

    Possible image();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy