Loading...
Searching...
No Matches
GmailAttachmentWatchDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace GmailDataProvider {
const EVENT_ATTACHMENT_MATCHED = "ATTACHMENT-MATCHED";
class GmailAttachmentWatchDataProvider : public GmailMessageWatchDataProviderBase {
public:
const ProviderInfo = ...;
const ConstructorOptions = ...;
const ProviderSummaryInfo = ...;
protected:
string attachment_glob;
string attachment_regex;
int re_flags = RE_Unicode;
public:
constructor(GoogleRestClient::GoogleRestClient rest, *hash<auto> options) ;
string getName();
*string getDesc();
protected:
processOptions(*hash<auto> copts);
public:
protected:
hash<string, hash<DataProviderMessageInfo>> getEventTypesImpl();
public:
protected:
hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
public:
protected:
messageReceived(hash<auto> msg);
public:
protected:
auto getExampleEventDataImpl(string event_id);
public:
};
class GmailAttachmentEventDataType : public HashDataType {
public:
const Fields = ...;
constructor() ;
};
const GmailAttachmentEventDataType = new GmailAttachmentEventDataType();
};
GmailDataProvider::GmailAttachmentEventDataType
Attachment event data type.
Definition GmailAttachmentWatchDataProvider.qc.dox.h:115
GmailDataProvider::GmailAttachmentWatchDataProvider
The parent class for Gmail REST APIs.
Definition GmailAttachmentWatchDataProvider.qc.dox.h:31
GmailDataProvider::GmailAttachmentWatchDataProvider::getStaticInfoImpl
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
GmailDataProvider::GmailAttachmentWatchDataProvider::attachment_regex
string attachment_regex
Regular expression for matching attachment filenames.
Definition GmailAttachmentWatchDataProvider.qc.dox.h:51
GmailDataProvider::GmailAttachmentWatchDataProvider::getDesc
*string getDesc()
Returns the data provider description.
GmailDataProvider::GmailAttachmentWatchDataProvider::processOptions
processOptions(*hash< auto > copts)
Process constructor options.
GmailDataProvider::GmailAttachmentWatchDataProvider::getName
string getName()
Returns the data provider name.
GmailDataProvider::GmailAttachmentWatchDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition GmailAttachmentWatchDataProvider.qc.dox.h:43
GmailDataProvider::GmailAttachmentWatchDataProvider::getExampleEventDataImpl
auto getExampleEventDataImpl(string event_id)
Returns example data for the given observable event.
GmailDataProvider::GmailAttachmentWatchDataProvider::ConstructorOptions
const ConstructorOptions
Constructor options.
Definition GmailAttachmentWatchDataProvider.qc.dox.h:39
GmailDataProvider::GmailAttachmentWatchDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition GmailAttachmentWatchDataProvider.qc.dox.h:35
GmailDataProvider::GmailAttachmentWatchDataProvider::getEventTypesImpl
hash< string, hash< DataProviderMessageInfo > > getEventTypesImpl()
Returns a hash of all supported event types.
GmailDataProvider::GmailAttachmentWatchDataProvider::re_flags
int re_flags
Regular expression match flags.
Definition GmailAttachmentWatchDataProvider.qc.dox.h:54
GmailDataProvider::GmailAttachmentWatchDataProvider::constructor
constructor(GoogleRestClient::GoogleRestClient rest, *hash< auto > options)
Creates the object from a REST connection.
GmailDataProvider::GmailAttachmentWatchDataProvider::attachment_glob
string attachment_glob
Glob for matching attachment filenames.
Definition GmailAttachmentWatchDataProvider.qc.dox.h:48
GmailDataProvider::GmailAttachmentWatchDataProvider::messageReceived
messageReceived(hash< auto > msg)
Raise events.
GmailDataProvider::GmailMessageWatchDataProviderBase
The parent class for Gmail REST APIs.
Definition GmailMessageWatchDataProviderBase.qc.dox.h:28
GmailDataProvider
Qore GmailDataProvider module definition.
Definition GmailAttachmentWatchDataProvider.qc.dox.h:26
GmailDataProvider::EVENT_ATTACHMENT_MATCHED
const EVENT_ATTACHMENT_MATCHED
Gmail attachment matched event.
Definition GmailAttachmentWatchDataProvider.qc.dox.h:28
GmailDataProvider::GmailAttachmentEventDataType
const GmailAttachmentEventDataType
Attachment event data type constant.
Definition GmailAttachmentWatchDataProvider.qc.dox.h:125