Add TeamdriveSearchQuery and support for it in TeamdriveFetchJob.
Summary: As of now, TeamdriveFetchJob is missing support for search queries (as seen in FileFetchJob). These queries may be used with an account with Team Drive admin priviledges.
I added TeamdriveSearchQueryTest which should cover all functionality.
Below is an example of usage with TeamdriveFetchJob:
KGAPI2::Drive::TeamdriveSearchQuery query; query.addQuery(KGAPI2::Drive::TeamdriveSearchQuery::MemberCount, KGAPI2::Drive::TeamdriveSearchQuery::Less, 10); KGAPI2::Drive::TeamdriveFetchJob *fetchJob = new KGAPI2::Drive::TeamdriveFetchJob(query, m_account, this);
Reviewed By: dvratil
Subscribers: kde-pim, LibKGAPI
Maniphest Tasks: T10521
Differential Revision: https://phabricator.kde.org/D19546