DiscoverySearchParams

@Serializable
data class DiscoverySearchParams(val query: String, val page: Int? = null, val pageSize: Int? = null, val type: String? = null)

Discovery 搜索参数 用于 discovery 搜索接口的请求参数

Parameters

query

搜索关键词

page

页码(可选,默认 1)

pageSize

每页数量(可选,默认 20)

type

搜索类型(可选)

Constructors

Link copied to clipboard
constructor(query: String, page: Int? = null, pageSize: Int? = null, type: String? = null)

Properties

Link copied to clipboard
val page: Int? = null

页码

Link copied to clipboard
val pageSize: Int? = null

每页数量

Link copied to clipboard

搜索关键词

Link copied to clipboard
val type: String? = null

搜索类型