o
    ɶdA                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   s  e Zd ZdZdZdZdZdZdd Ze	dd	 Z
e
jd
d	 Z
e	dd Zejdd Ze	dd Zejdd Ze	dd Zejdd Ze	dd Zejdd Ze	dd Zejdd Ze	dd Zejdd Ze	dd Zejdd Ze	d d! Zejd"d! Ze	d#d$ Zejd%d$ Ze	d&d' Zejd(d' Ze	d)d* Zejd+d* Ze	d,d- Zejd.d- Ze	d/d0 Zejd1d0 Zd2d3 Zd4d5 Zd6d7 Zd8S )9Configurationzb
    The set of MySQL variables to be used when deploying a MySQL Database Service DB System.
    DEFAULTCUSTOMACTIVEDELETEDc                 K   s   ddddddddddddddd| _ dd	d
dddddddddddd| _d| _d| _d| _d| _d| _d| _d| _d| _	d| _
d| _d| _d| _d| _d| _dS )a
  
        Initializes a new Configuration object with values from keyword arguments.
        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 Configuration.
        :type id: str

        :param compartment_id:
            The value to assign to the compartment_id property of this Configuration.
        :type compartment_id: str

        :param description:
            The value to assign to the description property of this Configuration.
        :type description: str

        :param display_name:
            The value to assign to the display_name property of this Configuration.
        :type display_name: str

        :param shape_name:
            The value to assign to the shape_name property of this Configuration.
        :type shape_name: str

        :param type:
            The value to assign to the type property of this Configuration.
            Allowed values for this property are: "DEFAULT", "CUSTOM", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type type: str

        :param time_created:
            The value to assign to the time_created property of this Configuration.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this Configuration.
        :type time_updated: datetime

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Configuration.
            Allowed values for this property are: "ACTIVE", "DELETED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param init_variables:
            The value to assign to the init_variables property of this Configuration.
        :type init_variables: oci.mysql.models.InitializationVariables

        :param variables:
            The value to assign to the variables property of this Configuration.
        :type variables: oci.mysql.models.ConfigurationVariables

        :param parent_configuration_id:
            The value to assign to the parent_configuration_id property of this Configuration.
        :type parent_configuration_id: str

        :param freeform_tags:
            The value to assign to the freeform_tags property of this Configuration.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this Configuration.
        :type defined_tags: dict(str, dict(str, object))

        strdatetimeZInitializationVariablesZConfigurationVariableszdict(str, str)zdict(str, dict(str, object)))idcompartment_iddescriptiondisplay_name
shape_nametypetime_createdtime_updatedlifecycle_stateinit_variables	variablesparent_configuration_idfreeform_tagsdefined_tagsr   ZcompartmentIdr   ZdisplayNameZ	shapeNamer   ZtimeCreatedZtimeUpdatedZlifecycleStateZinitVariablesr   ZparentConfigurationIdZfreeformTagsZdefinedTagsN)Zswagger_typesZattribute_map_id_compartment_id_description_display_name_shape_name_type_time_created_time_updated_lifecycle_state_init_variables
_variables_parent_configuration_id_freeform_tags_defined_tags)selfkwargs r+   Busr/lib/python3.10/site-packages/oci/mysql/models/configuration.py__init__"   sX   C
zConfiguration.__init__c                 C      | j S )z
        **[Required]** Gets the id of this Configuration.
        The OCID of the Configuration.


        :return: The id of this Configuration.
        :rtype: str
        r   r)   r+   r+   r,   r         
zConfiguration.idc                 C   
   || _ dS )z
        Sets the id of this Configuration.
        The OCID of the Configuration.


        :param id: The id of this Configuration.
        :type: str
        Nr/   )r)   r   r+   r+   r,   r         

c                 C   r.   )z
        **[Required]** Gets the compartment_id of this Configuration.
        OCID of the Compartment the Configuration exists in.


        :return: The compartment_id of this Configuration.
        :rtype: str
        r   r0   r+   r+   r,   r      r1   zConfiguration.compartment_idc                 C   r2   )z
        Sets the compartment_id of this Configuration.
        OCID of the Compartment the Configuration exists in.


        :param compartment_id: The compartment_id of this Configuration.
        :type: str
        Nr4   )r)   r   r+   r+   r,   r      r3   c                 C   r.   )z
        Gets the description of this Configuration.
        User-provided data about the Configuration.


        :return: The description of this Configuration.
        :rtype: str
        r   r0   r+   r+   r,   r      r1   zConfiguration.descriptionc                 C   r2   )z
        Sets the description of this Configuration.
        User-provided data about the Configuration.


        :param description: The description of this Configuration.
        :type: str
        Nr5   )r)   r   r+   r+   r,   r      r3   c                 C   r.   )z
        Gets the display_name of this Configuration.
        The display name of the Configuration.


        :return: The display_name of this Configuration.
        :rtype: str
        r   r0   r+   r+   r,   r      r1   zConfiguration.display_namec                 C   r2   )z
        Sets the display_name of this Configuration.
        The display name of the Configuration.


        :param display_name: The display_name of this Configuration.
        :type: str
        Nr6   )r)   r   r+   r+   r,   r      r3   c                 C   r.   )z
        **[Required]** Gets the shape_name of this Configuration.
        The name of the associated Shape.


        :return: The shape_name of this Configuration.
        :rtype: str
        r   r0   r+   r+   r,   r      r1   zConfiguration.shape_namec                 C   r2   )z
        Sets the shape_name of this Configuration.
        The name of the associated Shape.


        :param shape_name: The shape_name of this Configuration.
        :type: str
        Nr7   )r)   r   r+   r+   r,   r     r3   c                 C   r.   )aw  
        **[Required]** Gets the type of this Configuration.
        The Configuration type, DEFAULT or CUSTOM.

        Allowed values for this property are: "DEFAULT", "CUSTOM", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The type of this Configuration.
        :rtype: str
        )r    r0   r+   r+   r,   r        zConfiguration.typec                 C       ddg}t ||sd}|| _dS )z
        Sets the type of this Configuration.
        The Configuration type, DEFAULT or CUSTOM.


        :param type: The type of this Configuration.
        :type: str
        r   r   UNKNOWN_ENUM_VALUEN)r   r    )r)   r   allowed_valuesr+   r+   r,   r        


c                 C   r.   )a'  
        **[Required]** Gets the time_created of this Configuration.
        The date and time the Configuration was created, as described by `RFC 3339`__.

        __ https://tools.ietf.org/rfc/rfc3339


        :return: The time_created of this Configuration.
        :rtype: datetime
        r!   r0   r+   r+   r,   r   +     zConfiguration.time_createdc                 C   r2   )a#  
        Sets the time_created of this Configuration.
        The date and time the Configuration was created, as described by `RFC 3339`__.

        __ https://tools.ietf.org/rfc/rfc3339


        :param time_created: The time_created of this Configuration.
        :type: datetime
        Nr=   )r)   r   r+   r+   r,   r   9     
c                 C   r.   )a,  
        **[Required]** Gets the time_updated of this Configuration.
        The date and time the Configuration was last updated, as described by `RFC 3339`__.

        __ https://tools.ietf.org/rfc/rfc3339


        :return: The time_updated of this Configuration.
        :rtype: datetime
        r"   r0   r+   r+   r,   r   G  r>   zConfiguration.time_updatedc                 C   r2   )a(  
        Sets the time_updated of this Configuration.
        The date and time the Configuration was last updated, as described by `RFC 3339`__.

        __ https://tools.ietf.org/rfc/rfc3339


        :param time_updated: The time_updated of this Configuration.
        :type: datetime
        Nr@   )r)   r   r+   r+   r,   r   U  r?   c                 C   r.   )a  
        **[Required]** Gets the lifecycle_state of this Configuration.
        The current state of the Configuration.

        Allowed values for this property are: "ACTIVE", "DELETED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this Configuration.
        :rtype: str
        )r#   r0   r+   r+   r,   r   c  r8   zConfiguration.lifecycle_statec                 C   r9   )z
        Sets the lifecycle_state of this Configuration.
        The current state of the Configuration.


        :param lifecycle_state: The lifecycle_state of this Configuration.
        :type: str
        r	   r
   r:   N)r   r#   )r)   r   r;   r+   r+   r,   r   r  r<   c                 C   r.   )z
        Gets the init_variables of this Configuration.

        :return: The init_variables of this Configuration.
        :rtype: oci.mysql.models.InitializationVariables
        r$   r0   r+   r+   r,   r        zConfiguration.init_variablesc                 C   r2   )z
        Sets the init_variables of this Configuration.

        :param init_variables: The init_variables of this Configuration.
        :type: oci.mysql.models.InitializationVariables
        NrA   )r)   r   r+   r+   r,   r        
c                 C   r.   )z
        **[Required]** Gets the variables of this Configuration.

        :return: The variables of this Configuration.
        :rtype: oci.mysql.models.ConfigurationVariables
        r%   r0   r+   r+   r,   r     rB   zConfiguration.variablesc                 C   r2   )z
        Sets the variables of this Configuration.

        :param variables: The variables of this Configuration.
        :type: oci.mysql.models.ConfigurationVariables
        NrD   )r)   r   r+   r+   r,   r     rC   c                 C   r.   )a}  
        Gets the parent_configuration_id of this Configuration.
        The OCID of the Configuration from which this Configuration is
        "derived". This is entirely a metadata relationship. There is no
        relation between the values in this Configuration and its parent.


        :return: The parent_configuration_id of this Configuration.
        :rtype: str
        r&   r0   r+   r+   r,   r     r>   z%Configuration.parent_configuration_idc                 C   r2   )a  
        Sets the parent_configuration_id of this Configuration.
        The OCID of the Configuration from which this Configuration is
        "derived". This is entirely a metadata relationship. There is no
        relation between the values in this Configuration and its parent.


        :param parent_configuration_id: The parent_configuration_id of this Configuration.
        :type: str
        NrE   )r)   r   r+   r+   r,   r     r?   c                 C   r.   )aA  
        Gets the freeform_tags of this Configuration.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
        Example: `{"bar-key": "value"}`


        :return: The freeform_tags of this Configuration.
        :rtype: dict(str, str)
        r'   r0   r+   r+   r,   r        zConfiguration.freeform_tagsc                 C   r2   )aM  
        Sets the freeform_tags of this Configuration.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
        Example: `{"bar-key": "value"}`


        :param freeform_tags: The freeform_tags of this Configuration.
        :type: dict(str, str)
        NrF   )r)   r   r+   r+   r,   r        
c                 C   r.   )a;  
        Gets the defined_tags of this Configuration.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        Example: `{"foo-namespace": {"bar-key": "value"}}`


        :return: The defined_tags of this Configuration.
        :rtype: dict(str, dict(str, object))
        r(   r0   r+   r+   r,   r     rG   zConfiguration.defined_tagsc                 C   r2   )aF  
        Sets the defined_tags of this Configuration.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        Example: `{"foo-namespace": {"bar-key": "value"}}`


        :param defined_tags: The defined_tags of this Configuration.
        :type: dict(str, dict(str, object))
        NrI   )r)   r   r+   r+   r,   r     rH   c                 C   s   t | S N)r   r0   r+   r+   r,   __repr__  s   zConfiguration.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r)   otherr+   r+   r,   __eq__  s   zConfiguration.__eq__c                 C   s
   | |k S rJ   r+   rM   r+   r+   r,   __ne__  s   
zConfiguration.__ne__N)__name__
__module____qualname____doc__ZTYPE_DEFAULTZTYPE_CUSTOMZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETEDr-   propertyr   setterr   r   r   r   r   r   r   r   r   r   r   r   r   rK   rO   rP   r+   r+   r+   r,   r      s    s


















	
	
	
	





r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r+   r+   r+   r,   <module>   s   