Class AutoCompleteResultValue
java.lang.Object
com.azure.analytics.purview.datamap.models.AutoCompleteResultValue
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AutoCompleteResultValue>
public final class AutoCompleteResultValue
extends Object
implements com.azure.json.JsonSerializable<AutoCompleteResultValue>
The value item of the autocomplete suggest.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AutoCompleteResultValuefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AutoCompleteResultValue from the JsonReader.Get the queryPlusText property: The completed search query text.getText()Get the text property: The completed term or phrase.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getText
Get the text property: The completed term or phrase.- Returns:
- the text value.
-
getQueryPlusText
Get the queryPlusText property: The completed search query text.- Returns:
- the queryPlusText value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AutoCompleteResultValue>- Throws:
IOException
-
fromJson
public static AutoCompleteResultValue fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AutoCompleteResultValue from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AutoCompleteResultValue if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the AutoCompleteResultValue.
-