o
    ëÉ¶dv  ã                   @   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                   @   sd   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d
d„ Z	dd„ Z
dd„ ZdS )ÚVersionSummaryzk
    A summary of the supported MySQL Versions families, and a list of their supported minor versions.
    c                 K   s(   dddœ| _ dddœ| _d| _d| _dS )a  
        Initializes a new VersionSummary object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

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

        :param versions:
            The value to assign to the versions property of this VersionSummary.
        :type versions: list[oci.mysql.models.Version]

        Ústrzlist[Version])Úversion_familyÚversionsZversionFamilyr	   N)Zswagger_typesZattribute_mapÚ_version_familyÚ	_versions)ÚselfÚkwargs© r   úDusr/lib/python3.10/site-packages/oci/mysql/models/version_summary.pyÚ__init__   s   þþ
zVersionSummary.__init__c                 C   ó   | j S )zÉ
        Gets the version_family of this VersionSummary.
        A descriptive summary of a group of versions.


        :return: The version_family of this VersionSummary.
        :rtype: str
        ©r
   ©r   r   r   r   r   -   ó   
zVersionSummary.version_familyc                 C   ó
   || _ dS )zÖ
        Sets the version_family of this VersionSummary.
        A descriptive summary of a group of versions.


        :param version_family: The version_family of this VersionSummary.
        :type: str
        Nr   )r   r   r   r   r   r   9   ó   

c                 C   r   )zß
        **[Required]** Gets the versions of this VersionSummary.
        The list of supported MySQL Versions.


        :return: The versions of this VersionSummary.
        :rtype: list[oci.mysql.models.Version]
        ©r   r   r   r   r   r	   E   r   zVersionSummary.versionsc                 C   r   )z×
        Sets the versions of this VersionSummary.
        The list of supported MySQL Versions.


        :param versions: The versions of this VersionSummary.
        :type: list[oci.mysql.models.Version]
        Nr   )r   r	   r   r   r   r	   Q   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__]   s   zVersionSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__`   s   zVersionSummary.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__f   s   
zVersionSummary.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr	   r   r   r   r   r   r   r   r      s    



r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   