def replace_address_by_id(cls, address_id, address, **kwargs):
        """Replace Address

        Replace all attributes of Address
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.replace_address_by_id(address_id, address, async=True)
        >>> result = thread.get()

        :param async bool
        :param str address_id: ID of address to replace (required)
        :param Address address: Attributes of address to replace (required)
        :return: Address
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return cls._replace_address_by_id_with_http_info(address_id, address, **kwargs)
        else:
            (data) = cls._replace_address_by_id_with_http_info(address_id, address, **kwargs)
            return data
Replace Address

        Replace all attributes of Address
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.replace_address_by_id(address_id, address, async=True)
        >>> result = thread.get()

        :param async bool
        :param str address_id: ID of address to replace (required)
        :param Address address: Attributes of address to replace (required)
        :return: Address
                 If the method is called asynchronously,
                 returns the request thread.