SearchResponse

@Serializable
data class SearchResponse(val success: Boolean, val users: List<SearchUser>, val searchType: String? = null, val searchKeywords: List<String>? = null, val pagination: SearchPagination? = null, val hasMore: Boolean = false, val total: Int? = null, val nextCursor: String? = null, val totalIsEstimate: Boolean? = null, val requestId: String)

搜索响应。

Constructors

Link copied to clipboard
constructor(success: Boolean, users: List<SearchUser>, searchType: String? = null, searchKeywords: List<String>? = null, pagination: SearchPagination? = null, hasMore: Boolean = false, total: Int? = null, nextCursor: String? = null, totalIsEstimate: Boolean? = null, requestId: String)

Properties

Link copied to clipboard
@SerialName(value = "has_more")
val hasMore: Boolean
Link copied to clipboard
@SerialName(value = "next_cursor")
val nextCursor: String?
Link copied to clipboard
@SerialName(value = "pagination")
val pagination: SearchPagination?
Link copied to clipboard
@SerialName(value = "requestId")
val requestId: String
Link copied to clipboard
@SerialName(value = "search_keywords")
val searchKeywords: List<String>?
Link copied to clipboard
@SerialName(value = "search_type")
val searchType: String?
Link copied to clipboard
@SerialName(value = "success")
val success: Boolean
Link copied to clipboard
@SerialName(value = "total")
val total: Int?
Link copied to clipboard
@SerialName(value = "total_is_estimate")
val totalIsEstimate: Boolean?
Link copied to clipboard
@SerialName(value = "users")
val users: List<SearchUser>