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