All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.algolia.client.model.querysuggestions.ConfigurationWithIndex.kt Maven / Gradle / Ivy

Go to download

"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."

There is a newer version: 3.10.1
Show newest version
/** 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.querysuggestions

import kotlinx.serialization.*
import kotlinx.serialization.json.*

/**
 * Query Suggestions configuration.
 *
 * @param sourceIndices Algolia indices from which to get the popular searches for query suggestions.
 * @param indexName Name of the Query Suggestions index (case-sensitive).
 * @param languages
 * @param exclude
 * @param enablePersonalization Whether to turn on personalized query suggestions.
 * @param allowSpecialCharacters Whether to include suggestions with special characters.
 */
@Serializable
public data class ConfigurationWithIndex(

  /** Algolia indices from which to get the popular searches for query suggestions. */
  @SerialName(value = "sourceIndices") val sourceIndices: List,

  /** Name of the Query Suggestions index (case-sensitive). */
  @SerialName(value = "indexName") val indexName: String,

  @SerialName(value = "languages") val languages: Languages? = null,

  @SerialName(value = "exclude") val exclude: List? = null,

  /** Whether to turn on personalized query suggestions. */
  @SerialName(value = "enablePersonalization") val enablePersonalization: Boolean? = null,

  /** Whether to include suggestions with special characters. */
  @SerialName(value = "allowSpecialCharacters") val allowSpecialCharacters: Boolean? = null,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy