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 Summary
Modifier and TypeMethodDescriptionstatic SearchFacetResultValuefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchFacetResultValue from the JsonReader.Get the assetType property: Asset type.Get the classification property: Classification.Get the contactId property: Contact id.Get the contactType property: Contact type.Get the entityType property: Entity type.Get the glossaryType property: Glossary type.getLabel()Get the label property: Label.getTerm()Get the term property: Term.Get the termStatus property: Term status.Get the termTemplate property: Term template.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
-
Method Details
-
getEntityType
Get the entityType property: Entity type.- Returns:
- the entityType value.
-
getAssetType
Get the assetType property: Asset type.- Returns:
- the assetType value.
-
getClassification
Get the classification property: Classification.- Returns:
- the classification value.
-
getTerm
Get the term property: Term.- Returns:
- the term value.
-
getContactId
Get the contactId property: Contact id.- Returns:
- the contactId value.
-
getContactType
Get the contactType property: Contact type.- Returns:
- the contactType value.
-
getLabel
Get the label property: Label.- Returns:
- the label value.
-
getGlossaryType
Get the glossaryType property: Glossary type.- Returns:
- the glossaryType value.
-
getTermStatus
Get the termStatus property: Term status.- Returns:
- the termStatus value.
-
getTermTemplate
Get the termTemplate property: Term template.- Returns:
- the termTemplate value.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-