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