Loading...
Searching...
No Matches
GoogleCalendarInsertDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace GoogleDataProvider {
class GoogleCalendarInsertDataProvider : public GoogleDataProviderBase {
public:
const ProviderInfo = <DataProviderInfo>{
"name": "insert",
"desc": "Google calendar insert API data provider",
"type": "GoogleCalendarInsertDataProvider",
"constructor_options": GoogleDataProvider::ConstructorOptions,
"supports_request": True,
};
const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
AbstractDataProvider::DataProviderSummaryInfoKeys
});
const RequestType = new GoogleCalendarInsertRequestType();
const ResponseType = GoogleCalendarType;
constructor(*hash<auto> options);
constructor(GoogleRestClient::GoogleRestClient rest) ;
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();
};
class GoogleCalendarInsertRequestType : public DataProvider::HashDataType {
public:
protected:
const Fields = {
// query parameters
"summary": {
"type": AbstractDataProviderTypeMap."string",
"desc": "Title of the calendar",
},
"timeZone": {
"type": AbstractDataProviderTypeMap."*string",
"desc": "The time zone of the calendar",
},
};
public:
constructor();
};
};
GoogleDataProvider::GoogleCalendarInsertDataProvider
The Google calendar insert API data provider.
Definition: GoogleCalendarInsertDataProvider.qc.dox.h:30
GoogleDataProvider::GoogleCalendarInsertDataProvider::getResponseTypeImpl
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
GoogleDataProvider::GoogleCalendarInsertDataProvider::getStaticInfoImpl
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
GoogleDataProvider::GoogleCalendarInsertDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition: GoogleCalendarInsertDataProvider.qc.dox.h:43
GoogleDataProvider::GoogleCalendarInsertDataProvider::RequestType
const RequestType
Request type.
Definition: GoogleCalendarInsertDataProvider.qc.dox.h:48
GoogleDataProvider::GoogleCalendarInsertDataProvider::getDesc
*string getDesc()
Returns the data provider description.
GoogleDataProvider::GoogleCalendarInsertDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
GoogleDataProvider::GoogleCalendarInsertDataProvider::constructor
constructor(GoogleRestClient::GoogleRestClient rest)
Creates the object from a REST connection.
GoogleDataProvider::GoogleCalendarInsertDataProvider::getName
string getName()
Returns the data provider name.
GoogleDataProvider::GoogleCalendarInsertDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
GoogleDataProvider::GoogleCalendarInsertDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition: GoogleCalendarInsertDataProvider.qc.dox.h:34
GoogleDataProvider::GoogleCalendarInsertDataProvider::ResponseType
const ResponseType
Response type.
Definition: GoogleCalendarInsertDataProvider.qc.dox.h:51
GoogleDataProvider::GoogleCalendarInsertDataProvider::getRequestTypeImpl
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
GoogleDataProvider::GoogleCalendarInsertRequestType
Google calendar insert request data type.
Definition: GoogleCalendarInsertDataProvider.qc.dox.h:102
GoogleDataProvider::GoogleCalendarInsertRequestType::Fields
const Fields
Field descriptions.
Definition: GoogleCalendarInsertDataProvider.qc.dox.h:107
GoogleDataProvider::GoogleCalendarInsertRequestType::constructor
constructor()
Creates the object.
GoogleDataProvider::GoogleCalendarType
Google calender type.
Definition: GoogleCalendarType.qc.dox.h:31
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