Qore GoogleDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
GoogleCalendarsDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace GoogleDataProvider {
29
30public:
32 const ProviderInfo = <DataProviderInfo>{
33 "name": "calendars",
34 "desc": "Google calendars data provider; parent provider for REST APIs related to specific Google "
35 "calendars",
36 "type": "GoogleCalendarsDataProvider",
37 "constructor_options": GoogleDataProvider::ConstructorOptions,
38 "supports_children": True,
39 "children_can_support_apis": True,
40 };
41
43 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
44 AbstractDataProvider::DataProviderSummaryInfoKeys
45 });
46
47protected:
49 hash<string, bool> calendars;
50
53
54public:
55
57 constructor(*hash<auto> options);
58
59
62
63
65 string getName();
66
67
69 *string getDesc();
70
71
73 *list<hash<DataProvider::DataProviderSummaryInfo>> getChildProviderSummaryInfo();
74
75
77
79protected:
81public:
82
83
85
89protected:
91public:
92
93
95 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
96
97
99protected:
100 hash<string, bool> getAllCalendars();
101public:
102
103};
104};
The parent class for REST APIs related to specific Google calendars.
Definition: GoogleCalendarsDataProvider.qc.dox.h:28
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
const ProviderSummaryInfo
Provider summary info.
Definition: GoogleCalendarsDataProvider.qc.dox.h:43
hash< string, bool > getAllCalendars()
Returns access info for all tables.
hash< string, bool > calendars
Calendar list.
Definition: GoogleCalendarsDataProvider.qc.dox.h:49
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
const ProviderInfo
Provider info.
Definition: GoogleCalendarsDataProvider.qc.dox.h:32
*string getDesc()
Returns the data provider description.
*GoogleDataProviderBase getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
Qore::Thread::Mutex lck()
Metadata mutex.
constructor(*hash< auto > options)
Creates the object from constructor options.
constructor(GoogleRestClient::GoogleRestClient rest)
Creates the object from a REST connection.
string getName()
Returns the data provider name.
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