PlatImage

class PlatImage @ApiModelConstructor constructor(val url: String, val width: Int, val height: Int, val imageId: String)(source)

富文本平台图片属性。

参考forum文档

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(url: String, width: Int, height: Int, imageId: String)

Properties

Link copied to clipboard
val height: Int

图片高度。

Link copied to clipboard
@SerialName(value = "image_id")
val imageId: String

图片 ID。

Link copied to clipboard
val url: String

图片链接。

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
fun copy(url: String = this.url, width: Int = this.width, height: Int = this.height, imageId: String = this.imageId): PlatImage
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