ruạṛ
a N��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 )�ChangeDatabaseParametersDetailszC The details required to change database parameter values. �MEMORY�SPFILE�BOTHc K s2 dddd�| _ dddd�| _d| _d| _d| _dS ) ae Initializes a new ChangeDatabaseParametersDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param credentials: The value to assign to the credentials property of this ChangeDatabaseParametersDetails. :type credentials: oci.database_management.models.DatabaseCredentials :param scope: The value to assign to the scope property of this ChangeDatabaseParametersDetails. Allowed values for this property are: "MEMORY", "SPFILE", "BOTH" :type scope: str :param parameters: The value to assign to the parameters property of this ChangeDatabaseParametersDetails. :type parameters: list[oci.database_management.models.ChangeDatabaseParameterDetails] �DatabaseCredentials�strz$list[ChangeDatabaseParameterDetails])�credentials�scope� parametersr r r N)� swagger_types� attribute_map�_credentials�_scope�_parameters)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_management/models/change_database_parameters_details.py�__init__ s ��z(ChangeDatabaseParametersDetails.__init__c C s | j S )z� **[Required]** Gets the credentials of this ChangeDatabaseParametersDetails. :return: The credentials of this ChangeDatabaseParametersDetails. :rtype: oci.database_management.models.DatabaseCredentials �r �r r r r r ? s z+ChangeDatabaseParametersDetails.credentialsc C s || _ dS )z� Sets the credentials of this ChangeDatabaseParametersDetails. :param credentials: The credentials of this ChangeDatabaseParametersDetails. :type: oci.database_management.models.DatabaseCredentials Nr )r r r r r r I s c C s | j S )a� **[Required]** Gets the scope of this ChangeDatabaseParametersDetails. The clause used to specify when the parameter change takes effect. Use `MEMORY` to make the change in memory and affect it immediately. Use `SPFILE` to make the change in the server parameter file. The change takes effect when the database is next shut down and started up again. Use `BOTH` to make the change in memory and in the server parameter file. The change takes effect immediately and persists after the database is shut down and started up again. Allowed values for this property are: "MEMORY", "SPFILE", "BOTH" :return: The scope of this ChangeDatabaseParametersDetails. :rtype: str )r r r r r r S s z%ChangeDatabaseParametersDetails.scopec C s* g d�}t ||�s td�|���|| _dS )a� Sets the scope of this ChangeDatabaseParametersDetails. The clause used to specify when the parameter change takes effect. Use `MEMORY` to make the change in memory and affect it immediately. Use `SPFILE` to make the change in the server parameter file. The change takes effect when the database is next shut down and started up again. Use `BOTH` to make the change in memory and in the server parameter file. The change takes effect immediately and persists after the database is shut down and started up again. :param scope: The scope of this ChangeDatabaseParametersDetails. :type: str )r r r z5Invalid value for `scope`, must be None or one of {0}N)r � ValueError�formatr )r r �allowed_valuesr r r r h s ��c C s | j S )a4 **[Required]** Gets the parameters of this ChangeDatabaseParametersDetails. A list of database parameters and their values. :return: The parameters of this ChangeDatabaseParametersDetails. :rtype: list[oci.database_management.models.ChangeDatabaseParameterDetails] �r r r r r r � s z*ChangeDatabaseParametersDetails.parametersc C s || _ dS )a. Sets the parameters of this ChangeDatabaseParametersDetails. A list of database parameters and their values. :param parameters: The parameters of this ChangeDatabaseParametersDetails. :type: list[oci.database_management.models.ChangeDatabaseParameterDetails] Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z(ChangeDatabaseParametersDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z&ChangeDatabaseParametersDetails.__eq__c C s | |k S r r r"