code: def get_folders(self, project, path=None, query_order=None):
          
          route_values = {}
          if project is not None:
              route_values['project'] = self._serialize.url('project', project, 'str')
          if path is not None:
              route_values['path'] = self._serialize.url('path', path, 'str')
          query_parameters = {}
          if query_order is not None:
              query_parameters['queryOrder'] = self._serialize.query('query_order', query_order, 'str')
          response = self._send(http_method='GET',
                                location_id='a906531b-d2da-4f55-bda7-f3e676cc50d9',
                                version='5.0-preview.2',
                                route_values=route_values,
                                query_parameters=query_parameters)
          return self._deserialize('[Folder]', self._unwrap_collection(response))
docs: GetFolders.
          [Preview API] Gets a list of build definition folders.
          :param str project: Project ID or project name
          :param str path: The path to start with.
          :param str query_order: The order in which folders should be returned.
          :rtype: [Folder]