Qore GmailDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
GmailSendMessageDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace GmailDataProvider {
28class GmailMessageSendDataProvider : public GoogleDataProvider::GoogleApiDataProvider {
29
30public:
32 const ProviderInfo = ...;
33
34
37
38
41
43 const ResourceAction = "users/messages/send";
44
46 constructor(GoogleRestClient::GoogleRestClient rest) ;
47
48
50 string getName();
51
52
54 *string getDesc();
55
56
58
63protected:
64 auto doRequestImpl(auto req, *hash<auto> request_options);
65public:
66
67
69
71protected:
72 *AbstractDataProviderType getRequestTypeImpl();
73public:
74
75
77protected:
78 AbstractDataProviderType getGoogleRequestType();
79public:
80
81
83
85protected:
86 *AbstractDataProviderType getResponseTypeImpl();
87public:
88
89
91 hash<DataProviderInfo> getStaticInfoImpl();
92
93};
94
95const BodyEncodingList = ...;
96
97
98const BodyMimeTypeList = ...;
99
100
102class GmailSendMessageAttachmentDataType : public HashDataType {
103
104public:
106 const Fields = ...;
107
108
111
112};
113
116
118class GmailSendMessageRequestDataType : public HashDataType {
119
120public:
122 const Fields = ...;
123
124
127
128};
129
132};
Data provider for sending gmail messages.
Definition GmailSendMessageDataProvider.qc.dox.h:28
const ResourceAction
Gmail message send resource action.
Definition GmailSendMessageDataProvider.qc.dox.h:43
string getName()
Returns the data provider name.
constructor(GoogleRestClient::GoogleRestClient rest)
Creates the object from a REST connection.
const ProviderSummaryInfo
Provider summary info.
Definition GmailSendMessageDataProvider.qc.dox.h:36
const RequestType
Request type.
Definition GmailSendMessageDataProvider.qc.dox.h:40
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
const ProviderInfo
Provider info.
Definition GmailSendMessageDataProvider.qc.dox.h:32
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
*string getDesc()
Returns the data provider description.
AbstractDataProviderType getGoogleRequestType()
Returns the Google request type for the operation.
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
Gmail attachment type.
Definition GmailSendMessageDataProvider.qc.dox.h:102
const Fields
Field descriptions.
Definition GmailSendMessageDataProvider.qc.dox.h:106
Gmail send message type.
Definition GmailSendMessageDataProvider.qc.dox.h:118
const Fields
Field descriptions.
Definition GmailSendMessageDataProvider.qc.dox.h:122
Qore GmailDataProvider module definition.
Definition GmailAttachmentWatchDataProvider.qc.dox.h:26
const GmailSendMessageAttachmentDataType
Gmail attachment type.
Definition GmailSendMessageDataProvider.qc.dox.h:115
const GmailSendMessageRequestDataType
Gmail send message type.
Definition GmailSendMessageDataProvider.qc.dox.h:131