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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 )ÚOperatingSystemzR
    Operating System of the platform on which the Java Runtime was reported.
    ÚLINUXÚWINDOWSÚMACOSÚUNKNOWNc                 K   sF   ddddddœ| _ ddddddœ| _d	| _d	| _d	| _d	| _d	| _d	S )
af  
        Initializes a new OperatingSystem object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param family:
            The value to assign to the family property of this OperatingSystem.
            Allowed values for this property are: "LINUX", "WINDOWS", "MACOS", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type family: str

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

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

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

        :param managed_instance_count:
            The value to assign to the managed_instance_count property of this OperatingSystem.
        :type managed_instance_count: int

        ÚstrÚint)ÚfamilyÚnameÚversionÚarchitectureÚmanaged_instance_countr   r   r   r   ZmanagedInstanceCountN)Zswagger_typesZattribute_mapÚ_familyÚ_nameÚ_versionÚ_architectureÚ_managed_instance_count)ÚselfÚkwargs© r   úCusr/lib/python3.10/site-packages/oci/jms/models/operating_system.pyÚ__init__"   s"   û	û
zOperatingSystem.__init__c                 C   ó   | j S )a›  
        **[Required]** Gets the family of this OperatingSystem.
        The operating system type, such as Windows or Linux

        Allowed values for this property are: "LINUX", "WINDOWS", "MACOS", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The family of this OperatingSystem.
        :rtype: str
        )r   ©r   r   r   r   r   T   s   zOperatingSystem.familyc                 C   s    g d¢}t ||ƒsd}|| _dS )zÆ
        Sets the family of this OperatingSystem.
        The operating system type, such as Windows or Linux


        :param family: The family of this OperatingSystem.
        :type: str
        )r   r   r	   r
   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr   r   r   r   c   s   


c                 C   r   )zê
        **[Required]** Gets the name of this OperatingSystem.
        The name of the operating system as provided by the Java system property os.name.


        :return: The name of this OperatingSystem.
        :rtype: str
        ©r   r   r   r   r   r   r   ó   
zOperatingSystem.namec                 C   ó
   || _ dS )zÞ
        Sets the name of this OperatingSystem.
        The name of the operating system as provided by the Java system property os.name.


        :param name: The name of this OperatingSystem.
        :type: str
        Nr   )r   r   r   r   r   r   ~   ó   

c                 C   r   )zö
        **[Required]** Gets the version of this OperatingSystem.
        The version of the operating system as provided by the Java system property os.version.


        :return: The version of this OperatingSystem.
        :rtype: str
        ©r   r   r   r   r   r   Š   r   zOperatingSystem.versionc                 C   r    )zí
        Sets the version of this OperatingSystem.
        The version of the operating system as provided by the Java system property os.version.


        :param version: The version of this OperatingSystem.
        :type: str
        Nr"   )r   r   r   r   r   r   –   r!   c                 C   r   )a  
        **[Required]** Gets the architecture of this OperatingSystem.
        The architecture of the operating system as provided by the Java system property os.arch.


        :return: The architecture of this OperatingSystem.
        :rtype: str
        ©r   r   r   r   r   r   ¢   r   zOperatingSystem.architecturec                 C   r    )zþ
        Sets the architecture of this OperatingSystem.
        The architecture of the operating system as provided by the Java system property os.arch.


        :param architecture: The architecture of this OperatingSystem.
        :type: str
        Nr#   )r   r   r   r   r   r   ®   r!   c                 C   r   )zß
        Gets the managed_instance_count of this OperatingSystem.
        Number of instances running the operating system.


        :return: The managed_instance_count of this OperatingSystem.
        :rtype: int
        ©r   r   r   r   r   r   º   r   z&OperatingSystem.managed_instance_countc                 C   r    )zô
        Sets the managed_instance_count of this OperatingSystem.
        Number of instances running the operating system.


        :param managed_instance_count: The managed_instance_count of this OperatingSystem.
        :type: int
        Nr$   )r   r   r   r   r   r   Æ   r!   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__Ò   s   zOperatingSystem.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__Õ   s   zOperatingSystem.__eq__c                 C   s
   | |k S r%   r   r(   r   r   r   Ú__ne__Û   s   
zOperatingSystem.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZFAMILY_LINUXZFAMILY_WINDOWSZFAMILY_MACOSZFAMILY_UNKNOWNr   Úpropertyr   Úsetterr   r   r   r   r&   r*   r+   r   r   r   r   r      s<    2









r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   