case class GuildTemplate(code: String, name: String, description: Option[String], usageCount: Int, creatorId: UserId, creator: User, createdAt: OffsetDateTime, updatedAt: OffsetDateTime, sourceGuildId: GuildId, serializedSourceGuild: RawGuild, isDirty: Option[Boolean]) extends Product with Serializable
- code
The code of the template
- name
Name of the template
- description
Description of the template
- usageCount
How many times the template has been used
- creatorId
Id of the user who created the template
- creator
Creator of the template
- createdAt
When the template was created
- updatedAt
When the template was updated
- sourceGuildId
What was the source of the template
- serializedSourceGuild
A snapshot of the guild this template was created from
- isDirty
If the template has unsaved changes
- Source
- GuildTemplate.scala
- Alphabetic
- By Inheritance
- GuildTemplate
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new GuildTemplate(code: String, name: String, description: Option[String], usageCount: Int, creatorId: UserId, creator: User, createdAt: OffsetDateTime, updatedAt: OffsetDateTime, sourceGuildId: GuildId, serializedSourceGuild: RawGuild, isDirty: Option[Boolean])
- code
The code of the template
- name
Name of the template
- description
Description of the template
- usageCount
How many times the template has been used
- creatorId
Id of the user who created the template
- creator
Creator of the template
- createdAt
When the template was created
- updatedAt
When the template was updated
- sourceGuildId
What was the source of the template
- serializedSourceGuild
A snapshot of the guild this template was created from
- isDirty
If the template has unsaved changes
Value Members
- val code: String
- val createdAt: OffsetDateTime
- val creator: User
- val creatorId: UserId
- val description: Option[String]
- val isDirty: Option[Boolean]
- val name: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val serializedSourceGuild: RawGuild
- val sourceGuildId: GuildId
- val updatedAt: OffsetDateTime
- val usageCount: Int