Class ContactSearchResultValue
java.lang.Object
com.azure.analytics.purview.datamap.models.ContactSearchResultValue
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ContactSearchResultValue>
public final class ContactSearchResultValue
extends Object
implements com.azure.json.JsonSerializable<ContactSearchResultValue>
The contact in the search and suggest result.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ContactSearchResultValuefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ContactSearchResultValue from the JsonReader.Get the contactType property: The type of the contact.getId()Get the id property: The GUID of the contact.getInfo()Get the info property: The description of the contact.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
-
getId
Get the id property: The GUID of the contact.- Returns:
- the id value.
-
getInfo
Get the info property: The description of the contact.- Returns:
- the info value.
-
getContactType
Get the contactType property: The type of the contact. It can be Expert or Owner for an entity. It can be Expert or Steward for a glossary term.- Returns:
- the contactType value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ContactSearchResultValue>- Throws:
IOException
-
fromJson
public static ContactSearchResultValue fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ContactSearchResultValue from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ContactSearchResultValue 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 ContactSearchResultValue.
-