ruạṛ
a ���f9G � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdZdd� Zedd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Z e jd+d*� �Z ed,d-� �Z!e!jd.d-� �Z!ed/d0� �Z"e"jd1d0� �Z"ed2d3� �Z#e#jd4d3� �Z#ed5d6� �Z$e$jd7d6� �Z$d8d9� Z%d:d;� Z&d<d=� Z'd>S )?�DbmResourcez$ The base Exadata resource. �CREATING�ACTIVE�INACTIVE�UPDATING�DELETING�DELETED�FAILED�INFRASTRUCTURE_SUMMARY�INFRASTRUCTURE�STORAGE_SERVER_SUMMARY�STORAGE_SERVER�STORAGE_GRID_SUMMARY�STORAGE_GRID�STORAGE_CONNECTOR_SUMMARY�STORAGE_CONNECTOR�DATABASE_SYSTEM_SUMMARY�DATABASE_SUMMARYc K s� dddddddddddd�| _ ddddd d ddd ddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a0 Initializes a new DbmResource object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.database_management.models.ExternalExadataStorageConnector` * :class:`~oci.database_management.models.ExternalExadataStorageGridSummary` * :class:`~oci.database_management.models.ExternalExadataStorageServer` * :class:`~oci.database_management.models.ExternalExadataInfrastructure` * :class:`~oci.database_management.models.ExternalExadataStorageGrid` * :class:`~oci.database_management.models.ExternalExadataInfrastructureSummary` * :class:`~oci.database_management.models.ExternalExadataDatabaseSystemSummary` * :class:`~oci.database_management.models.ExternalExadataStorageConnectorSummary` * :class:`~oci.database_management.models.ExternalExadataStorageServerSummary` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this DbmResource. :type id: str :param display_name: The value to assign to the display_name property of this DbmResource. :type display_name: str :param version: The value to assign to the version property of this DbmResource. :type version: str :param internal_id: The value to assign to the internal_id property of this DbmResource. :type internal_id: str :param status: The value to assign to the status property of this DbmResource. :type status: str :param lifecycle_state: The value to assign to the lifecycle_state property of this DbmResource. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED" :type lifecycle_state: str :param time_created: The value to assign to the time_created property of this DbmResource. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DbmResource. :type time_updated: datetime :param lifecycle_details: The value to assign to the lifecycle_details property of this DbmResource. :type lifecycle_details: str :param additional_details: The value to assign to the additional_details property of this DbmResource. :type additional_details: dict(str, str) :param resource_type: The value to assign to the resource_type property of this DbmResource. Allowed values for this property are: "INFRASTRUCTURE_SUMMARY", "INFRASTRUCTURE", "STORAGE_SERVER_SUMMARY", "STORAGE_SERVER", "STORAGE_GRID_SUMMARY", "STORAGE_GRID", "STORAGE_CONNECTOR_SUMMARY", "STORAGE_CONNECTOR", "DATABASE_SYSTEM_SUMMARY", "DATABASE_SUMMARY" :type resource_type: str �strZdatetimezdict(str, str))�id�display_name�version�internal_id�status�lifecycle_state�time_created�time_updated�lifecycle_details�additional_details� resource_typer ZdisplayNamer Z internalIdr ZlifecycleStateZtimeCreatedZtimeUpdatedZlifecycleDetailsZadditionalDetails�resourceTypeN) Z swagger_typesZ attribute_map�_id� _display_name�_version�_internal_id�_status�_lifecycle_state� _time_created� _time_updated�_lifecycle_details�_additional_details�_resource_type)�self�kwargs� r2 �O/usr/lib/python3.9/site-packages/oci/database_management/models/dbm_resource.py�__init__V sF A��zDbmResource.__init__c C s| | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS |dkrPd S |dkr\dS |dkrhdS |dkrtdS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r$ r ZExternalExadataStorageConnectorr Z!ExternalExadataStorageGridSummaryr ZExternalExadataStorageServerr ZExternalExadataInfrastructurer ZExternalExadataStorageGridr Z$ExternalExadataInfrastructureSummaryr Z$ExternalExadataDatabaseSystemSummaryr Z&ExternalExadataStorageConnectorSummaryr Z#ExternalExadataStorageServerSummaryr Nr2 )Zobject_dictionary�typer2 r2 r3 �get_subtype� s( zDbmResource.get_subtypec C s | j S )a **[Required]** Gets the id of this DbmResource. The `OCID`__ of the Exadata resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this DbmResource. :rtype: str �r% �r0 r2 r2 r3 r � s zDbmResource.idc C s || _ dS )z� Sets the id of this DbmResource. The `OCID`__ of the Exadata resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this DbmResource. :type: str Nr7 )r0 r r2 r2 r3 r � s c C s | j S )z� **[Required]** Gets the display_name of this DbmResource. The name of the Exadata resource. English letters, numbers, "-", "_" and "." only. :return: The display_name of this DbmResource. :rtype: str �r&