o
    ëÉ¶dp  ã                   @   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 )ÚSubscriptionCurrencyz
    Currency details
    c                 K   s2   ddddœ| _ ddddœ| _d| _d| _d| _dS )az  
        Initializes a new SubscriptionCurrency 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 SubscriptionCurrency.
        :type name: str

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

        :param std_precision:
            The value to assign to the std_precision property of this SubscriptionCurrency.
        :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   úTusr/lib/python3.10/site-packages/oci/onesubscription/models/subscription_currency.pyÚ__init__   s   ýý
zSubscriptionCurrency.__init__c                 C   ó   | j S )z¡
        Gets the name of this SubscriptionCurrency.
        Currency name


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


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

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


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


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


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


        :param std_precision: The std_precision of this SubscriptionCurrency.
        :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SubscriptionCurrency.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__   s   zSubscriptionCurrency.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__…   s   
zSubscriptionCurrency.__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   