Qore GmailDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
GmailMessageWatchDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace GmailDataProvider {
28const EVENT_EMAIL_MATCHED = "EMAIL-MATCHED";
29
32
33public:
35 const ProviderInfo = ...;
36
37
40
41
42protected:
43 static GmailMessageEventDataType gmailMessageEventDataType;
44
45public:
46
48 constructor(GoogleRestClient::GoogleRestClient rest, *hash<auto> options) ;
49
50
52 string getName();
53
54
56 *string getDesc();
57
58
60 static AbstractDataProviderType getMessageEventType();
61
63
67protected:
68 hash<string, hash<DataProviderMessageInfo>> getEventTypesImpl();
69public:
70
71
73protected:
74 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
75public:
76
77
79protected:
80 messageReceived(hash<auto> msg);
81public:
82
83
85
94protected:
95 auto getExampleEventDataImpl(string event_id);
96public:
97
98};
99
101class GmailMessageEventDataType : public HashDataType {
102
103public:
104 const Fields = ...;
105
106
107 const PartFields = Fields{PartHeaders};
108
109 const PartHeaders = ...;
110
111
112 constructor() ;
113
114};
115};
Event data type for new gmail events.
Definition GmailMessageWatchDataProvider.qc.dox.h:101
The parent class for Gmail REST APIs.
Definition GmailMessageWatchDataProviderBase.qc.dox.h:28
The parent class for Gmail REST APIs.
Definition GmailMessageWatchDataProvider.qc.dox.h:31
*string getDesc()
Returns the data provider description.
const ProviderInfo
Provider info.
Definition GmailMessageWatchDataProvider.qc.dox.h:35
constructor(GoogleRestClient::GoogleRestClient rest, *hash< auto > options)
Creates the object from a REST connection.
messageReceived(hash< auto > msg)
Raise events.
const ProviderSummaryInfo
Provider summary info.
Definition GmailMessageWatchDataProvider.qc.dox.h:39
auto getExampleEventDataImpl(string event_id)
Returns example data for the given observable event.
hash< string, hash< DataProviderMessageInfo > > getEventTypesImpl()
Returns a hash of all supported event types.
static AbstractDataProviderType getMessageEventType()
Returns the message event data type.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
string getName()
Returns the data provider name.
Qore GmailDataProvider module definition.
Definition GmailAttachmentWatchDataProvider.qc.dox.h:26
const EVENT_EMAIL_MATCHED
Gmail email matched event.
Definition GmailMessageWatchDataProvider.qc.dox.h:28