plainprograms-virtuozzo 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. data/CHANGELOG.rdoc +54 -0
  2. data/README.rdoc +52 -0
  3. data/Rakefile +15 -0
  4. data/lib/virtuozzo/constants.rb +10 -0
  5. data/lib/virtuozzo/soap/drivers/device/mapping_registry.rb +3653 -0
  6. data/lib/virtuozzo/soap/drivers/device/types.rb +3144 -0
  7. data/lib/virtuozzo/soap/drivers/device_driver.rb +141 -0
  8. data/lib/virtuozzo/soap/drivers/environment/mapping_registry.rb +4461 -0
  9. data/lib/virtuozzo/soap/drivers/environment/types.rb +3743 -0
  10. data/lib/virtuozzo/soap/drivers/environment_driver.rb +300 -0
  11. data/lib/virtuozzo/soap/drivers/network/mapping_registry.rb +3116 -0
  12. data/lib/virtuozzo/soap/drivers/network/types.rb +2401 -0
  13. data/lib/virtuozzo/soap/drivers/network_driver.rb +101 -0
  14. data/lib/virtuozzo/soap/drivers/process/mapping_registry.rb +3317 -0
  15. data/lib/virtuozzo/soap/drivers/process/types.rb +2711 -0
  16. data/lib/virtuozzo/soap/drivers/process_driver.rb +69 -0
  17. data/lib/virtuozzo/soap/drivers/process_info/mapping_registry.rb +2985 -0
  18. data/lib/virtuozzo/soap/drivers/process_info/types.rb +2328 -0
  19. data/lib/virtuozzo/soap/drivers/process_info_driver.rb +61 -0
  20. data/lib/virtuozzo/soap/drivers/relocator/mapping_registry.rb +3656 -0
  21. data/lib/virtuozzo/soap/drivers/relocator/types.rb +2916 -0
  22. data/lib/virtuozzo/soap/drivers/relocator_driver.rb +101 -0
  23. data/lib/virtuozzo/soap/drivers/session/mapping_registry.rb +3039 -0
  24. data/lib/virtuozzo/soap/drivers/session/types.rb +2453 -0
  25. data/lib/virtuozzo/soap/drivers/session_driver.rb +149 -0
  26. data/lib/virtuozzo/soap/drivers/support/mapping_registry.rb +3232 -0
  27. data/lib/virtuozzo/soap/drivers/support/types.rb +2708 -0
  28. data/lib/virtuozzo/soap/drivers/support_driver.rb +109 -0
  29. data/lib/virtuozzo/soap/drivers/template/mapping_registry.rb +3752 -0
  30. data/lib/virtuozzo/soap/drivers/template/types.rb +3079 -0
  31. data/lib/virtuozzo/soap/drivers/template_driver.rb +117 -0
  32. data/lib/virtuozzo/soap/drivers/up2date/mapping_registry.rb +3312 -0
  33. data/lib/virtuozzo/soap/drivers/up2date/types.rb +2670 -0
  34. data/lib/virtuozzo/soap/drivers/up2date_driver.rb +92 -0
  35. data/lib/virtuozzo/soap.rb +149 -0
  36. data/lib/virtuozzo.rb +18 -0
  37. data/script/console +10 -0
  38. data/script/github-gem-test +15 -0
  39. data/virtuozzo.gemspec +34 -0
  40. metadata +139 -0
@@ -0,0 +1,2670 @@
1
+ require 'xsd/qname'
2
+
3
+ module Virtuozzo; module SOAP; module Drivers; 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}system_nodeType
1146
+ # address - Virtuozzo::SOAP::Drivers::Up2date::System_nodeType::Address
1147
+ # login - Virtuozzo::SOAP::Drivers::Up2date::System_nodeType::Login
1148
+ class System_nodeType
1149
+
1150
+ # inner class for member: address
1151
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}address
1152
+ # ip - (any)
1153
+ class Address < Ip_addressType
1154
+ attr_accessor :ip
1155
+
1156
+ def initialize(ip = nil)
1157
+ @ip = ip
1158
+ end
1159
+ end
1160
+
1161
+ # inner class for member: login
1162
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}login
1163
+ # user - SOAP::SOAPString
1164
+ # password - SOAP::SOAPBase64
1165
+ class Login
1166
+ attr_accessor :user
1167
+ attr_accessor :password
1168
+
1169
+ def initialize(user = nil, password = nil)
1170
+ @user = user
1171
+ @password = password
1172
+ end
1173
+ end
1174
+
1175
+ attr_accessor :address
1176
+ attr_accessor :login
1177
+
1178
+ def initialize(address = nil, login = nil)
1179
+ @address = address
1180
+ @login = login
1181
+ end
1182
+ end
1183
+
1184
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}resourceType
1185
+ # total - SOAP::SOAPLong
1186
+ # used - SOAP::SOAPLong
1187
+ # free - SOAP::SOAPLong
1188
+ # avg - SOAP::SOAPLong
1189
+ # min - SOAP::SOAPLong
1190
+ # max - SOAP::SOAPLong
1191
+ class ResourceType
1192
+ attr_accessor :total
1193
+ attr_accessor :used
1194
+ attr_accessor :free
1195
+ attr_accessor :avg
1196
+ attr_accessor :min
1197
+ attr_accessor :max
1198
+
1199
+ def initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil)
1200
+ @total = total
1201
+ @used = used
1202
+ @free = free
1203
+ @avg = avg
1204
+ @min = min
1205
+ @max = max
1206
+ end
1207
+ end
1208
+
1209
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}intervalType
1210
+ # start_time - (any)
1211
+ # end_time - (any)
1212
+ class IntervalType
1213
+ attr_accessor :start_time
1214
+ attr_accessor :end_time
1215
+
1216
+ def initialize(start_time = nil, end_time = nil)
1217
+ @start_time = start_time
1218
+ @end_time = end_time
1219
+ end
1220
+ end
1221
+
1222
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}statsType
1223
+ # avg - SOAP::SOAPLong
1224
+ # min - SOAP::SOAPLong
1225
+ # max - SOAP::SOAPLong
1226
+ # total - SOAP::SOAPLong
1227
+ # cur - SOAP::SOAPLong
1228
+ # soft - SOAP::SOAPLong
1229
+ # hard - SOAP::SOAPLong
1230
+ class StatsType
1231
+ attr_accessor :avg
1232
+ attr_accessor :min
1233
+ attr_accessor :max
1234
+ attr_accessor :total
1235
+ attr_accessor :cur
1236
+ attr_accessor :soft
1237
+ attr_accessor :hard
1238
+
1239
+ def initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil)
1240
+ @avg = avg
1241
+ @min = min
1242
+ @max = max
1243
+ @total = total
1244
+ @cur = cur
1245
+ @soft = soft
1246
+ @hard = hard
1247
+ end
1248
+ end
1249
+
1250
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_addressType
1251
+ # host - (any)
1252
+ # mask - (any)
1253
+ class Net_addressType
1254
+ attr_accessor :host
1255
+ attr_accessor :mask
1256
+
1257
+ def initialize(host = nil, mask = nil)
1258
+ @host = host
1259
+ @mask = mask
1260
+ end
1261
+ end
1262
+
1263
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_classType
1264
+ # id - SOAP::SOAPString
1265
+ # transfer - Virtuozzo::SOAP::Drivers::Up2date::TransferType
1266
+ class Net_classType
1267
+ attr_accessor :id
1268
+ attr_accessor :transfer
1269
+
1270
+ def initialize(id = nil, transfer = nil)
1271
+ @id = id
1272
+ @transfer = transfer
1273
+ end
1274
+ end
1275
+
1276
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_rangeType
1277
+ # id - SOAP::SOAPString
1278
+ # start_ip - (any)
1279
+ # subnet_mask - SOAP::SOAPInt
1280
+ # comment - SOAP::SOAPString
1281
+ class Ip_rangeType
1282
+ attr_accessor :id
1283
+ attr_accessor :start_ip
1284
+ attr_accessor :subnet_mask
1285
+ attr_accessor :comment
1286
+
1287
+ def initialize(id = nil, start_ip = nil, subnet_mask = nil, comment = nil)
1288
+ @id = id
1289
+ @start_ip = start_ip
1290
+ @subnet_mask = subnet_mask
1291
+ @comment = comment
1292
+ end
1293
+ end
1294
+
1295
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sample_confType
1296
+ # env_config - Virtuozzo::SOAP::Drivers::Up2date::Env_configType
1297
+ # id - SOAP::SOAPString
1298
+ # name - SOAP::SOAPString
1299
+ # comment - SOAP::SOAPBase64
1300
+ # vt_version - Virtuozzo::SOAP::Drivers::Up2date::Sample_confType::Vt_version
1301
+ class Sample_confType
1302
+
1303
+ # inner class for member: vt_version
1304
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_version
1305
+ # platform - SOAP::SOAPString
1306
+ # architecture - SOAP::SOAPString
1307
+ # vt_technology - SOAP::SOAPString
1308
+ class Vt_version
1309
+ attr_accessor :platform
1310
+ attr_accessor :architecture
1311
+ attr_accessor :vt_technology
1312
+
1313
+ def initialize(platform = nil, architecture = nil, vt_technology = nil)
1314
+ @platform = platform
1315
+ @architecture = architecture
1316
+ @vt_technology = vt_technology
1317
+ end
1318
+ end
1319
+
1320
+ attr_accessor :env_config
1321
+ attr_accessor :id
1322
+ attr_accessor :name
1323
+ attr_accessor :comment
1324
+ attr_accessor :vt_version
1325
+
1326
+ def initialize(env_config = nil, id = nil, name = nil, comment = nil, vt_version = nil)
1327
+ @env_config = env_config
1328
+ @id = id
1329
+ @name = name
1330
+ @comment = comment
1331
+ @vt_version = vt_version
1332
+ end
1333
+ end
1334
+
1335
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}interfaceType
1336
+ # name - SOAP::SOAPString
1337
+ # bandwidth - SOAP::SOAPInt
1338
+ # transfer - Virtuozzo::SOAP::Drivers::Up2date::TransferType
1339
+ # ipaddress - (any)
1340
+ # flags - SOAP::SOAPInt
1341
+ class InterfaceType
1342
+ attr_accessor :name
1343
+ attr_accessor :bandwidth
1344
+ attr_accessor :transfer
1345
+ attr_accessor :ipaddress
1346
+ attr_accessor :flags
1347
+
1348
+ def initialize(name = nil, bandwidth = nil, transfer = nil, ipaddress = nil, flags = nil)
1349
+ @name = name
1350
+ @bandwidth = bandwidth
1351
+ @transfer = transfer
1352
+ @ipaddress = ipaddress
1353
+ @flags = flags
1354
+ end
1355
+ end
1356
+
1357
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sys_infoType
1358
+ # load_avg - Virtuozzo::SOAP::Drivers::Up2date::Load_avgType
1359
+ # processes - Virtuozzo::SOAP::Drivers::Up2date::ProcessesType
1360
+ # cpu_load - Virtuozzo::SOAP::Drivers::Up2date::Cpu_loadType
1361
+ # cpu_states - Virtuozzo::SOAP::Drivers::Up2date::Cpu_loadType
1362
+ # users - SOAP::SOAPInt
1363
+ # uptime - SOAP::SOAPLong
1364
+ # memory - Virtuozzo::SOAP::Drivers::Up2date::Sys_infoType::Memory
1365
+ # swap - Virtuozzo::SOAP::Drivers::Up2date::Sys_infoType::Swap
1366
+ class Sys_infoType
1367
+
1368
+ # inner class for member: memory
1369
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}memory
1370
+ # total - SOAP::SOAPLong
1371
+ # used - SOAP::SOAPLong
1372
+ class Memory < ResourceType
1373
+ attr_accessor :total
1374
+ attr_accessor :used
1375
+
1376
+ def initialize(total = nil, used = nil)
1377
+ @total = total
1378
+ @used = used
1379
+ end
1380
+ end
1381
+
1382
+ # inner class for member: swap
1383
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}swap
1384
+ # total - SOAP::SOAPLong
1385
+ # used - SOAP::SOAPLong
1386
+ class Swap < ResourceType
1387
+ attr_accessor :total
1388
+ attr_accessor :used
1389
+
1390
+ def initialize(total = nil, used = nil)
1391
+ @total = total
1392
+ @used = used
1393
+ end
1394
+ end
1395
+
1396
+ attr_accessor :load_avg
1397
+ attr_accessor :processes
1398
+ attr_accessor :cpu_load
1399
+ attr_accessor :cpu_states
1400
+ attr_accessor :users
1401
+ attr_accessor :uptime
1402
+ attr_accessor :memory
1403
+ attr_accessor :swap
1404
+
1405
+ def initialize(load_avg = nil, processes = nil, cpu_load = nil, cpu_states = nil, users = nil, uptime = nil, memory = nil, swap = nil)
1406
+ @load_avg = load_avg
1407
+ @processes = processes
1408
+ @cpu_load = cpu_load
1409
+ @cpu_states = cpu_states
1410
+ @users = users
1411
+ @uptime = uptime
1412
+ @memory = memory
1413
+ @swap = swap
1414
+ end
1415
+ end
1416
+
1417
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ps_infoType
1418
+ # process - Virtuozzo::SOAP::Drivers::Up2date::Ps_infoType::C_Process
1419
+ # param_id - SOAP::SOAPString
1420
+ # run - SOAP::SOAPInt
1421
+ # idle - SOAP::SOAPInt
1422
+ # zombie - SOAP::SOAPInt
1423
+ # sleep - SOAP::SOAPInt
1424
+ # uninterrupt - SOAP::SOAPInt
1425
+ # stopped - SOAP::SOAPInt
1426
+ # total - SOAP::SOAPInt
1427
+ class Ps_infoType
1428
+
1429
+ # inner class for member: process
1430
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}process
1431
+ # pid - SOAP::SOAPInt
1432
+ # param - SOAP::SOAPBase64
1433
+ class C_Process
1434
+ attr_accessor :pid
1435
+ attr_accessor :param
1436
+
1437
+ def initialize(pid = nil, param = [])
1438
+ @pid = pid
1439
+ @param = param
1440
+ end
1441
+ end
1442
+
1443
+ attr_accessor :process
1444
+ attr_accessor :param_id
1445
+ attr_accessor :run
1446
+ attr_accessor :idle
1447
+ attr_accessor :zombie
1448
+ attr_accessor :sleep
1449
+ attr_accessor :uninterrupt
1450
+ attr_accessor :stopped
1451
+ attr_accessor :total
1452
+
1453
+ def initialize(process = [], param_id = [], run = nil, idle = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
1454
+ @process = process
1455
+ @param_id = param_id
1456
+ @run = run
1457
+ @idle = idle
1458
+ @zombie = zombie
1459
+ @sleep = sleep
1460
+ @uninterrupt = uninterrupt
1461
+ @stopped = stopped
1462
+ @total = total
1463
+ end
1464
+ end
1465
+
1466
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avg_statsType
1467
+ # l1 - Virtuozzo::SOAP::Drivers::Up2date::Load_avg_statsType::L1
1468
+ # l2 - Virtuozzo::SOAP::Drivers::Up2date::Load_avg_statsType::L2
1469
+ # l3 - Virtuozzo::SOAP::Drivers::Up2date::Load_avg_statsType::L3
1470
+ class Load_avg_statsType
1471
+
1472
+ # inner class for member: l1
1473
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l1
1474
+ # avg - SOAP::SOAPLong
1475
+ # min - SOAP::SOAPLong
1476
+ # max - SOAP::SOAPLong
1477
+ # cur - SOAP::SOAPLong
1478
+ class L1 < StatsType
1479
+ attr_accessor :avg
1480
+ attr_accessor :min
1481
+ attr_accessor :max
1482
+ attr_accessor :cur
1483
+
1484
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
1485
+ @avg = avg
1486
+ @min = min
1487
+ @max = max
1488
+ @cur = cur
1489
+ end
1490
+ end
1491
+
1492
+ # inner class for member: l2
1493
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l2
1494
+ # avg - SOAP::SOAPLong
1495
+ # min - SOAP::SOAPLong
1496
+ # max - SOAP::SOAPLong
1497
+ # cur - SOAP::SOAPLong
1498
+ class L2 < StatsType
1499
+ attr_accessor :avg
1500
+ attr_accessor :min
1501
+ attr_accessor :max
1502
+ attr_accessor :cur
1503
+
1504
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
1505
+ @avg = avg
1506
+ @min = min
1507
+ @max = max
1508
+ @cur = cur
1509
+ end
1510
+ end
1511
+
1512
+ # inner class for member: l3
1513
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l3
1514
+ # avg - SOAP::SOAPLong
1515
+ # min - SOAP::SOAPLong
1516
+ # max - SOAP::SOAPLong
1517
+ # cur - SOAP::SOAPLong
1518
+ class L3 < StatsType
1519
+ attr_accessor :avg
1520
+ attr_accessor :min
1521
+ attr_accessor :max
1522
+ attr_accessor :cur
1523
+
1524
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
1525
+ @avg = avg
1526
+ @min = min
1527
+ @max = max
1528
+ @cur = cur
1529
+ end
1530
+ end
1531
+
1532
+ attr_accessor :l1
1533
+ attr_accessor :l2
1534
+ attr_accessor :l3
1535
+
1536
+ def initialize(l1 = nil, l2 = nil, l3 = nil)
1537
+ @l1 = l1
1538
+ @l2 = l2
1539
+ @l3 = l3
1540
+ end
1541
+ end
1542
+
1543
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_addressType
1544
+ # ip - (any)
1545
+ # netmask - (any)
1546
+ class Ip_addressType
1547
+ attr_accessor :ip
1548
+ attr_accessor :netmask
1549
+
1550
+ def initialize(ip = nil, netmask = nil)
1551
+ @ip = ip
1552
+ @netmask = netmask
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}userType
1794
+ # initial_group - Virtuozzo::SOAP::Drivers::Up2date::UserType::Initial_group
1795
+ # group - Virtuozzo::SOAP::Drivers::Up2date::UserType::Group
1796
+ # uid - SOAP::SOAPInt
1797
+ # shell - SOAP::SOAPString
1798
+ # password - SOAP::SOAPBase64
1799
+ # home_dir - SOAP::SOAPString
1800
+ # name - SOAP::SOAPString
1801
+ # comment - SOAP::SOAPString
1802
+ class UserType
1803
+
1804
+ # inner class for member: initial_group
1805
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}initial_group
1806
+ # name - SOAP::SOAPString
1807
+ # gid - SOAP::SOAPInt
1808
+ class Initial_group < GroupType
1809
+ attr_accessor :name
1810
+ attr_accessor :gid
1811
+
1812
+ def initialize(name = nil, gid = nil)
1813
+ @name = name
1814
+ @gid = gid
1815
+ end
1816
+ end
1817
+
1818
+ # inner class for member: group
1819
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}group
1820
+ # name - SOAP::SOAPString
1821
+ # gid - SOAP::SOAPInt
1822
+ class Group < GroupType
1823
+ attr_accessor :name
1824
+ attr_accessor :gid
1825
+
1826
+ def initialize(name = nil, gid = nil)
1827
+ @name = name
1828
+ @gid = gid
1829
+ end
1830
+ end
1831
+
1832
+ attr_accessor :initial_group
1833
+ attr_accessor :group
1834
+ attr_accessor :uid
1835
+ attr_accessor :shell
1836
+ attr_accessor :password
1837
+ attr_accessor :home_dir
1838
+ attr_accessor :name
1839
+ attr_accessor :comment
1840
+
1841
+ def initialize(initial_group = nil, group = [], uid = nil, shell = nil, password = nil, home_dir = nil, name = nil, comment = nil)
1842
+ @initial_group = initial_group
1843
+ @group = group
1844
+ @uid = uid
1845
+ @shell = shell
1846
+ @password = password
1847
+ @home_dir = home_dir
1848
+ @name = name
1849
+ @comment = comment
1850
+ end
1851
+ end
1852
+
1853
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groupType
1854
+ # user - Virtuozzo::SOAP::Drivers::Up2date::GroupType::User
1855
+ # member_group - Virtuozzo::SOAP::Drivers::Up2date::GroupType::Member_group
1856
+ # name - SOAP::SOAPString
1857
+ # gid - SOAP::SOAPInt
1858
+ class GroupType
1859
+
1860
+ # inner class for member: user
1861
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}user
1862
+ # name - SOAP::SOAPString
1863
+ class User < UserType
1864
+ attr_accessor :name
1865
+
1866
+ def initialize(name = nil)
1867
+ @name = name
1868
+ end
1869
+ end
1870
+
1871
+ # inner class for member: member_group
1872
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}member_group
1873
+ # name - SOAP::SOAPString
1874
+ class Member_group < GroupType
1875
+ attr_accessor :name
1876
+
1877
+ def initialize(name = nil)
1878
+ @name = name
1879
+ end
1880
+ end
1881
+
1882
+ attr_accessor :user
1883
+ attr_accessor :member_group
1884
+ attr_accessor :name
1885
+ attr_accessor :gid
1886
+
1887
+ def initialize(user = [], member_group = [], name = nil, gid = nil)
1888
+ @user = user
1889
+ @member_group = member_group
1890
+ @name = name
1891
+ @gid = gid
1892
+ end
1893
+ end
1894
+
1895
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}packageType
1896
+ # name - SOAP::SOAPString
1897
+ # summary - SOAP::SOAPString
1898
+ # os - Virtuozzo::SOAP::Drivers::Up2date::OsType
1899
+ # description - SOAP::SOAPString
1900
+ # arch - SOAP::SOAPString
1901
+ # version - SOAP::SOAPString
1902
+ class PackageType
1903
+ attr_accessor :name
1904
+ attr_accessor :summary
1905
+ attr_accessor :os
1906
+ attr_accessor :description
1907
+ attr_accessor :arch
1908
+ attr_accessor :version
1909
+
1910
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil)
1911
+ @name = name
1912
+ @summary = summary
1913
+ @os = os
1914
+ @description = description
1915
+ @arch = arch
1916
+ @version = version
1917
+ end
1918
+ end
1919
+
1920
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}event_dataType
1921
+ class Event_dataType
1922
+ def initialize
1923
+ end
1924
+ end
1925
+
1926
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}alert_dataType
1927
+ # type - SOAP::SOAPInt
1928
+ class Alert_dataType < Event_dataType
1929
+ attr_accessor :type
1930
+
1931
+ def initialize(type = nil)
1932
+ @type = type
1933
+ end
1934
+ end
1935
+
1936
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}named_listType
1937
+ # name - SOAP::SOAPString
1938
+ # value - SOAP::SOAPBase64
1939
+ class Named_listType
1940
+ attr_accessor :name
1941
+ attr_accessor :value
1942
+
1943
+ def initialize(name = nil, value = [])
1944
+ @name = name
1945
+ @value = value
1946
+ end
1947
+ end
1948
+
1949
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}modType
1950
+ # name - SOAP::SOAPString
1951
+ # value - SOAP::SOAPBase64
1952
+ # op - SOAP::SOAPInt
1953
+ class ModType < Named_listType
1954
+ attr_accessor :name
1955
+ attr_accessor :value
1956
+ attr_accessor :op
1957
+
1958
+ def initialize(name = nil, value = [], op = nil)
1959
+ @name = name
1960
+ @value = value
1961
+ @op = op
1962
+ end
1963
+ end
1964
+
1965
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}realmType
1966
+ # id - (any)
1967
+ # type - SOAP::SOAPInt
1968
+ # name - SOAP::SOAPString
1969
+ # builtin - (any)
1970
+ class RealmType
1971
+ attr_accessor :id
1972
+ attr_accessor :type
1973
+ attr_accessor :name
1974
+ attr_accessor :builtin
1975
+
1976
+ def initialize(id = nil, type = nil, name = nil, builtin = nil)
1977
+ @id = id
1978
+ @type = type
1979
+ @name = name
1980
+ @builtin = builtin
1981
+ end
1982
+ end
1983
+
1984
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}eventType
1985
+ # eid - (any)
1986
+ # time - (any)
1987
+ # source - SOAP::SOAPString
1988
+ # category - SOAP::SOAPString
1989
+ # sid - (any)
1990
+ # count - SOAP::SOAPInt
1991
+ # id - (any)
1992
+ # info - Virtuozzo::SOAP::Drivers::Up2date::InfoType
1993
+ # data - Virtuozzo::SOAP::Drivers::Up2date::EventType::C_Data
1994
+ class EventType
1995
+
1996
+ # inner class for member: data
1997
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}data
1998
+ # event_data - Virtuozzo::SOAP::Drivers::Up2date::Event_dataType
1999
+ class C_Data
2000
+ attr_accessor :event_data
2001
+
2002
+ def initialize(event_data = nil)
2003
+ @event_data = event_data
2004
+ end
2005
+ end
2006
+
2007
+ attr_accessor :eid
2008
+ attr_accessor :time
2009
+ attr_accessor :source
2010
+ attr_accessor :category
2011
+ attr_accessor :sid
2012
+ attr_accessor :count
2013
+ attr_accessor :id
2014
+ attr_accessor :info
2015
+ attr_accessor :data
2016
+
2017
+ def initialize(eid = nil, time = nil, source = nil, category = nil, sid = nil, count = nil, id = nil, info = nil, data = nil)
2018
+ @eid = eid
2019
+ @time = time
2020
+ @source = source
2021
+ @category = category
2022
+ @sid = sid
2023
+ @count = count
2024
+ @id = id
2025
+ @info = info
2026
+ @data = data
2027
+ end
2028
+ end
2029
+
2030
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}infoType
2031
+ # message - SOAP::SOAPBase64
2032
+ # translate - (any)
2033
+ # parameter - Virtuozzo::SOAP::Drivers::Up2date::InfoType
2034
+ # name - SOAP::SOAPString
2035
+ class InfoType
2036
+ attr_accessor :message
2037
+ attr_accessor :translate
2038
+ attr_accessor :parameter
2039
+ attr_accessor :name
2040
+
2041
+ def initialize(message = nil, translate = nil, parameter = [], name = nil)
2042
+ @message = message
2043
+ @translate = translate
2044
+ @parameter = parameter
2045
+ @name = name
2046
+ end
2047
+ end
2048
+
2049
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}aceType
2050
+ # type - SOAP::SOAPInt
2051
+ # sid - (any)
2052
+ # rights - SOAP::SOAPBase64
2053
+ class AceType
2054
+ attr_accessor :type
2055
+ attr_accessor :sid
2056
+ attr_accessor :rights
2057
+
2058
+ def initialize(type = nil, sid = nil, rights = nil)
2059
+ @type = type
2060
+ @sid = sid
2061
+ @rights = rights
2062
+ end
2063
+ end
2064
+
2065
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_descriptorType
2066
+ # owner - (any)
2067
+ # group - (any)
2068
+ # dacl - Virtuozzo::SOAP::Drivers::Up2date::Security_descriptorType::Dacl
2069
+ class Security_descriptorType
2070
+
2071
+ # inner class for member: dacl
2072
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}dacl
2073
+ class Dacl < ::Array
2074
+ end
2075
+
2076
+ attr_accessor :owner
2077
+ attr_accessor :group
2078
+ attr_accessor :dacl
2079
+
2080
+ def initialize(owner = nil, group = nil, dacl = nil)
2081
+ @owner = owner
2082
+ @group = group
2083
+ @dacl = dacl
2084
+ end
2085
+ end
2086
+
2087
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_objectType
2088
+ # abstract
2089
+ class Security_objectType
2090
+ def initialize
2091
+ end
2092
+ end
2093
+
2094
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_security_objectType
2095
+ # eid - (any)
2096
+ class Env_security_objectType < Security_objectType
2097
+ attr_accessor :eid
2098
+
2099
+ def initialize(eid = nil)
2100
+ @eid = eid
2101
+ end
2102
+ end
2103
+
2104
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_deviceType
2105
+ # id - SOAP::SOAPString
2106
+ # ip_address - Virtuozzo::SOAP::Drivers::Up2date::Ip_addressType
2107
+ # dhcp - (any)
2108
+ # network_id - SOAP::SOAPBase64
2109
+ # status - Virtuozzo::SOAP::Drivers::Up2date::Net_deviceType::Status
2110
+ class Net_deviceType
2111
+
2112
+ # inner class for member: status
2113
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
2114
+ # up - (any)
2115
+ # down - (any)
2116
+ class Status
2117
+ attr_accessor :up
2118
+ attr_accessor :down
2119
+
2120
+ def initialize(up = nil, down = nil)
2121
+ @up = up
2122
+ @down = down
2123
+ end
2124
+ end
2125
+
2126
+ attr_accessor :id
2127
+ attr_accessor :ip_address
2128
+ attr_accessor :dhcp
2129
+ attr_accessor :network_id
2130
+ attr_accessor :status
2131
+
2132
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil)
2133
+ @id = id
2134
+ @ip_address = ip_address
2135
+ @dhcp = dhcp
2136
+ @network_id = network_id
2137
+ @status = status
2138
+ end
2139
+ end
2140
+
2141
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_nicType
2142
+ # id - SOAP::SOAPString
2143
+ # ip_address - Virtuozzo::SOAP::Drivers::Up2date::Ip_addressType
2144
+ # dhcp - (any)
2145
+ # network_id - SOAP::SOAPBase64
2146
+ # status - Virtuozzo::SOAP::Drivers::Up2date::Net_nicType::Status
2147
+ # mac_address - SOAP::SOAPString
2148
+ class Net_nicType < Net_deviceType
2149
+
2150
+ # inner class for member: status
2151
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
2152
+ # up - (any)
2153
+ # down - (any)
2154
+ class Status
2155
+ attr_accessor :up
2156
+ attr_accessor :down
2157
+
2158
+ def initialize(up = nil, down = nil)
2159
+ @up = up
2160
+ @down = down
2161
+ end
2162
+ end
2163
+
2164
+ attr_accessor :id
2165
+ attr_accessor :ip_address
2166
+ attr_accessor :dhcp
2167
+ attr_accessor :network_id
2168
+ attr_accessor :status
2169
+ attr_accessor :mac_address
2170
+
2171
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil)
2172
+ @id = id
2173
+ @ip_address = ip_address
2174
+ @dhcp = dhcp
2175
+ @network_id = network_id
2176
+ @status = status
2177
+ @mac_address = mac_address
2178
+ end
2179
+ end
2180
+
2181
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}voc_parameterType
2182
+ # id - SOAP::SOAPString
2183
+ # type - SOAP::SOAPString
2184
+ # min - SOAP::SOAPString
2185
+ # max - SOAP::SOAPString
2186
+ # long - SOAP::SOAPString
2187
+ # short - SOAP::SOAPString
2188
+ # category - SOAP::SOAPString
2189
+ # complex - SOAP::SOAPString
2190
+ # default - SOAP::SOAPString
2191
+ # measure - SOAP::SOAPString
2192
+ # data - (any)
2193
+ # name - (any)
2194
+ class Voc_parameterType
2195
+ attr_accessor :id
2196
+ attr_accessor :type
2197
+ attr_accessor :min
2198
+ attr_accessor :max
2199
+ attr_accessor :long
2200
+ attr_accessor :short
2201
+ attr_accessor :category
2202
+ attr_accessor :complex
2203
+ attr_accessor :default
2204
+ attr_accessor :measure
2205
+ attr_accessor :data
2206
+ attr_accessor :name
2207
+
2208
+ 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)
2209
+ @id = id
2210
+ @type = type
2211
+ @min = min
2212
+ @max = max
2213
+ @long = long
2214
+ @short = short
2215
+ @category = category
2216
+ @complex = complex
2217
+ @default = default
2218
+ @measure = measure
2219
+ @data = data
2220
+ @name = name
2221
+ end
2222
+ end
2223
+
2224
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vocabularyType
2225
+ # name - SOAP::SOAPString
2226
+ # parameter - Virtuozzo::SOAP::Drivers::Up2date::Voc_parameterType
2227
+ # category - Virtuozzo::SOAP::Drivers::Up2date::Voc_parameterType
2228
+ class VocabularyType
2229
+ attr_accessor :name
2230
+ attr_accessor :parameter
2231
+ attr_accessor :category
2232
+
2233
+ def initialize(name = nil, parameter = [], category = [])
2234
+ @name = name
2235
+ @parameter = parameter
2236
+ @category = category
2237
+ end
2238
+ end
2239
+
2240
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_statType
2241
+ # cur - SOAP::SOAPAnySimpleType
2242
+ # avg - SOAP::SOAPAnySimpleType
2243
+ # max - SOAP::SOAPAnySimpleType
2244
+ # min - SOAP::SOAPAnySimpleType
2245
+ class Perf_statType
2246
+ attr_accessor :cur
2247
+ attr_accessor :avg
2248
+ attr_accessor :max
2249
+ attr_accessor :min
2250
+
2251
+ def initialize(cur = nil, avg = nil, max = nil, min = nil)
2252
+ @cur = cur
2253
+ @avg = avg
2254
+ @max = max
2255
+ @min = min
2256
+ end
2257
+ end
2258
+
2259
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_dataType
2260
+ # eid - (any)
2261
+ # m_class - Virtuozzo::SOAP::Drivers::Up2date::Perf_dataType::C_Class
2262
+ # interval - Virtuozzo::SOAP::Drivers::Up2date::IntervalType
2263
+ class Perf_dataType
2264
+
2265
+ # inner class for member: class
2266
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}class
2267
+ # name - SOAP::SOAPString
2268
+ # instance - Virtuozzo::SOAP::Drivers::Up2date::Perf_dataType::C_Class::Instance
2269
+ class C_Class
2270
+
2271
+ # inner class for member: instance
2272
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}instance
2273
+ # name - SOAP::SOAPString
2274
+ # counter - Virtuozzo::SOAP::Drivers::Up2date::Perf_dataType::C_Class::Instance::Counter
2275
+ class Instance
2276
+
2277
+ # inner class for member: counter
2278
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}counter
2279
+ # name - SOAP::SOAPString
2280
+ # value - Virtuozzo::SOAP::Drivers::Up2date::Perf_statType
2281
+ class Counter
2282
+ attr_accessor :name
2283
+ attr_accessor :value
2284
+
2285
+ def initialize(name = nil, value = nil)
2286
+ @name = name
2287
+ @value = value
2288
+ end
2289
+ end
2290
+
2291
+ attr_accessor :name
2292
+ attr_accessor :counter
2293
+
2294
+ def initialize(name = nil, counter = [])
2295
+ @name = name
2296
+ @counter = counter
2297
+ end
2298
+ end
2299
+
2300
+ attr_accessor :name
2301
+ attr_accessor :instance
2302
+
2303
+ def initialize(name = nil, instance = [])
2304
+ @name = name
2305
+ @instance = instance
2306
+ end
2307
+ end
2308
+
2309
+ attr_accessor :eid
2310
+ attr_accessor :interval
2311
+
2312
+ def m_class
2313
+ @v_class
2314
+ end
2315
+
2316
+ def m_class=(value)
2317
+ @v_class = value
2318
+ end
2319
+
2320
+ def initialize(eid = nil, v_class = [], interval = nil)
2321
+ @eid = eid
2322
+ @v_class = v_class
2323
+ @interval = interval
2324
+ end
2325
+ end
2326
+
2327
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_options_baseType
2328
+ class Log_options_baseType
2329
+ def initialize
2330
+ end
2331
+ end
2332
+
2333
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_optionsType
2334
+ class Log_optionsType < Log_options_baseType
2335
+ def initialize
2336
+ end
2337
+ end
2338
+
2339
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transport_type
2340
+ class Transport_type < ::String
2341
+ Tcp = Transport_type.new("tcp")
2342
+ Udp = Transport_type.new("udp")
2343
+ end
2344
+
2345
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}yes_no_type
2346
+ class Yes_no_type < ::String
2347
+ No = Yes_no_type.new("no")
2348
+ Yes = Yes_no_type.new("yes")
2349
+ end
2350
+
2351
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaup2date}get_config
2352
+ class Get_config < ::String
2353
+ def initialize(*arg)
2354
+ super
2355
+ end
2356
+ end
2357
+
2358
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaup2date}get_configResponse
2359
+ # config - Virtuozzo::SOAP::Drivers::Up2date::ConfigurationType
2360
+ class Get_configResponse
2361
+ attr_accessor :config
2362
+
2363
+ def initialize(config = nil)
2364
+ @config = config
2365
+ end
2366
+ end
2367
+
2368
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaup2date}set_config
2369
+ # config - Virtuozzo::SOAP::Drivers::Up2date::ConfigurationType
2370
+ class Set_config
2371
+ attr_accessor :config
2372
+
2373
+ def initialize(config = nil)
2374
+ @config = config
2375
+ end
2376
+ end
2377
+
2378
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaup2date}set_configResponse
2379
+ class Set_configResponse < ::String
2380
+ def initialize(*arg)
2381
+ super
2382
+ end
2383
+ end
2384
+
2385
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaup2date}list
2386
+ class List < ::Array
2387
+ end
2388
+
2389
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaup2date}listResponse
2390
+ class ListResponse < ::Array
2391
+ end
2392
+
2393
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaup2date}install
2394
+ # update - Virtuozzo::SOAP::Drivers::Up2date::Install::Update
2395
+ # no_reboot - (any)
2396
+ # no_boot_loader - SOAP::SOAPString
2397
+ class Install
2398
+
2399
+ # inner class for member: update
2400
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaup2date}update
2401
+ # id - SOAP::SOAPString
2402
+ # name - SOAP::SOAPBase64
2403
+ class Update < UpdateType
2404
+ attr_accessor :id
2405
+ attr_accessor :name
2406
+
2407
+ def initialize(id = nil, name = nil)
2408
+ @id = id
2409
+ @name = name
2410
+ end
2411
+ end
2412
+
2413
+ attr_accessor :update
2414
+ attr_accessor :no_reboot
2415
+ attr_accessor :no_boot_loader
2416
+
2417
+ def initialize(update = [], no_reboot = nil, no_boot_loader = nil)
2418
+ @update = update
2419
+ @no_reboot = no_reboot
2420
+ @no_boot_loader = no_boot_loader
2421
+ end
2422
+ end
2423
+
2424
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaup2date}installResponse
2425
+ class InstallResponse < ::Array
2426
+ end
2427
+
2428
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaup2date}uninstall
2429
+ # update - Virtuozzo::SOAP::Drivers::Up2date::Uninstall::Update
2430
+ # no_reboot - (any)
2431
+ class Uninstall
2432
+
2433
+ # inner class for member: update
2434
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaup2date}update
2435
+ # id - SOAP::SOAPString
2436
+ # name - SOAP::SOAPBase64
2437
+ class Update < UpdateType
2438
+ attr_accessor :id
2439
+ attr_accessor :name
2440
+
2441
+ def initialize(id = nil, name = nil)
2442
+ @id = id
2443
+ @name = name
2444
+ end
2445
+ end
2446
+
2447
+ attr_accessor :update
2448
+ attr_accessor :no_reboot
2449
+
2450
+ def initialize(update = [], no_reboot = nil)
2451
+ @update = update
2452
+ @no_reboot = no_reboot
2453
+ end
2454
+ end
2455
+
2456
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaup2date}uninstallResponse
2457
+ class UninstallResponse < ::String
2458
+ def initialize(*arg)
2459
+ super
2460
+ end
2461
+ end
2462
+
2463
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaup2date}product
2464
+ # id - SOAP::SOAPString
2465
+ # name - SOAP::SOAPBase64
2466
+ # install - Virtuozzo::SOAP::Drivers::Up2date::Product::Install
2467
+ # source - Virtuozzo::SOAP::Drivers::Up2date::Product::Source
2468
+ # destination - SOAP::SOAPBase64
2469
+ class Product
2470
+
2471
+ # inner class for member: install
2472
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaup2date}install
2473
+ # manual - (any)
2474
+ # automatic - (any)
2475
+ # disabled - (any)
2476
+ # auto_download - (any)
2477
+ class Install
2478
+ attr_accessor :manual
2479
+ attr_accessor :automatic
2480
+ attr_accessor :disabled
2481
+ attr_accessor :auto_download
2482
+
2483
+ def initialize(manual = nil, automatic = nil, disabled = nil, auto_download = nil)
2484
+ @manual = manual
2485
+ @automatic = automatic
2486
+ @disabled = disabled
2487
+ @auto_download = auto_download
2488
+ end
2489
+ end
2490
+
2491
+ # inner class for member: source
2492
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaup2date}source
2493
+ # value - SOAP::SOAPBase64
2494
+ # standard - SOAP::SOAPBase64
2495
+ class Source
2496
+ attr_accessor :value
2497
+ attr_accessor :standard
2498
+
2499
+ def initialize(value = nil, standard = nil)
2500
+ @value = value
2501
+ @standard = standard
2502
+ end
2503
+ end
2504
+
2505
+ attr_accessor :id
2506
+ attr_accessor :name
2507
+ attr_accessor :install
2508
+ attr_accessor :source
2509
+ attr_accessor :destination
2510
+
2511
+ def initialize(id = nil, name = nil, install = nil, source = nil, destination = nil)
2512
+ @id = id
2513
+ @name = name
2514
+ @install = install
2515
+ @source = source
2516
+ @destination = destination
2517
+ end
2518
+ end
2519
+
2520
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet
2521
+ # auth - Virtuozzo::SOAP::Drivers::Up2date::AuthType
2522
+ # cookie - SOAP::SOAPString
2523
+ # target - SOAP::SOAPString
2524
+ # origin - SOAP::SOAPString
2525
+ # src - Virtuozzo::SOAP::Drivers::Up2date::RouteType
2526
+ # dst - Virtuozzo::SOAP::Drivers::Up2date::RouteType
2527
+ # session - SOAP::SOAPString
2528
+ # data - Virtuozzo::SOAP::Drivers::Up2date::Packet::C_Data
2529
+ # xmlattr_version - SOAP::SOAPString
2530
+ # xmlattr_id - SOAP::SOAPString
2531
+ # xmlattr_priority - SOAP::SOAPString
2532
+ # xmlattr_time - SOAP::SOAPString
2533
+ # xmlattr_progress - SOAP::SOAPString
2534
+ # xmlattr_log - SOAP::SOAPString
2535
+ # xmlattr_type - SOAP::SOAPInt
2536
+ # xmlattr_timeout - SOAP::SOAPInt
2537
+ # xmlattr_timeout_limit - SOAP::SOAPInt
2538
+ # xmlattr_uid - SOAP::SOAPInt
2539
+ class Packet < Packet_headerType
2540
+ AttrC_Time = XSD::QName.new(nil, "time")
2541
+ AttrId = XSD::QName.new(nil, "id")
2542
+ AttrLog = XSD::QName.new(nil, "log")
2543
+ AttrPriority = XSD::QName.new(nil, "priority")
2544
+ AttrProgress = XSD::QName.new(nil, "progress")
2545
+ AttrTimeout = XSD::QName.new(nil, "timeout")
2546
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
2547
+ AttrType = XSD::QName.new(nil, "type")
2548
+ AttrUid = XSD::QName.new(nil, "uid")
2549
+ AttrVersion = XSD::QName.new(nil, "version")
2550
+
2551
+ # inner class for member: data
2552
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}data
2553
+ class C_Data < ::Array
2554
+ end
2555
+
2556
+ attr_accessor :auth
2557
+ attr_accessor :cookie
2558
+ attr_accessor :target
2559
+ attr_accessor :origin
2560
+ attr_accessor :src
2561
+ attr_accessor :dst
2562
+ attr_accessor :session
2563
+ attr_accessor :data
2564
+
2565
+ def __xmlattr
2566
+ @__xmlattr ||= {}
2567
+ end
2568
+
2569
+ def xmlattr_version
2570
+ __xmlattr[AttrVersion]
2571
+ end
2572
+
2573
+ def xmlattr_version=(value)
2574
+ __xmlattr[AttrVersion] = value
2575
+ end
2576
+
2577
+ def xmlattr_id
2578
+ __xmlattr[AttrId]
2579
+ end
2580
+
2581
+ def xmlattr_id=(value)
2582
+ __xmlattr[AttrId] = value
2583
+ end
2584
+
2585
+ def xmlattr_priority
2586
+ __xmlattr[AttrPriority]
2587
+ end
2588
+
2589
+ def xmlattr_priority=(value)
2590
+ __xmlattr[AttrPriority] = value
2591
+ end
2592
+
2593
+ def xmlattr_time
2594
+ __xmlattr[AttrC_Time]
2595
+ end
2596
+
2597
+ def xmlattr_time=(value)
2598
+ __xmlattr[AttrC_Time] = value
2599
+ end
2600
+
2601
+ def xmlattr_progress
2602
+ __xmlattr[AttrProgress]
2603
+ end
2604
+
2605
+ def xmlattr_progress=(value)
2606
+ __xmlattr[AttrProgress] = value
2607
+ end
2608
+
2609
+ def xmlattr_log
2610
+ __xmlattr[AttrLog]
2611
+ end
2612
+
2613
+ def xmlattr_log=(value)
2614
+ __xmlattr[AttrLog] = value
2615
+ end
2616
+
2617
+ def xmlattr_type
2618
+ __xmlattr[AttrType]
2619
+ end
2620
+
2621
+ def xmlattr_type=(value)
2622
+ __xmlattr[AttrType] = value
2623
+ end
2624
+
2625
+ def xmlattr_timeout
2626
+ __xmlattr[AttrTimeout]
2627
+ end
2628
+
2629
+ def xmlattr_timeout=(value)
2630
+ __xmlattr[AttrTimeout] = value
2631
+ end
2632
+
2633
+ def xmlattr_timeout_limit
2634
+ __xmlattr[AttrTimeout_limit]
2635
+ end
2636
+
2637
+ def xmlattr_timeout_limit=(value)
2638
+ __xmlattr[AttrTimeout_limit] = value
2639
+ end
2640
+
2641
+ def xmlattr_uid
2642
+ __xmlattr[AttrUid]
2643
+ end
2644
+
2645
+ def xmlattr_uid=(value)
2646
+ __xmlattr[AttrUid] = value
2647
+ end
2648
+
2649
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil)
2650
+ @auth = auth
2651
+ @cookie = cookie
2652
+ @target = target
2653
+ @origin = origin
2654
+ @src = src
2655
+ @dst = dst
2656
+ @session = session
2657
+ @data = data
2658
+ @__xmlattr = {}
2659
+ end
2660
+ end
2661
+
2662
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ok
2663
+ class Ok < ::String
2664
+ def initialize(*arg)
2665
+ super
2666
+ end
2667
+ end
2668
+
2669
+
2670
+ end; end; end; end