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
edd Zejdd Zdd Zdd Zdd ZdS )Currencyz 
    Currency details model
    c                 K   sF   dddddd| _ dddddd| _d	| _d	| _d	| _d	| _d	| _d	S )
a  
        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 currency_code:
            The value to assign to the currency_code property of this Currency.
        :type currency_code: str

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

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

        :param usd_conversion:
            The value to assign to the usd_conversion property of this Currency.
        :type usd_conversion: float

        :param round_decimal_point:
            The value to assign to the round_decimal_point property of this Currency.
        :type round_decimal_point: float

        strfloat)currency_codecurrency_symbolnameusd_conversionround_decimal_pointZcurrencyCodeZcurrencySymbolr   ZusdConversionZroundDecimalPointN)Zswagger_typesZattribute_map_currency_code_currency_symbol_name_usd_conversion_round_decimal_point)selfkwargs r   Cusr/lib/python3.10/site-packages/oci/osp_gateway/models/currency.py__init__   s"   	
zCurrency.__init__c                 C      | j S )z
        Gets the currency_code of this Currency.
        Currency code


        :return: The currency_code of this Currency.
        :rtype: str
        r   r   r   r   r   r	   B      
zCurrency.currency_codec                 C   
   || _ dS )z
        Sets the currency_code of this Currency.
        Currency code


        :param currency_code: The currency_code of this Currency.
        :type: str
        Nr   )r   r	   r   r   r   r	   N      

c                 C   r   )z
        Gets the currency_symbol of this Currency.
        Currency symbol


        :return: The currency_symbol of this Currency.
        :rtype: str
        r   r   r   r   r   r
   Z   r   zCurrency.currency_symbolc                 C   r   )z
        Sets the currency_symbol of this Currency.
        Currency symbol


        :param currency_symbol: The currency_symbol of this Currency.
        :type: str
        Nr   )r   r
   r   r   r   r
   f   r   c                 C   r   )z
        Gets the name of this Currency.
        Name of the currency


        :return: The name of this Currency.
        :rtype: str
        r   r   r   r   r   r   r   r   zCurrency.namec                 C   r   )z
        Sets the name of this Currency.
        Name of the currency


        :param name: The name of this Currency.
        :type: str
        Nr   )r   r   r   r   r   r   ~   r   c                 C   r   )z
        Gets the usd_conversion of this Currency.
        USD conversion rate of the currency


        :return: The usd_conversion of this Currency.
        :rtype: float
        r   r   r   r   r   r      r   zCurrency.usd_conversionc                 C   r   )z
        Sets the usd_conversion of this Currency.
        USD conversion rate of the currency


        :param usd_conversion: The usd_conversion of this Currency.
        :type: float
        Nr    )r   r   r   r   r   r      r   c                 C   r   )z
        Gets the round_decimal_point of this Currency.
        Round decimal point


        :return: The round_decimal_point of this Currency.
        :rtype: float
        r   r   r   r   r   r      r   zCurrency.round_decimal_pointc                 C   r   )z
        Sets the round_decimal_point of this Currency.
        Round decimal point


        :param round_decimal_point: The round_decimal_point of this Currency.
        :type: float
        Nr!   )r   r   r   r   r   r      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   r   r      s4    0









r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   