Qore GmailDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
GmailDataProvider::GmailMessageSendDataProvider Class Reference

Data provider for sending gmail messages. More...

#include <GmailSendMessageDataProvider.qc.dox.h>

Public Member Functions

 constructor (GoogleRestClient::GoogleRestClient rest)
 Creates the object from a REST connection.
 
*string getDesc ()
 Returns the data provider description.
 
string getName ()
 Returns the data provider name.
 
hash< DataProviderInfo > getStaticInfoImpl ()
 Returns data provider static info.
 

Public Attributes

const ProviderInfo = ...
 Provider info.
 
const ProviderSummaryInfo = ...
 Provider summary info.
 
const RequestType = GmailSendMessageRequestDataType
 Request type.
 
const ResourceAction = "users/messages/send"
 Gmail message send resource action.
 

Protected Member Functions

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

Detailed Description

Data provider for sending gmail messages.

Member Function Documentation

◆ doRequestImpl()

auto GmailDataProvider::GmailMessageSendDataProvider::doRequestImpl ( auto req,
*hash< auto > request_options )
protected

Makes a request and returns the response.

Parameters
reqthe request info
request_optionsthe request options; will be processed by validateRequestOptions()
Returns
the response to the request

◆ getRequestTypeImpl()

*AbstractDataProviderType GmailDataProvider::GmailMessageSendDataProvider::getRequestTypeImpl ( )
protected

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

Returns
the request type for this provider

◆ getResponseTypeImpl()

*AbstractDataProviderType GmailDataProvider::GmailMessageSendDataProvider::getResponseTypeImpl ( )
protected

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

Returns
the response type for this response message