def update_currency_by_id(cls, currency_id, currency, **kwargs):
        """Update Currency

        Update attributes of Currency
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_currency_by_id(currency_id, currency, async=True)
        >>> result = thread.get()

        :param async bool
        :param str currency_id: ID of currency to update. (required)
        :param Currency currency: Attributes of currency to update. (required)
        :return: Currency
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return cls._update_currency_by_id_with_http_info(currency_id, currency, **kwargs)
        else:
            (data) = cls._update_currency_by_id_with_http_info(currency_id, currency, **kwargs)
            return data
def update_currency_by_id ( cls , currency_id , currency , ** kwargs ) : kwargs [ '_return_http_data_only' ] = True if kwargs . get ( 'async' ) : return cls . _update_currency_by_id_with_http_info ( currency_id , currency , ** kwargs ) else : ( data ) = cls . _update_currency_by_id_with_http_info ( currency_id , currency , ** kwargs ) return data
Update Currency

        Update attributes of Currency
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_currency_by_id(currency_id, currency, async=True)
        >>> result = thread.get()

        :param async bool
        :param str currency_id: ID of currency to update. (required)
        :param Currency currency: Attributes of currency to update. (required)
        :return: Currency
                 If the method is called asynchronously,
                 returns the request thread.