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 Details

    • getId

      public String getId()
      Get the id property: The GUID of the contact.
      Returns:
      the id value.
    • getInfo

      public String getInfo()
      Get the info property: The description of the contact.
      Returns:
      the info value.
    • getContactType

      public String 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.