plainprograms-virtuozzo 0.5.3 → 0.6.0

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