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