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                   @   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 )Ú	DimensionzK
    A dimension is a label that is used to describe or group metrics.
    c                 K   s(   dddœ| _ dddœ| _d| _d| _dS )aÉ  
        Initializes a new Dimension 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 Dimension.
        :type name: str

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

        Ústr)ÚnameÚvalue_sourcer   ZvalueSourceN)Zswagger_typesZattribute_mapÚ_nameÚ_value_source)ÚselfÚkwargs© r   úCusr/lib/python3.10/site-packages/oci/apm_config/models/dimension.pyÚ__init__   s   þþ
zDimension.__init__c                 C   ó   | j S )z§
        **[Required]** Gets the name of this Dimension.
        The name of the dimension.


        :return: The name of this Dimension.
        :rtype: str
        ©r
   ©r   r   r   r   r   -   ó   
zDimension.namec                 C   ó
   || _ dS )z›
        Sets the name of this Dimension.
        The name of the dimension.


        :param name: The name of this Dimension.
        :type: str
        Nr   )r   r   r   r   r   r   9   ó   

c                 C   r   )zÏ
        Gets the value_source of this Dimension.
        The source to populate the dimension. This must not be specified.


        :return: The value_source of this Dimension.
        :rtype: str
        ©r   r   r   r   r   r	   E   r   zDimension.value_sourcec                 C   r   )zÚ
        Sets the value_source of this Dimension.
        The source to populate the dimension. This must not be specified.


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