NamespaceSummary

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

Bases: object

Summary of a namespace

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a NamespaceSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a NamespaceSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a NamespaceSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a NamespaceSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a NamespaceSummary.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a NamespaceSummary.
LIFECYCLE_STATE_MOVING A constant which can be used with the lifecycle_state property of a NamespaceSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a NamespaceSummary.
description Gets the description of this NamespaceSummary.
display_name Gets the display_name of this NamespaceSummary.
is_service_defined Gets the is_service_defined of this NamespaceSummary.
key [Required] Gets the key of this NamespaceSummary.
lifecycle_state Gets the lifecycle_state of this NamespaceSummary.
time_created Gets the time_created of this NamespaceSummary.

Methods

__init__(**kwargs) Initializes a new NamespaceSummary object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

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

LIFECYCLE_STATE_MOVING = 'MOVING'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

__init__(**kwargs)

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

Parameters:
  • key (str) – The value to assign to the key property of this NamespaceSummary.
  • display_name (str) – The value to assign to the display_name property of this NamespaceSummary.
  • description (str) – The value to assign to the description property of this NamespaceSummary.
  • is_service_defined (bool) – The value to assign to the is_service_defined property of this NamespaceSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this NamespaceSummary. 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’.
  • time_created (datetime) – The value to assign to the time_created property of this NamespaceSummary.
description

Gets the description of this NamespaceSummary. Detailed description of the namespace.

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

Gets the display_name of this NamespaceSummary. Name of the namespace

Returns:The display_name of this NamespaceSummary.
Return type:str
is_service_defined

Gets the is_service_defined of this NamespaceSummary. If this field is defined by service or by a user

Returns:The is_service_defined of this NamespaceSummary.
Return type:bool
key

[Required] Gets the key of this NamespaceSummary. Unique namespace key that is immutable.

Returns:The key of this NamespaceSummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this NamespaceSummary. The current state of the namespace.

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 NamespaceSummary.
Return type:str
time_created

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

Returns:The time_created of this NamespaceSummary.
Return type:datetime