Body

class Body @ApiModelConstructor constructor(val name: String? = null, val position: Int? = null, val parentId: String? = null, val privateType: PrivateType? = null, val speakPermission: SpeakPermission? = null)(source)

用于 ModifyChannelApi 的请求体。

需要修改哪个字段,就传递哪个字段即可。

Constructors

Link copied to clipboard
constructor(name: String? = null, position: Int? = null, parentId: String? = null, privateType: PrivateType? = null, speakPermission: SpeakPermission? = null)

Types

Link copied to clipboard
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val name: String?

子频道名

Link copied to clipboard
@SerialName(value = "parent_id")
val parentId: String?

分组 id

Link copied to clipboard

排序

Link copied to clipboard
@SerialName(value = "private_type")
val privateType: PrivateType?

子频道私密类型 PrivateType

Link copied to clipboard
@SerialName(value = "speak_permission")
val speakPermission: SpeakPermission?

子频道发言权限 SpeakPermission

Functions

Link copied to clipboard
operator fun component1(): String?
Link copied to clipboard
operator fun component2(): Int?
Link copied to clipboard
operator fun component3(): String?
Link copied to clipboard
operator fun component4(): PrivateType?
Link copied to clipboard
operator fun component5(): SpeakPermission?
Link copied to clipboard
fun copy(name: String? = this.name, position: Int? = this.position, parentId: String? = this.parentId, privateType: PrivateType? = this.privateType, speakPermission: SpeakPermission? = this.speakPermission): ModifyChannelApi.Body
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String