commonMain.com.algolia.client.model.recommend.TrendingFacetHit.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of algoliasearch-client-kotlin-jvm Show documentation
Show all versions of algoliasearch-client-kotlin-jvm Show documentation
"Algolia is a powerful search-as-a-service solution, made easy to use with API clients, UI libraries, and pre-built integrations. Algolia API Client for Kotlin lets you easily use the Algolia Search REST API from your JVM project, such as Android or backend implementations."
/** 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.*
/**
* Trending facet hit.
*
* @param facetName Facet attribute. To be used in combination with `facetValue`. If specified, only recommendations matching the facet filter will be returned.
* @param facetValue Facet value. To be used in combination with `facetName`. If specified, only recommendations matching the facet filter will be returned.
* @param score Recommendation score.
*/
@Serializable
public data class TrendingFacetHit(
/** Facet attribute. To be used in combination with `facetValue`. If specified, only recommendations matching the facet filter will be returned. */
@SerialName(value = "facetName") val facetName: String,
/** Facet value. To be used in combination with `facetName`. If specified, only recommendations matching the facet filter will be returned. */
@SerialName(value = "facetValue") val facetValue: String,
/** Recommendation score. */
@SerialName(value = "_score") val score: Double? = null,
) : RecommendationsHit
© 2015 - 2024 Weber Informatics LLC | Privacy Policy