FetchEntityLineageDetails¶
- class oci.data_catalog.models.FetchEntityLineageDetails(**kwargs)¶
Bases:
objectThe information needed to obtain desired lineage.
Attributes:
A constant which can be used with the direction property of a FetchEntityLineageDetails.
A constant which can be used with the direction property of a FetchEntityLineageDetails.
A constant which can be used with the direction property of a FetchEntityLineageDetails.
Gets the direction of this FetchEntityLineageDetails.
Gets the intra_lineage_object_key of this FetchEntityLineageDetails.
Gets the is_intra_lineage of this FetchEntityLineageDetails.
Gets the level of this FetchEntityLineageDetails.
Methods:
__init__(**kwargs)Initializes a new FetchEntityLineageDetails object with values from keyword arguments.
- DIRECTION_BOTH = 'BOTH'¶
A constant which can be used with the direction property of a FetchEntityLineageDetails. This constant has a value of “BOTH”
- DIRECTION_DOWNSTREAM = 'DOWNSTREAM'¶
A constant which can be used with the direction property of a FetchEntityLineageDetails. This constant has a value of “DOWNSTREAM”
- DIRECTION_UPSTREAM = 'UPSTREAM'¶
A constant which can be used with the direction property of a FetchEntityLineageDetails. This constant has a value of “UPSTREAM”
- __init__(**kwargs)¶
Initializes a new FetchEntityLineageDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
level (int) – The value to assign to the level property of this FetchEntityLineageDetails.
direction (str) – The value to assign to the direction property of this FetchEntityLineageDetails. Allowed values for this property are: “UPSTREAM”, “BOTH”, “DOWNSTREAM”
is_intra_lineage (bool) – The value to assign to the is_intra_lineage property of this FetchEntityLineageDetails.
intra_lineage_object_key (str) – The value to assign to the intra_lineage_object_key property of this FetchEntityLineageDetails.
- property direction¶
Gets the direction of this FetchEntityLineageDetails. Direction of the lineage returned.
Allowed values for this property are: “UPSTREAM”, “BOTH”, “DOWNSTREAM”
- Returns
The direction of this FetchEntityLineageDetails.
- Return type
str
- property intra_lineage_object_key¶
Gets the intra_lineage_object_key of this FetchEntityLineageDetails. Unique object key for which intra-lineage needs to be fetched. Only drill-down lineage corresponding to the object whose object key is passed is returned.
- Returns
The intra_lineage_object_key of this FetchEntityLineageDetails.
- Return type
str
- property is_intra_lineage¶
Gets the is_intra_lineage of this FetchEntityLineageDetails. Intra-lineages are drill down lineages. This field indicates whether all intra-lineages need to be expanded inline in the lineage returned.
- Returns
The is_intra_lineage of this FetchEntityLineageDetails.
- Return type
bool
- property level¶
Gets the level of this FetchEntityLineageDetails. Object level at which the lineage is returned.
- Returns
The level of this FetchEntityLineageDetails.
- Return type
int