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 )ÚRequestUsagez*
    The usage metrics for a request.
    c                 K   s(   dddœ| _ dddœ| _d| _d| _dS )a  
        Initializes a new RequestUsage object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param read_units_consumed:
            The value to assign to the read_units_consumed property of this RequestUsage.
        :type read_units_consumed: int

        :param write_units_consumed:
            The value to assign to the write_units_consumed property of this RequestUsage.
        :type write_units_consumed: int

        Úint)Úread_units_consumedÚwrite_units_consumedZreadUnitsConsumedZwriteUnitsConsumedN)Zswagger_typesZattribute_mapÚ_read_units_consumedÚ_write_units_consumed)ÚselfÚkwargs© r   úBusr/lib/python3.10/site-packages/oci/nosql/models/request_usage.pyÚ__init__   s   þþ
zRequestUsage.__init__c                 C   ó   | j S )zÈ
        Gets the read_units_consumed of this RequestUsage.
        Read Units consumed by this operation.


        :return: The read_units_consumed of this RequestUsage.
        :rtype: int
        ©r
   ©r   r   r   r   r   -   ó   
z RequestUsage.read_units_consumedc                 C   ó
   || _ dS )zÚ
        Sets the read_units_consumed of this RequestUsage.
        Read Units consumed by this operation.


        :param read_units_consumed: The read_units_consumed of this RequestUsage.
        :type: int
        Nr   )r   r   r   r   r   r   9   ó   

c                 C   r   )zË
        Gets the write_units_consumed of this RequestUsage.
        Write Units consumed by this operation.


        :return: The write_units_consumed of this RequestUsage.
        :rtype: int
        ©r   r   r   r   r   r	   E   r   z!RequestUsage.write_units_consumedc                 C   r   )zÞ
        Sets the write_units_consumed of this RequestUsage.
        Write Units consumed by this operation.


        :param write_units_consumed: The write_units_consumed of this RequestUsage.
        :type: int
        Nr   )r   r	   r   r   r   r	   Q   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__]   s   zRequestUsage.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__`   s   zRequestUsage.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__f   s   
zRequestUsage.__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   