Loading...
Searching...
No Matches
GoogleCalendarUpdateDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace GoogleDataProvider {
class GoogleCalendarUpdateDataProvider : public GoogleDataProviderBase {
public:
const ProviderInfo = <DataProviderInfo>{
"name": "update",
"desc": "Google calendar update calender API data provider",
"type": "GoogleCalendarUpdateDataProvider",
"constructor_options": GoogleDataProvider::ConstructorOptions + {
"id": <DataProviderOptionInfo>{
"type": AbstractDataProviderTypeMap."string",
"desc": "The calendar ID",
},
},
"supports_request": True,
};
const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
AbstractDataProvider::DataProviderSummaryInfoKeys
});
const RequestType = new GoogleCalendarPatchRequestType();
const ResponseType = GoogleCalendarType;
protected:
string id;
*hash<auto> cal;
public:
constructor(*hash<auto> options);
constructor(GoogleRestClient::GoogleRestClient rest, string id, *hash<auto> cal) ;
string getName();
*string getDesc();
protected:
auto doRequestImpl(auto req, *hash<auto> request_options);
public:
protected:
*DataProvider::AbstractDataProviderType getRequestTypeImpl();
public:
protected:
*DataProvider::AbstractDataProviderType getResponseTypeImpl();
public:
hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
};
};
GoogleDataProvider::GoogleCalendarPatchRequestType
Google calendar patch request type.
Definition: GoogleCalendarPatchDataProvider.qc.dox.h:116
GoogleDataProvider::GoogleCalendarType
Google calender type.
Definition: GoogleCalendarType.qc.dox.h:31
GoogleDataProvider::GoogleCalendarUpdateDataProvider
The Google calendar update API data provider.
Definition: GoogleCalendarUpdateDataProvider.qc.dox.h:33
GoogleDataProvider::GoogleCalendarUpdateDataProvider::cal
*hash< auto > cal
The calendar's metadata.
Definition: GoogleCalendarUpdateDataProvider.qc.dox.h:66
GoogleDataProvider::GoogleCalendarUpdateDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
GoogleDataProvider::GoogleCalendarUpdateDataProvider::getResponseTypeImpl
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
GoogleDataProvider::GoogleCalendarUpdateDataProvider::id
string id
The calendar's ID.
Definition: GoogleCalendarUpdateDataProvider.qc.dox.h:63
GoogleDataProvider::GoogleCalendarUpdateDataProvider::RequestType
const RequestType
Request type.
Definition: GoogleCalendarUpdateDataProvider.qc.dox.h:56
GoogleDataProvider::GoogleCalendarUpdateDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition: GoogleCalendarUpdateDataProvider.qc.dox.h:51
GoogleDataProvider::GoogleCalendarUpdateDataProvider::getName
string getName()
Returns the data provider name.
GoogleDataProvider::GoogleCalendarUpdateDataProvider::constructor
constructor(GoogleRestClient::GoogleRestClient rest, string id, *hash< auto > cal)
Creates the object from a REST connection.
GoogleDataProvider::GoogleCalendarUpdateDataProvider::getDesc
*string getDesc()
Returns the data provider description.
GoogleDataProvider::GoogleCalendarUpdateDataProvider::getStaticInfoImpl
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
GoogleDataProvider::GoogleCalendarUpdateDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition: GoogleCalendarUpdateDataProvider.qc.dox.h:37
GoogleDataProvider::GoogleCalendarUpdateDataProvider::ResponseType
const ResponseType
Response type.
Definition: GoogleCalendarUpdateDataProvider.qc.dox.h:59
GoogleDataProvider::GoogleCalendarUpdateDataProvider::getRequestTypeImpl
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
GoogleDataProvider::GoogleCalendarUpdateDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
GoogleDataProvider::GoogleDataProviderBase
The Google data provider base class.
Definition: GoogleDataProviderBase.qc.dox.h:28
GoogleDataProvider::GoogleDataProviderBase::rest
*GoogleRestClient::GoogleRestClient rest
The REST client object for API calls.
Definition: GoogleDataProviderBase.qc.dox.h:33
GoogleDataProvider::GoogleDataProvider::ConstructorOptions
const ConstructorOptions
Constructor options.
Definition: GoogleDataProvider.qc.dox.h:40
GoogleDataProvider
Qore GoogleDataProvider module definition.
Definition: GoogleCalendarBaseDataProvider.qc.dox.h:26