$darkmode
Qore GoogleDataProvider Module Reference 1.0
GoogleCalendarEventsInsertDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
26 namespace GoogleDataProvider {
28 
31 
32 public:
34  const ProviderInfo = <DataProviderInfo>{
35  "name": "insert",
36  "desc": "Google calendar events insert calender event API data provider",
37  "type": "GoogleCalendarEventsInsertDataProvider",
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 
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 
120 
121 public:
123  const Fields = ...;
124 
125 
128 
129 };
130 };
Google calendar event data type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:397
Google calendar event get request data type.
Definition: GoogleCalendarEventsGetDataProvider.qc.dox.h:116
The Google calendar event insert API data provider.
Definition: GoogleCalendarEventsInsertDataProvider.qc.dox.h:30
constructor(GoogleRestClient::GoogleRestClient rest, string id, *hash< auto > cal)
Creates the object from a REST connection.
*hash< auto > cal
The calendar's metadata.
Definition: GoogleCalendarEventsInsertDataProvider.qc.dox.h:66
string id
The calendar's ID.
Definition: GoogleCalendarEventsInsertDataProvider.qc.dox.h:63
const RequestType
Request type.
Definition: GoogleCalendarEventsInsertDataProvider.qc.dox.h:53
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
constructor(*hash< auto > options)
Creates the object from constructor options.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
const ProviderInfo
Provider info.
Definition: GoogleCalendarEventsInsertDataProvider.qc.dox.h:34
const ProviderSummaryInfo
Provider summary info.
Definition: GoogleCalendarEventsInsertDataProvider.qc.dox.h:48
string getName()
Returns the data provider name.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
*string getDesc()
Returns the data provider description.
const ResponseType
Response type.
Definition: GoogleCalendarEventsInsertDataProvider.qc.dox.h:56
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
const QueryArgs
Query args.
Definition: GoogleCalendarEventsInsertDataProvider.qc.dox.h:59
Google calender event insert request data type.
Definition: GoogleCalendarEventsInsertDataProvider.qc.dox.h:119
const Fields
Field descriptions.
Definition: GoogleCalendarEventsInsertDataProvider.qc.dox.h:123
const QueryArgs
Query args.
Definition: GoogleCalendarEventsPatchDataProvider.qc.dox.h:59
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