plainprograms-virtuozzo 0.5.3 → 0.6.0

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