commonMain.com.algolia.client.model.search.HighlightResultOption.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.search
import kotlinx.serialization.*
import kotlinx.serialization.json.*
/**
* Surround words that match the query with HTML tags for highlighting.
*
* @param `value` Highlighted attribute value, including HTML tags.
* @param matchLevel
* @param matchedWords List of matched words from the search query.
* @param fullyHighlighted Whether the entire attribute value is highlighted.
*/
@Serializable
public data class HighlightResultOption(
/** Highlighted attribute value, including HTML tags. */
@SerialName(value = "value") val `value`: String,
@SerialName(value = "matchLevel") val matchLevel: MatchLevel,
/** List of matched words from the search query. */
@SerialName(value = "matchedWords") val matchedWords: List,
/** Whether the entire attribute value is highlighted. */
@SerialName(value = "fullyHighlighted") val fullyHighlighted: Boolean? = null,
) : HighlightResult
© 2015 - 2024 Weber Informatics LLC | Privacy Policy