CreateTermRelationshipDetails

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

Bases: object

Properties used in term relationship create operations.

Methods

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

Attributes

description Gets the description of this CreateTermRelationshipDetails.
display_name [Required] Gets the display_name of this CreateTermRelationshipDetails.
related_term_key [Required] Gets the related_term_key of this CreateTermRelationshipDetails.
__init__(**kwargs)

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

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateTermRelationshipDetails.
  • description (str) – The value to assign to the description property of this CreateTermRelationshipDetails.
  • related_term_key (str) – The value to assign to the related_term_key property of this CreateTermRelationshipDetails.
description

Gets the description of this CreateTermRelationshipDetails. Detailed description of the term relationship usually defined at the time of creation.

Returns:The description of this CreateTermRelationshipDetails.
Return type:str
display_name

[Required] Gets the display_name of this CreateTermRelationshipDetails. A user-friendly display name. Is changeable. The combination of ‘displayName’ and ‘parentTermKey’ must be unique. Avoid entering confidential information. This is the same as ‘relationshipType’ for ‘termRelationship’.

Returns:The display_name of this CreateTermRelationshipDetails.
Return type:str
related_term_key

[Required] Gets the related_term_key of this CreateTermRelationshipDetails. Unique id of the related term.

Returns:The related_term_key of this CreateTermRelationshipDetails.
Return type:str