DiscordTemplate

data class DiscordTemplate(val code: String, val name: String, val description: String?, val usageCount: Int, val creatorId: Snowflake, val creator: DiscordUser, val createdAt: Instant, val updatedAt: Instant, val sourceGuildId: Snowflake, val serializedSourceGuild: DiscordPartialGuild, val isDirty: Boolean?)(source)

Constructors

Link copied to clipboard
constructor(code: String, name: String, description: String?, usageCount: Int, creatorId: Snowflake, creator: DiscordUser, createdAt: Instant, updatedAt: Instant, sourceGuildId: Snowflake, serializedSourceGuild: DiscordPartialGuild, isDirty: Boolean?)

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "created_at")
val createdAt: Instant
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "creator_id")
val creatorId: Snowflake
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "is_dirty")
val isDirty: Boolean?
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "serialized_source_guild")
val serializedSourceGuild: DiscordPartialGuild
Link copied to clipboard
@SerialName(value = "source_guild_id")
val sourceGuildId: Snowflake
Link copied to clipboard
@SerialName(value = "updated_at")
val updatedAt: Instant
Link copied to clipboard
@SerialName(value = "usage_count")
val usageCount: Int