def replace_brand_by_id(cls, brand_id, brand, **kwargs):
        """Replace Brand

        Replace all attributes of Brand
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.replace_brand_by_id(brand_id, brand, async=True)
        >>> result = thread.get()

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

        Replace all attributes of Brand
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.replace_brand_by_id(brand_id, brand, async=True)
        >>> result = thread.get()

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