$darkmode
Qore GoogleDataProvider Module Reference 1.0
GoogleCalendarUpdateDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
26 namespace GoogleDataProvider {
28 
34 
35 public:
37  const ProviderInfo = <DataProviderInfo>{
38  "name": "update",
39  "desc": "Google calendar update calender API data provider",
40  "type": "GoogleCalendarUpdateDataProvider",
41  "constructor_options": GoogleDataProvider::ConstructorOptions + {
42  "id": <DataProviderOptionInfo>{
43  "type": AbstractDataProviderTypeMap."string",
44  "desc": "The calendar ID",
45  },
46  },
47  "supports_request": True,
48  };
49 
51  const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
52  AbstractDataProvider::DataProviderSummaryInfoKeys
53  });
54 
57 
60 
61 protected:
63  string id;
64 
66  *hash<auto> cal;
67 
68 public:
69 
71  constructor(*hash<auto> options);
72 
73 
75  constructor(GoogleRestClient::GoogleRestClient rest, string id, *hash<auto> cal) ;
76 
77 
79  string getName();
80 
81 
83  *string getDesc();
84 
85 
87 
92 protected:
93  auto doRequestImpl(auto req, *hash<auto> request_options);
94 public:
95 
96 
98 
100 protected:
101  *DataProvider::AbstractDataProviderType getRequestTypeImpl();
102 public:
103 
104 
106 
108 protected:
109  *DataProvider::AbstractDataProviderType getResponseTypeImpl();
110 public:
111 
112 
114  hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
115 
116 };
117 };
Google calendar patch request type.
Definition: GoogleCalendarPatchDataProvider.qc.dox.h:116
The Google calendar update API data provider.
Definition: GoogleCalendarUpdateDataProvider.qc.dox.h:33
*hash< auto > cal
The calendar's metadata.
Definition: GoogleCalendarUpdateDataProvider.qc.dox.h:66
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
string id
The calendar's ID.
Definition: GoogleCalendarUpdateDataProvider.qc.dox.h:63
const RequestType
Request type.
Definition: GoogleCalendarUpdateDataProvider.qc.dox.h:56
const ProviderSummaryInfo
Provider summary info.
Definition: GoogleCalendarUpdateDataProvider.qc.dox.h:51
string getName()
Returns the data provider name.
constructor(GoogleRestClient::GoogleRestClient rest, string id, *hash< auto > cal)
Creates the object from a REST connection.
*string getDesc()
Returns the data provider description.
const ProviderInfo
Provider info.
Definition: GoogleCalendarUpdateDataProvider.qc.dox.h:37
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
const ResponseType
Response type.
Definition: GoogleCalendarUpdateDataProvider.qc.dox.h:59
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
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
const True
Qore GoogleDataProvider module definition.
Definition: GoogleCalendarBaseDataProvider.qc.dox.h:26
const GoogleCalendarType
Google calendar type constant.
Definition: GoogleCalendarType.qc.dox.h:28