PlatVideo

class PlatVideo @ApiModelConstructor constructor(val url: String, val width: Int, val height: Int, val videoId: String, val duration: Int, val cover: PlatImage)(source)

富文本平台视频属性。

参考forum文档

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(url: String, width: Int, height: Int, videoId: String, duration: Int, cover: PlatImage)

Properties

Link copied to clipboard

视频封面图属性。

Link copied to clipboard

视频时长。

Link copied to clipboard
val height: Int

视频高度。

Link copied to clipboard
val url: String

视频链接。

Link copied to clipboard
@SerialName(value = "video_id")
val videoId: String

视频 ID。

Link copied to clipboard
val width: Int

视频宽度。

Functions

Link copied to clipboard
operator fun component1(): String
Link copied to clipboard
operator fun component2(): Int
Link copied to clipboard
operator fun component3(): Int
Link copied to clipboard
operator fun component4(): String
Link copied to clipboard
operator fun component5(): Int
Link copied to clipboard
operator fun component6(): PlatImage
Link copied to clipboard
fun copy(url: String = this.url, width: Int = this.width, height: Int = this.height, videoId: String = this.videoId, duration: Int = this.duration, cover: PlatImage = this.cover): PlatVideo
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