plainprograms-virtuozzo 0.5.3 → 0.6.0

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