diff --git a/client/src/commonMain/kotlin/com/algolia/client/model/personalization/EventScoring.kt b/client/src/commonMain/kotlin/com/algolia/client/model/personalization/EventsScoring.kt similarity index 92% rename from client/src/commonMain/kotlin/com/algolia/client/model/personalization/EventScoring.kt rename to client/src/commonMain/kotlin/com/algolia/client/model/personalization/EventsScoring.kt index 6dc3a45c..67c66224 100644 --- a/client/src/commonMain/kotlin/com/algolia/client/model/personalization/EventScoring.kt +++ b/client/src/commonMain/kotlin/com/algolia/client/model/personalization/EventsScoring.kt @@ -5,14 +5,14 @@ import kotlinx.serialization.* import kotlinx.serialization.json.* /** - * EventScoring + * EventsScoring * * @param score Event score. * @param eventName Event name. * @param eventType */ @Serializable -public data class EventScoring( +public data class EventsScoring( /** Event score. */ @SerialName(value = "score") val score: Int, diff --git a/client/src/commonMain/kotlin/com/algolia/client/model/personalization/FacetScoring.kt b/client/src/commonMain/kotlin/com/algolia/client/model/personalization/FacetsScoring.kt similarity index 91% rename from client/src/commonMain/kotlin/com/algolia/client/model/personalization/FacetScoring.kt rename to client/src/commonMain/kotlin/com/algolia/client/model/personalization/FacetsScoring.kt index df8e5023..c2d2d5af 100644 --- a/client/src/commonMain/kotlin/com/algolia/client/model/personalization/FacetScoring.kt +++ b/client/src/commonMain/kotlin/com/algolia/client/model/personalization/FacetsScoring.kt @@ -5,13 +5,13 @@ import kotlinx.serialization.* import kotlinx.serialization.json.* /** - * FacetScoring + * FacetsScoring * * @param score Event score. * @param facetName Facet attribute name. */ @Serializable -public data class FacetScoring( +public data class FacetsScoring( /** Event score. */ @SerialName(value = "score") val score: Int, diff --git a/client/src/commonMain/kotlin/com/algolia/client/model/personalization/PersonalizationStrategyParams.kt b/client/src/commonMain/kotlin/com/algolia/client/model/personalization/PersonalizationStrategyParams.kt index 44726f0a..7bdcd396 100644 --- a/client/src/commonMain/kotlin/com/algolia/client/model/personalization/PersonalizationStrategyParams.kt +++ b/client/src/commonMain/kotlin/com/algolia/client/model/personalization/PersonalizationStrategyParams.kt @@ -7,18 +7,18 @@ import kotlinx.serialization.json.* /** * PersonalizationStrategyParams * - * @param eventScoring Scores associated with each event. The higher the scores, the higher the impact of those events on the personalization of search results. - * @param facetScoring Scores associated with each facet. The higher the scores, the higher the impact of those events on the personalization of search results. + * @param eventsScoring Scores associated with each event. The higher the scores, the higher the impact of those events on the personalization of search results. + * @param facetsScoring Scores associated with each facet. The higher the scores, the higher the impact of those events on the personalization of search results. * @param personalizationImpact Impact of personalization on the search results. If set to 0, personalization has no impact on the search results. */ @Serializable public data class PersonalizationStrategyParams( /** Scores associated with each event. The higher the scores, the higher the impact of those events on the personalization of search results. */ - @SerialName(value = "eventScoring") val eventScoring: List, + @SerialName(value = "eventsScoring") val eventsScoring: List, /** Scores associated with each facet. The higher the scores, the higher the impact of those events on the personalization of search results. */ - @SerialName(value = "facetScoring") val facetScoring: List, + @SerialName(value = "facetsScoring") val facetsScoring: List, /** Impact of personalization on the search results. If set to 0, personalization has no impact on the search results. */ @SerialName(value = "personalizationImpact") val personalizationImpact: Int,