Packages

c

ackcord.data

GuildTemplate

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
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GuildTemplate
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. val code: String
  2. val createdAt: OffsetDateTime
  3. val creator: User
  4. val creatorId: UserId
  5. val description: Option[String]
  6. val isDirty: Option[Boolean]
  7. val name: String
  8. def productElementNames: Iterator[String]
    Definition Classes
    Product
  9. val serializedSourceGuild: RawGuild
  10. val sourceGuildId: GuildId
  11. val updatedAt: OffsetDateTime
  12. val usageCount: Int