GuildScheduledEventCreateRequest

data class GuildScheduledEventCreateRequest(val channelId: OptionalSnowflake = OptionalSnowflake.Missing, val entityMetadata: Optional<GuildScheduledEventEntityMetadata> = Optional.Missing(), val name: String, val privacyLevel: GuildScheduledEventPrivacyLevel, val scheduledStartTime: Instant, val scheduledEndTime: Optional<Instant> = Optional.Missing(), val description: Optional<String> = Optional.Missing(), val entityType: ScheduledEntityType, val image: Optional<String> = Optional.Missing())(source)

Constructors

Link copied to clipboard
constructor(channelId: OptionalSnowflake = OptionalSnowflake.Missing, entityMetadata: Optional<GuildScheduledEventEntityMetadata> = Optional.Missing(), name: String, privacyLevel: GuildScheduledEventPrivacyLevel, scheduledStartTime: Instant, scheduledEndTime: Optional<Instant> = Optional.Missing(), description: Optional<String> = Optional.Missing(), entityType: ScheduledEntityType, image: Optional<String> = Optional.Missing())

Properties

Link copied to clipboard
@SerialName(value = "channel_id")
val channelId: OptionalSnowflake
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "entity_type")
val entityType: ScheduledEntityType
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "scheduled_end_time")
val scheduledEndTime: Optional<Instant>
Link copied to clipboard
@SerialName(value = "scheduled_start_time")
val scheduledStartTime: Instant