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 parameters.
*
* @param query Search query.
* @param context Only search for rules with matching context.
* @param page Requested page of the API response.
* @param hitsPerPage Maximum number of hits per page.
* @param enabled Whether to only show rules where the value of their `enabled` property matches this parameter. If absent, show all rules, regardless of their `enabled` property.
* @param filters Filter expression. This only searches for rules matching the filter expression.
* @param facets Include facets and facet values in the response. Use `['*']` to include all facets.
* @param maxValuesPerFacet Maximum number of values to return for each facet.
*/
@Serializable
public data class SearchRecommendRulesParams(
/** Search query. */
@SerialName(value = "query") val query: String? = null,
/** Only search for rules with matching context. */
@SerialName(value = "context") val context: String? = null,
/** Requested page of the API response. */
@SerialName(value = "page") val page: Int? = null,
/** Maximum number of hits per page. */
@SerialName(value = "hitsPerPage") val hitsPerPage: Int? = null,
/** Whether to only show rules where the value of their `enabled` property matches this parameter. If absent, show all rules, regardless of their `enabled` property. */
@SerialName(value = "enabled") val enabled: Boolean? = null,
/** Filter expression. This only searches for rules matching the filter expression. */
@SerialName(value = "filters") val filters: String? = null,
/** Include facets and facet values in the response. Use `['*']` to include all facets. */
@SerialName(value = "facets") val facets: List? = null,
/** Maximum number of values to return for each facet. */
@SerialName(value = "maxValuesPerFacet") val maxValuesPerFacet: Int? = null,
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy