o
    ëÉ¶dç  ã                   @   sD   d dl mZ ddlmZmZmZ ddlmZ eG dd„ deƒƒZdS )é   )ÚHostConfigurationMetricGroupé    )Ú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 )ÚHostEntitiesz/
    Database entities running on the host
    c                 K   sB   dddddœ| _ dddddœ| _d| _d| _d| _d| _d	| _dS )
aº  
        Initializes a new HostEntities object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostEntities.metric_name` attribute
        of this class is ``HOST_ENTITIES`` and it should not be changed.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param metric_name:
            The value to assign to the metric_name property of this HostEntities.
            Allowed values for this property are: "HOST_PRODUCT", "HOST_RESOURCE_ALLOCATION", "HOST_MEMORY_CONFIGURATION", "HOST_HARDWARE_CONFIGURATION", "HOST_CPU_HARDWARE_CONFIGURATION", "HOST_NETWORK_CONFIGURATION", "HOST_ENTITES", "HOST_FILESYSTEM_CONFIGURATION"
        :type metric_name: str

        :param time_collected:
            The value to assign to the time_collected property of this HostEntities.
        :type time_collected: datetime

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

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

        ÚstrÚdatetime)Zmetric_nameZtime_collectedÚentity_nameÚentity_typeZ
metricNameZtimeCollectedZ
entityNameZ
entityTypeNZHOST_ENTITIES)Zswagger_typesZattribute_mapZ_metric_nameZ_time_collectedÚ_entity_nameÚ_entity_type)ÚselfÚkwargs© r   úAusr/lib/python3.10/site-packages/oci/opsi/models/host_entities.pyÚ__init__   s   üü
zHostEntities.__init__c                 C   ó   | j S )z¼
        **[Required]** Gets the entity_name of this HostEntities.
        Name of the database entity


        :return: The entity_name of this HostEntities.
        :rtype: str
        ©r   ©r   r   r   r   r   >   ó   
zHostEntities.entity_namec                 C   ó
   || _ dS )z·
        Sets the entity_name of this HostEntities.
        Name of the database entity


        :param entity_name: The entity_name of this HostEntities.
        :type: str
        Nr   )r   r   r   r   r   r   J   ó   

c                 C   r   )z¼
        **[Required]** Gets the entity_type of this HostEntities.
        Type of the database entity


        :return: The entity_type of this HostEntities.
        :rtype: str
        ©r   r   r   r   r   r   V   r   zHostEntities.entity_typec                 C   r   )z·
        Sets the entity_type of this HostEntities.
        Type of the database entity


        :param entity_type: The entity_type of this HostEntities.
        :type: str
        Nr   )r   r   r   r   r   r   b   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__n   s   zHostEntities.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__q   s   zHostEntities.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__w   s   
zHostEntities.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr   r   r    r!   r   r   r   r   r      s    ,



r   N)	Zhost_configuration_metric_groupr   Zoci.utilr   r   r   Zoci.decoratorsr   r   r   r   r   r   Ú<module>   s
   