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	dd„ Z
dd„ Zdd„ ZdS )ÚCurrencyz
    Currency details
    c                 K   s2   ddddœ| _ ddddœ| _d| _d| _d| _dS )aJ  
        Initializes a new Currency 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 Currency.
        :type name: str

        :param iso_code:
            The value to assign to the iso_code property of this Currency.
        :type iso_code: str

        :param std_precision:
            The value to assign to the std_precision property of this Currency.
        :type std_precision: int

        ÚstrÚint)ÚnameÚiso_codeÚstd_precisionr	   ZisoCodeZstdPrecisionN)Zswagger_typesZattribute_mapÚ_nameÚ	_iso_codeÚ_std_precision)ÚselfÚkwargs© r   úIusr/lib/python3.10/site-packages/oci/osub_subscription/models/currency.pyÚ__init__   s   ýý
zCurrency.__init__c                 C   ó   | j S )z‰
        Gets the name of this Currency.
        Currency name


        :return: The name of this Currency.
        :rtype: str
        ©r   ©r   r   r   r   r	   4   ó   
zCurrency.namec                 C   ó
   || _ dS )zŒ
        Sets the name of this Currency.
        Currency name


        :param name: The name of this Currency.
        :type: str
        Nr   )r   r	   r   r   r   r	   @   ó   

c                 C   r   )z 
        **[Required]** Gets the iso_code of this Currency.
        Currency Code


        :return: The iso_code of this Currency.
        :rtype: str
        ©r   r   r   r   r   r
   L   r   zCurrency.iso_codec                 C   r   )z˜
        Sets the iso_code of this Currency.
        Currency Code


        :param iso_code: The iso_code of this Currency.
        :type: str
        Nr   )r   r
   r   r   r   r
   X   r   c                 C   r   )z°
        Gets the std_precision of this Currency.
        Standard Precision of the Currency


        :return: The std_precision of this Currency.
        :rtype: int
        ©r   r   r   r   r   r   d   r   zCurrency.std_precisionc                 C   r   )z¼
        Sets the std_precision of this Currency.
        Standard Precision of the Currency


        :param std_precision: The std_precision of this Currency.
        :type: int
        Nr   )r   r   r   r   r   r   p   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__|   s   zCurrency.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__   s   zCurrency.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__…   s   
zCurrency.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr	   Úsetterr
   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   