o
    ɶd(/                     @   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                   @   sN  e 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d%d& Zd'd( Zd)d* Zd+S ),ConfigurationSummaryzj
    The general details of a Configuration such as its id, displayName, type, and shape association.
    c                 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S )ad  
        Initializes a new ConfigurationSummary 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 ConfigurationSummary.
        :type id: str

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

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

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

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

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

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this ConfigurationSummary.
        :type lifecycle_state: str

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

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

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

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

        strdatetimezdict(str, str)zdict(str, dict(str, object)))idcompartment_iddescriptiondisplay_name
shape_nametypelifecycle_statetime_createdtime_updatedfreeform_tagsdefined_tagsr	   ZcompartmentIdr   ZdisplayNameZ	shapeNamer   ZlifecycleStateZtimeCreatedZtimeUpdatedZfreeformTagsZdefinedTagsN)Zswagger_typesZattribute_map_id_compartment_id_description_display_name_shape_name_type_lifecycle_state_time_created_time_updated_freeform_tags_defined_tags)selfkwargs r!   Jusr/lib/python3.10/site-packages/oci/mysql/models/configuration_summary.py__init__   sF   3
zConfigurationSummary.__init__c                 C      | j S )z
        **[Required]** Gets the id of this ConfigurationSummary.
        The OCID of the Configuration.


        :return: The id of this ConfigurationSummary.
        :rtype: str
        r   r   r!   r!   r"   r	   l      
zConfigurationSummary.idc                 C   
   || _ dS )z
        Sets the id of this ConfigurationSummary.
        The OCID of the Configuration.


        :param id: The id of this ConfigurationSummary.
        :type: str
        Nr%   )r   r	   r!   r!   r"   r	   x      

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


        :return: The compartment_id of this ConfigurationSummary.
        :rtype: str
        r   r&   r!   r!   r"   r
      r'   z#ConfigurationSummary.compartment_idc                 C   r(   )z
        Sets the compartment_id of this ConfigurationSummary.
        OCID of the Compartment the Configuration exists in.


        :param compartment_id: The compartment_id of this ConfigurationSummary.
        :type: str
        Nr*   )r   r
   r!   r!   r"   r
      r)   c                 C   r$   )z
        Gets the description of this ConfigurationSummary.
        User-provided data about the Configuration.


        :return: The description of this ConfigurationSummary.
        :rtype: str
        r   r&   r!   r!   r"   r      r'   z ConfigurationSummary.descriptionc                 C   r(   )z
        Sets the description of this ConfigurationSummary.
        User-provided data about the Configuration.


        :param description: The description of this ConfigurationSummary.
        :type: str
        Nr+   )r   r   r!   r!   r"   r      r)   c                 C   r$   )z
        Gets the display_name of this ConfigurationSummary.
        The display name of the Configuration.


        :return: The display_name of this ConfigurationSummary.
        :rtype: str
        r   r&   r!   r!   r"   r      r'   z!ConfigurationSummary.display_namec                 C   r(   )z
        Sets the display_name of this ConfigurationSummary.
        The display name of the Configuration.


        :param display_name: The display_name of this ConfigurationSummary.
        :type: str
        Nr,   )r   r   r!   r!   r"   r      r)   c                 C   r$   )z
        **[Required]** Gets the shape_name of this ConfigurationSummary.
        The name of the associated Shape.


        :return: The shape_name of this ConfigurationSummary.
        :rtype: str
        r   r&   r!   r!   r"   r      r'   zConfigurationSummary.shape_namec                 C   r(   )z
        Sets the shape_name of this ConfigurationSummary.
        The name of the associated Shape.


        :param shape_name: The shape_name of this ConfigurationSummary.
        :type: str
        Nr-   )r   r   r!   r!   r"   r      r)   c                 C   r$   )z
        **[Required]** Gets the type of this ConfigurationSummary.
        The Configuration type, DEFAULT or CUSTOM


        :return: The type of this ConfigurationSummary.
        :rtype: str
        r   r&   r!   r!   r"   r      r'   zConfigurationSummary.typec                 C   r(   )z
        Sets the type of this ConfigurationSummary.
        The Configuration type, DEFAULT or CUSTOM


        :param type: The type of this ConfigurationSummary.
        :type: str
        Nr.   )r   r   r!   r!   r"   r      r)   c                 C   r$   )z
        **[Required]** Gets the lifecycle_state of this ConfigurationSummary.
        The current state of the Configuration.


        :return: The lifecycle_state of this ConfigurationSummary.
        :rtype: str
        r   r&   r!   r!   r"   r      r'   z$ConfigurationSummary.lifecycle_statec                 C   r(   )z
        Sets the lifecycle_state of this ConfigurationSummary.
        The current state of the Configuration.


        :param lifecycle_state: The lifecycle_state of this ConfigurationSummary.
        :type: str
        Nr/   )r   r   r!   r!   r"   r     r)   c                 C   r$   )a&  
        Gets the time_created of this ConfigurationSummary.
        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 ConfigurationSummary.
        :rtype: datetime
        r   r&   r!   r!   r"   r        z!ConfigurationSummary.time_createdc                 C   r(   )a1  
        Sets the time_created of this ConfigurationSummary.
        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 ConfigurationSummary.
        :type: datetime
        Nr0   )r   r   r!   r!   r"   r   "     
c                 C   r$   )a+  
        Gets the time_updated of this ConfigurationSummary.
        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 ConfigurationSummary.
        :rtype: datetime
        r   r&   r!   r!   r"   r   0  r1   z!ConfigurationSummary.time_updatedc                 C   r(   )a6  
        Sets the time_updated of this ConfigurationSummary.
        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 ConfigurationSummary.
        :type: datetime
        Nr3   )r   r   r!   r!   r"   r   >  r2   c                 C   r$   )aO  
        Gets the freeform_tags of this ConfigurationSummary.
        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 ConfigurationSummary.
        :rtype: dict(str, str)
        r   r&   r!   r!   r"   r   L     z"ConfigurationSummary.freeform_tagsc                 C   r(   )a[  
        Sets the freeform_tags of this ConfigurationSummary.
        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 ConfigurationSummary.
        :type: dict(str, str)
        Nr4   )r   r   r!   r!   r"   r   Y     
c                 C   r$   )aI  
        Gets the defined_tags of this ConfigurationSummary.
        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 ConfigurationSummary.
        :rtype: dict(str, dict(str, object))
        r   r&   r!   r!   r"   r   f  r5   z!ConfigurationSummary.defined_tagsc                 C   r(   )aT  
        Sets the defined_tags of this ConfigurationSummary.
        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 ConfigurationSummary.
        :type: dict(str, dict(str, object))
        Nr7   )r   r   r!   r!   r"   r   s  r6   c                 C   s   t | S N)r   r&   r!   r!   r"   __repr__  s   zConfigurationSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr!   r!   r"   __eq__  s   zConfigurationSummary.__eq__c                 C   s
   | |k S r8   r!   r;   r!   r!   r"   __ne__  s   
zConfigurationSummary.__ne__N)__name__
__module____qualname____doc__r#   propertyr	   setterr
   r   r   r   r   r   r   r   r   r   r9   r=   r>   r!   r!   r!   r"   r      sd    Z





















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r!   r!   r!   r"   <module>   s   