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                   @   sº   e 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dd„ Zdd„ Zdd„ ZdS )Ú
JavaFamilyz™
    Metadata associated with a specific Java release family.
    A Java release family is typically a major version in the Java version identifier.
    ÚLTSÚNON_LTSc                 K   sF   ddddddœ| _ ddddddœ| _d	| _d	| _d	| _d	| _d	| _d	S )
am  
        Initializes a new JavaFamily object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

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

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

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

        :param end_of_support_life_date:
            The value to assign to the end_of_support_life_date property of this JavaFamily.
        :type end_of_support_life_date: datetime

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

        ÚstrÚdatetime)Úfamily_versionÚdisplay_nameÚsupport_typeÚend_of_support_life_dateÚdoc_urlZfamilyVersionZdisplayNameZsupportTypeZendOfSupportLifeDateZdocUrlN)Zswagger_typesZattribute_mapÚ_family_versionÚ_display_nameÚ_support_typeÚ_end_of_support_life_dateÚ_doc_url)ÚselfÚkwargs© r   ú>usr/lib/python3.10/site-packages/oci/jms/models/java_family.pyÚ__init__   s"   û	û
zJavaFamily.__init__c                 C   ó   | j S )zÆ
        **[Required]** Gets the family_version of this JavaFamily.
        The Java release family identifier.


        :return: The family_version of this JavaFamily.
        :rtype: str
        ©r   ©r   r   r   r   r   M   ó   
zJavaFamily.family_versionc                 C   ó
   || _ dS )zÄ
        Sets the family_version of this JavaFamily.
        The Java release family identifier.


        :param family_version: The family_version of this JavaFamily.
        :type: str
        Nr   )r   r   r   r   r   r   Y   ó   

c                 C   r   )zÆ
        **[Required]** Gets the display_name of this JavaFamily.
        The display name of the release family.


        :return: The display_name of this JavaFamily.
        :rtype: str
        ©r   r   r   r   r   r   e   r   zJavaFamily.display_namec                 C   r   )zÂ
        Sets the display_name of this JavaFamily.
        The display name of the release family.


        :param display_name: The display_name of this JavaFamily.
        :type: str
        Nr    )r   r   r   r   r   r   q   r   c                 C   r   )a”  
        **[Required]** Gets the support_type of this JavaFamily.
        This indicates the support category for the Java release family.

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


        :return: The support_type of this JavaFamily.
        :rtype: str
        )r   r   r   r   r   r   }   s   zJavaFamily.support_typec                 C   s    ddg}t ||ƒsd}|| _dS )zÛ
        Sets the support_type of this JavaFamily.
        This indicates the support category for the Java release family.


        :param support_type: The support_type of this JavaFamily.
        :type: str
        r   r   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr   r   r   r   Œ   s   


c                 C   r   )aZ  
        **[Required]** Gets the end_of_support_life_date of this JavaFamily.
        The End of Support Life (EOSL) date of the Java release family (formatted according to `RFC3339`__).

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :return: The end_of_support_life_date of this JavaFamily.
        :rtype: datetime
        ©r   r   r   r   r   r   ›   s   z#JavaFamily.end_of_support_life_datec                 C   r   )ab  
        Sets the end_of_support_life_date of this JavaFamily.
        The End of Support Life (EOSL) date of the Java release family (formatted according to `RFC3339`__).

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :param end_of_support_life_date: The end_of_support_life_date of this JavaFamily.
        :type: datetime
        Nr!   )r   r   r   r   r   r   ©   s   
c                 C   r   )zÆ
        **[Required]** Gets the doc_url of this JavaFamily.
        Link to access the documentation for the release.


        :return: The doc_url of this JavaFamily.
        :rtype: str
        ©r   r   r   r   r   r   ·   r   zJavaFamily.doc_urlc                 C   r   )z½
        Sets the doc_url of this JavaFamily.
        Link to access the documentation for the release.


        :param doc_url: The doc_url of this JavaFamily.
        :type: str
        Nr"   )r   r   r   r   r   r   Ã   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__Ï   s   zJavaFamily.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__Ò   s   zJavaFamily.__eq__c                 C   s
   | |k S r#   r   r&   r   r   r   Ú__ne__Ø   s   
zJavaFamily.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZSUPPORT_TYPE_LTSZSUPPORT_TYPE_NON_LTSr   Úpropertyr   Úsetterr   r   r   r   r$   r(   r)   r   r   r   r   r      s8    2









r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   