plainprograms-virtuozzo 0.5.3 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. data/CHANGELOG.rdoc +21 -0
  2. data/Rakefile +3 -3
  3. data/TODO.rdoc +20 -0
  4. data/lib/virtuozzo/soap.rb +216 -0
  5. data/lib/virtuozzo/soap/drivers/alertm.rb +78 -0
  6. data/lib/virtuozzo/soap/drivers/authm.rb +172 -0
  7. data/lib/virtuozzo/soap/drivers/backupm.rb +108 -0
  8. data/lib/virtuozzo/soap/drivers/computerm.rb +108 -0
  9. data/lib/virtuozzo/soap/drivers/env_samplem.rb +84 -0
  10. data/lib/virtuozzo/soap/drivers/event_log.rb +60 -0
  11. data/lib/virtuozzo/soap/drivers/filer.rb +156 -0
  12. data/lib/virtuozzo/soap/drivers/firewallm.rb +100 -0
  13. data/lib/virtuozzo/soap/drivers/licensem.rb +100 -0
  14. data/lib/virtuozzo/soap/drivers/mailer.rb +108 -0
  15. data/lib/virtuozzo/soap/drivers/op_log.rb +60 -0
  16. data/lib/virtuozzo/soap/drivers/perf_mon.rb +76 -0
  17. data/lib/virtuozzo/soap/drivers/res_log.rb +84 -0
  18. data/lib/virtuozzo/soap/drivers/resourcem.rb +100 -0
  19. data/lib/virtuozzo/soap/drivers/scheduler.rb +84 -0
  20. data/lib/virtuozzo/soap/drivers/server_group.rb +140 -0
  21. data/lib/virtuozzo/soap/drivers/servicem.rb +100 -0
  22. data/lib/virtuozzo/soap/drivers/userm.rb +156 -0
  23. data/lib/virtuozzo/soap/mapping_registries/alertm.rb +2799 -0
  24. data/lib/virtuozzo/soap/mapping_registries/authm.rb +3292 -0
  25. data/lib/virtuozzo/soap/mapping_registries/backupm.rb +3597 -0
  26. data/lib/virtuozzo/soap/mapping_registries/computerm.rb +2896 -0
  27. data/lib/virtuozzo/soap/mapping_registries/env_samplem.rb +2735 -0
  28. data/lib/virtuozzo/soap/mapping_registries/event_log.rb +2695 -0
  29. data/lib/virtuozzo/soap/mapping_registries/filer.rb +3211 -0
  30. data/lib/virtuozzo/soap/mapping_registries/firewallm.rb +2815 -0
  31. data/lib/virtuozzo/soap/mapping_registries/licensem.rb +2889 -0
  32. data/lib/virtuozzo/soap/mapping_registries/mailer.rb +2831 -0
  33. data/lib/virtuozzo/soap/mapping_registries/op_log.rb +2724 -0
  34. data/lib/virtuozzo/soap/mapping_registries/perf_mon.rb +2798 -0
  35. data/lib/virtuozzo/soap/mapping_registries/res_log.rb +2946 -0
  36. data/lib/virtuozzo/soap/mapping_registries/resourcem.rb +2837 -0
  37. data/lib/virtuozzo/soap/mapping_registries/scheduler.rb +2928 -0
  38. data/lib/virtuozzo/soap/mapping_registries/server_group.rb +3161 -0
  39. data/lib/virtuozzo/soap/mapping_registries/servicem.rb +2949 -0
  40. data/lib/virtuozzo/soap/mapping_registries/userm.rb +3173 -0
  41. data/lib/virtuozzo/soap/types/alertm.rb +2233 -0
  42. data/lib/virtuozzo/soap/types/authm.rb +2655 -0
  43. data/lib/virtuozzo/soap/types/backupm.rb +2773 -0
  44. data/lib/virtuozzo/soap/types/computerm.rb +2334 -0
  45. data/lib/virtuozzo/soap/types/env_samplem.rb +2159 -0
  46. data/lib/virtuozzo/soap/types/event_log.rb +2125 -0
  47. data/lib/virtuozzo/soap/types/filer.rb +2807 -0
  48. data/lib/virtuozzo/soap/types/firewallm.rb +2225 -0
  49. data/lib/virtuozzo/soap/types/licensem.rb +2266 -0
  50. data/lib/virtuozzo/soap/types/mailer.rb +2311 -0
  51. data/lib/virtuozzo/soap/types/op_log.rb +2156 -0
  52. data/lib/virtuozzo/soap/types/perf_mon.rb +2258 -0
  53. data/lib/virtuozzo/soap/types/res_log.rb +2340 -0
  54. data/lib/virtuozzo/soap/types/resourcem.rb +2213 -0
  55. data/lib/virtuozzo/soap/types/scheduler.rb +2307 -0
  56. data/lib/virtuozzo/soap/types/server_group.rb +2467 -0
  57. data/lib/virtuozzo/soap/types/servicem.rb +2292 -0
  58. data/lib/virtuozzo/soap/types/userm.rb +2599 -0
  59. data/virtuozzo.gemspec +10 -10
  60. metadata +116 -6
@@ -0,0 +1,2311 @@
1
+ require 'xsd/qname'
2
+
3
+ module Virtuozzo
4
+ module SOAP
5
+ module Types
6
+ module Mailer
7
+
8
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}mailAccountInfo
9
+ # name - SOAP::SOAPString
10
+ # email - SOAP::SOAPString
11
+ class MailAccountInfo
12
+ attr_accessor :name
13
+ attr_accessor :email
14
+
15
+ def initialize(name = nil, email = nil)
16
+ @name = name
17
+ @email = email
18
+ end
19
+ end
20
+
21
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}osType
22
+ # platform - SOAP::SOAPString
23
+ # name - SOAP::SOAPString
24
+ # version - SOAP::SOAPString
25
+ # kernel - SOAP::SOAPString
26
+ class OsType
27
+ attr_accessor :platform
28
+ attr_accessor :name
29
+ attr_accessor :version
30
+ attr_accessor :kernel
31
+
32
+ def initialize(platform = nil, name = nil, version = nil, kernel = nil)
33
+ @platform = platform
34
+ @name = name
35
+ @version = version
36
+ @kernel = kernel
37
+ end
38
+ end
39
+
40
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_statusType
41
+ # state - SOAP::SOAPInt
42
+ # transition - SOAP::SOAPInt
43
+ class Env_statusType
44
+ attr_accessor :state
45
+ attr_accessor :transition
46
+
47
+ def initialize(state = nil, transition = nil)
48
+ @state = state
49
+ @transition = transition
50
+ end
51
+ end
52
+
53
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}qosType
54
+ # id - SOAP::SOAPString
55
+ # soft - SOAP::SOAPLong
56
+ # hard - SOAP::SOAPLong
57
+ # cur - SOAP::SOAPLong
58
+ class QosType
59
+ attr_accessor :id
60
+ attr_accessor :soft
61
+ attr_accessor :hard
62
+ attr_accessor :cur
63
+
64
+ def initialize(id = nil, soft = nil, hard = nil, cur = nil)
65
+ @id = id
66
+ @soft = soft
67
+ @hard = hard
68
+ @cur = cur
69
+ end
70
+ end
71
+
72
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_configType
73
+ # name - SOAP::SOAPString
74
+ # description - SOAP::SOAPBase64
75
+ # domain - SOAP::SOAPString
76
+ # hostname - SOAP::SOAPString
77
+ # address - Virtuozzo::SOAP::Types::Mailer::Ip_addressType
78
+ # architecture - SOAP::SOAPString
79
+ # os - Virtuozzo::SOAP::Types::Mailer::OsType
80
+ # type - SOAP::SOAPString
81
+ # nameserver - SOAP::SOAPString
82
+ # search_domain - SOAP::SOAPString
83
+ # base_sample_id - (any)
84
+ # base_snapshot_id - (any)
85
+ # child_type - SOAP::SOAPString
86
+ class Env_configType
87
+ attr_accessor :name
88
+ attr_accessor :description
89
+ attr_accessor :domain
90
+ attr_accessor :hostname
91
+ attr_accessor :address
92
+ attr_accessor :architecture
93
+ attr_accessor :os
94
+ attr_accessor :type
95
+ attr_accessor :nameserver
96
+ attr_accessor :search_domain
97
+ attr_accessor :base_sample_id
98
+ attr_accessor :base_snapshot_id
99
+ attr_accessor :child_type
100
+
101
+ def initialize(name = nil, description = nil, domain = nil, hostname = nil, address = [], architecture = nil, os = nil, type = nil, nameserver = [], search_domain = [], base_sample_id = nil, base_snapshot_id = nil, child_type = [])
102
+ @name = name
103
+ @description = description
104
+ @domain = domain
105
+ @hostname = hostname
106
+ @address = address
107
+ @architecture = architecture
108
+ @os = os
109
+ @type = type
110
+ @nameserver = nameserver
111
+ @search_domain = search_domain
112
+ @base_sample_id = base_sample_id
113
+ @base_snapshot_id = base_snapshot_id
114
+ @child_type = child_type
115
+ end
116
+ end
117
+
118
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}venv_configType
119
+ # name - SOAP::SOAPString
120
+ # description - SOAP::SOAPBase64
121
+ # domain - SOAP::SOAPString
122
+ # hostname - SOAP::SOAPString
123
+ # address - Virtuozzo::SOAP::Types::Mailer::Ip_addressType
124
+ # architecture - SOAP::SOAPString
125
+ # os - Virtuozzo::SOAP::Types::Mailer::OsType
126
+ # type - SOAP::SOAPString
127
+ # nameserver - SOAP::SOAPString
128
+ # search_domain - SOAP::SOAPString
129
+ # base_sample_id - (any)
130
+ # base_snapshot_id - (any)
131
+ # child_type - SOAP::SOAPString
132
+ # qos - Virtuozzo::SOAP::Types::Mailer::QosType
133
+ class Venv_configType < Env_configType
134
+ attr_accessor :name
135
+ attr_accessor :description
136
+ attr_accessor :domain
137
+ attr_accessor :hostname
138
+ attr_accessor :address
139
+ attr_accessor :architecture
140
+ attr_accessor :os
141
+ attr_accessor :type
142
+ attr_accessor :nameserver
143
+ attr_accessor :search_domain
144
+ attr_accessor :base_sample_id
145
+ attr_accessor :base_snapshot_id
146
+ attr_accessor :child_type
147
+ attr_accessor :qos
148
+
149
+ def initialize(name = nil, description = nil, domain = nil, hostname = nil, address = [], architecture = nil, os = nil, type = nil, nameserver = [], search_domain = [], base_sample_id = nil, base_snapshot_id = nil, child_type = [], qos = [])
150
+ @name = name
151
+ @description = description
152
+ @domain = domain
153
+ @hostname = hostname
154
+ @address = address
155
+ @architecture = architecture
156
+ @os = os
157
+ @type = type
158
+ @nameserver = nameserver
159
+ @search_domain = search_domain
160
+ @base_sample_id = base_sample_id
161
+ @base_snapshot_id = base_snapshot_id
162
+ @child_type = child_type
163
+ @qos = qos
164
+ end
165
+ end
166
+
167
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}native_configType
168
+ class Native_configType
169
+ def initialize
170
+ end
171
+ end
172
+
173
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}envType
174
+ # parent_eid - (any)
175
+ # eid - (any)
176
+ # status - Virtuozzo::SOAP::Types::Mailer::Env_statusType
177
+ # alert - SOAP::SOAPInt
178
+ # config - Virtuozzo::SOAP::Types::Mailer::Env_configType
179
+ # virtual_config - Virtuozzo::SOAP::Types::Mailer::Venv_configType
180
+ class EnvType
181
+ attr_accessor :parent_eid
182
+ attr_accessor :eid
183
+ attr_accessor :status
184
+ attr_accessor :alert
185
+ attr_accessor :config
186
+ attr_accessor :virtual_config
187
+
188
+ def initialize(parent_eid = nil, eid = nil, status = nil, alert = nil, config = nil, virtual_config = nil)
189
+ @parent_eid = parent_eid
190
+ @eid = eid
191
+ @status = status
192
+ @alert = alert
193
+ @config = config
194
+ @virtual_config = virtual_config
195
+ end
196
+ end
197
+
198
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}processesType
199
+ # run - SOAP::SOAPInt
200
+ # zombie - SOAP::SOAPInt
201
+ # sleep - SOAP::SOAPInt
202
+ # uninterrupt - SOAP::SOAPInt
203
+ # stopped - SOAP::SOAPInt
204
+ # total - SOAP::SOAPInt
205
+ class ProcessesType
206
+ attr_accessor :run
207
+ attr_accessor :zombie
208
+ attr_accessor :sleep
209
+ attr_accessor :uninterrupt
210
+ attr_accessor :stopped
211
+ attr_accessor :total
212
+
213
+ def initialize(run = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
214
+ @run = run
215
+ @zombie = zombie
216
+ @sleep = sleep
217
+ @uninterrupt = uninterrupt
218
+ @stopped = stopped
219
+ @total = total
220
+ end
221
+ end
222
+
223
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avgType
224
+ # l1 - SOAP::SOAPDouble
225
+ # l2 - SOAP::SOAPDouble
226
+ # l3 - SOAP::SOAPDouble
227
+ class Load_avgType
228
+ attr_accessor :l1
229
+ attr_accessor :l2
230
+ attr_accessor :l3
231
+
232
+ def initialize(l1 = nil, l2 = nil, l3 = nil)
233
+ @l1 = l1
234
+ @l2 = l2
235
+ @l3 = l3
236
+ end
237
+ end
238
+
239
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}cpu_loadType
240
+ # system - SOAP::SOAPLong
241
+ # user - SOAP::SOAPLong
242
+ # nice - SOAP::SOAPLong
243
+ # idle - SOAP::SOAPLong
244
+ class Cpu_loadType
245
+ attr_accessor :system
246
+ attr_accessor :user
247
+ attr_accessor :nice
248
+ attr_accessor :idle
249
+
250
+ def initialize(system = nil, user = nil, nice = nil, idle = nil)
251
+ @system = system
252
+ @user = user
253
+ @nice = nice
254
+ @idle = idle
255
+ end
256
+ end
257
+
258
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}cpuType
259
+ # mhz - SOAP::SOAPInt
260
+ # name - SOAP::SOAPString
261
+ # number - SOAP::SOAPInt
262
+ # cores - SOAP::SOAPInt
263
+ # hyperthreads - SOAP::SOAPInt
264
+ # units - SOAP::SOAPInt
265
+ # family - SOAP::SOAPString
266
+ # model - SOAP::SOAPString
267
+ # bogomips - SOAP::SOAPInt
268
+ class CpuType
269
+ attr_accessor :mhz
270
+ attr_accessor :name
271
+ attr_accessor :number
272
+ attr_accessor :cores
273
+ attr_accessor :hyperthreads
274
+ attr_accessor :units
275
+ attr_accessor :family
276
+ attr_accessor :model
277
+ attr_accessor :bogomips
278
+
279
+ def initialize(mhz = nil, name = nil, number = nil, cores = nil, hyperthreads = nil, units = nil, family = nil, model = nil, bogomips = nil)
280
+ @mhz = mhz
281
+ @name = name
282
+ @number = number
283
+ @cores = cores
284
+ @hyperthreads = hyperthreads
285
+ @units = units
286
+ @family = family
287
+ @model = model
288
+ @bogomips = bogomips
289
+ end
290
+ end
291
+
292
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transferType
293
+ # input - Virtuozzo::SOAP::Types::Mailer::TransferType::Input
294
+ # output - Virtuozzo::SOAP::Types::Mailer::TransferType::Output
295
+ class TransferType
296
+
297
+ # inner class for member: input
298
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}input
299
+ # bytes - SOAP::SOAPLong
300
+ # packets - SOAP::SOAPLong
301
+ class Input
302
+ attr_accessor :bytes
303
+ attr_accessor :packets
304
+
305
+ def initialize(bytes = nil, packets = nil)
306
+ @bytes = bytes
307
+ @packets = packets
308
+ end
309
+ end
310
+
311
+ # inner class for member: output
312
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}output
313
+ # bytes - SOAP::SOAPLong
314
+ # packets - SOAP::SOAPLong
315
+ class Output
316
+ attr_accessor :bytes
317
+ attr_accessor :packets
318
+
319
+ def initialize(bytes = nil, packets = nil)
320
+ @bytes = bytes
321
+ @packets = packets
322
+ end
323
+ end
324
+
325
+ attr_accessor :input
326
+ attr_accessor :output
327
+
328
+ def initialize(input = nil, output = nil)
329
+ @input = input
330
+ @output = output
331
+ end
332
+ end
333
+
334
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}system_nodeType
335
+ # address - Virtuozzo::SOAP::Types::Mailer::System_nodeType::Address
336
+ # login - Virtuozzo::SOAP::Types::Mailer::System_nodeType::Login
337
+ class System_nodeType
338
+
339
+ # inner class for member: address
340
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}address
341
+ # ip - (any)
342
+ class Address < Ip_addressType
343
+ attr_accessor :ip
344
+
345
+ def initialize(ip = nil)
346
+ @ip = ip
347
+ end
348
+ end
349
+
350
+ # inner class for member: login
351
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}login
352
+ # user - SOAP::SOAPString
353
+ # password - SOAP::SOAPBase64
354
+ class Login
355
+ attr_accessor :user
356
+ attr_accessor :password
357
+
358
+ def initialize(user = nil, password = nil)
359
+ @user = user
360
+ @password = password
361
+ end
362
+ end
363
+
364
+ attr_accessor :address
365
+ attr_accessor :login
366
+
367
+ def initialize(address = nil, login = nil)
368
+ @address = address
369
+ @login = login
370
+ end
371
+ end
372
+
373
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}resourceType
374
+ # total - SOAP::SOAPLong
375
+ # used - SOAP::SOAPLong
376
+ # free - SOAP::SOAPLong
377
+ # avg - SOAP::SOAPLong
378
+ # min - SOAP::SOAPLong
379
+ # max - SOAP::SOAPLong
380
+ class ResourceType
381
+ attr_accessor :total
382
+ attr_accessor :used
383
+ attr_accessor :free
384
+ attr_accessor :avg
385
+ attr_accessor :min
386
+ attr_accessor :max
387
+
388
+ def initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil)
389
+ @total = total
390
+ @used = used
391
+ @free = free
392
+ @avg = avg
393
+ @min = min
394
+ @max = max
395
+ end
396
+ end
397
+
398
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}intervalType
399
+ # start_time - (any)
400
+ # end_time - (any)
401
+ class IntervalType
402
+ attr_accessor :start_time
403
+ attr_accessor :end_time
404
+
405
+ def initialize(start_time = nil, end_time = nil)
406
+ @start_time = start_time
407
+ @end_time = end_time
408
+ end
409
+ end
410
+
411
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}statsType
412
+ # avg - SOAP::SOAPLong
413
+ # min - SOAP::SOAPLong
414
+ # max - SOAP::SOAPLong
415
+ # total - SOAP::SOAPLong
416
+ # cur - SOAP::SOAPLong
417
+ # soft - SOAP::SOAPLong
418
+ # hard - SOAP::SOAPLong
419
+ class StatsType
420
+ attr_accessor :avg
421
+ attr_accessor :min
422
+ attr_accessor :max
423
+ attr_accessor :total
424
+ attr_accessor :cur
425
+ attr_accessor :soft
426
+ attr_accessor :hard
427
+
428
+ def initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil)
429
+ @avg = avg
430
+ @min = min
431
+ @max = max
432
+ @total = total
433
+ @cur = cur
434
+ @soft = soft
435
+ @hard = hard
436
+ end
437
+ end
438
+
439
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_addressType
440
+ # host - (any)
441
+ # mask - (any)
442
+ class Net_addressType
443
+ attr_accessor :host
444
+ attr_accessor :mask
445
+
446
+ def initialize(host = nil, mask = nil)
447
+ @host = host
448
+ @mask = mask
449
+ end
450
+ end
451
+
452
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_classType
453
+ # id - SOAP::SOAPString
454
+ # transfer - Virtuozzo::SOAP::Types::Mailer::TransferType
455
+ class Net_classType
456
+ attr_accessor :id
457
+ attr_accessor :transfer
458
+
459
+ def initialize(id = nil, transfer = nil)
460
+ @id = id
461
+ @transfer = transfer
462
+ end
463
+ end
464
+
465
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_rangeType
466
+ # id - SOAP::SOAPString
467
+ # start_ip - (any)
468
+ # subnet_mask - SOAP::SOAPInt
469
+ # comment - SOAP::SOAPString
470
+ class Ip_rangeType
471
+ attr_accessor :id
472
+ attr_accessor :start_ip
473
+ attr_accessor :subnet_mask
474
+ attr_accessor :comment
475
+
476
+ def initialize(id = nil, start_ip = nil, subnet_mask = nil, comment = nil)
477
+ @id = id
478
+ @start_ip = start_ip
479
+ @subnet_mask = subnet_mask
480
+ @comment = comment
481
+ end
482
+ end
483
+
484
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sample_confType
485
+ # env_config - Virtuozzo::SOAP::Types::Mailer::Env_configType
486
+ # id - SOAP::SOAPString
487
+ # name - SOAP::SOAPString
488
+ # comment - SOAP::SOAPBase64
489
+ # vt_version - Virtuozzo::SOAP::Types::Mailer::Sample_confType::Vt_version
490
+ class Sample_confType
491
+
492
+ # inner class for member: vt_version
493
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_version
494
+ # platform - SOAP::SOAPString
495
+ # architecture - SOAP::SOAPString
496
+ # vt_technology - SOAP::SOAPString
497
+ class Vt_version
498
+ attr_accessor :platform
499
+ attr_accessor :architecture
500
+ attr_accessor :vt_technology
501
+
502
+ def initialize(platform = nil, architecture = nil, vt_technology = nil)
503
+ @platform = platform
504
+ @architecture = architecture
505
+ @vt_technology = vt_technology
506
+ end
507
+ end
508
+
509
+ attr_accessor :env_config
510
+ attr_accessor :id
511
+ attr_accessor :name
512
+ attr_accessor :comment
513
+ attr_accessor :vt_version
514
+
515
+ def initialize(env_config = nil, id = nil, name = nil, comment = nil, vt_version = nil)
516
+ @env_config = env_config
517
+ @id = id
518
+ @name = name
519
+ @comment = comment
520
+ @vt_version = vt_version
521
+ end
522
+ end
523
+
524
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}interfaceType
525
+ # name - SOAP::SOAPString
526
+ # bandwidth - SOAP::SOAPInt
527
+ # transfer - Virtuozzo::SOAP::Types::Mailer::TransferType
528
+ # ipaddress - (any)
529
+ # flags - SOAP::SOAPInt
530
+ class InterfaceType
531
+ attr_accessor :name
532
+ attr_accessor :bandwidth
533
+ attr_accessor :transfer
534
+ attr_accessor :ipaddress
535
+ attr_accessor :flags
536
+
537
+ def initialize(name = nil, bandwidth = nil, transfer = nil, ipaddress = nil, flags = nil)
538
+ @name = name
539
+ @bandwidth = bandwidth
540
+ @transfer = transfer
541
+ @ipaddress = ipaddress
542
+ @flags = flags
543
+ end
544
+ end
545
+
546
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sys_infoType
547
+ # load_avg - Virtuozzo::SOAP::Types::Mailer::Load_avgType
548
+ # processes - Virtuozzo::SOAP::Types::Mailer::ProcessesType
549
+ # cpu_load - Virtuozzo::SOAP::Types::Mailer::Cpu_loadType
550
+ # cpu_states - Virtuozzo::SOAP::Types::Mailer::Cpu_loadType
551
+ # users - SOAP::SOAPInt
552
+ # uptime - SOAP::SOAPLong
553
+ # memory - Virtuozzo::SOAP::Types::Mailer::Sys_infoType::Memory
554
+ # swap - Virtuozzo::SOAP::Types::Mailer::Sys_infoType::Swap
555
+ class Sys_infoType
556
+
557
+ # inner class for member: memory
558
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}memory
559
+ # total - SOAP::SOAPLong
560
+ # used - SOAP::SOAPLong
561
+ class Memory < ResourceType
562
+ attr_accessor :total
563
+ attr_accessor :used
564
+
565
+ def initialize(total = nil, used = nil)
566
+ @total = total
567
+ @used = used
568
+ end
569
+ end
570
+
571
+ # inner class for member: swap
572
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}swap
573
+ # total - SOAP::SOAPLong
574
+ # used - SOAP::SOAPLong
575
+ class Swap < ResourceType
576
+ attr_accessor :total
577
+ attr_accessor :used
578
+
579
+ def initialize(total = nil, used = nil)
580
+ @total = total
581
+ @used = used
582
+ end
583
+ end
584
+
585
+ attr_accessor :load_avg
586
+ attr_accessor :processes
587
+ attr_accessor :cpu_load
588
+ attr_accessor :cpu_states
589
+ attr_accessor :users
590
+ attr_accessor :uptime
591
+ attr_accessor :memory
592
+ attr_accessor :swap
593
+
594
+ def initialize(load_avg = nil, processes = nil, cpu_load = nil, cpu_states = nil, users = nil, uptime = nil, memory = nil, swap = nil)
595
+ @load_avg = load_avg
596
+ @processes = processes
597
+ @cpu_load = cpu_load
598
+ @cpu_states = cpu_states
599
+ @users = users
600
+ @uptime = uptime
601
+ @memory = memory
602
+ @swap = swap
603
+ end
604
+ end
605
+
606
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ps_infoType
607
+ # process - Virtuozzo::SOAP::Types::Mailer::Ps_infoType::C_Process
608
+ # param_id - SOAP::SOAPString
609
+ # run - SOAP::SOAPInt
610
+ # idle - SOAP::SOAPInt
611
+ # zombie - SOAP::SOAPInt
612
+ # sleep - SOAP::SOAPInt
613
+ # uninterrupt - SOAP::SOAPInt
614
+ # stopped - SOAP::SOAPInt
615
+ # total - SOAP::SOAPInt
616
+ class Ps_infoType
617
+
618
+ # inner class for member: process
619
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}process
620
+ # pid - SOAP::SOAPInt
621
+ # param - SOAP::SOAPBase64
622
+ class C_Process
623
+ attr_accessor :pid
624
+ attr_accessor :param
625
+
626
+ def initialize(pid = nil, param = [])
627
+ @pid = pid
628
+ @param = param
629
+ end
630
+ end
631
+
632
+ attr_accessor :process
633
+ attr_accessor :param_id
634
+ attr_accessor :run
635
+ attr_accessor :idle
636
+ attr_accessor :zombie
637
+ attr_accessor :sleep
638
+ attr_accessor :uninterrupt
639
+ attr_accessor :stopped
640
+ attr_accessor :total
641
+
642
+ def initialize(process = [], param_id = [], run = nil, idle = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
643
+ @process = process
644
+ @param_id = param_id
645
+ @run = run
646
+ @idle = idle
647
+ @zombie = zombie
648
+ @sleep = sleep
649
+ @uninterrupt = uninterrupt
650
+ @stopped = stopped
651
+ @total = total
652
+ end
653
+ end
654
+
655
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avg_statsType
656
+ # l1 - Virtuozzo::SOAP::Types::Mailer::Load_avg_statsType::L1
657
+ # l2 - Virtuozzo::SOAP::Types::Mailer::Load_avg_statsType::L2
658
+ # l3 - Virtuozzo::SOAP::Types::Mailer::Load_avg_statsType::L3
659
+ class Load_avg_statsType
660
+
661
+ # inner class for member: l1
662
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l1
663
+ # avg - SOAP::SOAPLong
664
+ # min - SOAP::SOAPLong
665
+ # max - SOAP::SOAPLong
666
+ # cur - SOAP::SOAPLong
667
+ class L1 < StatsType
668
+ attr_accessor :avg
669
+ attr_accessor :min
670
+ attr_accessor :max
671
+ attr_accessor :cur
672
+
673
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
674
+ @avg = avg
675
+ @min = min
676
+ @max = max
677
+ @cur = cur
678
+ end
679
+ end
680
+
681
+ # inner class for member: l2
682
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l2
683
+ # avg - SOAP::SOAPLong
684
+ # min - SOAP::SOAPLong
685
+ # max - SOAP::SOAPLong
686
+ # cur - SOAP::SOAPLong
687
+ class L2 < StatsType
688
+ attr_accessor :avg
689
+ attr_accessor :min
690
+ attr_accessor :max
691
+ attr_accessor :cur
692
+
693
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
694
+ @avg = avg
695
+ @min = min
696
+ @max = max
697
+ @cur = cur
698
+ end
699
+ end
700
+
701
+ # inner class for member: l3
702
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l3
703
+ # avg - SOAP::SOAPLong
704
+ # min - SOAP::SOAPLong
705
+ # max - SOAP::SOAPLong
706
+ # cur - SOAP::SOAPLong
707
+ class L3 < StatsType
708
+ attr_accessor :avg
709
+ attr_accessor :min
710
+ attr_accessor :max
711
+ attr_accessor :cur
712
+
713
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
714
+ @avg = avg
715
+ @min = min
716
+ @max = max
717
+ @cur = cur
718
+ end
719
+ end
720
+
721
+ attr_accessor :l1
722
+ attr_accessor :l2
723
+ attr_accessor :l3
724
+
725
+ def initialize(l1 = nil, l2 = nil, l3 = nil)
726
+ @l1 = l1
727
+ @l2 = l2
728
+ @l3 = l3
729
+ end
730
+ end
731
+
732
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_addressType
733
+ # ip - (any)
734
+ # netmask - (any)
735
+ class Ip_addressType
736
+ attr_accessor :ip
737
+ attr_accessor :netmask
738
+
739
+ def initialize(ip = nil, netmask = nil)
740
+ @ip = ip
741
+ @netmask = netmask
742
+ end
743
+ end
744
+
745
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_resourceType
746
+ # eid - (any)
747
+ # ip_pool - Virtuozzo::SOAP::Types::Mailer::Ip_poolType
748
+ class Env_resourceType
749
+ attr_accessor :eid
750
+ attr_accessor :ip_pool
751
+
752
+ def initialize(eid = nil, ip_pool = nil)
753
+ @eid = eid
754
+ @ip_pool = ip_pool
755
+ end
756
+ end
757
+
758
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_poolType
759
+ # ip_range - Virtuozzo::SOAP::Types::Mailer::Ip_poolType::Ip_range
760
+ # ip - (any)
761
+ class Ip_poolType
762
+
763
+ # inner class for member: ip_range
764
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_range
765
+ # start_ip - (any)
766
+ # end_ip - (any)
767
+ class Ip_range
768
+ attr_accessor :start_ip
769
+ attr_accessor :end_ip
770
+
771
+ def initialize(start_ip = nil, end_ip = nil)
772
+ @start_ip = start_ip
773
+ @end_ip = end_ip
774
+ end
775
+ end
776
+
777
+ attr_accessor :ip_range
778
+ attr_accessor :ip
779
+
780
+ def initialize(ip_range = [], ip = [])
781
+ @ip_range = ip_range
782
+ @ip = ip
783
+ end
784
+ end
785
+
786
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}usageType
787
+ # total - SOAP::SOAPLong
788
+ # used - SOAP::SOAPLong
789
+ # free - SOAP::SOAPLong
790
+ class UsageType
791
+ attr_accessor :total
792
+ attr_accessor :used
793
+ attr_accessor :free
794
+
795
+ def initialize(total = nil, used = nil, free = nil)
796
+ @total = total
797
+ @used = used
798
+ @free = free
799
+ end
800
+ end
801
+
802
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}credentialType
803
+ # id - SOAP::SOAPString
804
+ # policy - SOAP::SOAPInt
805
+ # description - SOAP::SOAPBase64
806
+ # cred - Virtuozzo::SOAP::Types::Mailer::CredentialType
807
+ class CredentialType
808
+ attr_accessor :id
809
+ attr_accessor :policy
810
+ attr_accessor :description
811
+ attr_accessor :cred
812
+
813
+ def initialize(id = nil, policy = nil, description = nil, cred = [])
814
+ @id = id
815
+ @policy = policy
816
+ @description = description
817
+ @cred = cred
818
+ end
819
+ end
820
+
821
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}root_credentialType
822
+ # id - SOAP::SOAPString
823
+ # policy - SOAP::SOAPInt
824
+ # description - SOAP::SOAPBase64
825
+ # cred - Virtuozzo::SOAP::Types::Mailer::CredentialType
826
+ # objects - Virtuozzo::SOAP::Types::Mailer::Root_credentialType::Objects
827
+ class Root_credentialType < CredentialType
828
+
829
+ # inner class for member: objects
830
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}objects
831
+ class Objects < ::Array
832
+ end
833
+
834
+ attr_accessor :id
835
+ attr_accessor :policy
836
+ attr_accessor :description
837
+ attr_accessor :cred
838
+ attr_accessor :objects
839
+
840
+ def initialize(id = nil, policy = nil, description = nil, cred = [], objects = nil)
841
+ @id = id
842
+ @policy = policy
843
+ @description = description
844
+ @cred = cred
845
+ @objects = objects
846
+ end
847
+ end
848
+
849
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}tokenType
850
+ # user - (any)
851
+ # groups - Virtuozzo::SOAP::Types::Mailer::TokenType::Groups
852
+ # deny_only_sids - Virtuozzo::SOAP::Types::Mailer::TokenType::Deny_only_sids
853
+ # privileges - Virtuozzo::SOAP::Types::Mailer::TokenType::Privileges
854
+ # source - Virtuozzo::SOAP::Types::Mailer::TokenType::Source
855
+ class TokenType
856
+
857
+ # inner class for member: groups
858
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groups
859
+ class Groups < ::Array
860
+ end
861
+
862
+ # inner class for member: deny_only_sids
863
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}deny_only_sids
864
+ class Deny_only_sids < ::Array
865
+ end
866
+
867
+ # inner class for member: privileges
868
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}privileges
869
+ class Privileges < ::Array
870
+ end
871
+
872
+ # inner class for member: source
873
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}source
874
+ # name - SOAP::SOAPString
875
+ # id - (any)
876
+ class Source
877
+ attr_accessor :name
878
+ attr_accessor :id
879
+
880
+ def initialize(name = nil, id = nil)
881
+ @name = name
882
+ @id = id
883
+ end
884
+ end
885
+
886
+ attr_accessor :user
887
+ attr_accessor :groups
888
+ attr_accessor :deny_only_sids
889
+ attr_accessor :privileges
890
+ attr_accessor :source
891
+
892
+ def initialize(user = nil, groups = nil, deny_only_sids = nil, privileges = nil, source = nil)
893
+ @user = user
894
+ @groups = groups
895
+ @deny_only_sids = deny_only_sids
896
+ @privileges = privileges
897
+ @source = source
898
+ end
899
+ end
900
+
901
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}connectivity_infoType
902
+ # protocol - SOAP::SOAPString
903
+ # address - SOAP::SOAPString
904
+ # port - SOAP::SOAPUnsignedInt
905
+ class Connectivity_infoType
906
+ attr_accessor :protocol
907
+ attr_accessor :address
908
+ attr_accessor :port
909
+
910
+ def initialize(protocol = nil, address = nil, port = nil)
911
+ @protocol = protocol
912
+ @address = address
913
+ @port = port
914
+ end
915
+ end
916
+
917
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}connection_infoType
918
+ # protocol - SOAP::SOAPString
919
+ # address - SOAP::SOAPString
920
+ # port - SOAP::SOAPUnsignedInt
921
+ # login - Virtuozzo::SOAP::Types::Mailer::Auth_nameType
922
+ # password - SOAP::SOAPBase64
923
+ class Connection_infoType < Connectivity_infoType
924
+ attr_accessor :protocol
925
+ attr_accessor :address
926
+ attr_accessor :port
927
+ attr_accessor :login
928
+ attr_accessor :password
929
+
930
+ def initialize(protocol = nil, address = nil, port = nil, login = nil, password = nil)
931
+ @protocol = protocol
932
+ @address = address
933
+ @port = port
934
+ @login = login
935
+ @password = password
936
+ end
937
+ end
938
+
939
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}auth_nameType
940
+ # name - SOAP::SOAPBase64
941
+ # domain - SOAP::SOAPBase64
942
+ # realm - (any)
943
+ class Auth_nameType
944
+ attr_accessor :name
945
+ attr_accessor :domain
946
+ attr_accessor :realm
947
+
948
+ def initialize(name = nil, domain = nil, realm = nil)
949
+ @name = name
950
+ @domain = domain
951
+ @realm = realm
952
+ end
953
+ end
954
+
955
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}eid_listType
956
+ class Eid_listType < ::Array
957
+ end
958
+
959
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_infoType
960
+ class Vt_infoType
961
+ attr_reader :__xmlele_any
962
+
963
+ def set_any(elements)
964
+ @__xmlele_any = elements
965
+ end
966
+
967
+ def initialize
968
+ @__xmlele_any = nil
969
+ end
970
+ end
971
+
972
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_settingsType
973
+ # default_sample_id - (any)
974
+ class Vt_settingsType
975
+ attr_accessor :default_sample_id
976
+
977
+ def initialize(default_sample_id = nil)
978
+ @default_sample_id = default_sample_id
979
+ end
980
+ end
981
+
982
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}userType
983
+ # initial_group - Virtuozzo::SOAP::Types::Mailer::UserType::Initial_group
984
+ # group - Virtuozzo::SOAP::Types::Mailer::UserType::Group
985
+ # uid - SOAP::SOAPInt
986
+ # shell - SOAP::SOAPString
987
+ # password - SOAP::SOAPBase64
988
+ # home_dir - SOAP::SOAPString
989
+ # name - SOAP::SOAPString
990
+ # comment - SOAP::SOAPString
991
+ class UserType
992
+
993
+ # inner class for member: initial_group
994
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}initial_group
995
+ # name - SOAP::SOAPString
996
+ # gid - SOAP::SOAPInt
997
+ class Initial_group < GroupType
998
+ attr_accessor :name
999
+ attr_accessor :gid
1000
+
1001
+ def initialize(name = nil, gid = nil)
1002
+ @name = name
1003
+ @gid = gid
1004
+ end
1005
+ end
1006
+
1007
+ # inner class for member: group
1008
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}group
1009
+ # name - SOAP::SOAPString
1010
+ # gid - SOAP::SOAPInt
1011
+ class Group < GroupType
1012
+ attr_accessor :name
1013
+ attr_accessor :gid
1014
+
1015
+ def initialize(name = nil, gid = nil)
1016
+ @name = name
1017
+ @gid = gid
1018
+ end
1019
+ end
1020
+
1021
+ attr_accessor :initial_group
1022
+ attr_accessor :group
1023
+ attr_accessor :uid
1024
+ attr_accessor :shell
1025
+ attr_accessor :password
1026
+ attr_accessor :home_dir
1027
+ attr_accessor :name
1028
+ attr_accessor :comment
1029
+
1030
+ def initialize(initial_group = nil, group = [], uid = nil, shell = nil, password = nil, home_dir = nil, name = nil, comment = nil)
1031
+ @initial_group = initial_group
1032
+ @group = group
1033
+ @uid = uid
1034
+ @shell = shell
1035
+ @password = password
1036
+ @home_dir = home_dir
1037
+ @name = name
1038
+ @comment = comment
1039
+ end
1040
+ end
1041
+
1042
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groupType
1043
+ # user - Virtuozzo::SOAP::Types::Mailer::GroupType::User
1044
+ # member_group - Virtuozzo::SOAP::Types::Mailer::GroupType::Member_group
1045
+ # name - SOAP::SOAPString
1046
+ # gid - SOAP::SOAPInt
1047
+ class GroupType
1048
+
1049
+ # inner class for member: user
1050
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}user
1051
+ # name - SOAP::SOAPString
1052
+ class User < UserType
1053
+ attr_accessor :name
1054
+
1055
+ def initialize(name = nil)
1056
+ @name = name
1057
+ end
1058
+ end
1059
+
1060
+ # inner class for member: member_group
1061
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}member_group
1062
+ # name - SOAP::SOAPString
1063
+ class Member_group < GroupType
1064
+ attr_accessor :name
1065
+
1066
+ def initialize(name = nil)
1067
+ @name = name
1068
+ end
1069
+ end
1070
+
1071
+ attr_accessor :user
1072
+ attr_accessor :member_group
1073
+ attr_accessor :name
1074
+ attr_accessor :gid
1075
+
1076
+ def initialize(user = [], member_group = [], name = nil, gid = nil)
1077
+ @user = user
1078
+ @member_group = member_group
1079
+ @name = name
1080
+ @gid = gid
1081
+ end
1082
+ end
1083
+
1084
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}packageType
1085
+ # name - SOAP::SOAPString
1086
+ # summary - SOAP::SOAPString
1087
+ # os - Virtuozzo::SOAP::Types::Mailer::OsType
1088
+ # description - SOAP::SOAPString
1089
+ # arch - SOAP::SOAPString
1090
+ # version - SOAP::SOAPString
1091
+ class PackageType
1092
+ attr_accessor :name
1093
+ attr_accessor :summary
1094
+ attr_accessor :os
1095
+ attr_accessor :description
1096
+ attr_accessor :arch
1097
+ attr_accessor :version
1098
+
1099
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil)
1100
+ @name = name
1101
+ @summary = summary
1102
+ @os = os
1103
+ @description = description
1104
+ @arch = arch
1105
+ @version = version
1106
+ end
1107
+ end
1108
+
1109
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}event_dataType
1110
+ class Event_dataType
1111
+ def initialize
1112
+ end
1113
+ end
1114
+
1115
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}alert_dataType
1116
+ # type - SOAP::SOAPInt
1117
+ class Alert_dataType < Event_dataType
1118
+ attr_accessor :type
1119
+
1120
+ def initialize(type = nil)
1121
+ @type = type
1122
+ end
1123
+ end
1124
+
1125
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}named_listType
1126
+ # name - SOAP::SOAPString
1127
+ # value - SOAP::SOAPBase64
1128
+ class Named_listType
1129
+ attr_accessor :name
1130
+ attr_accessor :value
1131
+
1132
+ def initialize(name = nil, value = [])
1133
+ @name = name
1134
+ @value = value
1135
+ end
1136
+ end
1137
+
1138
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}modType
1139
+ # name - SOAP::SOAPString
1140
+ # value - SOAP::SOAPBase64
1141
+ # op - SOAP::SOAPInt
1142
+ class ModType < Named_listType
1143
+ attr_accessor :name
1144
+ attr_accessor :value
1145
+ attr_accessor :op
1146
+
1147
+ def initialize(name = nil, value = [], op = nil)
1148
+ @name = name
1149
+ @value = value
1150
+ @op = op
1151
+ end
1152
+ end
1153
+
1154
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}realmType
1155
+ # id - (any)
1156
+ # type - SOAP::SOAPInt
1157
+ # name - SOAP::SOAPString
1158
+ # builtin - (any)
1159
+ class RealmType
1160
+ attr_accessor :id
1161
+ attr_accessor :type
1162
+ attr_accessor :name
1163
+ attr_accessor :builtin
1164
+
1165
+ def initialize(id = nil, type = nil, name = nil, builtin = nil)
1166
+ @id = id
1167
+ @type = type
1168
+ @name = name
1169
+ @builtin = builtin
1170
+ end
1171
+ end
1172
+
1173
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}eventType
1174
+ # eid - (any)
1175
+ # time - (any)
1176
+ # source - SOAP::SOAPString
1177
+ # category - SOAP::SOAPString
1178
+ # sid - (any)
1179
+ # count - SOAP::SOAPInt
1180
+ # id - (any)
1181
+ # info - Virtuozzo::SOAP::Types::Mailer::InfoType
1182
+ # data - Virtuozzo::SOAP::Types::Mailer::EventType::C_Data
1183
+ class EventType
1184
+
1185
+ # inner class for member: data
1186
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}data
1187
+ # event_data - Virtuozzo::SOAP::Types::Mailer::Event_dataType
1188
+ class C_Data
1189
+ attr_accessor :event_data
1190
+
1191
+ def initialize(event_data = nil)
1192
+ @event_data = event_data
1193
+ end
1194
+ end
1195
+
1196
+ attr_accessor :eid
1197
+ attr_accessor :time
1198
+ attr_accessor :source
1199
+ attr_accessor :category
1200
+ attr_accessor :sid
1201
+ attr_accessor :count
1202
+ attr_accessor :id
1203
+ attr_accessor :info
1204
+ attr_accessor :data
1205
+
1206
+ def initialize(eid = nil, time = nil, source = nil, category = nil, sid = nil, count = nil, id = nil, info = nil, data = nil)
1207
+ @eid = eid
1208
+ @time = time
1209
+ @source = source
1210
+ @category = category
1211
+ @sid = sid
1212
+ @count = count
1213
+ @id = id
1214
+ @info = info
1215
+ @data = data
1216
+ end
1217
+ end
1218
+
1219
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}infoType
1220
+ # message - SOAP::SOAPBase64
1221
+ # translate - (any)
1222
+ # parameter - Virtuozzo::SOAP::Types::Mailer::InfoType
1223
+ # name - SOAP::SOAPString
1224
+ class InfoType
1225
+ attr_accessor :message
1226
+ attr_accessor :translate
1227
+ attr_accessor :parameter
1228
+ attr_accessor :name
1229
+
1230
+ def initialize(message = nil, translate = nil, parameter = [], name = nil)
1231
+ @message = message
1232
+ @translate = translate
1233
+ @parameter = parameter
1234
+ @name = name
1235
+ end
1236
+ end
1237
+
1238
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}aceType
1239
+ # type - SOAP::SOAPInt
1240
+ # sid - (any)
1241
+ # rights - SOAP::SOAPBase64
1242
+ class AceType
1243
+ attr_accessor :type
1244
+ attr_accessor :sid
1245
+ attr_accessor :rights
1246
+
1247
+ def initialize(type = nil, sid = nil, rights = nil)
1248
+ @type = type
1249
+ @sid = sid
1250
+ @rights = rights
1251
+ end
1252
+ end
1253
+
1254
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_descriptorType
1255
+ # owner - (any)
1256
+ # group - (any)
1257
+ # dacl - Virtuozzo::SOAP::Types::Mailer::Security_descriptorType::Dacl
1258
+ class Security_descriptorType
1259
+
1260
+ # inner class for member: dacl
1261
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}dacl
1262
+ class Dacl < ::Array
1263
+ end
1264
+
1265
+ attr_accessor :owner
1266
+ attr_accessor :group
1267
+ attr_accessor :dacl
1268
+
1269
+ def initialize(owner = nil, group = nil, dacl = nil)
1270
+ @owner = owner
1271
+ @group = group
1272
+ @dacl = dacl
1273
+ end
1274
+ end
1275
+
1276
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_objectType
1277
+ # abstract
1278
+ class Security_objectType
1279
+ def initialize
1280
+ end
1281
+ end
1282
+
1283
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_security_objectType
1284
+ # eid - (any)
1285
+ class Env_security_objectType < Security_objectType
1286
+ attr_accessor :eid
1287
+
1288
+ def initialize(eid = nil)
1289
+ @eid = eid
1290
+ end
1291
+ end
1292
+
1293
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_deviceType
1294
+ # id - SOAP::SOAPString
1295
+ # ip_address - Virtuozzo::SOAP::Types::Mailer::Ip_addressType
1296
+ # dhcp - (any)
1297
+ # network_id - SOAP::SOAPBase64
1298
+ # status - Virtuozzo::SOAP::Types::Mailer::Net_deviceType::Status
1299
+ class Net_deviceType
1300
+
1301
+ # inner class for member: status
1302
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
1303
+ # up - (any)
1304
+ # down - (any)
1305
+ class Status
1306
+ attr_accessor :up
1307
+ attr_accessor :down
1308
+
1309
+ def initialize(up = nil, down = nil)
1310
+ @up = up
1311
+ @down = down
1312
+ end
1313
+ end
1314
+
1315
+ attr_accessor :id
1316
+ attr_accessor :ip_address
1317
+ attr_accessor :dhcp
1318
+ attr_accessor :network_id
1319
+ attr_accessor :status
1320
+
1321
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil)
1322
+ @id = id
1323
+ @ip_address = ip_address
1324
+ @dhcp = dhcp
1325
+ @network_id = network_id
1326
+ @status = status
1327
+ end
1328
+ end
1329
+
1330
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_nicType
1331
+ # id - SOAP::SOAPString
1332
+ # ip_address - Virtuozzo::SOAP::Types::Mailer::Ip_addressType
1333
+ # dhcp - (any)
1334
+ # network_id - SOAP::SOAPBase64
1335
+ # status - Virtuozzo::SOAP::Types::Mailer::Net_nicType::Status
1336
+ # mac_address - SOAP::SOAPString
1337
+ class Net_nicType < Net_deviceType
1338
+
1339
+ # inner class for member: status
1340
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
1341
+ # up - (any)
1342
+ # down - (any)
1343
+ class Status
1344
+ attr_accessor :up
1345
+ attr_accessor :down
1346
+
1347
+ def initialize(up = nil, down = nil)
1348
+ @up = up
1349
+ @down = down
1350
+ end
1351
+ end
1352
+
1353
+ attr_accessor :id
1354
+ attr_accessor :ip_address
1355
+ attr_accessor :dhcp
1356
+ attr_accessor :network_id
1357
+ attr_accessor :status
1358
+ attr_accessor :mac_address
1359
+
1360
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil)
1361
+ @id = id
1362
+ @ip_address = ip_address
1363
+ @dhcp = dhcp
1364
+ @network_id = network_id
1365
+ @status = status
1366
+ @mac_address = mac_address
1367
+ end
1368
+ end
1369
+
1370
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}voc_parameterType
1371
+ # id - SOAP::SOAPString
1372
+ # type - SOAP::SOAPString
1373
+ # min - SOAP::SOAPString
1374
+ # max - SOAP::SOAPString
1375
+ # long - SOAP::SOAPString
1376
+ # short - SOAP::SOAPString
1377
+ # category - SOAP::SOAPString
1378
+ # complex - SOAP::SOAPString
1379
+ # default - SOAP::SOAPString
1380
+ # measure - SOAP::SOAPString
1381
+ # data - (any)
1382
+ # name - (any)
1383
+ class Voc_parameterType
1384
+ attr_accessor :id
1385
+ attr_accessor :type
1386
+ attr_accessor :min
1387
+ attr_accessor :max
1388
+ attr_accessor :long
1389
+ attr_accessor :short
1390
+ attr_accessor :category
1391
+ attr_accessor :complex
1392
+ attr_accessor :default
1393
+ attr_accessor :measure
1394
+ attr_accessor :data
1395
+ attr_accessor :name
1396
+
1397
+ def initialize(id = nil, type = nil, min = nil, max = nil, long = nil, short = nil, category = [], complex = nil, default = nil, measure = nil, data = nil, name = nil)
1398
+ @id = id
1399
+ @type = type
1400
+ @min = min
1401
+ @max = max
1402
+ @long = long
1403
+ @short = short
1404
+ @category = category
1405
+ @complex = complex
1406
+ @default = default
1407
+ @measure = measure
1408
+ @data = data
1409
+ @name = name
1410
+ end
1411
+ end
1412
+
1413
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vocabularyType
1414
+ # name - SOAP::SOAPString
1415
+ # parameter - Virtuozzo::SOAP::Types::Mailer::Voc_parameterType
1416
+ # category - Virtuozzo::SOAP::Types::Mailer::Voc_parameterType
1417
+ class VocabularyType
1418
+ attr_accessor :name
1419
+ attr_accessor :parameter
1420
+ attr_accessor :category
1421
+
1422
+ def initialize(name = nil, parameter = [], category = [])
1423
+ @name = name
1424
+ @parameter = parameter
1425
+ @category = category
1426
+ end
1427
+ end
1428
+
1429
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_statType
1430
+ # cur - SOAP::SOAPAnySimpleType
1431
+ # avg - SOAP::SOAPAnySimpleType
1432
+ # max - SOAP::SOAPAnySimpleType
1433
+ # min - SOAP::SOAPAnySimpleType
1434
+ class Perf_statType
1435
+ attr_accessor :cur
1436
+ attr_accessor :avg
1437
+ attr_accessor :max
1438
+ attr_accessor :min
1439
+
1440
+ def initialize(cur = nil, avg = nil, max = nil, min = nil)
1441
+ @cur = cur
1442
+ @avg = avg
1443
+ @max = max
1444
+ @min = min
1445
+ end
1446
+ end
1447
+
1448
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_dataType
1449
+ # eid - (any)
1450
+ # m_class - Virtuozzo::SOAP::Types::Mailer::Perf_dataType::C_Class
1451
+ # interval - Virtuozzo::SOAP::Types::Mailer::IntervalType
1452
+ class Perf_dataType
1453
+
1454
+ # inner class for member: class
1455
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}class
1456
+ # name - SOAP::SOAPString
1457
+ # instance - Virtuozzo::SOAP::Types::Mailer::Perf_dataType::C_Class::Instance
1458
+ class C_Class
1459
+
1460
+ # inner class for member: instance
1461
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}instance
1462
+ # name - SOAP::SOAPString
1463
+ # counter - Virtuozzo::SOAP::Types::Mailer::Perf_dataType::C_Class::Instance::Counter
1464
+ class Instance
1465
+
1466
+ # inner class for member: counter
1467
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}counter
1468
+ # name - SOAP::SOAPString
1469
+ # value - Virtuozzo::SOAP::Types::Mailer::Perf_statType
1470
+ class Counter
1471
+ attr_accessor :name
1472
+ attr_accessor :value
1473
+
1474
+ def initialize(name = nil, value = nil)
1475
+ @name = name
1476
+ @value = value
1477
+ end
1478
+ end
1479
+
1480
+ attr_accessor :name
1481
+ attr_accessor :counter
1482
+
1483
+ def initialize(name = nil, counter = [])
1484
+ @name = name
1485
+ @counter = counter
1486
+ end
1487
+ end
1488
+
1489
+ attr_accessor :name
1490
+ attr_accessor :instance
1491
+
1492
+ def initialize(name = nil, instance = [])
1493
+ @name = name
1494
+ @instance = instance
1495
+ end
1496
+ end
1497
+
1498
+ attr_accessor :eid
1499
+ attr_accessor :interval
1500
+
1501
+ def m_class
1502
+ @v_class
1503
+ end
1504
+
1505
+ def m_class=(value)
1506
+ @v_class = value
1507
+ end
1508
+
1509
+ def initialize(eid = nil, v_class = [], interval = nil)
1510
+ @eid = eid
1511
+ @v_class = v_class
1512
+ @interval = interval
1513
+ end
1514
+ end
1515
+
1516
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_options_baseType
1517
+ class Log_options_baseType
1518
+ def initialize
1519
+ end
1520
+ end
1521
+
1522
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_optionsType
1523
+ class Log_optionsType < Log_options_baseType
1524
+ def initialize
1525
+ end
1526
+ end
1527
+
1528
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet_headerType
1529
+ # auth - Virtuozzo::SOAP::Types::Mailer::AuthType
1530
+ # cookie - SOAP::SOAPString
1531
+ # target - SOAP::SOAPString
1532
+ # origin - SOAP::SOAPString
1533
+ # src - Virtuozzo::SOAP::Types::Mailer::RouteType
1534
+ # dst - Virtuozzo::SOAP::Types::Mailer::RouteType
1535
+ # session - SOAP::SOAPString
1536
+ # xmlattr_version - SOAP::SOAPString
1537
+ # xmlattr_id - SOAP::SOAPString
1538
+ # xmlattr_priority - SOAP::SOAPString
1539
+ # xmlattr_time - SOAP::SOAPString
1540
+ # xmlattr_progress - SOAP::SOAPString
1541
+ # xmlattr_log - SOAP::SOAPString
1542
+ # xmlattr_type - SOAP::SOAPInt
1543
+ # xmlattr_timeout - SOAP::SOAPInt
1544
+ # xmlattr_timeout_limit - SOAP::SOAPInt
1545
+ # xmlattr_uid - SOAP::SOAPInt
1546
+ class Packet_headerType
1547
+ AttrC_Time = XSD::QName.new(nil, "time")
1548
+ AttrId = XSD::QName.new(nil, "id")
1549
+ AttrLog = XSD::QName.new(nil, "log")
1550
+ AttrPriority = XSD::QName.new(nil, "priority")
1551
+ AttrProgress = XSD::QName.new(nil, "progress")
1552
+ AttrTimeout = XSD::QName.new(nil, "timeout")
1553
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
1554
+ AttrType = XSD::QName.new(nil, "type")
1555
+ AttrUid = XSD::QName.new(nil, "uid")
1556
+ AttrVersion = XSD::QName.new(nil, "version")
1557
+
1558
+ attr_accessor :auth
1559
+ attr_accessor :cookie
1560
+ attr_accessor :target
1561
+ attr_accessor :origin
1562
+ attr_accessor :src
1563
+ attr_accessor :dst
1564
+ attr_accessor :session
1565
+
1566
+ def __xmlattr
1567
+ @__xmlattr ||= {}
1568
+ end
1569
+
1570
+ def xmlattr_version
1571
+ __xmlattr[AttrVersion]
1572
+ end
1573
+
1574
+ def xmlattr_version=(value)
1575
+ __xmlattr[AttrVersion] = value
1576
+ end
1577
+
1578
+ def xmlattr_id
1579
+ __xmlattr[AttrId]
1580
+ end
1581
+
1582
+ def xmlattr_id=(value)
1583
+ __xmlattr[AttrId] = value
1584
+ end
1585
+
1586
+ def xmlattr_priority
1587
+ __xmlattr[AttrPriority]
1588
+ end
1589
+
1590
+ def xmlattr_priority=(value)
1591
+ __xmlattr[AttrPriority] = value
1592
+ end
1593
+
1594
+ def xmlattr_time
1595
+ __xmlattr[AttrC_Time]
1596
+ end
1597
+
1598
+ def xmlattr_time=(value)
1599
+ __xmlattr[AttrC_Time] = value
1600
+ end
1601
+
1602
+ def xmlattr_progress
1603
+ __xmlattr[AttrProgress]
1604
+ end
1605
+
1606
+ def xmlattr_progress=(value)
1607
+ __xmlattr[AttrProgress] = value
1608
+ end
1609
+
1610
+ def xmlattr_log
1611
+ __xmlattr[AttrLog]
1612
+ end
1613
+
1614
+ def xmlattr_log=(value)
1615
+ __xmlattr[AttrLog] = value
1616
+ end
1617
+
1618
+ def xmlattr_type
1619
+ __xmlattr[AttrType]
1620
+ end
1621
+
1622
+ def xmlattr_type=(value)
1623
+ __xmlattr[AttrType] = value
1624
+ end
1625
+
1626
+ def xmlattr_timeout
1627
+ __xmlattr[AttrTimeout]
1628
+ end
1629
+
1630
+ def xmlattr_timeout=(value)
1631
+ __xmlattr[AttrTimeout] = value
1632
+ end
1633
+
1634
+ def xmlattr_timeout_limit
1635
+ __xmlattr[AttrTimeout_limit]
1636
+ end
1637
+
1638
+ def xmlattr_timeout_limit=(value)
1639
+ __xmlattr[AttrTimeout_limit] = value
1640
+ end
1641
+
1642
+ def xmlattr_uid
1643
+ __xmlattr[AttrUid]
1644
+ end
1645
+
1646
+ def xmlattr_uid=(value)
1647
+ __xmlattr[AttrUid] = value
1648
+ end
1649
+
1650
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil)
1651
+ @auth = auth
1652
+ @cookie = cookie
1653
+ @target = target
1654
+ @origin = origin
1655
+ @src = src
1656
+ @dst = dst
1657
+ @session = session
1658
+ @__xmlattr = {}
1659
+ end
1660
+ end
1661
+
1662
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operatorType
1663
+ # configuration - Virtuozzo::SOAP::Types::Mailer::ConfigurationType
1664
+ class OperatorType
1665
+ attr_accessor :configuration
1666
+
1667
+ def initialize(configuration = nil)
1668
+ @configuration = configuration
1669
+ end
1670
+ end
1671
+
1672
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_functionalType
1673
+ # configuration - Virtuozzo::SOAP::Types::Mailer::ConfigurationType
1674
+ # ok - Virtuozzo::SOAP::Types::Mailer::Operator_functionalType::Ok
1675
+ # error - Virtuozzo::SOAP::Types::Mailer::Operator_functionalType::Error
1676
+ class Operator_functionalType < OperatorType
1677
+
1678
+ # inner class for member: ok
1679
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1680
+ class Ok
1681
+ def initialize
1682
+ end
1683
+ end
1684
+
1685
+ # inner class for member: error
1686
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1687
+ # code - SOAP::SOAPInt
1688
+ # message - SOAP::SOAPString
1689
+ class Error
1690
+ attr_accessor :code
1691
+ attr_accessor :message
1692
+
1693
+ def initialize(code = nil, message = nil)
1694
+ @code = code
1695
+ @message = message
1696
+ end
1697
+ end
1698
+
1699
+ attr_accessor :configuration
1700
+ attr_accessor :ok
1701
+ attr_accessor :error
1702
+
1703
+ def initialize(configuration = nil, ok = [], error = [])
1704
+ @configuration = configuration
1705
+ @ok = ok
1706
+ @error = error
1707
+ end
1708
+ end
1709
+
1710
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}mailerType
1711
+ # configuration - Virtuozzo::SOAP::Types::Mailer::ConfigurationType
1712
+ # ok - Virtuozzo::SOAP::Types::Mailer::MailerType::Ok
1713
+ # error - Virtuozzo::SOAP::Types::Mailer::MailerType::Error
1714
+ # mail_template_list - Virtuozzo::SOAP::Types::Mailer::Mail_template_list
1715
+ # get_mail_template - Virtuozzo::SOAP::Types::Mailer::Get_mail_template
1716
+ # set_mail_template - Virtuozzo::SOAP::Types::Mailer::Set_mail_template
1717
+ # remove_mail_template - Virtuozzo::SOAP::Types::Mailer::Remove_mail_template
1718
+ # set_relay - Virtuozzo::SOAP::Types::Mailer::Set_relay
1719
+ # get_relay - Virtuozzo::SOAP::Types::Mailer::Get_relay
1720
+ # get_config - Virtuozzo::SOAP::Types::Mailer::Get_config
1721
+ # set_config - Virtuozzo::SOAP::Types::Mailer::Set_config
1722
+ # post - Virtuozzo::SOAP::Types::Mailer::Post
1723
+ # relay - (any)
1724
+ # mail_tempate_list - Virtuozzo::SOAP::Types::Mailer::Mail_tempate_list
1725
+ # mail_template - Virtuozzo::SOAP::Types::Mailer::Mail_template
1726
+ # config - Virtuozzo::SOAP::Types::Mailer::Config
1727
+ class MailerType < Operator_functionalType
1728
+
1729
+ # inner class for member: ok
1730
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1731
+ class Ok
1732
+ def initialize
1733
+ end
1734
+ end
1735
+
1736
+ # inner class for member: error
1737
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1738
+ # code - SOAP::SOAPInt
1739
+ # message - SOAP::SOAPString
1740
+ class Error
1741
+ attr_accessor :code
1742
+ attr_accessor :message
1743
+
1744
+ def initialize(code = nil, message = nil)
1745
+ @code = code
1746
+ @message = message
1747
+ end
1748
+ end
1749
+
1750
+ attr_accessor :configuration
1751
+ attr_accessor :ok
1752
+ attr_accessor :error
1753
+ attr_accessor :mail_template_list
1754
+ attr_accessor :get_mail_template
1755
+ attr_accessor :set_mail_template
1756
+ attr_accessor :remove_mail_template
1757
+ attr_accessor :set_relay
1758
+ attr_accessor :get_relay
1759
+ attr_accessor :get_config
1760
+ attr_accessor :set_config
1761
+ attr_accessor :post
1762
+ attr_accessor :relay
1763
+ attr_accessor :mail_tempate_list
1764
+ attr_accessor :mail_template
1765
+ attr_accessor :config
1766
+
1767
+ def initialize(configuration = nil, ok = [], error = [], mail_template_list = [], get_mail_template = [], set_mail_template = [], remove_mail_template = [], set_relay = [], get_relay = [], get_config = [], set_config = [], post = [], relay = [], mail_tempate_list = [], mail_template = [], config = [])
1768
+ @configuration = configuration
1769
+ @ok = ok
1770
+ @error = error
1771
+ @mail_template_list = mail_template_list
1772
+ @get_mail_template = get_mail_template
1773
+ @set_mail_template = set_mail_template
1774
+ @remove_mail_template = remove_mail_template
1775
+ @set_relay = set_relay
1776
+ @get_relay = get_relay
1777
+ @get_config = get_config
1778
+ @set_config = set_config
1779
+ @post = post
1780
+ @relay = relay
1781
+ @mail_tempate_list = mail_tempate_list
1782
+ @mail_template = mail_template
1783
+ @config = config
1784
+ end
1785
+ end
1786
+
1787
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_periodicType
1788
+ # configuration - Virtuozzo::SOAP::Types::Mailer::ConfigurationType
1789
+ # ok - Virtuozzo::SOAP::Types::Mailer::Operator_periodicType::Ok
1790
+ # error - Virtuozzo::SOAP::Types::Mailer::Operator_periodicType::Error
1791
+ # start_monitor - Virtuozzo::SOAP::Types::Mailer::Start_monitorType
1792
+ # stop_monitor - Virtuozzo::SOAP::Types::Mailer::Stop_monitorType
1793
+ # set_period - Virtuozzo::SOAP::Types::Mailer::Set_periodType
1794
+ # report - (any)
1795
+ class Operator_periodicType < Operator_functionalType
1796
+
1797
+ # inner class for member: ok
1798
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1799
+ class Ok
1800
+ def initialize
1801
+ end
1802
+ end
1803
+
1804
+ # inner class for member: error
1805
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1806
+ # code - SOAP::SOAPInt
1807
+ # message - SOAP::SOAPString
1808
+ class Error
1809
+ attr_accessor :code
1810
+ attr_accessor :message
1811
+
1812
+ def initialize(code = nil, message = nil)
1813
+ @code = code
1814
+ @message = message
1815
+ end
1816
+ end
1817
+
1818
+ attr_accessor :configuration
1819
+ attr_accessor :ok
1820
+ attr_accessor :error
1821
+ attr_accessor :start_monitor
1822
+ attr_accessor :stop_monitor
1823
+ attr_accessor :set_period
1824
+ attr_accessor :report
1825
+
1826
+ def initialize(configuration = nil, ok = [], error = [], start_monitor = nil, stop_monitor = nil, set_period = nil, report = nil)
1827
+ @configuration = configuration
1828
+ @ok = ok
1829
+ @error = error
1830
+ @start_monitor = start_monitor
1831
+ @stop_monitor = stop_monitor
1832
+ @set_period = set_period
1833
+ @report = report
1834
+ end
1835
+ end
1836
+
1837
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}set_periodType
1838
+ # collect - SOAP::SOAPInt
1839
+ # log - SOAP::SOAPInt
1840
+ # report - SOAP::SOAPInt
1841
+ class Set_periodType
1842
+ attr_accessor :collect
1843
+ attr_accessor :log
1844
+ attr_accessor :report
1845
+
1846
+ def initialize(collect = nil, log = nil, report = nil)
1847
+ @collect = collect
1848
+ @log = log
1849
+ @report = report
1850
+ end
1851
+ end
1852
+
1853
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}start_monitorType
1854
+ # period - SOAP::SOAPInt
1855
+ class Start_monitorType
1856
+ attr_accessor :period
1857
+ attr_reader :__xmlele_any
1858
+
1859
+ def set_any(elements)
1860
+ @__xmlele_any = elements
1861
+ end
1862
+
1863
+ def initialize(period = nil)
1864
+ @period = period
1865
+ @__xmlele_any = nil
1866
+ end
1867
+ end
1868
+
1869
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}stop_monitorType
1870
+ class Stop_monitorType
1871
+ attr_reader :__xmlele_any
1872
+
1873
+ def set_any(elements)
1874
+ @__xmlele_any = elements
1875
+ end
1876
+
1877
+ def initialize
1878
+ @__xmlele_any = nil
1879
+ end
1880
+ end
1881
+
1882
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}authType
1883
+ class AuthType
1884
+ attr_reader :__xmlele_any
1885
+
1886
+ def set_any(elements)
1887
+ @__xmlele_any = elements
1888
+ end
1889
+
1890
+ def initialize
1891
+ @__xmlele_any = nil
1892
+ end
1893
+ end
1894
+
1895
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}routeType
1896
+ # director - SOAP::SOAPString
1897
+ # host - SOAP::SOAPString
1898
+ # index - SOAP::SOAPString
1899
+ # target - SOAP::SOAPString
1900
+ class RouteType
1901
+ attr_accessor :director
1902
+ attr_accessor :host
1903
+ attr_accessor :index
1904
+ attr_accessor :target
1905
+
1906
+ def initialize(director = nil, host = nil, index = nil, target = nil)
1907
+ @director = director
1908
+ @host = host
1909
+ @index = index
1910
+ @target = target
1911
+ end
1912
+ end
1913
+
1914
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}dataType
1915
+ class DataType < ::Array
1916
+ end
1917
+
1918
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}configurationType
1919
+ class ConfigurationType
1920
+ def initialize
1921
+ end
1922
+ end
1923
+
1924
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}event_configurationType
1925
+ # period - SOAP::SOAPInt
1926
+ class Event_configurationType < ConfigurationType
1927
+ attr_accessor :period
1928
+
1929
+ def initialize(period = nil)
1930
+ @period = period
1931
+ end
1932
+ end
1933
+
1934
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}periodic_configurationType
1935
+ # log_priority - SOAP::SOAPInt
1936
+ # monitor_priority - SOAP::SOAPInt
1937
+ # min_monitor_period - SOAP::SOAPInt
1938
+ # min_monitor_period_root - SOAP::SOAPInt
1939
+ class Periodic_configurationType < ConfigurationType
1940
+ attr_accessor :log_priority
1941
+ attr_accessor :monitor_priority
1942
+ attr_accessor :min_monitor_period
1943
+ attr_accessor :min_monitor_period_root
1944
+
1945
+ def initialize(log_priority = nil, monitor_priority = nil, min_monitor_period = nil, min_monitor_period_root = nil)
1946
+ @log_priority = log_priority
1947
+ @monitor_priority = monitor_priority
1948
+ @min_monitor_period = min_monitor_period
1949
+ @min_monitor_period_root = min_monitor_period_root
1950
+ end
1951
+ end
1952
+
1953
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transport_type
1954
+ class Transport_type < ::String
1955
+ Tcp = Transport_type.new("tcp")
1956
+ Udp = Transport_type.new("udp")
1957
+ end
1958
+
1959
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}yes_no_type
1960
+ class Yes_no_type < ::String
1961
+ No = Yes_no_type.new("no")
1962
+ Yes = Yes_no_type.new("yes")
1963
+ end
1964
+
1965
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}mail_template_list
1966
+ class Mail_template_list < ::String
1967
+ def initialize(*arg)
1968
+ super
1969
+ end
1970
+ end
1971
+
1972
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}get_mail_template
1973
+ # name - SOAP::SOAPString
1974
+ class Get_mail_template
1975
+ attr_accessor :name
1976
+
1977
+ def initialize(name = nil)
1978
+ @name = name
1979
+ end
1980
+ end
1981
+
1982
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}set_mail_template
1983
+ # name - SOAP::SOAPString
1984
+ # body - SOAP::SOAPBase64
1985
+ class Set_mail_template
1986
+ attr_accessor :name
1987
+ attr_accessor :body
1988
+
1989
+ def initialize(name = nil, body = nil)
1990
+ @name = name
1991
+ @body = body
1992
+ end
1993
+ end
1994
+
1995
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}remove_mail_template
1996
+ # name - SOAP::SOAPString
1997
+ class Remove_mail_template
1998
+ attr_accessor :name
1999
+
2000
+ def initialize(name = nil)
2001
+ @name = name
2002
+ end
2003
+ end
2004
+
2005
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}set_relay
2006
+ # relay - (any)
2007
+ class Set_relay
2008
+ attr_accessor :relay
2009
+
2010
+ def initialize(relay = nil)
2011
+ @relay = relay
2012
+ end
2013
+ end
2014
+
2015
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}get_relay
2016
+ class Get_relay
2017
+ def initialize
2018
+ end
2019
+ end
2020
+
2021
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}get_config
2022
+ class Get_config < ::String
2023
+ def initialize(*arg)
2024
+ super
2025
+ end
2026
+ end
2027
+
2028
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}set_config
2029
+ # config - Virtuozzo::SOAP::Types::Mailer::Config
2030
+ class Set_config
2031
+ attr_accessor :config
2032
+
2033
+ def initialize(config = nil)
2034
+ @config = config
2035
+ end
2036
+ end
2037
+
2038
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}config
2039
+ # notify - (any)
2040
+ # accounts - Virtuozzo::SOAP::Types::Mailer::Config::Accounts
2041
+ class Config
2042
+
2043
+ # inner class for member: accounts
2044
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}accounts
2045
+ # admin - Virtuozzo::SOAP::Types::Mailer::MailAccountInfo
2046
+ # system - Virtuozzo::SOAP::Types::Mailer::MailAccountInfo
2047
+ class Accounts
2048
+ attr_accessor :admin
2049
+ attr_accessor :system
2050
+
2051
+ def initialize(admin = nil, system = nil)
2052
+ @admin = admin
2053
+ @system = system
2054
+ end
2055
+ end
2056
+
2057
+ attr_accessor :notify
2058
+ attr_accessor :accounts
2059
+
2060
+ def initialize(notify = nil, accounts = nil)
2061
+ @notify = notify
2062
+ @accounts = accounts
2063
+ end
2064
+ end
2065
+
2066
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}post
2067
+ # message - SOAP::SOAPBase64
2068
+ class Post
2069
+ attr_accessor :message
2070
+
2071
+ def initialize(message = nil)
2072
+ @message = message
2073
+ end
2074
+ end
2075
+
2076
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}mail_tempate_list
2077
+ class Mail_tempate_list < ::Array
2078
+ end
2079
+
2080
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}mail_template
2081
+ # name - SOAP::SOAPString
2082
+ # body - SOAP::SOAPBase64
2083
+ # read_only - (any)
2084
+ class Mail_template
2085
+ attr_accessor :name
2086
+ attr_accessor :body
2087
+ attr_accessor :read_only
2088
+
2089
+ def initialize(name = nil, body = nil, read_only = nil)
2090
+ @name = name
2091
+ @body = body
2092
+ @read_only = read_only
2093
+ end
2094
+ end
2095
+
2096
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}mail_template_listResponse
2097
+ # mail_tempate_list - Virtuozzo::SOAP::Types::Mailer::Mail_tempate_list
2098
+ class Mail_template_listResponse
2099
+ attr_accessor :mail_tempate_list
2100
+
2101
+ def initialize(mail_tempate_list = nil)
2102
+ @mail_tempate_list = mail_tempate_list
2103
+ end
2104
+ end
2105
+
2106
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}get_mail_templateResponse
2107
+ class Get_mail_templateResponse < ::Array
2108
+ end
2109
+
2110
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}set_mail_templateResponse
2111
+ class Set_mail_templateResponse
2112
+ def initialize
2113
+ end
2114
+ end
2115
+
2116
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}remove_mail_templateResponse
2117
+ class Remove_mail_templateResponse
2118
+ def initialize
2119
+ end
2120
+ end
2121
+
2122
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}set_relayResponse
2123
+ class Set_relayResponse
2124
+ def initialize
2125
+ end
2126
+ end
2127
+
2128
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}get_relayResponse
2129
+ # relay - (any)
2130
+ class Get_relayResponse
2131
+ attr_accessor :relay
2132
+
2133
+ def initialize(relay = nil)
2134
+ @relay = relay
2135
+ end
2136
+ end
2137
+
2138
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}set_configResponse
2139
+ class Set_configResponse
2140
+ def initialize
2141
+ end
2142
+ end
2143
+
2144
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}get_configResponse
2145
+ # config - Virtuozzo::SOAP::Types::Mailer::Config
2146
+ class Get_configResponse
2147
+ attr_accessor :config
2148
+
2149
+ def initialize(config = nil)
2150
+ @config = config
2151
+ end
2152
+ end
2153
+
2154
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/mailer}postResponse
2155
+ class PostResponse
2156
+ def initialize
2157
+ end
2158
+ end
2159
+
2160
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ok
2161
+ class Ok < ::String
2162
+ def initialize(*arg)
2163
+ super
2164
+ end
2165
+ end
2166
+
2167
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet
2168
+ # auth - Virtuozzo::SOAP::Types::Mailer::AuthType
2169
+ # cookie - SOAP::SOAPString
2170
+ # target - SOAP::SOAPString
2171
+ # origin - SOAP::SOAPString
2172
+ # src - Virtuozzo::SOAP::Types::Mailer::RouteType
2173
+ # dst - Virtuozzo::SOAP::Types::Mailer::RouteType
2174
+ # session - SOAP::SOAPString
2175
+ # data - Virtuozzo::SOAP::Types::Mailer::Packet::C_Data
2176
+ # xmlattr_version - SOAP::SOAPString
2177
+ # xmlattr_id - SOAP::SOAPString
2178
+ # xmlattr_priority - SOAP::SOAPString
2179
+ # xmlattr_time - SOAP::SOAPString
2180
+ # xmlattr_progress - SOAP::SOAPString
2181
+ # xmlattr_log - SOAP::SOAPString
2182
+ # xmlattr_type - SOAP::SOAPInt
2183
+ # xmlattr_timeout - SOAP::SOAPInt
2184
+ # xmlattr_timeout_limit - SOAP::SOAPInt
2185
+ # xmlattr_uid - SOAP::SOAPInt
2186
+ class Packet < Packet_headerType
2187
+ AttrC_Time = XSD::QName.new(nil, "time")
2188
+ AttrId = XSD::QName.new(nil, "id")
2189
+ AttrLog = XSD::QName.new(nil, "log")
2190
+ AttrPriority = XSD::QName.new(nil, "priority")
2191
+ AttrProgress = XSD::QName.new(nil, "progress")
2192
+ AttrTimeout = XSD::QName.new(nil, "timeout")
2193
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
2194
+ AttrType = XSD::QName.new(nil, "type")
2195
+ AttrUid = XSD::QName.new(nil, "uid")
2196
+ AttrVersion = XSD::QName.new(nil, "version")
2197
+
2198
+ # inner class for member: data
2199
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}data
2200
+ class C_Data < ::Array
2201
+ end
2202
+
2203
+ attr_accessor :auth
2204
+ attr_accessor :cookie
2205
+ attr_accessor :target
2206
+ attr_accessor :origin
2207
+ attr_accessor :src
2208
+ attr_accessor :dst
2209
+ attr_accessor :session
2210
+ attr_accessor :data
2211
+
2212
+ def __xmlattr
2213
+ @__xmlattr ||= {}
2214
+ end
2215
+
2216
+ def xmlattr_version
2217
+ __xmlattr[AttrVersion]
2218
+ end
2219
+
2220
+ def xmlattr_version=(value)
2221
+ __xmlattr[AttrVersion] = value
2222
+ end
2223
+
2224
+ def xmlattr_id
2225
+ __xmlattr[AttrId]
2226
+ end
2227
+
2228
+ def xmlattr_id=(value)
2229
+ __xmlattr[AttrId] = value
2230
+ end
2231
+
2232
+ def xmlattr_priority
2233
+ __xmlattr[AttrPriority]
2234
+ end
2235
+
2236
+ def xmlattr_priority=(value)
2237
+ __xmlattr[AttrPriority] = value
2238
+ end
2239
+
2240
+ def xmlattr_time
2241
+ __xmlattr[AttrC_Time]
2242
+ end
2243
+
2244
+ def xmlattr_time=(value)
2245
+ __xmlattr[AttrC_Time] = value
2246
+ end
2247
+
2248
+ def xmlattr_progress
2249
+ __xmlattr[AttrProgress]
2250
+ end
2251
+
2252
+ def xmlattr_progress=(value)
2253
+ __xmlattr[AttrProgress] = value
2254
+ end
2255
+
2256
+ def xmlattr_log
2257
+ __xmlattr[AttrLog]
2258
+ end
2259
+
2260
+ def xmlattr_log=(value)
2261
+ __xmlattr[AttrLog] = value
2262
+ end
2263
+
2264
+ def xmlattr_type
2265
+ __xmlattr[AttrType]
2266
+ end
2267
+
2268
+ def xmlattr_type=(value)
2269
+ __xmlattr[AttrType] = value
2270
+ end
2271
+
2272
+ def xmlattr_timeout
2273
+ __xmlattr[AttrTimeout]
2274
+ end
2275
+
2276
+ def xmlattr_timeout=(value)
2277
+ __xmlattr[AttrTimeout] = value
2278
+ end
2279
+
2280
+ def xmlattr_timeout_limit
2281
+ __xmlattr[AttrTimeout_limit]
2282
+ end
2283
+
2284
+ def xmlattr_timeout_limit=(value)
2285
+ __xmlattr[AttrTimeout_limit] = value
2286
+ end
2287
+
2288
+ def xmlattr_uid
2289
+ __xmlattr[AttrUid]
2290
+ end
2291
+
2292
+ def xmlattr_uid=(value)
2293
+ __xmlattr[AttrUid] = value
2294
+ end
2295
+
2296
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil)
2297
+ @auth = auth
2298
+ @cookie = cookie
2299
+ @target = target
2300
+ @origin = origin
2301
+ @src = src
2302
+ @dst = dst
2303
+ @session = session
2304
+ @data = data
2305
+ @__xmlattr = {}
2306
+ end
2307
+ end
2308
+
2309
+ end
2310
+ end
2311
+ end