
commonMain.com.algolia.client.model.recommend.SearchRecommendRulesParams.kt Maven / Gradle / Ivy
/** Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. */
package com.algolia.client.model.recommend
import kotlinx.serialization.*
import kotlinx.serialization.json.*
/**
* Recommend rules search parameters.
*
* @param query Full-text query.
* @param context Restricts responses to the specified [contextual rule](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#creating-contextual-rules).
* @param page Requested page (the first page is page 0).
* @param hitsPerPage Maximum number of hits per page.
* @param enabled Restricts responses to enabled rules. When absent (default), _all_ rules are retrieved.
* @param requestOptions Request options to send with the API call.
*/
@Serializable
public data class SearchRecommendRulesParams(
/** Full-text query. */
@SerialName(value = "query") val query: String? = null,
/** Restricts responses to the specified [contextual rule](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#creating-contextual-rules). */
@SerialName(value = "context") val context: String? = null,
/** Requested page (the first page is page 0). */
@SerialName(value = "page") val page: Int? = null,
/** Maximum number of hits per page. */
@SerialName(value = "hitsPerPage") val hitsPerPage: Int? = null,
/** Restricts responses to enabled rules. When absent (default), _all_ rules are retrieved. */
@SerialName(value = "enabled") val enabled: Boolean? = null,
/** Request options to send with the API call. */
@SerialName(value = "requestOptions") val requestOptions: List? = null,
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy