Class ContactInfo
java.lang.Object
com.azure.analytics.purview.datamap.models.ContactInfo
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ContactInfo>
public final class ContactInfo
extends Object
implements com.azure.json.JsonSerializable<ContactInfo>
ContactInfo.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ContactInfofromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ContactInfo from the JsonReader.getId()Get the id property: Azure Active Directory object Id.getInfo()Get the info property: additional information to describe this contact.Set the id property: Azure Active Directory object Id.Set the info property: additional information to describe this 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
-
Constructor Details
-
ContactInfo
public ContactInfo()Creates an instance of ContactInfo class.
-
-
Method Details
-
getId
Get the id property: Azure Active Directory object Id.- Returns:
- the id value.
-
setId
Set the id property: Azure Active Directory object Id.- Parameters:
id- the id value to set.- Returns:
- the ContactInfo object itself.
-
getInfo
Get the info property: additional information to describe this contact.- Returns:
- the info value.
-
setInfo
Set the info property: additional information to describe this contact.- Parameters:
info- the info value to set.- Returns:
- the ContactInfo object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ContactInfo>- Throws:
IOException
-
fromJson
Reads an instance of ContactInfo from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ContactInfo 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 ContactInfo.
-