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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchTaxonomySettingfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchTaxonomySetting from the JsonReader.Get the assetTypes property: Asset types.getFacet()Get the facet property: The content of a search facet result item.setAssetTypes(List<String> assetTypes) Set the assetTypes property: Asset types.setFacet(SearchFacetItem facet) Set the facet property: The content of a search facet result item.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
-
Constructor Details
-
SearchTaxonomySetting
public SearchTaxonomySetting()Creates an instance of SearchTaxonomySetting class.
-
-
Method Details
-
getAssetTypes
Get the assetTypes property: Asset types.- Returns:
- the assetTypes value.
-
setAssetTypes
Set the assetTypes property: Asset types.- Parameters:
assetTypes- the assetTypes value to set.- Returns:
- the SearchTaxonomySetting object itself.
-
getFacet
Get the facet property: The content of a search facet result item.- Returns:
- the facet value.
-
setFacet
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
- Specified by:
toJsonin interfacecom.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.
-