Compartment

class oci.identity_data_plane.models.Compartment(**kwargs)

Bases: object

Compartment model.

Methods

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

Attributes

display_name [Required] Gets the display_name of this Compartment.
full_name [Required] Gets the full_name of this Compartment.
id [Required] Gets the id of this Compartment.
name [Required] Gets the name of this Compartment.
parent_compartment_id [Required] Gets the parent_compartment_id of this Compartment.
property_map [Required] Gets the property_map of this Compartment.
status [Required] Gets the status of this Compartment.
__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this Compartment.
  • name (str) – The value to assign to the name property of this Compartment.
  • display_name (str) – The value to assign to the display_name property of this Compartment.
  • full_name (str) – The value to assign to the full_name property of this Compartment.
  • parent_compartment_id (str) – The value to assign to the parent_compartment_id property of this Compartment.
  • status (oci.identity_data_plane.models.EntityStatus) – The value to assign to the status property of this Compartment.
  • property_map (dict(str, str)) – The value to assign to the property_map property of this Compartment.
display_name

[Required] Gets the display_name of this Compartment. The display name of the compartment.

Returns:The display_name of this Compartment.
Return type:str
full_name

[Required] Gets the full_name of this Compartment. The full name of the compartment.

Returns:The full_name of this Compartment.
Return type:str
id

[Required] Gets the id of this Compartment. The id of the compartment.

Returns:The id of this Compartment.
Return type:str
name

[Required] Gets the name of this Compartment. The name of the compartment.

Returns:The name of this Compartment.
Return type:str
parent_compartment_id

[Required] Gets the parent_compartment_id of this Compartment. The id of the parent compartment.

Returns:The parent_compartment_id of this Compartment.
Return type:str
property_map

[Required] Gets the property_map of this Compartment. The extended properties.

Returns:The property_map of this Compartment.
Return type:dict(str, str)
status

[Required] Gets the status of this Compartment. The status of the compartment.

Returns:The status of this Compartment.
Return type:oci.identity_data_plane.models.EntityStatus