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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 )ÚMetricz>
    A metric is a quantitative measurement of an entity.
    c                 K   s<   dddddœ| _ dddddœ| _d| _d| _d| _d| _dS )a»  
        Initializes a new Metric object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

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

        :param value_source:
            The value to assign to the value_source property of this Metric.
        :type value_source: str

        :param unit:
            The value to assign to the unit property of this Metric.
        :type unit: str

        :param description:
            The value to assign to the description property of this Metric.
        :type description: str

        Ústr)ÚnameÚvalue_sourceÚunitÚdescriptionr   ZvalueSourcer
   r   N)Zswagger_typesZattribute_mapÚ_nameÚ_value_sourceÚ_unitÚ_description)ÚselfÚkwargs© r   ú@usr/lib/python3.10/site-packages/oci/apm_config/models/metric.pyÚ__init__   s   üü
zMetric.__init__c                 C   ó   | j S )zÀ
        **[Required]** Gets the name of this Metric.
        The name of the metric. This must be a known metric name.


        :return: The name of this Metric.
        :rtype: str
        ©r   ©r   r   r   r   r   ;   ó   
zMetric.namec                 C   ó
   || _ dS )z´
        Sets the name of this Metric.
        The name of the metric. This must be a known metric name.


        :param name: The name of this Metric.
        :type: str
        Nr   )r   r   r   r   r   r   G   ó   

c                 C   r   )z
        Gets the value_source of this Metric.
        This must not be set.


        :return: The value_source of this Metric.
        :rtype: str
        ©r   r   r   r   r   r	   S   r   zMetric.value_sourcec                 C   r   )z¨
        Sets the value_source of this Metric.
        This must not be set.


        :param value_source: The value_source of this Metric.
        :type: str
        Nr   )r   r	   r   r   r   r	   _   r   c                 C   r   )z
        Gets the unit of this Metric.
        The unit of the metric.


        :return: The unit of this Metric.
        :rtype: str
        ©r   r   r   r   r   r
   k   r   zMetric.unitc                 C   r   )z’
        Sets the unit of this Metric.
        The unit of the metric.


        :param unit: The unit of this Metric.
        :type: str
        Nr   )r   r
   r   r   r   r
   w   r   c                 C   r   )z¢
        Gets the description of this Metric.
        A description of the metric.


        :return: The description of this Metric.
        :rtype: str
        ©r   r   r   r   r   r   ƒ   r   zMetric.descriptionc                 C   r   )z¬
        Sets the description of this Metric.
        A description of the metric.


        :param description: The description of this Metric.
        :type: str
        Nr   )r   r   r   r   r   r      r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__›   s   zMetric.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__ž   s   zMetric.__eq__c                 C   s
   | |k S r   r   r!   r   r   r   Ú__ne__¤   s   
zMetric.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr	   r
   r   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   