CreateQuery.
        Creates a query, or moves a query.
        :param :class:`<QueryHierarchyItem> <azure.devops.v5_0.work_item_tracking.models.QueryHierarchyItem>` posted_query: The query to create.
        :param str project: Project ID or project name
        :param str query: The parent id or path under which the query is to be created.
        :rtype: :class:`<QueryHierarchyItem> <azure.devops.v5_0.work_item_tracking.models.QueryHierarchyItem>`

def create_query(self, posted_query, project, query):
        """CreateQuery.
        Creates a query, or moves a query.
        :param :class:`<QueryHierarchyItem> <azure.devops.v5_0.work_item_tracking.models.QueryHierarchyItem>` posted_query: The query to create.
        :param str project: Project ID or project name
        :param str query: The parent id or path under which the query is to be created.
        :rtype: :class:`<QueryHierarchyItem> <azure.devops.v5_0.work_item_tracking.models.QueryHierarchyItem>`
        """
        route_values = {}
        if project is not None:
            route_values['project'] = self._serialize.url('project', project, 'str')
        if query is not None:
            route_values['query'] = self._serialize.url('query', query, 'str')
        content = self._serialize.body(posted_query, 'QueryHierarchyItem')
        response = self._send(http_method='POST',
                              location_id='a67d190c-c41f-424b-814d-0e906f659301',
                              version='5.0',
                              route_values=route_values,
                              content=content)
        return self._deserialize('QueryHierarchyItem', response)