toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-common
/
dev.kord.common.entity
/
RoleSubscription
Role
Subscription
@
Serializable
data
class
RoleSubscription
(
val
subscriptionId
:
Snowflake
,
val
tierName
:
String
,
val
totalMonthsSubscribed
:
Int
,
val
isRenewal
:
Boolean
)
(
source
)
Members
Constructors
Role
Subscription
Link copied to clipboard
constructor
(
subscriptionId
:
Snowflake
,
tierName
:
String
,
totalMonthsSubscribed
:
Int
,
isRenewal
:
Boolean
)
Properties
is
Renewal
Link copied to clipboard
@
SerialName
(
value
=
"is_renewal"
)
val
isRenewal
:
Boolean
subscription
Id
Link copied to clipboard
@
SerialName
(
value
=
"role_subscription_listing_id"
)
val
subscriptionId
:
Snowflake
tier
Name
Link copied to clipboard
@
SerialName
(
value
=
"tier_name"
)
val
tierName
:
String
total
Months
Subscribed
Link copied to clipboard
@
SerialName
(
value
=
"total_months_subscribed"
)
val
totalMonthsSubscribed
:
Int