virtuozzo 0.5.1

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