Qore GoogleDataProvider Module Reference 2.0
Loading...
Searching...
No Matches
GoogleApiParentDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace GoogleDataProvider {
29
30public:
32 const ConstructorOptions = ...;
33
34
35protected:
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
57public:
58
60 constructor(GoogleRestClient::GoogleRestClient 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
83protected:
84 setSubpaths(*string path_prefix, *list<auto> args);
85public:
86
87
89protected:
91public:
92
93
95
97protected:
99public:
100
101
103
107protected:
109public:
110
111
113protected:
114 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
115public:
116
117};
118};
The Google data provider base class.
Definition GoogleApiParentDataProvider.qc.dox.h:28
setSubpaths(*string path_prefix, *list< auto > args)
Sets subpaths.
constructor(GoogleRestClient::GoogleRestClient rest, string api, string resource, *hash< auto > path_args, *string path_prefix,...)
Creates the object.
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
*string getDesc()
Returns the data provider description.
string type
Data provider type name.
Definition GoogleApiParentDataProvider.qc.dox.h:46
*hash< auto > path_args
Any path args associated with this data provider.
Definition GoogleApiParentDataProvider.qc.dox.h:49
list< string > resource_path
The resource path name.
Definition GoogleApiParentDataProvider.qc.dox.h:40
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*hash< string, list< string > > subpaths
Path groups under this parent.
Definition GoogleApiParentDataProvider.qc.dox.h:55
hash< string, bool > methods
Method hash.
Definition GoogleApiParentDataProvider.qc.dox.h:52
constructor(string api, string resource, *hash< auto > path_args, *string path_prefix,...)
Creates the object.
const ConstructorOptions
Constructor options.
Definition GoogleApiParentDataProvider.qc.dox.h:32
string desc
Data provider description.
Definition GoogleApiParentDataProvider.qc.dox.h:43
string getName()
Returns the data provider name.
string api
The Google API name (ex: "calendar")
Definition GoogleApiParentDataProvider.qc.dox.h:37
*GoogleDataProvider::GoogleDataProviderBase getChildProviderImpl(string name)
Returns the given child provider or nothing if the given child is unknown.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
The Google data provider base class.
Definition GoogleDataProviderBase.qc.dox.h:28
*GoogleRestClient::GoogleRestClient rest
The REST client object for API calls.
Definition GoogleDataProviderBase.qc.dox.h:39
Qore GoogleDataProvider module definition.
Definition GoogleApiDataProvider.qc.dox.h:26