ruạṛ
a ���f� � @ 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 ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zdd� Z dd� Zdd� ZdS )�VmClusterUpdateDetailsz� Details specifying which maintenance update to apply to the VM Cluster and which action is to be performed by the maintenance update. Applies to Exadata Cloud@Customer instances only. � ROLLING_APPLY�PRECHECK�ROLLBACKc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a Initializes a new VmClusterUpdateDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param update_id: The value to assign to the update_id property of this VmClusterUpdateDetails. :type update_id: str :param update_action: The value to assign to the update_action property of this VmClusterUpdateDetails. Allowed values for this property are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK" :type update_action: str :param gi_software_image_id: The value to assign to the gi_software_image_id property of this VmClusterUpdateDetails. :type gi_software_image_id: str �str)� update_id� update_action�gi_software_image_idZupdateIdZupdateActionZgiSoftwareImageIdN)Z swagger_typesZ attribute_map� _update_id�_update_action�_gi_software_image_id)�self�kwargs� r �Q/usr/lib/python3.9/site-packages/oci/database/models/vm_cluster_update_details.py�__init__ s ��zVmClusterUpdateDetails.__init__c C s | j S )a Gets the update_id of this VmClusterUpdateDetails. The `OCID`__ of the maintenance update. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The update_id of this VmClusterUpdateDetails. :rtype: str �r �r r r r r A s z VmClusterUpdateDetails.update_idc C s || _ dS )a$ Sets the update_id of this VmClusterUpdateDetails. The `OCID`__ of the maintenance update. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param update_id: The update_id of this VmClusterUpdateDetails. :type: str Nr )r r r r r r O s c C s | j S )a Gets the update_action of this VmClusterUpdateDetails. The update action to perform. Allowed values for this property are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK" :return: The update_action of this VmClusterUpdateDetails. :rtype: str )r r r r r r ] s z$VmClusterUpdateDetails.update_actionc C s* g d�}t ||�s td|� ���|| _dS )z� Sets the update_action of this VmClusterUpdateDetails. The update action to perform. :param update_action: The update_action of this VmClusterUpdateDetails. :type: str )r r r z:Invalid value for `update_action`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r k s �c C s | j S )a| Gets the gi_software_image_id of this VmClusterUpdateDetails. The `OCID`__ of a grid infrastructure software image. This is a database software image of the type `GRID_IMAGE`. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The gi_software_image_id of this VmClusterUpdateDetails. :rtype: str �r r r r r r | s z+VmClusterUpdateDetails.gi_software_image_idc C s || _ dS )a� Sets the gi_software_image_id of this VmClusterUpdateDetails. The `OCID`__ of a grid infrastructure software image. This is a database software image of the type `GRID_IMAGE`. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param gi_software_image_id: The gi_software_image_id of this VmClusterUpdateDetails. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zVmClusterUpdateDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zVmClusterUpdateDetails.__eq__c C s | |k S r r r r r r �__ne__� s zVmClusterUpdateDetails.__ne__N)�__name__� __module__�__qualname__�__doc__ZUPDATE_ACTION_ROLLING_APPLYZUPDATE_ACTION_PRECHECKZUPDATE_ACTION_ROLLBACKr �propertyr �setterr r r r r r r r r r s( # r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn