campaigning 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.bnsignore +16 -0
- data/.gitignore +5 -0
- data/LICENSE +20 -0
- data/README.rdoc +65 -0
- data/Rakefile +59 -0
- data/VERSION.yml +4 -0
- data/campaigning.gemspec +77 -0
- data/lib/campaigning.rb +1 -0
- data/lib/campaigning/campaign.rb +218 -0
- data/lib/campaigning/campaigning.rb +53 -0
- data/lib/campaigning/client.rb +335 -0
- data/lib/campaigning/list.rb +276 -0
- data/lib/campaigning/module_mixin.rb +31 -0
- data/lib/campaigning/soap/generated/default.rb +1715 -0
- data/lib/campaigning/soap/generated/defaultDriver.rb +413 -0
- data/lib/campaigning/soap/generated/defaultMappingRegistry.rb +1526 -0
- data/lib/campaigning/subscriber.rb +158 -0
- data/lib/campaigning/template.rb +124 -0
- data/sample/campaign_sample.rb +116 -0
- data/sample/campaigning_sample.rb +25 -0
- data/sample/client_sample.rb +139 -0
- data/sample/list_sample.rb +159 -0
- data/sample/subscriber_sample.rb +88 -0
- data/test/campaign_test.rb +102 -0
- data/test/campaigning_test.rb +34 -0
- data/test/client_test.rb +130 -0
- data/test/list_test.rb +113 -0
- data/test/subscriber_test.rb +55 -0
- data/test/template_test.rb +62 -0
- data/test/test_helper.rb +10 -0
- metadata +100 -0
@@ -0,0 +1,31 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__)) + '/soap/generated/defaultDriver.rb'
|
2
|
+
module Campaigning
|
3
|
+
module ModuleMixin #:nodoc:
|
4
|
+
#DefaultEndpointUrl = "http://api.createsend.com/api/api.asmx"
|
5
|
+
@@soap = Campaigning::ApiSoap.new
|
6
|
+
|
7
|
+
def self.included(base)
|
8
|
+
base.extend(ClassMethods) # Make all ClassMethods methods avaiable to the object including this module.
|
9
|
+
private :handle_response
|
10
|
+
end
|
11
|
+
|
12
|
+
def handle_response(response)
|
13
|
+
self.class.handle_response(response)
|
14
|
+
end
|
15
|
+
|
16
|
+
# All methods above will became Object methods
|
17
|
+
module ClassMethods #:nodoc:
|
18
|
+
|
19
|
+
#Method responsable to handle all response from the API server and raising an exception when
|
20
|
+
#the API returns an error code (different from 0 (zero) ).
|
21
|
+
def handle_response(response)
|
22
|
+
if (response.class == Campaigning::Result && response.code != 0)
|
23
|
+
raise response.code.to_s + " - " + response.message
|
24
|
+
end
|
25
|
+
response
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,1715 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
module Campaigning
|
4
|
+
|
5
|
+
|
6
|
+
# {http://api.createsend.com/api/}Result
|
7
|
+
# code - SOAP::SOAPInt
|
8
|
+
# message - SOAP::SOAPString
|
9
|
+
class Result
|
10
|
+
attr_accessor :code
|
11
|
+
attr_accessor :message
|
12
|
+
|
13
|
+
def initialize(code = nil, message = nil)
|
14
|
+
@code = code
|
15
|
+
@message = message
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
# {http://api.createsend.com/api/}Client
|
20
|
+
# clientID - SOAP::SOAPString
|
21
|
+
# name - SOAP::SOAPString
|
22
|
+
class Client
|
23
|
+
attr_accessor :clientID
|
24
|
+
attr_accessor :name
|
25
|
+
|
26
|
+
def initialize(clientID = nil, name = nil)
|
27
|
+
@clientID = clientID
|
28
|
+
@name = name
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
# {http://api.createsend.com/api/}CampaignSummary
|
33
|
+
# recipients - SOAP::SOAPInt
|
34
|
+
# totalOpened - SOAP::SOAPInt
|
35
|
+
# clicks - SOAP::SOAPInt
|
36
|
+
# unsubscribed - SOAP::SOAPInt
|
37
|
+
# bounced - SOAP::SOAPInt
|
38
|
+
class CampaignSummary
|
39
|
+
attr_accessor :recipients
|
40
|
+
attr_accessor :totalOpened
|
41
|
+
attr_accessor :clicks
|
42
|
+
attr_accessor :unsubscribed
|
43
|
+
attr_accessor :bounced
|
44
|
+
|
45
|
+
def initialize(recipients = nil, totalOpened = nil, clicks = nil, unsubscribed = nil, bounced = nil)
|
46
|
+
@recipients = recipients
|
47
|
+
@totalOpened = totalOpened
|
48
|
+
@clicks = clicks
|
49
|
+
@unsubscribed = unsubscribed
|
50
|
+
@bounced = bounced
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# {http://api.createsend.com/api/}SubscriberUnsubscribe
|
55
|
+
# emailAddress - SOAP::SOAPString
|
56
|
+
# listID - SOAP::SOAPString
|
57
|
+
class SubscriberUnsubscribe
|
58
|
+
attr_accessor :emailAddress
|
59
|
+
attr_accessor :listID
|
60
|
+
|
61
|
+
def initialize(emailAddress = nil, listID = nil)
|
62
|
+
@emailAddress = emailAddress
|
63
|
+
@listID = listID
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
# {http://api.createsend.com/api/}SubscriberBounce
|
68
|
+
# emailAddress - SOAP::SOAPString
|
69
|
+
# listID - SOAP::SOAPString
|
70
|
+
# bounceType - SOAP::SOAPString
|
71
|
+
class SubscriberBounce
|
72
|
+
attr_accessor :emailAddress
|
73
|
+
attr_accessor :listID
|
74
|
+
attr_accessor :bounceType
|
75
|
+
|
76
|
+
def initialize(emailAddress = nil, listID = nil, bounceType = nil)
|
77
|
+
@emailAddress = emailAddress
|
78
|
+
@listID = listID
|
79
|
+
@bounceType = bounceType
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# {http://api.createsend.com/api/}SubscriberOpen
|
84
|
+
# emailAddress - SOAP::SOAPString
|
85
|
+
# listID - SOAP::SOAPString
|
86
|
+
# numberOfOpens - SOAP::SOAPInt
|
87
|
+
class SubscriberOpen
|
88
|
+
attr_accessor :emailAddress
|
89
|
+
attr_accessor :listID
|
90
|
+
attr_accessor :numberOfOpens
|
91
|
+
|
92
|
+
def initialize(emailAddress = nil, listID = nil, numberOfOpens = nil)
|
93
|
+
@emailAddress = emailAddress
|
94
|
+
@listID = listID
|
95
|
+
@numberOfOpens = numberOfOpens
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# {http://api.createsend.com/api/}SubscriberClick
|
100
|
+
# emailAddress - SOAP::SOAPString
|
101
|
+
# listID - SOAP::SOAPString
|
102
|
+
# clickedLinks - Campaigning::ArrayOfSubscriberClickedLink
|
103
|
+
class SubscriberClick
|
104
|
+
attr_accessor :emailAddress
|
105
|
+
attr_accessor :listID
|
106
|
+
attr_accessor :clickedLinks
|
107
|
+
|
108
|
+
def initialize(emailAddress = nil, listID = nil, clickedLinks = nil)
|
109
|
+
@emailAddress = emailAddress
|
110
|
+
@listID = listID
|
111
|
+
@clickedLinks = clickedLinks
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
# {http://api.createsend.com/api/}ArrayOfSubscriberClickedLink
|
116
|
+
class ArrayOfSubscriberClickedLink < ::Array
|
117
|
+
end
|
118
|
+
|
119
|
+
# {http://api.createsend.com/api/}SubscriberClickedLink
|
120
|
+
# link - SOAP::SOAPString
|
121
|
+
# clicks - SOAP::SOAPString
|
122
|
+
class SubscriberClickedLink
|
123
|
+
attr_accessor :link
|
124
|
+
attr_accessor :clicks
|
125
|
+
|
126
|
+
def initialize(link = nil, clicks = nil)
|
127
|
+
@link = link
|
128
|
+
@clicks = clicks
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# {http://api.createsend.com/api/}ClientDetail
|
133
|
+
# basicDetails - Campaigning::ClientBasicDetails
|
134
|
+
# accessAndBilling - Campaigning::ClientAccessAndBilling
|
135
|
+
class ClientDetail
|
136
|
+
attr_accessor :basicDetails
|
137
|
+
attr_accessor :accessAndBilling
|
138
|
+
|
139
|
+
def initialize(basicDetails = nil, accessAndBilling = nil)
|
140
|
+
@basicDetails = basicDetails
|
141
|
+
@accessAndBilling = accessAndBilling
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
145
|
+
# {http://api.createsend.com/api/}ClientBasicDetails
|
146
|
+
# clientID - SOAP::SOAPString
|
147
|
+
# companyName - SOAP::SOAPString
|
148
|
+
# contactName - SOAP::SOAPString
|
149
|
+
# emailAddress - SOAP::SOAPString
|
150
|
+
# country - SOAP::SOAPString
|
151
|
+
# timezone - SOAP::SOAPString
|
152
|
+
class ClientBasicDetails
|
153
|
+
attr_accessor :clientID
|
154
|
+
attr_accessor :companyName
|
155
|
+
attr_accessor :contactName
|
156
|
+
attr_accessor :emailAddress
|
157
|
+
attr_accessor :country
|
158
|
+
attr_accessor :timezone
|
159
|
+
|
160
|
+
def initialize(clientID = nil, companyName = nil, contactName = nil, emailAddress = nil, country = nil, timezone = nil)
|
161
|
+
@clientID = clientID
|
162
|
+
@companyName = companyName
|
163
|
+
@contactName = contactName
|
164
|
+
@emailAddress = emailAddress
|
165
|
+
@country = country
|
166
|
+
@timezone = timezone
|
167
|
+
end
|
168
|
+
end
|
169
|
+
|
170
|
+
# {http://api.createsend.com/api/}ClientAccessAndBilling
|
171
|
+
# username - SOAP::SOAPString
|
172
|
+
# password - SOAP::SOAPString
|
173
|
+
# billingType - SOAP::SOAPString
|
174
|
+
# currency - SOAP::SOAPString
|
175
|
+
# deliveryFee - SOAP::SOAPString
|
176
|
+
# costPerRecipient - SOAP::SOAPString
|
177
|
+
# designAndSpamTestFee - SOAP::SOAPString
|
178
|
+
# accessLevel - SOAP::SOAPInt
|
179
|
+
class ClientAccessAndBilling
|
180
|
+
attr_accessor :username
|
181
|
+
attr_accessor :password
|
182
|
+
attr_accessor :billingType
|
183
|
+
attr_accessor :currency
|
184
|
+
attr_accessor :deliveryFee
|
185
|
+
attr_accessor :costPerRecipient
|
186
|
+
attr_accessor :designAndSpamTestFee
|
187
|
+
attr_accessor :accessLevel
|
188
|
+
|
189
|
+
def initialize(username = nil, password = nil, billingType = nil, currency = nil, deliveryFee = nil, costPerRecipient = nil, designAndSpamTestFee = nil, accessLevel = nil)
|
190
|
+
@username = username
|
191
|
+
@password = password
|
192
|
+
@billingType = billingType
|
193
|
+
@currency = currency
|
194
|
+
@deliveryFee = deliveryFee
|
195
|
+
@costPerRecipient = costPerRecipient
|
196
|
+
@designAndSpamTestFee = designAndSpamTestFee
|
197
|
+
@accessLevel = accessLevel
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
# {http://api.createsend.com/api/}Template
|
202
|
+
# templateID - SOAP::SOAPString
|
203
|
+
# name - SOAP::SOAPString
|
204
|
+
# previewURL - SOAP::SOAPString
|
205
|
+
# screenshotURL - SOAP::SOAPString
|
206
|
+
class Template
|
207
|
+
attr_accessor :templateID
|
208
|
+
attr_accessor :name
|
209
|
+
attr_accessor :previewURL
|
210
|
+
attr_accessor :screenshotURL
|
211
|
+
|
212
|
+
def initialize(templateID = nil, name = nil, previewURL = nil, screenshotURL = nil)
|
213
|
+
@templateID = templateID
|
214
|
+
@name = name
|
215
|
+
@previewURL = previewURL
|
216
|
+
@screenshotURL = screenshotURL
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
# {http://api.createsend.com/api/}List
|
221
|
+
# listID - SOAP::SOAPString
|
222
|
+
# name - SOAP::SOAPString
|
223
|
+
class List
|
224
|
+
attr_accessor :listID
|
225
|
+
attr_accessor :name
|
226
|
+
|
227
|
+
def initialize(listID = nil, name = nil)
|
228
|
+
@listID = listID
|
229
|
+
@name = name
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
# {http://api.createsend.com/api/}Campaign
|
234
|
+
# campaignID - SOAP::SOAPString
|
235
|
+
# subject - SOAP::SOAPString
|
236
|
+
# name - SOAP::SOAPString
|
237
|
+
# sentDate - SOAP::SOAPString
|
238
|
+
# totalRecipients - SOAP::SOAPInt
|
239
|
+
class Campaign
|
240
|
+
attr_accessor :campaignID
|
241
|
+
attr_accessor :subject
|
242
|
+
attr_accessor :name
|
243
|
+
attr_accessor :sentDate
|
244
|
+
attr_accessor :totalRecipients
|
245
|
+
|
246
|
+
def initialize(campaignID = nil, subject = nil, name = nil, sentDate = nil, totalRecipients = nil)
|
247
|
+
@campaignID = campaignID
|
248
|
+
@subject = subject
|
249
|
+
@name = name
|
250
|
+
@sentDate = sentDate
|
251
|
+
@totalRecipients = totalRecipients
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
255
|
+
# {http://api.createsend.com/api/}ListStatistics
|
256
|
+
# totalActiveSubscribers - SOAP::SOAPInt
|
257
|
+
# newActiveSubscribersToday - SOAP::SOAPInt
|
258
|
+
# newActiveSubscribersYesterday - SOAP::SOAPInt
|
259
|
+
# newActiveSubscribersThisWeek - SOAP::SOAPInt
|
260
|
+
# newActiveSubscribersThisMonth - SOAP::SOAPInt
|
261
|
+
# newActiveSubscribersThisYear - SOAP::SOAPInt
|
262
|
+
# totalUnsubscribes - SOAP::SOAPInt
|
263
|
+
# unsubscribesToday - SOAP::SOAPInt
|
264
|
+
# unsubscribesYesterday - SOAP::SOAPInt
|
265
|
+
# unsubscribesThisWeek - SOAP::SOAPInt
|
266
|
+
# unsubscribesThisMonth - SOAP::SOAPInt
|
267
|
+
# unsubscribesThisYear - SOAP::SOAPInt
|
268
|
+
# totalDeleted - SOAP::SOAPInt
|
269
|
+
# deletedToday - SOAP::SOAPInt
|
270
|
+
# deletedYesterday - SOAP::SOAPInt
|
271
|
+
# deletedThisWeek - SOAP::SOAPInt
|
272
|
+
# deletedThisMonth - SOAP::SOAPInt
|
273
|
+
# deletedThisYear - SOAP::SOAPInt
|
274
|
+
# totalBounces - SOAP::SOAPInt
|
275
|
+
# bouncesToday - SOAP::SOAPInt
|
276
|
+
# bouncesYesterday - SOAP::SOAPInt
|
277
|
+
# bouncesThisWeek - SOAP::SOAPInt
|
278
|
+
# bouncesThisMonth - SOAP::SOAPInt
|
279
|
+
# bouncesThisYear - SOAP::SOAPInt
|
280
|
+
class ListStatistics
|
281
|
+
attr_accessor :totalActiveSubscribers
|
282
|
+
attr_accessor :newActiveSubscribersToday
|
283
|
+
attr_accessor :newActiveSubscribersYesterday
|
284
|
+
attr_accessor :newActiveSubscribersThisWeek
|
285
|
+
attr_accessor :newActiveSubscribersThisMonth
|
286
|
+
attr_accessor :newActiveSubscribersThisYear
|
287
|
+
attr_accessor :totalUnsubscribes
|
288
|
+
attr_accessor :unsubscribesToday
|
289
|
+
attr_accessor :unsubscribesYesterday
|
290
|
+
attr_accessor :unsubscribesThisWeek
|
291
|
+
attr_accessor :unsubscribesThisMonth
|
292
|
+
attr_accessor :unsubscribesThisYear
|
293
|
+
attr_accessor :totalDeleted
|
294
|
+
attr_accessor :deletedToday
|
295
|
+
attr_accessor :deletedYesterday
|
296
|
+
attr_accessor :deletedThisWeek
|
297
|
+
attr_accessor :deletedThisMonth
|
298
|
+
attr_accessor :deletedThisYear
|
299
|
+
attr_accessor :totalBounces
|
300
|
+
attr_accessor :bouncesToday
|
301
|
+
attr_accessor :bouncesYesterday
|
302
|
+
attr_accessor :bouncesThisWeek
|
303
|
+
attr_accessor :bouncesThisMonth
|
304
|
+
attr_accessor :bouncesThisYear
|
305
|
+
|
306
|
+
def initialize(totalActiveSubscribers = nil, newActiveSubscribersToday = nil, newActiveSubscribersYesterday = nil, newActiveSubscribersThisWeek = nil, newActiveSubscribersThisMonth = nil, newActiveSubscribersThisYear = nil, totalUnsubscribes = nil, unsubscribesToday = nil, unsubscribesYesterday = nil, unsubscribesThisWeek = nil, unsubscribesThisMonth = nil, unsubscribesThisYear = nil, totalDeleted = nil, deletedToday = nil, deletedYesterday = nil, deletedThisWeek = nil, deletedThisMonth = nil, deletedThisYear = nil, totalBounces = nil, bouncesToday = nil, bouncesYesterday = nil, bouncesThisWeek = nil, bouncesThisMonth = nil, bouncesThisYear = nil)
|
307
|
+
@totalActiveSubscribers = totalActiveSubscribers
|
308
|
+
@newActiveSubscribersToday = newActiveSubscribersToday
|
309
|
+
@newActiveSubscribersYesterday = newActiveSubscribersYesterday
|
310
|
+
@newActiveSubscribersThisWeek = newActiveSubscribersThisWeek
|
311
|
+
@newActiveSubscribersThisMonth = newActiveSubscribersThisMonth
|
312
|
+
@newActiveSubscribersThisYear = newActiveSubscribersThisYear
|
313
|
+
@totalUnsubscribes = totalUnsubscribes
|
314
|
+
@unsubscribesToday = unsubscribesToday
|
315
|
+
@unsubscribesYesterday = unsubscribesYesterday
|
316
|
+
@unsubscribesThisWeek = unsubscribesThisWeek
|
317
|
+
@unsubscribesThisMonth = unsubscribesThisMonth
|
318
|
+
@unsubscribesThisYear = unsubscribesThisYear
|
319
|
+
@totalDeleted = totalDeleted
|
320
|
+
@deletedToday = deletedToday
|
321
|
+
@deletedYesterday = deletedYesterday
|
322
|
+
@deletedThisWeek = deletedThisWeek
|
323
|
+
@deletedThisMonth = deletedThisMonth
|
324
|
+
@deletedThisYear = deletedThisYear
|
325
|
+
@totalBounces = totalBounces
|
326
|
+
@bouncesToday = bouncesToday
|
327
|
+
@bouncesYesterday = bouncesYesterday
|
328
|
+
@bouncesThisWeek = bouncesThisWeek
|
329
|
+
@bouncesThisMonth = bouncesThisMonth
|
330
|
+
@bouncesThisYear = bouncesThisYear
|
331
|
+
end
|
332
|
+
end
|
333
|
+
|
334
|
+
# {http://api.createsend.com/api/}ListCustomField
|
335
|
+
# fieldName - SOAP::SOAPString
|
336
|
+
# key - SOAP::SOAPString
|
337
|
+
# dataType - Campaigning::SubscriberFieldDataType
|
338
|
+
# fieldOptions - Campaigning::ArrayOfString
|
339
|
+
class ListCustomField
|
340
|
+
attr_accessor :fieldName
|
341
|
+
attr_accessor :key
|
342
|
+
attr_accessor :dataType
|
343
|
+
attr_accessor :fieldOptions
|
344
|
+
|
345
|
+
def initialize(fieldName = nil, key = nil, dataType = nil, fieldOptions = nil)
|
346
|
+
@fieldName = fieldName
|
347
|
+
@key = key
|
348
|
+
@dataType = dataType
|
349
|
+
@fieldOptions = fieldOptions
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
353
|
+
# {http://api.createsend.com/api/}ArrayOfString
|
354
|
+
class ArrayOfString < ::Array
|
355
|
+
end
|
356
|
+
|
357
|
+
# {http://api.createsend.com/api/}ListDetail
|
358
|
+
# listID - SOAP::SOAPString
|
359
|
+
# title - SOAP::SOAPString
|
360
|
+
# unsubscribePage - SOAP::SOAPString
|
361
|
+
# confirmOptIn - SOAP::SOAPBoolean
|
362
|
+
# confirmationSuccessPage - SOAP::SOAPString
|
363
|
+
class ListDetail
|
364
|
+
attr_accessor :listID
|
365
|
+
attr_accessor :title
|
366
|
+
attr_accessor :unsubscribePage
|
367
|
+
attr_accessor :confirmOptIn
|
368
|
+
attr_accessor :confirmationSuccessPage
|
369
|
+
|
370
|
+
def initialize(listID = nil, title = nil, unsubscribePage = nil, confirmOptIn = nil, confirmationSuccessPage = nil)
|
371
|
+
@listID = listID
|
372
|
+
@title = title
|
373
|
+
@unsubscribePage = unsubscribePage
|
374
|
+
@confirmOptIn = confirmOptIn
|
375
|
+
@confirmationSuccessPage = confirmationSuccessPage
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
379
|
+
# {http://api.createsend.com/api/}Subscriber
|
380
|
+
# emailAddress - SOAP::SOAPString
|
381
|
+
# name - SOAP::SOAPString
|
382
|
+
# date - SOAP::SOAPString
|
383
|
+
# state - SOAP::SOAPString
|
384
|
+
# customFields - Campaigning::ArrayOfSubscriberCustomField
|
385
|
+
class Subscriber
|
386
|
+
attr_accessor :emailAddress
|
387
|
+
attr_accessor :name
|
388
|
+
attr_accessor :date
|
389
|
+
attr_accessor :state
|
390
|
+
attr_accessor :customFields
|
391
|
+
|
392
|
+
def initialize(emailAddress = nil, name = nil, date = nil, state = nil, customFields = nil)
|
393
|
+
@emailAddress = emailAddress
|
394
|
+
@name = name
|
395
|
+
@date = date
|
396
|
+
@state = state
|
397
|
+
@customFields = customFields
|
398
|
+
end
|
399
|
+
end
|
400
|
+
|
401
|
+
# {http://api.createsend.com/api/}ArrayOfSubscriberCustomField
|
402
|
+
class ArrayOfSubscriberCustomField < ::Array
|
403
|
+
end
|
404
|
+
|
405
|
+
# {http://api.createsend.com/api/}SubscriberCustomField
|
406
|
+
# key - SOAP::SOAPString
|
407
|
+
# value - SOAP::SOAPString
|
408
|
+
class SubscriberCustomField
|
409
|
+
attr_accessor :key
|
410
|
+
attr_accessor :value
|
411
|
+
|
412
|
+
def initialize(key = nil, value = nil)
|
413
|
+
@key = key
|
414
|
+
@value = value
|
415
|
+
end
|
416
|
+
end
|
417
|
+
|
418
|
+
# {http://api.createsend.com/api/}ArrayOfSubscriber
|
419
|
+
class ArrayOfSubscriber < ::Array
|
420
|
+
end
|
421
|
+
|
422
|
+
# {http://api.createsend.com/api/}ArrayOfListCustomField
|
423
|
+
class ArrayOfListCustomField < ::Array
|
424
|
+
end
|
425
|
+
|
426
|
+
# {http://api.createsend.com/api/}ArrayOfCampaign
|
427
|
+
class ArrayOfCampaign < ::Array
|
428
|
+
end
|
429
|
+
|
430
|
+
# {http://api.createsend.com/api/}ArrayOfList
|
431
|
+
class ArrayOfList < ::Array
|
432
|
+
end
|
433
|
+
|
434
|
+
# {http://api.createsend.com/api/}ArrayOfTemplate
|
435
|
+
class ArrayOfTemplate < ::Array
|
436
|
+
end
|
437
|
+
|
438
|
+
# {http://api.createsend.com/api/}ArrayOfSubscriberClick
|
439
|
+
class ArrayOfSubscriberClick < ::Array
|
440
|
+
end
|
441
|
+
|
442
|
+
# {http://api.createsend.com/api/}ArrayOfSubscriberOpen
|
443
|
+
class ArrayOfSubscriberOpen < ::Array
|
444
|
+
end
|
445
|
+
|
446
|
+
# {http://api.createsend.com/api/}ArrayOfSubscriberBounce
|
447
|
+
class ArrayOfSubscriberBounce < ::Array
|
448
|
+
end
|
449
|
+
|
450
|
+
# {http://api.createsend.com/api/}ArrayOfSubscriberUnsubscribe
|
451
|
+
class ArrayOfSubscriberUnsubscribe < ::Array
|
452
|
+
end
|
453
|
+
|
454
|
+
# {http://api.createsend.com/api/}ArrayOfClient
|
455
|
+
class ArrayOfClient < ::Array
|
456
|
+
end
|
457
|
+
|
458
|
+
# {http://api.createsend.com/api/}SubscriberFieldDataType
|
459
|
+
class SubscriberFieldDataType < ::String
|
460
|
+
MultiSelectMany = SubscriberFieldDataType.new("MultiSelectMany")
|
461
|
+
MultiSelectOne = SubscriberFieldDataType.new("MultiSelectOne")
|
462
|
+
Number = SubscriberFieldDataType.new("Number")
|
463
|
+
Text = SubscriberFieldDataType.new("Text")
|
464
|
+
end
|
465
|
+
|
466
|
+
# {http://api.createsend.com/api/}User.GetApiKey
|
467
|
+
# siteUrl - SOAP::SOAPString
|
468
|
+
# username - SOAP::SOAPString
|
469
|
+
# password - SOAP::SOAPString
|
470
|
+
class UserGetApiKey
|
471
|
+
attr_accessor :siteUrl
|
472
|
+
attr_accessor :username
|
473
|
+
attr_accessor :password
|
474
|
+
|
475
|
+
def initialize(siteUrl = nil, username = nil, password = nil)
|
476
|
+
@siteUrl = siteUrl
|
477
|
+
@username = username
|
478
|
+
@password = password
|
479
|
+
end
|
480
|
+
end
|
481
|
+
|
482
|
+
# {http://api.createsend.com/api/}User.GetApiKeyResponse
|
483
|
+
# user_GetApiKeyResult - (any)
|
484
|
+
class UserGetApiKeyResponse
|
485
|
+
attr_accessor :user_GetApiKeyResult
|
486
|
+
|
487
|
+
def initialize(user_GetApiKeyResult = nil)
|
488
|
+
@user_GetApiKeyResult = user_GetApiKeyResult
|
489
|
+
end
|
490
|
+
end
|
491
|
+
|
492
|
+
# {http://api.createsend.com/api/}Subscriber.AddWithCustomFields
|
493
|
+
# apiKey - SOAP::SOAPString
|
494
|
+
# listID - SOAP::SOAPString
|
495
|
+
# email - SOAP::SOAPString
|
496
|
+
# name - SOAP::SOAPString
|
497
|
+
# customFields - Campaigning::ArrayOfSubscriberCustomField
|
498
|
+
class SubscriberAddWithCustomFields
|
499
|
+
attr_accessor :apiKey
|
500
|
+
attr_accessor :listID
|
501
|
+
attr_accessor :email
|
502
|
+
attr_accessor :name
|
503
|
+
attr_accessor :customFields
|
504
|
+
|
505
|
+
def initialize(apiKey = nil, listID = nil, email = nil, name = nil, customFields = nil)
|
506
|
+
@apiKey = apiKey
|
507
|
+
@listID = listID
|
508
|
+
@email = email
|
509
|
+
@name = name
|
510
|
+
@customFields = customFields
|
511
|
+
end
|
512
|
+
end
|
513
|
+
|
514
|
+
# {http://api.createsend.com/api/}Subscriber.AddWithCustomFieldsResponse
|
515
|
+
# subscriber_AddWithCustomFieldsResult - Campaigning::Result
|
516
|
+
class SubscriberAddWithCustomFieldsResponse
|
517
|
+
attr_accessor :subscriber_AddWithCustomFieldsResult
|
518
|
+
|
519
|
+
def initialize(subscriber_AddWithCustomFieldsResult = nil)
|
520
|
+
@subscriber_AddWithCustomFieldsResult = subscriber_AddWithCustomFieldsResult
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
524
|
+
# {http://api.createsend.com/api/}Subscriber.AddAndResubscribeWithCustomFields
|
525
|
+
# apiKey - SOAP::SOAPString
|
526
|
+
# listID - SOAP::SOAPString
|
527
|
+
# email - SOAP::SOAPString
|
528
|
+
# name - SOAP::SOAPString
|
529
|
+
# customFields - Campaigning::ArrayOfSubscriberCustomField
|
530
|
+
class SubscriberAddAndResubscribeWithCustomFields
|
531
|
+
attr_accessor :apiKey
|
532
|
+
attr_accessor :listID
|
533
|
+
attr_accessor :email
|
534
|
+
attr_accessor :name
|
535
|
+
attr_accessor :customFields
|
536
|
+
|
537
|
+
def initialize(apiKey = nil, listID = nil, email = nil, name = nil, customFields = nil)
|
538
|
+
@apiKey = apiKey
|
539
|
+
@listID = listID
|
540
|
+
@email = email
|
541
|
+
@name = name
|
542
|
+
@customFields = customFields
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
546
|
+
# {http://api.createsend.com/api/}Subscriber.AddAndResubscribeWithCustomFieldsResponse
|
547
|
+
# subscriber_AddAndResubscribeWithCustomFieldsResult - Campaigning::Result
|
548
|
+
class SubscriberAddAndResubscribeWithCustomFieldsResponse
|
549
|
+
attr_accessor :subscriber_AddAndResubscribeWithCustomFieldsResult
|
550
|
+
|
551
|
+
def initialize(subscriber_AddAndResubscribeWithCustomFieldsResult = nil)
|
552
|
+
@subscriber_AddAndResubscribeWithCustomFieldsResult = subscriber_AddAndResubscribeWithCustomFieldsResult
|
553
|
+
end
|
554
|
+
end
|
555
|
+
|
556
|
+
# {http://api.createsend.com/api/}Subscriber.Add
|
557
|
+
# apiKey - SOAP::SOAPString
|
558
|
+
# listID - SOAP::SOAPString
|
559
|
+
# email - SOAP::SOAPString
|
560
|
+
# name - SOAP::SOAPString
|
561
|
+
class SubscriberAdd
|
562
|
+
attr_accessor :apiKey
|
563
|
+
attr_accessor :listID
|
564
|
+
attr_accessor :email
|
565
|
+
attr_accessor :name
|
566
|
+
|
567
|
+
def initialize(apiKey = nil, listID = nil, email = nil, name = nil)
|
568
|
+
@apiKey = apiKey
|
569
|
+
@listID = listID
|
570
|
+
@email = email
|
571
|
+
@name = name
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
575
|
+
# {http://api.createsend.com/api/}Subscriber.AddResponse
|
576
|
+
# subscriber_AddResult - Campaigning::Result
|
577
|
+
class SubscriberAddResponse
|
578
|
+
attr_accessor :subscriber_AddResult
|
579
|
+
|
580
|
+
def initialize(subscriber_AddResult = nil)
|
581
|
+
@subscriber_AddResult = subscriber_AddResult
|
582
|
+
end
|
583
|
+
end
|
584
|
+
|
585
|
+
# {http://api.createsend.com/api/}Subscriber.AddAndResubscribe
|
586
|
+
# apiKey - SOAP::SOAPString
|
587
|
+
# listID - SOAP::SOAPString
|
588
|
+
# email - SOAP::SOAPString
|
589
|
+
# name - SOAP::SOAPString
|
590
|
+
class SubscriberAddAndResubscribe
|
591
|
+
attr_accessor :apiKey
|
592
|
+
attr_accessor :listID
|
593
|
+
attr_accessor :email
|
594
|
+
attr_accessor :name
|
595
|
+
|
596
|
+
def initialize(apiKey = nil, listID = nil, email = nil, name = nil)
|
597
|
+
@apiKey = apiKey
|
598
|
+
@listID = listID
|
599
|
+
@email = email
|
600
|
+
@name = name
|
601
|
+
end
|
602
|
+
end
|
603
|
+
|
604
|
+
# {http://api.createsend.com/api/}Subscriber.AddAndResubscribeResponse
|
605
|
+
# subscriber_AddAndResubscribeResult - Campaigning::Result
|
606
|
+
class SubscriberAddAndResubscribeResponse
|
607
|
+
attr_accessor :subscriber_AddAndResubscribeResult
|
608
|
+
|
609
|
+
def initialize(subscriber_AddAndResubscribeResult = nil)
|
610
|
+
@subscriber_AddAndResubscribeResult = subscriber_AddAndResubscribeResult
|
611
|
+
end
|
612
|
+
end
|
613
|
+
|
614
|
+
# {http://api.createsend.com/api/}Subscriber.Unsubscribe
|
615
|
+
# apiKey - SOAP::SOAPString
|
616
|
+
# listID - SOAP::SOAPString
|
617
|
+
# email - SOAP::SOAPString
|
618
|
+
class SubscriberUnsubscribe_
|
619
|
+
attr_accessor :apiKey
|
620
|
+
attr_accessor :listID
|
621
|
+
attr_accessor :email
|
622
|
+
|
623
|
+
def initialize(apiKey = nil, listID = nil, email = nil)
|
624
|
+
@apiKey = apiKey
|
625
|
+
@listID = listID
|
626
|
+
@email = email
|
627
|
+
end
|
628
|
+
end
|
629
|
+
|
630
|
+
# {http://api.createsend.com/api/}Subscriber.UnsubscribeResponse
|
631
|
+
# subscriber_UnsubscribeResult - Campaigning::Result
|
632
|
+
class SubscriberUnsubscribeResponse
|
633
|
+
attr_accessor :subscriber_UnsubscribeResult
|
634
|
+
|
635
|
+
def initialize(subscriber_UnsubscribeResult = nil)
|
636
|
+
@subscriber_UnsubscribeResult = subscriber_UnsubscribeResult
|
637
|
+
end
|
638
|
+
end
|
639
|
+
|
640
|
+
# {http://api.createsend.com/api/}Subscribers.GetActive
|
641
|
+
# apiKey - SOAP::SOAPString
|
642
|
+
# listID - SOAP::SOAPString
|
643
|
+
# date - SOAP::SOAPString
|
644
|
+
class SubscribersGetActive
|
645
|
+
attr_accessor :apiKey
|
646
|
+
attr_accessor :listID
|
647
|
+
attr_accessor :date
|
648
|
+
|
649
|
+
def initialize(apiKey = nil, listID = nil, date = nil)
|
650
|
+
@apiKey = apiKey
|
651
|
+
@listID = listID
|
652
|
+
@date = date
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
656
|
+
# {http://api.createsend.com/api/}Subscribers.GetActiveResponse
|
657
|
+
# subscribers_GetActiveResult - (any)
|
658
|
+
class SubscribersGetActiveResponse
|
659
|
+
attr_accessor :subscribers_GetActiveResult
|
660
|
+
|
661
|
+
def initialize(subscribers_GetActiveResult = nil)
|
662
|
+
@subscribers_GetActiveResult = subscribers_GetActiveResult
|
663
|
+
end
|
664
|
+
end
|
665
|
+
|
666
|
+
# {http://api.createsend.com/api/}Subscribers.GetUnsubscribed
|
667
|
+
# apiKey - SOAP::SOAPString
|
668
|
+
# listID - SOAP::SOAPString
|
669
|
+
# date - SOAP::SOAPString
|
670
|
+
class SubscribersGetUnsubscribed
|
671
|
+
attr_accessor :apiKey
|
672
|
+
attr_accessor :listID
|
673
|
+
attr_accessor :date
|
674
|
+
|
675
|
+
def initialize(apiKey = nil, listID = nil, date = nil)
|
676
|
+
@apiKey = apiKey
|
677
|
+
@listID = listID
|
678
|
+
@date = date
|
679
|
+
end
|
680
|
+
end
|
681
|
+
|
682
|
+
# {http://api.createsend.com/api/}Subscribers.GetUnsubscribedResponse
|
683
|
+
# subscribers_GetUnsubscribedResult - (any)
|
684
|
+
class SubscribersGetUnsubscribedResponse
|
685
|
+
attr_accessor :subscribers_GetUnsubscribedResult
|
686
|
+
|
687
|
+
def initialize(subscribers_GetUnsubscribedResult = nil)
|
688
|
+
@subscribers_GetUnsubscribedResult = subscribers_GetUnsubscribedResult
|
689
|
+
end
|
690
|
+
end
|
691
|
+
|
692
|
+
# {http://api.createsend.com/api/}Subscribers.GetBounced
|
693
|
+
# apiKey - SOAP::SOAPString
|
694
|
+
# listID - SOAP::SOAPString
|
695
|
+
# date - SOAP::SOAPString
|
696
|
+
class SubscribersGetBounced
|
697
|
+
attr_accessor :apiKey
|
698
|
+
attr_accessor :listID
|
699
|
+
attr_accessor :date
|
700
|
+
|
701
|
+
def initialize(apiKey = nil, listID = nil, date = nil)
|
702
|
+
@apiKey = apiKey
|
703
|
+
@listID = listID
|
704
|
+
@date = date
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
708
|
+
# {http://api.createsend.com/api/}Subscribers.GetBouncedResponse
|
709
|
+
# subscribers_GetBouncedResult - (any)
|
710
|
+
class SubscribersGetBouncedResponse
|
711
|
+
attr_accessor :subscribers_GetBouncedResult
|
712
|
+
|
713
|
+
def initialize(subscribers_GetBouncedResult = nil)
|
714
|
+
@subscribers_GetBouncedResult = subscribers_GetBouncedResult
|
715
|
+
end
|
716
|
+
end
|
717
|
+
|
718
|
+
# {http://api.createsend.com/api/}Subscribers.GetSingleSubscriber
|
719
|
+
# apiKey - SOAP::SOAPString
|
720
|
+
# listID - SOAP::SOAPString
|
721
|
+
# emailAddress - SOAP::SOAPString
|
722
|
+
class SubscribersGetSingleSubscriber
|
723
|
+
attr_accessor :apiKey
|
724
|
+
attr_accessor :listID
|
725
|
+
attr_accessor :emailAddress
|
726
|
+
|
727
|
+
def initialize(apiKey = nil, listID = nil, emailAddress = nil)
|
728
|
+
@apiKey = apiKey
|
729
|
+
@listID = listID
|
730
|
+
@emailAddress = emailAddress
|
731
|
+
end
|
732
|
+
end
|
733
|
+
|
734
|
+
# {http://api.createsend.com/api/}Subscribers.GetSingleSubscriberResponse
|
735
|
+
# subscribers_GetSingleSubscriberResult - (any)
|
736
|
+
class SubscribersGetSingleSubscriberResponse
|
737
|
+
attr_accessor :subscribers_GetSingleSubscriberResult
|
738
|
+
|
739
|
+
def initialize(subscribers_GetSingleSubscriberResult = nil)
|
740
|
+
@subscribers_GetSingleSubscriberResult = subscribers_GetSingleSubscriberResult
|
741
|
+
end
|
742
|
+
end
|
743
|
+
|
744
|
+
# {http://api.createsend.com/api/}Subscribers.GetIsSubscribed
|
745
|
+
# apiKey - SOAP::SOAPString
|
746
|
+
# listID - SOAP::SOAPString
|
747
|
+
# email - SOAP::SOAPString
|
748
|
+
class SubscribersGetIsSubscribed
|
749
|
+
attr_accessor :apiKey
|
750
|
+
attr_accessor :listID
|
751
|
+
attr_accessor :email
|
752
|
+
|
753
|
+
def initialize(apiKey = nil, listID = nil, email = nil)
|
754
|
+
@apiKey = apiKey
|
755
|
+
@listID = listID
|
756
|
+
@email = email
|
757
|
+
end
|
758
|
+
end
|
759
|
+
|
760
|
+
# {http://api.createsend.com/api/}Subscribers.GetIsSubscribedResponse
|
761
|
+
# subscribers_GetIsSubscribedResult - (any)
|
762
|
+
class SubscribersGetIsSubscribedResponse
|
763
|
+
attr_accessor :subscribers_GetIsSubscribedResult
|
764
|
+
|
765
|
+
def initialize(subscribers_GetIsSubscribedResult = nil)
|
766
|
+
@subscribers_GetIsSubscribedResult = subscribers_GetIsSubscribedResult
|
767
|
+
end
|
768
|
+
end
|
769
|
+
|
770
|
+
# {http://api.createsend.com/api/}List.Create
|
771
|
+
# apiKey - SOAP::SOAPString
|
772
|
+
# clientID - SOAP::SOAPString
|
773
|
+
# title - SOAP::SOAPString
|
774
|
+
# unsubscribePage - SOAP::SOAPString
|
775
|
+
# confirmOptIn - SOAP::SOAPBoolean
|
776
|
+
# confirmationSuccessPage - SOAP::SOAPString
|
777
|
+
class ListCreate
|
778
|
+
attr_accessor :apiKey
|
779
|
+
attr_accessor :clientID
|
780
|
+
attr_accessor :title
|
781
|
+
attr_accessor :unsubscribePage
|
782
|
+
attr_accessor :confirmOptIn
|
783
|
+
attr_accessor :confirmationSuccessPage
|
784
|
+
|
785
|
+
def initialize(apiKey = nil, clientID = nil, title = nil, unsubscribePage = nil, confirmOptIn = nil, confirmationSuccessPage = nil)
|
786
|
+
@apiKey = apiKey
|
787
|
+
@clientID = clientID
|
788
|
+
@title = title
|
789
|
+
@unsubscribePage = unsubscribePage
|
790
|
+
@confirmOptIn = confirmOptIn
|
791
|
+
@confirmationSuccessPage = confirmationSuccessPage
|
792
|
+
end
|
793
|
+
end
|
794
|
+
|
795
|
+
# {http://api.createsend.com/api/}List.CreateResponse
|
796
|
+
# list_CreateResult - (any)
|
797
|
+
class ListCreateResponse
|
798
|
+
attr_accessor :list_CreateResult
|
799
|
+
|
800
|
+
def initialize(list_CreateResult = nil)
|
801
|
+
@list_CreateResult = list_CreateResult
|
802
|
+
end
|
803
|
+
end
|
804
|
+
|
805
|
+
# {http://api.createsend.com/api/}List.Update
|
806
|
+
# apiKey - SOAP::SOAPString
|
807
|
+
# listID - SOAP::SOAPString
|
808
|
+
# title - SOAP::SOAPString
|
809
|
+
# unsubscribePage - SOAP::SOAPString
|
810
|
+
# confirmOptIn - SOAP::SOAPBoolean
|
811
|
+
# confirmationSuccessPage - SOAP::SOAPString
|
812
|
+
class ListUpdate
|
813
|
+
attr_accessor :apiKey
|
814
|
+
attr_accessor :listID
|
815
|
+
attr_accessor :title
|
816
|
+
attr_accessor :unsubscribePage
|
817
|
+
attr_accessor :confirmOptIn
|
818
|
+
attr_accessor :confirmationSuccessPage
|
819
|
+
|
820
|
+
def initialize(apiKey = nil, listID = nil, title = nil, unsubscribePage = nil, confirmOptIn = nil, confirmationSuccessPage = nil)
|
821
|
+
@apiKey = apiKey
|
822
|
+
@listID = listID
|
823
|
+
@title = title
|
824
|
+
@unsubscribePage = unsubscribePage
|
825
|
+
@confirmOptIn = confirmOptIn
|
826
|
+
@confirmationSuccessPage = confirmationSuccessPage
|
827
|
+
end
|
828
|
+
end
|
829
|
+
|
830
|
+
# {http://api.createsend.com/api/}List.UpdateResponse
|
831
|
+
# list_UpdateResult - Campaigning::Result
|
832
|
+
class ListUpdateResponse
|
833
|
+
attr_accessor :list_UpdateResult
|
834
|
+
|
835
|
+
def initialize(list_UpdateResult = nil)
|
836
|
+
@list_UpdateResult = list_UpdateResult
|
837
|
+
end
|
838
|
+
end
|
839
|
+
|
840
|
+
# {http://api.createsend.com/api/}List.GetDetail
|
841
|
+
# apiKey - SOAP::SOAPString
|
842
|
+
# listID - SOAP::SOAPString
|
843
|
+
class ListGetDetail
|
844
|
+
attr_accessor :apiKey
|
845
|
+
attr_accessor :listID
|
846
|
+
|
847
|
+
def initialize(apiKey = nil, listID = nil)
|
848
|
+
@apiKey = apiKey
|
849
|
+
@listID = listID
|
850
|
+
end
|
851
|
+
end
|
852
|
+
|
853
|
+
# {http://api.createsend.com/api/}List.GetDetailResponse
|
854
|
+
# list_GetDetailResult - (any)
|
855
|
+
class ListGetDetailResponse
|
856
|
+
attr_accessor :list_GetDetailResult
|
857
|
+
|
858
|
+
def initialize(list_GetDetailResult = nil)
|
859
|
+
@list_GetDetailResult = list_GetDetailResult
|
860
|
+
end
|
861
|
+
end
|
862
|
+
|
863
|
+
# {http://api.createsend.com/api/}List.Delete
|
864
|
+
# apiKey - SOAP::SOAPString
|
865
|
+
# listID - SOAP::SOAPString
|
866
|
+
class ListDelete
|
867
|
+
attr_accessor :apiKey
|
868
|
+
attr_accessor :listID
|
869
|
+
|
870
|
+
def initialize(apiKey = nil, listID = nil)
|
871
|
+
@apiKey = apiKey
|
872
|
+
@listID = listID
|
873
|
+
end
|
874
|
+
end
|
875
|
+
|
876
|
+
# {http://api.createsend.com/api/}List.DeleteResponse
|
877
|
+
# list_DeleteResult - Campaigning::Result
|
878
|
+
class ListDeleteResponse
|
879
|
+
attr_accessor :list_DeleteResult
|
880
|
+
|
881
|
+
def initialize(list_DeleteResult = nil)
|
882
|
+
@list_DeleteResult = list_DeleteResult
|
883
|
+
end
|
884
|
+
end
|
885
|
+
|
886
|
+
# {http://api.createsend.com/api/}List.GetCustomFields
|
887
|
+
# apiKey - SOAP::SOAPString
|
888
|
+
# listID - SOAP::SOAPString
|
889
|
+
class ListGetCustomFields
|
890
|
+
attr_accessor :apiKey
|
891
|
+
attr_accessor :listID
|
892
|
+
|
893
|
+
def initialize(apiKey = nil, listID = nil)
|
894
|
+
@apiKey = apiKey
|
895
|
+
@listID = listID
|
896
|
+
end
|
897
|
+
end
|
898
|
+
|
899
|
+
# {http://api.createsend.com/api/}List.GetCustomFieldsResponse
|
900
|
+
# list_GetCustomFieldsResult - (any)
|
901
|
+
class ListGetCustomFieldsResponse
|
902
|
+
attr_accessor :list_GetCustomFieldsResult
|
903
|
+
|
904
|
+
def initialize(list_GetCustomFieldsResult = nil)
|
905
|
+
@list_GetCustomFieldsResult = list_GetCustomFieldsResult
|
906
|
+
end
|
907
|
+
end
|
908
|
+
|
909
|
+
# {http://api.createsend.com/api/}List.DeleteCustomField
|
910
|
+
# apiKey - SOAP::SOAPString
|
911
|
+
# listID - SOAP::SOAPString
|
912
|
+
# key - SOAP::SOAPString
|
913
|
+
class ListDeleteCustomField
|
914
|
+
attr_accessor :apiKey
|
915
|
+
attr_accessor :listID
|
916
|
+
attr_accessor :key
|
917
|
+
|
918
|
+
def initialize(apiKey = nil, listID = nil, key = nil)
|
919
|
+
@apiKey = apiKey
|
920
|
+
@listID = listID
|
921
|
+
@key = key
|
922
|
+
end
|
923
|
+
end
|
924
|
+
|
925
|
+
# {http://api.createsend.com/api/}List.DeleteCustomFieldResponse
|
926
|
+
# list_DeleteCustomFieldResult - Campaigning::Result
|
927
|
+
class ListDeleteCustomFieldResponse
|
928
|
+
attr_accessor :list_DeleteCustomFieldResult
|
929
|
+
|
930
|
+
def initialize(list_DeleteCustomFieldResult = nil)
|
931
|
+
@list_DeleteCustomFieldResult = list_DeleteCustomFieldResult
|
932
|
+
end
|
933
|
+
end
|
934
|
+
|
935
|
+
# {http://api.createsend.com/api/}List.CreateCustomField
|
936
|
+
# apiKey - SOAP::SOAPString
|
937
|
+
# listID - SOAP::SOAPString
|
938
|
+
# fieldName - SOAP::SOAPString
|
939
|
+
# dataType - Campaigning::SubscriberFieldDataType
|
940
|
+
# options - SOAP::SOAPString
|
941
|
+
class ListCreateCustomField
|
942
|
+
attr_accessor :apiKey
|
943
|
+
attr_accessor :listID
|
944
|
+
attr_accessor :fieldName
|
945
|
+
attr_accessor :dataType
|
946
|
+
attr_accessor :options
|
947
|
+
|
948
|
+
def initialize(apiKey = nil, listID = nil, fieldName = nil, dataType = nil, options = nil)
|
949
|
+
@apiKey = apiKey
|
950
|
+
@listID = listID
|
951
|
+
@fieldName = fieldName
|
952
|
+
@dataType = dataType
|
953
|
+
@options = options
|
954
|
+
end
|
955
|
+
end
|
956
|
+
|
957
|
+
# {http://api.createsend.com/api/}List.CreateCustomFieldResponse
|
958
|
+
# list_CreateCustomFieldResult - Campaigning::Result
|
959
|
+
class ListCreateCustomFieldResponse
|
960
|
+
attr_accessor :list_CreateCustomFieldResult
|
961
|
+
|
962
|
+
def initialize(list_CreateCustomFieldResult = nil)
|
963
|
+
@list_CreateCustomFieldResult = list_CreateCustomFieldResult
|
964
|
+
end
|
965
|
+
end
|
966
|
+
|
967
|
+
# {http://api.createsend.com/api/}List.GetStats
|
968
|
+
# apiKey - SOAP::SOAPString
|
969
|
+
# listID - SOAP::SOAPString
|
970
|
+
class ListGetStats
|
971
|
+
attr_accessor :apiKey
|
972
|
+
attr_accessor :listID
|
973
|
+
|
974
|
+
def initialize(apiKey = nil, listID = nil)
|
975
|
+
@apiKey = apiKey
|
976
|
+
@listID = listID
|
977
|
+
end
|
978
|
+
end
|
979
|
+
|
980
|
+
# {http://api.createsend.com/api/}List.GetStatsResponse
|
981
|
+
# list_GetStatsResult - (any)
|
982
|
+
class ListGetStatsResponse
|
983
|
+
attr_accessor :list_GetStatsResult
|
984
|
+
|
985
|
+
def initialize(list_GetStatsResult = nil)
|
986
|
+
@list_GetStatsResult = list_GetStatsResult
|
987
|
+
end
|
988
|
+
end
|
989
|
+
|
990
|
+
# {http://api.createsend.com/api/}Client.GetCampaigns
|
991
|
+
# apiKey - SOAP::SOAPString
|
992
|
+
# clientID - SOAP::SOAPString
|
993
|
+
class ClientGetCampaigns
|
994
|
+
attr_accessor :apiKey
|
995
|
+
attr_accessor :clientID
|
996
|
+
|
997
|
+
def initialize(apiKey = nil, clientID = nil)
|
998
|
+
@apiKey = apiKey
|
999
|
+
@clientID = clientID
|
1000
|
+
end
|
1001
|
+
end
|
1002
|
+
|
1003
|
+
# {http://api.createsend.com/api/}Client.GetCampaignsResponse
|
1004
|
+
# client_GetCampaignsResult - (any)
|
1005
|
+
class ClientGetCampaignsResponse
|
1006
|
+
attr_accessor :client_GetCampaignsResult
|
1007
|
+
|
1008
|
+
def initialize(client_GetCampaignsResult = nil)
|
1009
|
+
@client_GetCampaignsResult = client_GetCampaignsResult
|
1010
|
+
end
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
# {http://api.createsend.com/api/}Client.GetLists
|
1014
|
+
# apiKey - SOAP::SOAPString
|
1015
|
+
# clientID - SOAP::SOAPString
|
1016
|
+
class ClientGetLists
|
1017
|
+
attr_accessor :apiKey
|
1018
|
+
attr_accessor :clientID
|
1019
|
+
|
1020
|
+
def initialize(apiKey = nil, clientID = nil)
|
1021
|
+
@apiKey = apiKey
|
1022
|
+
@clientID = clientID
|
1023
|
+
end
|
1024
|
+
end
|
1025
|
+
|
1026
|
+
# {http://api.createsend.com/api/}Client.GetListsResponse
|
1027
|
+
# client_GetListsResult - (any)
|
1028
|
+
class ClientGetListsResponse
|
1029
|
+
attr_accessor :client_GetListsResult
|
1030
|
+
|
1031
|
+
def initialize(client_GetListsResult = nil)
|
1032
|
+
@client_GetListsResult = client_GetListsResult
|
1033
|
+
end
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
# {http://api.createsend.com/api/}Client.GetSegments
|
1037
|
+
# apiKey - SOAP::SOAPString
|
1038
|
+
# clientID - SOAP::SOAPString
|
1039
|
+
class ClientGetSegments
|
1040
|
+
attr_accessor :apiKey
|
1041
|
+
attr_accessor :clientID
|
1042
|
+
|
1043
|
+
def initialize(apiKey = nil, clientID = nil)
|
1044
|
+
@apiKey = apiKey
|
1045
|
+
@clientID = clientID
|
1046
|
+
end
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
# {http://api.createsend.com/api/}Client.GetSegmentsResponse
|
1050
|
+
# client_GetSegmentsResult - (any)
|
1051
|
+
class ClientGetSegmentsResponse
|
1052
|
+
attr_accessor :client_GetSegmentsResult
|
1053
|
+
|
1054
|
+
def initialize(client_GetSegmentsResult = nil)
|
1055
|
+
@client_GetSegmentsResult = client_GetSegmentsResult
|
1056
|
+
end
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
# {http://api.createsend.com/api/}Client.GetSuppressionList
|
1060
|
+
# apiKey - SOAP::SOAPString
|
1061
|
+
# clientID - SOAP::SOAPString
|
1062
|
+
class ClientGetSuppressionList
|
1063
|
+
attr_accessor :apiKey
|
1064
|
+
attr_accessor :clientID
|
1065
|
+
|
1066
|
+
def initialize(apiKey = nil, clientID = nil)
|
1067
|
+
@apiKey = apiKey
|
1068
|
+
@clientID = clientID
|
1069
|
+
end
|
1070
|
+
end
|
1071
|
+
|
1072
|
+
# {http://api.createsend.com/api/}Client.GetSuppressionListResponse
|
1073
|
+
# client_GetSuppressionListResult - (any)
|
1074
|
+
class ClientGetSuppressionListResponse
|
1075
|
+
attr_accessor :client_GetSuppressionListResult
|
1076
|
+
|
1077
|
+
def initialize(client_GetSuppressionListResult = nil)
|
1078
|
+
@client_GetSuppressionListResult = client_GetSuppressionListResult
|
1079
|
+
end
|
1080
|
+
end
|
1081
|
+
|
1082
|
+
# {http://api.createsend.com/api/}Client.GetTemplates
|
1083
|
+
# apiKey - SOAP::SOAPString
|
1084
|
+
# clientID - SOAP::SOAPString
|
1085
|
+
class ClientGetTemplates
|
1086
|
+
attr_accessor :apiKey
|
1087
|
+
attr_accessor :clientID
|
1088
|
+
|
1089
|
+
def initialize(apiKey = nil, clientID = nil)
|
1090
|
+
@apiKey = apiKey
|
1091
|
+
@clientID = clientID
|
1092
|
+
end
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
# {http://api.createsend.com/api/}Client.GetTemplatesResponse
|
1096
|
+
# client_GetTemplatesResult - (any)
|
1097
|
+
class ClientGetTemplatesResponse
|
1098
|
+
attr_accessor :client_GetTemplatesResult
|
1099
|
+
|
1100
|
+
def initialize(client_GetTemplatesResult = nil)
|
1101
|
+
@client_GetTemplatesResult = client_GetTemplatesResult
|
1102
|
+
end
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
# {http://api.createsend.com/api/}Client.Create
|
1106
|
+
# apiKey - SOAP::SOAPString
|
1107
|
+
# companyName - SOAP::SOAPString
|
1108
|
+
# contactName - SOAP::SOAPString
|
1109
|
+
# emailAddress - SOAP::SOAPString
|
1110
|
+
# country - SOAP::SOAPString
|
1111
|
+
# timezone - SOAP::SOAPString
|
1112
|
+
class ClientCreate
|
1113
|
+
attr_accessor :apiKey
|
1114
|
+
attr_accessor :companyName
|
1115
|
+
attr_accessor :contactName
|
1116
|
+
attr_accessor :emailAddress
|
1117
|
+
attr_accessor :country
|
1118
|
+
attr_accessor :timezone
|
1119
|
+
|
1120
|
+
def initialize(apiKey = nil, companyName = nil, contactName = nil, emailAddress = nil, country = nil, timezone = nil)
|
1121
|
+
@apiKey = apiKey
|
1122
|
+
@companyName = companyName
|
1123
|
+
@contactName = contactName
|
1124
|
+
@emailAddress = emailAddress
|
1125
|
+
@country = country
|
1126
|
+
@timezone = timezone
|
1127
|
+
end
|
1128
|
+
end
|
1129
|
+
|
1130
|
+
# {http://api.createsend.com/api/}Client.CreateResponse
|
1131
|
+
# client_CreateResult - (any)
|
1132
|
+
class ClientCreateResponse
|
1133
|
+
attr_accessor :client_CreateResult
|
1134
|
+
|
1135
|
+
def initialize(client_CreateResult = nil)
|
1136
|
+
@client_CreateResult = client_CreateResult
|
1137
|
+
end
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
# {http://api.createsend.com/api/}Client.UpdateBasics
|
1141
|
+
# apiKey - SOAP::SOAPString
|
1142
|
+
# clientID - SOAP::SOAPString
|
1143
|
+
# companyName - SOAP::SOAPString
|
1144
|
+
# contactName - SOAP::SOAPString
|
1145
|
+
# emailAddress - SOAP::SOAPString
|
1146
|
+
# country - SOAP::SOAPString
|
1147
|
+
# timezone - SOAP::SOAPString
|
1148
|
+
class ClientUpdateBasics
|
1149
|
+
attr_accessor :apiKey
|
1150
|
+
attr_accessor :clientID
|
1151
|
+
attr_accessor :companyName
|
1152
|
+
attr_accessor :contactName
|
1153
|
+
attr_accessor :emailAddress
|
1154
|
+
attr_accessor :country
|
1155
|
+
attr_accessor :timezone
|
1156
|
+
|
1157
|
+
def initialize(apiKey = nil, clientID = nil, companyName = nil, contactName = nil, emailAddress = nil, country = nil, timezone = nil)
|
1158
|
+
@apiKey = apiKey
|
1159
|
+
@clientID = clientID
|
1160
|
+
@companyName = companyName
|
1161
|
+
@contactName = contactName
|
1162
|
+
@emailAddress = emailAddress
|
1163
|
+
@country = country
|
1164
|
+
@timezone = timezone
|
1165
|
+
end
|
1166
|
+
end
|
1167
|
+
|
1168
|
+
# {http://api.createsend.com/api/}Client.UpdateBasicsResponse
|
1169
|
+
# client_UpdateBasicsResult - (any)
|
1170
|
+
class ClientUpdateBasicsResponse
|
1171
|
+
attr_accessor :client_UpdateBasicsResult
|
1172
|
+
|
1173
|
+
def initialize(client_UpdateBasicsResult = nil)
|
1174
|
+
@client_UpdateBasicsResult = client_UpdateBasicsResult
|
1175
|
+
end
|
1176
|
+
end
|
1177
|
+
|
1178
|
+
# {http://api.createsend.com/api/}Client.UpdateAccessAndBilling
|
1179
|
+
# apiKey - SOAP::SOAPString
|
1180
|
+
# clientID - SOAP::SOAPString
|
1181
|
+
# accessLevel - SOAP::SOAPInt
|
1182
|
+
# username - SOAP::SOAPString
|
1183
|
+
# password - SOAP::SOAPString
|
1184
|
+
# billingType - SOAP::SOAPString
|
1185
|
+
# currency - SOAP::SOAPString
|
1186
|
+
# deliveryFee - SOAP::SOAPString
|
1187
|
+
# costPerRecipient - SOAP::SOAPString
|
1188
|
+
# designAndSpamTestFee - SOAP::SOAPString
|
1189
|
+
class ClientUpdateAccessAndBilling
|
1190
|
+
attr_accessor :apiKey
|
1191
|
+
attr_accessor :clientID
|
1192
|
+
attr_accessor :accessLevel
|
1193
|
+
attr_accessor :username
|
1194
|
+
attr_accessor :password
|
1195
|
+
attr_accessor :billingType
|
1196
|
+
attr_accessor :currency
|
1197
|
+
attr_accessor :deliveryFee
|
1198
|
+
attr_accessor :costPerRecipient
|
1199
|
+
attr_accessor :designAndSpamTestFee
|
1200
|
+
|
1201
|
+
def initialize(apiKey = nil, clientID = nil, accessLevel = nil, username = nil, password = nil, billingType = nil, currency = nil, deliveryFee = nil, costPerRecipient = nil, designAndSpamTestFee = nil)
|
1202
|
+
@apiKey = apiKey
|
1203
|
+
@clientID = clientID
|
1204
|
+
@accessLevel = accessLevel
|
1205
|
+
@username = username
|
1206
|
+
@password = password
|
1207
|
+
@billingType = billingType
|
1208
|
+
@currency = currency
|
1209
|
+
@deliveryFee = deliveryFee
|
1210
|
+
@costPerRecipient = costPerRecipient
|
1211
|
+
@designAndSpamTestFee = designAndSpamTestFee
|
1212
|
+
end
|
1213
|
+
end
|
1214
|
+
|
1215
|
+
# {http://api.createsend.com/api/}Client.UpdateAccessAndBillingResponse
|
1216
|
+
# client_UpdateAccessAndBillingResult - Campaigning::Result
|
1217
|
+
class ClientUpdateAccessAndBillingResponse
|
1218
|
+
attr_accessor :client_UpdateAccessAndBillingResult
|
1219
|
+
|
1220
|
+
def initialize(client_UpdateAccessAndBillingResult = nil)
|
1221
|
+
@client_UpdateAccessAndBillingResult = client_UpdateAccessAndBillingResult
|
1222
|
+
end
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
# {http://api.createsend.com/api/}Client.GetDetail
|
1226
|
+
# apiKey - SOAP::SOAPString
|
1227
|
+
# clientID - SOAP::SOAPString
|
1228
|
+
class ClientGetDetail
|
1229
|
+
attr_accessor :apiKey
|
1230
|
+
attr_accessor :clientID
|
1231
|
+
|
1232
|
+
def initialize(apiKey = nil, clientID = nil)
|
1233
|
+
@apiKey = apiKey
|
1234
|
+
@clientID = clientID
|
1235
|
+
end
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
# {http://api.createsend.com/api/}Client.GetDetailResponse
|
1239
|
+
# client_GetDetailResult - (any)
|
1240
|
+
class ClientGetDetailResponse
|
1241
|
+
attr_accessor :client_GetDetailResult
|
1242
|
+
|
1243
|
+
def initialize(client_GetDetailResult = nil)
|
1244
|
+
@client_GetDetailResult = client_GetDetailResult
|
1245
|
+
end
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
# {http://api.createsend.com/api/}Client.Delete
|
1249
|
+
# apiKey - SOAP::SOAPString
|
1250
|
+
# clientID - SOAP::SOAPString
|
1251
|
+
class ClientDelete
|
1252
|
+
attr_accessor :apiKey
|
1253
|
+
attr_accessor :clientID
|
1254
|
+
|
1255
|
+
def initialize(apiKey = nil, clientID = nil)
|
1256
|
+
@apiKey = apiKey
|
1257
|
+
@clientID = clientID
|
1258
|
+
end
|
1259
|
+
end
|
1260
|
+
|
1261
|
+
# {http://api.createsend.com/api/}Client.DeleteResponse
|
1262
|
+
# client_DeleteResult - Campaigning::Result
|
1263
|
+
class ClientDeleteResponse
|
1264
|
+
attr_accessor :client_DeleteResult
|
1265
|
+
|
1266
|
+
def initialize(client_DeleteResult = nil)
|
1267
|
+
@client_DeleteResult = client_DeleteResult
|
1268
|
+
end
|
1269
|
+
end
|
1270
|
+
|
1271
|
+
# {http://api.createsend.com/api/}Campaign.GetSubscriberClicks
|
1272
|
+
# apiKey - SOAP::SOAPString
|
1273
|
+
# campaignID - SOAP::SOAPString
|
1274
|
+
class CampaignGetSubscriberClicks
|
1275
|
+
attr_accessor :apiKey
|
1276
|
+
attr_accessor :campaignID
|
1277
|
+
|
1278
|
+
def initialize(apiKey = nil, campaignID = nil)
|
1279
|
+
@apiKey = apiKey
|
1280
|
+
@campaignID = campaignID
|
1281
|
+
end
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
# {http://api.createsend.com/api/}Campaign.GetSubscriberClicksResponse
|
1285
|
+
# campaign_GetSubscriberClicksResult - (any)
|
1286
|
+
class CampaignGetSubscriberClicksResponse
|
1287
|
+
attr_accessor :campaign_GetSubscriberClicksResult
|
1288
|
+
|
1289
|
+
def initialize(campaign_GetSubscriberClicksResult = nil)
|
1290
|
+
@campaign_GetSubscriberClicksResult = campaign_GetSubscriberClicksResult
|
1291
|
+
end
|
1292
|
+
end
|
1293
|
+
|
1294
|
+
# {http://api.createsend.com/api/}Campaign.GetOpens
|
1295
|
+
# apiKey - SOAP::SOAPString
|
1296
|
+
# campaignID - SOAP::SOAPString
|
1297
|
+
class CampaignGetOpens
|
1298
|
+
attr_accessor :apiKey
|
1299
|
+
attr_accessor :campaignID
|
1300
|
+
|
1301
|
+
def initialize(apiKey = nil, campaignID = nil)
|
1302
|
+
@apiKey = apiKey
|
1303
|
+
@campaignID = campaignID
|
1304
|
+
end
|
1305
|
+
end
|
1306
|
+
|
1307
|
+
# {http://api.createsend.com/api/}Campaign.GetOpensResponse
|
1308
|
+
# campaign_GetOpensResult - (any)
|
1309
|
+
class CampaignGetOpensResponse
|
1310
|
+
attr_accessor :campaign_GetOpensResult
|
1311
|
+
|
1312
|
+
def initialize(campaign_GetOpensResult = nil)
|
1313
|
+
@campaign_GetOpensResult = campaign_GetOpensResult
|
1314
|
+
end
|
1315
|
+
end
|
1316
|
+
|
1317
|
+
# {http://api.createsend.com/api/}Campaign.GetBounces
|
1318
|
+
# apiKey - SOAP::SOAPString
|
1319
|
+
# campaignID - SOAP::SOAPString
|
1320
|
+
class CampaignGetBounces
|
1321
|
+
attr_accessor :apiKey
|
1322
|
+
attr_accessor :campaignID
|
1323
|
+
|
1324
|
+
def initialize(apiKey = nil, campaignID = nil)
|
1325
|
+
@apiKey = apiKey
|
1326
|
+
@campaignID = campaignID
|
1327
|
+
end
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
# {http://api.createsend.com/api/}Campaign.GetBouncesResponse
|
1331
|
+
# campaign_GetBouncesResult - (any)
|
1332
|
+
class CampaignGetBouncesResponse
|
1333
|
+
attr_accessor :campaign_GetBouncesResult
|
1334
|
+
|
1335
|
+
def initialize(campaign_GetBouncesResult = nil)
|
1336
|
+
@campaign_GetBouncesResult = campaign_GetBouncesResult
|
1337
|
+
end
|
1338
|
+
end
|
1339
|
+
|
1340
|
+
# {http://api.createsend.com/api/}Campaign.GetUnsubscribes
|
1341
|
+
# apiKey - SOAP::SOAPString
|
1342
|
+
# campaignID - SOAP::SOAPString
|
1343
|
+
class CampaignGetUnsubscribes
|
1344
|
+
attr_accessor :apiKey
|
1345
|
+
attr_accessor :campaignID
|
1346
|
+
|
1347
|
+
def initialize(apiKey = nil, campaignID = nil)
|
1348
|
+
@apiKey = apiKey
|
1349
|
+
@campaignID = campaignID
|
1350
|
+
end
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
# {http://api.createsend.com/api/}Campaign.GetUnsubscribesResponse
|
1354
|
+
# campaign_GetUnsubscribesResult - (any)
|
1355
|
+
class CampaignGetUnsubscribesResponse
|
1356
|
+
attr_accessor :campaign_GetUnsubscribesResult
|
1357
|
+
|
1358
|
+
def initialize(campaign_GetUnsubscribesResult = nil)
|
1359
|
+
@campaign_GetUnsubscribesResult = campaign_GetUnsubscribesResult
|
1360
|
+
end
|
1361
|
+
end
|
1362
|
+
|
1363
|
+
# {http://api.createsend.com/api/}Campaign.GetSummary
|
1364
|
+
# apiKey - SOAP::SOAPString
|
1365
|
+
# campaignID - SOAP::SOAPString
|
1366
|
+
class CampaignGetSummary
|
1367
|
+
attr_accessor :apiKey
|
1368
|
+
attr_accessor :campaignID
|
1369
|
+
|
1370
|
+
def initialize(apiKey = nil, campaignID = nil)
|
1371
|
+
@apiKey = apiKey
|
1372
|
+
@campaignID = campaignID
|
1373
|
+
end
|
1374
|
+
end
|
1375
|
+
|
1376
|
+
# {http://api.createsend.com/api/}Campaign.GetSummaryResponse
|
1377
|
+
# campaign_GetSummaryResult - (any)
|
1378
|
+
class CampaignGetSummaryResponse
|
1379
|
+
attr_accessor :campaign_GetSummaryResult
|
1380
|
+
|
1381
|
+
def initialize(campaign_GetSummaryResult = nil)
|
1382
|
+
@campaign_GetSummaryResult = campaign_GetSummaryResult
|
1383
|
+
end
|
1384
|
+
end
|
1385
|
+
|
1386
|
+
# {http://api.createsend.com/api/}Campaign.GetLists
|
1387
|
+
# apiKey - SOAP::SOAPString
|
1388
|
+
# campaignID - SOAP::SOAPString
|
1389
|
+
class CampaignGetLists
|
1390
|
+
attr_accessor :apiKey
|
1391
|
+
attr_accessor :campaignID
|
1392
|
+
|
1393
|
+
def initialize(apiKey = nil, campaignID = nil)
|
1394
|
+
@apiKey = apiKey
|
1395
|
+
@campaignID = campaignID
|
1396
|
+
end
|
1397
|
+
end
|
1398
|
+
|
1399
|
+
# {http://api.createsend.com/api/}Campaign.GetListsResponse
|
1400
|
+
# campaign_GetListsResult - (any)
|
1401
|
+
class CampaignGetListsResponse
|
1402
|
+
attr_accessor :campaign_GetListsResult
|
1403
|
+
|
1404
|
+
def initialize(campaign_GetListsResult = nil)
|
1405
|
+
@campaign_GetListsResult = campaign_GetListsResult
|
1406
|
+
end
|
1407
|
+
end
|
1408
|
+
|
1409
|
+
# {http://api.createsend.com/api/}User.GetClients
|
1410
|
+
# apiKey - SOAP::SOAPString
|
1411
|
+
class UserGetClients
|
1412
|
+
attr_accessor :apiKey
|
1413
|
+
|
1414
|
+
def initialize(apiKey = nil)
|
1415
|
+
@apiKey = apiKey
|
1416
|
+
end
|
1417
|
+
end
|
1418
|
+
|
1419
|
+
# {http://api.createsend.com/api/}User.GetClientsResponse
|
1420
|
+
# user_GetClientsResult - (any)
|
1421
|
+
class UserGetClientsResponse
|
1422
|
+
attr_accessor :user_GetClientsResult
|
1423
|
+
|
1424
|
+
def initialize(user_GetClientsResult = nil)
|
1425
|
+
@user_GetClientsResult = user_GetClientsResult
|
1426
|
+
end
|
1427
|
+
end
|
1428
|
+
|
1429
|
+
# {http://api.createsend.com/api/}User.GetSystemDate
|
1430
|
+
# apiKey - SOAP::SOAPString
|
1431
|
+
class UserGetSystemDate
|
1432
|
+
attr_accessor :apiKey
|
1433
|
+
|
1434
|
+
def initialize(apiKey = nil)
|
1435
|
+
@apiKey = apiKey
|
1436
|
+
end
|
1437
|
+
end
|
1438
|
+
|
1439
|
+
# {http://api.createsend.com/api/}User.GetSystemDateResponse
|
1440
|
+
# user_GetSystemDateResult - (any)
|
1441
|
+
class UserGetSystemDateResponse
|
1442
|
+
attr_accessor :user_GetSystemDateResult
|
1443
|
+
|
1444
|
+
def initialize(user_GetSystemDateResult = nil)
|
1445
|
+
@user_GetSystemDateResult = user_GetSystemDateResult
|
1446
|
+
end
|
1447
|
+
end
|
1448
|
+
|
1449
|
+
# {http://api.createsend.com/api/}User.GetTimezones
|
1450
|
+
# apiKey - SOAP::SOAPString
|
1451
|
+
class UserGetTimezones
|
1452
|
+
attr_accessor :apiKey
|
1453
|
+
|
1454
|
+
def initialize(apiKey = nil)
|
1455
|
+
@apiKey = apiKey
|
1456
|
+
end
|
1457
|
+
end
|
1458
|
+
|
1459
|
+
# {http://api.createsend.com/api/}User.GetTimezonesResponse
|
1460
|
+
# user_GetTimezonesResult - (any)
|
1461
|
+
class UserGetTimezonesResponse
|
1462
|
+
attr_accessor :user_GetTimezonesResult
|
1463
|
+
|
1464
|
+
def initialize(user_GetTimezonesResult = nil)
|
1465
|
+
@user_GetTimezonesResult = user_GetTimezonesResult
|
1466
|
+
end
|
1467
|
+
end
|
1468
|
+
|
1469
|
+
# {http://api.createsend.com/api/}User.GetCountries
|
1470
|
+
# apiKey - SOAP::SOAPString
|
1471
|
+
class UserGetCountries
|
1472
|
+
attr_accessor :apiKey
|
1473
|
+
|
1474
|
+
def initialize(apiKey = nil)
|
1475
|
+
@apiKey = apiKey
|
1476
|
+
end
|
1477
|
+
end
|
1478
|
+
|
1479
|
+
# {http://api.createsend.com/api/}User.GetCountriesResponse
|
1480
|
+
# user_GetCountriesResult - (any)
|
1481
|
+
class UserGetCountriesResponse
|
1482
|
+
attr_accessor :user_GetCountriesResult
|
1483
|
+
|
1484
|
+
def initialize(user_GetCountriesResult = nil)
|
1485
|
+
@user_GetCountriesResult = user_GetCountriesResult
|
1486
|
+
end
|
1487
|
+
end
|
1488
|
+
|
1489
|
+
# {http://api.createsend.com/api/}Campaign.Create
|
1490
|
+
# apiKey - SOAP::SOAPString
|
1491
|
+
# clientID - SOAP::SOAPString
|
1492
|
+
# campaignName - SOAP::SOAPString
|
1493
|
+
# campaignSubject - SOAP::SOAPString
|
1494
|
+
# fromName - SOAP::SOAPString
|
1495
|
+
# fromEmail - SOAP::SOAPString
|
1496
|
+
# replyTo - SOAP::SOAPString
|
1497
|
+
# htmlUrl - SOAP::SOAPString
|
1498
|
+
# textUrl - SOAP::SOAPString
|
1499
|
+
# subscriberListIDs - Campaigning::ArrayOfString
|
1500
|
+
# listSegments - Campaigning::ArrayOfList
|
1501
|
+
class CampaignCreate
|
1502
|
+
attr_accessor :apiKey
|
1503
|
+
attr_accessor :clientID
|
1504
|
+
attr_accessor :campaignName
|
1505
|
+
attr_accessor :campaignSubject
|
1506
|
+
attr_accessor :fromName
|
1507
|
+
attr_accessor :fromEmail
|
1508
|
+
attr_accessor :replyTo
|
1509
|
+
attr_accessor :htmlUrl
|
1510
|
+
attr_accessor :textUrl
|
1511
|
+
attr_accessor :subscriberListIDs
|
1512
|
+
attr_accessor :listSegments
|
1513
|
+
|
1514
|
+
def initialize(apiKey = nil, clientID = nil, campaignName = nil, campaignSubject = nil, fromName = nil, fromEmail = nil, replyTo = nil, htmlUrl = nil, textUrl = nil, subscriberListIDs = nil, listSegments = nil)
|
1515
|
+
@apiKey = apiKey
|
1516
|
+
@clientID = clientID
|
1517
|
+
@campaignName = campaignName
|
1518
|
+
@campaignSubject = campaignSubject
|
1519
|
+
@fromName = fromName
|
1520
|
+
@fromEmail = fromEmail
|
1521
|
+
@replyTo = replyTo
|
1522
|
+
@htmlUrl = htmlUrl
|
1523
|
+
@textUrl = textUrl
|
1524
|
+
@subscriberListIDs = subscriberListIDs
|
1525
|
+
@listSegments = listSegments
|
1526
|
+
end
|
1527
|
+
end
|
1528
|
+
|
1529
|
+
# {http://api.createsend.com/api/}Campaign.CreateResponse
|
1530
|
+
# campaign_CreateResult - (any)
|
1531
|
+
class CampaignCreateResponse
|
1532
|
+
attr_accessor :campaign_CreateResult
|
1533
|
+
|
1534
|
+
def initialize(campaign_CreateResult = nil)
|
1535
|
+
@campaign_CreateResult = campaign_CreateResult
|
1536
|
+
end
|
1537
|
+
end
|
1538
|
+
|
1539
|
+
# {http://api.createsend.com/api/}Campaign.Send
|
1540
|
+
# apiKey - SOAP::SOAPString
|
1541
|
+
# campaignID - SOAP::SOAPString
|
1542
|
+
# confirmationEmail - SOAP::SOAPString
|
1543
|
+
# sendDate - SOAP::SOAPString
|
1544
|
+
class CampaignSend
|
1545
|
+
attr_accessor :apiKey
|
1546
|
+
attr_accessor :campaignID
|
1547
|
+
attr_accessor :confirmationEmail
|
1548
|
+
attr_accessor :sendDate
|
1549
|
+
|
1550
|
+
def initialize(apiKey = nil, campaignID = nil, confirmationEmail = nil, sendDate = nil)
|
1551
|
+
@apiKey = apiKey
|
1552
|
+
@campaignID = campaignID
|
1553
|
+
@confirmationEmail = confirmationEmail
|
1554
|
+
@sendDate = sendDate
|
1555
|
+
end
|
1556
|
+
end
|
1557
|
+
|
1558
|
+
# {http://api.createsend.com/api/}Campaign.SendResponse
|
1559
|
+
# campaign_SendResult - Campaigning::Result
|
1560
|
+
class CampaignSendResponse
|
1561
|
+
attr_accessor :campaign_SendResult
|
1562
|
+
|
1563
|
+
def initialize(campaign_SendResult = nil)
|
1564
|
+
@campaign_SendResult = campaign_SendResult
|
1565
|
+
end
|
1566
|
+
end
|
1567
|
+
|
1568
|
+
# {http://api.createsend.com/api/}Campaign.Delete
|
1569
|
+
# apiKey - SOAP::SOAPString
|
1570
|
+
# campaignID - SOAP::SOAPString
|
1571
|
+
class CampaignDelete
|
1572
|
+
attr_accessor :apiKey
|
1573
|
+
attr_accessor :campaignID
|
1574
|
+
|
1575
|
+
def initialize(apiKey = nil, campaignID = nil)
|
1576
|
+
@apiKey = apiKey
|
1577
|
+
@campaignID = campaignID
|
1578
|
+
end
|
1579
|
+
end
|
1580
|
+
|
1581
|
+
# {http://api.createsend.com/api/}Campaign.DeleteResponse
|
1582
|
+
# campaign_DeleteResult - Campaigning::Result
|
1583
|
+
class CampaignDeleteResponse
|
1584
|
+
attr_accessor :campaign_DeleteResult
|
1585
|
+
|
1586
|
+
def initialize(campaign_DeleteResult = nil)
|
1587
|
+
@campaign_DeleteResult = campaign_DeleteResult
|
1588
|
+
end
|
1589
|
+
end
|
1590
|
+
|
1591
|
+
# {http://api.createsend.com/api/}Template.Create
|
1592
|
+
# apiKey - SOAP::SOAPString
|
1593
|
+
# clientID - SOAP::SOAPString
|
1594
|
+
# templateName - SOAP::SOAPString
|
1595
|
+
# hTMLPageURL - SOAP::SOAPString
|
1596
|
+
# zipFileURL - SOAP::SOAPString
|
1597
|
+
# screenshotURL - SOAP::SOAPString
|
1598
|
+
class TemplateCreate
|
1599
|
+
attr_accessor :apiKey
|
1600
|
+
attr_accessor :clientID
|
1601
|
+
attr_accessor :templateName
|
1602
|
+
attr_accessor :hTMLPageURL
|
1603
|
+
attr_accessor :zipFileURL
|
1604
|
+
attr_accessor :screenshotURL
|
1605
|
+
|
1606
|
+
def initialize(apiKey = nil, clientID = nil, templateName = nil, hTMLPageURL = nil, zipFileURL = nil, screenshotURL = nil)
|
1607
|
+
@apiKey = apiKey
|
1608
|
+
@clientID = clientID
|
1609
|
+
@templateName = templateName
|
1610
|
+
@hTMLPageURL = hTMLPageURL
|
1611
|
+
@zipFileURL = zipFileURL
|
1612
|
+
@screenshotURL = screenshotURL
|
1613
|
+
end
|
1614
|
+
end
|
1615
|
+
|
1616
|
+
# {http://api.createsend.com/api/}Template.CreateResponse
|
1617
|
+
# template_CreateResult - (any)
|
1618
|
+
class TemplateCreateResponse
|
1619
|
+
attr_accessor :template_CreateResult
|
1620
|
+
|
1621
|
+
def initialize(template_CreateResult = nil)
|
1622
|
+
@template_CreateResult = template_CreateResult
|
1623
|
+
end
|
1624
|
+
end
|
1625
|
+
|
1626
|
+
# {http://api.createsend.com/api/}Template.GetDetail
|
1627
|
+
# apiKey - SOAP::SOAPString
|
1628
|
+
# templateID - SOAP::SOAPString
|
1629
|
+
class TemplateGetDetail
|
1630
|
+
attr_accessor :apiKey
|
1631
|
+
attr_accessor :templateID
|
1632
|
+
|
1633
|
+
def initialize(apiKey = nil, templateID = nil)
|
1634
|
+
@apiKey = apiKey
|
1635
|
+
@templateID = templateID
|
1636
|
+
end
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
# {http://api.createsend.com/api/}Template.GetDetailResponse
|
1640
|
+
# template_GetDetailResult - (any)
|
1641
|
+
class TemplateGetDetailResponse
|
1642
|
+
attr_accessor :template_GetDetailResult
|
1643
|
+
|
1644
|
+
def initialize(template_GetDetailResult = nil)
|
1645
|
+
@template_GetDetailResult = template_GetDetailResult
|
1646
|
+
end
|
1647
|
+
end
|
1648
|
+
|
1649
|
+
# {http://api.createsend.com/api/}Template.Update
|
1650
|
+
# apiKey - SOAP::SOAPString
|
1651
|
+
# templateID - SOAP::SOAPString
|
1652
|
+
# templateName - SOAP::SOAPString
|
1653
|
+
# hTMLPageURL - SOAP::SOAPString
|
1654
|
+
# zipFileURL - SOAP::SOAPString
|
1655
|
+
# screenshotURL - SOAP::SOAPString
|
1656
|
+
class TemplateUpdate
|
1657
|
+
attr_accessor :apiKey
|
1658
|
+
attr_accessor :templateID
|
1659
|
+
attr_accessor :templateName
|
1660
|
+
attr_accessor :hTMLPageURL
|
1661
|
+
attr_accessor :zipFileURL
|
1662
|
+
attr_accessor :screenshotURL
|
1663
|
+
|
1664
|
+
def initialize(apiKey = nil, templateID = nil, templateName = nil, hTMLPageURL = nil, zipFileURL = nil, screenshotURL = nil)
|
1665
|
+
@apiKey = apiKey
|
1666
|
+
@templateID = templateID
|
1667
|
+
@templateName = templateName
|
1668
|
+
@hTMLPageURL = hTMLPageURL
|
1669
|
+
@zipFileURL = zipFileURL
|
1670
|
+
@screenshotURL = screenshotURL
|
1671
|
+
end
|
1672
|
+
end
|
1673
|
+
|
1674
|
+
# {http://api.createsend.com/api/}Template.UpdateResponse
|
1675
|
+
# template_UpdateResult - Campaigning::Result
|
1676
|
+
class TemplateUpdateResponse
|
1677
|
+
attr_accessor :template_UpdateResult
|
1678
|
+
|
1679
|
+
def initialize(template_UpdateResult = nil)
|
1680
|
+
@template_UpdateResult = template_UpdateResult
|
1681
|
+
end
|
1682
|
+
end
|
1683
|
+
|
1684
|
+
# {http://api.createsend.com/api/}Template.Delete
|
1685
|
+
# apiKey - SOAP::SOAPString
|
1686
|
+
# templateID - SOAP::SOAPString
|
1687
|
+
class TemplateDelete
|
1688
|
+
attr_accessor :apiKey
|
1689
|
+
attr_accessor :templateID
|
1690
|
+
|
1691
|
+
def initialize(apiKey = nil, templateID = nil)
|
1692
|
+
@apiKey = apiKey
|
1693
|
+
@templateID = templateID
|
1694
|
+
end
|
1695
|
+
end
|
1696
|
+
|
1697
|
+
# {http://api.createsend.com/api/}Template.DeleteResponse
|
1698
|
+
# template_DeleteResult - Campaigning::Result
|
1699
|
+
class TemplateDeleteResponse
|
1700
|
+
attr_accessor :template_DeleteResult
|
1701
|
+
|
1702
|
+
def initialize(template_DeleteResult = nil)
|
1703
|
+
@template_DeleteResult = template_DeleteResult
|
1704
|
+
end
|
1705
|
+
end
|
1706
|
+
|
1707
|
+
# {http://api.createsend.com/api/}anyType
|
1708
|
+
class AnyType < ::String
|
1709
|
+
def initialize(*arg)
|
1710
|
+
super
|
1711
|
+
end
|
1712
|
+
end
|
1713
|
+
|
1714
|
+
|
1715
|
+
end
|