Class SuggestResult

java.lang.Object
com.azure.analytics.purview.datamap.models.SuggestResult
All Implemented Interfaces:
com.azure.json.JsonSerializable<SuggestResult>

public final class SuggestResult extends Object implements com.azure.json.JsonSerializable<SuggestResult>
The result item of the search suggest.
  • Method Details

    • getValue

      public List<SuggestResultValue> getValue()
      Get the value property: The result value.
      Returns:
      the value value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<SuggestResult>
      Throws:
      IOException
    • fromJson

      public static SuggestResult fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SuggestResult from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SuggestResult 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 SuggestResult.