ruạṛ
a ���f� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sl e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z dd � Zdd� Zdd� Z dS )� StationHealthz? Overall health information of the management station. �HEALTHY� UNHEALTHYc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new StationHealth object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param state: The value to assign to the state property of this StationHealth. Allowed values for this property are: "HEALTHY", "UNHEALTHY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type state: str :param description: The value to assign to the description property of this StationHealth. :type description: str �str)�state�descriptionr r N)Z swagger_typesZ attribute_map�_state�_description)�self�kwargs� r �O/usr/lib/python3.9/site-packages/oci/os_management_hub/models/station_health.py�__init__ s ��zStationHealth.__init__c C s | j S )a� **[Required]** Gets the state of this StationHealth. Overall health status of the management station. Allowed values for this property are: "HEALTHY", "UNHEALTHY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The state of this StationHealth. :rtype: str )r �r r r r r 7 s zStationHealth.statec C s ddg}t ||�sd}|| _dS )z� Sets the state of this StationHealth. Overall health status of the management station. :param state: The state of this StationHealth. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r F s c C s | j S )z� Gets the description of this StationHealth. Explanation of the health status. :return: The description of this StationHealth. :rtype: str �r r r r r r U s zStationHealth.descriptionc C s || _ dS )z� Sets the description of this StationHealth. Explanation of the health status. :param description: The description of this StationHealth. :type: str Nr )r r r r r r a s c C s t | �S �N)r r r r r �__repr__m s zStationHealth.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__p s zStationHealth.__eq__c C s | |k S r r r r r r �__ne__v s zStationHealth.__ne__N)�__name__� __module__�__qualname__�__doc__Z STATE_HEALTHYZSTATE_UNHEALTHYr �propertyr �setterr r r r r r r r r s r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn