plainprograms-virtuozzo 0.5.3 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. data/CHANGELOG.rdoc +21 -0
  2. data/Rakefile +3 -3
  3. data/TODO.rdoc +20 -0
  4. data/lib/virtuozzo/soap.rb +216 -0
  5. data/lib/virtuozzo/soap/drivers/alertm.rb +78 -0
  6. data/lib/virtuozzo/soap/drivers/authm.rb +172 -0
  7. data/lib/virtuozzo/soap/drivers/backupm.rb +108 -0
  8. data/lib/virtuozzo/soap/drivers/computerm.rb +108 -0
  9. data/lib/virtuozzo/soap/drivers/env_samplem.rb +84 -0
  10. data/lib/virtuozzo/soap/drivers/event_log.rb +60 -0
  11. data/lib/virtuozzo/soap/drivers/filer.rb +156 -0
  12. data/lib/virtuozzo/soap/drivers/firewallm.rb +100 -0
  13. data/lib/virtuozzo/soap/drivers/licensem.rb +100 -0
  14. data/lib/virtuozzo/soap/drivers/mailer.rb +108 -0
  15. data/lib/virtuozzo/soap/drivers/op_log.rb +60 -0
  16. data/lib/virtuozzo/soap/drivers/perf_mon.rb +76 -0
  17. data/lib/virtuozzo/soap/drivers/res_log.rb +84 -0
  18. data/lib/virtuozzo/soap/drivers/resourcem.rb +100 -0
  19. data/lib/virtuozzo/soap/drivers/scheduler.rb +84 -0
  20. data/lib/virtuozzo/soap/drivers/server_group.rb +140 -0
  21. data/lib/virtuozzo/soap/drivers/servicem.rb +100 -0
  22. data/lib/virtuozzo/soap/drivers/userm.rb +156 -0
  23. data/lib/virtuozzo/soap/mapping_registries/alertm.rb +2799 -0
  24. data/lib/virtuozzo/soap/mapping_registries/authm.rb +3292 -0
  25. data/lib/virtuozzo/soap/mapping_registries/backupm.rb +3597 -0
  26. data/lib/virtuozzo/soap/mapping_registries/computerm.rb +2896 -0
  27. data/lib/virtuozzo/soap/mapping_registries/env_samplem.rb +2735 -0
  28. data/lib/virtuozzo/soap/mapping_registries/event_log.rb +2695 -0
  29. data/lib/virtuozzo/soap/mapping_registries/filer.rb +3211 -0
  30. data/lib/virtuozzo/soap/mapping_registries/firewallm.rb +2815 -0
  31. data/lib/virtuozzo/soap/mapping_registries/licensem.rb +2889 -0
  32. data/lib/virtuozzo/soap/mapping_registries/mailer.rb +2831 -0
  33. data/lib/virtuozzo/soap/mapping_registries/op_log.rb +2724 -0
  34. data/lib/virtuozzo/soap/mapping_registries/perf_mon.rb +2798 -0
  35. data/lib/virtuozzo/soap/mapping_registries/res_log.rb +2946 -0
  36. data/lib/virtuozzo/soap/mapping_registries/resourcem.rb +2837 -0
  37. data/lib/virtuozzo/soap/mapping_registries/scheduler.rb +2928 -0
  38. data/lib/virtuozzo/soap/mapping_registries/server_group.rb +3161 -0
  39. data/lib/virtuozzo/soap/mapping_registries/servicem.rb +2949 -0
  40. data/lib/virtuozzo/soap/mapping_registries/userm.rb +3173 -0
  41. data/lib/virtuozzo/soap/types/alertm.rb +2233 -0
  42. data/lib/virtuozzo/soap/types/authm.rb +2655 -0
  43. data/lib/virtuozzo/soap/types/backupm.rb +2773 -0
  44. data/lib/virtuozzo/soap/types/computerm.rb +2334 -0
  45. data/lib/virtuozzo/soap/types/env_samplem.rb +2159 -0
  46. data/lib/virtuozzo/soap/types/event_log.rb +2125 -0
  47. data/lib/virtuozzo/soap/types/filer.rb +2807 -0
  48. data/lib/virtuozzo/soap/types/firewallm.rb +2225 -0
  49. data/lib/virtuozzo/soap/types/licensem.rb +2266 -0
  50. data/lib/virtuozzo/soap/types/mailer.rb +2311 -0
  51. data/lib/virtuozzo/soap/types/op_log.rb +2156 -0
  52. data/lib/virtuozzo/soap/types/perf_mon.rb +2258 -0
  53. data/lib/virtuozzo/soap/types/res_log.rb +2340 -0
  54. data/lib/virtuozzo/soap/types/resourcem.rb +2213 -0
  55. data/lib/virtuozzo/soap/types/scheduler.rb +2307 -0
  56. data/lib/virtuozzo/soap/types/server_group.rb +2467 -0
  57. data/lib/virtuozzo/soap/types/servicem.rb +2292 -0
  58. data/lib/virtuozzo/soap/types/userm.rb +2599 -0
  59. data/virtuozzo.gemspec +10 -10
  60. metadata +116 -6
@@ -0,0 +1,2156 @@
1
+ require 'xsd/qname'
2
+
3
+ module Virtuozzo
4
+ module SOAP
5
+ module Types
6
+ module OpLog
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::OpLog::Ip_addressType
65
+ # architecture - SOAP::SOAPString
66
+ # os - Virtuozzo::SOAP::Types::OpLog::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::OpLog::Ip_addressType
111
+ # architecture - SOAP::SOAPString
112
+ # os - Virtuozzo::SOAP::Types::OpLog::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::OpLog::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::OpLog::Env_statusType
164
+ # alert - SOAP::SOAPInt
165
+ # config - Virtuozzo::SOAP::Types::OpLog::Env_configType
166
+ # virtual_config - Virtuozzo::SOAP::Types::OpLog::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::OpLog::TransferType::Input
281
+ # output - Virtuozzo::SOAP::Types::OpLog::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::OpLog::System_nodeType::Address
323
+ # login - Virtuozzo::SOAP::Types::OpLog::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::OpLog::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::OpLog::Env_configType
473
+ # id - SOAP::SOAPString
474
+ # name - SOAP::SOAPString
475
+ # comment - SOAP::SOAPBase64
476
+ # vt_version - Virtuozzo::SOAP::Types::OpLog::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::OpLog::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::OpLog::Load_avgType
535
+ # processes - Virtuozzo::SOAP::Types::OpLog::ProcessesType
536
+ # cpu_load - Virtuozzo::SOAP::Types::OpLog::Cpu_loadType
537
+ # cpu_states - Virtuozzo::SOAP::Types::OpLog::Cpu_loadType
538
+ # users - SOAP::SOAPInt
539
+ # uptime - SOAP::SOAPLong
540
+ # memory - Virtuozzo::SOAP::Types::OpLog::Sys_infoType::Memory
541
+ # swap - Virtuozzo::SOAP::Types::OpLog::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::OpLog::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::OpLog::Load_avg_statsType::L1
644
+ # l2 - Virtuozzo::SOAP::Types::OpLog::Load_avg_statsType::L2
645
+ # l3 - Virtuozzo::SOAP::Types::OpLog::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::OpLog::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::OpLog::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::OpLog::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::OpLog::CredentialType
813
+ # objects - Virtuozzo::SOAP::Types::OpLog::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::OpLog::TokenType::Groups
839
+ # deny_only_sids - Virtuozzo::SOAP::Types::OpLog::TokenType::Deny_only_sids
840
+ # privileges - Virtuozzo::SOAP::Types::OpLog::TokenType::Privileges
841
+ # source - Virtuozzo::SOAP::Types::OpLog::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::OpLog::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::OpLog::UserType::Initial_group
971
+ # group - Virtuozzo::SOAP::Types::OpLog::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::OpLog::GroupType::User
1031
+ # member_group - Virtuozzo::SOAP::Types::OpLog::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::OpLog::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::OpLog::InfoType
1169
+ # data - Virtuozzo::SOAP::Types::OpLog::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::OpLog::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::OpLog::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::OpLog::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::OpLog::Ip_addressType
1283
+ # dhcp - (any)
1284
+ # network_id - SOAP::SOAPBase64
1285
+ # status - Virtuozzo::SOAP::Types::OpLog::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::OpLog::Ip_addressType
1320
+ # dhcp - (any)
1321
+ # network_id - SOAP::SOAPBase64
1322
+ # status - Virtuozzo::SOAP::Types::OpLog::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::OpLog::Voc_parameterType
1403
+ # category - Virtuozzo::SOAP::Types::OpLog::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::OpLog::Perf_dataType::C_Class
1438
+ # interval - Virtuozzo::SOAP::Types::OpLog::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::OpLog::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::OpLog::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::OpLog::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::OpLog::AuthType
1517
+ # cookie - SOAP::SOAPString
1518
+ # target - SOAP::SOAPString
1519
+ # origin - SOAP::SOAPString
1520
+ # src - Virtuozzo::SOAP::Types::OpLog::RouteType
1521
+ # dst - Virtuozzo::SOAP::Types::OpLog::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::OpLog::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::OpLog::ConfigurationType
1661
+ # ok - Virtuozzo::SOAP::Types::OpLog::Operator_functionalType::Ok
1662
+ # error - Virtuozzo::SOAP::Types::OpLog::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/op_log}op_logType
1698
+ # configuration - Virtuozzo::SOAP::Types::OpLog::ConfigurationType
1699
+ # ok - Virtuozzo::SOAP::Types::OpLog::Op_logType::Ok
1700
+ # error - Virtuozzo::SOAP::Types::OpLog::Op_logType::Error
1701
+ # get_ops - Virtuozzo::SOAP::Types::OpLog::Get_ops
1702
+ # put_ops - Virtuozzo::SOAP::Types::OpLog::Put_ops
1703
+ # progress - Virtuozzo::SOAP::Types::OpLog::Progress_eventType
1704
+ class Op_logType < Operator_functionalType
1705
+
1706
+ # inner class for member: ok
1707
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1708
+ class Ok
1709
+ def initialize
1710
+ end
1711
+ end
1712
+
1713
+ # inner class for member: error
1714
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1715
+ # code - SOAP::SOAPInt
1716
+ # message - SOAP::SOAPString
1717
+ class Error
1718
+ attr_accessor :code
1719
+ attr_accessor :message
1720
+
1721
+ def initialize(code = nil, message = nil)
1722
+ @code = code
1723
+ @message = message
1724
+ end
1725
+ end
1726
+
1727
+ attr_accessor :configuration
1728
+ attr_accessor :ok
1729
+ attr_accessor :error
1730
+ attr_accessor :get_ops
1731
+ attr_accessor :put_ops
1732
+ attr_accessor :progress
1733
+
1734
+ def initialize(configuration = nil, ok = [], error = [], get_ops = [], put_ops = [], progress = [])
1735
+ @configuration = configuration
1736
+ @ok = ok
1737
+ @error = error
1738
+ @get_ops = get_ops
1739
+ @put_ops = put_ops
1740
+ @progress = progress
1741
+ end
1742
+ end
1743
+
1744
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_periodicType
1745
+ # configuration - Virtuozzo::SOAP::Types::OpLog::ConfigurationType
1746
+ # ok - Virtuozzo::SOAP::Types::OpLog::Operator_periodicType::Ok
1747
+ # error - Virtuozzo::SOAP::Types::OpLog::Operator_periodicType::Error
1748
+ # start_monitor - Virtuozzo::SOAP::Types::OpLog::Start_monitorType
1749
+ # stop_monitor - Virtuozzo::SOAP::Types::OpLog::Stop_monitorType
1750
+ # set_period - Virtuozzo::SOAP::Types::OpLog::Set_periodType
1751
+ # report - (any)
1752
+ class Operator_periodicType < Operator_functionalType
1753
+
1754
+ # inner class for member: ok
1755
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1756
+ class Ok
1757
+ def initialize
1758
+ end
1759
+ end
1760
+
1761
+ # inner class for member: error
1762
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1763
+ # code - SOAP::SOAPInt
1764
+ # message - SOAP::SOAPString
1765
+ class Error
1766
+ attr_accessor :code
1767
+ attr_accessor :message
1768
+
1769
+ def initialize(code = nil, message = nil)
1770
+ @code = code
1771
+ @message = message
1772
+ end
1773
+ end
1774
+
1775
+ attr_accessor :configuration
1776
+ attr_accessor :ok
1777
+ attr_accessor :error
1778
+ attr_accessor :start_monitor
1779
+ attr_accessor :stop_monitor
1780
+ attr_accessor :set_period
1781
+ attr_accessor :report
1782
+
1783
+ def initialize(configuration = nil, ok = [], error = [], start_monitor = nil, stop_monitor = nil, set_period = nil, report = nil)
1784
+ @configuration = configuration
1785
+ @ok = ok
1786
+ @error = error
1787
+ @start_monitor = start_monitor
1788
+ @stop_monitor = stop_monitor
1789
+ @set_period = set_period
1790
+ @report = report
1791
+ end
1792
+ end
1793
+
1794
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}set_periodType
1795
+ # collect - SOAP::SOAPInt
1796
+ # log - SOAP::SOAPInt
1797
+ # report - SOAP::SOAPInt
1798
+ class Set_periodType
1799
+ attr_accessor :collect
1800
+ attr_accessor :log
1801
+ attr_accessor :report
1802
+
1803
+ def initialize(collect = nil, log = nil, report = nil)
1804
+ @collect = collect
1805
+ @log = log
1806
+ @report = report
1807
+ end
1808
+ end
1809
+
1810
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}start_monitorType
1811
+ # period - SOAP::SOAPInt
1812
+ class Start_monitorType
1813
+ attr_accessor :period
1814
+ attr_reader :__xmlele_any
1815
+
1816
+ def set_any(elements)
1817
+ @__xmlele_any = elements
1818
+ end
1819
+
1820
+ def initialize(period = nil)
1821
+ @period = period
1822
+ @__xmlele_any = nil
1823
+ end
1824
+ end
1825
+
1826
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}stop_monitorType
1827
+ class Stop_monitorType
1828
+ attr_reader :__xmlele_any
1829
+
1830
+ def set_any(elements)
1831
+ @__xmlele_any = elements
1832
+ end
1833
+
1834
+ def initialize
1835
+ @__xmlele_any = nil
1836
+ end
1837
+ end
1838
+
1839
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}authType
1840
+ class AuthType
1841
+ attr_reader :__xmlele_any
1842
+
1843
+ def set_any(elements)
1844
+ @__xmlele_any = elements
1845
+ end
1846
+
1847
+ def initialize
1848
+ @__xmlele_any = nil
1849
+ end
1850
+ end
1851
+
1852
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}routeType
1853
+ # director - SOAP::SOAPString
1854
+ # host - SOAP::SOAPString
1855
+ # index - SOAP::SOAPString
1856
+ # target - SOAP::SOAPString
1857
+ class RouteType
1858
+ attr_accessor :director
1859
+ attr_accessor :host
1860
+ attr_accessor :index
1861
+ attr_accessor :target
1862
+
1863
+ def initialize(director = nil, host = nil, index = nil, target = nil)
1864
+ @director = director
1865
+ @host = host
1866
+ @index = index
1867
+ @target = target
1868
+ end
1869
+ end
1870
+
1871
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}dataType
1872
+ class DataType < ::Array
1873
+ end
1874
+
1875
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}configurationType
1876
+ class ConfigurationType
1877
+ def initialize
1878
+ end
1879
+ end
1880
+
1881
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/op_log}op_log_configurationType
1882
+ # operation_log - SOAP::SOAPInt
1883
+ class Op_log_configurationType < ConfigurationType
1884
+ attr_accessor :operation_log
1885
+
1886
+ def initialize(operation_log = nil)
1887
+ @operation_log = operation_log
1888
+ end
1889
+ end
1890
+
1891
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}event_configurationType
1892
+ # period - SOAP::SOAPInt
1893
+ class Event_configurationType < ConfigurationType
1894
+ attr_accessor :period
1895
+
1896
+ def initialize(period = nil)
1897
+ @period = period
1898
+ end
1899
+ end
1900
+
1901
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}periodic_configurationType
1902
+ # log_priority - SOAP::SOAPInt
1903
+ # monitor_priority - SOAP::SOAPInt
1904
+ # min_monitor_period - SOAP::SOAPInt
1905
+ # min_monitor_period_root - SOAP::SOAPInt
1906
+ class Periodic_configurationType < ConfigurationType
1907
+ attr_accessor :log_priority
1908
+ attr_accessor :monitor_priority
1909
+ attr_accessor :min_monitor_period
1910
+ attr_accessor :min_monitor_period_root
1911
+
1912
+ def initialize(log_priority = nil, monitor_priority = nil, min_monitor_period = nil, min_monitor_period_root = nil)
1913
+ @log_priority = log_priority
1914
+ @monitor_priority = monitor_priority
1915
+ @min_monitor_period = min_monitor_period
1916
+ @min_monitor_period_root = min_monitor_period_root
1917
+ end
1918
+ end
1919
+
1920
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/progress_event}progress_eventType
1921
+ # message - Virtuozzo::SOAP::Types::OpLog::InfoType
1922
+ # percent - SOAP::SOAPInt
1923
+ # eid_list - Virtuozzo::SOAP::Types::OpLog::Eid_listType
1924
+ # op - SOAP::SOAPString
1925
+ # status - SOAP::SOAPInt
1926
+ # id - SOAP::SOAPString
1927
+ # time - (any)
1928
+ # parent_id - (any)
1929
+ class Progress_eventType
1930
+ attr_accessor :message
1931
+ attr_accessor :percent
1932
+ attr_accessor :eid_list
1933
+ attr_accessor :op
1934
+ attr_accessor :status
1935
+ attr_accessor :id
1936
+ attr_accessor :time
1937
+ attr_accessor :parent_id
1938
+
1939
+ def initialize(message = nil, percent = nil, eid_list = nil, op = nil, status = nil, id = nil, time = nil, parent_id = nil)
1940
+ @message = message
1941
+ @percent = percent
1942
+ @eid_list = eid_list
1943
+ @op = op
1944
+ @status = status
1945
+ @id = id
1946
+ @time = time
1947
+ @parent_id = parent_id
1948
+ end
1949
+ end
1950
+
1951
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transport_type
1952
+ class Transport_type < ::String
1953
+ Tcp = Transport_type.new("tcp")
1954
+ Udp = Transport_type.new("udp")
1955
+ end
1956
+
1957
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}yes_no_type
1958
+ class Yes_no_type < ::String
1959
+ No = Yes_no_type.new("no")
1960
+ Yes = Yes_no_type.new("yes")
1961
+ end
1962
+
1963
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/op_log}get_ops
1964
+ # eid - (any)
1965
+ # status - (any)
1966
+ # current - (any)
1967
+ # op - SOAP::SOAPString
1968
+ # id - SOAP::SOAPString
1969
+ # start_time - (any)
1970
+ # end_time - (any)
1971
+ # records - SOAP::SOAPInt
1972
+ # parent_id - (any)
1973
+ class Get_ops
1974
+ attr_accessor :eid
1975
+ attr_accessor :status
1976
+ attr_accessor :current
1977
+ attr_accessor :op
1978
+ attr_accessor :id
1979
+ attr_accessor :start_time
1980
+ attr_accessor :end_time
1981
+ attr_accessor :records
1982
+ attr_accessor :parent_id
1983
+
1984
+ def initialize(eid = nil, status = nil, current = nil, op = nil, id = nil, start_time = nil, end_time = nil, records = nil, parent_id = nil)
1985
+ @eid = eid
1986
+ @status = status
1987
+ @current = current
1988
+ @op = op
1989
+ @id = id
1990
+ @start_time = start_time
1991
+ @end_time = end_time
1992
+ @records = records
1993
+ @parent_id = parent_id
1994
+ end
1995
+ end
1996
+
1997
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/op_log}get_opsResponse
1998
+ class Get_opsResponse < ::Array
1999
+ end
2000
+
2001
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/op_log}put_ops
2002
+ class Put_ops < ::Array
2003
+ end
2004
+
2005
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ok
2006
+ class Ok < ::String
2007
+ def initialize(*arg)
2008
+ super
2009
+ end
2010
+ end
2011
+
2012
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet
2013
+ # auth - Virtuozzo::SOAP::Types::OpLog::AuthType
2014
+ # cookie - SOAP::SOAPString
2015
+ # target - SOAP::SOAPString
2016
+ # origin - SOAP::SOAPString
2017
+ # src - Virtuozzo::SOAP::Types::OpLog::RouteType
2018
+ # dst - Virtuozzo::SOAP::Types::OpLog::RouteType
2019
+ # session - SOAP::SOAPString
2020
+ # data - Virtuozzo::SOAP::Types::OpLog::Packet::C_Data
2021
+ # xmlattr_version - SOAP::SOAPString
2022
+ # xmlattr_id - SOAP::SOAPString
2023
+ # xmlattr_priority - SOAP::SOAPString
2024
+ # xmlattr_time - SOAP::SOAPString
2025
+ # xmlattr_progress - SOAP::SOAPString
2026
+ # xmlattr_log - SOAP::SOAPString
2027
+ # xmlattr_type - SOAP::SOAPInt
2028
+ # xmlattr_timeout - SOAP::SOAPInt
2029
+ # xmlattr_timeout_limit - SOAP::SOAPInt
2030
+ # xmlattr_uid - SOAP::SOAPInt
2031
+ class Packet < Packet_headerType
2032
+ AttrC_Time = XSD::QName.new(nil, "time")
2033
+ AttrId = XSD::QName.new(nil, "id")
2034
+ AttrLog = XSD::QName.new(nil, "log")
2035
+ AttrPriority = XSD::QName.new(nil, "priority")
2036
+ AttrProgress = XSD::QName.new(nil, "progress")
2037
+ AttrTimeout = XSD::QName.new(nil, "timeout")
2038
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
2039
+ AttrType = XSD::QName.new(nil, "type")
2040
+ AttrUid = XSD::QName.new(nil, "uid")
2041
+ AttrVersion = XSD::QName.new(nil, "version")
2042
+
2043
+ # inner class for member: data
2044
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}data
2045
+ class C_Data < ::Array
2046
+ end
2047
+
2048
+ attr_accessor :auth
2049
+ attr_accessor :cookie
2050
+ attr_accessor :target
2051
+ attr_accessor :origin
2052
+ attr_accessor :src
2053
+ attr_accessor :dst
2054
+ attr_accessor :session
2055
+ attr_accessor :data
2056
+
2057
+ def __xmlattr
2058
+ @__xmlattr ||= {}
2059
+ end
2060
+
2061
+ def xmlattr_version
2062
+ __xmlattr[AttrVersion]
2063
+ end
2064
+
2065
+ def xmlattr_version=(value)
2066
+ __xmlattr[AttrVersion] = value
2067
+ end
2068
+
2069
+ def xmlattr_id
2070
+ __xmlattr[AttrId]
2071
+ end
2072
+
2073
+ def xmlattr_id=(value)
2074
+ __xmlattr[AttrId] = value
2075
+ end
2076
+
2077
+ def xmlattr_priority
2078
+ __xmlattr[AttrPriority]
2079
+ end
2080
+
2081
+ def xmlattr_priority=(value)
2082
+ __xmlattr[AttrPriority] = value
2083
+ end
2084
+
2085
+ def xmlattr_time
2086
+ __xmlattr[AttrC_Time]
2087
+ end
2088
+
2089
+ def xmlattr_time=(value)
2090
+ __xmlattr[AttrC_Time] = value
2091
+ end
2092
+
2093
+ def xmlattr_progress
2094
+ __xmlattr[AttrProgress]
2095
+ end
2096
+
2097
+ def xmlattr_progress=(value)
2098
+ __xmlattr[AttrProgress] = value
2099
+ end
2100
+
2101
+ def xmlattr_log
2102
+ __xmlattr[AttrLog]
2103
+ end
2104
+
2105
+ def xmlattr_log=(value)
2106
+ __xmlattr[AttrLog] = value
2107
+ end
2108
+
2109
+ def xmlattr_type
2110
+ __xmlattr[AttrType]
2111
+ end
2112
+
2113
+ def xmlattr_type=(value)
2114
+ __xmlattr[AttrType] = value
2115
+ end
2116
+
2117
+ def xmlattr_timeout
2118
+ __xmlattr[AttrTimeout]
2119
+ end
2120
+
2121
+ def xmlattr_timeout=(value)
2122
+ __xmlattr[AttrTimeout] = value
2123
+ end
2124
+
2125
+ def xmlattr_timeout_limit
2126
+ __xmlattr[AttrTimeout_limit]
2127
+ end
2128
+
2129
+ def xmlattr_timeout_limit=(value)
2130
+ __xmlattr[AttrTimeout_limit] = value
2131
+ end
2132
+
2133
+ def xmlattr_uid
2134
+ __xmlattr[AttrUid]
2135
+ end
2136
+
2137
+ def xmlattr_uid=(value)
2138
+ __xmlattr[AttrUid] = value
2139
+ end
2140
+
2141
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil)
2142
+ @auth = auth
2143
+ @cookie = cookie
2144
+ @target = target
2145
+ @origin = origin
2146
+ @src = src
2147
+ @dst = dst
2148
+ @session = session
2149
+ @data = data
2150
+ @__xmlattr = {}
2151
+ end
2152
+ end
2153
+
2154
+ end
2155
+ end
2156
+ end