diskord
5.2.0
common
diskord-core
/
com.jessecorbett.diskord.api.common
/
Template
Template
@
Serializable
data
class
Template
(
val
code
:
String
,
val
name
:
String
,
val
description
:
String
?
,
val
timesUsed
:
Int
,
val
creatorId
:
String
,
val
creator
:
User
,
val
createdAt
:
String
,
val
updatedAt
:
String
,
val
sourceGuildId
:
String
,
val
guildSnapshot
:
PartialGuild
,
val
isNotSynchronized
:
Boolean
)
(
source
)
Members
Constructors
Template
Link copied to clipboard
constructor
(
code
:
String
,
name
:
String
,
description
:
String
?
,
timesUsed
:
Int
,
creatorId
:
String
,
creator
:
User
,
createdAt
:
String
,
updatedAt
:
String
,
sourceGuildId
:
String
,
guildSnapshot
:
PartialGuild
,
isNotSynchronized
:
Boolean
)
Properties
code
Link copied to clipboard
@
SerialName
(
value
=
"code"
)
val
code
:
String
created
At
Link copied to clipboard
@
SerialName
(
value
=
"created_at"
)
val
createdAt
:
String
creator
Link copied to clipboard
@
SerialName
(
value
=
"creator"
)
val
creator
:
User
creator
Id
Link copied to clipboard
@
SerialName
(
value
=
"creator_id"
)
val
creatorId
:
String
description
Link copied to clipboard
@
SerialName
(
value
=
"description"
)
val
description
:
String
?
guild
Snapshot
Link copied to clipboard
@
SerialName
(
value
=
"serialized_source_guild"
)
val
guildSnapshot
:
PartialGuild
is
Not
Synchronized
Link copied to clipboard
@
SerialName
(
value
=
"id_dirty"
)
val
isNotSynchronized
:
Boolean
name
Link copied to clipboard
@
SerialName
(
value
=
"name"
)
val
name
:
String
source
Guild
Id
Link copied to clipboard
@
SerialName
(
value
=
"source_guild_id"
)
val
sourceGuildId
:
String
times
Used
Link copied to clipboard
@
SerialName
(
value
=
"usage_count"
)
val
timesUsed
:
Int
updated
At
Link copied to clipboard
@
SerialName
(
value
=
"updated_at"
)
val
updatedAt
:
String