SocialBadgesData

@Serializable
data class SocialBadgesData(val user: SocialBadgeUser? = null, val isOwner: Boolean? = null, val totalCount: Int? = null, val badges: List<SocialBadge>)

用户社交徽章数据,包含 VDS 返回的徽章列表。

Parameters

user

徽章所属用户

isOwner

当前用户是否为资料所有者

totalCount

徽章总数

badges

徽章列表

Constructors

Link copied to clipboard
constructor(user: SocialBadgeUser? = null, isOwner: Boolean? = null, totalCount: Int? = null, badges: List<SocialBadge>)

Properties

Link copied to clipboard
@SerialName(value = "badges")
val badges: List<SocialBadge>
Link copied to clipboard
@SerialName(value = "is_owner")
val isOwner: Boolean?
Link copied to clipboard
@SerialName(value = "total_count")
val totalCount: Int?
Link copied to clipboard
@SerialName(value = "user")
val user: SocialBadgeUser?