ObjectRelationship

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

Bases: object

Details regarding a specific object and its relationship to the referencing object.

Methods

__init__(**kwargs) Initializes a new ObjectRelationship object with values from keyword arguments.

Attributes

key Gets the key of this ObjectRelationship.
name Gets the name of this ObjectRelationship.
parent_key Gets the parent_key of this ObjectRelationship.
parent_path Gets the parent_path of this ObjectRelationship.
path Gets the path of this ObjectRelationship.
relationship_type Gets the relationship_type of this ObjectRelationship.
time_created Gets the time_created of this ObjectRelationship.
time_updated Gets the time_updated of this ObjectRelationship.
type_key Gets the type_key of this ObjectRelationship.
type_name Gets the type_name of this ObjectRelationship.
__init__(**kwargs)

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

Parameters:
  • relationship_type (str) – The value to assign to the relationship_type property of this ObjectRelationship.
  • key (str) – The value to assign to the key property of this ObjectRelationship.
  • name (str) – The value to assign to the name property of this ObjectRelationship.
  • type_name (str) – The value to assign to the type_name property of this ObjectRelationship.
  • type_key (str) – The value to assign to the type_key property of this ObjectRelationship.
  • time_created (datetime) – The value to assign to the time_created property of this ObjectRelationship.
  • time_updated (datetime) – The value to assign to the time_updated property of this ObjectRelationship.
  • path (str) – The value to assign to the path property of this ObjectRelationship.
  • parent_key (str) – The value to assign to the parent_key property of this ObjectRelationship.
  • parent_path (str) – The value to assign to the parent_path property of this ObjectRelationship.
key

Gets the key of this ObjectRelationship. Unique id of the object.

Returns:The key of this ObjectRelationship.
Return type:str
name

Gets the name of this ObjectRelationship. Name of the object.

Returns:The name of this ObjectRelationship.
Return type:str
parent_key

Gets the parent_key of this ObjectRelationship. Key of the parent object for the resource.

Returns:The parent_key of this ObjectRelationship.
Return type:str
parent_path

Gets the parent_path of this ObjectRelationship. Full path of the parent object.

Returns:The parent_path of this ObjectRelationship.
Return type:str
path

Gets the path of this ObjectRelationship. Full path of the object.

Returns:The path of this ObjectRelationship.
Return type:str
relationship_type

Gets the relationship_type of this ObjectRelationship. Type of relationship with the referencing object.

Returns:The relationship_type of this ObjectRelationship.
Return type:str
time_created

Gets the time_created of this ObjectRelationship. The date and time the relationship was created, in the format defined by RFC3339. Example: 2019-03-25T21:10:29.600Z

Returns:The time_created of this ObjectRelationship.
Return type:datetime
time_updated

Gets the time_updated of this ObjectRelationship. The last time a change was made to this reference. An RFC3339 formatted datetime string.

Returns:The time_updated of this ObjectRelationship.
Return type:datetime
type_key

Gets the type_key of this ObjectRelationship. Type key of the object. Type keys can be found via the ‘/types’ endpoint.

Returns:The type_key of this ObjectRelationship.
Return type:str
type_name

Gets the type_name of this ObjectRelationship. Type name of the object. Type names can be found via the ‘/types’ endpoint.

Returns:The type_name of this ObjectRelationship.
Return type:str