LineageRelationship

class oci.data_catalog.models.LineageRelationship(**kwargs)

Bases: object

Declares how two elements of object lineage are related.

Methods:

__init__(**kwargs)

Initializes a new LineageRelationship object with values from keyword arguments.

Attributes:

from_object_key

Gets the from_object_key of this LineageRelationship.

relationship_type

Gets the relationship_type of this LineageRelationship.

to_object_key

Gets the to_object_key of this LineageRelationship.

__init__(**kwargs)

Initializes a new LineageRelationship object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • from_object_key (str) – The value to assign to the from_object_key property of this LineageRelationship.

  • to_object_key (str) – The value to assign to the to_object_key property of this LineageRelationship.

  • relationship_type (str) – The value to assign to the relationship_type property of this LineageRelationship.

property from_object_key

Gets the from_object_key of this LineageRelationship. Object key of source lineage element.

Returns

The from_object_key of this LineageRelationship.

Return type

str

property relationship_type

Gets the relationship_type of this LineageRelationship. Type of the relationship.

Returns

The relationship_type of this LineageRelationship.

Return type

str

property to_object_key

Gets the to_object_key of this LineageRelationship. Object key of target lineage element.

Returns

The to_object_key of this LineageRelationship.

Return type

str