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