| Qore GmailDataProvider Module Reference 1.0

Loading...
Searching...
No Matches
GmailAttachmentWatchDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
24
26 namespace GmailDataProvider {
28 const EVENT_ATTACHMENT_MATCHED = "ATTACHMENT-MATCHED";
29
31 class GmailAttachmentWatchDataProvider : public GmailMessageWatchDataProviderBase {
32
33 public:
35 const ProviderInfo = ...;
36
37
39 const ConstructorOptions = ...;
40
41
43 const ProviderSummaryInfo = ...;
44
45
46 protected:
48 string attachment_glob;
49
51 string attachment_regex;
52
54 int re_flags = RE_Unicode;
55
56 public:
57
59 constructor(GoogleRestClient::GoogleRestClient rest, *hash<auto> options) ;
60
61
63 string getName();
64
65
67 *string getDesc();
68
69
71 protected:
72 processOptions(*hash<auto> copts);
73 public:
74
75
77
81 protected:
82 hash<string, hash<DataProviderMessageInfo>> getEventTypesImpl();
83 public:
84
85
87 protected:
88 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
89 public:
90
91
93 protected:
94 messageReceived(hash<auto> msg);
95 public:
96
97
99
108 protected:
109 auto getExampleEventDataImpl(string event_id);
110 public:
111
112};
113
115 class GmailAttachmentEventDataType : public HashDataType {
116
117 public:
118 const Fields = ...;
119
120 constructor() ;
121
122};
123
125 const GmailAttachmentEventDataType = new GmailAttachmentEventDataType();
126};
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