Qore GoogleDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
GoogleCalendarPatchDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace GoogleDataProvider {
28
31
32public:
34 const ProviderInfo = <DataProviderInfo>{
35 "name": "patch",
36 "desc": "Google calendar update (patch) calender API data provider",
37 "type": "GoogleCalendarPatchDataProvider",
38 "constructor_options": GoogleDataProvider::ConstructorOptions + {
39 "id": <DataProviderOptionInfo>{
40 "type": AbstractDataProviderTypeMap."string",
41 "desc": "The calendar ID",
42 },
43 },
44 "supports_request": True,
45 };
46
48 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
49 AbstractDataProvider::DataProviderSummaryInfoKeys
50 });
51
54
57
58protected:
60 string id;
61
63 *hash<auto> cal;
64
65public:
66
68 constructor(*hash<auto> options);
69
70
72 constructor(GoogleRestClient::GoogleRestClient rest, string id, *hash<auto> cal) ;
73
74
76 string getName();
77
78
80 *string getDesc();
81
82
84
89protected:
90 auto doRequestImpl(auto req, *hash<auto> request_options);
91public:
92
93
95
97protected:
98 *DataProvider::AbstractDataProviderType getRequestTypeImpl();
99public:
100
101
103
105protected:
106 *DataProvider::AbstractDataProviderType getResponseTypeImpl();
107public:
108
109
111 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
112
113};
114
116class GoogleCalendarPatchRequestType : public DataProvider::HashDataType {
117
118public:
119protected:
121 const Fields = ...;
122
123
124public:
125
128
129};
130};
The Google calendar patch API data provider.
Definition: GoogleCalendarPatchDataProvider.qc.dox.h:30
constructor(GoogleRestClient::GoogleRestClient rest, string id, *hash< auto > cal)
Creates the object from a REST connection.
*string getDesc()
Returns the data provider description.
constructor(*hash< auto > options)
Creates the object from constructor options.
const ProviderSummaryInfo
Provider summary info.
Definition: GoogleCalendarPatchDataProvider.qc.dox.h:48
string id
The calendar's ID.
Definition: GoogleCalendarPatchDataProvider.qc.dox.h:60
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
const ResponseType
Response type.
Definition: GoogleCalendarPatchDataProvider.qc.dox.h:56
const ProviderInfo
Provider info.
Definition: GoogleCalendarPatchDataProvider.qc.dox.h:34
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*hash< auto > cal
The calendar's metadata.
Definition: GoogleCalendarPatchDataProvider.qc.dox.h:63
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
const RequestType
Request type.
Definition: GoogleCalendarPatchDataProvider.qc.dox.h:53
string getName()
Returns the data provider name.
Google calendar patch request type.
Definition: GoogleCalendarPatchDataProvider.qc.dox.h:116
const Fields
Field descriptions.
Definition: GoogleCalendarPatchDataProvider.qc.dox.h:121
Google calender type.
Definition: GoogleCalendarType.qc.dox.h:31
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