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,2125 @@
1
+ require 'xsd/qname'
2
+
3
+ module Virtuozzo
4
+ module SOAP
5
+ module Types
6
+ module EventLog
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::EventLog::Ip_addressType
65
+ # architecture - SOAP::SOAPString
66
+ # os - Virtuozzo::SOAP::Types::EventLog::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::EventLog::Ip_addressType
111
+ # architecture - SOAP::SOAPString
112
+ # os - Virtuozzo::SOAP::Types::EventLog::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::EventLog::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::EventLog::Env_statusType
164
+ # alert - SOAP::SOAPInt
165
+ # config - Virtuozzo::SOAP::Types::EventLog::Env_configType
166
+ # virtual_config - Virtuozzo::SOAP::Types::EventLog::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::EventLog::TransferType::Input
281
+ # output - Virtuozzo::SOAP::Types::EventLog::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::EventLog::System_nodeType::Address
323
+ # login - Virtuozzo::SOAP::Types::EventLog::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::EventLog::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::EventLog::Env_configType
473
+ # id - SOAP::SOAPString
474
+ # name - SOAP::SOAPString
475
+ # comment - SOAP::SOAPBase64
476
+ # vt_version - Virtuozzo::SOAP::Types::EventLog::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::EventLog::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::EventLog::Load_avgType
535
+ # processes - Virtuozzo::SOAP::Types::EventLog::ProcessesType
536
+ # cpu_load - Virtuozzo::SOAP::Types::EventLog::Cpu_loadType
537
+ # cpu_states - Virtuozzo::SOAP::Types::EventLog::Cpu_loadType
538
+ # users - SOAP::SOAPInt
539
+ # uptime - SOAP::SOAPLong
540
+ # memory - Virtuozzo::SOAP::Types::EventLog::Sys_infoType::Memory
541
+ # swap - Virtuozzo::SOAP::Types::EventLog::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::EventLog::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::EventLog::Load_avg_statsType::L1
644
+ # l2 - Virtuozzo::SOAP::Types::EventLog::Load_avg_statsType::L2
645
+ # l3 - Virtuozzo::SOAP::Types::EventLog::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::EventLog::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::EventLog::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::EventLog::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::EventLog::CredentialType
813
+ # objects - Virtuozzo::SOAP::Types::EventLog::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::EventLog::TokenType::Groups
839
+ # deny_only_sids - Virtuozzo::SOAP::Types::EventLog::TokenType::Deny_only_sids
840
+ # privileges - Virtuozzo::SOAP::Types::EventLog::TokenType::Privileges
841
+ # source - Virtuozzo::SOAP::Types::EventLog::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::EventLog::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::EventLog::UserType::Initial_group
971
+ # group - Virtuozzo::SOAP::Types::EventLog::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::EventLog::GroupType::User
1031
+ # member_group - Virtuozzo::SOAP::Types::EventLog::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::EventLog::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/types}named_listType
1113
+ # name - SOAP::SOAPString
1114
+ # value - SOAP::SOAPBase64
1115
+ class Named_listType
1116
+ attr_accessor :name
1117
+ attr_accessor :value
1118
+
1119
+ def initialize(name = nil, value = [])
1120
+ @name = name
1121
+ @value = value
1122
+ end
1123
+ end
1124
+
1125
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}modType
1126
+ # name - SOAP::SOAPString
1127
+ # value - SOAP::SOAPBase64
1128
+ # op - SOAP::SOAPInt
1129
+ class ModType < Named_listType
1130
+ attr_accessor :name
1131
+ attr_accessor :value
1132
+ attr_accessor :op
1133
+
1134
+ def initialize(name = nil, value = [], op = nil)
1135
+ @name = name
1136
+ @value = value
1137
+ @op = op
1138
+ end
1139
+ end
1140
+
1141
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}realmType
1142
+ # id - (any)
1143
+ # type - SOAP::SOAPInt
1144
+ # name - SOAP::SOAPString
1145
+ # builtin - (any)
1146
+ class RealmType
1147
+ attr_accessor :id
1148
+ attr_accessor :type
1149
+ attr_accessor :name
1150
+ attr_accessor :builtin
1151
+
1152
+ def initialize(id = nil, type = nil, name = nil, builtin = nil)
1153
+ @id = id
1154
+ @type = type
1155
+ @name = name
1156
+ @builtin = builtin
1157
+ end
1158
+ end
1159
+
1160
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}eventType
1161
+ # eid - (any)
1162
+ # time - (any)
1163
+ # source - SOAP::SOAPString
1164
+ # category - SOAP::SOAPString
1165
+ # sid - (any)
1166
+ # count - SOAP::SOAPInt
1167
+ # id - (any)
1168
+ # info - Virtuozzo::SOAP::Types::EventLog::InfoType
1169
+ # data - Virtuozzo::SOAP::Types::EventLog::EventType::C_Data
1170
+ class EventType
1171
+
1172
+ # inner class for member: data
1173
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}data
1174
+ # event_data - Virtuozzo::SOAP::Types::EventLog::Event_dataType
1175
+ class C_Data
1176
+ attr_accessor :event_data
1177
+
1178
+ def initialize(event_data = nil)
1179
+ @event_data = event_data
1180
+ end
1181
+ end
1182
+
1183
+ attr_accessor :eid
1184
+ attr_accessor :time
1185
+ attr_accessor :source
1186
+ attr_accessor :category
1187
+ attr_accessor :sid
1188
+ attr_accessor :count
1189
+ attr_accessor :id
1190
+ attr_accessor :info
1191
+ attr_accessor :data
1192
+
1193
+ def initialize(eid = nil, time = nil, source = nil, category = nil, sid = nil, count = nil, id = nil, info = nil, data = nil)
1194
+ @eid = eid
1195
+ @time = time
1196
+ @source = source
1197
+ @category = category
1198
+ @sid = sid
1199
+ @count = count
1200
+ @id = id
1201
+ @info = info
1202
+ @data = data
1203
+ end
1204
+ end
1205
+
1206
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}infoType
1207
+ # message - SOAP::SOAPBase64
1208
+ # translate - (any)
1209
+ # parameter - Virtuozzo::SOAP::Types::EventLog::InfoType
1210
+ # name - SOAP::SOAPString
1211
+ class InfoType
1212
+ attr_accessor :message
1213
+ attr_accessor :translate
1214
+ attr_accessor :parameter
1215
+ attr_accessor :name
1216
+
1217
+ def initialize(message = nil, translate = nil, parameter = [], name = nil)
1218
+ @message = message
1219
+ @translate = translate
1220
+ @parameter = parameter
1221
+ @name = name
1222
+ end
1223
+ end
1224
+
1225
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}aceType
1226
+ # type - SOAP::SOAPInt
1227
+ # sid - (any)
1228
+ # rights - SOAP::SOAPBase64
1229
+ class AceType
1230
+ attr_accessor :type
1231
+ attr_accessor :sid
1232
+ attr_accessor :rights
1233
+
1234
+ def initialize(type = nil, sid = nil, rights = nil)
1235
+ @type = type
1236
+ @sid = sid
1237
+ @rights = rights
1238
+ end
1239
+ end
1240
+
1241
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_descriptorType
1242
+ # owner - (any)
1243
+ # group - (any)
1244
+ # dacl - Virtuozzo::SOAP::Types::EventLog::Security_descriptorType::Dacl
1245
+ class Security_descriptorType
1246
+
1247
+ # inner class for member: dacl
1248
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}dacl
1249
+ class Dacl < ::Array
1250
+ end
1251
+
1252
+ attr_accessor :owner
1253
+ attr_accessor :group
1254
+ attr_accessor :dacl
1255
+
1256
+ def initialize(owner = nil, group = nil, dacl = nil)
1257
+ @owner = owner
1258
+ @group = group
1259
+ @dacl = dacl
1260
+ end
1261
+ end
1262
+
1263
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_objectType
1264
+ # abstract
1265
+ class Security_objectType
1266
+ def initialize
1267
+ end
1268
+ end
1269
+
1270
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_security_objectType
1271
+ # eid - (any)
1272
+ class Env_security_objectType < Security_objectType
1273
+ attr_accessor :eid
1274
+
1275
+ def initialize(eid = nil)
1276
+ @eid = eid
1277
+ end
1278
+ end
1279
+
1280
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_deviceType
1281
+ # id - SOAP::SOAPString
1282
+ # ip_address - Virtuozzo::SOAP::Types::EventLog::Ip_addressType
1283
+ # dhcp - (any)
1284
+ # network_id - SOAP::SOAPBase64
1285
+ # status - Virtuozzo::SOAP::Types::EventLog::Net_deviceType::Status
1286
+ class Net_deviceType
1287
+
1288
+ # inner class for member: status
1289
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
1290
+ # up - (any)
1291
+ # down - (any)
1292
+ class Status
1293
+ attr_accessor :up
1294
+ attr_accessor :down
1295
+
1296
+ def initialize(up = nil, down = nil)
1297
+ @up = up
1298
+ @down = down
1299
+ end
1300
+ end
1301
+
1302
+ attr_accessor :id
1303
+ attr_accessor :ip_address
1304
+ attr_accessor :dhcp
1305
+ attr_accessor :network_id
1306
+ attr_accessor :status
1307
+
1308
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil)
1309
+ @id = id
1310
+ @ip_address = ip_address
1311
+ @dhcp = dhcp
1312
+ @network_id = network_id
1313
+ @status = status
1314
+ end
1315
+ end
1316
+
1317
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_nicType
1318
+ # id - SOAP::SOAPString
1319
+ # ip_address - Virtuozzo::SOAP::Types::EventLog::Ip_addressType
1320
+ # dhcp - (any)
1321
+ # network_id - SOAP::SOAPBase64
1322
+ # status - Virtuozzo::SOAP::Types::EventLog::Net_nicType::Status
1323
+ # mac_address - SOAP::SOAPString
1324
+ class Net_nicType < Net_deviceType
1325
+
1326
+ # inner class for member: status
1327
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
1328
+ # up - (any)
1329
+ # down - (any)
1330
+ class Status
1331
+ attr_accessor :up
1332
+ attr_accessor :down
1333
+
1334
+ def initialize(up = nil, down = nil)
1335
+ @up = up
1336
+ @down = down
1337
+ end
1338
+ end
1339
+
1340
+ attr_accessor :id
1341
+ attr_accessor :ip_address
1342
+ attr_accessor :dhcp
1343
+ attr_accessor :network_id
1344
+ attr_accessor :status
1345
+ attr_accessor :mac_address
1346
+
1347
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil)
1348
+ @id = id
1349
+ @ip_address = ip_address
1350
+ @dhcp = dhcp
1351
+ @network_id = network_id
1352
+ @status = status
1353
+ @mac_address = mac_address
1354
+ end
1355
+ end
1356
+
1357
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}voc_parameterType
1358
+ # id - SOAP::SOAPString
1359
+ # type - SOAP::SOAPString
1360
+ # min - SOAP::SOAPString
1361
+ # max - SOAP::SOAPString
1362
+ # long - SOAP::SOAPString
1363
+ # short - SOAP::SOAPString
1364
+ # category - SOAP::SOAPString
1365
+ # complex - SOAP::SOAPString
1366
+ # default - SOAP::SOAPString
1367
+ # measure - SOAP::SOAPString
1368
+ # data - (any)
1369
+ # name - (any)
1370
+ class Voc_parameterType
1371
+ attr_accessor :id
1372
+ attr_accessor :type
1373
+ attr_accessor :min
1374
+ attr_accessor :max
1375
+ attr_accessor :long
1376
+ attr_accessor :short
1377
+ attr_accessor :category
1378
+ attr_accessor :complex
1379
+ attr_accessor :default
1380
+ attr_accessor :measure
1381
+ attr_accessor :data
1382
+ attr_accessor :name
1383
+
1384
+ 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)
1385
+ @id = id
1386
+ @type = type
1387
+ @min = min
1388
+ @max = max
1389
+ @long = long
1390
+ @short = short
1391
+ @category = category
1392
+ @complex = complex
1393
+ @default = default
1394
+ @measure = measure
1395
+ @data = data
1396
+ @name = name
1397
+ end
1398
+ end
1399
+
1400
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vocabularyType
1401
+ # name - SOAP::SOAPString
1402
+ # parameter - Virtuozzo::SOAP::Types::EventLog::Voc_parameterType
1403
+ # category - Virtuozzo::SOAP::Types::EventLog::Voc_parameterType
1404
+ class VocabularyType
1405
+ attr_accessor :name
1406
+ attr_accessor :parameter
1407
+ attr_accessor :category
1408
+
1409
+ def initialize(name = nil, parameter = [], category = [])
1410
+ @name = name
1411
+ @parameter = parameter
1412
+ @category = category
1413
+ end
1414
+ end
1415
+
1416
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_statType
1417
+ # cur - SOAP::SOAPAnySimpleType
1418
+ # avg - SOAP::SOAPAnySimpleType
1419
+ # max - SOAP::SOAPAnySimpleType
1420
+ # min - SOAP::SOAPAnySimpleType
1421
+ class Perf_statType
1422
+ attr_accessor :cur
1423
+ attr_accessor :avg
1424
+ attr_accessor :max
1425
+ attr_accessor :min
1426
+
1427
+ def initialize(cur = nil, avg = nil, max = nil, min = nil)
1428
+ @cur = cur
1429
+ @avg = avg
1430
+ @max = max
1431
+ @min = min
1432
+ end
1433
+ end
1434
+
1435
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_dataType
1436
+ # eid - (any)
1437
+ # m_class - Virtuozzo::SOAP::Types::EventLog::Perf_dataType::C_Class
1438
+ # interval - Virtuozzo::SOAP::Types::EventLog::IntervalType
1439
+ class Perf_dataType
1440
+
1441
+ # inner class for member: class
1442
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}class
1443
+ # name - SOAP::SOAPString
1444
+ # instance - Virtuozzo::SOAP::Types::EventLog::Perf_dataType::C_Class::Instance
1445
+ class C_Class
1446
+
1447
+ # inner class for member: instance
1448
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}instance
1449
+ # name - SOAP::SOAPString
1450
+ # counter - Virtuozzo::SOAP::Types::EventLog::Perf_dataType::C_Class::Instance::Counter
1451
+ class Instance
1452
+
1453
+ # inner class for member: counter
1454
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}counter
1455
+ # name - SOAP::SOAPString
1456
+ # value - Virtuozzo::SOAP::Types::EventLog::Perf_statType
1457
+ class Counter
1458
+ attr_accessor :name
1459
+ attr_accessor :value
1460
+
1461
+ def initialize(name = nil, value = nil)
1462
+ @name = name
1463
+ @value = value
1464
+ end
1465
+ end
1466
+
1467
+ attr_accessor :name
1468
+ attr_accessor :counter
1469
+
1470
+ def initialize(name = nil, counter = [])
1471
+ @name = name
1472
+ @counter = counter
1473
+ end
1474
+ end
1475
+
1476
+ attr_accessor :name
1477
+ attr_accessor :instance
1478
+
1479
+ def initialize(name = nil, instance = [])
1480
+ @name = name
1481
+ @instance = instance
1482
+ end
1483
+ end
1484
+
1485
+ attr_accessor :eid
1486
+ attr_accessor :interval
1487
+
1488
+ def m_class
1489
+ @v_class
1490
+ end
1491
+
1492
+ def m_class=(value)
1493
+ @v_class = value
1494
+ end
1495
+
1496
+ def initialize(eid = nil, v_class = [], interval = nil)
1497
+ @eid = eid
1498
+ @v_class = v_class
1499
+ @interval = interval
1500
+ end
1501
+ end
1502
+
1503
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_options_baseType
1504
+ class Log_options_baseType
1505
+ def initialize
1506
+ end
1507
+ end
1508
+
1509
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_optionsType
1510
+ class Log_optionsType < Log_options_baseType
1511
+ def initialize
1512
+ end
1513
+ end
1514
+
1515
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet_headerType
1516
+ # auth - Virtuozzo::SOAP::Types::EventLog::AuthType
1517
+ # cookie - SOAP::SOAPString
1518
+ # target - SOAP::SOAPString
1519
+ # origin - SOAP::SOAPString
1520
+ # src - Virtuozzo::SOAP::Types::EventLog::RouteType
1521
+ # dst - Virtuozzo::SOAP::Types::EventLog::RouteType
1522
+ # session - SOAP::SOAPString
1523
+ # xmlattr_version - SOAP::SOAPString
1524
+ # xmlattr_id - SOAP::SOAPString
1525
+ # xmlattr_priority - SOAP::SOAPString
1526
+ # xmlattr_time - SOAP::SOAPString
1527
+ # xmlattr_progress - SOAP::SOAPString
1528
+ # xmlattr_log - SOAP::SOAPString
1529
+ # xmlattr_type - SOAP::SOAPInt
1530
+ # xmlattr_timeout - SOAP::SOAPInt
1531
+ # xmlattr_timeout_limit - SOAP::SOAPInt
1532
+ # xmlattr_uid - SOAP::SOAPInt
1533
+ class Packet_headerType
1534
+ AttrC_Time = XSD::QName.new(nil, "time")
1535
+ AttrId = XSD::QName.new(nil, "id")
1536
+ AttrLog = XSD::QName.new(nil, "log")
1537
+ AttrPriority = XSD::QName.new(nil, "priority")
1538
+ AttrProgress = XSD::QName.new(nil, "progress")
1539
+ AttrTimeout = XSD::QName.new(nil, "timeout")
1540
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
1541
+ AttrType = XSD::QName.new(nil, "type")
1542
+ AttrUid = XSD::QName.new(nil, "uid")
1543
+ AttrVersion = XSD::QName.new(nil, "version")
1544
+
1545
+ attr_accessor :auth
1546
+ attr_accessor :cookie
1547
+ attr_accessor :target
1548
+ attr_accessor :origin
1549
+ attr_accessor :src
1550
+ attr_accessor :dst
1551
+ attr_accessor :session
1552
+
1553
+ def __xmlattr
1554
+ @__xmlattr ||= {}
1555
+ end
1556
+
1557
+ def xmlattr_version
1558
+ __xmlattr[AttrVersion]
1559
+ end
1560
+
1561
+ def xmlattr_version=(value)
1562
+ __xmlattr[AttrVersion] = value
1563
+ end
1564
+
1565
+ def xmlattr_id
1566
+ __xmlattr[AttrId]
1567
+ end
1568
+
1569
+ def xmlattr_id=(value)
1570
+ __xmlattr[AttrId] = value
1571
+ end
1572
+
1573
+ def xmlattr_priority
1574
+ __xmlattr[AttrPriority]
1575
+ end
1576
+
1577
+ def xmlattr_priority=(value)
1578
+ __xmlattr[AttrPriority] = value
1579
+ end
1580
+
1581
+ def xmlattr_time
1582
+ __xmlattr[AttrC_Time]
1583
+ end
1584
+
1585
+ def xmlattr_time=(value)
1586
+ __xmlattr[AttrC_Time] = value
1587
+ end
1588
+
1589
+ def xmlattr_progress
1590
+ __xmlattr[AttrProgress]
1591
+ end
1592
+
1593
+ def xmlattr_progress=(value)
1594
+ __xmlattr[AttrProgress] = value
1595
+ end
1596
+
1597
+ def xmlattr_log
1598
+ __xmlattr[AttrLog]
1599
+ end
1600
+
1601
+ def xmlattr_log=(value)
1602
+ __xmlattr[AttrLog] = value
1603
+ end
1604
+
1605
+ def xmlattr_type
1606
+ __xmlattr[AttrType]
1607
+ end
1608
+
1609
+ def xmlattr_type=(value)
1610
+ __xmlattr[AttrType] = value
1611
+ end
1612
+
1613
+ def xmlattr_timeout
1614
+ __xmlattr[AttrTimeout]
1615
+ end
1616
+
1617
+ def xmlattr_timeout=(value)
1618
+ __xmlattr[AttrTimeout] = value
1619
+ end
1620
+
1621
+ def xmlattr_timeout_limit
1622
+ __xmlattr[AttrTimeout_limit]
1623
+ end
1624
+
1625
+ def xmlattr_timeout_limit=(value)
1626
+ __xmlattr[AttrTimeout_limit] = value
1627
+ end
1628
+
1629
+ def xmlattr_uid
1630
+ __xmlattr[AttrUid]
1631
+ end
1632
+
1633
+ def xmlattr_uid=(value)
1634
+ __xmlattr[AttrUid] = value
1635
+ end
1636
+
1637
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil)
1638
+ @auth = auth
1639
+ @cookie = cookie
1640
+ @target = target
1641
+ @origin = origin
1642
+ @src = src
1643
+ @dst = dst
1644
+ @session = session
1645
+ @__xmlattr = {}
1646
+ end
1647
+ end
1648
+
1649
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operatorType
1650
+ # configuration - Virtuozzo::SOAP::Types::EventLog::ConfigurationType
1651
+ class OperatorType
1652
+ attr_accessor :configuration
1653
+
1654
+ def initialize(configuration = nil)
1655
+ @configuration = configuration
1656
+ end
1657
+ end
1658
+
1659
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_functionalType
1660
+ # configuration - Virtuozzo::SOAP::Types::EventLog::ConfigurationType
1661
+ # ok - Virtuozzo::SOAP::Types::EventLog::Operator_functionalType::Ok
1662
+ # error - Virtuozzo::SOAP::Types::EventLog::Operator_functionalType::Error
1663
+ class Operator_functionalType < OperatorType
1664
+
1665
+ # inner class for member: ok
1666
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1667
+ class Ok
1668
+ def initialize
1669
+ end
1670
+ end
1671
+
1672
+ # inner class for member: error
1673
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1674
+ # code - SOAP::SOAPInt
1675
+ # message - SOAP::SOAPString
1676
+ class Error
1677
+ attr_accessor :code
1678
+ attr_accessor :message
1679
+
1680
+ def initialize(code = nil, message = nil)
1681
+ @code = code
1682
+ @message = message
1683
+ end
1684
+ end
1685
+
1686
+ attr_accessor :configuration
1687
+ attr_accessor :ok
1688
+ attr_accessor :error
1689
+
1690
+ def initialize(configuration = nil, ok = [], error = [])
1691
+ @configuration = configuration
1692
+ @ok = ok
1693
+ @error = error
1694
+ end
1695
+ end
1696
+
1697
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/event_log}event_logType
1698
+ # configuration - Virtuozzo::SOAP::Types::EventLog::ConfigurationType
1699
+ # ok - Virtuozzo::SOAP::Types::EventLog::Event_logType::Ok
1700
+ # error - Virtuozzo::SOAP::Types::EventLog::Event_logType::Error
1701
+ # get_events - Virtuozzo::SOAP::Types::EventLog::Get_events
1702
+ # event - Virtuozzo::SOAP::Types::EventLog::EventType
1703
+ class Event_logType < Operator_functionalType
1704
+
1705
+ # inner class for member: ok
1706
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1707
+ class Ok
1708
+ def initialize
1709
+ end
1710
+ end
1711
+
1712
+ # inner class for member: error
1713
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1714
+ # code - SOAP::SOAPInt
1715
+ # message - SOAP::SOAPString
1716
+ class Error
1717
+ attr_accessor :code
1718
+ attr_accessor :message
1719
+
1720
+ def initialize(code = nil, message = nil)
1721
+ @code = code
1722
+ @message = message
1723
+ end
1724
+ end
1725
+
1726
+ attr_accessor :configuration
1727
+ attr_accessor :ok
1728
+ attr_accessor :error
1729
+ attr_accessor :get_events
1730
+ attr_accessor :event
1731
+
1732
+ def initialize(configuration = nil, ok = [], error = [], get_events = [], event = [])
1733
+ @configuration = configuration
1734
+ @ok = ok
1735
+ @error = error
1736
+ @get_events = get_events
1737
+ @event = event
1738
+ end
1739
+ end
1740
+
1741
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_periodicType
1742
+ # configuration - Virtuozzo::SOAP::Types::EventLog::ConfigurationType
1743
+ # ok - Virtuozzo::SOAP::Types::EventLog::Operator_periodicType::Ok
1744
+ # error - Virtuozzo::SOAP::Types::EventLog::Operator_periodicType::Error
1745
+ # start_monitor - Virtuozzo::SOAP::Types::EventLog::Start_monitorType
1746
+ # stop_monitor - Virtuozzo::SOAP::Types::EventLog::Stop_monitorType
1747
+ # set_period - Virtuozzo::SOAP::Types::EventLog::Set_periodType
1748
+ # report - (any)
1749
+ class Operator_periodicType < Operator_functionalType
1750
+
1751
+ # inner class for member: ok
1752
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1753
+ class Ok
1754
+ def initialize
1755
+ end
1756
+ end
1757
+
1758
+ # inner class for member: error
1759
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1760
+ # code - SOAP::SOAPInt
1761
+ # message - SOAP::SOAPString
1762
+ class Error
1763
+ attr_accessor :code
1764
+ attr_accessor :message
1765
+
1766
+ def initialize(code = nil, message = nil)
1767
+ @code = code
1768
+ @message = message
1769
+ end
1770
+ end
1771
+
1772
+ attr_accessor :configuration
1773
+ attr_accessor :ok
1774
+ attr_accessor :error
1775
+ attr_accessor :start_monitor
1776
+ attr_accessor :stop_monitor
1777
+ attr_accessor :set_period
1778
+ attr_accessor :report
1779
+
1780
+ def initialize(configuration = nil, ok = [], error = [], start_monitor = nil, stop_monitor = nil, set_period = nil, report = nil)
1781
+ @configuration = configuration
1782
+ @ok = ok
1783
+ @error = error
1784
+ @start_monitor = start_monitor
1785
+ @stop_monitor = stop_monitor
1786
+ @set_period = set_period
1787
+ @report = report
1788
+ end
1789
+ end
1790
+
1791
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}set_periodType
1792
+ # collect - SOAP::SOAPInt
1793
+ # log - SOAP::SOAPInt
1794
+ # report - SOAP::SOAPInt
1795
+ class Set_periodType
1796
+ attr_accessor :collect
1797
+ attr_accessor :log
1798
+ attr_accessor :report
1799
+
1800
+ def initialize(collect = nil, log = nil, report = nil)
1801
+ @collect = collect
1802
+ @log = log
1803
+ @report = report
1804
+ end
1805
+ end
1806
+
1807
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}start_monitorType
1808
+ # period - SOAP::SOAPInt
1809
+ class Start_monitorType
1810
+ attr_accessor :period
1811
+ attr_reader :__xmlele_any
1812
+
1813
+ def set_any(elements)
1814
+ @__xmlele_any = elements
1815
+ end
1816
+
1817
+ def initialize(period = nil)
1818
+ @period = period
1819
+ @__xmlele_any = nil
1820
+ end
1821
+ end
1822
+
1823
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}stop_monitorType
1824
+ class Stop_monitorType
1825
+ attr_reader :__xmlele_any
1826
+
1827
+ def set_any(elements)
1828
+ @__xmlele_any = elements
1829
+ end
1830
+
1831
+ def initialize
1832
+ @__xmlele_any = nil
1833
+ end
1834
+ end
1835
+
1836
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}authType
1837
+ class AuthType
1838
+ attr_reader :__xmlele_any
1839
+
1840
+ def set_any(elements)
1841
+ @__xmlele_any = elements
1842
+ end
1843
+
1844
+ def initialize
1845
+ @__xmlele_any = nil
1846
+ end
1847
+ end
1848
+
1849
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}routeType
1850
+ # director - SOAP::SOAPString
1851
+ # host - SOAP::SOAPString
1852
+ # index - SOAP::SOAPString
1853
+ # target - SOAP::SOAPString
1854
+ class RouteType
1855
+ attr_accessor :director
1856
+ attr_accessor :host
1857
+ attr_accessor :index
1858
+ attr_accessor :target
1859
+
1860
+ def initialize(director = nil, host = nil, index = nil, target = nil)
1861
+ @director = director
1862
+ @host = host
1863
+ @index = index
1864
+ @target = target
1865
+ end
1866
+ end
1867
+
1868
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}dataType
1869
+ class DataType < ::Array
1870
+ end
1871
+
1872
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}configurationType
1873
+ class ConfigurationType
1874
+ def initialize
1875
+ end
1876
+ end
1877
+
1878
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/event_log}event_log_configurationType
1879
+ # events - SOAP::SOAPInt
1880
+ class Event_log_configurationType < ConfigurationType
1881
+ attr_accessor :events
1882
+
1883
+ def initialize(events = nil)
1884
+ @events = events
1885
+ end
1886
+ end
1887
+
1888
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}event_configurationType
1889
+ # period - SOAP::SOAPInt
1890
+ class Event_configurationType < ConfigurationType
1891
+ attr_accessor :period
1892
+
1893
+ def initialize(period = nil)
1894
+ @period = period
1895
+ end
1896
+ end
1897
+
1898
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}periodic_configurationType
1899
+ # log_priority - SOAP::SOAPInt
1900
+ # monitor_priority - SOAP::SOAPInt
1901
+ # min_monitor_period - SOAP::SOAPInt
1902
+ # min_monitor_period_root - SOAP::SOAPInt
1903
+ class Periodic_configurationType < ConfigurationType
1904
+ attr_accessor :log_priority
1905
+ attr_accessor :monitor_priority
1906
+ attr_accessor :min_monitor_period
1907
+ attr_accessor :min_monitor_period_root
1908
+
1909
+ def initialize(log_priority = nil, monitor_priority = nil, min_monitor_period = nil, min_monitor_period_root = nil)
1910
+ @log_priority = log_priority
1911
+ @monitor_priority = monitor_priority
1912
+ @min_monitor_period = min_monitor_period
1913
+ @min_monitor_period_root = min_monitor_period_root
1914
+ end
1915
+ end
1916
+
1917
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transport_type
1918
+ class Transport_type < ::String
1919
+ Tcp = Transport_type.new("tcp")
1920
+ Udp = Transport_type.new("udp")
1921
+ end
1922
+
1923
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}yes_no_type
1924
+ class Yes_no_type < ::String
1925
+ No = Yes_no_type.new("no")
1926
+ Yes = Yes_no_type.new("yes")
1927
+ end
1928
+
1929
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/event_log}get_events
1930
+ # eid - (any)
1931
+ # subject - (any)
1932
+ # start_time - (any)
1933
+ # end_time - (any)
1934
+ # records - SOAP::SOAPInt
1935
+ # sid - (any)
1936
+ # source - SOAP::SOAPString
1937
+ # category - SOAP::SOAPString
1938
+ # data - (any)
1939
+ class Get_events
1940
+ attr_accessor :eid
1941
+ attr_accessor :subject
1942
+ attr_accessor :start_time
1943
+ attr_accessor :end_time
1944
+ attr_accessor :records
1945
+ attr_accessor :sid
1946
+ attr_accessor :source
1947
+ attr_accessor :category
1948
+ attr_accessor :data
1949
+
1950
+ def initialize(eid = nil, subject = nil, start_time = nil, end_time = nil, records = nil, sid = nil, source = nil, category = nil, data = nil)
1951
+ @eid = eid
1952
+ @subject = subject
1953
+ @start_time = start_time
1954
+ @end_time = end_time
1955
+ @records = records
1956
+ @sid = sid
1957
+ @source = source
1958
+ @category = category
1959
+ @data = data
1960
+ end
1961
+ end
1962
+
1963
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/event_log}get_eventsResponse
1964
+ # event - Virtuozzo::SOAP::Types::EventLog::EventType
1965
+ class Get_eventsResponse
1966
+ attr_accessor :event
1967
+
1968
+ def initialize(event = nil)
1969
+ @event = event
1970
+ end
1971
+ end
1972
+
1973
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ok
1974
+ class Ok < ::String
1975
+ def initialize(*arg)
1976
+ super
1977
+ end
1978
+ end
1979
+
1980
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet
1981
+ # auth - Virtuozzo::SOAP::Types::EventLog::AuthType
1982
+ # cookie - SOAP::SOAPString
1983
+ # target - SOAP::SOAPString
1984
+ # origin - SOAP::SOAPString
1985
+ # src - Virtuozzo::SOAP::Types::EventLog::RouteType
1986
+ # dst - Virtuozzo::SOAP::Types::EventLog::RouteType
1987
+ # session - SOAP::SOAPString
1988
+ # data - Virtuozzo::SOAP::Types::EventLog::Packet::C_Data
1989
+ # xmlattr_version - SOAP::SOAPString
1990
+ # xmlattr_id - SOAP::SOAPString
1991
+ # xmlattr_priority - SOAP::SOAPString
1992
+ # xmlattr_time - SOAP::SOAPString
1993
+ # xmlattr_progress - SOAP::SOAPString
1994
+ # xmlattr_log - SOAP::SOAPString
1995
+ # xmlattr_type - SOAP::SOAPInt
1996
+ # xmlattr_timeout - SOAP::SOAPInt
1997
+ # xmlattr_timeout_limit - SOAP::SOAPInt
1998
+ # xmlattr_uid - SOAP::SOAPInt
1999
+ class Packet < Packet_headerType
2000
+ AttrC_Time = XSD::QName.new(nil, "time")
2001
+ AttrId = XSD::QName.new(nil, "id")
2002
+ AttrLog = XSD::QName.new(nil, "log")
2003
+ AttrPriority = XSD::QName.new(nil, "priority")
2004
+ AttrProgress = XSD::QName.new(nil, "progress")
2005
+ AttrTimeout = XSD::QName.new(nil, "timeout")
2006
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
2007
+ AttrType = XSD::QName.new(nil, "type")
2008
+ AttrUid = XSD::QName.new(nil, "uid")
2009
+ AttrVersion = XSD::QName.new(nil, "version")
2010
+
2011
+ # inner class for member: data
2012
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}data
2013
+ class C_Data < ::Array
2014
+ end
2015
+
2016
+ attr_accessor :auth
2017
+ attr_accessor :cookie
2018
+ attr_accessor :target
2019
+ attr_accessor :origin
2020
+ attr_accessor :src
2021
+ attr_accessor :dst
2022
+ attr_accessor :session
2023
+ attr_accessor :data
2024
+
2025
+ def __xmlattr
2026
+ @__xmlattr ||= {}
2027
+ end
2028
+
2029
+ def xmlattr_version
2030
+ __xmlattr[AttrVersion]
2031
+ end
2032
+
2033
+ def xmlattr_version=(value)
2034
+ __xmlattr[AttrVersion] = value
2035
+ end
2036
+
2037
+ def xmlattr_id
2038
+ __xmlattr[AttrId]
2039
+ end
2040
+
2041
+ def xmlattr_id=(value)
2042
+ __xmlattr[AttrId] = value
2043
+ end
2044
+
2045
+ def xmlattr_priority
2046
+ __xmlattr[AttrPriority]
2047
+ end
2048
+
2049
+ def xmlattr_priority=(value)
2050
+ __xmlattr[AttrPriority] = value
2051
+ end
2052
+
2053
+ def xmlattr_time
2054
+ __xmlattr[AttrC_Time]
2055
+ end
2056
+
2057
+ def xmlattr_time=(value)
2058
+ __xmlattr[AttrC_Time] = value
2059
+ end
2060
+
2061
+ def xmlattr_progress
2062
+ __xmlattr[AttrProgress]
2063
+ end
2064
+
2065
+ def xmlattr_progress=(value)
2066
+ __xmlattr[AttrProgress] = value
2067
+ end
2068
+
2069
+ def xmlattr_log
2070
+ __xmlattr[AttrLog]
2071
+ end
2072
+
2073
+ def xmlattr_log=(value)
2074
+ __xmlattr[AttrLog] = value
2075
+ end
2076
+
2077
+ def xmlattr_type
2078
+ __xmlattr[AttrType]
2079
+ end
2080
+
2081
+ def xmlattr_type=(value)
2082
+ __xmlattr[AttrType] = value
2083
+ end
2084
+
2085
+ def xmlattr_timeout
2086
+ __xmlattr[AttrTimeout]
2087
+ end
2088
+
2089
+ def xmlattr_timeout=(value)
2090
+ __xmlattr[AttrTimeout] = value
2091
+ end
2092
+
2093
+ def xmlattr_timeout_limit
2094
+ __xmlattr[AttrTimeout_limit]
2095
+ end
2096
+
2097
+ def xmlattr_timeout_limit=(value)
2098
+ __xmlattr[AttrTimeout_limit] = value
2099
+ end
2100
+
2101
+ def xmlattr_uid
2102
+ __xmlattr[AttrUid]
2103
+ end
2104
+
2105
+ def xmlattr_uid=(value)
2106
+ __xmlattr[AttrUid] = value
2107
+ end
2108
+
2109
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil)
2110
+ @auth = auth
2111
+ @cookie = cookie
2112
+ @target = target
2113
+ @origin = origin
2114
+ @src = src
2115
+ @dst = dst
2116
+ @session = session
2117
+ @data = data
2118
+ @__xmlattr = {}
2119
+ end
2120
+ end
2121
+
2122
+ end
2123
+ end
2124
+ end
2125
+ end