ScheduleRequestBody

class ScheduleRequestBody @ApiModelConstructor constructor(val name: String, val description: String, val startTimestamp: Long, val endTimestamp: Long, val jumpChannelId: String, val remindType: String)(source)

用于 CreateScheduleApi、ModifyScheduleApi 的请求体类型, 结构类似于 Schedule,但是没有 id 和 creator。

See also

Constructors

Link copied to clipboard
constructor(name: String, description: String, startTimestamp: Long, endTimestamp: Long, jumpChannelId: String, remindType: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

日程描述

Link copied to clipboard
@SerialName(value = "end_timestamp")
val endTimestamp: Long

日程结束时间戳(ms)

Link copied to clipboard
@SerialName(value = "jump_channel_id")
val jumpChannelId: String

日程开始时跳转到的子频道 id

Link copied to clipboard

日程名称

Link copied to clipboard
@SerialName(value = "remind_type")
val remindType: String

日程提醒类型,取值参考 ScheduleRemindType

Link copied to clipboard
@SerialName(value = "start_timestamp")
val startTimestamp: Long

日程开始时间戳(ms)

Functions

Link copied to clipboard
operator fun component1(): String
Link copied to clipboard
operator fun component2(): String
Link copied to clipboard
operator fun component3(): Long
Link copied to clipboard
operator fun component4(): Long
Link copied to clipboard
operator fun component5(): String
Link copied to clipboard
operator fun component6(): String
Link copied to clipboard
fun copy(name: String = this.name, description: String = this.description, startTimestamp: Long = this.startTimestamp, endTimestamp: Long = this.endTimestamp, jumpChannelId: String = this.jumpChannelId, remindType: String = this.remindType): ScheduleRequestBody
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