commonMain.com.algolia.client.model.search.Anchoring.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 Show documentation
Show all versions of algoliasearch-client-kotlin 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.search
import kotlinx.serialization.*
/**
* Which part of the search query the pattern should match: - `startsWith`. The pattern must match the beginning of the query. - `endsWith`. The pattern must match the end of the query. - `is`. The pattern must match the query exactly. - `contains`. The pattern must match anywhere in the query. Empty queries are only allowed as patterns with `anchoring: is`.
*/
@Serializable
public enum class Anchoring(public val value: kotlin.String) {
@SerialName(value = "is")
Is("is"),
@SerialName(value = "startsWith")
StartsWith("startsWith"),
@SerialName(value = "endsWith")
EndsWith("endsWith"),
@SerialName(value = "contains")
Contains("contains");
override fun toString(): kotlin.String = value
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy