| Qore GoogleDataProvider Module Reference 2.0

Loading...
Searching...
No Matches
GoogleApiParentDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
24
26 namespace GoogleDataProvider {
28 class GoogleApiParentDataProvider : public GoogleDataProviderBase {
29
30 public:
32 const ConstructorOptions = ...;
33
34
35 protected:
37 string api;
38
40 list<string> resource_path;
41
43 string desc;
44
46 string type;
47
49 *hash<auto> path_args;
50
52 hash<string, bool> methods;
53
55 *hash<string, list<string>> subpaths;
56
57 public:
58
60 constructor(RestClient::RestClient rest, string api, string resource, *hash<auto> path_args, *string path_prefix, ...)
61 ;
62
63
65 constructor(string api, string resource, *hash<auto> path_args, *string path_prefix, ...);
66
67
69 string getName();
70
71
73 *string getDesc();
74
75
77 *list<hash<DataProvider::DataProviderSummaryInfo>> getChildProviderSummaryInfo();
78
79
80 static hash<DataProvider::DataProviderSummaryInfo> getSummaryInfo(string api, string resource, list<string> resource_path);
81
83 protected:
84 setSubpaths(*string path_prefix, *list<auto> args);
85 public:
86
87
89 protected:
90 check();
91 public:
92
93
95
97 protected:
98 *list<string> getChildProviderNamesImpl();
99 public:
100
101
103
107 protected:
108 *GoogleDataProvider::GoogleDataProviderBase getChildProviderImpl(string name);
109 public:
110
111
113 protected:
114 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
115 public:
116
117};
118};
DataProvider::AbstractDataProvider::getSummaryInfo
hash< DataProviderSummaryInfo > getSummaryInfo()
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::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::constructor
constructor(RestClient::RestClient rest, string api, string resource, *hash< auto > path_args, *string path_prefix,...)
Creates the object.
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
*RestClient::RestClient rest
The REST client object for API calls.
Definition GoogleDataProviderBase.qc.dox.h:39
RestClient::RestClient
GoogleDataProvider
Qore GoogleDataProvider module definition.
Definition GoogleApiDataProvider.qc.dox.h:26