Category

data class Category @ApiResultType constructor(val id: String, val name: String, val allow: Int = 0, val deny: Int = 0, val roles: List<CategoryRole> = emptyList())(source)

帖子分区详情。

Since

4.3.0

Author

Forte

Constructors

Link copied to clipboard
constructor(id: String, name: String, allow: Int = 0, deny: Int = 0, roles: List<CategoryRole> = emptyList())

Properties

Link copied to clipboard
val allow: Int = 0

默认为 0,想要设置的允许的权限值

Link copied to clipboard
val deny: Int = 0

默认为 0,想要设置的拒绝的权限值

Link copied to clipboard
val id: String

帖子分区ID

Link copied to clipboard

分区名

Link copied to clipboard

角色或者用户在该分区下的权限值