Class ParentRelation
java.lang.Object
com.azure.analytics.purview.datamap.models.ParentRelation
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ParentRelation>
public final class ParentRelation
extends Object
implements com.azure.json.JsonSerializable<ParentRelation>
The lineage parents relation with GUID of the parent entity and to child entity.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParentRelationfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ParentRelation from the JsonReader.Get the childEntityId property: The GUID of child entity.Get the parentEntityId property: The GUID of parent entity.Get the relationshipId property: The GUID of relationship.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
-
getChildEntityId
Get the childEntityId property: The GUID of child entity.- Returns:
- the childEntityId value.
-
getRelationshipId
Get the relationshipId property: The GUID of relationship.- Returns:
- the relationshipId value.
-
getParentEntityId
Get the parentEntityId property: The GUID of parent entity.- Returns:
- the parentEntityId value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ParentRelation>- Throws:
IOException
-
fromJson
Reads an instance of ParentRelation from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ParentRelation 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 ParentRelation.
-