$darkmode
Qore GoogleDataProvider Module Reference 1.0
GoogleDataProvider::GoogleCalendarEventsListDataProvider Class Reference

The Google calendar events list API data provider. More...

Inheritance diagram for GoogleDataProvider::GoogleCalendarEventsListDataProvider:
[legend]

Public Member Functions

 constructor (*hash< auto > options)
 Creates the object from constructor options.
 
 constructor (GoogleRestClient::GoogleRestClient rest, string id, *hash< auto > cal)
 Creates the object from a REST connection.
 
*string getDesc ()
 Returns the data provider description.
 
string getName ()
 Returns the data provider name.
 
hash< DataProvider::DataProviderInfo > getStaticInfoImpl ()
 Returns data provider static info.
 
- Public Member Functions inherited from GoogleDataProvider::GoogleDataProviderBase
 constructor ()
 Creates the object.
 
 constructor (GoogleRestClient::GoogleRestClient rest)
 Creates the object.
 
 setLogger (*LoggerInterface logger)
 Accepts a LoggerInterface object for logging (or clears it)
 

Public Attributes

const ProviderInfo
 Provider info.
 
const ProviderSummaryInfo
 Provider summary info.
 
const RequestType = new GoogleCalendarEventsListRequestType()
 Request type.
 
const ResponseType = new GoogleCalendarEventsListResponseType()
 Response type.
 

Protected Member Functions

auto doRequestImpl (auto req, *hash< auto > request_options)
 Makes a request and returns the response. More...
 
*DataProvider::AbstractDataProviderType getRequestTypeImpl ()
 Returns the description of a successful request message, if any. More...
 
*DataProvider::AbstractDataProviderType getResponseTypeImpl ()
 Returns the description of a response message, if this object represents a response message. More...
 

Protected Attributes

*hash< auto > cal
 The calendar's metadata.
 
string id
 The calendar's ID.
 
- Protected Attributes inherited from GoogleDataProvider::GoogleDataProviderBase
*GoogleRestClient::GoogleRestClient rest
 The REST client object for API calls.
 

Detailed Description

The Google calendar events list API data provider.

This API allows the caller to list calendar events for the user

Member Function Documentation

◆ doRequestImpl()

auto GoogleDataProvider::GoogleCalendarEventsListDataProvider::doRequestImpl ( auto  req,
*hash< auto >  request_options 
)
protected

Makes a request and returns the response.

Parameters
reqthe request to serialize and make according to the request type
request_optionsthe request options; will be processed by validateRequestOptions()
Returns
the response to the request

◆ getRequestTypeImpl()

*DataProvider::AbstractDataProviderType GoogleDataProvider::GoogleCalendarEventsListDataProvider::getRequestTypeImpl ( )
protected

Returns the description of a successful request message, if any.

Returns
the request type for this provider

◆ getResponseTypeImpl()

*DataProvider::AbstractDataProviderType GoogleDataProvider::GoogleCalendarEventsListDataProvider::getResponseTypeImpl ( )
protected

Returns the description of a response message, if this object represents a response message.

Returns
the response type for this response message