ruạṛ
a ���fa � @ 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 ZdZdZdZdZdZdZdZdd� Zedd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Z e jd'd&� �Z ed(d)� �Z!e!jd*d)� �Z!ed+d,� �Z"e"jd-d,� �Z"ed.d/� �Z#e#jd0d/� �Z#ed1d2� �Z$e$jd3d2� �Z$ed4d5� �Z%e%jd6d5� �Z%ed7d8� �Z&e&jd9d8� �Z&ed:d;� �Z'e'jd<d;� �Z'ed=d>� �Z(e(jd?d>� �Z(ed@dA� �Z)e)jdBdA� �Z)edCdD� �Z*e*jdEdD� �Z*edFdG� �Z+e+jdHdG� �Z+dIdJ� Z,dKdL� Z-dMdN� Z.dOS )P�ExadataInsightz# Exadata insight resource. �EM_MANAGED_EXTERNAL_EXADATA�PE_COMANAGED_EXADATA� DBMACHINE�EXACS�EXACC�FULL�HALF�QUARTER�EIGHTH�FLEX�DISABLED�ENABLED� TERMINATED�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s� ddddddddddddddddd�| _ ddd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a� Initializes a new ExadataInsight 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.opsi.models.EmManagedExternalExadataInsight` * :class:`~oci.opsi.models.PeComanagedExadataInsight` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param entity_source: The value to assign to the entity_source property of this ExadataInsight. Allowed values for this property are: "EM_MANAGED_EXTERNAL_EXADATA", "PE_COMANAGED_EXADATA", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type entity_source: str :param id: The value to assign to the id property of this ExadataInsight. :type id: str :param compartment_id: The value to assign to the compartment_id property of this ExadataInsight. :type compartment_id: str :param exadata_name: The value to assign to the exadata_name property of this ExadataInsight. :type exadata_name: str :param exadata_display_name: The value to assign to the exadata_display_name property of this ExadataInsight. :type exadata_display_name: str :param exadata_type: The value to assign to the exadata_type property of this ExadataInsight. Allowed values for this property are: "DBMACHINE", "EXACS", "EXACC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type exadata_type: str :param exadata_rack_type: The value to assign to the exadata_rack_type property of this ExadataInsight. Allowed values for this property are: "FULL", "HALF", "QUARTER", "EIGHTH", "FLEX", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type exadata_rack_type: str :param is_virtualized_exadata: The value to assign to the is_virtualized_exadata property of this ExadataInsight. :type is_virtualized_exadata: bool :param status: The value to assign to the status property of this ExadataInsight. Allowed values for this property are: "DISABLED", "ENABLED", "TERMINATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param freeform_tags: The value to assign to the freeform_tags property of this ExadataInsight. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ExadataInsight. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this ExadataInsight. :type system_tags: dict(str, dict(str, object)) :param time_created: The value to assign to the time_created property of this ExadataInsight. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this ExadataInsight. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this ExadataInsight. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this ExadataInsight. :type lifecycle_details: str �str�boolzdict(str, str)zdict(str, dict(str, object))Zdatetime)� entity_source�id�compartment_id�exadata_name�exadata_display_name�exadata_type�exadata_rack_type�is_virtualized_exadata�status� freeform_tags�defined_tags�system_tags�time_created�time_updated�lifecycle_state�lifecycle_details�entitySourcer Z compartmentIdZexadataNameZexadataDisplayNameZexadataTypeZexadataRackTypeZisVirtualizedExadatar$ ZfreeformTagsZdefinedTagsZ systemTagsZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsN)Z swagger_typesZ attribute_map�_entity_source�_id�_compartment_id� _exadata_name�_exadata_display_name� _exadata_type�_exadata_rack_type�_is_virtualized_exadata�_status�_freeform_tags� _defined_tags�_system_tags� _time_created� _time_updated�_lifecycle_state�_lifecycle_details)�self�kwargs� r? �C/usr/lib/python3.9/site-packages/oci/opsi/models/exadata_insight.py�__init__^ sd V��zExadataInsight.__init__c C s( | d }|dkrdS |dkr dS 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 ZEmManagedExternalExadataInsightr ZPeComanagedExadataInsightr Nr? )Zobject_dictionary�typer? r? r@ �get_subtype� s zExadataInsight.get_subtypec C s | j S )a� **[Required]** Gets the entity_source of this ExadataInsight. Source of the Exadata system. Allowed values for this property are: "EM_MANAGED_EXTERNAL_EXADATA", "PE_COMANAGED_EXADATA", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The entity_source of this ExadataInsight. :rtype: str )r- �r= r? r? r@ r � s zExadataInsight.entity_sourcec C s ddg}t ||�sd}|| _dS )z� Sets the entity_source of this ExadataInsight. Source of the Exadata system. :param entity_source: The entity_source of this ExadataInsight. :type: str r r �UNKNOWN_ENUM_VALUEN)r r- )r= r �allowed_valuesr? r? r@ r s c C s | j S )z� **[Required]** Gets the id of this ExadataInsight. Exadata insight identifier :return: The id of this ExadataInsight. :rtype: str �r. rD r? r? r@ r s zExadataInsight.idc C s || _ dS )z� Sets the id of this ExadataInsight. Exadata insight identifier :param id: The id of this ExadataInsight. :type: str NrG )r= r r? r? r@ r $ s c C s | j S )z� **[Required]** Gets the compartment_id of this ExadataInsight. Compartment identifier of the Exadata insight resource :return: The compartment_id of this ExadataInsight. :rtype: str �r/ rD r? r? r@ r 0 s zExadataInsight.compartment_idc C s || _ dS )z� Sets the compartment_id of this ExadataInsight. Compartment identifier of the Exadata insight resource :param compartment_id: The compartment_id of this ExadataInsight. :type: str NrH )r= r r? r? r@ r < s c C s | j S )aL **[Required]** Gets the exadata_name of this ExadataInsight. The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager. :return: The exadata_name of this ExadataInsight. :rtype: str �r0 rD r? r? r@ r H s zExadataInsight.exadata_namec C s || _ dS )aH Sets the exadata_name of this ExadataInsight. The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager. :param exadata_name: The exadata_name of this ExadataInsight. :type: str NrI )r= r r? r? r@ r T s c C s | j S )z� Gets the exadata_display_name of this ExadataInsight. The user-friendly name for the Exadata system. The name does not have to be unique. :return: The exadata_display_name of this ExadataInsight. :rtype: str �r1 rD r? r? r@ r ` s z#ExadataInsight.exadata_display_namec C s || _ dS )a Sets the exadata_display_name of this ExadataInsight. The user-friendly name for the Exadata system. The name does not have to be unique. :param exadata_display_name: The exadata_display_name of this ExadataInsight. :type: str NrJ )r= r r? r? r@ r l s c C s | j S )a� Gets the exadata_type of this ExadataInsight. Operations Insights internal representation of the the Exadata system type. Allowed values for this property are: "DBMACHINE", "EXACS", "EXACC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The exadata_type of this ExadataInsight. :rtype: str )r2 rD r? r? r@ r! x s zExadataInsight.exadata_typec C s g d�}t ||�sd}|| _dS )z� Sets the exadata_type of this ExadataInsight. Operations Insights internal representation of the the Exadata system type. :param exadata_type: The exadata_type of this ExadataInsight. :type: str )r r r rE N)r r2 )r= r! rF r? r? r@ r! � s c C s | j S )a� Gets the exadata_rack_type of this ExadataInsight. Exadata rack type. Allowed values for this property are: "FULL", "HALF", "QUARTER", "EIGHTH", "FLEX", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The exadata_rack_type of this ExadataInsight. :rtype: str )r3 rD r? r? r@ r"