$darkmode
Qore GoogleDataProvider Module Reference 1.0
GoogleCalendarListDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
26 namespace GoogleDataProvider {
29 
30 public:
32  const ProviderInfo = <DataProviderInfo>{
33  "name": "calendarList",
34  "desc": "Google calendarList data provider; parent provider for APIs related to calendarLists",
35  "type": "GoogleCalendarListDataProvider",
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 
46 protected:
47  const ChildMap = {
48  "list": Class::forName("GoogleDataProvider::GoogleCalendarListListDataProvider"),
49  };
50 
51 public:
52 
54  constructor(*hash<auto> options);
55 
56 
58  constructor(GoogleRestClient::GoogleRestClient rest) ;
59 
60 
62  string getName();
63 
64 
66  *string getDesc();
67 
68 
70  *list<hash<DataProvider::DataProviderSummaryInfo>> getChildProviderSummaryInfo();
71 
72 
74 
76 protected:
77  *list<string> getChildProviderNamesImpl();
78 public:
79 
80 
82 
86 protected:
88 public:
89 
90 
92  hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
93 
94 };
95 };
The parent class for Google calendarList REST APIs.
Definition: GoogleCalendarListDataProvider.qc.dox.h:28
const ProviderSummaryInfo
Provider summary info.
Definition: GoogleCalendarListDataProvider.qc.dox.h:42
string getName()
Returns the data provider name.
constructor(*hash< auto > options)
Creates the object from constructor options.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
constructor(GoogleRestClient::GoogleRestClient rest)
Creates the object from a REST connection.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
const ProviderInfo
Provider info.
Definition: GoogleCalendarListDataProvider.qc.dox.h:32
*string getDesc()
Returns the data provider description.
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
*GoogleDataProviderBase getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
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