Qore GoogleDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
GoogleCalendarBaseDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
29
30public:
32 const ProviderInfo = <DataProviderInfo>{
33 "name": "calendar",
34 "desc": "Google calendar base data provider; parent provider for APIs related to calendars",
35 "type": "GoogleCalendarBaseDataProvider",
36 "constructor_options": GoogleDataProvider::ConstructorOptions,
37 "supports_children": True,
38 "children_can_support_apis": True,
39 };
40
42 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
43 AbstractDataProvider::DataProviderSummaryInfoKeys
44 });
45
46protected:
47 const ChildMap = {
48 "calendarList": Class::forName("GoogleDataProvider::GoogleCalendarListDataProvider"),
49 "calendars": Class::forName("GoogleDataProvider::GoogleCalendarsDataProvider"),
50 "insert": Class::forName("GoogleDataProvider::GoogleCalendarInsertDataProvider"),
51 };
52
53public:
54
56 constructor(*hash<auto> options);
57
58
60 constructor(GoogleRestClient::GoogleRestClient rest) ;
61
62
64 string getName();
65
66
68 *string getDesc();
69
70
72 *list<hash<DataProvider::DataProviderSummaryInfo>> getChildProviderSummaryInfo();
73
74
76
78protected:
80public:
81
82
84
88protected:
90public:
91
92
94 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
95
96};
97};
The parent class for Google calendar REST APIs.
Definition: GoogleCalendarBaseDataProvider.qc.dox.h:28
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
*string getDesc()
Returns the data provider description.
*GoogleDataProviderBase getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
const ProviderInfo
Provider info.
Definition: GoogleCalendarBaseDataProvider.qc.dox.h:32
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
const ProviderSummaryInfo
Provider summary info.
Definition: GoogleCalendarBaseDataProvider.qc.dox.h:42
constructor(GoogleRestClient::GoogleRestClient rest)
Creates the object from a REST connection.
string getName()
Returns the data provider name.
constructor(*hash< auto > options)
Creates the object from constructor options.
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:33
const ConstructorOptions
Constructor options.
Definition: GoogleDataProvider.qc.dox.h:40
Qore GoogleDataProvider module definition.
Definition: GoogleCalendarBaseDataProvider.qc.dox.h:26