GlossaryTreeElement

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

Bases: object

Glossary tree element with child terms.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a GlossaryTreeElement.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a GlossaryTreeElement.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a GlossaryTreeElement.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a GlossaryTreeElement.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a GlossaryTreeElement.

LIFECYCLE_STATE_INACTIVE

A constant which can be used with the lifecycle_state property of a GlossaryTreeElement.

LIFECYCLE_STATE_MOVING

A constant which can be used with the lifecycle_state property of a GlossaryTreeElement.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a GlossaryTreeElement.

WORKFLOW_STATUS_APPROVED

A constant which can be used with the workflow_status property of a GlossaryTreeElement.

WORKFLOW_STATUS_ESCALATED

A constant which can be used with the workflow_status property of a GlossaryTreeElement.

WORKFLOW_STATUS_NEW

A constant which can be used with the workflow_status property of a GlossaryTreeElement.

WORKFLOW_STATUS_UNDER_REVIEW

A constant which can be used with the workflow_status property of a GlossaryTreeElement.

associated_object_count

Gets the associated_object_count of this GlossaryTreeElement.

child_terms

Gets the child_terms of this GlossaryTreeElement.

description

Gets the description of this GlossaryTreeElement.

display_name

Gets the display_name of this GlossaryTreeElement.

glossary_key

Gets the glossary_key of this GlossaryTreeElement.

is_allowed_to_have_child_terms

Gets the is_allowed_to_have_child_terms of this GlossaryTreeElement.

key

[Required] Gets the key of this GlossaryTreeElement.

lifecycle_state

Gets the lifecycle_state of this GlossaryTreeElement.

parent_term_key

Gets the parent_term_key of this GlossaryTreeElement.

path

Gets the path of this GlossaryTreeElement.

time_created

Gets the time_created of this GlossaryTreeElement.

uri

Gets the uri of this GlossaryTreeElement.

workflow_status

Gets the workflow_status of this GlossaryTreeElement.

Methods:

__init__(**kwargs)

Initializes a new GlossaryTreeElement object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a GlossaryTreeElement. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a GlossaryTreeElement. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a GlossaryTreeElement. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a GlossaryTreeElement. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a GlossaryTreeElement. This constant has a value of “FAILED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a GlossaryTreeElement. This constant has a value of “INACTIVE”

LIFECYCLE_STATE_MOVING = 'MOVING'

A constant which can be used with the lifecycle_state property of a GlossaryTreeElement. This constant has a value of “MOVING”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a GlossaryTreeElement. This constant has a value of “UPDATING”

WORKFLOW_STATUS_APPROVED = 'APPROVED'

A constant which can be used with the workflow_status property of a GlossaryTreeElement. This constant has a value of “APPROVED”

WORKFLOW_STATUS_ESCALATED = 'ESCALATED'

A constant which can be used with the workflow_status property of a GlossaryTreeElement. This constant has a value of “ESCALATED”

WORKFLOW_STATUS_NEW = 'NEW'

A constant which can be used with the workflow_status property of a GlossaryTreeElement. This constant has a value of “NEW”

WORKFLOW_STATUS_UNDER_REVIEW = 'UNDER_REVIEW'

A constant which can be used with the workflow_status property of a GlossaryTreeElement. This constant has a value of “UNDER_REVIEW”

__init__(**kwargs)

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

Parameters
  • child_terms (list[oci.data_catalog.models.GlossaryTreeElement]) – The value to assign to the child_terms property of this GlossaryTreeElement.

  • key (str) – The value to assign to the key property of this GlossaryTreeElement.

  • display_name (str) – The value to assign to the display_name property of this GlossaryTreeElement.

  • description (str) – The value to assign to the description property of this GlossaryTreeElement.

  • glossary_key (str) – The value to assign to the glossary_key property of this GlossaryTreeElement.

  • uri (str) – The value to assign to the uri property of this GlossaryTreeElement.

  • parent_term_key (str) – The value to assign to the parent_term_key property of this GlossaryTreeElement.

  • is_allowed_to_have_child_terms (bool) – The value to assign to the is_allowed_to_have_child_terms property of this GlossaryTreeElement.

  • path (str) – The value to assign to the path property of this GlossaryTreeElement.

  • time_created (datetime) – The value to assign to the time_created property of this GlossaryTreeElement.

  • workflow_status (str) – The value to assign to the workflow_status property of this GlossaryTreeElement. Allowed values for this property are: “NEW”, “APPROVED”, “UNDER_REVIEW”, “ESCALATED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • associated_object_count (int) – The value to assign to the associated_object_count property of this GlossaryTreeElement.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this GlossaryTreeElement. Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, “MOVING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property associated_object_count

Gets the associated_object_count of this GlossaryTreeElement. The number of objects tagged with this term.

Returns

The associated_object_count of this GlossaryTreeElement.

Return type

int

property child_terms

Gets the child_terms of this GlossaryTreeElement. An array of child terms.

Returns

The child_terms of this GlossaryTreeElement.

Return type

list[oci.data_catalog.models.GlossaryTreeElement]

property description

Gets the description of this GlossaryTreeElement. Detailed description of the term.

Returns

The description of this GlossaryTreeElement.

Return type

str

property display_name

Gets the display_name of this GlossaryTreeElement. A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Returns

The display_name of this GlossaryTreeElement.

Return type

str

property glossary_key

Gets the glossary_key of this GlossaryTreeElement. Unique id of the parent glossary.

Returns

The glossary_key of this GlossaryTreeElement.

Return type

str

property is_allowed_to_have_child_terms

Gets the is_allowed_to_have_child_terms of this GlossaryTreeElement. Indicates whether a term may contain child terms.

Returns

The is_allowed_to_have_child_terms of this GlossaryTreeElement.

Return type

bool

property key

[Required] Gets the key of this GlossaryTreeElement. Unique term key that is immutable.

Returns

The key of this GlossaryTreeElement.

Return type

str

property lifecycle_state

Gets the lifecycle_state of this GlossaryTreeElement. State of the term.

Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, “MOVING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this GlossaryTreeElement.

Return type

str

property parent_term_key

Gets the parent_term_key of this GlossaryTreeElement. This terms parent term key. Will be null if the term has no parent term.

Returns

The parent_term_key of this GlossaryTreeElement.

Return type

str

property path

Gets the path of this GlossaryTreeElement. Absolute path of the term.

Returns

The path of this GlossaryTreeElement.

Return type

str

property time_created

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

Returns

The time_created of this GlossaryTreeElement.

Return type

datetime

property uri

Gets the uri of this GlossaryTreeElement. URI to the term instance in the API.

Returns

The uri of this GlossaryTreeElement.

Return type

str

property workflow_status

Gets the workflow_status of this GlossaryTreeElement. Status of the approval process workflow for this business term in the glossary.

Allowed values for this property are: “NEW”, “APPROVED”, “UNDER_REVIEW”, “ESCALATED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The workflow_status of this GlossaryTreeElement.

Return type

str