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 @ sl e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z dd � Zdd� Zdd� Z dS )�UpdateDbConfigParamsz= Configuration for the PostgreSQL database instance. �RESTART�RELOADc K s( ddd�| _ ddd�| _d| _d| _dS )a? Initializes a new UpdateDbConfigParams object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param apply_config: The value to assign to the apply_config property of this UpdateDbConfigParams. Allowed values for this property are: "RESTART", "RELOAD" :type apply_config: str :param config_id: The value to assign to the config_id property of this UpdateDbConfigParams. :type config_id: str �str)�apply_config� config_idZapplyConfigZconfigIdN)Z swagger_typesZ attribute_map� _apply_config� _config_id)�self�kwargs� r �K/usr/lib/python3.9/site-packages/oci/psql/models/update_db_config_params.py�__init__ s ��zUpdateDbConfigParams.__init__c C s | j S )a� Gets the apply_config of this UpdateDbConfigParams. Whether a configuration update requires a restart of the database instance or a reload of the configuration. Some configuration changes require a restart of database instances to be applied. Allowed values for this property are: "RESTART", "RELOAD" :return: The apply_config of this UpdateDbConfigParams. :rtype: str )r �r r r r r 6 s z!UpdateDbConfigParams.apply_configc C s* ddg}t ||�s td|� ���|| _dS )au Sets the apply_config of this UpdateDbConfigParams. Whether a configuration update requires a restart of the database instance or a reload of the configuration. Some configuration changes require a restart of database instances to be applied. :param apply_config: The apply_config of this UpdateDbConfigParams. :type: str r r z9Invalid value for `apply_config`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r E s �c C s | j S )a" **[Required]** Gets the config_id of this UpdateDbConfigParams. The `OCID`__ of the configuration. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The config_id of this UpdateDbConfigParams. :rtype: str �r r r r r r W s zUpdateDbConfigParams.config_idc C s || _ dS )a Sets the config_id of this UpdateDbConfigParams. The `OCID`__ of the configuration. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param config_id: The config_id of this UpdateDbConfigParams. :type: str Nr )r r r r r r e s c C s t | �S �N)r r r r r �__repr__s s zUpdateDbConfigParams.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__v s zUpdateDbConfigParams.__eq__c C s | |k S r r r r r r �__ne__| s zUpdateDbConfigParams.__ne__N)�__name__� __module__�__qualname__�__doc__ZAPPLY_CONFIG_RESTARTZAPPLY_CONFIG_RELOADr �propertyr �setterr 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