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 Details

    • getChildEntityId

      public String getChildEntityId()
      Get the childEntityId property: The GUID of child entity.
      Returns:
      the childEntityId value.
    • getRelationshipId

      public String getRelationshipId()
      Get the relationshipId property: The GUID of relationship.
      Returns:
      the relationshipId value.
    • getParentEntityId

      public String getParentEntityId()
      Get the parentEntityId property: The GUID of parent entity.
      Returns:
      the parentEntityId value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ParentRelation>
      Throws:
      IOException
    • fromJson

      public static ParentRelation fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.