$darkmode
Qore GoogleDataProvider Module Reference 1.0
GoogleCalendarsDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
26 namespace GoogleDataProvider {
29 
30 public:
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 
47 protected:
49  hash<string, bool> calendars;
50 
53 
54 public:
55 
57  constructor(*hash<auto> options);
58 
59 
61  constructor(GoogleRestClient::GoogleRestClient rest) ;
62 
63 
65  string getName();
66 
67 
69  *string getDesc();
70 
71 
73  *list<hash<DataProvider::DataProviderSummaryInfo>> getChildProviderSummaryInfo();
74 
75 
77 
79 protected:
80  *list<string> getChildProviderNamesImpl();
81 public:
82 
83 
85 
89 protected:
91 public:
92 
93 
95  hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
96 
97 
99 protected:
100  hash<string, bool> getAllCalendars();
101 public:
102 
103 };
104 };
The parent class for REST APIs related to specific Google calendars.
Definition: GoogleCalendarsDataProvider.qc.dox.h:28
hash< string, bool > getAllCalendars()
Returns access info for all tables.
const ProviderSummaryInfo
Provider summary info.
Definition: GoogleCalendarsDataProvider.qc.dox.h:43
hash< string, bool > calendars
Calendar list.
Definition: GoogleCalendarsDataProvider.qc.dox.h:49
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
const ProviderInfo
Provider info.
Definition: GoogleCalendarsDataProvider.qc.dox.h:32
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
*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
const True
Qore GoogleDataProvider module definition.
Definition: GoogleCalendarBaseDataProvider.qc.dox.h:26