Class SearchFacetResultValue

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

public final class SearchFacetResultValue extends Object implements com.azure.json.JsonSerializable<SearchFacetResultValue>
A facet list that consists of index fields assetType ,classification, contactId, and label. When the facet is specified in the request, the value of the facet is returned as an element of @search.facets.
  • Method Details

    • getEntityType

      public List<SearchFacetItemValue> getEntityType()
      Get the entityType property: Entity type.
      Returns:
      the entityType value.
    • getAssetType

      public List<SearchFacetItemValue> getAssetType()
      Get the assetType property: Asset type.
      Returns:
      the assetType value.
    • getClassification

      public List<SearchFacetItemValue> getClassification()
      Get the classification property: Classification.
      Returns:
      the classification value.
    • getTerm

      public List<SearchFacetItemValue> getTerm()
      Get the term property: Term.
      Returns:
      the term value.
    • getContactId

      public List<SearchFacetItemValue> getContactId()
      Get the contactId property: Contact id.
      Returns:
      the contactId value.
    • getContactType

      public List<SearchFacetItemValue> getContactType()
      Get the contactType property: Contact type.
      Returns:
      the contactType value.
    • getLabel

      public List<SearchFacetItemValue> getLabel()
      Get the label property: Label.
      Returns:
      the label value.
    • getGlossaryType

      public List<SearchFacetItemValue> getGlossaryType()
      Get the glossaryType property: Glossary type.
      Returns:
      the glossaryType value.
    • getTermStatus

      public List<SearchFacetItemValue> getTermStatus()
      Get the termStatus property: Term status.
      Returns:
      the termStatus value.
    • getTermTemplate

      public List<SearchFacetItemValue> getTermTemplate()
      Get the termTemplate property: Term template.
      Returns:
      the termTemplate value.
    • toJson

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

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