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 Details

    • getText

      public String getText()
      Get the text property: The completed term or phrase.
      Returns:
      the text value.
    • getQueryPlusText

      public String getQueryPlusText()
      Get the queryPlusText property: The completed search query text.
      Returns:
      the queryPlusText value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.