Class SearchTaxonomySetting

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

public final class SearchTaxonomySetting extends Object implements com.azure.json.JsonSerializable<SearchTaxonomySetting>
Taxonomy setting for search request.
  • Constructor Details

    • SearchTaxonomySetting

      public SearchTaxonomySetting()
      Creates an instance of SearchTaxonomySetting class.
  • Method Details

    • getAssetTypes

      public List<String> getAssetTypes()
      Get the assetTypes property: Asset types.
      Returns:
      the assetTypes value.
    • setAssetTypes

      public SearchTaxonomySetting setAssetTypes(List<String> assetTypes)
      Set the assetTypes property: Asset types.
      Parameters:
      assetTypes - the assetTypes value to set.
      Returns:
      the SearchTaxonomySetting object itself.
    • getFacet

      public SearchFacetItem getFacet()
      Get the facet property: The content of a search facet result item.
      Returns:
      the facet value.
    • setFacet

      public SearchTaxonomySetting setFacet(SearchFacetItem facet)
      Set the facet property: The content of a search facet result item.
      Parameters:
      facet - the facet value to set.
      Returns:
      the SearchTaxonomySetting object itself.
    • toJson

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

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