SearchRequest

class SearchRequest(    val term: String,     val filters: Map<String, List<String>>? = null,     val page: Int? = null,     val perPage: Int? = null,     val sortBy: String? = null,     val sortOrder: String? = null,     val section: String? = null,     val hiddenFields: List<String>? = null,     val hiddenFacets: List<String>? = null,     val groupsSortBy: String? = null,     val groupsSortOrder: String? = null,     val variationsMap: VariationsMap? = null,     val preFilterExpression: String? = null,     val fmtOptions: Map<String, Any>? = null)

Create a Search request object utilizing a builder

Constructors

Link copied to clipboard
fun SearchRequest(    term: String,     filters: Map<String, List<String>>? = null,     page: Int? = null,     perPage: Int? = null,     sortBy: String? = null,     sortOrder: String? = null,     section: String? = null,     hiddenFields: List<String>? = null,     hiddenFacets: List<String>? = null,     groupsSortBy: String? = null,     groupsSortOrder: String? = null,     variationsMap: VariationsMap? = null,     preFilterExpression: String? = null,     fmtOptions: Map<String, Any>? = null)

Types

Link copied to clipboard
class Builder(val term: String)
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val filters: Map<String, List<String>>? = null
Link copied to clipboard
val fmtOptions: Map<String, Any>? = null
Link copied to clipboard
val groupsSortBy: String? = null
Link copied to clipboard
val groupsSortOrder: String? = null
Link copied to clipboard
val hiddenFacets: List<String>? = null
Link copied to clipboard
val hiddenFields: List<String>? = null
Link copied to clipboard
val page: Int? = null
Link copied to clipboard
val perPage: Int? = null
Link copied to clipboard
val preFilterExpression: String? = null
Link copied to clipboard
val section: String? = null
Link copied to clipboard
val sortBy: String? = null
Link copied to clipboard
val sortOrder: String? = null
Link copied to clipboard
val term: String
Link copied to clipboard
val variationsMap: VariationsMap? = null