def inventory_query_string(self):
        parts = []
        if self.inventory_name:
            parts.append("name=%s" % self.inventory_name)
        if self.inventory_version:
            parts.append("version=%s" % self.inventory_version)
        if self.inventory_bundleid:
            parts.append("bundleid=%s" % self.inventory_bundleid)
        if self.inventory_bundlename:
            parts.append("bundlename=%s" % self.inventory_bundlename)
        if self.inventory_path:
            parts.append("path=%s" % self.inventory_path)
        if parts:
            return quote_plus('?%s' % '&'.join(parts), safe='?&=')
        else:
            return ''
Returns a web query string for use in building URLs that link to
dataset/ETHPy150Open munki/munkiwebadmin/licenses/models.py/License.inventory_query_string