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,2599 @@
1
+ require 'xsd/qname'
2
+
3
+ module Virtuozzo
4
+ module SOAP
5
+ module Types
6
+ module Userm
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::Userm::Ip_addressType
65
+ # architecture - SOAP::SOAPString
66
+ # os - Virtuozzo::SOAP::Types::Userm::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::Userm::Ip_addressType
111
+ # architecture - SOAP::SOAPString
112
+ # os - Virtuozzo::SOAP::Types::Userm::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::Userm::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::Userm::Env_statusType
164
+ # alert - SOAP::SOAPInt
165
+ # config - Virtuozzo::SOAP::Types::Userm::Env_configType
166
+ # virtual_config - Virtuozzo::SOAP::Types::Userm::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::Userm::TransferType::Input
281
+ # output - Virtuozzo::SOAP::Types::Userm::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::Userm::System_nodeType::Address
323
+ # login - Virtuozzo::SOAP::Types::Userm::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::Userm::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::Userm::Env_configType
473
+ # id - SOAP::SOAPString
474
+ # name - SOAP::SOAPString
475
+ # comment - SOAP::SOAPBase64
476
+ # vt_version - Virtuozzo::SOAP::Types::Userm::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::Userm::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::Userm::Load_avgType
535
+ # processes - Virtuozzo::SOAP::Types::Userm::ProcessesType
536
+ # cpu_load - Virtuozzo::SOAP::Types::Userm::Cpu_loadType
537
+ # cpu_states - Virtuozzo::SOAP::Types::Userm::Cpu_loadType
538
+ # users - SOAP::SOAPInt
539
+ # uptime - SOAP::SOAPLong
540
+ # memory - Virtuozzo::SOAP::Types::Userm::Sys_infoType::Memory
541
+ # swap - Virtuozzo::SOAP::Types::Userm::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::Userm::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::Userm::Load_avg_statsType::L1
644
+ # l2 - Virtuozzo::SOAP::Types::Userm::Load_avg_statsType::L2
645
+ # l3 - Virtuozzo::SOAP::Types::Userm::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::Userm::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::Userm::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::Userm::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::Userm::CredentialType
813
+ # objects - Virtuozzo::SOAP::Types::Userm::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::Userm::TokenType::Groups
839
+ # deny_only_sids - Virtuozzo::SOAP::Types::Userm::TokenType::Deny_only_sids
840
+ # privileges - Virtuozzo::SOAP::Types::Userm::TokenType::Privileges
841
+ # source - Virtuozzo::SOAP::Types::Userm::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::Userm::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::Userm::UserType::Initial_group
971
+ # group - Virtuozzo::SOAP::Types::Userm::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::Userm::GroupType::User
1031
+ # member_group - Virtuozzo::SOAP::Types::Userm::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::Userm::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::Userm::InfoType
1169
+ # data - Virtuozzo::SOAP::Types::Userm::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::Userm::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::Userm::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::Userm::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::Userm::Ip_addressType
1283
+ # dhcp - (any)
1284
+ # network_id - SOAP::SOAPBase64
1285
+ # status - Virtuozzo::SOAP::Types::Userm::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::Userm::Ip_addressType
1320
+ # dhcp - (any)
1321
+ # network_id - SOAP::SOAPBase64
1322
+ # status - Virtuozzo::SOAP::Types::Userm::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::Userm::Voc_parameterType
1403
+ # category - Virtuozzo::SOAP::Types::Userm::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::Userm::Perf_dataType::C_Class
1438
+ # interval - Virtuozzo::SOAP::Types::Userm::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::Userm::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::Userm::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::Userm::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::Userm::AuthType
1517
+ # cookie - SOAP::SOAPString
1518
+ # target - SOAP::SOAPString
1519
+ # origin - SOAP::SOAPString
1520
+ # src - Virtuozzo::SOAP::Types::Userm::RouteType
1521
+ # dst - Virtuozzo::SOAP::Types::Userm::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::Userm::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::Userm::ConfigurationType
1661
+ # ok - Virtuozzo::SOAP::Types::Userm::Operator_functionalType::Ok
1662
+ # error - Virtuozzo::SOAP::Types::Userm::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/userm}usermType
1698
+ # configuration - Virtuozzo::SOAP::Types::Userm::ConfigurationType
1699
+ # ok - Virtuozzo::SOAP::Types::Userm::UsermType::Ok
1700
+ # error - Virtuozzo::SOAP::Types::Userm::UsermType::Error
1701
+ # group_del_user - Virtuozzo::SOAP::Types::Userm::Group_del_user
1702
+ # add_user - Virtuozzo::SOAP::Types::Userm::Add_user
1703
+ # del_user - Virtuozzo::SOAP::Types::Userm::Del_user
1704
+ # edit_user - Virtuozzo::SOAP::Types::Userm::Edit_user
1705
+ # del_group - Virtuozzo::SOAP::Types::Userm::Del_group
1706
+ # add_group - Virtuozzo::SOAP::Types::Userm::Add_group
1707
+ # get_user - Virtuozzo::SOAP::Types::Userm::Get_user
1708
+ # group_add_user - Virtuozzo::SOAP::Types::Userm::Group_add_user
1709
+ # get_group - Virtuozzo::SOAP::Types::Userm::Get_group
1710
+ # edit_group - Virtuozzo::SOAP::Types::Userm::Edit_group
1711
+ # group_set_users - Virtuozzo::SOAP::Types::Userm::Group_set_users
1712
+ # get_limits - Virtuozzo::SOAP::Types::Userm::Get_limits
1713
+ # authenticate - Virtuozzo::SOAP::Types::Userm::Authenticate
1714
+ # user - Virtuozzo::SOAP::Types::Userm::UserType
1715
+ # group - Virtuozzo::SOAP::Types::Userm::GroupType
1716
+ # limits - Virtuozzo::SOAP::Types::Userm::Limits
1717
+ # token - Virtuozzo::SOAP::Types::Userm::TokenType
1718
+ class UsermType < Operator_functionalType
1719
+
1720
+ # inner class for member: ok
1721
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1722
+ class Ok
1723
+ def initialize
1724
+ end
1725
+ end
1726
+
1727
+ # inner class for member: error
1728
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1729
+ # code - SOAP::SOAPInt
1730
+ # message - SOAP::SOAPString
1731
+ class Error
1732
+ attr_accessor :code
1733
+ attr_accessor :message
1734
+
1735
+ def initialize(code = nil, message = nil)
1736
+ @code = code
1737
+ @message = message
1738
+ end
1739
+ end
1740
+
1741
+ attr_accessor :configuration
1742
+ attr_accessor :ok
1743
+ attr_accessor :error
1744
+ attr_accessor :group_del_user
1745
+ attr_accessor :add_user
1746
+ attr_accessor :del_user
1747
+ attr_accessor :edit_user
1748
+ attr_accessor :del_group
1749
+ attr_accessor :add_group
1750
+ attr_accessor :get_user
1751
+ attr_accessor :group_add_user
1752
+ attr_accessor :get_group
1753
+ attr_accessor :edit_group
1754
+ attr_accessor :group_set_users
1755
+ attr_accessor :get_limits
1756
+ attr_accessor :authenticate
1757
+ attr_accessor :user
1758
+ attr_accessor :group
1759
+ attr_accessor :limits
1760
+ attr_accessor :token
1761
+
1762
+ def initialize(configuration = nil, ok = [], error = [], group_del_user = [], add_user = [], del_user = [], edit_user = [], del_group = [], add_group = [], get_user = [], group_add_user = [], get_group = [], edit_group = [], group_set_users = [], get_limits = [], authenticate = nil, user = [], group = [], limits = nil, token = nil)
1763
+ @configuration = configuration
1764
+ @ok = ok
1765
+ @error = error
1766
+ @group_del_user = group_del_user
1767
+ @add_user = add_user
1768
+ @del_user = del_user
1769
+ @edit_user = edit_user
1770
+ @del_group = del_group
1771
+ @add_group = add_group
1772
+ @get_user = get_user
1773
+ @group_add_user = group_add_user
1774
+ @get_group = get_group
1775
+ @edit_group = edit_group
1776
+ @group_set_users = group_set_users
1777
+ @get_limits = get_limits
1778
+ @authenticate = authenticate
1779
+ @user = user
1780
+ @group = group
1781
+ @limits = limits
1782
+ @token = token
1783
+ end
1784
+ end
1785
+
1786
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_periodicType
1787
+ # configuration - Virtuozzo::SOAP::Types::Userm::ConfigurationType
1788
+ # ok - Virtuozzo::SOAP::Types::Userm::Operator_periodicType::Ok
1789
+ # error - Virtuozzo::SOAP::Types::Userm::Operator_periodicType::Error
1790
+ # start_monitor - Virtuozzo::SOAP::Types::Userm::Start_monitorType
1791
+ # stop_monitor - Virtuozzo::SOAP::Types::Userm::Stop_monitorType
1792
+ # set_period - Virtuozzo::SOAP::Types::Userm::Set_periodType
1793
+ # report - (any)
1794
+ class Operator_periodicType < Operator_functionalType
1795
+
1796
+ # inner class for member: ok
1797
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1798
+ class Ok
1799
+ def initialize
1800
+ end
1801
+ end
1802
+
1803
+ # inner class for member: error
1804
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1805
+ # code - SOAP::SOAPInt
1806
+ # message - SOAP::SOAPString
1807
+ class Error
1808
+ attr_accessor :code
1809
+ attr_accessor :message
1810
+
1811
+ def initialize(code = nil, message = nil)
1812
+ @code = code
1813
+ @message = message
1814
+ end
1815
+ end
1816
+
1817
+ attr_accessor :configuration
1818
+ attr_accessor :ok
1819
+ attr_accessor :error
1820
+ attr_accessor :start_monitor
1821
+ attr_accessor :stop_monitor
1822
+ attr_accessor :set_period
1823
+ attr_accessor :report
1824
+
1825
+ def initialize(configuration = nil, ok = [], error = [], start_monitor = nil, stop_monitor = nil, set_period = nil, report = nil)
1826
+ @configuration = configuration
1827
+ @ok = ok
1828
+ @error = error
1829
+ @start_monitor = start_monitor
1830
+ @stop_monitor = stop_monitor
1831
+ @set_period = set_period
1832
+ @report = report
1833
+ end
1834
+ end
1835
+
1836
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}set_periodType
1837
+ # collect - SOAP::SOAPInt
1838
+ # log - SOAP::SOAPInt
1839
+ # report - SOAP::SOAPInt
1840
+ class Set_periodType
1841
+ attr_accessor :collect
1842
+ attr_accessor :log
1843
+ attr_accessor :report
1844
+
1845
+ def initialize(collect = nil, log = nil, report = nil)
1846
+ @collect = collect
1847
+ @log = log
1848
+ @report = report
1849
+ end
1850
+ end
1851
+
1852
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}start_monitorType
1853
+ # period - SOAP::SOAPInt
1854
+ class Start_monitorType
1855
+ attr_accessor :period
1856
+ attr_reader :__xmlele_any
1857
+
1858
+ def set_any(elements)
1859
+ @__xmlele_any = elements
1860
+ end
1861
+
1862
+ def initialize(period = nil)
1863
+ @period = period
1864
+ @__xmlele_any = nil
1865
+ end
1866
+ end
1867
+
1868
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}stop_monitorType
1869
+ class Stop_monitorType
1870
+ attr_reader :__xmlele_any
1871
+
1872
+ def set_any(elements)
1873
+ @__xmlele_any = elements
1874
+ end
1875
+
1876
+ def initialize
1877
+ @__xmlele_any = nil
1878
+ end
1879
+ end
1880
+
1881
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}authType
1882
+ class AuthType
1883
+ attr_reader :__xmlele_any
1884
+
1885
+ def set_any(elements)
1886
+ @__xmlele_any = elements
1887
+ end
1888
+
1889
+ def initialize
1890
+ @__xmlele_any = nil
1891
+ end
1892
+ end
1893
+
1894
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}routeType
1895
+ # director - SOAP::SOAPString
1896
+ # host - SOAP::SOAPString
1897
+ # index - SOAP::SOAPString
1898
+ # target - SOAP::SOAPString
1899
+ class RouteType
1900
+ attr_accessor :director
1901
+ attr_accessor :host
1902
+ attr_accessor :index
1903
+ attr_accessor :target
1904
+
1905
+ def initialize(director = nil, host = nil, index = nil, target = nil)
1906
+ @director = director
1907
+ @host = host
1908
+ @index = index
1909
+ @target = target
1910
+ end
1911
+ end
1912
+
1913
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}dataType
1914
+ class DataType < ::Array
1915
+ end
1916
+
1917
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}configurationType
1918
+ class ConfigurationType
1919
+ def initialize
1920
+ end
1921
+ end
1922
+
1923
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}event_configurationType
1924
+ # period - SOAP::SOAPInt
1925
+ class Event_configurationType < ConfigurationType
1926
+ attr_accessor :period
1927
+
1928
+ def initialize(period = nil)
1929
+ @period = period
1930
+ end
1931
+ end
1932
+
1933
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}periodic_configurationType
1934
+ # log_priority - SOAP::SOAPInt
1935
+ # monitor_priority - SOAP::SOAPInt
1936
+ # min_monitor_period - SOAP::SOAPInt
1937
+ # min_monitor_period_root - SOAP::SOAPInt
1938
+ class Periodic_configurationType < ConfigurationType
1939
+ attr_accessor :log_priority
1940
+ attr_accessor :monitor_priority
1941
+ attr_accessor :min_monitor_period
1942
+ attr_accessor :min_monitor_period_root
1943
+
1944
+ def initialize(log_priority = nil, monitor_priority = nil, min_monitor_period = nil, min_monitor_period_root = nil)
1945
+ @log_priority = log_priority
1946
+ @monitor_priority = monitor_priority
1947
+ @min_monitor_period = min_monitor_period
1948
+ @min_monitor_period_root = min_monitor_period_root
1949
+ end
1950
+ end
1951
+
1952
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transport_type
1953
+ class Transport_type < ::String
1954
+ Tcp = Transport_type.new("tcp")
1955
+ Udp = Transport_type.new("udp")
1956
+ end
1957
+
1958
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}yes_no_type
1959
+ class Yes_no_type < ::String
1960
+ No = Yes_no_type.new("no")
1961
+ Yes = Yes_no_type.new("yes")
1962
+ end
1963
+
1964
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}group_del_user
1965
+ # group - Virtuozzo::SOAP::Types::Userm::Group_del_user::Group
1966
+ # user - Virtuozzo::SOAP::Types::Userm::Group_del_user::User
1967
+ # member_group - Virtuozzo::SOAP::Types::Userm::Group_del_user::Member_group
1968
+ class Group_del_user
1969
+
1970
+ # inner class for member: group
1971
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}group
1972
+ # name - SOAP::SOAPString
1973
+ class Group
1974
+ attr_accessor :name
1975
+
1976
+ def initialize(name = nil)
1977
+ @name = name
1978
+ end
1979
+ end
1980
+
1981
+ # inner class for member: user
1982
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}user
1983
+ # name - SOAP::SOAPString
1984
+ class User
1985
+ attr_accessor :name
1986
+
1987
+ def initialize(name = nil)
1988
+ @name = name
1989
+ end
1990
+ end
1991
+
1992
+ # inner class for member: member_group
1993
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}member_group
1994
+ # name - SOAP::SOAPString
1995
+ class Member_group
1996
+ attr_accessor :name
1997
+
1998
+ def initialize(name = nil)
1999
+ @name = name
2000
+ end
2001
+ end
2002
+
2003
+ attr_accessor :group
2004
+ attr_accessor :user
2005
+ attr_accessor :member_group
2006
+
2007
+ def initialize(group = nil, user = nil, member_group = nil)
2008
+ @group = group
2009
+ @user = user
2010
+ @member_group = member_group
2011
+ end
2012
+ end
2013
+
2014
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}add_user
2015
+ # user - Virtuozzo::SOAP::Types::Userm::UserType
2016
+ # min_uid - SOAP::SOAPInt
2017
+ # max_uid - SOAP::SOAPInt
2018
+ # create_home_dir - SOAP::SOAPBoolean
2019
+ # create_initial_group - (any)
2020
+ class Add_user
2021
+ attr_accessor :user
2022
+ attr_accessor :min_uid
2023
+ attr_accessor :max_uid
2024
+ attr_accessor :create_home_dir
2025
+ attr_accessor :create_initial_group
2026
+
2027
+ def initialize(user = nil, min_uid = nil, max_uid = nil, create_home_dir = nil, create_initial_group = nil)
2028
+ @user = user
2029
+ @min_uid = min_uid
2030
+ @max_uid = max_uid
2031
+ @create_home_dir = create_home_dir
2032
+ @create_initial_group = create_initial_group
2033
+ end
2034
+ end
2035
+
2036
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}del_user
2037
+ # user - Virtuozzo::SOAP::Types::Userm::Del_user::User
2038
+ # remove_home_dir - (any)
2039
+ # remove_initial_group - (any)
2040
+ class Del_user
2041
+
2042
+ # inner class for member: user
2043
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}user
2044
+ # name - SOAP::SOAPString
2045
+ class User
2046
+ attr_accessor :name
2047
+
2048
+ def initialize(name = nil)
2049
+ @name = name
2050
+ end
2051
+ end
2052
+
2053
+ attr_accessor :user
2054
+ attr_accessor :remove_home_dir
2055
+ attr_accessor :remove_initial_group
2056
+
2057
+ def initialize(user = nil, remove_home_dir = nil, remove_initial_group = nil)
2058
+ @user = user
2059
+ @remove_home_dir = remove_home_dir
2060
+ @remove_initial_group = remove_initial_group
2061
+ end
2062
+ end
2063
+
2064
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}edit_user
2065
+ # name - SOAP::SOAPString
2066
+ # user - Virtuozzo::SOAP::Types::Userm::UserType
2067
+ # min_uid - SOAP::SOAPInt
2068
+ # max_uid - SOAP::SOAPInt
2069
+ class Edit_user
2070
+ attr_accessor :name
2071
+ attr_accessor :user
2072
+ attr_accessor :min_uid
2073
+ attr_accessor :max_uid
2074
+
2075
+ def initialize(name = nil, user = nil, min_uid = nil, max_uid = nil)
2076
+ @name = name
2077
+ @user = user
2078
+ @min_uid = min_uid
2079
+ @max_uid = max_uid
2080
+ end
2081
+ end
2082
+
2083
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}del_group
2084
+ # group - Virtuozzo::SOAP::Types::Userm::Del_group::Group
2085
+ class Del_group
2086
+
2087
+ # inner class for member: group
2088
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}group
2089
+ # name - SOAP::SOAPString
2090
+ class Group
2091
+ attr_accessor :name
2092
+
2093
+ def initialize(name = nil)
2094
+ @name = name
2095
+ end
2096
+ end
2097
+
2098
+ attr_accessor :group
2099
+
2100
+ def initialize(group = nil)
2101
+ @group = group
2102
+ end
2103
+ end
2104
+
2105
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}add_group
2106
+ # group - Virtuozzo::SOAP::Types::Userm::Add_group::Group
2107
+ # min_gid - SOAP::SOAPInt
2108
+ # max_gid - SOAP::SOAPInt
2109
+ class Add_group
2110
+
2111
+ # inner class for member: group
2112
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}group
2113
+ # name - SOAP::SOAPString
2114
+ class Group
2115
+ attr_accessor :name
2116
+
2117
+ def initialize(name = nil)
2118
+ @name = name
2119
+ end
2120
+ end
2121
+
2122
+ attr_accessor :group
2123
+ attr_accessor :min_gid
2124
+ attr_accessor :max_gid
2125
+
2126
+ def initialize(group = nil, min_gid = nil, max_gid = nil)
2127
+ @group = group
2128
+ @min_gid = min_gid
2129
+ @max_gid = max_gid
2130
+ end
2131
+ end
2132
+
2133
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}get_user
2134
+ # user - Virtuozzo::SOAP::Types::Userm::Get_user::User
2135
+ class Get_user
2136
+
2137
+ # inner class for member: user
2138
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}user
2139
+ # uid - SOAP::SOAPInt
2140
+ # name - SOAP::SOAPString
2141
+ class User
2142
+ attr_accessor :uid
2143
+ attr_accessor :name
2144
+
2145
+ def initialize(uid = nil, name = nil)
2146
+ @uid = uid
2147
+ @name = name
2148
+ end
2149
+ end
2150
+
2151
+ attr_accessor :user
2152
+
2153
+ def initialize(user = nil)
2154
+ @user = user
2155
+ end
2156
+ end
2157
+
2158
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}group_add_user
2159
+ # group - Virtuozzo::SOAP::Types::Userm::Group_add_user::Group
2160
+ # user - Virtuozzo::SOAP::Types::Userm::Group_add_user::User
2161
+ # member_group - Virtuozzo::SOAP::Types::Userm::Group_add_user::Member_group
2162
+ class Group_add_user
2163
+
2164
+ # inner class for member: group
2165
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}group
2166
+ # name - SOAP::SOAPString
2167
+ class Group
2168
+ attr_accessor :name
2169
+
2170
+ def initialize(name = nil)
2171
+ @name = name
2172
+ end
2173
+ end
2174
+
2175
+ # inner class for member: user
2176
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}user
2177
+ # name - SOAP::SOAPString
2178
+ class User
2179
+ attr_accessor :name
2180
+
2181
+ def initialize(name = nil)
2182
+ @name = name
2183
+ end
2184
+ end
2185
+
2186
+ # inner class for member: member_group
2187
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}member_group
2188
+ # name - SOAP::SOAPString
2189
+ class Member_group
2190
+ attr_accessor :name
2191
+
2192
+ def initialize(name = nil)
2193
+ @name = name
2194
+ end
2195
+ end
2196
+
2197
+ attr_accessor :group
2198
+ attr_accessor :user
2199
+ attr_accessor :member_group
2200
+
2201
+ def initialize(group = nil, user = nil, member_group = nil)
2202
+ @group = group
2203
+ @user = user
2204
+ @member_group = member_group
2205
+ end
2206
+ end
2207
+
2208
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}get_group
2209
+ # group - Virtuozzo::SOAP::Types::Userm::Get_group::Group
2210
+ class Get_group
2211
+
2212
+ # inner class for member: group
2213
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}group
2214
+ # name - SOAP::SOAPString
2215
+ # gid - SOAP::SOAPInt
2216
+ class Group
2217
+ attr_accessor :name
2218
+ attr_accessor :gid
2219
+
2220
+ def initialize(name = nil, gid = nil)
2221
+ @name = name
2222
+ @gid = gid
2223
+ end
2224
+ end
2225
+
2226
+ attr_accessor :group
2227
+
2228
+ def initialize(group = nil)
2229
+ @group = group
2230
+ end
2231
+ end
2232
+
2233
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}edit_group
2234
+ # name - SOAP::SOAPString
2235
+ # group - Virtuozzo::SOAP::Types::Userm::Edit_group::Group
2236
+ # min_gid - SOAP::SOAPInt
2237
+ # max_gid - SOAP::SOAPInt
2238
+ class Edit_group
2239
+
2240
+ # inner class for member: group
2241
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}group
2242
+ # name - SOAP::SOAPString
2243
+ # gid - SOAP::SOAPInt
2244
+ class Group
2245
+ attr_accessor :name
2246
+ attr_accessor :gid
2247
+
2248
+ def initialize(name = nil, gid = nil)
2249
+ @name = name
2250
+ @gid = gid
2251
+ end
2252
+ end
2253
+
2254
+ attr_accessor :name
2255
+ attr_accessor :group
2256
+ attr_accessor :min_gid
2257
+ attr_accessor :max_gid
2258
+
2259
+ def initialize(name = nil, group = nil, min_gid = nil, max_gid = nil)
2260
+ @name = name
2261
+ @group = group
2262
+ @min_gid = min_gid
2263
+ @max_gid = max_gid
2264
+ end
2265
+ end
2266
+
2267
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}group_set_users
2268
+ # group - Virtuozzo::SOAP::Types::Userm::Group_set_users::Group
2269
+ # user - Virtuozzo::SOAP::Types::Userm::Group_set_users::User
2270
+ # member_group - Virtuozzo::SOAP::Types::Userm::Group_set_users::Member_group
2271
+ class Group_set_users
2272
+
2273
+ # inner class for member: group
2274
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}group
2275
+ # name - SOAP::SOAPString
2276
+ class Group
2277
+ attr_accessor :name
2278
+
2279
+ def initialize(name = nil)
2280
+ @name = name
2281
+ end
2282
+ end
2283
+
2284
+ # inner class for member: user
2285
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}user
2286
+ # name - SOAP::SOAPString
2287
+ class User
2288
+ attr_accessor :name
2289
+
2290
+ def initialize(name = nil)
2291
+ @name = name
2292
+ end
2293
+ end
2294
+
2295
+ # inner class for member: member_group
2296
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}member_group
2297
+ # name - SOAP::SOAPString
2298
+ class Member_group
2299
+ attr_accessor :name
2300
+
2301
+ def initialize(name = nil)
2302
+ @name = name
2303
+ end
2304
+ end
2305
+
2306
+ attr_accessor :group
2307
+ attr_accessor :user
2308
+ attr_accessor :member_group
2309
+
2310
+ def initialize(group = nil, user = [], member_group = [])
2311
+ @group = group
2312
+ @user = user
2313
+ @member_group = member_group
2314
+ end
2315
+ end
2316
+
2317
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}get_limits
2318
+ class Get_limits
2319
+ def initialize
2320
+ end
2321
+ end
2322
+
2323
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}authenticate
2324
+ # name - SOAP::SOAPString
2325
+ # password - SOAP::SOAPBase64
2326
+ # type - SOAP::SOAPString
2327
+ class Authenticate
2328
+ attr_accessor :name
2329
+ attr_accessor :password
2330
+ attr_accessor :type
2331
+
2332
+ def initialize(name = nil, password = nil, type = nil)
2333
+ @name = name
2334
+ @password = password
2335
+ @type = type
2336
+ end
2337
+ end
2338
+
2339
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}limits
2340
+ # umin - SOAP::SOAPInt
2341
+ # umax - SOAP::SOAPInt
2342
+ # gmin - SOAP::SOAPInt
2343
+ # gmax - SOAP::SOAPInt
2344
+ class Limits
2345
+ attr_accessor :umin
2346
+ attr_accessor :umax
2347
+ attr_accessor :gmin
2348
+ attr_accessor :gmax
2349
+
2350
+ def initialize(umin = nil, umax = nil, gmin = nil, gmax = nil)
2351
+ @umin = umin
2352
+ @umax = umax
2353
+ @gmin = gmin
2354
+ @gmax = gmax
2355
+ end
2356
+ end
2357
+
2358
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}group_del_userResponse
2359
+ class Group_del_userResponse
2360
+ def initialize
2361
+ end
2362
+ end
2363
+
2364
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}add_userResponse
2365
+ # user - Virtuozzo::SOAP::Types::Userm::UserType
2366
+ class Add_userResponse
2367
+ attr_accessor :user
2368
+
2369
+ def initialize(user = nil)
2370
+ @user = user
2371
+ end
2372
+ end
2373
+
2374
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}del_userResponse
2375
+ class Del_userResponse
2376
+ def initialize
2377
+ end
2378
+ end
2379
+
2380
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}edit_userResponse
2381
+ class Edit_userResponse
2382
+ def initialize
2383
+ end
2384
+ end
2385
+
2386
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}del_groupResponse
2387
+ class Del_groupResponse
2388
+ def initialize
2389
+ end
2390
+ end
2391
+
2392
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}add_groupResponse
2393
+ # group - Virtuozzo::SOAP::Types::Userm::GroupType
2394
+ class Add_groupResponse
2395
+ attr_accessor :group
2396
+
2397
+ def initialize(group = nil)
2398
+ @group = group
2399
+ end
2400
+ end
2401
+
2402
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}get_userResponse
2403
+ class Get_userResponse < ::Array
2404
+ end
2405
+
2406
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}group_add_userResponse
2407
+ class Group_add_userResponse
2408
+ def initialize
2409
+ end
2410
+ end
2411
+
2412
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}get_groupResponse
2413
+ class Get_groupResponse < ::Array
2414
+ end
2415
+
2416
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}edit_groupResponse
2417
+ class Edit_groupResponse
2418
+ def initialize
2419
+ end
2420
+ end
2421
+
2422
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}group_set_usersResponse
2423
+ class Group_set_usersResponse
2424
+ def initialize
2425
+ end
2426
+ end
2427
+
2428
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}get_limitsResponse
2429
+ # limits - Virtuozzo::SOAP::Types::Userm::Limits
2430
+ class Get_limitsResponse
2431
+ attr_accessor :limits
2432
+
2433
+ def initialize(limits = nil)
2434
+ @limits = limits
2435
+ end
2436
+ end
2437
+
2438
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/userm}authenticateResponse
2439
+ # token - Virtuozzo::SOAP::Types::Userm::TokenType
2440
+ class AuthenticateResponse
2441
+ attr_accessor :token
2442
+
2443
+ def initialize(token = nil)
2444
+ @token = token
2445
+ end
2446
+ end
2447
+
2448
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ok
2449
+ class Ok < ::String
2450
+ def initialize(*arg)
2451
+ super
2452
+ end
2453
+ end
2454
+
2455
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet
2456
+ # auth - Virtuozzo::SOAP::Types::Userm::AuthType
2457
+ # cookie - SOAP::SOAPString
2458
+ # target - SOAP::SOAPString
2459
+ # origin - SOAP::SOAPString
2460
+ # src - Virtuozzo::SOAP::Types::Userm::RouteType
2461
+ # dst - Virtuozzo::SOAP::Types::Userm::RouteType
2462
+ # session - SOAP::SOAPString
2463
+ # data - Virtuozzo::SOAP::Types::Userm::Packet::C_Data
2464
+ # xmlattr_version - SOAP::SOAPString
2465
+ # xmlattr_id - SOAP::SOAPString
2466
+ # xmlattr_priority - SOAP::SOAPString
2467
+ # xmlattr_time - SOAP::SOAPString
2468
+ # xmlattr_progress - SOAP::SOAPString
2469
+ # xmlattr_log - SOAP::SOAPString
2470
+ # xmlattr_type - SOAP::SOAPInt
2471
+ # xmlattr_timeout - SOAP::SOAPInt
2472
+ # xmlattr_timeout_limit - SOAP::SOAPInt
2473
+ # xmlattr_uid - SOAP::SOAPInt
2474
+ class Packet < Packet_headerType
2475
+ AttrC_Time = XSD::QName.new(nil, "time")
2476
+ AttrId = XSD::QName.new(nil, "id")
2477
+ AttrLog = XSD::QName.new(nil, "log")
2478
+ AttrPriority = XSD::QName.new(nil, "priority")
2479
+ AttrProgress = XSD::QName.new(nil, "progress")
2480
+ AttrTimeout = XSD::QName.new(nil, "timeout")
2481
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
2482
+ AttrType = XSD::QName.new(nil, "type")
2483
+ AttrUid = XSD::QName.new(nil, "uid")
2484
+ AttrVersion = XSD::QName.new(nil, "version")
2485
+
2486
+ # inner class for member: data
2487
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}data
2488
+ class C_Data < ::Array
2489
+ end
2490
+
2491
+ attr_accessor :auth
2492
+ attr_accessor :cookie
2493
+ attr_accessor :target
2494
+ attr_accessor :origin
2495
+ attr_accessor :src
2496
+ attr_accessor :dst
2497
+ attr_accessor :session
2498
+ attr_accessor :data
2499
+
2500
+ def __xmlattr
2501
+ @__xmlattr ||= {}
2502
+ end
2503
+
2504
+ def xmlattr_version
2505
+ __xmlattr[AttrVersion]
2506
+ end
2507
+
2508
+ def xmlattr_version=(value)
2509
+ __xmlattr[AttrVersion] = value
2510
+ end
2511
+
2512
+ def xmlattr_id
2513
+ __xmlattr[AttrId]
2514
+ end
2515
+
2516
+ def xmlattr_id=(value)
2517
+ __xmlattr[AttrId] = value
2518
+ end
2519
+
2520
+ def xmlattr_priority
2521
+ __xmlattr[AttrPriority]
2522
+ end
2523
+
2524
+ def xmlattr_priority=(value)
2525
+ __xmlattr[AttrPriority] = value
2526
+ end
2527
+
2528
+ def xmlattr_time
2529
+ __xmlattr[AttrC_Time]
2530
+ end
2531
+
2532
+ def xmlattr_time=(value)
2533
+ __xmlattr[AttrC_Time] = value
2534
+ end
2535
+
2536
+ def xmlattr_progress
2537
+ __xmlattr[AttrProgress]
2538
+ end
2539
+
2540
+ def xmlattr_progress=(value)
2541
+ __xmlattr[AttrProgress] = value
2542
+ end
2543
+
2544
+ def xmlattr_log
2545
+ __xmlattr[AttrLog]
2546
+ end
2547
+
2548
+ def xmlattr_log=(value)
2549
+ __xmlattr[AttrLog] = value
2550
+ end
2551
+
2552
+ def xmlattr_type
2553
+ __xmlattr[AttrType]
2554
+ end
2555
+
2556
+ def xmlattr_type=(value)
2557
+ __xmlattr[AttrType] = value
2558
+ end
2559
+
2560
+ def xmlattr_timeout
2561
+ __xmlattr[AttrTimeout]
2562
+ end
2563
+
2564
+ def xmlattr_timeout=(value)
2565
+ __xmlattr[AttrTimeout] = value
2566
+ end
2567
+
2568
+ def xmlattr_timeout_limit
2569
+ __xmlattr[AttrTimeout_limit]
2570
+ end
2571
+
2572
+ def xmlattr_timeout_limit=(value)
2573
+ __xmlattr[AttrTimeout_limit] = value
2574
+ end
2575
+
2576
+ def xmlattr_uid
2577
+ __xmlattr[AttrUid]
2578
+ end
2579
+
2580
+ def xmlattr_uid=(value)
2581
+ __xmlattr[AttrUid] = value
2582
+ end
2583
+
2584
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil)
2585
+ @auth = auth
2586
+ @cookie = cookie
2587
+ @target = target
2588
+ @origin = origin
2589
+ @src = src
2590
+ @dst = dst
2591
+ @session = session
2592
+ @data = data
2593
+ @__xmlattr = {}
2594
+ end
2595
+ end
2596
+
2597
+ end
2598
+ end
2599
+ end