Qore GoogleDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
GoogleCalendarDeleteDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace GoogleDataProvider {
28
31
32public:
34 const ProviderInfo = <DataProviderInfo>{
35 "name": "delete",
36 "desc": "Google calendar delete API data provider",
37 "type": "GoogleCalendarDeleteDataProvider",
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
53 const RequestType = AbstractDataProviderTypeMap."nothing";
54
56 const ResponseType = AbstractDataProviderTypeMap."nothing";
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};
The Google calendar delete API data provider.
Definition: GoogleCalendarDeleteDataProvider.qc.dox.h:30
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
const ResponseType
Response type.
Definition: GoogleCalendarDeleteDataProvider.qc.dox.h:56
constructor(*hash< auto > options)
Creates the object from constructor options.
*string getDesc()
Returns the data provider description.
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
string id
The calendar's ID.
Definition: GoogleCalendarDeleteDataProvider.qc.dox.h:60
const ProviderSummaryInfo
Provider summary info.
Definition: GoogleCalendarDeleteDataProvider.qc.dox.h:48
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
constructor(GoogleRestClient::GoogleRestClient rest, string id, *hash< auto > cal)
Creates the object from a REST connection.
*hash< auto > cal
The calendar's metadata.
Definition: GoogleCalendarDeleteDataProvider.qc.dox.h:63
string getName()
Returns the data provider name.
const RequestType
Request type.
Definition: GoogleCalendarDeleteDataProvider.qc.dox.h:53
const ProviderInfo
Provider info.
Definition: GoogleCalendarDeleteDataProvider.qc.dox.h:34
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