Loading...
Searching...
No Matches
GoogleApiParentDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace GoogleDataProvider {
class GoogleApiParentDataProvider : public GoogleDataProviderBase {
public:
const ConstructorOptions = ...;
protected:
string api;
list<string> resource_path;
string desc;
string type;
*hash<auto> path_args;
hash<string, bool> methods;
*hash<string, list<string>> subpaths;
public:
constructor(GoogleRestClient::GoogleRestClient rest, string api, string resource, *hash<auto> path_args, *string path_prefix, ...)
;
constructor(string api, string resource, *hash<auto> path_args, *string path_prefix, ...);
string getName();
*string getDesc();
*list<hash<DataProvider::DataProviderSummaryInfo>> getChildProviderSummaryInfo();
static hash<DataProvider::DataProviderSummaryInfo> getSummaryInfo(string api, string resource, list<string> resource_path);
protected:
setSubpaths(*string path_prefix, *list<auto> args);
public:
protected:
check();
public:
protected:
*list<string> getChildProviderNamesImpl();
public:
protected:
*GoogleDataProvider::GoogleDataProviderBase getChildProviderImpl(string name);
public:
protected:
hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
public:
};
};
GoogleDataProvider::GoogleApiParentDataProvider
The Google data provider base class.
Definition GoogleApiParentDataProvider.qc.dox.h:28
GoogleDataProvider::GoogleApiParentDataProvider::setSubpaths
setSubpaths(*string path_prefix, *list< auto > args)
Sets subpaths.
GoogleDataProvider::GoogleApiParentDataProvider::constructor
constructor(GoogleRestClient::GoogleRestClient rest, string api, string resource, *hash< auto > path_args, *string path_prefix,...)
Creates the object.
GoogleDataProvider::GoogleApiParentDataProvider::getChildProviderSummaryInfo
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
GoogleDataProvider::GoogleApiParentDataProvider::getDesc
*string getDesc()
Returns the data provider description.
GoogleDataProvider::GoogleApiParentDataProvider::check
check()
Check the data provider.
GoogleDataProvider::GoogleApiParentDataProvider::type
string type
Data provider type name.
Definition GoogleApiParentDataProvider.qc.dox.h:46
GoogleDataProvider::GoogleApiParentDataProvider::path_args
*hash< auto > path_args
Any path args associated with this data provider.
Definition GoogleApiParentDataProvider.qc.dox.h:49
GoogleDataProvider::GoogleApiParentDataProvider::resource_path
list< string > resource_path
The resource path name.
Definition GoogleApiParentDataProvider.qc.dox.h:40
GoogleDataProvider::GoogleApiParentDataProvider::getStaticInfoImpl
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
GoogleDataProvider::GoogleApiParentDataProvider::subpaths
*hash< string, list< string > > subpaths
Path groups under this parent.
Definition GoogleApiParentDataProvider.qc.dox.h:55
GoogleDataProvider::GoogleApiParentDataProvider::methods
hash< string, bool > methods
Method hash.
Definition GoogleApiParentDataProvider.qc.dox.h:52
GoogleDataProvider::GoogleApiParentDataProvider::constructor
constructor(string api, string resource, *hash< auto > path_args, *string path_prefix,...)
Creates the object.
GoogleDataProvider::GoogleApiParentDataProvider::ConstructorOptions
const ConstructorOptions
Constructor options.
Definition GoogleApiParentDataProvider.qc.dox.h:32
GoogleDataProvider::GoogleApiParentDataProvider::desc
string desc
Data provider description.
Definition GoogleApiParentDataProvider.qc.dox.h:43
GoogleDataProvider::GoogleApiParentDataProvider::getName
string getName()
Returns the data provider name.
GoogleDataProvider::GoogleApiParentDataProvider::api
string api
The Google API name (ex: "calendar")
Definition GoogleApiParentDataProvider.qc.dox.h:37
GoogleDataProvider::GoogleApiParentDataProvider::getChildProviderImpl
*GoogleDataProvider::GoogleDataProviderBase getChildProviderImpl(string name)
Returns the given child provider or nothing if the given child is unknown.
GoogleDataProvider::GoogleApiParentDataProvider::getChildProviderNamesImpl
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
GoogleDataProvider::GoogleDataProviderBase
The Google data provider base class.
Definition GoogleDataProviderBase.qc.dox.h:28
GoogleDataProvider::GoogleDataProviderBase::rest
*GoogleRestClient::GoogleRestClient rest
The REST client object for API calls.
Definition GoogleDataProviderBase.qc.dox.h:39
GoogleDataProvider
Qore GoogleDataProvider module definition.
Definition GoogleApiDataProvider.qc.dox.h:26