File Coverage

blib/lib/Protocol/Sys/Virt/Remote/XDR.pm
Criterion Covered Total %
statement 239 14297 1.6
branch 0 12892 0.0
condition 0 4239 0.0
subroutine 80 1518 5.2
pod 0 1438 0.0
total 319 34384 0.9


line stmt bran cond sub pod time code
1             ####################################################################
2             #
3             # This file was generated using XDR::Parse version v1.0.1,
4             # XDR::Gen version 1.1.2 and LibVirt version v12.5.0
5             #
6             # Don't edit this file, use the source template instead
7             #
8             # ANY CHANGES HERE WILL BE LOST !
9             #
10             ####################################################################
11              
12             package Protocol::Sys::Virt::Remote::XDR v12.5.0;
13              
14             use constant {
15 1         90 VIR_TYPED_PARAM_INT => 1,
16             VIR_TYPED_PARAM_UINT => 2,
17             VIR_TYPED_PARAM_LLONG => 3,
18             VIR_TYPED_PARAM_ULLONG => 4,
19             VIR_TYPED_PARAM_DOUBLE => 5,
20             VIR_TYPED_PARAM_BOOLEAN => 6,
21             VIR_TYPED_PARAM_STRING => 7,
22 1     1   11 };
  1         2  
23              
24 1     1   9 use v5.14;
  1         2  
25 1     1   5 use warnings FATAL => 'uninitialized';
  1         1  
  1         46  
26 1     1   4 use Config;
  1         1  
  1         45  
27 1     1   4 use Carp qw(croak);
  1         1  
  1         69  
28 1     1   5 use constant STRING_MAX => 4194304; # 4194304
  1         2  
  1         508  
29             # @_: ($class, $value, $index, $input) = @_;
30             sub deserialize_nonnull_string {
31 0     0 0   my $input_length = length $_[3];
32             # my ($class, $value, $index, $input) = @_;
33 0           do {
34 0 0         die "Input buffer too short"
35             if ($input_length - $_[2]) < 4;
36 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
37 0           $_[2] += 4;
38 0 0         die "String too long (max: 4194304): $len"
39             unless ($len <= 4194304);
40 0 0         die "Input buffer too short"
41             if ($input_length - $_[2]) < $len;
42 0           $_[1] = substr( $_[3], $_[2], $len );
43 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
44             };
45             }
46             # @_: ($class, $value, $index, $output) = @_;
47             sub serialize_nonnull_string {
48             # my ($class, $value, $index, $output) = @_;
49 0     0 0   do {
50 0           my $len = length $_[1];
51 0 0         croak "Missing required input 'string' value"
52             unless defined $_[1];
53 0 0         die "String too long (max: 4194304): $len"
54             unless ($len <= 4194304);
55              
56 0           substr( $_[3], $_[2] ) = pack("L>", $len);
57 0           $_[2] += 4;
58 0           substr( $_[3], $_[2] ) = $_[1];
59 0           $_[2] += $len;
60 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
61 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
62 0           $_[2] += $pad;
63             }
64             };
65             }
66             # @_: ($class, $value, $index, $input) = @_;
67             sub deserialize_string {
68 0     0 0   my $input_length = length $_[3];
69             # my ($class, $value, $index, $input) = @_;
70 0           do {
71 0           my $b;
72             # my ($class, $value, $index, $input) = @_;
73 0 0         die "Input buffer too short"
74             if ($input_length - $_[2]) < 4;
75 0           $b = unpack("L>", substr( $_[3], $_[2] ));
76 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
77             unless $b == 0 or $b == 1;
78 0           $_[2] += 4;
79 0 0         if ($b) {
80             # my ($class, $value, $index, $input) = @_;
81 0           $_[0]->deserialize_nonnull_string( $_[1], $_[2], $_[3] );
82             }
83             else {
84 0           $_[1] = undef;
85             }
86             };
87             }
88             # @_: ($class, $value, $index, $output) = @_;
89             sub serialize_string {
90             # my ($class, $value, $index, $output) = @_;
91 0 0   0 0   if (defined $_[1]) {
92             # my ($class, $value, $index, $output) = @_;
93             # Allow to model a value
94 0           substr( $_[3], $_[2] ) = pack("L>", 1);
95 0           $_[2] += 4;
96             # my ($class, $value, $index, $output) = @_;
97 0           $_[0]->serialize_nonnull_string( $_[1], $_[2], $_[3] );
98             }
99             else {
100             # my ($class, $value, $index, $output) = @_;
101             # Allow to model a value
102 0           substr( $_[3], $_[2] ) = pack("L>", 0);
103 0           $_[2] += 4;
104             }
105             }
106 1     1   6 use constant CONNECT_IDENTITY_PARAMS_MAX => 20; # 20
  1         2  
  1         45  
107 1     1   3 use constant DOMAIN_LIST_MAX => 16384; # 16384
  1         2  
  1         42  
108 1     1   3 use constant CPUMAP_MAX => 2048; # 2048
  1         1  
  1         58  
109 1     1   4 use constant VCPUINFO_MAX => 16384; # 16384
  1         1  
  1         52  
110 1     1   4 use constant CPUMAPS_MAX => 8388608; # 8388608
  1         2  
  1         29  
111 1     1   12 use constant IOTHREAD_INFO_MAX => 16384; # 16384
  1         1  
  1         44  
112 1     1   3 use constant MIGRATE_COOKIE_MAX => 4194304; # 4194304
  1         1  
  1         37  
113 1     1   3 use constant NETWORK_LIST_MAX => 16384; # 16384
  1         2  
  1         34  
114 1     1   3 use constant NETWORK_PORT_LIST_MAX => 16384; # 16384
  1         1  
  1         65  
115 1     1   28 use constant INTERFACE_LIST_MAX => 16384; # 16384
  1         12  
  1         39  
116 1     1   4 use constant STORAGE_POOL_LIST_MAX => 16384; # 16384
  1         1  
  1         58  
117 1     1   5 use constant STORAGE_VOL_LIST_MAX => 16384; # 16384
  1         1  
  1         31  
118 1     1   3 use constant NODE_DEVICE_LIST_MAX => 65536; # 65536
  1         1  
  1         35  
119 1     1   3 use constant NODE_DEVICE_CAPS_LIST_MAX => 65536; # 65536
  1         1  
  1         42  
120 1     1   3 use constant NWFILTER_LIST_MAX => 16384; # 16384
  1         1  
  1         28  
121 1     1   3 use constant NWFILTER_BINDING_LIST_MAX => 16384; # 16384
  1         1  
  1         33  
122 1     1   3 use constant DOMAIN_SCHEDULER_PARAMETERS_MAX => 16; # 16
  1         2  
  1         25  
123 1     1   3 use constant DOMAIN_BLKIO_PARAMETERS_MAX => 16; # 16
  1         1  
  1         34  
124 1     1   4 use constant DOMAIN_MEMORY_PARAMETERS_MAX => 16; # 16
  1         1  
  1         53  
125 1     1   4 use constant DOMAIN_BLOCK_IO_TUNE_PARAMETERS_MAX => 32; # 32
  1         1  
  1         36  
126 1     1   3 use constant DOMAIN_NUMA_PARAMETERS_MAX => 16; # 16
  1         2  
  1         35  
127 1     1   3 use constant DOMAIN_PERF_EVENTS_MAX => 64; # 64
  1         2  
  1         48  
128 1     1   5 use constant DOMAIN_BLOCK_COPY_PARAMETERS_MAX => 16; # 16
  1         2  
  1         30  
129 1     1   3 use constant NODE_CPU_STATS_MAX => 16; # 16
  1         1  
  1         33  
130 1     1   4 use constant NODE_MEMORY_STATS_MAX => 16; # 16
  1         1  
  1         35  
131 1     1   3 use constant DOMAIN_BLOCK_STATS_PARAMETERS_MAX => 16; # 16
  1         1  
  1         26  
132 1     1   3 use constant NODE_MAX_CELLS => 1024; # 1024
  1         1  
  1         37  
133 1     1   3 use constant AUTH_SASL_DATA_MAX => 65536; # 65536
  1         2  
  1         38  
134 1     1   3 use constant AUTH_TYPE_LIST_MAX => 20; # 20
  1         1  
  1         25  
135 1     1   3 use constant DOMAIN_MEMORY_STATS_MAX => 1024; # 1024
  1         1  
  1         37  
136 1     1   4 use constant DOMAIN_CHECKPOINT_LIST_MAX => 16384; # 16384
  1         1  
  1         34  
137 1     1   3 use constant DOMAIN_SNAPSHOT_LIST_MAX => 16384; # 16384
  1         1  
  1         32  
138 1     1   3 use constant DOMAIN_BLOCK_PEEK_BUFFER_MAX => 4194304; # 4194304
  1         1  
  1         76  
139 1     1   5 use constant DOMAIN_MEMORY_PEEK_BUFFER_MAX => 4194304; # 4194304
  1         1  
  1         33  
140 1     1   3 use constant SECURITY_LABEL_LIST_MAX => 64; # 64
  1         1  
  1         38  
141 1     1   3 use constant SECURITY_MODEL_MAX => 257; # VIR_SECURITY_MODEL_BUFLEN
  1         1  
  1         33  
142 1     1   4 use constant SECURITY_LABEL_MAX => 4097; # VIR_SECURITY_LABEL_BUFLEN
  1         1  
  1         38  
143 1     1   3 use constant SECURITY_DOI_MAX => 257; # VIR_SECURITY_DOI_BUFLEN
  1         1  
  1         65  
144 1     1   4 use constant SECRET_VALUE_MAX => 65536; # 65536
  1         1  
  1         39  
145 1     1   3 use constant SECRET_LIST_MAX => 16384; # 16384
  1         1  
  1         27  
146 1     1   3 use constant CPU_BASELINE_MAX => 256; # 256
  1         1  
  1         33  
147 1     1   3 use constant DOMAIN_SEND_KEY_MAX => 16; # 16
  1         1  
  1         49  
148 1     1   4 use constant DOMAIN_INTERFACE_PARAMETERS_MAX => 16; # 16
  1         1  
  1         30  
149 1     1   3 use constant DOMAIN_GET_CPU_STATS_NCPUS_MAX => 128; # 128
  1         1  
  1         33  
150 1     1   3 use constant DOMAIN_GET_CPU_STATS_MAX => 2048; # 2048
  1         1  
  1         74  
151 1     1   4 use constant DOMAIN_DISK_ERRORS_MAX => 256; # 256
  1         1  
  1         43  
152 1     1   4 use constant NODE_MEMORY_PARAMETERS_MAX => 64; # 64
  1         1  
  1         39  
153 1     1   3 use constant DOMAIN_MIGRATE_PARAM_LIST_MAX => 64; # 64
  1         2  
  1         26  
154 1     1   3 use constant DOMAIN_SAVE_PARAMS_MAX => 64; # 64
  1         1  
  1         39  
155 1     1   3 use constant DOMAIN_JOB_STATS_MAX => 64; # 64
  1         2  
  1         26  
156 1     1   3 use constant CONNECT_CPU_MODELS_MAX => 8192; # 8192
  1         1  
  1         35  
157 1     1   3 use constant DOMAIN_FSFREEZE_MOUNTPOINTS_MAX => 256; # 256
  1         9  
  1         36  
158 1     1   4 use constant NETWORK_DHCP_LEASES_MAX => 65536; # 65536
  1         1  
  1         44  
159 1     1   3 use constant CONNECT_GET_ALL_DOMAIN_STATS_MAX => 262144; # 262144
  1         2  
  1         29  
160 1     1   3 use constant DOMAIN_EVENT_TUNABLE_MAX => 2048; # 2048
  1         1  
  1         24  
161 1     1   3 use constant DOMAIN_FSINFO_MAX => 256; # 256
  1         2  
  1         59  
162 1     1   5 use constant DOMAIN_FSINFO_DISKS_MAX => 256; # 256
  1         1  
  1         28  
163 1     1   3 use constant DOMAIN_INTERFACE_MAX => 2048; # 2048
  1         1  
  1         34  
164 1     1   3 use constant DOMAIN_IP_ADDR_MAX => 2048; # 2048
  1         2  
  1         26  
165 1     1   3 use constant DOMAIN_GUEST_VCPU_PARAMS_MAX => 64; # 64
  1         9  
  1         28  
166 1     1   3 use constant DOMAIN_IOTHREAD_PARAMS_MAX => 64; # 64
  1         1  
  1         51  
167 1     1   4 use constant NODE_SEV_INFO_MAX => 64; # 64
  1         1  
  1         41  
168 1     1   4 use constant DOMAIN_LAUNCH_SECURITY_INFO_PARAMS_MAX => 64; # 64
  1         1  
  1         37  
169 1     1   4 use constant DOMAIN_LAUNCH_SECURITY_STATE_PARAMS_MAX => 64; # 64
  1         1  
  1         34  
170 1     1   3 use constant DOMAIN_GUEST_INFO_PARAMS_MAX => 2048; # 2048
  1         1  
  1         26  
171 1     1   3 use constant NETWORK_PORT_PARAMETERS_MAX => 16; # 16
  1         1  
  1         52  
172 1     1   4 use constant DOMAIN_AUTHORIZED_SSH_KEYS_MAX => 2048; # 2048
  1         1  
  1         28  
173 1     1   12 use constant DOMAIN_MESSAGES_MAX => 2048; # 2048
  1         2  
  1         28  
174 1     1   3 use constant DOMAIN_ANNOUNCE_INTERFACE_PARAMS_MAX => 16; # 16
  1         1  
  1         4663  
175             # @_: ($class, $value, $index, $input) = @_;
176             sub deserialize_uuid {
177 0     0 0   my $input_length = length $_[3];
178             # my ($class, $value, $index, $input) = @_;
179 0 0         die "Input buffer too short"
180             if ($input_length - $_[2]) < 16;
181 0           $_[1] = substr( $_[3], $_[2], 16 );
182 0           $_[2] += 16;
183             }
184             # @_: ($class, $value, $index, $output) = @_;
185             sub serialize_uuid {
186             # my ($class, $value, $index, $output) = @_;
187 0 0   0 0   croak "Missing required input 'opaque data' value"
188             unless defined $_[1];
189 0           do {
190 0           my $len = length $_[1];
191 0 0         die "Opaque data length mismatch (defined: 16): $len"
192             if not $len == 16;
193              
194 0           substr( $_[3], $_[2] ) = $_[1];
195 0           $_[2] += $len;
196             };
197             }
198             # @_: ($class, $value, $index, $input) = @_;
199             sub deserialize_nonnull_domain {
200 0     0 0   my $input_length = length $_[3];
201 0           $_[1] = {};
202             # Deserializing field: 'name'
203             # my ($class, $value, $index, $input) = @_;
204 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
205              
206             # Deserializing field: 'uuid'
207             # my ($class, $value, $index, $input) = @_;
208 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
209              
210             # Deserializing field: 'id'
211             # my ($class, $value, $index, $input) = @_;
212 0 0         die "Input buffer too short"
213             if ($input_length - $_[2]) < 4;
214 0           $_[1]->{id} = unpack("l>", substr( $_[3], $_[2] ));
215 0           $_[2] += 4;
216             die "Out of bounds 'int': $_[1]->{id}"
217 0 0 0       unless (-2147483648 <= $_[1]->{id} and $_[1]->{id} < 2147483648);
218             }
219             # @_: ($class, $value, $index, $output) = @_;
220             sub serialize_nonnull_domain {
221 0 0   0 0   croak "Missing required input 'struct' value"
222             unless defined $_[1];
223              
224             # Serializing field: 'name'
225             croak "Missing required input value 'name'"
226 0 0         unless exists $_[1]->{name};
227             # my ($class, $value, $index, $output) = @_;
228 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
229              
230             # Serializing field: 'uuid'
231             croak "Missing required input value 'uuid'"
232 0 0         unless exists $_[1]->{uuid};
233             # my ($class, $value, $index, $output) = @_;
234 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
235              
236             # Serializing field: 'id'
237             croak "Missing required input value 'id'"
238 0 0         unless exists $_[1]->{id};
239             # my ($class, $value, $index, $output) = @_;
240             croak "Missing required input 'int' value"
241 0 0         unless defined $_[1]->{id};
242             die "Out of bounds 'int': $_[1]->{id}"
243 0 0 0       unless (-2147483648 <= $_[1]->{id} and $_[1]->{id} < 2147483648);
244             die "Non-integer 'int' value given: $_[1]->{id}"
245 0 0         unless int($_[1]->{id}) == $_[1]->{id};
246 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{id});
247 0           $_[2] += 4;
248             }
249             # @_: ($class, $value, $index, $input) = @_;
250             sub deserialize_nonnull_network {
251 0     0 0   my $input_length = length $_[3];
252 0           $_[1] = {};
253             # Deserializing field: 'name'
254             # my ($class, $value, $index, $input) = @_;
255 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
256              
257             # Deserializing field: 'uuid'
258             # my ($class, $value, $index, $input) = @_;
259 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
260             }
261             # @_: ($class, $value, $index, $output) = @_;
262             sub serialize_nonnull_network {
263 0 0   0 0   croak "Missing required input 'struct' value"
264             unless defined $_[1];
265              
266             # Serializing field: 'name'
267             croak "Missing required input value 'name'"
268 0 0         unless exists $_[1]->{name};
269             # my ($class, $value, $index, $output) = @_;
270 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
271              
272             # Serializing field: 'uuid'
273             croak "Missing required input value 'uuid'"
274 0 0         unless exists $_[1]->{uuid};
275             # my ($class, $value, $index, $output) = @_;
276 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
277             }
278             # @_: ($class, $value, $index, $input) = @_;
279             sub deserialize_nonnull_network_port {
280 0     0 0   my $input_length = length $_[3];
281 0           $_[1] = {};
282             # Deserializing field: 'net'
283             # my ($class, $value, $index, $input) = @_;
284 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
285              
286             # Deserializing field: 'uuid'
287             # my ($class, $value, $index, $input) = @_;
288 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
289             }
290             # @_: ($class, $value, $index, $output) = @_;
291             sub serialize_nonnull_network_port {
292 0 0   0 0   croak "Missing required input 'struct' value"
293             unless defined $_[1];
294              
295             # Serializing field: 'net'
296             croak "Missing required input value 'net'"
297 0 0         unless exists $_[1]->{net};
298             # my ($class, $value, $index, $output) = @_;
299 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
300              
301             # Serializing field: 'uuid'
302             croak "Missing required input value 'uuid'"
303 0 0         unless exists $_[1]->{uuid};
304             # my ($class, $value, $index, $output) = @_;
305 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
306             }
307             # @_: ($class, $value, $index, $input) = @_;
308             sub deserialize_nonnull_nwfilter {
309 0     0 0   my $input_length = length $_[3];
310 0           $_[1] = {};
311             # Deserializing field: 'name'
312             # my ($class, $value, $index, $input) = @_;
313 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
314              
315             # Deserializing field: 'uuid'
316             # my ($class, $value, $index, $input) = @_;
317 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
318             }
319             # @_: ($class, $value, $index, $output) = @_;
320             sub serialize_nonnull_nwfilter {
321 0 0   0 0   croak "Missing required input 'struct' value"
322             unless defined $_[1];
323              
324             # Serializing field: 'name'
325             croak "Missing required input value 'name'"
326 0 0         unless exists $_[1]->{name};
327             # my ($class, $value, $index, $output) = @_;
328 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
329              
330             # Serializing field: 'uuid'
331             croak "Missing required input value 'uuid'"
332 0 0         unless exists $_[1]->{uuid};
333             # my ($class, $value, $index, $output) = @_;
334 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
335             }
336             # @_: ($class, $value, $index, $input) = @_;
337             sub deserialize_nonnull_nwfilter_binding {
338 0     0 0   my $input_length = length $_[3];
339 0           $_[1] = {};
340             # Deserializing field: 'portdev'
341             # my ($class, $value, $index, $input) = @_;
342 0           $_[0]->deserialize_nonnull_string( $_[1]->{portdev}, $_[2], $_[3] );
343              
344             # Deserializing field: 'filtername'
345             # my ($class, $value, $index, $input) = @_;
346 0           $_[0]->deserialize_nonnull_string( $_[1]->{filtername}, $_[2], $_[3] );
347             }
348             # @_: ($class, $value, $index, $output) = @_;
349             sub serialize_nonnull_nwfilter_binding {
350 0 0   0 0   croak "Missing required input 'struct' value"
351             unless defined $_[1];
352              
353             # Serializing field: 'portdev'
354             croak "Missing required input value 'portdev'"
355 0 0         unless exists $_[1]->{portdev};
356             # my ($class, $value, $index, $output) = @_;
357 0           $_[0]->serialize_nonnull_string( $_[1]->{portdev}, $_[2], $_[3] );
358              
359             # Serializing field: 'filtername'
360             croak "Missing required input value 'filtername'"
361 0 0         unless exists $_[1]->{filtername};
362             # my ($class, $value, $index, $output) = @_;
363 0           $_[0]->serialize_nonnull_string( $_[1]->{filtername}, $_[2], $_[3] );
364             }
365             # @_: ($class, $value, $index, $input) = @_;
366             sub deserialize_nonnull_interface {
367 0     0 0   my $input_length = length $_[3];
368 0           $_[1] = {};
369             # Deserializing field: 'name'
370             # my ($class, $value, $index, $input) = @_;
371 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
372              
373             # Deserializing field: 'mac'
374             # my ($class, $value, $index, $input) = @_;
375 0           $_[0]->deserialize_nonnull_string( $_[1]->{mac}, $_[2], $_[3] );
376             }
377             # @_: ($class, $value, $index, $output) = @_;
378             sub serialize_nonnull_interface {
379 0 0   0 0   croak "Missing required input 'struct' value"
380             unless defined $_[1];
381              
382             # Serializing field: 'name'
383             croak "Missing required input value 'name'"
384 0 0         unless exists $_[1]->{name};
385             # my ($class, $value, $index, $output) = @_;
386 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
387              
388             # Serializing field: 'mac'
389             croak "Missing required input value 'mac'"
390 0 0         unless exists $_[1]->{mac};
391             # my ($class, $value, $index, $output) = @_;
392 0           $_[0]->serialize_nonnull_string( $_[1]->{mac}, $_[2], $_[3] );
393             }
394             # @_: ($class, $value, $index, $input) = @_;
395             sub deserialize_nonnull_storage_pool {
396 0     0 0   my $input_length = length $_[3];
397 0           $_[1] = {};
398             # Deserializing field: 'name'
399             # my ($class, $value, $index, $input) = @_;
400 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
401              
402             # Deserializing field: 'uuid'
403             # my ($class, $value, $index, $input) = @_;
404 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
405             }
406             # @_: ($class, $value, $index, $output) = @_;
407             sub serialize_nonnull_storage_pool {
408 0 0   0 0   croak "Missing required input 'struct' value"
409             unless defined $_[1];
410              
411             # Serializing field: 'name'
412             croak "Missing required input value 'name'"
413 0 0         unless exists $_[1]->{name};
414             # my ($class, $value, $index, $output) = @_;
415 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
416              
417             # Serializing field: 'uuid'
418             croak "Missing required input value 'uuid'"
419 0 0         unless exists $_[1]->{uuid};
420             # my ($class, $value, $index, $output) = @_;
421 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
422             }
423             # @_: ($class, $value, $index, $input) = @_;
424             sub deserialize_nonnull_storage_vol {
425 0     0 0   my $input_length = length $_[3];
426 0           $_[1] = {};
427             # Deserializing field: 'pool'
428             # my ($class, $value, $index, $input) = @_;
429 0           $_[0]->deserialize_nonnull_string( $_[1]->{pool}, $_[2], $_[3] );
430              
431             # Deserializing field: 'name'
432             # my ($class, $value, $index, $input) = @_;
433 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
434              
435             # Deserializing field: 'key'
436             # my ($class, $value, $index, $input) = @_;
437 0           $_[0]->deserialize_nonnull_string( $_[1]->{key}, $_[2], $_[3] );
438             }
439             # @_: ($class, $value, $index, $output) = @_;
440             sub serialize_nonnull_storage_vol {
441 0 0   0 0   croak "Missing required input 'struct' value"
442             unless defined $_[1];
443              
444             # Serializing field: 'pool'
445             croak "Missing required input value 'pool'"
446 0 0         unless exists $_[1]->{pool};
447             # my ($class, $value, $index, $output) = @_;
448 0           $_[0]->serialize_nonnull_string( $_[1]->{pool}, $_[2], $_[3] );
449              
450             # Serializing field: 'name'
451             croak "Missing required input value 'name'"
452 0 0         unless exists $_[1]->{name};
453             # my ($class, $value, $index, $output) = @_;
454 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
455              
456             # Serializing field: 'key'
457             croak "Missing required input value 'key'"
458 0 0         unless exists $_[1]->{key};
459             # my ($class, $value, $index, $output) = @_;
460 0           $_[0]->serialize_nonnull_string( $_[1]->{key}, $_[2], $_[3] );
461             }
462             # @_: ($class, $value, $index, $input) = @_;
463             sub deserialize_nonnull_node_device {
464 0     0 0   my $input_length = length $_[3];
465 0           $_[1] = {};
466             # Deserializing field: 'name'
467             # my ($class, $value, $index, $input) = @_;
468 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
469             }
470             # @_: ($class, $value, $index, $output) = @_;
471             sub serialize_nonnull_node_device {
472 0 0   0 0   croak "Missing required input 'struct' value"
473             unless defined $_[1];
474              
475             # Serializing field: 'name'
476             croak "Missing required input value 'name'"
477 0 0         unless exists $_[1]->{name};
478             # my ($class, $value, $index, $output) = @_;
479 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
480             }
481             # @_: ($class, $value, $index, $input) = @_;
482             sub deserialize_nonnull_secret {
483 0     0 0   my $input_length = length $_[3];
484 0           $_[1] = {};
485             # Deserializing field: 'uuid'
486             # my ($class, $value, $index, $input) = @_;
487 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
488              
489             # Deserializing field: 'usageType'
490             # my ($class, $value, $index, $input) = @_;
491 0 0         die "Input buffer too short"
492             if ($input_length - $_[2]) < 4;
493 0           $_[1]->{usageType} = unpack("l>", substr( $_[3], $_[2] ));
494 0           $_[2] += 4;
495             die "Out of bounds 'int': $_[1]->{usageType}"
496 0 0 0       unless (-2147483648 <= $_[1]->{usageType} and $_[1]->{usageType} < 2147483648);
497              
498             # Deserializing field: 'usageID'
499             # my ($class, $value, $index, $input) = @_;
500 0           $_[0]->deserialize_nonnull_string( $_[1]->{usageID}, $_[2], $_[3] );
501             }
502             # @_: ($class, $value, $index, $output) = @_;
503             sub serialize_nonnull_secret {
504 0 0   0 0   croak "Missing required input 'struct' value"
505             unless defined $_[1];
506              
507             # Serializing field: 'uuid'
508             croak "Missing required input value 'uuid'"
509 0 0         unless exists $_[1]->{uuid};
510             # my ($class, $value, $index, $output) = @_;
511 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
512              
513             # Serializing field: 'usageType'
514             croak "Missing required input value 'usageType'"
515 0 0         unless exists $_[1]->{usageType};
516             # my ($class, $value, $index, $output) = @_;
517             croak "Missing required input 'int' value"
518 0 0         unless defined $_[1]->{usageType};
519             die "Out of bounds 'int': $_[1]->{usageType}"
520 0 0 0       unless (-2147483648 <= $_[1]->{usageType} and $_[1]->{usageType} < 2147483648);
521             die "Non-integer 'int' value given: $_[1]->{usageType}"
522 0 0         unless int($_[1]->{usageType}) == $_[1]->{usageType};
523 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{usageType});
524 0           $_[2] += 4;
525              
526             # Serializing field: 'usageID'
527             croak "Missing required input value 'usageID'"
528 0 0         unless exists $_[1]->{usageID};
529             # my ($class, $value, $index, $output) = @_;
530 0           $_[0]->serialize_nonnull_string( $_[1]->{usageID}, $_[2], $_[3] );
531             }
532             # @_: ($class, $value, $index, $input) = @_;
533             sub deserialize_nonnull_domain_checkpoint {
534 0     0 0   my $input_length = length $_[3];
535 0           $_[1] = {};
536             # Deserializing field: 'name'
537             # my ($class, $value, $index, $input) = @_;
538 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
539              
540             # Deserializing field: 'dom'
541             # my ($class, $value, $index, $input) = @_;
542 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
543             }
544             # @_: ($class, $value, $index, $output) = @_;
545             sub serialize_nonnull_domain_checkpoint {
546 0 0   0 0   croak "Missing required input 'struct' value"
547             unless defined $_[1];
548              
549             # Serializing field: 'name'
550             croak "Missing required input value 'name'"
551 0 0         unless exists $_[1]->{name};
552             # my ($class, $value, $index, $output) = @_;
553 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
554              
555             # Serializing field: 'dom'
556             croak "Missing required input value 'dom'"
557 0 0         unless exists $_[1]->{dom};
558             # my ($class, $value, $index, $output) = @_;
559 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
560             }
561             # @_: ($class, $value, $index, $input) = @_;
562             sub deserialize_nonnull_domain_snapshot {
563 0     0 0   my $input_length = length $_[3];
564 0           $_[1] = {};
565             # Deserializing field: 'name'
566             # my ($class, $value, $index, $input) = @_;
567 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
568              
569             # Deserializing field: 'dom'
570             # my ($class, $value, $index, $input) = @_;
571 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
572             }
573             # @_: ($class, $value, $index, $output) = @_;
574             sub serialize_nonnull_domain_snapshot {
575 0 0   0 0   croak "Missing required input 'struct' value"
576             unless defined $_[1];
577              
578             # Serializing field: 'name'
579             croak "Missing required input value 'name'"
580 0 0         unless exists $_[1]->{name};
581             # my ($class, $value, $index, $output) = @_;
582 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
583              
584             # Serializing field: 'dom'
585             croak "Missing required input value 'dom'"
586 0 0         unless exists $_[1]->{dom};
587             # my ($class, $value, $index, $output) = @_;
588 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
589             }
590             # @_: ($class, $value, $index, $input) = @_;
591             sub deserialize_domain {
592 0     0 0   my $input_length = length $_[3];
593             # my ($class, $value, $index, $input) = @_;
594 0           do {
595 0           my $b;
596             # my ($class, $value, $index, $input) = @_;
597 0 0         die "Input buffer too short"
598             if ($input_length - $_[2]) < 4;
599 0           $b = unpack("L>", substr( $_[3], $_[2] ));
600 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
601             unless $b == 0 or $b == 1;
602 0           $_[2] += 4;
603 0 0         if ($b) {
604             # my ($class, $value, $index, $input) = @_;
605 0           $_[0]->deserialize_nonnull_domain( $_[1], $_[2], $_[3] );
606             }
607             else {
608 0           $_[1] = undef;
609             }
610             };
611             }
612             # @_: ($class, $value, $index, $output) = @_;
613             sub serialize_domain {
614             # my ($class, $value, $index, $output) = @_;
615 0 0   0 0   if (defined $_[1]) {
616             # my ($class, $value, $index, $output) = @_;
617             # Allow to model a value
618 0           substr( $_[3], $_[2] ) = pack("L>", 1);
619 0           $_[2] += 4;
620             # my ($class, $value, $index, $output) = @_;
621 0           $_[0]->serialize_nonnull_domain( $_[1], $_[2], $_[3] );
622             }
623             else {
624             # my ($class, $value, $index, $output) = @_;
625             # Allow to model a value
626 0           substr( $_[3], $_[2] ) = pack("L>", 0);
627 0           $_[2] += 4;
628             }
629             }
630             # @_: ($class, $value, $index, $input) = @_;
631             sub deserialize_network {
632 0     0 0   my $input_length = length $_[3];
633             # my ($class, $value, $index, $input) = @_;
634 0           do {
635 0           my $b;
636             # my ($class, $value, $index, $input) = @_;
637 0 0         die "Input buffer too short"
638             if ($input_length - $_[2]) < 4;
639 0           $b = unpack("L>", substr( $_[3], $_[2] ));
640 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
641             unless $b == 0 or $b == 1;
642 0           $_[2] += 4;
643 0 0         if ($b) {
644             # my ($class, $value, $index, $input) = @_;
645 0           $_[0]->deserialize_nonnull_network( $_[1], $_[2], $_[3] );
646             }
647             else {
648 0           $_[1] = undef;
649             }
650             };
651             }
652             # @_: ($class, $value, $index, $output) = @_;
653             sub serialize_network {
654             # my ($class, $value, $index, $output) = @_;
655 0 0   0 0   if (defined $_[1]) {
656             # my ($class, $value, $index, $output) = @_;
657             # Allow to model a value
658 0           substr( $_[3], $_[2] ) = pack("L>", 1);
659 0           $_[2] += 4;
660             # my ($class, $value, $index, $output) = @_;
661 0           $_[0]->serialize_nonnull_network( $_[1], $_[2], $_[3] );
662             }
663             else {
664             # my ($class, $value, $index, $output) = @_;
665             # Allow to model a value
666 0           substr( $_[3], $_[2] ) = pack("L>", 0);
667 0           $_[2] += 4;
668             }
669             }
670             # @_: ($class, $value, $index, $input) = @_;
671             sub deserialize_network_port {
672 0     0 0   my $input_length = length $_[3];
673             # my ($class, $value, $index, $input) = @_;
674 0           do {
675 0           my $b;
676             # my ($class, $value, $index, $input) = @_;
677 0 0         die "Input buffer too short"
678             if ($input_length - $_[2]) < 4;
679 0           $b = unpack("L>", substr( $_[3], $_[2] ));
680 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
681             unless $b == 0 or $b == 1;
682 0           $_[2] += 4;
683 0 0         if ($b) {
684             # my ($class, $value, $index, $input) = @_;
685 0           $_[0]->deserialize_nonnull_network_port( $_[1], $_[2], $_[3] );
686             }
687             else {
688 0           $_[1] = undef;
689             }
690             };
691             }
692             # @_: ($class, $value, $index, $output) = @_;
693             sub serialize_network_port {
694             # my ($class, $value, $index, $output) = @_;
695 0 0   0 0   if (defined $_[1]) {
696             # my ($class, $value, $index, $output) = @_;
697             # Allow to model a value
698 0           substr( $_[3], $_[2] ) = pack("L>", 1);
699 0           $_[2] += 4;
700             # my ($class, $value, $index, $output) = @_;
701 0           $_[0]->serialize_nonnull_network_port( $_[1], $_[2], $_[3] );
702             }
703             else {
704             # my ($class, $value, $index, $output) = @_;
705             # Allow to model a value
706 0           substr( $_[3], $_[2] ) = pack("L>", 0);
707 0           $_[2] += 4;
708             }
709             }
710             # @_: ($class, $value, $index, $input) = @_;
711             sub deserialize_nwfilter {
712 0     0 0   my $input_length = length $_[3];
713             # my ($class, $value, $index, $input) = @_;
714 0           do {
715 0           my $b;
716             # my ($class, $value, $index, $input) = @_;
717 0 0         die "Input buffer too short"
718             if ($input_length - $_[2]) < 4;
719 0           $b = unpack("L>", substr( $_[3], $_[2] ));
720 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
721             unless $b == 0 or $b == 1;
722 0           $_[2] += 4;
723 0 0         if ($b) {
724             # my ($class, $value, $index, $input) = @_;
725 0           $_[0]->deserialize_nonnull_nwfilter( $_[1], $_[2], $_[3] );
726             }
727             else {
728 0           $_[1] = undef;
729             }
730             };
731             }
732             # @_: ($class, $value, $index, $output) = @_;
733             sub serialize_nwfilter {
734             # my ($class, $value, $index, $output) = @_;
735 0 0   0 0   if (defined $_[1]) {
736             # my ($class, $value, $index, $output) = @_;
737             # Allow to model a value
738 0           substr( $_[3], $_[2] ) = pack("L>", 1);
739 0           $_[2] += 4;
740             # my ($class, $value, $index, $output) = @_;
741 0           $_[0]->serialize_nonnull_nwfilter( $_[1], $_[2], $_[3] );
742             }
743             else {
744             # my ($class, $value, $index, $output) = @_;
745             # Allow to model a value
746 0           substr( $_[3], $_[2] ) = pack("L>", 0);
747 0           $_[2] += 4;
748             }
749             }
750             # @_: ($class, $value, $index, $input) = @_;
751             sub deserialize_nwfilter_binding {
752 0     0 0   my $input_length = length $_[3];
753             # my ($class, $value, $index, $input) = @_;
754 0           do {
755 0           my $b;
756             # my ($class, $value, $index, $input) = @_;
757 0 0         die "Input buffer too short"
758             if ($input_length - $_[2]) < 4;
759 0           $b = unpack("L>", substr( $_[3], $_[2] ));
760 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
761             unless $b == 0 or $b == 1;
762 0           $_[2] += 4;
763 0 0         if ($b) {
764             # my ($class, $value, $index, $input) = @_;
765 0           $_[0]->deserialize_nonnull_nwfilter_binding( $_[1], $_[2], $_[3] );
766             }
767             else {
768 0           $_[1] = undef;
769             }
770             };
771             }
772             # @_: ($class, $value, $index, $output) = @_;
773             sub serialize_nwfilter_binding {
774             # my ($class, $value, $index, $output) = @_;
775 0 0   0 0   if (defined $_[1]) {
776             # my ($class, $value, $index, $output) = @_;
777             # Allow to model a value
778 0           substr( $_[3], $_[2] ) = pack("L>", 1);
779 0           $_[2] += 4;
780             # my ($class, $value, $index, $output) = @_;
781 0           $_[0]->serialize_nonnull_nwfilter_binding( $_[1], $_[2], $_[3] );
782             }
783             else {
784             # my ($class, $value, $index, $output) = @_;
785             # Allow to model a value
786 0           substr( $_[3], $_[2] ) = pack("L>", 0);
787 0           $_[2] += 4;
788             }
789             }
790             # @_: ($class, $value, $index, $input) = @_;
791             sub deserialize_storage_pool {
792 0     0 0   my $input_length = length $_[3];
793             # my ($class, $value, $index, $input) = @_;
794 0           do {
795 0           my $b;
796             # my ($class, $value, $index, $input) = @_;
797 0 0         die "Input buffer too short"
798             if ($input_length - $_[2]) < 4;
799 0           $b = unpack("L>", substr( $_[3], $_[2] ));
800 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
801             unless $b == 0 or $b == 1;
802 0           $_[2] += 4;
803 0 0         if ($b) {
804             # my ($class, $value, $index, $input) = @_;
805 0           $_[0]->deserialize_nonnull_storage_pool( $_[1], $_[2], $_[3] );
806             }
807             else {
808 0           $_[1] = undef;
809             }
810             };
811             }
812             # @_: ($class, $value, $index, $output) = @_;
813             sub serialize_storage_pool {
814             # my ($class, $value, $index, $output) = @_;
815 0 0   0 0   if (defined $_[1]) {
816             # my ($class, $value, $index, $output) = @_;
817             # Allow to model a value
818 0           substr( $_[3], $_[2] ) = pack("L>", 1);
819 0           $_[2] += 4;
820             # my ($class, $value, $index, $output) = @_;
821 0           $_[0]->serialize_nonnull_storage_pool( $_[1], $_[2], $_[3] );
822             }
823             else {
824             # my ($class, $value, $index, $output) = @_;
825             # Allow to model a value
826 0           substr( $_[3], $_[2] ) = pack("L>", 0);
827 0           $_[2] += 4;
828             }
829             }
830             # @_: ($class, $value, $index, $input) = @_;
831             sub deserialize_storage_vol {
832 0     0 0   my $input_length = length $_[3];
833             # my ($class, $value, $index, $input) = @_;
834 0           do {
835 0           my $b;
836             # my ($class, $value, $index, $input) = @_;
837 0 0         die "Input buffer too short"
838             if ($input_length - $_[2]) < 4;
839 0           $b = unpack("L>", substr( $_[3], $_[2] ));
840 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
841             unless $b == 0 or $b == 1;
842 0           $_[2] += 4;
843 0 0         if ($b) {
844             # my ($class, $value, $index, $input) = @_;
845 0           $_[0]->deserialize_nonnull_storage_vol( $_[1], $_[2], $_[3] );
846             }
847             else {
848 0           $_[1] = undef;
849             }
850             };
851             }
852             # @_: ($class, $value, $index, $output) = @_;
853             sub serialize_storage_vol {
854             # my ($class, $value, $index, $output) = @_;
855 0 0   0 0   if (defined $_[1]) {
856             # my ($class, $value, $index, $output) = @_;
857             # Allow to model a value
858 0           substr( $_[3], $_[2] ) = pack("L>", 1);
859 0           $_[2] += 4;
860             # my ($class, $value, $index, $output) = @_;
861 0           $_[0]->serialize_nonnull_storage_vol( $_[1], $_[2], $_[3] );
862             }
863             else {
864             # my ($class, $value, $index, $output) = @_;
865             # Allow to model a value
866 0           substr( $_[3], $_[2] ) = pack("L>", 0);
867 0           $_[2] += 4;
868             }
869             }
870             # @_: ($class, $value, $index, $input) = @_;
871             sub deserialize_node_device {
872 0     0 0   my $input_length = length $_[3];
873             # my ($class, $value, $index, $input) = @_;
874 0           do {
875 0           my $b;
876             # my ($class, $value, $index, $input) = @_;
877 0 0         die "Input buffer too short"
878             if ($input_length - $_[2]) < 4;
879 0           $b = unpack("L>", substr( $_[3], $_[2] ));
880 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
881             unless $b == 0 or $b == 1;
882 0           $_[2] += 4;
883 0 0         if ($b) {
884             # my ($class, $value, $index, $input) = @_;
885 0           $_[0]->deserialize_nonnull_node_device( $_[1], $_[2], $_[3] );
886             }
887             else {
888 0           $_[1] = undef;
889             }
890             };
891             }
892             # @_: ($class, $value, $index, $output) = @_;
893             sub serialize_node_device {
894             # my ($class, $value, $index, $output) = @_;
895 0 0   0 0   if (defined $_[1]) {
896             # my ($class, $value, $index, $output) = @_;
897             # Allow to model a value
898 0           substr( $_[3], $_[2] ) = pack("L>", 1);
899 0           $_[2] += 4;
900             # my ($class, $value, $index, $output) = @_;
901 0           $_[0]->serialize_nonnull_node_device( $_[1], $_[2], $_[3] );
902             }
903             else {
904             # my ($class, $value, $index, $output) = @_;
905             # Allow to model a value
906 0           substr( $_[3], $_[2] ) = pack("L>", 0);
907 0           $_[2] += 4;
908             }
909             }
910             # @_: ($class, $value, $index, $input) = @_;
911             sub deserialize_secret {
912 0     0 0   my $input_length = length $_[3];
913             # my ($class, $value, $index, $input) = @_;
914 0           do {
915 0           my $b;
916             # my ($class, $value, $index, $input) = @_;
917 0 0         die "Input buffer too short"
918             if ($input_length - $_[2]) < 4;
919 0           $b = unpack("L>", substr( $_[3], $_[2] ));
920 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
921             unless $b == 0 or $b == 1;
922 0           $_[2] += 4;
923 0 0         if ($b) {
924             # my ($class, $value, $index, $input) = @_;
925 0           $_[0]->deserialize_nonnull_secret( $_[1], $_[2], $_[3] );
926             }
927             else {
928 0           $_[1] = undef;
929             }
930             };
931             }
932             # @_: ($class, $value, $index, $output) = @_;
933             sub serialize_secret {
934             # my ($class, $value, $index, $output) = @_;
935 0 0   0 0   if (defined $_[1]) {
936             # my ($class, $value, $index, $output) = @_;
937             # Allow to model a value
938 0           substr( $_[3], $_[2] ) = pack("L>", 1);
939 0           $_[2] += 4;
940             # my ($class, $value, $index, $output) = @_;
941 0           $_[0]->serialize_nonnull_secret( $_[1], $_[2], $_[3] );
942             }
943             else {
944             # my ($class, $value, $index, $output) = @_;
945             # Allow to model a value
946 0           substr( $_[3], $_[2] ) = pack("L>", 0);
947 0           $_[2] += 4;
948             }
949             }
950             # @_: ($class, $value, $index, $input) = @_;
951             sub deserialize_error {
952 0     0 0   my $input_length = length $_[3];
953 0           $_[1] = {};
954             # Deserializing field: 'code'
955             # my ($class, $value, $index, $input) = @_;
956 0 0         die "Input buffer too short"
957             if ($input_length - $_[2]) < 4;
958 0           $_[1]->{code} = unpack("l>", substr( $_[3], $_[2] ));
959 0           $_[2] += 4;
960             die "Out of bounds 'int': $_[1]->{code}"
961 0 0 0       unless (-2147483648 <= $_[1]->{code} and $_[1]->{code} < 2147483648);
962              
963             # Deserializing field: 'domain'
964             # my ($class, $value, $index, $input) = @_;
965 0 0         die "Input buffer too short"
966             if ($input_length - $_[2]) < 4;
967 0           $_[1]->{domain} = unpack("l>", substr( $_[3], $_[2] ));
968 0           $_[2] += 4;
969             die "Out of bounds 'int': $_[1]->{domain}"
970 0 0 0       unless (-2147483648 <= $_[1]->{domain} and $_[1]->{domain} < 2147483648);
971              
972             # Deserializing field: 'message'
973             # my ($class, $value, $index, $input) = @_;
974 0           $_[0]->deserialize_string( $_[1]->{message}, $_[2], $_[3] );
975              
976             # Deserializing field: 'level'
977             # my ($class, $value, $index, $input) = @_;
978 0 0         die "Input buffer too short"
979             if ($input_length - $_[2]) < 4;
980 0           $_[1]->{level} = unpack("l>", substr( $_[3], $_[2] ));
981 0           $_[2] += 4;
982             die "Out of bounds 'int': $_[1]->{level}"
983 0 0 0       unless (-2147483648 <= $_[1]->{level} and $_[1]->{level} < 2147483648);
984              
985             # Deserializing field: 'dom'
986             # my ($class, $value, $index, $input) = @_;
987 0           $_[0]->deserialize_domain( $_[1]->{dom}, $_[2], $_[3] );
988              
989             # Deserializing field: 'str1'
990             # my ($class, $value, $index, $input) = @_;
991 0           $_[0]->deserialize_string( $_[1]->{str1}, $_[2], $_[3] );
992              
993             # Deserializing field: 'str2'
994             # my ($class, $value, $index, $input) = @_;
995 0           $_[0]->deserialize_string( $_[1]->{str2}, $_[2], $_[3] );
996              
997             # Deserializing field: 'str3'
998             # my ($class, $value, $index, $input) = @_;
999 0           $_[0]->deserialize_string( $_[1]->{str3}, $_[2], $_[3] );
1000              
1001             # Deserializing field: 'int1'
1002             # my ($class, $value, $index, $input) = @_;
1003 0 0         die "Input buffer too short"
1004             if ($input_length - $_[2]) < 4;
1005 0           $_[1]->{int1} = unpack("l>", substr( $_[3], $_[2] ));
1006 0           $_[2] += 4;
1007             die "Out of bounds 'int': $_[1]->{int1}"
1008 0 0 0       unless (-2147483648 <= $_[1]->{int1} and $_[1]->{int1} < 2147483648);
1009              
1010             # Deserializing field: 'int2'
1011             # my ($class, $value, $index, $input) = @_;
1012 0 0         die "Input buffer too short"
1013             if ($input_length - $_[2]) < 4;
1014 0           $_[1]->{int2} = unpack("l>", substr( $_[3], $_[2] ));
1015 0           $_[2] += 4;
1016             die "Out of bounds 'int': $_[1]->{int2}"
1017 0 0 0       unless (-2147483648 <= $_[1]->{int2} and $_[1]->{int2} < 2147483648);
1018              
1019             # Deserializing field: 'net'
1020             # my ($class, $value, $index, $input) = @_;
1021 0           $_[0]->deserialize_network( $_[1]->{net}, $_[2], $_[3] );
1022             }
1023             # @_: ($class, $value, $index, $output) = @_;
1024             sub serialize_error {
1025 0 0   0 0   croak "Missing required input 'struct' value"
1026             unless defined $_[1];
1027              
1028             # Serializing field: 'code'
1029             croak "Missing required input value 'code'"
1030 0 0         unless exists $_[1]->{code};
1031             # my ($class, $value, $index, $output) = @_;
1032             croak "Missing required input 'int' value"
1033 0 0         unless defined $_[1]->{code};
1034             die "Out of bounds 'int': $_[1]->{code}"
1035 0 0 0       unless (-2147483648 <= $_[1]->{code} and $_[1]->{code} < 2147483648);
1036             die "Non-integer 'int' value given: $_[1]->{code}"
1037 0 0         unless int($_[1]->{code}) == $_[1]->{code};
1038 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{code});
1039 0           $_[2] += 4;
1040              
1041             # Serializing field: 'domain'
1042             croak "Missing required input value 'domain'"
1043 0 0         unless exists $_[1]->{domain};
1044             # my ($class, $value, $index, $output) = @_;
1045             croak "Missing required input 'int' value"
1046 0 0         unless defined $_[1]->{domain};
1047             die "Out of bounds 'int': $_[1]->{domain}"
1048 0 0 0       unless (-2147483648 <= $_[1]->{domain} and $_[1]->{domain} < 2147483648);
1049             die "Non-integer 'int' value given: $_[1]->{domain}"
1050 0 0         unless int($_[1]->{domain}) == $_[1]->{domain};
1051 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{domain});
1052 0           $_[2] += 4;
1053              
1054             # Serializing field: 'message'
1055             croak "Missing required input value 'message'"
1056 0 0         unless exists $_[1]->{message};
1057             # my ($class, $value, $index, $output) = @_;
1058 0           $_[0]->serialize_string( $_[1]->{message}, $_[2], $_[3] );
1059              
1060             # Serializing field: 'level'
1061             croak "Missing required input value 'level'"
1062 0 0         unless exists $_[1]->{level};
1063             # my ($class, $value, $index, $output) = @_;
1064             croak "Missing required input 'int' value"
1065 0 0         unless defined $_[1]->{level};
1066             die "Out of bounds 'int': $_[1]->{level}"
1067 0 0 0       unless (-2147483648 <= $_[1]->{level} and $_[1]->{level} < 2147483648);
1068             die "Non-integer 'int' value given: $_[1]->{level}"
1069 0 0         unless int($_[1]->{level}) == $_[1]->{level};
1070 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{level});
1071 0           $_[2] += 4;
1072              
1073             # Serializing field: 'dom'
1074             croak "Missing required input value 'dom'"
1075 0 0         unless exists $_[1]->{dom};
1076             # my ($class, $value, $index, $output) = @_;
1077 0           $_[0]->serialize_domain( $_[1]->{dom}, $_[2], $_[3] );
1078              
1079             # Serializing field: 'str1'
1080             croak "Missing required input value 'str1'"
1081 0 0         unless exists $_[1]->{str1};
1082             # my ($class, $value, $index, $output) = @_;
1083 0           $_[0]->serialize_string( $_[1]->{str1}, $_[2], $_[3] );
1084              
1085             # Serializing field: 'str2'
1086             croak "Missing required input value 'str2'"
1087 0 0         unless exists $_[1]->{str2};
1088             # my ($class, $value, $index, $output) = @_;
1089 0           $_[0]->serialize_string( $_[1]->{str2}, $_[2], $_[3] );
1090              
1091             # Serializing field: 'str3'
1092             croak "Missing required input value 'str3'"
1093 0 0         unless exists $_[1]->{str3};
1094             # my ($class, $value, $index, $output) = @_;
1095 0           $_[0]->serialize_string( $_[1]->{str3}, $_[2], $_[3] );
1096              
1097             # Serializing field: 'int1'
1098             croak "Missing required input value 'int1'"
1099 0 0         unless exists $_[1]->{int1};
1100             # my ($class, $value, $index, $output) = @_;
1101             croak "Missing required input 'int' value"
1102 0 0         unless defined $_[1]->{int1};
1103             die "Out of bounds 'int': $_[1]->{int1}"
1104 0 0 0       unless (-2147483648 <= $_[1]->{int1} and $_[1]->{int1} < 2147483648);
1105             die "Non-integer 'int' value given: $_[1]->{int1}"
1106 0 0         unless int($_[1]->{int1}) == $_[1]->{int1};
1107 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{int1});
1108 0           $_[2] += 4;
1109              
1110             # Serializing field: 'int2'
1111             croak "Missing required input value 'int2'"
1112 0 0         unless exists $_[1]->{int2};
1113             # my ($class, $value, $index, $output) = @_;
1114             croak "Missing required input 'int' value"
1115 0 0         unless defined $_[1]->{int2};
1116             die "Out of bounds 'int': $_[1]->{int2}"
1117 0 0 0       unless (-2147483648 <= $_[1]->{int2} and $_[1]->{int2} < 2147483648);
1118             die "Non-integer 'int' value given: $_[1]->{int2}"
1119 0 0         unless int($_[1]->{int2}) == $_[1]->{int2};
1120 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{int2});
1121 0           $_[2] += 4;
1122              
1123             # Serializing field: 'net'
1124             croak "Missing required input value 'net'"
1125 0 0         unless exists $_[1]->{net};
1126             # my ($class, $value, $index, $output) = @_;
1127 0           $_[0]->serialize_network( $_[1]->{net}, $_[2], $_[3] );
1128             }
1129             # Define elements from enum 'auth_type'
1130             use constant {
1131 1         136570 AUTH_NONE => 0,
1132             AUTH_SASL => 1,
1133             AUTH_POLKIT => 2,
1134 1     1   8 };
  1         2  
1135             # @_: ($class, $value, $index, $input) = @_;
1136             sub deserialize_auth_type {
1137 0     0 0   my $input_length = length $_[3];
1138             # my ($class, $value, $index, $input) = @_;
1139 0 0         die "Input buffer too short"
1140             if ($input_length - $_[2]) < 4;
1141 0           $_[1] = unpack("l>", substr( $_[3], $_[2] ) );
1142 0 0         die "Out of range enum value supplied: $_[1]"
1143             unless vec(state $m = pack('H*', '07'),
1144             $_[1], 1);
1145 0           $_[2] += 4;
1146             }
1147             # @_: ($class, $value, $index, $output) = @_;
1148             sub serialize_auth_type {
1149             # my ($class, $value, $index, $output) = @_;
1150 0 0   0 0   croak "Missing required input 'enum' value"
1151             unless defined $_[1];
1152 0 0         die "Out of range enum value: $_[1]"
1153             unless vec(state $m = pack('H*', '07'),
1154             $_[1], 1);
1155 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]);
1156 0           $_[2] += 4;
1157             }
1158             # @_: ($class, $value, $index, $input) = @_;
1159             sub deserialize_vcpu_info {
1160 0     0 0   my $input_length = length $_[3];
1161 0           $_[1] = {};
1162             # Deserializing field: 'number'
1163             # my ($class, $value, $index, $input) = @_;
1164 0 0         die "Input buffer too short"
1165             if ($input_length - $_[2]) < 4;
1166 0           $_[1]->{number} = unpack("L>", substr( $_[3], $_[2] ));
1167 0           $_[2] += 4;
1168             die "Out of bounds 'unsigned int': $_[1]->{number}"
1169 0 0 0       unless (0 <= $_[1]->{number} and $_[1]->{number} <= 4294967295);
1170              
1171             # Deserializing field: 'state'
1172             # my ($class, $value, $index, $input) = @_;
1173 0 0         die "Input buffer too short"
1174             if ($input_length - $_[2]) < 4;
1175 0           $_[1]->{state} = unpack("l>", substr( $_[3], $_[2] ));
1176 0           $_[2] += 4;
1177             die "Out of bounds 'int': $_[1]->{state}"
1178 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
1179              
1180             # Deserializing field: 'cpu_time'
1181             # my ($class, $value, $index, $input) = @_;
1182 0 0         die "Input buffer too short"
1183             if ($input_length - $_[2]) < 8;
1184 0           $_[1]->{cpu_time} = unpack("Q>", substr( $_[3], $_[2] ));
1185 0           $_[2] += 8;
1186             die "Out of bounds 'unsigned hyper': $_[1]->{cpu_time}"
1187             unless (0 <= $_[1]->{cpu_time}
1188 0 0 0       and $_[1]->{cpu_time} <= 18446744073709551615);
1189              
1190             # Deserializing field: 'cpu'
1191             # my ($class, $value, $index, $input) = @_;
1192 0 0         die "Input buffer too short"
1193             if ($input_length - $_[2]) < 4;
1194 0           $_[1]->{cpu} = unpack("l>", substr( $_[3], $_[2] ));
1195 0           $_[2] += 4;
1196             die "Out of bounds 'int': $_[1]->{cpu}"
1197 0 0 0       unless (-2147483648 <= $_[1]->{cpu} and $_[1]->{cpu} < 2147483648);
1198             }
1199             # @_: ($class, $value, $index, $output) = @_;
1200             sub serialize_vcpu_info {
1201 0 0   0 0   croak "Missing required input 'struct' value"
1202             unless defined $_[1];
1203              
1204             # Serializing field: 'number'
1205             croak "Missing required input value 'number'"
1206 0 0         unless exists $_[1]->{number};
1207             # my ($class, $value, $index, $output) = @_;
1208             croak "Missing required input 'unsigned int' value"
1209 0 0         unless defined $_[1]->{number};
1210             die "Out of bounds 'unsigned int': $_[1]->{number}"
1211 0 0 0       unless (0 <= $_[1]->{number} and $_[1]->{number} <= 4294967295);
1212             die "Non-integer 'int' value given: $_[1]->{number}"
1213 0 0         unless int($_[1]->{number}) == $_[1]->{number};
1214 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{number});
1215 0           $_[2] += 4;
1216              
1217             # Serializing field: 'state'
1218             croak "Missing required input value 'state'"
1219 0 0         unless exists $_[1]->{state};
1220             # my ($class, $value, $index, $output) = @_;
1221             croak "Missing required input 'int' value"
1222 0 0         unless defined $_[1]->{state};
1223             die "Out of bounds 'int': $_[1]->{state}"
1224 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
1225             die "Non-integer 'int' value given: $_[1]->{state}"
1226 0 0         unless int($_[1]->{state}) == $_[1]->{state};
1227 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{state});
1228 0           $_[2] += 4;
1229              
1230             # Serializing field: 'cpu_time'
1231             croak "Missing required input value 'cpu_time'"
1232 0 0         unless exists $_[1]->{cpu_time};
1233             # my ($class, $value, $index, $output) = @_;
1234             croak "Missing required input 'unsigned long' value"
1235 0 0         unless defined $_[1]->{cpu_time};
1236             die "Out of bounds 'unsigned hyper': $_[1]->{cpu_time}"
1237             unless (0 <= $_[1]->{cpu_time}
1238 0 0 0       and $_[1]->{cpu_time} <= 18446744073709551615);
1239             die "Non-integer 'long' value given: $_[1]->{cpu_time}"
1240 0 0         unless int($_[1]->{cpu_time}) == $_[1]->{cpu_time};
1241 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{cpu_time});
1242 0           $_[2] += 8;
1243              
1244             # Serializing field: 'cpu'
1245             croak "Missing required input value 'cpu'"
1246 0 0         unless exists $_[1]->{cpu};
1247             # my ($class, $value, $index, $output) = @_;
1248             croak "Missing required input 'int' value"
1249 0 0         unless defined $_[1]->{cpu};
1250             die "Out of bounds 'int': $_[1]->{cpu}"
1251 0 0 0       unless (-2147483648 <= $_[1]->{cpu} and $_[1]->{cpu} < 2147483648);
1252             die "Non-integer 'int' value given: $_[1]->{cpu}"
1253 0 0         unless int($_[1]->{cpu}) == $_[1]->{cpu};
1254 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cpu});
1255 0           $_[2] += 4;
1256             }
1257             # @_: ($class, $value, $index, $input) = @_;
1258             sub deserialize_typed_param_value {
1259 0     0 0   my $input_length = length $_[3];
1260 0           $_[1] = {};
1261 0           my $d;
1262             # my ($class, $value, $index, $input) = @_;
1263 0 0         die "Input buffer too short"
1264             if ($input_length - $_[2]) < 4;
1265 0           $d = unpack("l>", substr( $_[3], $_[2] ));
1266 0           $_[2] += 4;
1267 0 0 0       die "Out of bounds 'int': $d"
1268             unless (-2147483648 <= $d and $d < 2147483648);
1269              
1270 0           $_[1]->{type} = $d;
1271             # Deserializing member 'i' (discriminator == VIR_TYPED_PARAM_INT)
1272 0 0         if ($d == VIR_TYPED_PARAM_INT) {
    0          
    0          
    0          
    0          
    0          
    0          
1273             # my ($class, $value, $index, $input) = @_;
1274 0 0         die "Input buffer too short"
1275             if ($input_length - $_[2]) < 4;
1276 0           $_[1]->{i} = unpack("l>", substr( $_[3], $_[2] ));
1277 0           $_[2] += 4;
1278             die "Out of bounds 'int': $_[1]->{i}"
1279 0 0 0       unless (-2147483648 <= $_[1]->{i} and $_[1]->{i} < 2147483648);
1280             }
1281              
1282             # Deserializing member 'ui' (discriminator == VIR_TYPED_PARAM_UINT)
1283             elsif ($d == VIR_TYPED_PARAM_UINT) {
1284             # my ($class, $value, $index, $input) = @_;
1285 0 0         die "Input buffer too short"
1286             if ($input_length - $_[2]) < 4;
1287 0           $_[1]->{ui} = unpack("L>", substr( $_[3], $_[2] ));
1288 0           $_[2] += 4;
1289             die "Out of bounds 'unsigned int': $_[1]->{ui}"
1290 0 0 0       unless (0 <= $_[1]->{ui} and $_[1]->{ui} <= 4294967295);
1291             }
1292              
1293             # Deserializing member 'l' (discriminator == VIR_TYPED_PARAM_LLONG)
1294             elsif ($d == VIR_TYPED_PARAM_LLONG) {
1295             # my ($class, $value, $index, $input) = @_;
1296 0 0         die "Input buffer too short"
1297             if ($input_length - $_[2]) < 8;
1298 0           $_[1]->{l} = unpack("q>", substr( $_[3], $_[2] ));
1299 0           $_[2] += 8;
1300             die "Out of bounds 'hyper': $_[1]->{l}"
1301             unless (-9223372036854775808 <= $_[1]->{l}
1302 0 0 0       and $_[1]->{l} < 9223372036854775808);
1303             }
1304              
1305             # Deserializing member 'ul' (discriminator == VIR_TYPED_PARAM_ULLONG)
1306             elsif ($d == VIR_TYPED_PARAM_ULLONG) {
1307             # my ($class, $value, $index, $input) = @_;
1308 0 0         die "Input buffer too short"
1309             if ($input_length - $_[2]) < 8;
1310 0           $_[1]->{ul} = unpack("Q>", substr( $_[3], $_[2] ));
1311 0           $_[2] += 8;
1312             die "Out of bounds 'unsigned hyper': $_[1]->{ul}"
1313             unless (0 <= $_[1]->{ul}
1314 0 0 0       and $_[1]->{ul} <= 18446744073709551615);
1315             }
1316              
1317             # Deserializing member 'd' (discriminator == VIR_TYPED_PARAM_DOUBLE)
1318             elsif ($d == VIR_TYPED_PARAM_DOUBLE) {
1319             # my ($class, $value, $index, $input) = @_;
1320             die "The platform doesn't support IEEE-754 floats"
1321 0 0         unless $Config{d_double_style_ieee754};
1322 0 0         die "Input buffer too short"
1323             if ($input_length - $_[2]) < 8;
1324 0           $_[1]->{d} = unpack("d>", substr( $_[3], $_[2] ));
1325             die "Incorrect bool value $_[1]->{d} (must be 0 or 1)"
1326 0 0 0       unless $_[1]->{d} == 0 or $_[1]->{d} == 1;
1327 0           $_[2] += 8;
1328             }
1329              
1330             # Deserializing member 'b' (discriminator == VIR_TYPED_PARAM_BOOLEAN)
1331             elsif ($d == VIR_TYPED_PARAM_BOOLEAN) {
1332             # my ($class, $value, $index, $input) = @_;
1333 0 0         die "Input buffer too short"
1334             if ($input_length - $_[2]) < 4;
1335 0           $_[1]->{b} = unpack("l>", substr( $_[3], $_[2] ));
1336 0           $_[2] += 4;
1337             die "Out of bounds 'int': $_[1]->{b}"
1338 0 0 0       unless (-2147483648 <= $_[1]->{b} and $_[1]->{b} < 2147483648);
1339             }
1340              
1341             # Deserializing member 's' (discriminator == VIR_TYPED_PARAM_STRING)
1342             elsif ($d == VIR_TYPED_PARAM_STRING) {
1343             # my ($class, $value, $index, $input) = @_;
1344 0           $_[0]->deserialize_nonnull_string( $_[1]->{s}, $_[2], $_[3] );
1345             }
1346              
1347             else {
1348 0           die "Unhandled union discriminator value ($d)";
1349             }
1350             }
1351             # @_: ($class, $value, $index, $output) = @_;
1352             sub serialize_typed_param_value {
1353 0 0   0 0   croak "Missing required input 'union' value"
1354             unless defined $_[1];
1355              
1356 0           my $d = $_[1]->{type};
1357             # my ($class, $value, $index, $output) = @_;
1358 0 0         croak "Missing required input 'int' value"
1359             unless defined $d;
1360 0 0 0       die "Out of bounds 'int': $d"
1361             unless (-2147483648 <= $d and $d < 2147483648);
1362 0 0         die "Non-integer 'int' value given: $d"
1363             unless int($d) == $d;
1364 0           substr( $_[3], $_[2] ) = pack("l>", $d);
1365 0           $_[2] += 4;
1366              
1367             # Serializing member 'i' (discriminator == VIR_TYPED_PARAM_INT)
1368 0 0         if ($d == VIR_TYPED_PARAM_INT) {
    0          
    0          
    0          
    0          
    0          
    0          
1369             # my ($class, $value, $index, $output) = @_;
1370             croak "Missing required input 'int' value"
1371 0 0         unless defined $_[1]->{i};
1372             die "Out of bounds 'int': $_[1]->{i}"
1373 0 0 0       unless (-2147483648 <= $_[1]->{i} and $_[1]->{i} < 2147483648);
1374             die "Non-integer 'int' value given: $_[1]->{i}"
1375 0 0         unless int($_[1]->{i}) == $_[1]->{i};
1376 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{i});
1377 0           $_[2] += 4;
1378             }
1379              
1380             # Serializing member 'ui' (discriminator == VIR_TYPED_PARAM_UINT)
1381             elsif ($d == VIR_TYPED_PARAM_UINT) {
1382             # my ($class, $value, $index, $output) = @_;
1383             croak "Missing required input 'unsigned int' value"
1384 0 0         unless defined $_[1]->{ui};
1385             die "Out of bounds 'unsigned int': $_[1]->{ui}"
1386 0 0 0       unless (0 <= $_[1]->{ui} and $_[1]->{ui} <= 4294967295);
1387             die "Non-integer 'int' value given: $_[1]->{ui}"
1388 0 0         unless int($_[1]->{ui}) == $_[1]->{ui};
1389 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ui});
1390 0           $_[2] += 4;
1391             }
1392              
1393             # Serializing member 'l' (discriminator == VIR_TYPED_PARAM_LLONG)
1394             elsif ($d == VIR_TYPED_PARAM_LLONG) {
1395             # my ($class, $value, $index, $output) = @_;
1396             croak "Missing required input 'long' value"
1397 0 0         unless defined $_[1]->{l};
1398             die "Out of bounds 'hyper': $_[1]->{l}"
1399             unless (-9223372036854775808 <= $_[1]->{l}
1400 0 0 0       and $_[1]->{l} < 9223372036854775808);
1401             die "Non-integer 'long' value given: $_[1]->{l}"
1402 0 0         unless int($_[1]->{l}) == $_[1]->{l};
1403 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{l});
1404 0           $_[2] += 8;
1405             }
1406              
1407             # Serializing member 'ul' (discriminator == VIR_TYPED_PARAM_ULLONG)
1408             elsif ($d == VIR_TYPED_PARAM_ULLONG) {
1409             # my ($class, $value, $index, $output) = @_;
1410             croak "Missing required input 'unsigned long' value"
1411 0 0         unless defined $_[1]->{ul};
1412             die "Out of bounds 'unsigned hyper': $_[1]->{ul}"
1413             unless (0 <= $_[1]->{ul}
1414 0 0 0       and $_[1]->{ul} <= 18446744073709551615);
1415             die "Non-integer 'long' value given: $_[1]->{ul}"
1416 0 0         unless int($_[1]->{ul}) == $_[1]->{ul};
1417 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{ul});
1418 0           $_[2] += 8;
1419             }
1420              
1421             # Serializing member 'd' (discriminator == VIR_TYPED_PARAM_DOUBLE)
1422             elsif ($d == VIR_TYPED_PARAM_DOUBLE) {
1423             # my ($class, $value, $index, $output) = @_;
1424             die "The platform doesn't support IEEE-754 floats"
1425 0 0         unless $Config{d_double_style_ieee754};
1426             croak "Missing required input 'double' value"
1427 0 0         unless defined $_[1]->{d};
1428 0           substr( $_[3], $_[2] ) = pack("d>", $_[1]->{d});
1429 0           $_[2] += 8;
1430             }
1431              
1432             # Serializing member 'b' (discriminator == VIR_TYPED_PARAM_BOOLEAN)
1433             elsif ($d == VIR_TYPED_PARAM_BOOLEAN) {
1434             # my ($class, $value, $index, $output) = @_;
1435             croak "Missing required input 'int' value"
1436 0 0         unless defined $_[1]->{b};
1437             die "Out of bounds 'int': $_[1]->{b}"
1438 0 0 0       unless (-2147483648 <= $_[1]->{b} and $_[1]->{b} < 2147483648);
1439             die "Non-integer 'int' value given: $_[1]->{b}"
1440 0 0         unless int($_[1]->{b}) == $_[1]->{b};
1441 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{b});
1442 0           $_[2] += 4;
1443             }
1444              
1445             # Serializing member 's' (discriminator == VIR_TYPED_PARAM_STRING)
1446             elsif ($d == VIR_TYPED_PARAM_STRING) {
1447             # my ($class, $value, $index, $output) = @_;
1448 0           $_[0]->serialize_nonnull_string( $_[1]->{s}, $_[2], $_[3] );
1449             }
1450              
1451             else {
1452 0           die "Unhandled union discriminator value ($d)";
1453             }
1454             }
1455             # @_: ($class, $value, $index, $input) = @_;
1456             sub deserialize_typed_param {
1457 0     0 0   my $input_length = length $_[3];
1458 0           $_[1] = {};
1459             # Deserializing field: 'field'
1460             # my ($class, $value, $index, $input) = @_;
1461 0           $_[0]->deserialize_nonnull_string( $_[1]->{field}, $_[2], $_[3] );
1462              
1463             # Deserializing field: 'value'
1464             # my ($class, $value, $index, $input) = @_;
1465 0           $_[0]->deserialize_typed_param_value( $_[1]->{value}, $_[2], $_[3] );
1466             }
1467             # @_: ($class, $value, $index, $output) = @_;
1468             sub serialize_typed_param {
1469 0 0   0 0   croak "Missing required input 'struct' value"
1470             unless defined $_[1];
1471              
1472             # Serializing field: 'field'
1473             croak "Missing required input value 'field'"
1474 0 0         unless exists $_[1]->{field};
1475             # my ($class, $value, $index, $output) = @_;
1476 0           $_[0]->serialize_nonnull_string( $_[1]->{field}, $_[2], $_[3] );
1477              
1478             # Serializing field: 'value'
1479             croak "Missing required input value 'value'"
1480 0 0         unless exists $_[1]->{value};
1481             # my ($class, $value, $index, $output) = @_;
1482 0           $_[0]->serialize_typed_param_value( $_[1]->{value}, $_[2], $_[3] );
1483             }
1484             # @_: ($class, $value, $index, $input) = @_;
1485             sub deserialize_node_get_cpu_stats {
1486 0     0 0   my $input_length = length $_[3];
1487 0           $_[1] = {};
1488             # Deserializing field: 'field'
1489             # my ($class, $value, $index, $input) = @_;
1490 0           $_[0]->deserialize_nonnull_string( $_[1]->{field}, $_[2], $_[3] );
1491              
1492             # Deserializing field: 'value'
1493             # my ($class, $value, $index, $input) = @_;
1494 0 0         die "Input buffer too short"
1495             if ($input_length - $_[2]) < 8;
1496 0           $_[1]->{value} = unpack("Q>", substr( $_[3], $_[2] ));
1497 0           $_[2] += 8;
1498             die "Out of bounds 'unsigned hyper': $_[1]->{value}"
1499             unless (0 <= $_[1]->{value}
1500 0 0 0       and $_[1]->{value} <= 18446744073709551615);
1501             }
1502             # @_: ($class, $value, $index, $output) = @_;
1503             sub serialize_node_get_cpu_stats {
1504 0 0   0 0   croak "Missing required input 'struct' value"
1505             unless defined $_[1];
1506              
1507             # Serializing field: 'field'
1508             croak "Missing required input value 'field'"
1509 0 0         unless exists $_[1]->{field};
1510             # my ($class, $value, $index, $output) = @_;
1511 0           $_[0]->serialize_nonnull_string( $_[1]->{field}, $_[2], $_[3] );
1512              
1513             # Serializing field: 'value'
1514             croak "Missing required input value 'value'"
1515 0 0         unless exists $_[1]->{value};
1516             # my ($class, $value, $index, $output) = @_;
1517             croak "Missing required input 'unsigned long' value"
1518 0 0         unless defined $_[1]->{value};
1519             die "Out of bounds 'unsigned hyper': $_[1]->{value}"
1520             unless (0 <= $_[1]->{value}
1521 0 0 0       and $_[1]->{value} <= 18446744073709551615);
1522             die "Non-integer 'long' value given: $_[1]->{value}"
1523 0 0         unless int($_[1]->{value}) == $_[1]->{value};
1524 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{value});
1525 0           $_[2] += 8;
1526             }
1527             # @_: ($class, $value, $index, $input) = @_;
1528             sub deserialize_node_get_memory_stats {
1529 0     0 0   my $input_length = length $_[3];
1530 0           $_[1] = {};
1531             # Deserializing field: 'field'
1532             # my ($class, $value, $index, $input) = @_;
1533 0           $_[0]->deserialize_nonnull_string( $_[1]->{field}, $_[2], $_[3] );
1534              
1535             # Deserializing field: 'value'
1536             # my ($class, $value, $index, $input) = @_;
1537 0 0         die "Input buffer too short"
1538             if ($input_length - $_[2]) < 8;
1539 0           $_[1]->{value} = unpack("Q>", substr( $_[3], $_[2] ));
1540 0           $_[2] += 8;
1541             die "Out of bounds 'unsigned hyper': $_[1]->{value}"
1542             unless (0 <= $_[1]->{value}
1543 0 0 0       and $_[1]->{value} <= 18446744073709551615);
1544             }
1545             # @_: ($class, $value, $index, $output) = @_;
1546             sub serialize_node_get_memory_stats {
1547 0 0   0 0   croak "Missing required input 'struct' value"
1548             unless defined $_[1];
1549              
1550             # Serializing field: 'field'
1551             croak "Missing required input value 'field'"
1552 0 0         unless exists $_[1]->{field};
1553             # my ($class, $value, $index, $output) = @_;
1554 0           $_[0]->serialize_nonnull_string( $_[1]->{field}, $_[2], $_[3] );
1555              
1556             # Serializing field: 'value'
1557             croak "Missing required input value 'value'"
1558 0 0         unless exists $_[1]->{value};
1559             # my ($class, $value, $index, $output) = @_;
1560             croak "Missing required input 'unsigned long' value"
1561 0 0         unless defined $_[1]->{value};
1562             die "Out of bounds 'unsigned hyper': $_[1]->{value}"
1563             unless (0 <= $_[1]->{value}
1564 0 0 0       and $_[1]->{value} <= 18446744073709551615);
1565             die "Non-integer 'long' value given: $_[1]->{value}"
1566 0 0         unless int($_[1]->{value}) == $_[1]->{value};
1567 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{value});
1568 0           $_[2] += 8;
1569             }
1570             # @_: ($class, $value, $index, $input) = @_;
1571             sub deserialize_domain_disk_error {
1572 0     0 0   my $input_length = length $_[3];
1573 0           $_[1] = {};
1574             # Deserializing field: 'disk'
1575             # my ($class, $value, $index, $input) = @_;
1576 0           $_[0]->deserialize_nonnull_string( $_[1]->{disk}, $_[2], $_[3] );
1577              
1578             # Deserializing field: 'error'
1579             # my ($class, $value, $index, $input) = @_;
1580 0 0         die "Input buffer too short"
1581             if ($input_length - $_[2]) < 4;
1582 0           $_[1]->{error} = unpack("l>", substr( $_[3], $_[2] ));
1583 0           $_[2] += 4;
1584             die "Out of bounds 'int': $_[1]->{error}"
1585 0 0 0       unless (-2147483648 <= $_[1]->{error} and $_[1]->{error} < 2147483648);
1586             }
1587             # @_: ($class, $value, $index, $output) = @_;
1588             sub serialize_domain_disk_error {
1589 0 0   0 0   croak "Missing required input 'struct' value"
1590             unless defined $_[1];
1591              
1592             # Serializing field: 'disk'
1593             croak "Missing required input value 'disk'"
1594 0 0         unless exists $_[1]->{disk};
1595             # my ($class, $value, $index, $output) = @_;
1596 0           $_[0]->serialize_nonnull_string( $_[1]->{disk}, $_[2], $_[3] );
1597              
1598             # Serializing field: 'error'
1599             croak "Missing required input value 'error'"
1600 0 0         unless exists $_[1]->{error};
1601             # my ($class, $value, $index, $output) = @_;
1602             croak "Missing required input 'int' value"
1603 0 0         unless defined $_[1]->{error};
1604             die "Out of bounds 'int': $_[1]->{error}"
1605 0 0 0       unless (-2147483648 <= $_[1]->{error} and $_[1]->{error} < 2147483648);
1606             die "Non-integer 'int' value given: $_[1]->{error}"
1607 0 0         unless int($_[1]->{error}) == $_[1]->{error};
1608 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{error});
1609 0           $_[2] += 4;
1610             }
1611             # @_: ($class, $value, $index, $input) = @_;
1612             sub deserialize_connect_open_args {
1613 0     0 0   my $input_length = length $_[3];
1614 0           $_[1] = {};
1615             # Deserializing field: 'name'
1616             # my ($class, $value, $index, $input) = @_;
1617 0           $_[0]->deserialize_string( $_[1]->{name}, $_[2], $_[3] );
1618              
1619             # Deserializing field: 'flags'
1620             # my ($class, $value, $index, $input) = @_;
1621 0 0         die "Input buffer too short"
1622             if ($input_length - $_[2]) < 4;
1623 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
1624 0           $_[2] += 4;
1625             die "Out of bounds 'unsigned int': $_[1]->{flags}"
1626 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
1627             }
1628             # @_: ($class, $value, $index, $output) = @_;
1629             sub serialize_connect_open_args {
1630 0 0   0 0   croak "Missing required input 'struct' value"
1631             unless defined $_[1];
1632              
1633             # Serializing field: 'name'
1634             croak "Missing required input value 'name'"
1635 0 0         unless exists $_[1]->{name};
1636             # my ($class, $value, $index, $output) = @_;
1637 0           $_[0]->serialize_string( $_[1]->{name}, $_[2], $_[3] );
1638              
1639             # Serializing field: 'flags'
1640             croak "Missing required input value 'flags'"
1641 0 0         unless exists $_[1]->{flags};
1642             # my ($class, $value, $index, $output) = @_;
1643             croak "Missing required input 'unsigned int' value"
1644 0 0         unless defined $_[1]->{flags};
1645             die "Out of bounds 'unsigned int': $_[1]->{flags}"
1646 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
1647             die "Non-integer 'int' value given: $_[1]->{flags}"
1648 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
1649 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
1650 0           $_[2] += 4;
1651             }
1652             # @_: ($class, $value, $index, $input) = @_;
1653             sub deserialize_connect_supports_feature_args {
1654 0     0 0   my $input_length = length $_[3];
1655 0           $_[1] = {};
1656             # Deserializing field: 'feature'
1657             # my ($class, $value, $index, $input) = @_;
1658 0 0         die "Input buffer too short"
1659             if ($input_length - $_[2]) < 4;
1660 0           $_[1]->{feature} = unpack("l>", substr( $_[3], $_[2] ));
1661 0           $_[2] += 4;
1662             die "Out of bounds 'int': $_[1]->{feature}"
1663 0 0 0       unless (-2147483648 <= $_[1]->{feature} and $_[1]->{feature} < 2147483648);
1664             }
1665             # @_: ($class, $value, $index, $output) = @_;
1666             sub serialize_connect_supports_feature_args {
1667 0 0   0 0   croak "Missing required input 'struct' value"
1668             unless defined $_[1];
1669              
1670             # Serializing field: 'feature'
1671             croak "Missing required input value 'feature'"
1672 0 0         unless exists $_[1]->{feature};
1673             # my ($class, $value, $index, $output) = @_;
1674             croak "Missing required input 'int' value"
1675 0 0         unless defined $_[1]->{feature};
1676             die "Out of bounds 'int': $_[1]->{feature}"
1677 0 0 0       unless (-2147483648 <= $_[1]->{feature} and $_[1]->{feature} < 2147483648);
1678             die "Non-integer 'int' value given: $_[1]->{feature}"
1679 0 0         unless int($_[1]->{feature}) == $_[1]->{feature};
1680 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{feature});
1681 0           $_[2] += 4;
1682             }
1683             # @_: ($class, $value, $index, $input) = @_;
1684             sub deserialize_connect_supports_feature_ret {
1685 0     0 0   my $input_length = length $_[3];
1686 0           $_[1] = {};
1687             # Deserializing field: 'supported'
1688             # my ($class, $value, $index, $input) = @_;
1689 0 0         die "Input buffer too short"
1690             if ($input_length - $_[2]) < 4;
1691 0           $_[1]->{supported} = unpack("l>", substr( $_[3], $_[2] ));
1692 0           $_[2] += 4;
1693             die "Out of bounds 'int': $_[1]->{supported}"
1694 0 0 0       unless (-2147483648 <= $_[1]->{supported} and $_[1]->{supported} < 2147483648);
1695             }
1696             # @_: ($class, $value, $index, $output) = @_;
1697             sub serialize_connect_supports_feature_ret {
1698 0 0   0 0   croak "Missing required input 'struct' value"
1699             unless defined $_[1];
1700              
1701             # Serializing field: 'supported'
1702             croak "Missing required input value 'supported'"
1703 0 0         unless exists $_[1]->{supported};
1704             # my ($class, $value, $index, $output) = @_;
1705             croak "Missing required input 'int' value"
1706 0 0         unless defined $_[1]->{supported};
1707             die "Out of bounds 'int': $_[1]->{supported}"
1708 0 0 0       unless (-2147483648 <= $_[1]->{supported} and $_[1]->{supported} < 2147483648);
1709             die "Non-integer 'int' value given: $_[1]->{supported}"
1710 0 0         unless int($_[1]->{supported}) == $_[1]->{supported};
1711 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{supported});
1712 0           $_[2] += 4;
1713             }
1714             # @_: ($class, $value, $index, $input) = @_;
1715             sub deserialize_connect_get_type_ret {
1716 0     0 0   my $input_length = length $_[3];
1717 0           $_[1] = {};
1718             # Deserializing field: 'type'
1719             # my ($class, $value, $index, $input) = @_;
1720 0           $_[0]->deserialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
1721             }
1722             # @_: ($class, $value, $index, $output) = @_;
1723             sub serialize_connect_get_type_ret {
1724 0 0   0 0   croak "Missing required input 'struct' value"
1725             unless defined $_[1];
1726              
1727             # Serializing field: 'type'
1728             croak "Missing required input value 'type'"
1729 0 0         unless exists $_[1]->{type};
1730             # my ($class, $value, $index, $output) = @_;
1731 0           $_[0]->serialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
1732             }
1733             # @_: ($class, $value, $index, $input) = @_;
1734             sub deserialize_connect_get_version_ret {
1735 0     0 0   my $input_length = length $_[3];
1736 0           $_[1] = {};
1737             # Deserializing field: 'hv_ver'
1738             # my ($class, $value, $index, $input) = @_;
1739 0 0         die "Input buffer too short"
1740             if ($input_length - $_[2]) < 8;
1741 0           $_[1]->{hv_ver} = unpack("Q>", substr( $_[3], $_[2] ));
1742 0           $_[2] += 8;
1743             die "Out of bounds 'unsigned hyper': $_[1]->{hv_ver}"
1744             unless (0 <= $_[1]->{hv_ver}
1745 0 0 0       and $_[1]->{hv_ver} <= 18446744073709551615);
1746             }
1747             # @_: ($class, $value, $index, $output) = @_;
1748             sub serialize_connect_get_version_ret {
1749 0 0   0 0   croak "Missing required input 'struct' value"
1750             unless defined $_[1];
1751              
1752             # Serializing field: 'hv_ver'
1753             croak "Missing required input value 'hv_ver'"
1754 0 0         unless exists $_[1]->{hv_ver};
1755             # my ($class, $value, $index, $output) = @_;
1756             croak "Missing required input 'unsigned long' value"
1757 0 0         unless defined $_[1]->{hv_ver};
1758             die "Out of bounds 'unsigned hyper': $_[1]->{hv_ver}"
1759             unless (0 <= $_[1]->{hv_ver}
1760 0 0 0       and $_[1]->{hv_ver} <= 18446744073709551615);
1761             die "Non-integer 'long' value given: $_[1]->{hv_ver}"
1762 0 0         unless int($_[1]->{hv_ver}) == $_[1]->{hv_ver};
1763 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{hv_ver});
1764 0           $_[2] += 8;
1765             }
1766             # @_: ($class, $value, $index, $input) = @_;
1767             sub deserialize_connect_get_lib_version_ret {
1768 0     0 0   my $input_length = length $_[3];
1769 0           $_[1] = {};
1770             # Deserializing field: 'lib_ver'
1771             # my ($class, $value, $index, $input) = @_;
1772 0 0         die "Input buffer too short"
1773             if ($input_length - $_[2]) < 8;
1774 0           $_[1]->{lib_ver} = unpack("Q>", substr( $_[3], $_[2] ));
1775 0           $_[2] += 8;
1776             die "Out of bounds 'unsigned hyper': $_[1]->{lib_ver}"
1777             unless (0 <= $_[1]->{lib_ver}
1778 0 0 0       and $_[1]->{lib_ver} <= 18446744073709551615);
1779             }
1780             # @_: ($class, $value, $index, $output) = @_;
1781             sub serialize_connect_get_lib_version_ret {
1782 0 0   0 0   croak "Missing required input 'struct' value"
1783             unless defined $_[1];
1784              
1785             # Serializing field: 'lib_ver'
1786             croak "Missing required input value 'lib_ver'"
1787 0 0         unless exists $_[1]->{lib_ver};
1788             # my ($class, $value, $index, $output) = @_;
1789             croak "Missing required input 'unsigned long' value"
1790 0 0         unless defined $_[1]->{lib_ver};
1791             die "Out of bounds 'unsigned hyper': $_[1]->{lib_ver}"
1792             unless (0 <= $_[1]->{lib_ver}
1793 0 0 0       and $_[1]->{lib_ver} <= 18446744073709551615);
1794             die "Non-integer 'long' value given: $_[1]->{lib_ver}"
1795 0 0         unless int($_[1]->{lib_ver}) == $_[1]->{lib_ver};
1796 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{lib_ver});
1797 0           $_[2] += 8;
1798             }
1799             # @_: ($class, $value, $index, $input) = @_;
1800             sub deserialize_connect_get_hostname_ret {
1801 0     0 0   my $input_length = length $_[3];
1802 0           $_[1] = {};
1803             # Deserializing field: 'hostname'
1804             # my ($class, $value, $index, $input) = @_;
1805 0           $_[0]->deserialize_nonnull_string( $_[1]->{hostname}, $_[2], $_[3] );
1806             }
1807             # @_: ($class, $value, $index, $output) = @_;
1808             sub serialize_connect_get_hostname_ret {
1809 0 0   0 0   croak "Missing required input 'struct' value"
1810             unless defined $_[1];
1811              
1812             # Serializing field: 'hostname'
1813             croak "Missing required input value 'hostname'"
1814 0 0         unless exists $_[1]->{hostname};
1815             # my ($class, $value, $index, $output) = @_;
1816 0           $_[0]->serialize_nonnull_string( $_[1]->{hostname}, $_[2], $_[3] );
1817             }
1818             # @_: ($class, $value, $index, $input) = @_;
1819             sub deserialize_connect_get_sysinfo_args {
1820 0     0 0   my $input_length = length $_[3];
1821 0           $_[1] = {};
1822             # Deserializing field: 'flags'
1823             # my ($class, $value, $index, $input) = @_;
1824 0 0         die "Input buffer too short"
1825             if ($input_length - $_[2]) < 4;
1826 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
1827 0           $_[2] += 4;
1828             die "Out of bounds 'unsigned int': $_[1]->{flags}"
1829 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
1830             }
1831             # @_: ($class, $value, $index, $output) = @_;
1832             sub serialize_connect_get_sysinfo_args {
1833 0 0   0 0   croak "Missing required input 'struct' value"
1834             unless defined $_[1];
1835              
1836             # Serializing field: 'flags'
1837             croak "Missing required input value 'flags'"
1838 0 0         unless exists $_[1]->{flags};
1839             # my ($class, $value, $index, $output) = @_;
1840             croak "Missing required input 'unsigned int' value"
1841 0 0         unless defined $_[1]->{flags};
1842             die "Out of bounds 'unsigned int': $_[1]->{flags}"
1843 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
1844             die "Non-integer 'int' value given: $_[1]->{flags}"
1845 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
1846 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
1847 0           $_[2] += 4;
1848             }
1849             # @_: ($class, $value, $index, $input) = @_;
1850             sub deserialize_connect_get_sysinfo_ret {
1851 0     0 0   my $input_length = length $_[3];
1852 0           $_[1] = {};
1853             # Deserializing field: 'sysinfo'
1854             # my ($class, $value, $index, $input) = @_;
1855 0           $_[0]->deserialize_nonnull_string( $_[1]->{sysinfo}, $_[2], $_[3] );
1856             }
1857             # @_: ($class, $value, $index, $output) = @_;
1858             sub serialize_connect_get_sysinfo_ret {
1859 0 0   0 0   croak "Missing required input 'struct' value"
1860             unless defined $_[1];
1861              
1862             # Serializing field: 'sysinfo'
1863             croak "Missing required input value 'sysinfo'"
1864 0 0         unless exists $_[1]->{sysinfo};
1865             # my ($class, $value, $index, $output) = @_;
1866 0           $_[0]->serialize_nonnull_string( $_[1]->{sysinfo}, $_[2], $_[3] );
1867             }
1868             # @_: ($class, $value, $index, $input) = @_;
1869             sub deserialize_connect_get_uri_ret {
1870 0     0 0   my $input_length = length $_[3];
1871 0           $_[1] = {};
1872             # Deserializing field: 'uri'
1873             # my ($class, $value, $index, $input) = @_;
1874 0           $_[0]->deserialize_nonnull_string( $_[1]->{uri}, $_[2], $_[3] );
1875             }
1876             # @_: ($class, $value, $index, $output) = @_;
1877             sub serialize_connect_get_uri_ret {
1878 0 0   0 0   croak "Missing required input 'struct' value"
1879             unless defined $_[1];
1880              
1881             # Serializing field: 'uri'
1882             croak "Missing required input value 'uri'"
1883 0 0         unless exists $_[1]->{uri};
1884             # my ($class, $value, $index, $output) = @_;
1885 0           $_[0]->serialize_nonnull_string( $_[1]->{uri}, $_[2], $_[3] );
1886             }
1887             # @_: ($class, $value, $index, $input) = @_;
1888             sub deserialize_connect_get_max_vcpus_args {
1889 0     0 0   my $input_length = length $_[3];
1890 0           $_[1] = {};
1891             # Deserializing field: 'type'
1892             # my ($class, $value, $index, $input) = @_;
1893 0           $_[0]->deserialize_string( $_[1]->{type}, $_[2], $_[3] );
1894             }
1895             # @_: ($class, $value, $index, $output) = @_;
1896             sub serialize_connect_get_max_vcpus_args {
1897 0 0   0 0   croak "Missing required input 'struct' value"
1898             unless defined $_[1];
1899              
1900             # Serializing field: 'type'
1901             croak "Missing required input value 'type'"
1902 0 0         unless exists $_[1]->{type};
1903             # my ($class, $value, $index, $output) = @_;
1904 0           $_[0]->serialize_string( $_[1]->{type}, $_[2], $_[3] );
1905             }
1906             # @_: ($class, $value, $index, $input) = @_;
1907             sub deserialize_connect_get_max_vcpus_ret {
1908 0     0 0   my $input_length = length $_[3];
1909 0           $_[1] = {};
1910             # Deserializing field: 'max_vcpus'
1911             # my ($class, $value, $index, $input) = @_;
1912 0 0         die "Input buffer too short"
1913             if ($input_length - $_[2]) < 4;
1914 0           $_[1]->{max_vcpus} = unpack("l>", substr( $_[3], $_[2] ));
1915 0           $_[2] += 4;
1916             die "Out of bounds 'int': $_[1]->{max_vcpus}"
1917 0 0 0       unless (-2147483648 <= $_[1]->{max_vcpus} and $_[1]->{max_vcpus} < 2147483648);
1918             }
1919             # @_: ($class, $value, $index, $output) = @_;
1920             sub serialize_connect_get_max_vcpus_ret {
1921 0 0   0 0   croak "Missing required input 'struct' value"
1922             unless defined $_[1];
1923              
1924             # Serializing field: 'max_vcpus'
1925             croak "Missing required input value 'max_vcpus'"
1926 0 0         unless exists $_[1]->{max_vcpus};
1927             # my ($class, $value, $index, $output) = @_;
1928             croak "Missing required input 'int' value"
1929 0 0         unless defined $_[1]->{max_vcpus};
1930             die "Out of bounds 'int': $_[1]->{max_vcpus}"
1931 0 0 0       unless (-2147483648 <= $_[1]->{max_vcpus} and $_[1]->{max_vcpus} < 2147483648);
1932             die "Non-integer 'int' value given: $_[1]->{max_vcpus}"
1933 0 0         unless int($_[1]->{max_vcpus}) == $_[1]->{max_vcpus};
1934 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{max_vcpus});
1935 0           $_[2] += 4;
1936             }
1937             # @_: ($class, $value, $index, $input) = @_;
1938             sub deserialize_node_get_info_ret {
1939 0     0 0   my $input_length = length $_[3];
1940 0           $_[1] = {};
1941             # Deserializing field: 'model'
1942             # my ($class, $value, $index, $input) = @_;
1943 0           $_[1]->{model} = [];
1944 0           for my $i1 ( 0 .. (32 - 1) ) {
1945             # my ($class, $value, $index, $input) = @_;
1946 0 0         die "Input buffer too short"
1947             if ($input_length - $_[2]) < 4;
1948 0           $_[1]->{model}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
1949 0           $_[2] += 4;
1950             die "Out of bounds 'char': $_[1]->{model}->[$i1]"
1951 0 0 0       unless (-128 <= $_[1]->{model}->[$i1] and $_[1]->{model}->[$i1] < 128);
1952             }
1953 0           $_[1]->{model} = pack('c*', @{ $_[1]->{model} });
  0            
1954              
1955              
1956             # Deserializing field: 'memory'
1957             # my ($class, $value, $index, $input) = @_;
1958 0 0         die "Input buffer too short"
1959             if ($input_length - $_[2]) < 8;
1960 0           $_[1]->{memory} = unpack("Q>", substr( $_[3], $_[2] ));
1961 0           $_[2] += 8;
1962             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
1963             unless (0 <= $_[1]->{memory}
1964 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
1965              
1966             # Deserializing field: 'cpus'
1967             # my ($class, $value, $index, $input) = @_;
1968 0 0         die "Input buffer too short"
1969             if ($input_length - $_[2]) < 4;
1970 0           $_[1]->{cpus} = unpack("l>", substr( $_[3], $_[2] ));
1971 0           $_[2] += 4;
1972             die "Out of bounds 'int': $_[1]->{cpus}"
1973 0 0 0       unless (-2147483648 <= $_[1]->{cpus} and $_[1]->{cpus} < 2147483648);
1974              
1975             # Deserializing field: 'mhz'
1976             # my ($class, $value, $index, $input) = @_;
1977 0 0         die "Input buffer too short"
1978             if ($input_length - $_[2]) < 4;
1979 0           $_[1]->{mhz} = unpack("l>", substr( $_[3], $_[2] ));
1980 0           $_[2] += 4;
1981             die "Out of bounds 'int': $_[1]->{mhz}"
1982 0 0 0       unless (-2147483648 <= $_[1]->{mhz} and $_[1]->{mhz} < 2147483648);
1983              
1984             # Deserializing field: 'nodes'
1985             # my ($class, $value, $index, $input) = @_;
1986 0 0         die "Input buffer too short"
1987             if ($input_length - $_[2]) < 4;
1988 0           $_[1]->{nodes} = unpack("l>", substr( $_[3], $_[2] ));
1989 0           $_[2] += 4;
1990             die "Out of bounds 'int': $_[1]->{nodes}"
1991 0 0 0       unless (-2147483648 <= $_[1]->{nodes} and $_[1]->{nodes} < 2147483648);
1992              
1993             # Deserializing field: 'sockets'
1994             # my ($class, $value, $index, $input) = @_;
1995 0 0         die "Input buffer too short"
1996             if ($input_length - $_[2]) < 4;
1997 0           $_[1]->{sockets} = unpack("l>", substr( $_[3], $_[2] ));
1998 0           $_[2] += 4;
1999             die "Out of bounds 'int': $_[1]->{sockets}"
2000 0 0 0       unless (-2147483648 <= $_[1]->{sockets} and $_[1]->{sockets} < 2147483648);
2001              
2002             # Deserializing field: 'cores'
2003             # my ($class, $value, $index, $input) = @_;
2004 0 0         die "Input buffer too short"
2005             if ($input_length - $_[2]) < 4;
2006 0           $_[1]->{cores} = unpack("l>", substr( $_[3], $_[2] ));
2007 0           $_[2] += 4;
2008             die "Out of bounds 'int': $_[1]->{cores}"
2009 0 0 0       unless (-2147483648 <= $_[1]->{cores} and $_[1]->{cores} < 2147483648);
2010              
2011             # Deserializing field: 'threads'
2012             # my ($class, $value, $index, $input) = @_;
2013 0 0         die "Input buffer too short"
2014             if ($input_length - $_[2]) < 4;
2015 0           $_[1]->{threads} = unpack("l>", substr( $_[3], $_[2] ));
2016 0           $_[2] += 4;
2017             die "Out of bounds 'int': $_[1]->{threads}"
2018 0 0 0       unless (-2147483648 <= $_[1]->{threads} and $_[1]->{threads} < 2147483648);
2019             }
2020             # @_: ($class, $value, $index, $output) = @_;
2021             sub serialize_node_get_info_ret {
2022 0 0   0 0   croak "Missing required input 'struct' value"
2023             unless defined $_[1];
2024              
2025             # Serializing field: 'model'
2026             croak "Missing required input value 'model'"
2027 0 0         unless exists $_[1]->{model};
2028             # my ($class, $value, $index, $output) = @_;
2029             croak "Missing required input 'array' value"
2030 0 0         unless defined $_[1]->{model};
2031 0           do {
2032 0           local $_[1]->{model} = [ unpack('c*', $_[1]->{model}) ];
2033 0           my $len = scalar @{ $_[1]->{model} };
  0            
2034 0 0         die "Array length mismatch (defined: 32): $len"
2035             if not $len == 32;
2036              
2037 0           for my $i1 ( 0 .. ($len - 1) ) {
2038             # my ($class, $value, $index, $output) = @_;
2039             croak "Missing required input 'char' value"
2040 0 0         unless defined $_[1]->{model}->[$i1];
2041             die "Out of bounds 'char': $_[1]->{model}->[$i1]"
2042 0 0 0       unless (-128 <= $_[1]->{model}->[$i1] and $_[1]->{model}->[$i1] < 128);
2043             die "Non-integer 'char' value given: $_[1]->{model}->[$i1]"
2044 0 0         unless int($_[1]->{model}->[$i1]) == $_[1]->{model}->[$i1];
2045 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{model}->[$i1]);
2046 0           $_[2] += 4;
2047             }
2048             };
2049              
2050             # Serializing field: 'memory'
2051             croak "Missing required input value 'memory'"
2052 0 0         unless exists $_[1]->{memory};
2053             # my ($class, $value, $index, $output) = @_;
2054             croak "Missing required input 'unsigned long' value"
2055 0 0         unless defined $_[1]->{memory};
2056             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
2057             unless (0 <= $_[1]->{memory}
2058 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
2059             die "Non-integer 'long' value given: $_[1]->{memory}"
2060 0 0         unless int($_[1]->{memory}) == $_[1]->{memory};
2061 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memory});
2062 0           $_[2] += 8;
2063              
2064             # Serializing field: 'cpus'
2065             croak "Missing required input value 'cpus'"
2066 0 0         unless exists $_[1]->{cpus};
2067             # my ($class, $value, $index, $output) = @_;
2068             croak "Missing required input 'int' value"
2069 0 0         unless defined $_[1]->{cpus};
2070             die "Out of bounds 'int': $_[1]->{cpus}"
2071 0 0 0       unless (-2147483648 <= $_[1]->{cpus} and $_[1]->{cpus} < 2147483648);
2072             die "Non-integer 'int' value given: $_[1]->{cpus}"
2073 0 0         unless int($_[1]->{cpus}) == $_[1]->{cpus};
2074 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cpus});
2075 0           $_[2] += 4;
2076              
2077             # Serializing field: 'mhz'
2078             croak "Missing required input value 'mhz'"
2079 0 0         unless exists $_[1]->{mhz};
2080             # my ($class, $value, $index, $output) = @_;
2081             croak "Missing required input 'int' value"
2082 0 0         unless defined $_[1]->{mhz};
2083             die "Out of bounds 'int': $_[1]->{mhz}"
2084 0 0 0       unless (-2147483648 <= $_[1]->{mhz} and $_[1]->{mhz} < 2147483648);
2085             die "Non-integer 'int' value given: $_[1]->{mhz}"
2086 0 0         unless int($_[1]->{mhz}) == $_[1]->{mhz};
2087 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{mhz});
2088 0           $_[2] += 4;
2089              
2090             # Serializing field: 'nodes'
2091             croak "Missing required input value 'nodes'"
2092 0 0         unless exists $_[1]->{nodes};
2093             # my ($class, $value, $index, $output) = @_;
2094             croak "Missing required input 'int' value"
2095 0 0         unless defined $_[1]->{nodes};
2096             die "Out of bounds 'int': $_[1]->{nodes}"
2097 0 0 0       unless (-2147483648 <= $_[1]->{nodes} and $_[1]->{nodes} < 2147483648);
2098             die "Non-integer 'int' value given: $_[1]->{nodes}"
2099 0 0         unless int($_[1]->{nodes}) == $_[1]->{nodes};
2100 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nodes});
2101 0           $_[2] += 4;
2102              
2103             # Serializing field: 'sockets'
2104             croak "Missing required input value 'sockets'"
2105 0 0         unless exists $_[1]->{sockets};
2106             # my ($class, $value, $index, $output) = @_;
2107             croak "Missing required input 'int' value"
2108 0 0         unless defined $_[1]->{sockets};
2109             die "Out of bounds 'int': $_[1]->{sockets}"
2110 0 0 0       unless (-2147483648 <= $_[1]->{sockets} and $_[1]->{sockets} < 2147483648);
2111             die "Non-integer 'int' value given: $_[1]->{sockets}"
2112 0 0         unless int($_[1]->{sockets}) == $_[1]->{sockets};
2113 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{sockets});
2114 0           $_[2] += 4;
2115              
2116             # Serializing field: 'cores'
2117             croak "Missing required input value 'cores'"
2118 0 0         unless exists $_[1]->{cores};
2119             # my ($class, $value, $index, $output) = @_;
2120             croak "Missing required input 'int' value"
2121 0 0         unless defined $_[1]->{cores};
2122             die "Out of bounds 'int': $_[1]->{cores}"
2123 0 0 0       unless (-2147483648 <= $_[1]->{cores} and $_[1]->{cores} < 2147483648);
2124             die "Non-integer 'int' value given: $_[1]->{cores}"
2125 0 0         unless int($_[1]->{cores}) == $_[1]->{cores};
2126 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cores});
2127 0           $_[2] += 4;
2128              
2129             # Serializing field: 'threads'
2130             croak "Missing required input value 'threads'"
2131 0 0         unless exists $_[1]->{threads};
2132             # my ($class, $value, $index, $output) = @_;
2133             croak "Missing required input 'int' value"
2134 0 0         unless defined $_[1]->{threads};
2135             die "Out of bounds 'int': $_[1]->{threads}"
2136 0 0 0       unless (-2147483648 <= $_[1]->{threads} and $_[1]->{threads} < 2147483648);
2137             die "Non-integer 'int' value given: $_[1]->{threads}"
2138 0 0         unless int($_[1]->{threads}) == $_[1]->{threads};
2139 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{threads});
2140 0           $_[2] += 4;
2141             }
2142             # @_: ($class, $value, $index, $input) = @_;
2143             sub deserialize_connect_get_capabilities_ret {
2144 0     0 0   my $input_length = length $_[3];
2145 0           $_[1] = {};
2146             # Deserializing field: 'capabilities'
2147             # my ($class, $value, $index, $input) = @_;
2148 0           $_[0]->deserialize_nonnull_string( $_[1]->{capabilities}, $_[2], $_[3] );
2149             }
2150             # @_: ($class, $value, $index, $output) = @_;
2151             sub serialize_connect_get_capabilities_ret {
2152 0 0   0 0   croak "Missing required input 'struct' value"
2153             unless defined $_[1];
2154              
2155             # Serializing field: 'capabilities'
2156             croak "Missing required input value 'capabilities'"
2157 0 0         unless exists $_[1]->{capabilities};
2158             # my ($class, $value, $index, $output) = @_;
2159 0           $_[0]->serialize_nonnull_string( $_[1]->{capabilities}, $_[2], $_[3] );
2160             }
2161             # @_: ($class, $value, $index, $input) = @_;
2162             sub deserialize_connect_get_domain_capabilities_args {
2163 0     0 0   my $input_length = length $_[3];
2164 0           $_[1] = {};
2165             # Deserializing field: 'emulatorbin'
2166             # my ($class, $value, $index, $input) = @_;
2167 0           $_[0]->deserialize_string( $_[1]->{emulatorbin}, $_[2], $_[3] );
2168              
2169             # Deserializing field: 'arch'
2170             # my ($class, $value, $index, $input) = @_;
2171 0           $_[0]->deserialize_string( $_[1]->{arch}, $_[2], $_[3] );
2172              
2173             # Deserializing field: 'machine'
2174             # my ($class, $value, $index, $input) = @_;
2175 0           $_[0]->deserialize_string( $_[1]->{machine}, $_[2], $_[3] );
2176              
2177             # Deserializing field: 'virttype'
2178             # my ($class, $value, $index, $input) = @_;
2179 0           $_[0]->deserialize_string( $_[1]->{virttype}, $_[2], $_[3] );
2180              
2181             # Deserializing field: 'flags'
2182             # my ($class, $value, $index, $input) = @_;
2183 0 0         die "Input buffer too short"
2184             if ($input_length - $_[2]) < 4;
2185 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
2186 0           $_[2] += 4;
2187             die "Out of bounds 'unsigned int': $_[1]->{flags}"
2188 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
2189             }
2190             # @_: ($class, $value, $index, $output) = @_;
2191             sub serialize_connect_get_domain_capabilities_args {
2192 0 0   0 0   croak "Missing required input 'struct' value"
2193             unless defined $_[1];
2194              
2195             # Serializing field: 'emulatorbin'
2196             croak "Missing required input value 'emulatorbin'"
2197 0 0         unless exists $_[1]->{emulatorbin};
2198             # my ($class, $value, $index, $output) = @_;
2199 0           $_[0]->serialize_string( $_[1]->{emulatorbin}, $_[2], $_[3] );
2200              
2201             # Serializing field: 'arch'
2202             croak "Missing required input value 'arch'"
2203 0 0         unless exists $_[1]->{arch};
2204             # my ($class, $value, $index, $output) = @_;
2205 0           $_[0]->serialize_string( $_[1]->{arch}, $_[2], $_[3] );
2206              
2207             # Serializing field: 'machine'
2208             croak "Missing required input value 'machine'"
2209 0 0         unless exists $_[1]->{machine};
2210             # my ($class, $value, $index, $output) = @_;
2211 0           $_[0]->serialize_string( $_[1]->{machine}, $_[2], $_[3] );
2212              
2213             # Serializing field: 'virttype'
2214             croak "Missing required input value 'virttype'"
2215 0 0         unless exists $_[1]->{virttype};
2216             # my ($class, $value, $index, $output) = @_;
2217 0           $_[0]->serialize_string( $_[1]->{virttype}, $_[2], $_[3] );
2218              
2219             # Serializing field: 'flags'
2220             croak "Missing required input value 'flags'"
2221 0 0         unless exists $_[1]->{flags};
2222             # my ($class, $value, $index, $output) = @_;
2223             croak "Missing required input 'unsigned int' value"
2224 0 0         unless defined $_[1]->{flags};
2225             die "Out of bounds 'unsigned int': $_[1]->{flags}"
2226 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
2227             die "Non-integer 'int' value given: $_[1]->{flags}"
2228 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
2229 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
2230 0           $_[2] += 4;
2231             }
2232             # @_: ($class, $value, $index, $input) = @_;
2233             sub deserialize_connect_get_domain_capabilities_ret {
2234 0     0 0   my $input_length = length $_[3];
2235 0           $_[1] = {};
2236             # Deserializing field: 'capabilities'
2237             # my ($class, $value, $index, $input) = @_;
2238 0           $_[0]->deserialize_nonnull_string( $_[1]->{capabilities}, $_[2], $_[3] );
2239             }
2240             # @_: ($class, $value, $index, $output) = @_;
2241             sub serialize_connect_get_domain_capabilities_ret {
2242 0 0   0 0   croak "Missing required input 'struct' value"
2243             unless defined $_[1];
2244              
2245             # Serializing field: 'capabilities'
2246             croak "Missing required input value 'capabilities'"
2247 0 0         unless exists $_[1]->{capabilities};
2248             # my ($class, $value, $index, $output) = @_;
2249 0           $_[0]->serialize_nonnull_string( $_[1]->{capabilities}, $_[2], $_[3] );
2250             }
2251             # @_: ($class, $value, $index, $input) = @_;
2252             sub deserialize_node_get_cpu_stats_args {
2253 0     0 0   my $input_length = length $_[3];
2254 0           $_[1] = {};
2255             # Deserializing field: 'cpuNum'
2256             # my ($class, $value, $index, $input) = @_;
2257 0 0         die "Input buffer too short"
2258             if ($input_length - $_[2]) < 4;
2259 0           $_[1]->{cpuNum} = unpack("l>", substr( $_[3], $_[2] ));
2260 0           $_[2] += 4;
2261             die "Out of bounds 'int': $_[1]->{cpuNum}"
2262 0 0 0       unless (-2147483648 <= $_[1]->{cpuNum} and $_[1]->{cpuNum} < 2147483648);
2263              
2264             # Deserializing field: 'nparams'
2265             # my ($class, $value, $index, $input) = @_;
2266 0 0         die "Input buffer too short"
2267             if ($input_length - $_[2]) < 4;
2268 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
2269 0           $_[2] += 4;
2270             die "Out of bounds 'int': $_[1]->{nparams}"
2271 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2272              
2273             # Deserializing field: 'flags'
2274             # my ($class, $value, $index, $input) = @_;
2275 0 0         die "Input buffer too short"
2276             if ($input_length - $_[2]) < 4;
2277 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
2278 0           $_[2] += 4;
2279             die "Out of bounds 'unsigned int': $_[1]->{flags}"
2280 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
2281             }
2282             # @_: ($class, $value, $index, $output) = @_;
2283             sub serialize_node_get_cpu_stats_args {
2284 0 0   0 0   croak "Missing required input 'struct' value"
2285             unless defined $_[1];
2286              
2287             # Serializing field: 'cpuNum'
2288             croak "Missing required input value 'cpuNum'"
2289 0 0         unless exists $_[1]->{cpuNum};
2290             # my ($class, $value, $index, $output) = @_;
2291             croak "Missing required input 'int' value"
2292 0 0         unless defined $_[1]->{cpuNum};
2293             die "Out of bounds 'int': $_[1]->{cpuNum}"
2294 0 0 0       unless (-2147483648 <= $_[1]->{cpuNum} and $_[1]->{cpuNum} < 2147483648);
2295             die "Non-integer 'int' value given: $_[1]->{cpuNum}"
2296 0 0         unless int($_[1]->{cpuNum}) == $_[1]->{cpuNum};
2297 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cpuNum});
2298 0           $_[2] += 4;
2299              
2300             # Serializing field: 'nparams'
2301             croak "Missing required input value 'nparams'"
2302 0 0         unless exists $_[1]->{nparams};
2303             # my ($class, $value, $index, $output) = @_;
2304             croak "Missing required input 'int' value"
2305 0 0         unless defined $_[1]->{nparams};
2306             die "Out of bounds 'int': $_[1]->{nparams}"
2307 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2308             die "Non-integer 'int' value given: $_[1]->{nparams}"
2309 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
2310 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
2311 0           $_[2] += 4;
2312              
2313             # Serializing field: 'flags'
2314             croak "Missing required input value 'flags'"
2315 0 0         unless exists $_[1]->{flags};
2316             # my ($class, $value, $index, $output) = @_;
2317             croak "Missing required input 'unsigned int' value"
2318 0 0         unless defined $_[1]->{flags};
2319             die "Out of bounds 'unsigned int': $_[1]->{flags}"
2320 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
2321             die "Non-integer 'int' value given: $_[1]->{flags}"
2322 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
2323 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
2324 0           $_[2] += 4;
2325             }
2326             # @_: ($class, $value, $index, $input) = @_;
2327             sub deserialize_node_get_cpu_stats_ret {
2328 0     0 0   my $input_length = length $_[3];
2329 0           $_[1] = {};
2330             # Deserializing field: 'params'
2331             # my ($class, $value, $index, $input) = @_;
2332 0           do {
2333 0 0         die "Input buffer too short"
2334             if ($input_length - $_[2]) < 4;
2335 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
2336 0           $_[2] += 4;
2337              
2338 0 0         die "Array too long (max: 16): $len"
2339             unless ($len <= 16);
2340 0           $_[1]->{params} = [];
2341 0           for my $i1 ( 0 .. ($len - 1) ) {
2342             # my ($class, $value, $index, $input) = @_;
2343 0           $_[0]->deserialize_node_get_cpu_stats( $_[1]->{params}->[$i1], $_[2], $_[3] );
2344             }
2345             };
2346              
2347             # Deserializing field: 'nparams'
2348             # my ($class, $value, $index, $input) = @_;
2349 0 0         die "Input buffer too short"
2350             if ($input_length - $_[2]) < 4;
2351 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
2352 0           $_[2] += 4;
2353             die "Out of bounds 'int': $_[1]->{nparams}"
2354 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2355             }
2356             # @_: ($class, $value, $index, $output) = @_;
2357             sub serialize_node_get_cpu_stats_ret {
2358 0 0   0 0   croak "Missing required input 'struct' value"
2359             unless defined $_[1];
2360              
2361             # Serializing field: 'params'
2362             croak "Missing required input value 'params'"
2363 0 0         unless exists $_[1]->{params};
2364             # my ($class, $value, $index, $output) = @_;
2365             croak "Missing required input 'array' value"
2366 0 0         unless defined $_[1]->{params};
2367 0           do {
2368 0           my $len = scalar @{ $_[1]->{params} };
  0            
2369 0 0         die "Array too long (max: 16): $len"
2370             unless ($len <= 16);
2371              
2372 0           substr( $_[3], $_[2] ) = pack("L>", $len);
2373 0           $_[2] += 4;
2374 0           for my $i1 ( 0 .. ($len - 1) ) {
2375             # my ($class, $value, $index, $output) = @_;
2376 0           $_[0]->serialize_node_get_cpu_stats( $_[1]->{params}->[$i1], $_[2], $_[3] );
2377             }
2378             };
2379              
2380             # Serializing field: 'nparams'
2381             croak "Missing required input value 'nparams'"
2382 0 0         unless exists $_[1]->{nparams};
2383             # my ($class, $value, $index, $output) = @_;
2384             croak "Missing required input 'int' value"
2385 0 0         unless defined $_[1]->{nparams};
2386             die "Out of bounds 'int': $_[1]->{nparams}"
2387 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2388             die "Non-integer 'int' value given: $_[1]->{nparams}"
2389 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
2390 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
2391 0           $_[2] += 4;
2392             }
2393             # @_: ($class, $value, $index, $input) = @_;
2394             sub deserialize_node_get_memory_stats_args {
2395 0     0 0   my $input_length = length $_[3];
2396 0           $_[1] = {};
2397             # Deserializing field: 'nparams'
2398             # my ($class, $value, $index, $input) = @_;
2399 0 0         die "Input buffer too short"
2400             if ($input_length - $_[2]) < 4;
2401 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
2402 0           $_[2] += 4;
2403             die "Out of bounds 'int': $_[1]->{nparams}"
2404 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2405              
2406             # Deserializing field: 'cellNum'
2407             # my ($class, $value, $index, $input) = @_;
2408 0 0         die "Input buffer too short"
2409             if ($input_length - $_[2]) < 4;
2410 0           $_[1]->{cellNum} = unpack("l>", substr( $_[3], $_[2] ));
2411 0           $_[2] += 4;
2412             die "Out of bounds 'int': $_[1]->{cellNum}"
2413 0 0 0       unless (-2147483648 <= $_[1]->{cellNum} and $_[1]->{cellNum} < 2147483648);
2414              
2415             # Deserializing field: 'flags'
2416             # my ($class, $value, $index, $input) = @_;
2417 0 0         die "Input buffer too short"
2418             if ($input_length - $_[2]) < 4;
2419 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
2420 0           $_[2] += 4;
2421             die "Out of bounds 'unsigned int': $_[1]->{flags}"
2422 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
2423             }
2424             # @_: ($class, $value, $index, $output) = @_;
2425             sub serialize_node_get_memory_stats_args {
2426 0 0   0 0   croak "Missing required input 'struct' value"
2427             unless defined $_[1];
2428              
2429             # Serializing field: 'nparams'
2430             croak "Missing required input value 'nparams'"
2431 0 0         unless exists $_[1]->{nparams};
2432             # my ($class, $value, $index, $output) = @_;
2433             croak "Missing required input 'int' value"
2434 0 0         unless defined $_[1]->{nparams};
2435             die "Out of bounds 'int': $_[1]->{nparams}"
2436 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2437             die "Non-integer 'int' value given: $_[1]->{nparams}"
2438 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
2439 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
2440 0           $_[2] += 4;
2441              
2442             # Serializing field: 'cellNum'
2443             croak "Missing required input value 'cellNum'"
2444 0 0         unless exists $_[1]->{cellNum};
2445             # my ($class, $value, $index, $output) = @_;
2446             croak "Missing required input 'int' value"
2447 0 0         unless defined $_[1]->{cellNum};
2448             die "Out of bounds 'int': $_[1]->{cellNum}"
2449 0 0 0       unless (-2147483648 <= $_[1]->{cellNum} and $_[1]->{cellNum} < 2147483648);
2450             die "Non-integer 'int' value given: $_[1]->{cellNum}"
2451 0 0         unless int($_[1]->{cellNum}) == $_[1]->{cellNum};
2452 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cellNum});
2453 0           $_[2] += 4;
2454              
2455             # Serializing field: 'flags'
2456             croak "Missing required input value 'flags'"
2457 0 0         unless exists $_[1]->{flags};
2458             # my ($class, $value, $index, $output) = @_;
2459             croak "Missing required input 'unsigned int' value"
2460 0 0         unless defined $_[1]->{flags};
2461             die "Out of bounds 'unsigned int': $_[1]->{flags}"
2462 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
2463             die "Non-integer 'int' value given: $_[1]->{flags}"
2464 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
2465 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
2466 0           $_[2] += 4;
2467             }
2468             # @_: ($class, $value, $index, $input) = @_;
2469             sub deserialize_node_get_memory_stats_ret {
2470 0     0 0   my $input_length = length $_[3];
2471 0           $_[1] = {};
2472             # Deserializing field: 'params'
2473             # my ($class, $value, $index, $input) = @_;
2474 0           do {
2475 0 0         die "Input buffer too short"
2476             if ($input_length - $_[2]) < 4;
2477 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
2478 0           $_[2] += 4;
2479              
2480 0 0         die "Array too long (max: 16): $len"
2481             unless ($len <= 16);
2482 0           $_[1]->{params} = [];
2483 0           for my $i1 ( 0 .. ($len - 1) ) {
2484             # my ($class, $value, $index, $input) = @_;
2485 0           $_[0]->deserialize_node_get_memory_stats( $_[1]->{params}->[$i1], $_[2], $_[3] );
2486             }
2487             };
2488              
2489             # Deserializing field: 'nparams'
2490             # my ($class, $value, $index, $input) = @_;
2491 0 0         die "Input buffer too short"
2492             if ($input_length - $_[2]) < 4;
2493 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
2494 0           $_[2] += 4;
2495             die "Out of bounds 'int': $_[1]->{nparams}"
2496 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2497             }
2498             # @_: ($class, $value, $index, $output) = @_;
2499             sub serialize_node_get_memory_stats_ret {
2500 0 0   0 0   croak "Missing required input 'struct' value"
2501             unless defined $_[1];
2502              
2503             # Serializing field: 'params'
2504             croak "Missing required input value 'params'"
2505 0 0         unless exists $_[1]->{params};
2506             # my ($class, $value, $index, $output) = @_;
2507             croak "Missing required input 'array' value"
2508 0 0         unless defined $_[1]->{params};
2509 0           do {
2510 0           my $len = scalar @{ $_[1]->{params} };
  0            
2511 0 0         die "Array too long (max: 16): $len"
2512             unless ($len <= 16);
2513              
2514 0           substr( $_[3], $_[2] ) = pack("L>", $len);
2515 0           $_[2] += 4;
2516 0           for my $i1 ( 0 .. ($len - 1) ) {
2517             # my ($class, $value, $index, $output) = @_;
2518 0           $_[0]->serialize_node_get_memory_stats( $_[1]->{params}->[$i1], $_[2], $_[3] );
2519             }
2520             };
2521              
2522             # Serializing field: 'nparams'
2523             croak "Missing required input value 'nparams'"
2524 0 0         unless exists $_[1]->{nparams};
2525             # my ($class, $value, $index, $output) = @_;
2526             croak "Missing required input 'int' value"
2527 0 0         unless defined $_[1]->{nparams};
2528             die "Out of bounds 'int': $_[1]->{nparams}"
2529 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2530             die "Non-integer 'int' value given: $_[1]->{nparams}"
2531 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
2532 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
2533 0           $_[2] += 4;
2534             }
2535             # @_: ($class, $value, $index, $input) = @_;
2536             sub deserialize_node_get_cells_free_memory_args {
2537 0     0 0   my $input_length = length $_[3];
2538 0           $_[1] = {};
2539             # Deserializing field: 'startCell'
2540             # my ($class, $value, $index, $input) = @_;
2541 0 0         die "Input buffer too short"
2542             if ($input_length - $_[2]) < 4;
2543 0           $_[1]->{startCell} = unpack("l>", substr( $_[3], $_[2] ));
2544 0           $_[2] += 4;
2545             die "Out of bounds 'int': $_[1]->{startCell}"
2546 0 0 0       unless (-2147483648 <= $_[1]->{startCell} and $_[1]->{startCell} < 2147483648);
2547              
2548             # Deserializing field: 'maxcells'
2549             # my ($class, $value, $index, $input) = @_;
2550 0 0         die "Input buffer too short"
2551             if ($input_length - $_[2]) < 4;
2552 0           $_[1]->{maxcells} = unpack("l>", substr( $_[3], $_[2] ));
2553 0           $_[2] += 4;
2554             die "Out of bounds 'int': $_[1]->{maxcells}"
2555 0 0 0       unless (-2147483648 <= $_[1]->{maxcells} and $_[1]->{maxcells} < 2147483648);
2556             }
2557             # @_: ($class, $value, $index, $output) = @_;
2558             sub serialize_node_get_cells_free_memory_args {
2559 0 0   0 0   croak "Missing required input 'struct' value"
2560             unless defined $_[1];
2561              
2562             # Serializing field: 'startCell'
2563             croak "Missing required input value 'startCell'"
2564 0 0         unless exists $_[1]->{startCell};
2565             # my ($class, $value, $index, $output) = @_;
2566             croak "Missing required input 'int' value"
2567 0 0         unless defined $_[1]->{startCell};
2568             die "Out of bounds 'int': $_[1]->{startCell}"
2569 0 0 0       unless (-2147483648 <= $_[1]->{startCell} and $_[1]->{startCell} < 2147483648);
2570             die "Non-integer 'int' value given: $_[1]->{startCell}"
2571 0 0         unless int($_[1]->{startCell}) == $_[1]->{startCell};
2572 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{startCell});
2573 0           $_[2] += 4;
2574              
2575             # Serializing field: 'maxcells'
2576             croak "Missing required input value 'maxcells'"
2577 0 0         unless exists $_[1]->{maxcells};
2578             # my ($class, $value, $index, $output) = @_;
2579             croak "Missing required input 'int' value"
2580 0 0         unless defined $_[1]->{maxcells};
2581             die "Out of bounds 'int': $_[1]->{maxcells}"
2582 0 0 0       unless (-2147483648 <= $_[1]->{maxcells} and $_[1]->{maxcells} < 2147483648);
2583             die "Non-integer 'int' value given: $_[1]->{maxcells}"
2584 0 0         unless int($_[1]->{maxcells}) == $_[1]->{maxcells};
2585 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxcells});
2586 0           $_[2] += 4;
2587             }
2588             # @_: ($class, $value, $index, $input) = @_;
2589             sub deserialize_node_get_cells_free_memory_ret {
2590 0     0 0   my $input_length = length $_[3];
2591 0           $_[1] = {};
2592             # Deserializing field: 'cells'
2593             # my ($class, $value, $index, $input) = @_;
2594 0           do {
2595 0 0         die "Input buffer too short"
2596             if ($input_length - $_[2]) < 4;
2597 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
2598 0           $_[2] += 4;
2599              
2600 0 0         die "Array too long (max: 1024): $len"
2601             unless ($len <= 1024);
2602 0           $_[1]->{cells} = [];
2603 0           for my $i1 ( 0 .. ($len - 1) ) {
2604             # my ($class, $value, $index, $input) = @_;
2605 0 0         die "Input buffer too short"
2606             if ($input_length - $_[2]) < 8;
2607 0           $_[1]->{cells}->[$i1] = unpack("Q>", substr( $_[3], $_[2] ));
2608 0           $_[2] += 8;
2609             die "Out of bounds 'unsigned hyper': $_[1]->{cells}->[$i1]"
2610             unless (0 <= $_[1]->{cells}->[$i1]
2611 0 0 0       and $_[1]->{cells}->[$i1] <= 18446744073709551615);
2612             }
2613             };
2614             }
2615             # @_: ($class, $value, $index, $output) = @_;
2616             sub serialize_node_get_cells_free_memory_ret {
2617 0 0   0 0   croak "Missing required input 'struct' value"
2618             unless defined $_[1];
2619              
2620             # Serializing field: 'cells'
2621             croak "Missing required input value 'cells'"
2622 0 0         unless exists $_[1]->{cells};
2623             # my ($class, $value, $index, $output) = @_;
2624             croak "Missing required input 'array' value"
2625 0 0         unless defined $_[1]->{cells};
2626 0           do {
2627 0           my $len = scalar @{ $_[1]->{cells} };
  0            
2628 0 0         die "Array too long (max: 1024): $len"
2629             unless ($len <= 1024);
2630              
2631 0           substr( $_[3], $_[2] ) = pack("L>", $len);
2632 0           $_[2] += 4;
2633 0           for my $i1 ( 0 .. ($len - 1) ) {
2634             # my ($class, $value, $index, $output) = @_;
2635             croak "Missing required input 'unsigned long' value"
2636 0 0         unless defined $_[1]->{cells}->[$i1];
2637             die "Out of bounds 'unsigned hyper': $_[1]->{cells}->[$i1]"
2638             unless (0 <= $_[1]->{cells}->[$i1]
2639 0 0 0       and $_[1]->{cells}->[$i1] <= 18446744073709551615);
2640             die "Non-integer 'long' value given: $_[1]->{cells}->[$i1]"
2641 0 0         unless int($_[1]->{cells}->[$i1]) == $_[1]->{cells}->[$i1];
2642 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{cells}->[$i1]);
2643 0           $_[2] += 8;
2644             }
2645             };
2646             }
2647             # @_: ($class, $value, $index, $input) = @_;
2648             sub deserialize_node_get_free_memory_ret {
2649 0     0 0   my $input_length = length $_[3];
2650 0           $_[1] = {};
2651             # Deserializing field: 'freeMem'
2652             # my ($class, $value, $index, $input) = @_;
2653 0 0         die "Input buffer too short"
2654             if ($input_length - $_[2]) < 8;
2655 0           $_[1]->{freeMem} = unpack("Q>", substr( $_[3], $_[2] ));
2656 0           $_[2] += 8;
2657             die "Out of bounds 'unsigned hyper': $_[1]->{freeMem}"
2658             unless (0 <= $_[1]->{freeMem}
2659 0 0 0       and $_[1]->{freeMem} <= 18446744073709551615);
2660             }
2661             # @_: ($class, $value, $index, $output) = @_;
2662             sub serialize_node_get_free_memory_ret {
2663 0 0   0 0   croak "Missing required input 'struct' value"
2664             unless defined $_[1];
2665              
2666             # Serializing field: 'freeMem'
2667             croak "Missing required input value 'freeMem'"
2668 0 0         unless exists $_[1]->{freeMem};
2669             # my ($class, $value, $index, $output) = @_;
2670             croak "Missing required input 'unsigned long' value"
2671 0 0         unless defined $_[1]->{freeMem};
2672             die "Out of bounds 'unsigned hyper': $_[1]->{freeMem}"
2673             unless (0 <= $_[1]->{freeMem}
2674 0 0 0       and $_[1]->{freeMem} <= 18446744073709551615);
2675             die "Non-integer 'long' value given: $_[1]->{freeMem}"
2676 0 0         unless int($_[1]->{freeMem}) == $_[1]->{freeMem};
2677 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{freeMem});
2678 0           $_[2] += 8;
2679             }
2680             # @_: ($class, $value, $index, $input) = @_;
2681             sub deserialize_domain_get_scheduler_type_args {
2682 0     0 0   my $input_length = length $_[3];
2683 0           $_[1] = {};
2684             # Deserializing field: 'dom'
2685             # my ($class, $value, $index, $input) = @_;
2686 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2687             }
2688             # @_: ($class, $value, $index, $output) = @_;
2689             sub serialize_domain_get_scheduler_type_args {
2690 0 0   0 0   croak "Missing required input 'struct' value"
2691             unless defined $_[1];
2692              
2693             # Serializing field: 'dom'
2694             croak "Missing required input value 'dom'"
2695 0 0         unless exists $_[1]->{dom};
2696             # my ($class, $value, $index, $output) = @_;
2697 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2698             }
2699             # @_: ($class, $value, $index, $input) = @_;
2700             sub deserialize_domain_get_scheduler_type_ret {
2701 0     0 0   my $input_length = length $_[3];
2702 0           $_[1] = {};
2703             # Deserializing field: 'type'
2704             # my ($class, $value, $index, $input) = @_;
2705 0           $_[0]->deserialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
2706              
2707             # Deserializing field: 'nparams'
2708             # my ($class, $value, $index, $input) = @_;
2709 0 0         die "Input buffer too short"
2710             if ($input_length - $_[2]) < 4;
2711 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
2712 0           $_[2] += 4;
2713             die "Out of bounds 'int': $_[1]->{nparams}"
2714 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2715             }
2716             # @_: ($class, $value, $index, $output) = @_;
2717             sub serialize_domain_get_scheduler_type_ret {
2718 0 0   0 0   croak "Missing required input 'struct' value"
2719             unless defined $_[1];
2720              
2721             # Serializing field: 'type'
2722             croak "Missing required input value 'type'"
2723 0 0         unless exists $_[1]->{type};
2724             # my ($class, $value, $index, $output) = @_;
2725 0           $_[0]->serialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
2726              
2727             # Serializing field: 'nparams'
2728             croak "Missing required input value 'nparams'"
2729 0 0         unless exists $_[1]->{nparams};
2730             # my ($class, $value, $index, $output) = @_;
2731             croak "Missing required input 'int' value"
2732 0 0         unless defined $_[1]->{nparams};
2733             die "Out of bounds 'int': $_[1]->{nparams}"
2734 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2735             die "Non-integer 'int' value given: $_[1]->{nparams}"
2736 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
2737 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
2738 0           $_[2] += 4;
2739             }
2740             # @_: ($class, $value, $index, $input) = @_;
2741             sub deserialize_domain_get_scheduler_parameters_args {
2742 0     0 0   my $input_length = length $_[3];
2743 0           $_[1] = {};
2744             # Deserializing field: 'dom'
2745             # my ($class, $value, $index, $input) = @_;
2746 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2747              
2748             # Deserializing field: 'nparams'
2749             # my ($class, $value, $index, $input) = @_;
2750 0 0         die "Input buffer too short"
2751             if ($input_length - $_[2]) < 4;
2752 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
2753 0           $_[2] += 4;
2754             die "Out of bounds 'int': $_[1]->{nparams}"
2755 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2756             }
2757             # @_: ($class, $value, $index, $output) = @_;
2758             sub serialize_domain_get_scheduler_parameters_args {
2759 0 0   0 0   croak "Missing required input 'struct' value"
2760             unless defined $_[1];
2761              
2762             # Serializing field: 'dom'
2763             croak "Missing required input value 'dom'"
2764 0 0         unless exists $_[1]->{dom};
2765             # my ($class, $value, $index, $output) = @_;
2766 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2767              
2768             # Serializing field: 'nparams'
2769             croak "Missing required input value 'nparams'"
2770 0 0         unless exists $_[1]->{nparams};
2771             # my ($class, $value, $index, $output) = @_;
2772             croak "Missing required input 'int' value"
2773 0 0         unless defined $_[1]->{nparams};
2774             die "Out of bounds 'int': $_[1]->{nparams}"
2775 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2776             die "Non-integer 'int' value given: $_[1]->{nparams}"
2777 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
2778 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
2779 0           $_[2] += 4;
2780             }
2781             # @_: ($class, $value, $index, $input) = @_;
2782             sub deserialize_domain_get_scheduler_parameters_ret {
2783 0     0 0   my $input_length = length $_[3];
2784 0           $_[1] = {};
2785             # Deserializing field: 'params'
2786             # my ($class, $value, $index, $input) = @_;
2787 0           do {
2788 0 0         die "Input buffer too short"
2789             if ($input_length - $_[2]) < 4;
2790 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
2791 0           $_[2] += 4;
2792              
2793 0 0         die "Array too long (max: 16): $len"
2794             unless ($len <= 16);
2795 0           $_[1]->{params} = [];
2796 0           for my $i1 ( 0 .. ($len - 1) ) {
2797             # my ($class, $value, $index, $input) = @_;
2798 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
2799             }
2800             };
2801             }
2802             # @_: ($class, $value, $index, $output) = @_;
2803             sub serialize_domain_get_scheduler_parameters_ret {
2804 0 0   0 0   croak "Missing required input 'struct' value"
2805             unless defined $_[1];
2806              
2807             # Serializing field: 'params'
2808             croak "Missing required input value 'params'"
2809 0 0         unless exists $_[1]->{params};
2810             # my ($class, $value, $index, $output) = @_;
2811             croak "Missing required input 'array' value"
2812 0 0         unless defined $_[1]->{params};
2813 0           do {
2814 0           my $len = scalar @{ $_[1]->{params} };
  0            
2815 0 0         die "Array too long (max: 16): $len"
2816             unless ($len <= 16);
2817              
2818 0           substr( $_[3], $_[2] ) = pack("L>", $len);
2819 0           $_[2] += 4;
2820 0           for my $i1 ( 0 .. ($len - 1) ) {
2821             # my ($class, $value, $index, $output) = @_;
2822 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
2823             }
2824             };
2825             }
2826             # @_: ($class, $value, $index, $input) = @_;
2827             sub deserialize_domain_get_scheduler_parameters_flags_args {
2828 0     0 0   my $input_length = length $_[3];
2829 0           $_[1] = {};
2830             # Deserializing field: 'dom'
2831             # my ($class, $value, $index, $input) = @_;
2832 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2833              
2834             # Deserializing field: 'nparams'
2835             # my ($class, $value, $index, $input) = @_;
2836 0 0         die "Input buffer too short"
2837             if ($input_length - $_[2]) < 4;
2838 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
2839 0           $_[2] += 4;
2840             die "Out of bounds 'int': $_[1]->{nparams}"
2841 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2842              
2843             # Deserializing field: 'flags'
2844             # my ($class, $value, $index, $input) = @_;
2845 0 0         die "Input buffer too short"
2846             if ($input_length - $_[2]) < 4;
2847 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
2848 0           $_[2] += 4;
2849             die "Out of bounds 'unsigned int': $_[1]->{flags}"
2850 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
2851             }
2852             # @_: ($class, $value, $index, $output) = @_;
2853             sub serialize_domain_get_scheduler_parameters_flags_args {
2854 0 0   0 0   croak "Missing required input 'struct' value"
2855             unless defined $_[1];
2856              
2857             # Serializing field: 'dom'
2858             croak "Missing required input value 'dom'"
2859 0 0         unless exists $_[1]->{dom};
2860             # my ($class, $value, $index, $output) = @_;
2861 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2862              
2863             # Serializing field: 'nparams'
2864             croak "Missing required input value 'nparams'"
2865 0 0         unless exists $_[1]->{nparams};
2866             # my ($class, $value, $index, $output) = @_;
2867             croak "Missing required input 'int' value"
2868 0 0         unless defined $_[1]->{nparams};
2869             die "Out of bounds 'int': $_[1]->{nparams}"
2870 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2871             die "Non-integer 'int' value given: $_[1]->{nparams}"
2872 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
2873 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
2874 0           $_[2] += 4;
2875              
2876             # Serializing field: 'flags'
2877             croak "Missing required input value 'flags'"
2878 0 0         unless exists $_[1]->{flags};
2879             # my ($class, $value, $index, $output) = @_;
2880             croak "Missing required input 'unsigned int' value"
2881 0 0         unless defined $_[1]->{flags};
2882             die "Out of bounds 'unsigned int': $_[1]->{flags}"
2883 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
2884             die "Non-integer 'int' value given: $_[1]->{flags}"
2885 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
2886 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
2887 0           $_[2] += 4;
2888             }
2889             # @_: ($class, $value, $index, $input) = @_;
2890             sub deserialize_domain_get_scheduler_parameters_flags_ret {
2891 0     0 0   my $input_length = length $_[3];
2892 0           $_[1] = {};
2893             # Deserializing field: 'params'
2894             # my ($class, $value, $index, $input) = @_;
2895 0           do {
2896 0 0         die "Input buffer too short"
2897             if ($input_length - $_[2]) < 4;
2898 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
2899 0           $_[2] += 4;
2900              
2901 0 0         die "Array too long (max: 16): $len"
2902             unless ($len <= 16);
2903 0           $_[1]->{params} = [];
2904 0           for my $i1 ( 0 .. ($len - 1) ) {
2905             # my ($class, $value, $index, $input) = @_;
2906 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
2907             }
2908             };
2909             }
2910             # @_: ($class, $value, $index, $output) = @_;
2911             sub serialize_domain_get_scheduler_parameters_flags_ret {
2912 0 0   0 0   croak "Missing required input 'struct' value"
2913             unless defined $_[1];
2914              
2915             # Serializing field: 'params'
2916             croak "Missing required input value 'params'"
2917 0 0         unless exists $_[1]->{params};
2918             # my ($class, $value, $index, $output) = @_;
2919             croak "Missing required input 'array' value"
2920 0 0         unless defined $_[1]->{params};
2921 0           do {
2922 0           my $len = scalar @{ $_[1]->{params} };
  0            
2923 0 0         die "Array too long (max: 16): $len"
2924             unless ($len <= 16);
2925              
2926 0           substr( $_[3], $_[2] ) = pack("L>", $len);
2927 0           $_[2] += 4;
2928 0           for my $i1 ( 0 .. ($len - 1) ) {
2929             # my ($class, $value, $index, $output) = @_;
2930 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
2931             }
2932             };
2933             }
2934             # @_: ($class, $value, $index, $input) = @_;
2935             sub deserialize_domain_set_scheduler_parameters_args {
2936 0     0 0   my $input_length = length $_[3];
2937 0           $_[1] = {};
2938             # Deserializing field: 'dom'
2939             # my ($class, $value, $index, $input) = @_;
2940 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2941              
2942             # Deserializing field: 'params'
2943             # my ($class, $value, $index, $input) = @_;
2944 0           do {
2945 0 0         die "Input buffer too short"
2946             if ($input_length - $_[2]) < 4;
2947 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
2948 0           $_[2] += 4;
2949              
2950 0 0         die "Array too long (max: 16): $len"
2951             unless ($len <= 16);
2952 0           $_[1]->{params} = [];
2953 0           for my $i1 ( 0 .. ($len - 1) ) {
2954             # my ($class, $value, $index, $input) = @_;
2955 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
2956             }
2957             };
2958             }
2959             # @_: ($class, $value, $index, $output) = @_;
2960             sub serialize_domain_set_scheduler_parameters_args {
2961 0 0   0 0   croak "Missing required input 'struct' value"
2962             unless defined $_[1];
2963              
2964             # Serializing field: 'dom'
2965             croak "Missing required input value 'dom'"
2966 0 0         unless exists $_[1]->{dom};
2967             # my ($class, $value, $index, $output) = @_;
2968 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2969              
2970             # Serializing field: 'params'
2971             croak "Missing required input value 'params'"
2972 0 0         unless exists $_[1]->{params};
2973             # my ($class, $value, $index, $output) = @_;
2974             croak "Missing required input 'array' value"
2975 0 0         unless defined $_[1]->{params};
2976 0           do {
2977 0           my $len = scalar @{ $_[1]->{params} };
  0            
2978 0 0         die "Array too long (max: 16): $len"
2979             unless ($len <= 16);
2980              
2981 0           substr( $_[3], $_[2] ) = pack("L>", $len);
2982 0           $_[2] += 4;
2983 0           for my $i1 ( 0 .. ($len - 1) ) {
2984             # my ($class, $value, $index, $output) = @_;
2985 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
2986             }
2987             };
2988             }
2989             # @_: ($class, $value, $index, $input) = @_;
2990             sub deserialize_domain_set_scheduler_parameters_flags_args {
2991 0     0 0   my $input_length = length $_[3];
2992 0           $_[1] = {};
2993             # Deserializing field: 'dom'
2994             # my ($class, $value, $index, $input) = @_;
2995 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2996              
2997             # Deserializing field: 'params'
2998             # my ($class, $value, $index, $input) = @_;
2999 0           do {
3000 0 0         die "Input buffer too short"
3001             if ($input_length - $_[2]) < 4;
3002 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3003 0           $_[2] += 4;
3004              
3005 0 0         die "Array too long (max: 16): $len"
3006             unless ($len <= 16);
3007 0           $_[1]->{params} = [];
3008 0           for my $i1 ( 0 .. ($len - 1) ) {
3009             # my ($class, $value, $index, $input) = @_;
3010 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3011             }
3012             };
3013              
3014             # Deserializing field: 'flags'
3015             # my ($class, $value, $index, $input) = @_;
3016 0 0         die "Input buffer too short"
3017             if ($input_length - $_[2]) < 4;
3018 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3019 0           $_[2] += 4;
3020             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3021 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3022             }
3023             # @_: ($class, $value, $index, $output) = @_;
3024             sub serialize_domain_set_scheduler_parameters_flags_args {
3025 0 0   0 0   croak "Missing required input 'struct' value"
3026             unless defined $_[1];
3027              
3028             # Serializing field: 'dom'
3029             croak "Missing required input value 'dom'"
3030 0 0         unless exists $_[1]->{dom};
3031             # my ($class, $value, $index, $output) = @_;
3032 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3033              
3034             # Serializing field: 'params'
3035             croak "Missing required input value 'params'"
3036 0 0         unless exists $_[1]->{params};
3037             # my ($class, $value, $index, $output) = @_;
3038             croak "Missing required input 'array' value"
3039 0 0         unless defined $_[1]->{params};
3040 0           do {
3041 0           my $len = scalar @{ $_[1]->{params} };
  0            
3042 0 0         die "Array too long (max: 16): $len"
3043             unless ($len <= 16);
3044              
3045 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3046 0           $_[2] += 4;
3047 0           for my $i1 ( 0 .. ($len - 1) ) {
3048             # my ($class, $value, $index, $output) = @_;
3049 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3050             }
3051             };
3052              
3053             # Serializing field: 'flags'
3054             croak "Missing required input value 'flags'"
3055 0 0         unless exists $_[1]->{flags};
3056             # my ($class, $value, $index, $output) = @_;
3057             croak "Missing required input 'unsigned int' value"
3058 0 0         unless defined $_[1]->{flags};
3059             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3060 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3061             die "Non-integer 'int' value given: $_[1]->{flags}"
3062 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3063 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3064 0           $_[2] += 4;
3065             }
3066             # @_: ($class, $value, $index, $input) = @_;
3067             sub deserialize_domain_set_blkio_parameters_args {
3068 0     0 0   my $input_length = length $_[3];
3069 0           $_[1] = {};
3070             # Deserializing field: 'dom'
3071             # my ($class, $value, $index, $input) = @_;
3072 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3073              
3074             # Deserializing field: 'params'
3075             # my ($class, $value, $index, $input) = @_;
3076 0           do {
3077 0 0         die "Input buffer too short"
3078             if ($input_length - $_[2]) < 4;
3079 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3080 0           $_[2] += 4;
3081              
3082 0 0         die "Array too long (max: 16): $len"
3083             unless ($len <= 16);
3084 0           $_[1]->{params} = [];
3085 0           for my $i1 ( 0 .. ($len - 1) ) {
3086             # my ($class, $value, $index, $input) = @_;
3087 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3088             }
3089             };
3090              
3091             # Deserializing field: 'flags'
3092             # my ($class, $value, $index, $input) = @_;
3093 0 0         die "Input buffer too short"
3094             if ($input_length - $_[2]) < 4;
3095 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3096 0           $_[2] += 4;
3097             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3098 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3099             }
3100             # @_: ($class, $value, $index, $output) = @_;
3101             sub serialize_domain_set_blkio_parameters_args {
3102 0 0   0 0   croak "Missing required input 'struct' value"
3103             unless defined $_[1];
3104              
3105             # Serializing field: 'dom'
3106             croak "Missing required input value 'dom'"
3107 0 0         unless exists $_[1]->{dom};
3108             # my ($class, $value, $index, $output) = @_;
3109 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3110              
3111             # Serializing field: 'params'
3112             croak "Missing required input value 'params'"
3113 0 0         unless exists $_[1]->{params};
3114             # my ($class, $value, $index, $output) = @_;
3115             croak "Missing required input 'array' value"
3116 0 0         unless defined $_[1]->{params};
3117 0           do {
3118 0           my $len = scalar @{ $_[1]->{params} };
  0            
3119 0 0         die "Array too long (max: 16): $len"
3120             unless ($len <= 16);
3121              
3122 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3123 0           $_[2] += 4;
3124 0           for my $i1 ( 0 .. ($len - 1) ) {
3125             # my ($class, $value, $index, $output) = @_;
3126 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3127             }
3128             };
3129              
3130             # Serializing field: 'flags'
3131             croak "Missing required input value 'flags'"
3132 0 0         unless exists $_[1]->{flags};
3133             # my ($class, $value, $index, $output) = @_;
3134             croak "Missing required input 'unsigned int' value"
3135 0 0         unless defined $_[1]->{flags};
3136             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3137 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3138             die "Non-integer 'int' value given: $_[1]->{flags}"
3139 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3140 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3141 0           $_[2] += 4;
3142             }
3143             # @_: ($class, $value, $index, $input) = @_;
3144             sub deserialize_domain_get_blkio_parameters_args {
3145 0     0 0   my $input_length = length $_[3];
3146 0           $_[1] = {};
3147             # Deserializing field: 'dom'
3148             # my ($class, $value, $index, $input) = @_;
3149 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3150              
3151             # Deserializing field: 'nparams'
3152             # my ($class, $value, $index, $input) = @_;
3153 0 0         die "Input buffer too short"
3154             if ($input_length - $_[2]) < 4;
3155 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
3156 0           $_[2] += 4;
3157             die "Out of bounds 'int': $_[1]->{nparams}"
3158 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3159              
3160             # Deserializing field: 'flags'
3161             # my ($class, $value, $index, $input) = @_;
3162 0 0         die "Input buffer too short"
3163             if ($input_length - $_[2]) < 4;
3164 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3165 0           $_[2] += 4;
3166             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3167 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3168             }
3169             # @_: ($class, $value, $index, $output) = @_;
3170             sub serialize_domain_get_blkio_parameters_args {
3171 0 0   0 0   croak "Missing required input 'struct' value"
3172             unless defined $_[1];
3173              
3174             # Serializing field: 'dom'
3175             croak "Missing required input value 'dom'"
3176 0 0         unless exists $_[1]->{dom};
3177             # my ($class, $value, $index, $output) = @_;
3178 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3179              
3180             # Serializing field: 'nparams'
3181             croak "Missing required input value 'nparams'"
3182 0 0         unless exists $_[1]->{nparams};
3183             # my ($class, $value, $index, $output) = @_;
3184             croak "Missing required input 'int' value"
3185 0 0         unless defined $_[1]->{nparams};
3186             die "Out of bounds 'int': $_[1]->{nparams}"
3187 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3188             die "Non-integer 'int' value given: $_[1]->{nparams}"
3189 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
3190 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
3191 0           $_[2] += 4;
3192              
3193             # Serializing field: 'flags'
3194             croak "Missing required input value 'flags'"
3195 0 0         unless exists $_[1]->{flags};
3196             # my ($class, $value, $index, $output) = @_;
3197             croak "Missing required input 'unsigned int' value"
3198 0 0         unless defined $_[1]->{flags};
3199             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3200 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3201             die "Non-integer 'int' value given: $_[1]->{flags}"
3202 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3203 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3204 0           $_[2] += 4;
3205             }
3206             # @_: ($class, $value, $index, $input) = @_;
3207             sub deserialize_domain_get_blkio_parameters_ret {
3208 0     0 0   my $input_length = length $_[3];
3209 0           $_[1] = {};
3210             # Deserializing field: 'params'
3211             # my ($class, $value, $index, $input) = @_;
3212 0           do {
3213 0 0         die "Input buffer too short"
3214             if ($input_length - $_[2]) < 4;
3215 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3216 0           $_[2] += 4;
3217              
3218 0 0         die "Array too long (max: 16): $len"
3219             unless ($len <= 16);
3220 0           $_[1]->{params} = [];
3221 0           for my $i1 ( 0 .. ($len - 1) ) {
3222             # my ($class, $value, $index, $input) = @_;
3223 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3224             }
3225             };
3226              
3227             # Deserializing field: 'nparams'
3228             # my ($class, $value, $index, $input) = @_;
3229 0 0         die "Input buffer too short"
3230             if ($input_length - $_[2]) < 4;
3231 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
3232 0           $_[2] += 4;
3233             die "Out of bounds 'int': $_[1]->{nparams}"
3234 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3235             }
3236             # @_: ($class, $value, $index, $output) = @_;
3237             sub serialize_domain_get_blkio_parameters_ret {
3238 0 0   0 0   croak "Missing required input 'struct' value"
3239             unless defined $_[1];
3240              
3241             # Serializing field: 'params'
3242             croak "Missing required input value 'params'"
3243 0 0         unless exists $_[1]->{params};
3244             # my ($class, $value, $index, $output) = @_;
3245             croak "Missing required input 'array' value"
3246 0 0         unless defined $_[1]->{params};
3247 0           do {
3248 0           my $len = scalar @{ $_[1]->{params} };
  0            
3249 0 0         die "Array too long (max: 16): $len"
3250             unless ($len <= 16);
3251              
3252 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3253 0           $_[2] += 4;
3254 0           for my $i1 ( 0 .. ($len - 1) ) {
3255             # my ($class, $value, $index, $output) = @_;
3256 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3257             }
3258             };
3259              
3260             # Serializing field: 'nparams'
3261             croak "Missing required input value 'nparams'"
3262 0 0         unless exists $_[1]->{nparams};
3263             # my ($class, $value, $index, $output) = @_;
3264             croak "Missing required input 'int' value"
3265 0 0         unless defined $_[1]->{nparams};
3266             die "Out of bounds 'int': $_[1]->{nparams}"
3267 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3268             die "Non-integer 'int' value given: $_[1]->{nparams}"
3269 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
3270 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
3271 0           $_[2] += 4;
3272             }
3273             # @_: ($class, $value, $index, $input) = @_;
3274             sub deserialize_domain_set_memory_parameters_args {
3275 0     0 0   my $input_length = length $_[3];
3276 0           $_[1] = {};
3277             # Deserializing field: 'dom'
3278             # my ($class, $value, $index, $input) = @_;
3279 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3280              
3281             # Deserializing field: 'params'
3282             # my ($class, $value, $index, $input) = @_;
3283 0           do {
3284 0 0         die "Input buffer too short"
3285             if ($input_length - $_[2]) < 4;
3286 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3287 0           $_[2] += 4;
3288              
3289 0 0         die "Array too long (max: 16): $len"
3290             unless ($len <= 16);
3291 0           $_[1]->{params} = [];
3292 0           for my $i1 ( 0 .. ($len - 1) ) {
3293             # my ($class, $value, $index, $input) = @_;
3294 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3295             }
3296             };
3297              
3298             # Deserializing field: 'flags'
3299             # my ($class, $value, $index, $input) = @_;
3300 0 0         die "Input buffer too short"
3301             if ($input_length - $_[2]) < 4;
3302 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3303 0           $_[2] += 4;
3304             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3305 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3306             }
3307             # @_: ($class, $value, $index, $output) = @_;
3308             sub serialize_domain_set_memory_parameters_args {
3309 0 0   0 0   croak "Missing required input 'struct' value"
3310             unless defined $_[1];
3311              
3312             # Serializing field: 'dom'
3313             croak "Missing required input value 'dom'"
3314 0 0         unless exists $_[1]->{dom};
3315             # my ($class, $value, $index, $output) = @_;
3316 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3317              
3318             # Serializing field: 'params'
3319             croak "Missing required input value 'params'"
3320 0 0         unless exists $_[1]->{params};
3321             # my ($class, $value, $index, $output) = @_;
3322             croak "Missing required input 'array' value"
3323 0 0         unless defined $_[1]->{params};
3324 0           do {
3325 0           my $len = scalar @{ $_[1]->{params} };
  0            
3326 0 0         die "Array too long (max: 16): $len"
3327             unless ($len <= 16);
3328              
3329 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3330 0           $_[2] += 4;
3331 0           for my $i1 ( 0 .. ($len - 1) ) {
3332             # my ($class, $value, $index, $output) = @_;
3333 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3334             }
3335             };
3336              
3337             # Serializing field: 'flags'
3338             croak "Missing required input value 'flags'"
3339 0 0         unless exists $_[1]->{flags};
3340             # my ($class, $value, $index, $output) = @_;
3341             croak "Missing required input 'unsigned int' value"
3342 0 0         unless defined $_[1]->{flags};
3343             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3344 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3345             die "Non-integer 'int' value given: $_[1]->{flags}"
3346 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3347 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3348 0           $_[2] += 4;
3349             }
3350             # @_: ($class, $value, $index, $input) = @_;
3351             sub deserialize_domain_get_memory_parameters_args {
3352 0     0 0   my $input_length = length $_[3];
3353 0           $_[1] = {};
3354             # Deserializing field: 'dom'
3355             # my ($class, $value, $index, $input) = @_;
3356 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3357              
3358             # Deserializing field: 'nparams'
3359             # my ($class, $value, $index, $input) = @_;
3360 0 0         die "Input buffer too short"
3361             if ($input_length - $_[2]) < 4;
3362 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
3363 0           $_[2] += 4;
3364             die "Out of bounds 'int': $_[1]->{nparams}"
3365 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3366              
3367             # Deserializing field: 'flags'
3368             # my ($class, $value, $index, $input) = @_;
3369 0 0         die "Input buffer too short"
3370             if ($input_length - $_[2]) < 4;
3371 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3372 0           $_[2] += 4;
3373             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3374 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3375             }
3376             # @_: ($class, $value, $index, $output) = @_;
3377             sub serialize_domain_get_memory_parameters_args {
3378 0 0   0 0   croak "Missing required input 'struct' value"
3379             unless defined $_[1];
3380              
3381             # Serializing field: 'dom'
3382             croak "Missing required input value 'dom'"
3383 0 0         unless exists $_[1]->{dom};
3384             # my ($class, $value, $index, $output) = @_;
3385 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3386              
3387             # Serializing field: 'nparams'
3388             croak "Missing required input value 'nparams'"
3389 0 0         unless exists $_[1]->{nparams};
3390             # my ($class, $value, $index, $output) = @_;
3391             croak "Missing required input 'int' value"
3392 0 0         unless defined $_[1]->{nparams};
3393             die "Out of bounds 'int': $_[1]->{nparams}"
3394 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3395             die "Non-integer 'int' value given: $_[1]->{nparams}"
3396 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
3397 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
3398 0           $_[2] += 4;
3399              
3400             # Serializing field: 'flags'
3401             croak "Missing required input value 'flags'"
3402 0 0         unless exists $_[1]->{flags};
3403             # my ($class, $value, $index, $output) = @_;
3404             croak "Missing required input 'unsigned int' value"
3405 0 0         unless defined $_[1]->{flags};
3406             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3407 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3408             die "Non-integer 'int' value given: $_[1]->{flags}"
3409 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3410 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3411 0           $_[2] += 4;
3412             }
3413             # @_: ($class, $value, $index, $input) = @_;
3414             sub deserialize_domain_get_memory_parameters_ret {
3415 0     0 0   my $input_length = length $_[3];
3416 0           $_[1] = {};
3417             # Deserializing field: 'params'
3418             # my ($class, $value, $index, $input) = @_;
3419 0           do {
3420 0 0         die "Input buffer too short"
3421             if ($input_length - $_[2]) < 4;
3422 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3423 0           $_[2] += 4;
3424              
3425 0 0         die "Array too long (max: 16): $len"
3426             unless ($len <= 16);
3427 0           $_[1]->{params} = [];
3428 0           for my $i1 ( 0 .. ($len - 1) ) {
3429             # my ($class, $value, $index, $input) = @_;
3430 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3431             }
3432             };
3433              
3434             # Deserializing field: 'nparams'
3435             # my ($class, $value, $index, $input) = @_;
3436 0 0         die "Input buffer too short"
3437             if ($input_length - $_[2]) < 4;
3438 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
3439 0           $_[2] += 4;
3440             die "Out of bounds 'int': $_[1]->{nparams}"
3441 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3442             }
3443             # @_: ($class, $value, $index, $output) = @_;
3444             sub serialize_domain_get_memory_parameters_ret {
3445 0 0   0 0   croak "Missing required input 'struct' value"
3446             unless defined $_[1];
3447              
3448             # Serializing field: 'params'
3449             croak "Missing required input value 'params'"
3450 0 0         unless exists $_[1]->{params};
3451             # my ($class, $value, $index, $output) = @_;
3452             croak "Missing required input 'array' value"
3453 0 0         unless defined $_[1]->{params};
3454 0           do {
3455 0           my $len = scalar @{ $_[1]->{params} };
  0            
3456 0 0         die "Array too long (max: 16): $len"
3457             unless ($len <= 16);
3458              
3459 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3460 0           $_[2] += 4;
3461 0           for my $i1 ( 0 .. ($len - 1) ) {
3462             # my ($class, $value, $index, $output) = @_;
3463 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3464             }
3465             };
3466              
3467             # Serializing field: 'nparams'
3468             croak "Missing required input value 'nparams'"
3469 0 0         unless exists $_[1]->{nparams};
3470             # my ($class, $value, $index, $output) = @_;
3471             croak "Missing required input 'int' value"
3472 0 0         unless defined $_[1]->{nparams};
3473             die "Out of bounds 'int': $_[1]->{nparams}"
3474 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3475             die "Non-integer 'int' value given: $_[1]->{nparams}"
3476 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
3477 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
3478 0           $_[2] += 4;
3479             }
3480             # @_: ($class, $value, $index, $input) = @_;
3481             sub deserialize_domain_block_resize_args {
3482 0     0 0   my $input_length = length $_[3];
3483 0           $_[1] = {};
3484             # Deserializing field: 'dom'
3485             # my ($class, $value, $index, $input) = @_;
3486 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3487              
3488             # Deserializing field: 'disk'
3489             # my ($class, $value, $index, $input) = @_;
3490 0           $_[0]->deserialize_nonnull_string( $_[1]->{disk}, $_[2], $_[3] );
3491              
3492             # Deserializing field: 'size'
3493             # my ($class, $value, $index, $input) = @_;
3494 0 0         die "Input buffer too short"
3495             if ($input_length - $_[2]) < 8;
3496 0           $_[1]->{size} = unpack("Q>", substr( $_[3], $_[2] ));
3497 0           $_[2] += 8;
3498             die "Out of bounds 'unsigned hyper': $_[1]->{size}"
3499             unless (0 <= $_[1]->{size}
3500 0 0 0       and $_[1]->{size} <= 18446744073709551615);
3501              
3502             # Deserializing field: 'flags'
3503             # my ($class, $value, $index, $input) = @_;
3504 0 0         die "Input buffer too short"
3505             if ($input_length - $_[2]) < 4;
3506 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3507 0           $_[2] += 4;
3508             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3509 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3510             }
3511             # @_: ($class, $value, $index, $output) = @_;
3512             sub serialize_domain_block_resize_args {
3513 0 0   0 0   croak "Missing required input 'struct' value"
3514             unless defined $_[1];
3515              
3516             # Serializing field: 'dom'
3517             croak "Missing required input value 'dom'"
3518 0 0         unless exists $_[1]->{dom};
3519             # my ($class, $value, $index, $output) = @_;
3520 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3521              
3522             # Serializing field: 'disk'
3523             croak "Missing required input value 'disk'"
3524 0 0         unless exists $_[1]->{disk};
3525             # my ($class, $value, $index, $output) = @_;
3526 0           $_[0]->serialize_nonnull_string( $_[1]->{disk}, $_[2], $_[3] );
3527              
3528             # Serializing field: 'size'
3529             croak "Missing required input value 'size'"
3530 0 0         unless exists $_[1]->{size};
3531             # my ($class, $value, $index, $output) = @_;
3532             croak "Missing required input 'unsigned long' value"
3533 0 0         unless defined $_[1]->{size};
3534             die "Out of bounds 'unsigned hyper': $_[1]->{size}"
3535             unless (0 <= $_[1]->{size}
3536 0 0 0       and $_[1]->{size} <= 18446744073709551615);
3537             die "Non-integer 'long' value given: $_[1]->{size}"
3538 0 0         unless int($_[1]->{size}) == $_[1]->{size};
3539 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{size});
3540 0           $_[2] += 8;
3541              
3542             # Serializing field: 'flags'
3543             croak "Missing required input value 'flags'"
3544 0 0         unless exists $_[1]->{flags};
3545             # my ($class, $value, $index, $output) = @_;
3546             croak "Missing required input 'unsigned int' value"
3547 0 0         unless defined $_[1]->{flags};
3548             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3549 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3550             die "Non-integer 'int' value given: $_[1]->{flags}"
3551 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3552 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3553 0           $_[2] += 4;
3554             }
3555             # @_: ($class, $value, $index, $input) = @_;
3556             sub deserialize_domain_set_numa_parameters_args {
3557 0     0 0   my $input_length = length $_[3];
3558 0           $_[1] = {};
3559             # Deserializing field: 'dom'
3560             # my ($class, $value, $index, $input) = @_;
3561 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3562              
3563             # Deserializing field: 'params'
3564             # my ($class, $value, $index, $input) = @_;
3565 0           do {
3566 0 0         die "Input buffer too short"
3567             if ($input_length - $_[2]) < 4;
3568 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3569 0           $_[2] += 4;
3570              
3571 0 0         die "Array too long (max: 16): $len"
3572             unless ($len <= 16);
3573 0           $_[1]->{params} = [];
3574 0           for my $i1 ( 0 .. ($len - 1) ) {
3575             # my ($class, $value, $index, $input) = @_;
3576 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3577             }
3578             };
3579              
3580             # Deserializing field: 'flags'
3581             # my ($class, $value, $index, $input) = @_;
3582 0 0         die "Input buffer too short"
3583             if ($input_length - $_[2]) < 4;
3584 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3585 0           $_[2] += 4;
3586             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3587 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3588             }
3589             # @_: ($class, $value, $index, $output) = @_;
3590             sub serialize_domain_set_numa_parameters_args {
3591 0 0   0 0   croak "Missing required input 'struct' value"
3592             unless defined $_[1];
3593              
3594             # Serializing field: 'dom'
3595             croak "Missing required input value 'dom'"
3596 0 0         unless exists $_[1]->{dom};
3597             # my ($class, $value, $index, $output) = @_;
3598 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3599              
3600             # Serializing field: 'params'
3601             croak "Missing required input value 'params'"
3602 0 0         unless exists $_[1]->{params};
3603             # my ($class, $value, $index, $output) = @_;
3604             croak "Missing required input 'array' value"
3605 0 0         unless defined $_[1]->{params};
3606 0           do {
3607 0           my $len = scalar @{ $_[1]->{params} };
  0            
3608 0 0         die "Array too long (max: 16): $len"
3609             unless ($len <= 16);
3610              
3611 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3612 0           $_[2] += 4;
3613 0           for my $i1 ( 0 .. ($len - 1) ) {
3614             # my ($class, $value, $index, $output) = @_;
3615 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3616             }
3617             };
3618              
3619             # Serializing field: 'flags'
3620             croak "Missing required input value 'flags'"
3621 0 0         unless exists $_[1]->{flags};
3622             # my ($class, $value, $index, $output) = @_;
3623             croak "Missing required input 'unsigned int' value"
3624 0 0         unless defined $_[1]->{flags};
3625             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3626 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3627             die "Non-integer 'int' value given: $_[1]->{flags}"
3628 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3629 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3630 0           $_[2] += 4;
3631             }
3632             # @_: ($class, $value, $index, $input) = @_;
3633             sub deserialize_domain_get_numa_parameters_args {
3634 0     0 0   my $input_length = length $_[3];
3635 0           $_[1] = {};
3636             # Deserializing field: 'dom'
3637             # my ($class, $value, $index, $input) = @_;
3638 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3639              
3640             # Deserializing field: 'nparams'
3641             # my ($class, $value, $index, $input) = @_;
3642 0 0         die "Input buffer too short"
3643             if ($input_length - $_[2]) < 4;
3644 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
3645 0           $_[2] += 4;
3646             die "Out of bounds 'int': $_[1]->{nparams}"
3647 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3648              
3649             # Deserializing field: 'flags'
3650             # my ($class, $value, $index, $input) = @_;
3651 0 0         die "Input buffer too short"
3652             if ($input_length - $_[2]) < 4;
3653 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3654 0           $_[2] += 4;
3655             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3656 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3657             }
3658             # @_: ($class, $value, $index, $output) = @_;
3659             sub serialize_domain_get_numa_parameters_args {
3660 0 0   0 0   croak "Missing required input 'struct' value"
3661             unless defined $_[1];
3662              
3663             # Serializing field: 'dom'
3664             croak "Missing required input value 'dom'"
3665 0 0         unless exists $_[1]->{dom};
3666             # my ($class, $value, $index, $output) = @_;
3667 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3668              
3669             # Serializing field: 'nparams'
3670             croak "Missing required input value 'nparams'"
3671 0 0         unless exists $_[1]->{nparams};
3672             # my ($class, $value, $index, $output) = @_;
3673             croak "Missing required input 'int' value"
3674 0 0         unless defined $_[1]->{nparams};
3675             die "Out of bounds 'int': $_[1]->{nparams}"
3676 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3677             die "Non-integer 'int' value given: $_[1]->{nparams}"
3678 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
3679 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
3680 0           $_[2] += 4;
3681              
3682             # Serializing field: 'flags'
3683             croak "Missing required input value 'flags'"
3684 0 0         unless exists $_[1]->{flags};
3685             # my ($class, $value, $index, $output) = @_;
3686             croak "Missing required input 'unsigned int' value"
3687 0 0         unless defined $_[1]->{flags};
3688             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3689 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3690             die "Non-integer 'int' value given: $_[1]->{flags}"
3691 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3692 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3693 0           $_[2] += 4;
3694             }
3695             # @_: ($class, $value, $index, $input) = @_;
3696             sub deserialize_domain_get_numa_parameters_ret {
3697 0     0 0   my $input_length = length $_[3];
3698 0           $_[1] = {};
3699             # Deserializing field: 'params'
3700             # my ($class, $value, $index, $input) = @_;
3701 0           do {
3702 0 0         die "Input buffer too short"
3703             if ($input_length - $_[2]) < 4;
3704 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3705 0           $_[2] += 4;
3706              
3707 0 0         die "Array too long (max: 16): $len"
3708             unless ($len <= 16);
3709 0           $_[1]->{params} = [];
3710 0           for my $i1 ( 0 .. ($len - 1) ) {
3711             # my ($class, $value, $index, $input) = @_;
3712 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3713             }
3714             };
3715              
3716             # Deserializing field: 'nparams'
3717             # my ($class, $value, $index, $input) = @_;
3718 0 0         die "Input buffer too short"
3719             if ($input_length - $_[2]) < 4;
3720 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
3721 0           $_[2] += 4;
3722             die "Out of bounds 'int': $_[1]->{nparams}"
3723 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3724             }
3725             # @_: ($class, $value, $index, $output) = @_;
3726             sub serialize_domain_get_numa_parameters_ret {
3727 0 0   0 0   croak "Missing required input 'struct' value"
3728             unless defined $_[1];
3729              
3730             # Serializing field: 'params'
3731             croak "Missing required input value 'params'"
3732 0 0         unless exists $_[1]->{params};
3733             # my ($class, $value, $index, $output) = @_;
3734             croak "Missing required input 'array' value"
3735 0 0         unless defined $_[1]->{params};
3736 0           do {
3737 0           my $len = scalar @{ $_[1]->{params} };
  0            
3738 0 0         die "Array too long (max: 16): $len"
3739             unless ($len <= 16);
3740              
3741 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3742 0           $_[2] += 4;
3743 0           for my $i1 ( 0 .. ($len - 1) ) {
3744             # my ($class, $value, $index, $output) = @_;
3745 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3746             }
3747             };
3748              
3749             # Serializing field: 'nparams'
3750             croak "Missing required input value 'nparams'"
3751 0 0         unless exists $_[1]->{nparams};
3752             # my ($class, $value, $index, $output) = @_;
3753             croak "Missing required input 'int' value"
3754 0 0         unless defined $_[1]->{nparams};
3755             die "Out of bounds 'int': $_[1]->{nparams}"
3756 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3757             die "Non-integer 'int' value given: $_[1]->{nparams}"
3758 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
3759 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
3760 0           $_[2] += 4;
3761             }
3762             # @_: ($class, $value, $index, $input) = @_;
3763             sub deserialize_domain_set_perf_events_args {
3764 0     0 0   my $input_length = length $_[3];
3765 0           $_[1] = {};
3766             # Deserializing field: 'dom'
3767             # my ($class, $value, $index, $input) = @_;
3768 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3769              
3770             # Deserializing field: 'params'
3771             # my ($class, $value, $index, $input) = @_;
3772 0           do {
3773 0 0         die "Input buffer too short"
3774             if ($input_length - $_[2]) < 4;
3775 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3776 0           $_[2] += 4;
3777              
3778 0 0         die "Array too long (max: 64): $len"
3779             unless ($len <= 64);
3780 0           $_[1]->{params} = [];
3781 0           for my $i1 ( 0 .. ($len - 1) ) {
3782             # my ($class, $value, $index, $input) = @_;
3783 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3784             }
3785             };
3786              
3787             # Deserializing field: 'flags'
3788             # my ($class, $value, $index, $input) = @_;
3789 0 0         die "Input buffer too short"
3790             if ($input_length - $_[2]) < 4;
3791 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3792 0           $_[2] += 4;
3793             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3794 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3795             }
3796             # @_: ($class, $value, $index, $output) = @_;
3797             sub serialize_domain_set_perf_events_args {
3798 0 0   0 0   croak "Missing required input 'struct' value"
3799             unless defined $_[1];
3800              
3801             # Serializing field: 'dom'
3802             croak "Missing required input value 'dom'"
3803 0 0         unless exists $_[1]->{dom};
3804             # my ($class, $value, $index, $output) = @_;
3805 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3806              
3807             # Serializing field: 'params'
3808             croak "Missing required input value 'params'"
3809 0 0         unless exists $_[1]->{params};
3810             # my ($class, $value, $index, $output) = @_;
3811             croak "Missing required input 'array' value"
3812 0 0         unless defined $_[1]->{params};
3813 0           do {
3814 0           my $len = scalar @{ $_[1]->{params} };
  0            
3815 0 0         die "Array too long (max: 64): $len"
3816             unless ($len <= 64);
3817              
3818 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3819 0           $_[2] += 4;
3820 0           for my $i1 ( 0 .. ($len - 1) ) {
3821             # my ($class, $value, $index, $output) = @_;
3822 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3823             }
3824             };
3825              
3826             # Serializing field: 'flags'
3827             croak "Missing required input value 'flags'"
3828 0 0         unless exists $_[1]->{flags};
3829             # my ($class, $value, $index, $output) = @_;
3830             croak "Missing required input 'unsigned int' value"
3831 0 0         unless defined $_[1]->{flags};
3832             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3833 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3834             die "Non-integer 'int' value given: $_[1]->{flags}"
3835 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3836 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3837 0           $_[2] += 4;
3838             }
3839             # @_: ($class, $value, $index, $input) = @_;
3840             sub deserialize_domain_get_perf_events_args {
3841 0     0 0   my $input_length = length $_[3];
3842 0           $_[1] = {};
3843             # Deserializing field: 'dom'
3844             # my ($class, $value, $index, $input) = @_;
3845 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3846              
3847             # Deserializing field: 'flags'
3848             # my ($class, $value, $index, $input) = @_;
3849 0 0         die "Input buffer too short"
3850             if ($input_length - $_[2]) < 4;
3851 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3852 0           $_[2] += 4;
3853             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3854 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3855             }
3856             # @_: ($class, $value, $index, $output) = @_;
3857             sub serialize_domain_get_perf_events_args {
3858 0 0   0 0   croak "Missing required input 'struct' value"
3859             unless defined $_[1];
3860              
3861             # Serializing field: 'dom'
3862             croak "Missing required input value 'dom'"
3863 0 0         unless exists $_[1]->{dom};
3864             # my ($class, $value, $index, $output) = @_;
3865 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3866              
3867             # Serializing field: 'flags'
3868             croak "Missing required input value 'flags'"
3869 0 0         unless exists $_[1]->{flags};
3870             # my ($class, $value, $index, $output) = @_;
3871             croak "Missing required input 'unsigned int' value"
3872 0 0         unless defined $_[1]->{flags};
3873             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3874 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3875             die "Non-integer 'int' value given: $_[1]->{flags}"
3876 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3877 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3878 0           $_[2] += 4;
3879             }
3880             # @_: ($class, $value, $index, $input) = @_;
3881             sub deserialize_domain_get_perf_events_ret {
3882 0     0 0   my $input_length = length $_[3];
3883 0           $_[1] = {};
3884             # Deserializing field: 'params'
3885             # my ($class, $value, $index, $input) = @_;
3886 0           do {
3887 0 0         die "Input buffer too short"
3888             if ($input_length - $_[2]) < 4;
3889 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3890 0           $_[2] += 4;
3891              
3892 0 0         die "Array too long (max: 64): $len"
3893             unless ($len <= 64);
3894 0           $_[1]->{params} = [];
3895 0           for my $i1 ( 0 .. ($len - 1) ) {
3896             # my ($class, $value, $index, $input) = @_;
3897 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3898             }
3899             };
3900             }
3901             # @_: ($class, $value, $index, $output) = @_;
3902             sub serialize_domain_get_perf_events_ret {
3903 0 0   0 0   croak "Missing required input 'struct' value"
3904             unless defined $_[1];
3905              
3906             # Serializing field: 'params'
3907             croak "Missing required input value 'params'"
3908 0 0         unless exists $_[1]->{params};
3909             # my ($class, $value, $index, $output) = @_;
3910             croak "Missing required input 'array' value"
3911 0 0         unless defined $_[1]->{params};
3912 0           do {
3913 0           my $len = scalar @{ $_[1]->{params} };
  0            
3914 0 0         die "Array too long (max: 64): $len"
3915             unless ($len <= 64);
3916              
3917 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3918 0           $_[2] += 4;
3919 0           for my $i1 ( 0 .. ($len - 1) ) {
3920             # my ($class, $value, $index, $output) = @_;
3921 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3922             }
3923             };
3924             }
3925             # @_: ($class, $value, $index, $input) = @_;
3926             sub deserialize_domain_block_stats_args {
3927 0     0 0   my $input_length = length $_[3];
3928 0           $_[1] = {};
3929             # Deserializing field: 'dom'
3930             # my ($class, $value, $index, $input) = @_;
3931 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3932              
3933             # Deserializing field: 'path'
3934             # my ($class, $value, $index, $input) = @_;
3935 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
3936             }
3937             # @_: ($class, $value, $index, $output) = @_;
3938             sub serialize_domain_block_stats_args {
3939 0 0   0 0   croak "Missing required input 'struct' value"
3940             unless defined $_[1];
3941              
3942             # Serializing field: 'dom'
3943             croak "Missing required input value 'dom'"
3944 0 0         unless exists $_[1]->{dom};
3945             # my ($class, $value, $index, $output) = @_;
3946 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3947              
3948             # Serializing field: 'path'
3949             croak "Missing required input value 'path'"
3950 0 0         unless exists $_[1]->{path};
3951             # my ($class, $value, $index, $output) = @_;
3952 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
3953             }
3954             # @_: ($class, $value, $index, $input) = @_;
3955             sub deserialize_domain_block_stats_ret {
3956 0     0 0   my $input_length = length $_[3];
3957 0           $_[1] = {};
3958             # Deserializing field: 'rd_req'
3959             # my ($class, $value, $index, $input) = @_;
3960 0 0         die "Input buffer too short"
3961             if ($input_length - $_[2]) < 8;
3962 0           $_[1]->{rd_req} = unpack("q>", substr( $_[3], $_[2] ));
3963 0           $_[2] += 8;
3964             die "Out of bounds 'hyper': $_[1]->{rd_req}"
3965             unless (-9223372036854775808 <= $_[1]->{rd_req}
3966 0 0 0       and $_[1]->{rd_req} < 9223372036854775808);
3967              
3968             # Deserializing field: 'rd_bytes'
3969             # my ($class, $value, $index, $input) = @_;
3970 0 0         die "Input buffer too short"
3971             if ($input_length - $_[2]) < 8;
3972 0           $_[1]->{rd_bytes} = unpack("q>", substr( $_[3], $_[2] ));
3973 0           $_[2] += 8;
3974             die "Out of bounds 'hyper': $_[1]->{rd_bytes}"
3975             unless (-9223372036854775808 <= $_[1]->{rd_bytes}
3976 0 0 0       and $_[1]->{rd_bytes} < 9223372036854775808);
3977              
3978             # Deserializing field: 'wr_req'
3979             # my ($class, $value, $index, $input) = @_;
3980 0 0         die "Input buffer too short"
3981             if ($input_length - $_[2]) < 8;
3982 0           $_[1]->{wr_req} = unpack("q>", substr( $_[3], $_[2] ));
3983 0           $_[2] += 8;
3984             die "Out of bounds 'hyper': $_[1]->{wr_req}"
3985             unless (-9223372036854775808 <= $_[1]->{wr_req}
3986 0 0 0       and $_[1]->{wr_req} < 9223372036854775808);
3987              
3988             # Deserializing field: 'wr_bytes'
3989             # my ($class, $value, $index, $input) = @_;
3990 0 0         die "Input buffer too short"
3991             if ($input_length - $_[2]) < 8;
3992 0           $_[1]->{wr_bytes} = unpack("q>", substr( $_[3], $_[2] ));
3993 0           $_[2] += 8;
3994             die "Out of bounds 'hyper': $_[1]->{wr_bytes}"
3995             unless (-9223372036854775808 <= $_[1]->{wr_bytes}
3996 0 0 0       and $_[1]->{wr_bytes} < 9223372036854775808);
3997              
3998             # Deserializing field: 'errs'
3999             # my ($class, $value, $index, $input) = @_;
4000 0 0         die "Input buffer too short"
4001             if ($input_length - $_[2]) < 8;
4002 0           $_[1]->{errs} = unpack("q>", substr( $_[3], $_[2] ));
4003 0           $_[2] += 8;
4004             die "Out of bounds 'hyper': $_[1]->{errs}"
4005             unless (-9223372036854775808 <= $_[1]->{errs}
4006 0 0 0       and $_[1]->{errs} < 9223372036854775808);
4007             }
4008             # @_: ($class, $value, $index, $output) = @_;
4009             sub serialize_domain_block_stats_ret {
4010 0 0   0 0   croak "Missing required input 'struct' value"
4011             unless defined $_[1];
4012              
4013             # Serializing field: 'rd_req'
4014             croak "Missing required input value 'rd_req'"
4015 0 0         unless exists $_[1]->{rd_req};
4016             # my ($class, $value, $index, $output) = @_;
4017             croak "Missing required input 'long' value"
4018 0 0         unless defined $_[1]->{rd_req};
4019             die "Out of bounds 'hyper': $_[1]->{rd_req}"
4020             unless (-9223372036854775808 <= $_[1]->{rd_req}
4021 0 0 0       and $_[1]->{rd_req} < 9223372036854775808);
4022             die "Non-integer 'long' value given: $_[1]->{rd_req}"
4023 0 0         unless int($_[1]->{rd_req}) == $_[1]->{rd_req};
4024 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{rd_req});
4025 0           $_[2] += 8;
4026              
4027             # Serializing field: 'rd_bytes'
4028             croak "Missing required input value 'rd_bytes'"
4029 0 0         unless exists $_[1]->{rd_bytes};
4030             # my ($class, $value, $index, $output) = @_;
4031             croak "Missing required input 'long' value"
4032 0 0         unless defined $_[1]->{rd_bytes};
4033             die "Out of bounds 'hyper': $_[1]->{rd_bytes}"
4034             unless (-9223372036854775808 <= $_[1]->{rd_bytes}
4035 0 0 0       and $_[1]->{rd_bytes} < 9223372036854775808);
4036             die "Non-integer 'long' value given: $_[1]->{rd_bytes}"
4037 0 0         unless int($_[1]->{rd_bytes}) == $_[1]->{rd_bytes};
4038 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{rd_bytes});
4039 0           $_[2] += 8;
4040              
4041             # Serializing field: 'wr_req'
4042             croak "Missing required input value 'wr_req'"
4043 0 0         unless exists $_[1]->{wr_req};
4044             # my ($class, $value, $index, $output) = @_;
4045             croak "Missing required input 'long' value"
4046 0 0         unless defined $_[1]->{wr_req};
4047             die "Out of bounds 'hyper': $_[1]->{wr_req}"
4048             unless (-9223372036854775808 <= $_[1]->{wr_req}
4049 0 0 0       and $_[1]->{wr_req} < 9223372036854775808);
4050             die "Non-integer 'long' value given: $_[1]->{wr_req}"
4051 0 0         unless int($_[1]->{wr_req}) == $_[1]->{wr_req};
4052 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{wr_req});
4053 0           $_[2] += 8;
4054              
4055             # Serializing field: 'wr_bytes'
4056             croak "Missing required input value 'wr_bytes'"
4057 0 0         unless exists $_[1]->{wr_bytes};
4058             # my ($class, $value, $index, $output) = @_;
4059             croak "Missing required input 'long' value"
4060 0 0         unless defined $_[1]->{wr_bytes};
4061             die "Out of bounds 'hyper': $_[1]->{wr_bytes}"
4062             unless (-9223372036854775808 <= $_[1]->{wr_bytes}
4063 0 0 0       and $_[1]->{wr_bytes} < 9223372036854775808);
4064             die "Non-integer 'long' value given: $_[1]->{wr_bytes}"
4065 0 0         unless int($_[1]->{wr_bytes}) == $_[1]->{wr_bytes};
4066 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{wr_bytes});
4067 0           $_[2] += 8;
4068              
4069             # Serializing field: 'errs'
4070             croak "Missing required input value 'errs'"
4071 0 0         unless exists $_[1]->{errs};
4072             # my ($class, $value, $index, $output) = @_;
4073             croak "Missing required input 'long' value"
4074 0 0         unless defined $_[1]->{errs};
4075             die "Out of bounds 'hyper': $_[1]->{errs}"
4076             unless (-9223372036854775808 <= $_[1]->{errs}
4077 0 0 0       and $_[1]->{errs} < 9223372036854775808);
4078             die "Non-integer 'long' value given: $_[1]->{errs}"
4079 0 0         unless int($_[1]->{errs}) == $_[1]->{errs};
4080 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{errs});
4081 0           $_[2] += 8;
4082             }
4083             # @_: ($class, $value, $index, $input) = @_;
4084             sub deserialize_domain_block_stats_flags_args {
4085 0     0 0   my $input_length = length $_[3];
4086 0           $_[1] = {};
4087             # Deserializing field: 'dom'
4088             # my ($class, $value, $index, $input) = @_;
4089 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4090              
4091             # Deserializing field: 'path'
4092             # my ($class, $value, $index, $input) = @_;
4093 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
4094              
4095             # Deserializing field: 'nparams'
4096             # my ($class, $value, $index, $input) = @_;
4097 0 0         die "Input buffer too short"
4098             if ($input_length - $_[2]) < 4;
4099 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
4100 0           $_[2] += 4;
4101             die "Out of bounds 'int': $_[1]->{nparams}"
4102 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
4103              
4104             # Deserializing field: 'flags'
4105             # my ($class, $value, $index, $input) = @_;
4106 0 0         die "Input buffer too short"
4107             if ($input_length - $_[2]) < 4;
4108 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
4109 0           $_[2] += 4;
4110             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4111 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4112             }
4113             # @_: ($class, $value, $index, $output) = @_;
4114             sub serialize_domain_block_stats_flags_args {
4115 0 0   0 0   croak "Missing required input 'struct' value"
4116             unless defined $_[1];
4117              
4118             # Serializing field: 'dom'
4119             croak "Missing required input value 'dom'"
4120 0 0         unless exists $_[1]->{dom};
4121             # my ($class, $value, $index, $output) = @_;
4122 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4123              
4124             # Serializing field: 'path'
4125             croak "Missing required input value 'path'"
4126 0 0         unless exists $_[1]->{path};
4127             # my ($class, $value, $index, $output) = @_;
4128 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
4129              
4130             # Serializing field: 'nparams'
4131             croak "Missing required input value 'nparams'"
4132 0 0         unless exists $_[1]->{nparams};
4133             # my ($class, $value, $index, $output) = @_;
4134             croak "Missing required input 'int' value"
4135 0 0         unless defined $_[1]->{nparams};
4136             die "Out of bounds 'int': $_[1]->{nparams}"
4137 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
4138             die "Non-integer 'int' value given: $_[1]->{nparams}"
4139 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
4140 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
4141 0           $_[2] += 4;
4142              
4143             # Serializing field: 'flags'
4144             croak "Missing required input value 'flags'"
4145 0 0         unless exists $_[1]->{flags};
4146             # my ($class, $value, $index, $output) = @_;
4147             croak "Missing required input 'unsigned int' value"
4148 0 0         unless defined $_[1]->{flags};
4149             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4150 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4151             die "Non-integer 'int' value given: $_[1]->{flags}"
4152 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
4153 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
4154 0           $_[2] += 4;
4155             }
4156             # @_: ($class, $value, $index, $input) = @_;
4157             sub deserialize_domain_block_stats_flags_ret {
4158 0     0 0   my $input_length = length $_[3];
4159 0           $_[1] = {};
4160             # Deserializing field: 'params'
4161             # my ($class, $value, $index, $input) = @_;
4162 0           do {
4163 0 0         die "Input buffer too short"
4164             if ($input_length - $_[2]) < 4;
4165 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
4166 0           $_[2] += 4;
4167              
4168 0 0         die "Array too long (max: 16): $len"
4169             unless ($len <= 16);
4170 0           $_[1]->{params} = [];
4171 0           for my $i1 ( 0 .. ($len - 1) ) {
4172             # my ($class, $value, $index, $input) = @_;
4173 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
4174             }
4175             };
4176              
4177             # Deserializing field: 'nparams'
4178             # my ($class, $value, $index, $input) = @_;
4179 0 0         die "Input buffer too short"
4180             if ($input_length - $_[2]) < 4;
4181 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
4182 0           $_[2] += 4;
4183             die "Out of bounds 'int': $_[1]->{nparams}"
4184 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
4185             }
4186             # @_: ($class, $value, $index, $output) = @_;
4187             sub serialize_domain_block_stats_flags_ret {
4188 0 0   0 0   croak "Missing required input 'struct' value"
4189             unless defined $_[1];
4190              
4191             # Serializing field: 'params'
4192             croak "Missing required input value 'params'"
4193 0 0         unless exists $_[1]->{params};
4194             # my ($class, $value, $index, $output) = @_;
4195             croak "Missing required input 'array' value"
4196 0 0         unless defined $_[1]->{params};
4197 0           do {
4198 0           my $len = scalar @{ $_[1]->{params} };
  0            
4199 0 0         die "Array too long (max: 16): $len"
4200             unless ($len <= 16);
4201              
4202 0           substr( $_[3], $_[2] ) = pack("L>", $len);
4203 0           $_[2] += 4;
4204 0           for my $i1 ( 0 .. ($len - 1) ) {
4205             # my ($class, $value, $index, $output) = @_;
4206 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
4207             }
4208             };
4209              
4210             # Serializing field: 'nparams'
4211             croak "Missing required input value 'nparams'"
4212 0 0         unless exists $_[1]->{nparams};
4213             # my ($class, $value, $index, $output) = @_;
4214             croak "Missing required input 'int' value"
4215 0 0         unless defined $_[1]->{nparams};
4216             die "Out of bounds 'int': $_[1]->{nparams}"
4217 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
4218             die "Non-integer 'int' value given: $_[1]->{nparams}"
4219 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
4220 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
4221 0           $_[2] += 4;
4222             }
4223             # @_: ($class, $value, $index, $input) = @_;
4224             sub deserialize_domain_interface_stats_args {
4225 0     0 0   my $input_length = length $_[3];
4226 0           $_[1] = {};
4227             # Deserializing field: 'dom'
4228             # my ($class, $value, $index, $input) = @_;
4229 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4230              
4231             # Deserializing field: 'device'
4232             # my ($class, $value, $index, $input) = @_;
4233 0           $_[0]->deserialize_nonnull_string( $_[1]->{device}, $_[2], $_[3] );
4234             }
4235             # @_: ($class, $value, $index, $output) = @_;
4236             sub serialize_domain_interface_stats_args {
4237 0 0   0 0   croak "Missing required input 'struct' value"
4238             unless defined $_[1];
4239              
4240             # Serializing field: 'dom'
4241             croak "Missing required input value 'dom'"
4242 0 0         unless exists $_[1]->{dom};
4243             # my ($class, $value, $index, $output) = @_;
4244 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4245              
4246             # Serializing field: 'device'
4247             croak "Missing required input value 'device'"
4248 0 0         unless exists $_[1]->{device};
4249             # my ($class, $value, $index, $output) = @_;
4250 0           $_[0]->serialize_nonnull_string( $_[1]->{device}, $_[2], $_[3] );
4251             }
4252             # @_: ($class, $value, $index, $input) = @_;
4253             sub deserialize_domain_interface_stats_ret {
4254 0     0 0   my $input_length = length $_[3];
4255 0           $_[1] = {};
4256             # Deserializing field: 'rx_bytes'
4257             # my ($class, $value, $index, $input) = @_;
4258 0 0         die "Input buffer too short"
4259             if ($input_length - $_[2]) < 8;
4260 0           $_[1]->{rx_bytes} = unpack("q>", substr( $_[3], $_[2] ));
4261 0           $_[2] += 8;
4262             die "Out of bounds 'hyper': $_[1]->{rx_bytes}"
4263             unless (-9223372036854775808 <= $_[1]->{rx_bytes}
4264 0 0 0       and $_[1]->{rx_bytes} < 9223372036854775808);
4265              
4266             # Deserializing field: 'rx_packets'
4267             # my ($class, $value, $index, $input) = @_;
4268 0 0         die "Input buffer too short"
4269             if ($input_length - $_[2]) < 8;
4270 0           $_[1]->{rx_packets} = unpack("q>", substr( $_[3], $_[2] ));
4271 0           $_[2] += 8;
4272             die "Out of bounds 'hyper': $_[1]->{rx_packets}"
4273             unless (-9223372036854775808 <= $_[1]->{rx_packets}
4274 0 0 0       and $_[1]->{rx_packets} < 9223372036854775808);
4275              
4276             # Deserializing field: 'rx_errs'
4277             # my ($class, $value, $index, $input) = @_;
4278 0 0         die "Input buffer too short"
4279             if ($input_length - $_[2]) < 8;
4280 0           $_[1]->{rx_errs} = unpack("q>", substr( $_[3], $_[2] ));
4281 0           $_[2] += 8;
4282             die "Out of bounds 'hyper': $_[1]->{rx_errs}"
4283             unless (-9223372036854775808 <= $_[1]->{rx_errs}
4284 0 0 0       and $_[1]->{rx_errs} < 9223372036854775808);
4285              
4286             # Deserializing field: 'rx_drop'
4287             # my ($class, $value, $index, $input) = @_;
4288 0 0         die "Input buffer too short"
4289             if ($input_length - $_[2]) < 8;
4290 0           $_[1]->{rx_drop} = unpack("q>", substr( $_[3], $_[2] ));
4291 0           $_[2] += 8;
4292             die "Out of bounds 'hyper': $_[1]->{rx_drop}"
4293             unless (-9223372036854775808 <= $_[1]->{rx_drop}
4294 0 0 0       and $_[1]->{rx_drop} < 9223372036854775808);
4295              
4296             # Deserializing field: 'tx_bytes'
4297             # my ($class, $value, $index, $input) = @_;
4298 0 0         die "Input buffer too short"
4299             if ($input_length - $_[2]) < 8;
4300 0           $_[1]->{tx_bytes} = unpack("q>", substr( $_[3], $_[2] ));
4301 0           $_[2] += 8;
4302             die "Out of bounds 'hyper': $_[1]->{tx_bytes}"
4303             unless (-9223372036854775808 <= $_[1]->{tx_bytes}
4304 0 0 0       and $_[1]->{tx_bytes} < 9223372036854775808);
4305              
4306             # Deserializing field: 'tx_packets'
4307             # my ($class, $value, $index, $input) = @_;
4308 0 0         die "Input buffer too short"
4309             if ($input_length - $_[2]) < 8;
4310 0           $_[1]->{tx_packets} = unpack("q>", substr( $_[3], $_[2] ));
4311 0           $_[2] += 8;
4312             die "Out of bounds 'hyper': $_[1]->{tx_packets}"
4313             unless (-9223372036854775808 <= $_[1]->{tx_packets}
4314 0 0 0       and $_[1]->{tx_packets} < 9223372036854775808);
4315              
4316             # Deserializing field: 'tx_errs'
4317             # my ($class, $value, $index, $input) = @_;
4318 0 0         die "Input buffer too short"
4319             if ($input_length - $_[2]) < 8;
4320 0           $_[1]->{tx_errs} = unpack("q>", substr( $_[3], $_[2] ));
4321 0           $_[2] += 8;
4322             die "Out of bounds 'hyper': $_[1]->{tx_errs}"
4323             unless (-9223372036854775808 <= $_[1]->{tx_errs}
4324 0 0 0       and $_[1]->{tx_errs} < 9223372036854775808);
4325              
4326             # Deserializing field: 'tx_drop'
4327             # my ($class, $value, $index, $input) = @_;
4328 0 0         die "Input buffer too short"
4329             if ($input_length - $_[2]) < 8;
4330 0           $_[1]->{tx_drop} = unpack("q>", substr( $_[3], $_[2] ));
4331 0           $_[2] += 8;
4332             die "Out of bounds 'hyper': $_[1]->{tx_drop}"
4333             unless (-9223372036854775808 <= $_[1]->{tx_drop}
4334 0 0 0       and $_[1]->{tx_drop} < 9223372036854775808);
4335             }
4336             # @_: ($class, $value, $index, $output) = @_;
4337             sub serialize_domain_interface_stats_ret {
4338 0 0   0 0   croak "Missing required input 'struct' value"
4339             unless defined $_[1];
4340              
4341             # Serializing field: 'rx_bytes'
4342             croak "Missing required input value 'rx_bytes'"
4343 0 0         unless exists $_[1]->{rx_bytes};
4344             # my ($class, $value, $index, $output) = @_;
4345             croak "Missing required input 'long' value"
4346 0 0         unless defined $_[1]->{rx_bytes};
4347             die "Out of bounds 'hyper': $_[1]->{rx_bytes}"
4348             unless (-9223372036854775808 <= $_[1]->{rx_bytes}
4349 0 0 0       and $_[1]->{rx_bytes} < 9223372036854775808);
4350             die "Non-integer 'long' value given: $_[1]->{rx_bytes}"
4351 0 0         unless int($_[1]->{rx_bytes}) == $_[1]->{rx_bytes};
4352 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{rx_bytes});
4353 0           $_[2] += 8;
4354              
4355             # Serializing field: 'rx_packets'
4356             croak "Missing required input value 'rx_packets'"
4357 0 0         unless exists $_[1]->{rx_packets};
4358             # my ($class, $value, $index, $output) = @_;
4359             croak "Missing required input 'long' value"
4360 0 0         unless defined $_[1]->{rx_packets};
4361             die "Out of bounds 'hyper': $_[1]->{rx_packets}"
4362             unless (-9223372036854775808 <= $_[1]->{rx_packets}
4363 0 0 0       and $_[1]->{rx_packets} < 9223372036854775808);
4364             die "Non-integer 'long' value given: $_[1]->{rx_packets}"
4365 0 0         unless int($_[1]->{rx_packets}) == $_[1]->{rx_packets};
4366 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{rx_packets});
4367 0           $_[2] += 8;
4368              
4369             # Serializing field: 'rx_errs'
4370             croak "Missing required input value 'rx_errs'"
4371 0 0         unless exists $_[1]->{rx_errs};
4372             # my ($class, $value, $index, $output) = @_;
4373             croak "Missing required input 'long' value"
4374 0 0         unless defined $_[1]->{rx_errs};
4375             die "Out of bounds 'hyper': $_[1]->{rx_errs}"
4376             unless (-9223372036854775808 <= $_[1]->{rx_errs}
4377 0 0 0       and $_[1]->{rx_errs} < 9223372036854775808);
4378             die "Non-integer 'long' value given: $_[1]->{rx_errs}"
4379 0 0         unless int($_[1]->{rx_errs}) == $_[1]->{rx_errs};
4380 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{rx_errs});
4381 0           $_[2] += 8;
4382              
4383             # Serializing field: 'rx_drop'
4384             croak "Missing required input value 'rx_drop'"
4385 0 0         unless exists $_[1]->{rx_drop};
4386             # my ($class, $value, $index, $output) = @_;
4387             croak "Missing required input 'long' value"
4388 0 0         unless defined $_[1]->{rx_drop};
4389             die "Out of bounds 'hyper': $_[1]->{rx_drop}"
4390             unless (-9223372036854775808 <= $_[1]->{rx_drop}
4391 0 0 0       and $_[1]->{rx_drop} < 9223372036854775808);
4392             die "Non-integer 'long' value given: $_[1]->{rx_drop}"
4393 0 0         unless int($_[1]->{rx_drop}) == $_[1]->{rx_drop};
4394 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{rx_drop});
4395 0           $_[2] += 8;
4396              
4397             # Serializing field: 'tx_bytes'
4398             croak "Missing required input value 'tx_bytes'"
4399 0 0         unless exists $_[1]->{tx_bytes};
4400             # my ($class, $value, $index, $output) = @_;
4401             croak "Missing required input 'long' value"
4402 0 0         unless defined $_[1]->{tx_bytes};
4403             die "Out of bounds 'hyper': $_[1]->{tx_bytes}"
4404             unless (-9223372036854775808 <= $_[1]->{tx_bytes}
4405 0 0 0       and $_[1]->{tx_bytes} < 9223372036854775808);
4406             die "Non-integer 'long' value given: $_[1]->{tx_bytes}"
4407 0 0         unless int($_[1]->{tx_bytes}) == $_[1]->{tx_bytes};
4408 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{tx_bytes});
4409 0           $_[2] += 8;
4410              
4411             # Serializing field: 'tx_packets'
4412             croak "Missing required input value 'tx_packets'"
4413 0 0         unless exists $_[1]->{tx_packets};
4414             # my ($class, $value, $index, $output) = @_;
4415             croak "Missing required input 'long' value"
4416 0 0         unless defined $_[1]->{tx_packets};
4417             die "Out of bounds 'hyper': $_[1]->{tx_packets}"
4418             unless (-9223372036854775808 <= $_[1]->{tx_packets}
4419 0 0 0       and $_[1]->{tx_packets} < 9223372036854775808);
4420             die "Non-integer 'long' value given: $_[1]->{tx_packets}"
4421 0 0         unless int($_[1]->{tx_packets}) == $_[1]->{tx_packets};
4422 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{tx_packets});
4423 0           $_[2] += 8;
4424              
4425             # Serializing field: 'tx_errs'
4426             croak "Missing required input value 'tx_errs'"
4427 0 0         unless exists $_[1]->{tx_errs};
4428             # my ($class, $value, $index, $output) = @_;
4429             croak "Missing required input 'long' value"
4430 0 0         unless defined $_[1]->{tx_errs};
4431             die "Out of bounds 'hyper': $_[1]->{tx_errs}"
4432             unless (-9223372036854775808 <= $_[1]->{tx_errs}
4433 0 0 0       and $_[1]->{tx_errs} < 9223372036854775808);
4434             die "Non-integer 'long' value given: $_[1]->{tx_errs}"
4435 0 0         unless int($_[1]->{tx_errs}) == $_[1]->{tx_errs};
4436 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{tx_errs});
4437 0           $_[2] += 8;
4438              
4439             # Serializing field: 'tx_drop'
4440             croak "Missing required input value 'tx_drop'"
4441 0 0         unless exists $_[1]->{tx_drop};
4442             # my ($class, $value, $index, $output) = @_;
4443             croak "Missing required input 'long' value"
4444 0 0         unless defined $_[1]->{tx_drop};
4445             die "Out of bounds 'hyper': $_[1]->{tx_drop}"
4446             unless (-9223372036854775808 <= $_[1]->{tx_drop}
4447 0 0 0       and $_[1]->{tx_drop} < 9223372036854775808);
4448             die "Non-integer 'long' value given: $_[1]->{tx_drop}"
4449 0 0         unless int($_[1]->{tx_drop}) == $_[1]->{tx_drop};
4450 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{tx_drop});
4451 0           $_[2] += 8;
4452             }
4453             # @_: ($class, $value, $index, $input) = @_;
4454             sub deserialize_domain_set_interface_parameters_args {
4455 0     0 0   my $input_length = length $_[3];
4456 0           $_[1] = {};
4457             # Deserializing field: 'dom'
4458             # my ($class, $value, $index, $input) = @_;
4459 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4460              
4461             # Deserializing field: 'device'
4462             # my ($class, $value, $index, $input) = @_;
4463 0           $_[0]->deserialize_nonnull_string( $_[1]->{device}, $_[2], $_[3] );
4464              
4465             # Deserializing field: 'params'
4466             # my ($class, $value, $index, $input) = @_;
4467 0           do {
4468 0 0         die "Input buffer too short"
4469             if ($input_length - $_[2]) < 4;
4470 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
4471 0           $_[2] += 4;
4472              
4473 0 0         die "Array too long (max: 16): $len"
4474             unless ($len <= 16);
4475 0           $_[1]->{params} = [];
4476 0           for my $i1 ( 0 .. ($len - 1) ) {
4477             # my ($class, $value, $index, $input) = @_;
4478 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
4479             }
4480             };
4481              
4482             # Deserializing field: 'flags'
4483             # my ($class, $value, $index, $input) = @_;
4484 0 0         die "Input buffer too short"
4485             if ($input_length - $_[2]) < 4;
4486 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
4487 0           $_[2] += 4;
4488             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4489 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4490             }
4491             # @_: ($class, $value, $index, $output) = @_;
4492             sub serialize_domain_set_interface_parameters_args {
4493 0 0   0 0   croak "Missing required input 'struct' value"
4494             unless defined $_[1];
4495              
4496             # Serializing field: 'dom'
4497             croak "Missing required input value 'dom'"
4498 0 0         unless exists $_[1]->{dom};
4499             # my ($class, $value, $index, $output) = @_;
4500 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4501              
4502             # Serializing field: 'device'
4503             croak "Missing required input value 'device'"
4504 0 0         unless exists $_[1]->{device};
4505             # my ($class, $value, $index, $output) = @_;
4506 0           $_[0]->serialize_nonnull_string( $_[1]->{device}, $_[2], $_[3] );
4507              
4508             # Serializing field: 'params'
4509             croak "Missing required input value 'params'"
4510 0 0         unless exists $_[1]->{params};
4511             # my ($class, $value, $index, $output) = @_;
4512             croak "Missing required input 'array' value"
4513 0 0         unless defined $_[1]->{params};
4514 0           do {
4515 0           my $len = scalar @{ $_[1]->{params} };
  0            
4516 0 0         die "Array too long (max: 16): $len"
4517             unless ($len <= 16);
4518              
4519 0           substr( $_[3], $_[2] ) = pack("L>", $len);
4520 0           $_[2] += 4;
4521 0           for my $i1 ( 0 .. ($len - 1) ) {
4522             # my ($class, $value, $index, $output) = @_;
4523 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
4524             }
4525             };
4526              
4527             # Serializing field: 'flags'
4528             croak "Missing required input value 'flags'"
4529 0 0         unless exists $_[1]->{flags};
4530             # my ($class, $value, $index, $output) = @_;
4531             croak "Missing required input 'unsigned int' value"
4532 0 0         unless defined $_[1]->{flags};
4533             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4534 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4535             die "Non-integer 'int' value given: $_[1]->{flags}"
4536 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
4537 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
4538 0           $_[2] += 4;
4539             }
4540             # @_: ($class, $value, $index, $input) = @_;
4541             sub deserialize_domain_get_interface_parameters_args {
4542 0     0 0   my $input_length = length $_[3];
4543 0           $_[1] = {};
4544             # Deserializing field: 'dom'
4545             # my ($class, $value, $index, $input) = @_;
4546 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4547              
4548             # Deserializing field: 'device'
4549             # my ($class, $value, $index, $input) = @_;
4550 0           $_[0]->deserialize_nonnull_string( $_[1]->{device}, $_[2], $_[3] );
4551              
4552             # Deserializing field: 'nparams'
4553             # my ($class, $value, $index, $input) = @_;
4554 0 0         die "Input buffer too short"
4555             if ($input_length - $_[2]) < 4;
4556 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
4557 0           $_[2] += 4;
4558             die "Out of bounds 'int': $_[1]->{nparams}"
4559 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
4560              
4561             # Deserializing field: 'flags'
4562             # my ($class, $value, $index, $input) = @_;
4563 0 0         die "Input buffer too short"
4564             if ($input_length - $_[2]) < 4;
4565 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
4566 0           $_[2] += 4;
4567             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4568 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4569             }
4570             # @_: ($class, $value, $index, $output) = @_;
4571             sub serialize_domain_get_interface_parameters_args {
4572 0 0   0 0   croak "Missing required input 'struct' value"
4573             unless defined $_[1];
4574              
4575             # Serializing field: 'dom'
4576             croak "Missing required input value 'dom'"
4577 0 0         unless exists $_[1]->{dom};
4578             # my ($class, $value, $index, $output) = @_;
4579 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4580              
4581             # Serializing field: 'device'
4582             croak "Missing required input value 'device'"
4583 0 0         unless exists $_[1]->{device};
4584             # my ($class, $value, $index, $output) = @_;
4585 0           $_[0]->serialize_nonnull_string( $_[1]->{device}, $_[2], $_[3] );
4586              
4587             # Serializing field: 'nparams'
4588             croak "Missing required input value 'nparams'"
4589 0 0         unless exists $_[1]->{nparams};
4590             # my ($class, $value, $index, $output) = @_;
4591             croak "Missing required input 'int' value"
4592 0 0         unless defined $_[1]->{nparams};
4593             die "Out of bounds 'int': $_[1]->{nparams}"
4594 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
4595             die "Non-integer 'int' value given: $_[1]->{nparams}"
4596 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
4597 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
4598 0           $_[2] += 4;
4599              
4600             # Serializing field: 'flags'
4601             croak "Missing required input value 'flags'"
4602 0 0         unless exists $_[1]->{flags};
4603             # my ($class, $value, $index, $output) = @_;
4604             croak "Missing required input 'unsigned int' value"
4605 0 0         unless defined $_[1]->{flags};
4606             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4607 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4608             die "Non-integer 'int' value given: $_[1]->{flags}"
4609 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
4610 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
4611 0           $_[2] += 4;
4612             }
4613             # @_: ($class, $value, $index, $input) = @_;
4614             sub deserialize_domain_get_interface_parameters_ret {
4615 0     0 0   my $input_length = length $_[3];
4616 0           $_[1] = {};
4617             # Deserializing field: 'params'
4618             # my ($class, $value, $index, $input) = @_;
4619 0           do {
4620 0 0         die "Input buffer too short"
4621             if ($input_length - $_[2]) < 4;
4622 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
4623 0           $_[2] += 4;
4624              
4625 0 0         die "Array too long (max: 16): $len"
4626             unless ($len <= 16);
4627 0           $_[1]->{params} = [];
4628 0           for my $i1 ( 0 .. ($len - 1) ) {
4629             # my ($class, $value, $index, $input) = @_;
4630 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
4631             }
4632             };
4633              
4634             # Deserializing field: 'nparams'
4635             # my ($class, $value, $index, $input) = @_;
4636 0 0         die "Input buffer too short"
4637             if ($input_length - $_[2]) < 4;
4638 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
4639 0           $_[2] += 4;
4640             die "Out of bounds 'int': $_[1]->{nparams}"
4641 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
4642             }
4643             # @_: ($class, $value, $index, $output) = @_;
4644             sub serialize_domain_get_interface_parameters_ret {
4645 0 0   0 0   croak "Missing required input 'struct' value"
4646             unless defined $_[1];
4647              
4648             # Serializing field: 'params'
4649             croak "Missing required input value 'params'"
4650 0 0         unless exists $_[1]->{params};
4651             # my ($class, $value, $index, $output) = @_;
4652             croak "Missing required input 'array' value"
4653 0 0         unless defined $_[1]->{params};
4654 0           do {
4655 0           my $len = scalar @{ $_[1]->{params} };
  0            
4656 0 0         die "Array too long (max: 16): $len"
4657             unless ($len <= 16);
4658              
4659 0           substr( $_[3], $_[2] ) = pack("L>", $len);
4660 0           $_[2] += 4;
4661 0           for my $i1 ( 0 .. ($len - 1) ) {
4662             # my ($class, $value, $index, $output) = @_;
4663 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
4664             }
4665             };
4666              
4667             # Serializing field: 'nparams'
4668             croak "Missing required input value 'nparams'"
4669 0 0         unless exists $_[1]->{nparams};
4670             # my ($class, $value, $index, $output) = @_;
4671             croak "Missing required input 'int' value"
4672 0 0         unless defined $_[1]->{nparams};
4673             die "Out of bounds 'int': $_[1]->{nparams}"
4674 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
4675             die "Non-integer 'int' value given: $_[1]->{nparams}"
4676 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
4677 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
4678 0           $_[2] += 4;
4679             }
4680             # @_: ($class, $value, $index, $input) = @_;
4681             sub deserialize_domain_memory_stats_args {
4682 0     0 0   my $input_length = length $_[3];
4683 0           $_[1] = {};
4684             # Deserializing field: 'dom'
4685             # my ($class, $value, $index, $input) = @_;
4686 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4687              
4688             # Deserializing field: 'maxStats'
4689             # my ($class, $value, $index, $input) = @_;
4690 0 0         die "Input buffer too short"
4691             if ($input_length - $_[2]) < 4;
4692 0           $_[1]->{maxStats} = unpack("L>", substr( $_[3], $_[2] ));
4693 0           $_[2] += 4;
4694             die "Out of bounds 'unsigned int': $_[1]->{maxStats}"
4695 0 0 0       unless (0 <= $_[1]->{maxStats} and $_[1]->{maxStats} <= 4294967295);
4696              
4697             # Deserializing field: 'flags'
4698             # my ($class, $value, $index, $input) = @_;
4699 0 0         die "Input buffer too short"
4700             if ($input_length - $_[2]) < 4;
4701 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
4702 0           $_[2] += 4;
4703             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4704 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4705             }
4706             # @_: ($class, $value, $index, $output) = @_;
4707             sub serialize_domain_memory_stats_args {
4708 0 0   0 0   croak "Missing required input 'struct' value"
4709             unless defined $_[1];
4710              
4711             # Serializing field: 'dom'
4712             croak "Missing required input value 'dom'"
4713 0 0         unless exists $_[1]->{dom};
4714             # my ($class, $value, $index, $output) = @_;
4715 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4716              
4717             # Serializing field: 'maxStats'
4718             croak "Missing required input value 'maxStats'"
4719 0 0         unless exists $_[1]->{maxStats};
4720             # my ($class, $value, $index, $output) = @_;
4721             croak "Missing required input 'unsigned int' value"
4722 0 0         unless defined $_[1]->{maxStats};
4723             die "Out of bounds 'unsigned int': $_[1]->{maxStats}"
4724 0 0 0       unless (0 <= $_[1]->{maxStats} and $_[1]->{maxStats} <= 4294967295);
4725             die "Non-integer 'int' value given: $_[1]->{maxStats}"
4726 0 0         unless int($_[1]->{maxStats}) == $_[1]->{maxStats};
4727 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{maxStats});
4728 0           $_[2] += 4;
4729              
4730             # Serializing field: 'flags'
4731             croak "Missing required input value 'flags'"
4732 0 0         unless exists $_[1]->{flags};
4733             # my ($class, $value, $index, $output) = @_;
4734             croak "Missing required input 'unsigned int' value"
4735 0 0         unless defined $_[1]->{flags};
4736             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4737 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4738             die "Non-integer 'int' value given: $_[1]->{flags}"
4739 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
4740 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
4741 0           $_[2] += 4;
4742             }
4743             # @_: ($class, $value, $index, $input) = @_;
4744             sub deserialize_domain_memory_stat {
4745 0     0 0   my $input_length = length $_[3];
4746 0           $_[1] = {};
4747             # Deserializing field: 'tag'
4748             # my ($class, $value, $index, $input) = @_;
4749 0 0         die "Input buffer too short"
4750             if ($input_length - $_[2]) < 4;
4751 0           $_[1]->{tag} = unpack("l>", substr( $_[3], $_[2] ));
4752 0           $_[2] += 4;
4753             die "Out of bounds 'int': $_[1]->{tag}"
4754 0 0 0       unless (-2147483648 <= $_[1]->{tag} and $_[1]->{tag} < 2147483648);
4755              
4756             # Deserializing field: 'val'
4757             # my ($class, $value, $index, $input) = @_;
4758 0 0         die "Input buffer too short"
4759             if ($input_length - $_[2]) < 8;
4760 0           $_[1]->{val} = unpack("Q>", substr( $_[3], $_[2] ));
4761 0           $_[2] += 8;
4762             die "Out of bounds 'unsigned hyper': $_[1]->{val}"
4763             unless (0 <= $_[1]->{val}
4764 0 0 0       and $_[1]->{val} <= 18446744073709551615);
4765             }
4766             # @_: ($class, $value, $index, $output) = @_;
4767             sub serialize_domain_memory_stat {
4768 0 0   0 0   croak "Missing required input 'struct' value"
4769             unless defined $_[1];
4770              
4771             # Serializing field: 'tag'
4772             croak "Missing required input value 'tag'"
4773 0 0         unless exists $_[1]->{tag};
4774             # my ($class, $value, $index, $output) = @_;
4775             croak "Missing required input 'int' value"
4776 0 0         unless defined $_[1]->{tag};
4777             die "Out of bounds 'int': $_[1]->{tag}"
4778 0 0 0       unless (-2147483648 <= $_[1]->{tag} and $_[1]->{tag} < 2147483648);
4779             die "Non-integer 'int' value given: $_[1]->{tag}"
4780 0 0         unless int($_[1]->{tag}) == $_[1]->{tag};
4781 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{tag});
4782 0           $_[2] += 4;
4783              
4784             # Serializing field: 'val'
4785             croak "Missing required input value 'val'"
4786 0 0         unless exists $_[1]->{val};
4787             # my ($class, $value, $index, $output) = @_;
4788             croak "Missing required input 'unsigned long' value"
4789 0 0         unless defined $_[1]->{val};
4790             die "Out of bounds 'unsigned hyper': $_[1]->{val}"
4791             unless (0 <= $_[1]->{val}
4792 0 0 0       and $_[1]->{val} <= 18446744073709551615);
4793             die "Non-integer 'long' value given: $_[1]->{val}"
4794 0 0         unless int($_[1]->{val}) == $_[1]->{val};
4795 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{val});
4796 0           $_[2] += 8;
4797             }
4798             # @_: ($class, $value, $index, $input) = @_;
4799             sub deserialize_domain_memory_stats_ret {
4800 0     0 0   my $input_length = length $_[3];
4801 0           $_[1] = {};
4802             # Deserializing field: 'stats'
4803             # my ($class, $value, $index, $input) = @_;
4804 0           do {
4805 0 0         die "Input buffer too short"
4806             if ($input_length - $_[2]) < 4;
4807 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
4808 0           $_[2] += 4;
4809              
4810 0 0         die "Array too long (max: 1024): $len"
4811             unless ($len <= 1024);
4812 0           $_[1]->{stats} = [];
4813 0           for my $i1 ( 0 .. ($len - 1) ) {
4814             # my ($class, $value, $index, $input) = @_;
4815 0           $_[0]->deserialize_domain_memory_stat( $_[1]->{stats}->[$i1], $_[2], $_[3] );
4816             }
4817             };
4818             }
4819             # @_: ($class, $value, $index, $output) = @_;
4820             sub serialize_domain_memory_stats_ret {
4821 0 0   0 0   croak "Missing required input 'struct' value"
4822             unless defined $_[1];
4823              
4824             # Serializing field: 'stats'
4825             croak "Missing required input value 'stats'"
4826 0 0         unless exists $_[1]->{stats};
4827             # my ($class, $value, $index, $output) = @_;
4828             croak "Missing required input 'array' value"
4829 0 0         unless defined $_[1]->{stats};
4830 0           do {
4831 0           my $len = scalar @{ $_[1]->{stats} };
  0            
4832 0 0         die "Array too long (max: 1024): $len"
4833             unless ($len <= 1024);
4834              
4835 0           substr( $_[3], $_[2] ) = pack("L>", $len);
4836 0           $_[2] += 4;
4837 0           for my $i1 ( 0 .. ($len - 1) ) {
4838             # my ($class, $value, $index, $output) = @_;
4839 0           $_[0]->serialize_domain_memory_stat( $_[1]->{stats}->[$i1], $_[2], $_[3] );
4840             }
4841             };
4842             }
4843             # @_: ($class, $value, $index, $input) = @_;
4844             sub deserialize_domain_block_peek_args {
4845 0     0 0   my $input_length = length $_[3];
4846 0           $_[1] = {};
4847             # Deserializing field: 'dom'
4848             # my ($class, $value, $index, $input) = @_;
4849 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4850              
4851             # Deserializing field: 'path'
4852             # my ($class, $value, $index, $input) = @_;
4853 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
4854              
4855             # Deserializing field: 'offset'
4856             # my ($class, $value, $index, $input) = @_;
4857 0 0         die "Input buffer too short"
4858             if ($input_length - $_[2]) < 8;
4859 0           $_[1]->{offset} = unpack("Q>", substr( $_[3], $_[2] ));
4860 0           $_[2] += 8;
4861             die "Out of bounds 'unsigned hyper': $_[1]->{offset}"
4862             unless (0 <= $_[1]->{offset}
4863 0 0 0       and $_[1]->{offset} <= 18446744073709551615);
4864              
4865             # Deserializing field: 'size'
4866             # my ($class, $value, $index, $input) = @_;
4867 0 0         die "Input buffer too short"
4868             if ($input_length - $_[2]) < 4;
4869 0           $_[1]->{size} = unpack("L>", substr( $_[3], $_[2] ));
4870 0           $_[2] += 4;
4871             die "Out of bounds 'unsigned int': $_[1]->{size}"
4872 0 0 0       unless (0 <= $_[1]->{size} and $_[1]->{size} <= 4294967295);
4873              
4874             # Deserializing field: 'flags'
4875             # my ($class, $value, $index, $input) = @_;
4876 0 0         die "Input buffer too short"
4877             if ($input_length - $_[2]) < 4;
4878 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
4879 0           $_[2] += 4;
4880             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4881 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4882             }
4883             # @_: ($class, $value, $index, $output) = @_;
4884             sub serialize_domain_block_peek_args {
4885 0 0   0 0   croak "Missing required input 'struct' value"
4886             unless defined $_[1];
4887              
4888             # Serializing field: 'dom'
4889             croak "Missing required input value 'dom'"
4890 0 0         unless exists $_[1]->{dom};
4891             # my ($class, $value, $index, $output) = @_;
4892 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4893              
4894             # Serializing field: 'path'
4895             croak "Missing required input value 'path'"
4896 0 0         unless exists $_[1]->{path};
4897             # my ($class, $value, $index, $output) = @_;
4898 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
4899              
4900             # Serializing field: 'offset'
4901             croak "Missing required input value 'offset'"
4902 0 0         unless exists $_[1]->{offset};
4903             # my ($class, $value, $index, $output) = @_;
4904             croak "Missing required input 'unsigned long' value"
4905 0 0         unless defined $_[1]->{offset};
4906             die "Out of bounds 'unsigned hyper': $_[1]->{offset}"
4907             unless (0 <= $_[1]->{offset}
4908 0 0 0       and $_[1]->{offset} <= 18446744073709551615);
4909             die "Non-integer 'long' value given: $_[1]->{offset}"
4910 0 0         unless int($_[1]->{offset}) == $_[1]->{offset};
4911 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{offset});
4912 0           $_[2] += 8;
4913              
4914             # Serializing field: 'size'
4915             croak "Missing required input value 'size'"
4916 0 0         unless exists $_[1]->{size};
4917             # my ($class, $value, $index, $output) = @_;
4918             croak "Missing required input 'unsigned int' value"
4919 0 0         unless defined $_[1]->{size};
4920             die "Out of bounds 'unsigned int': $_[1]->{size}"
4921 0 0 0       unless (0 <= $_[1]->{size} and $_[1]->{size} <= 4294967295);
4922             die "Non-integer 'int' value given: $_[1]->{size}"
4923 0 0         unless int($_[1]->{size}) == $_[1]->{size};
4924 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{size});
4925 0           $_[2] += 4;
4926              
4927             # Serializing field: 'flags'
4928             croak "Missing required input value 'flags'"
4929 0 0         unless exists $_[1]->{flags};
4930             # my ($class, $value, $index, $output) = @_;
4931             croak "Missing required input 'unsigned int' value"
4932 0 0         unless defined $_[1]->{flags};
4933             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4934 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4935             die "Non-integer 'int' value given: $_[1]->{flags}"
4936 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
4937 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
4938 0           $_[2] += 4;
4939             }
4940             # @_: ($class, $value, $index, $input) = @_;
4941             sub deserialize_domain_block_peek_ret {
4942 0     0 0   my $input_length = length $_[3];
4943 0           $_[1] = {};
4944             # Deserializing field: 'buffer'
4945             # my ($class, $value, $index, $input) = @_;
4946 0           do {
4947 0 0         die "Input buffer too short"
4948             if ($input_length - $_[2]) < 4;
4949 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
4950 0           $_[2] += 4;
4951 0 0         die "Opaque data too long (max: 4194304): $len"
4952             unless ($len <= 4194304);
4953 0 0         die "Input buffer too short"
4954             if ($input_length - $_[2]) < $len;
4955 0           $_[1]->{buffer} = substr( $_[3], $_[2], $len );
4956 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
4957             };
4958             }
4959             # @_: ($class, $value, $index, $output) = @_;
4960             sub serialize_domain_block_peek_ret {
4961 0 0   0 0   croak "Missing required input 'struct' value"
4962             unless defined $_[1];
4963              
4964             # Serializing field: 'buffer'
4965             croak "Missing required input value 'buffer'"
4966 0 0         unless exists $_[1]->{buffer};
4967             # my ($class, $value, $index, $output) = @_;
4968             croak "Missing required input 'opaque data' value"
4969 0 0         unless defined $_[1]->{buffer};
4970 0           do {
4971 0           my $len = length $_[1]->{buffer};
4972 0 0         die "Opaque data too long (max: 4194304): $len"
4973             unless ($len <= 4194304);
4974              
4975 0           substr( $_[3], $_[2] ) = pack("L>", $len);
4976 0           $_[2] += 4;
4977 0           substr( $_[3], $_[2] ) = $_[1]->{buffer};
4978 0           $_[2] += $len;
4979 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
4980 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
4981 0           $_[2] += $pad;
4982             }
4983             };
4984             }
4985             # @_: ($class, $value, $index, $input) = @_;
4986             sub deserialize_domain_memory_peek_args {
4987 0     0 0   my $input_length = length $_[3];
4988 0           $_[1] = {};
4989             # Deserializing field: 'dom'
4990             # my ($class, $value, $index, $input) = @_;
4991 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4992              
4993             # Deserializing field: 'offset'
4994             # my ($class, $value, $index, $input) = @_;
4995 0 0         die "Input buffer too short"
4996             if ($input_length - $_[2]) < 8;
4997 0           $_[1]->{offset} = unpack("Q>", substr( $_[3], $_[2] ));
4998 0           $_[2] += 8;
4999             die "Out of bounds 'unsigned hyper': $_[1]->{offset}"
5000             unless (0 <= $_[1]->{offset}
5001 0 0 0       and $_[1]->{offset} <= 18446744073709551615);
5002              
5003             # Deserializing field: 'size'
5004             # my ($class, $value, $index, $input) = @_;
5005 0 0         die "Input buffer too short"
5006             if ($input_length - $_[2]) < 4;
5007 0           $_[1]->{size} = unpack("L>", substr( $_[3], $_[2] ));
5008 0           $_[2] += 4;
5009             die "Out of bounds 'unsigned int': $_[1]->{size}"
5010 0 0 0       unless (0 <= $_[1]->{size} and $_[1]->{size} <= 4294967295);
5011              
5012             # Deserializing field: 'flags'
5013             # my ($class, $value, $index, $input) = @_;
5014 0 0         die "Input buffer too short"
5015             if ($input_length - $_[2]) < 4;
5016 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5017 0           $_[2] += 4;
5018             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5019 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5020             }
5021             # @_: ($class, $value, $index, $output) = @_;
5022             sub serialize_domain_memory_peek_args {
5023 0 0   0 0   croak "Missing required input 'struct' value"
5024             unless defined $_[1];
5025              
5026             # Serializing field: 'dom'
5027             croak "Missing required input value 'dom'"
5028 0 0         unless exists $_[1]->{dom};
5029             # my ($class, $value, $index, $output) = @_;
5030 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5031              
5032             # Serializing field: 'offset'
5033             croak "Missing required input value 'offset'"
5034 0 0         unless exists $_[1]->{offset};
5035             # my ($class, $value, $index, $output) = @_;
5036             croak "Missing required input 'unsigned long' value"
5037 0 0         unless defined $_[1]->{offset};
5038             die "Out of bounds 'unsigned hyper': $_[1]->{offset}"
5039             unless (0 <= $_[1]->{offset}
5040 0 0 0       and $_[1]->{offset} <= 18446744073709551615);
5041             die "Non-integer 'long' value given: $_[1]->{offset}"
5042 0 0         unless int($_[1]->{offset}) == $_[1]->{offset};
5043 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{offset});
5044 0           $_[2] += 8;
5045              
5046             # Serializing field: 'size'
5047             croak "Missing required input value 'size'"
5048 0 0         unless exists $_[1]->{size};
5049             # my ($class, $value, $index, $output) = @_;
5050             croak "Missing required input 'unsigned int' value"
5051 0 0         unless defined $_[1]->{size};
5052             die "Out of bounds 'unsigned int': $_[1]->{size}"
5053 0 0 0       unless (0 <= $_[1]->{size} and $_[1]->{size} <= 4294967295);
5054             die "Non-integer 'int' value given: $_[1]->{size}"
5055 0 0         unless int($_[1]->{size}) == $_[1]->{size};
5056 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{size});
5057 0           $_[2] += 4;
5058              
5059             # Serializing field: 'flags'
5060             croak "Missing required input value 'flags'"
5061 0 0         unless exists $_[1]->{flags};
5062             # my ($class, $value, $index, $output) = @_;
5063             croak "Missing required input 'unsigned int' value"
5064 0 0         unless defined $_[1]->{flags};
5065             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5066 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5067             die "Non-integer 'int' value given: $_[1]->{flags}"
5068 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5069 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5070 0           $_[2] += 4;
5071             }
5072             # @_: ($class, $value, $index, $input) = @_;
5073             sub deserialize_domain_memory_peek_ret {
5074 0     0 0   my $input_length = length $_[3];
5075 0           $_[1] = {};
5076             # Deserializing field: 'buffer'
5077             # my ($class, $value, $index, $input) = @_;
5078 0           do {
5079 0 0         die "Input buffer too short"
5080             if ($input_length - $_[2]) < 4;
5081 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
5082 0           $_[2] += 4;
5083 0 0         die "Opaque data too long (max: 4194304): $len"
5084             unless ($len <= 4194304);
5085 0 0         die "Input buffer too short"
5086             if ($input_length - $_[2]) < $len;
5087 0           $_[1]->{buffer} = substr( $_[3], $_[2], $len );
5088 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
5089             };
5090             }
5091             # @_: ($class, $value, $index, $output) = @_;
5092             sub serialize_domain_memory_peek_ret {
5093 0 0   0 0   croak "Missing required input 'struct' value"
5094             unless defined $_[1];
5095              
5096             # Serializing field: 'buffer'
5097             croak "Missing required input value 'buffer'"
5098 0 0         unless exists $_[1]->{buffer};
5099             # my ($class, $value, $index, $output) = @_;
5100             croak "Missing required input 'opaque data' value"
5101 0 0         unless defined $_[1]->{buffer};
5102 0           do {
5103 0           my $len = length $_[1]->{buffer};
5104 0 0         die "Opaque data too long (max: 4194304): $len"
5105             unless ($len <= 4194304);
5106              
5107 0           substr( $_[3], $_[2] ) = pack("L>", $len);
5108 0           $_[2] += 4;
5109 0           substr( $_[3], $_[2] ) = $_[1]->{buffer};
5110 0           $_[2] += $len;
5111 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
5112 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
5113 0           $_[2] += $pad;
5114             }
5115             };
5116             }
5117             # @_: ($class, $value, $index, $input) = @_;
5118             sub deserialize_domain_get_block_info_args {
5119 0     0 0   my $input_length = length $_[3];
5120 0           $_[1] = {};
5121             # Deserializing field: 'dom'
5122             # my ($class, $value, $index, $input) = @_;
5123 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5124              
5125             # Deserializing field: 'path'
5126             # my ($class, $value, $index, $input) = @_;
5127 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
5128              
5129             # Deserializing field: 'flags'
5130             # my ($class, $value, $index, $input) = @_;
5131 0 0         die "Input buffer too short"
5132             if ($input_length - $_[2]) < 4;
5133 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5134 0           $_[2] += 4;
5135             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5136 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5137             }
5138             # @_: ($class, $value, $index, $output) = @_;
5139             sub serialize_domain_get_block_info_args {
5140 0 0   0 0   croak "Missing required input 'struct' value"
5141             unless defined $_[1];
5142              
5143             # Serializing field: 'dom'
5144             croak "Missing required input value 'dom'"
5145 0 0         unless exists $_[1]->{dom};
5146             # my ($class, $value, $index, $output) = @_;
5147 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5148              
5149             # Serializing field: 'path'
5150             croak "Missing required input value 'path'"
5151 0 0         unless exists $_[1]->{path};
5152             # my ($class, $value, $index, $output) = @_;
5153 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
5154              
5155             # Serializing field: 'flags'
5156             croak "Missing required input value 'flags'"
5157 0 0         unless exists $_[1]->{flags};
5158             # my ($class, $value, $index, $output) = @_;
5159             croak "Missing required input 'unsigned int' value"
5160 0 0         unless defined $_[1]->{flags};
5161             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5162 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5163             die "Non-integer 'int' value given: $_[1]->{flags}"
5164 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5165 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5166 0           $_[2] += 4;
5167             }
5168             # @_: ($class, $value, $index, $input) = @_;
5169             sub deserialize_domain_get_block_info_ret {
5170 0     0 0   my $input_length = length $_[3];
5171 0           $_[1] = {};
5172             # Deserializing field: 'allocation'
5173             # my ($class, $value, $index, $input) = @_;
5174 0 0         die "Input buffer too short"
5175             if ($input_length - $_[2]) < 8;
5176 0           $_[1]->{allocation} = unpack("Q>", substr( $_[3], $_[2] ));
5177 0           $_[2] += 8;
5178             die "Out of bounds 'unsigned hyper': $_[1]->{allocation}"
5179             unless (0 <= $_[1]->{allocation}
5180 0 0 0       and $_[1]->{allocation} <= 18446744073709551615);
5181              
5182             # Deserializing field: 'capacity'
5183             # my ($class, $value, $index, $input) = @_;
5184 0 0         die "Input buffer too short"
5185             if ($input_length - $_[2]) < 8;
5186 0           $_[1]->{capacity} = unpack("Q>", substr( $_[3], $_[2] ));
5187 0           $_[2] += 8;
5188             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
5189             unless (0 <= $_[1]->{capacity}
5190 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
5191              
5192             # Deserializing field: 'physical'
5193             # my ($class, $value, $index, $input) = @_;
5194 0 0         die "Input buffer too short"
5195             if ($input_length - $_[2]) < 8;
5196 0           $_[1]->{physical} = unpack("Q>", substr( $_[3], $_[2] ));
5197 0           $_[2] += 8;
5198             die "Out of bounds 'unsigned hyper': $_[1]->{physical}"
5199             unless (0 <= $_[1]->{physical}
5200 0 0 0       and $_[1]->{physical} <= 18446744073709551615);
5201             }
5202             # @_: ($class, $value, $index, $output) = @_;
5203             sub serialize_domain_get_block_info_ret {
5204 0 0   0 0   croak "Missing required input 'struct' value"
5205             unless defined $_[1];
5206              
5207             # Serializing field: 'allocation'
5208             croak "Missing required input value 'allocation'"
5209 0 0         unless exists $_[1]->{allocation};
5210             # my ($class, $value, $index, $output) = @_;
5211             croak "Missing required input 'unsigned long' value"
5212 0 0         unless defined $_[1]->{allocation};
5213             die "Out of bounds 'unsigned hyper': $_[1]->{allocation}"
5214             unless (0 <= $_[1]->{allocation}
5215 0 0 0       and $_[1]->{allocation} <= 18446744073709551615);
5216             die "Non-integer 'long' value given: $_[1]->{allocation}"
5217 0 0         unless int($_[1]->{allocation}) == $_[1]->{allocation};
5218 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{allocation});
5219 0           $_[2] += 8;
5220              
5221             # Serializing field: 'capacity'
5222             croak "Missing required input value 'capacity'"
5223 0 0         unless exists $_[1]->{capacity};
5224             # my ($class, $value, $index, $output) = @_;
5225             croak "Missing required input 'unsigned long' value"
5226 0 0         unless defined $_[1]->{capacity};
5227             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
5228             unless (0 <= $_[1]->{capacity}
5229 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
5230             die "Non-integer 'long' value given: $_[1]->{capacity}"
5231 0 0         unless int($_[1]->{capacity}) == $_[1]->{capacity};
5232 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{capacity});
5233 0           $_[2] += 8;
5234              
5235             # Serializing field: 'physical'
5236             croak "Missing required input value 'physical'"
5237 0 0         unless exists $_[1]->{physical};
5238             # my ($class, $value, $index, $output) = @_;
5239             croak "Missing required input 'unsigned long' value"
5240 0 0         unless defined $_[1]->{physical};
5241             die "Out of bounds 'unsigned hyper': $_[1]->{physical}"
5242             unless (0 <= $_[1]->{physical}
5243 0 0 0       and $_[1]->{physical} <= 18446744073709551615);
5244             die "Non-integer 'long' value given: $_[1]->{physical}"
5245 0 0         unless int($_[1]->{physical}) == $_[1]->{physical};
5246 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{physical});
5247 0           $_[2] += 8;
5248             }
5249             # @_: ($class, $value, $index, $input) = @_;
5250             sub deserialize_connect_list_domains_args {
5251 0     0 0   my $input_length = length $_[3];
5252 0           $_[1] = {};
5253             # Deserializing field: 'maxids'
5254             # my ($class, $value, $index, $input) = @_;
5255 0 0         die "Input buffer too short"
5256             if ($input_length - $_[2]) < 4;
5257 0           $_[1]->{maxids} = unpack("l>", substr( $_[3], $_[2] ));
5258 0           $_[2] += 4;
5259             die "Out of bounds 'int': $_[1]->{maxids}"
5260 0 0 0       unless (-2147483648 <= $_[1]->{maxids} and $_[1]->{maxids} < 2147483648);
5261             }
5262             # @_: ($class, $value, $index, $output) = @_;
5263             sub serialize_connect_list_domains_args {
5264 0 0   0 0   croak "Missing required input 'struct' value"
5265             unless defined $_[1];
5266              
5267             # Serializing field: 'maxids'
5268             croak "Missing required input value 'maxids'"
5269 0 0         unless exists $_[1]->{maxids};
5270             # my ($class, $value, $index, $output) = @_;
5271             croak "Missing required input 'int' value"
5272 0 0         unless defined $_[1]->{maxids};
5273             die "Out of bounds 'int': $_[1]->{maxids}"
5274 0 0 0       unless (-2147483648 <= $_[1]->{maxids} and $_[1]->{maxids} < 2147483648);
5275             die "Non-integer 'int' value given: $_[1]->{maxids}"
5276 0 0         unless int($_[1]->{maxids}) == $_[1]->{maxids};
5277 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxids});
5278 0           $_[2] += 4;
5279             }
5280             # @_: ($class, $value, $index, $input) = @_;
5281             sub deserialize_connect_list_domains_ret {
5282 0     0 0   my $input_length = length $_[3];
5283 0           $_[1] = {};
5284             # Deserializing field: 'ids'
5285             # my ($class, $value, $index, $input) = @_;
5286 0           do {
5287 0 0         die "Input buffer too short"
5288             if ($input_length - $_[2]) < 4;
5289 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
5290 0           $_[2] += 4;
5291              
5292 0 0         die "Array too long (max: 16384): $len"
5293             unless ($len <= 16384);
5294 0           $_[1]->{ids} = [];
5295 0           for my $i1 ( 0 .. ($len - 1) ) {
5296             # my ($class, $value, $index, $input) = @_;
5297 0 0         die "Input buffer too short"
5298             if ($input_length - $_[2]) < 4;
5299 0           $_[1]->{ids}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
5300 0           $_[2] += 4;
5301             die "Out of bounds 'int': $_[1]->{ids}->[$i1]"
5302 0 0 0       unless (-2147483648 <= $_[1]->{ids}->[$i1] and $_[1]->{ids}->[$i1] < 2147483648);
5303             }
5304             };
5305             }
5306             # @_: ($class, $value, $index, $output) = @_;
5307             sub serialize_connect_list_domains_ret {
5308 0 0   0 0   croak "Missing required input 'struct' value"
5309             unless defined $_[1];
5310              
5311             # Serializing field: 'ids'
5312             croak "Missing required input value 'ids'"
5313 0 0         unless exists $_[1]->{ids};
5314             # my ($class, $value, $index, $output) = @_;
5315             croak "Missing required input 'array' value"
5316 0 0         unless defined $_[1]->{ids};
5317 0           do {
5318 0           my $len = scalar @{ $_[1]->{ids} };
  0            
5319 0 0         die "Array too long (max: 16384): $len"
5320             unless ($len <= 16384);
5321              
5322 0           substr( $_[3], $_[2] ) = pack("L>", $len);
5323 0           $_[2] += 4;
5324 0           for my $i1 ( 0 .. ($len - 1) ) {
5325             # my ($class, $value, $index, $output) = @_;
5326             croak "Missing required input 'int' value"
5327 0 0         unless defined $_[1]->{ids}->[$i1];
5328             die "Out of bounds 'int': $_[1]->{ids}->[$i1]"
5329 0 0 0       unless (-2147483648 <= $_[1]->{ids}->[$i1] and $_[1]->{ids}->[$i1] < 2147483648);
5330             die "Non-integer 'int' value given: $_[1]->{ids}->[$i1]"
5331 0 0         unless int($_[1]->{ids}->[$i1]) == $_[1]->{ids}->[$i1];
5332 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ids}->[$i1]);
5333 0           $_[2] += 4;
5334             }
5335             };
5336             }
5337             # @_: ($class, $value, $index, $input) = @_;
5338             sub deserialize_connect_num_of_domains_ret {
5339 0     0 0   my $input_length = length $_[3];
5340 0           $_[1] = {};
5341             # Deserializing field: 'num'
5342             # my ($class, $value, $index, $input) = @_;
5343 0 0         die "Input buffer too short"
5344             if ($input_length - $_[2]) < 4;
5345 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
5346 0           $_[2] += 4;
5347             die "Out of bounds 'int': $_[1]->{num}"
5348 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
5349             }
5350             # @_: ($class, $value, $index, $output) = @_;
5351             sub serialize_connect_num_of_domains_ret {
5352 0 0   0 0   croak "Missing required input 'struct' value"
5353             unless defined $_[1];
5354              
5355             # Serializing field: 'num'
5356             croak "Missing required input value 'num'"
5357 0 0         unless exists $_[1]->{num};
5358             # my ($class, $value, $index, $output) = @_;
5359             croak "Missing required input 'int' value"
5360 0 0         unless defined $_[1]->{num};
5361             die "Out of bounds 'int': $_[1]->{num}"
5362 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
5363             die "Non-integer 'int' value given: $_[1]->{num}"
5364 0 0         unless int($_[1]->{num}) == $_[1]->{num};
5365 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
5366 0           $_[2] += 4;
5367             }
5368             # @_: ($class, $value, $index, $input) = @_;
5369             sub deserialize_domain_create_xml_args {
5370 0     0 0   my $input_length = length $_[3];
5371 0           $_[1] = {};
5372             # Deserializing field: 'xml_desc'
5373             # my ($class, $value, $index, $input) = @_;
5374 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
5375              
5376             # Deserializing field: 'flags'
5377             # my ($class, $value, $index, $input) = @_;
5378 0 0         die "Input buffer too short"
5379             if ($input_length - $_[2]) < 4;
5380 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5381 0           $_[2] += 4;
5382             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5383 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5384             }
5385             # @_: ($class, $value, $index, $output) = @_;
5386             sub serialize_domain_create_xml_args {
5387 0 0   0 0   croak "Missing required input 'struct' value"
5388             unless defined $_[1];
5389              
5390             # Serializing field: 'xml_desc'
5391             croak "Missing required input value 'xml_desc'"
5392 0 0         unless exists $_[1]->{xml_desc};
5393             # my ($class, $value, $index, $output) = @_;
5394 0           $_[0]->serialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
5395              
5396             # Serializing field: 'flags'
5397             croak "Missing required input value 'flags'"
5398 0 0         unless exists $_[1]->{flags};
5399             # my ($class, $value, $index, $output) = @_;
5400             croak "Missing required input 'unsigned int' value"
5401 0 0         unless defined $_[1]->{flags};
5402             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5403 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5404             die "Non-integer 'int' value given: $_[1]->{flags}"
5405 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5406 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5407 0           $_[2] += 4;
5408             }
5409             # @_: ($class, $value, $index, $input) = @_;
5410             sub deserialize_domain_create_xml_ret {
5411 0     0 0   my $input_length = length $_[3];
5412 0           $_[1] = {};
5413             # Deserializing field: 'dom'
5414             # my ($class, $value, $index, $input) = @_;
5415 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5416             }
5417             # @_: ($class, $value, $index, $output) = @_;
5418             sub serialize_domain_create_xml_ret {
5419 0 0   0 0   croak "Missing required input 'struct' value"
5420             unless defined $_[1];
5421              
5422             # Serializing field: 'dom'
5423             croak "Missing required input value 'dom'"
5424 0 0         unless exists $_[1]->{dom};
5425             # my ($class, $value, $index, $output) = @_;
5426 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5427             }
5428             # @_: ($class, $value, $index, $input) = @_;
5429             sub deserialize_domain_create_xml_with_files_args {
5430 0     0 0   my $input_length = length $_[3];
5431 0           $_[1] = {};
5432             # Deserializing field: 'xml_desc'
5433             # my ($class, $value, $index, $input) = @_;
5434 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
5435              
5436             # Deserializing field: 'flags'
5437             # my ($class, $value, $index, $input) = @_;
5438 0 0         die "Input buffer too short"
5439             if ($input_length - $_[2]) < 4;
5440 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5441 0           $_[2] += 4;
5442             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5443 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5444             }
5445             # @_: ($class, $value, $index, $output) = @_;
5446             sub serialize_domain_create_xml_with_files_args {
5447 0 0   0 0   croak "Missing required input 'struct' value"
5448             unless defined $_[1];
5449              
5450             # Serializing field: 'xml_desc'
5451             croak "Missing required input value 'xml_desc'"
5452 0 0         unless exists $_[1]->{xml_desc};
5453             # my ($class, $value, $index, $output) = @_;
5454 0           $_[0]->serialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
5455              
5456             # Serializing field: 'flags'
5457             croak "Missing required input value 'flags'"
5458 0 0         unless exists $_[1]->{flags};
5459             # my ($class, $value, $index, $output) = @_;
5460             croak "Missing required input 'unsigned int' value"
5461 0 0         unless defined $_[1]->{flags};
5462             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5463 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5464             die "Non-integer 'int' value given: $_[1]->{flags}"
5465 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5466 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5467 0           $_[2] += 4;
5468             }
5469             # @_: ($class, $value, $index, $input) = @_;
5470             sub deserialize_domain_create_xml_with_files_ret {
5471 0     0 0   my $input_length = length $_[3];
5472 0           $_[1] = {};
5473             # Deserializing field: 'dom'
5474             # my ($class, $value, $index, $input) = @_;
5475 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5476             }
5477             # @_: ($class, $value, $index, $output) = @_;
5478             sub serialize_domain_create_xml_with_files_ret {
5479 0 0   0 0   croak "Missing required input 'struct' value"
5480             unless defined $_[1];
5481              
5482             # Serializing field: 'dom'
5483             croak "Missing required input value 'dom'"
5484 0 0         unless exists $_[1]->{dom};
5485             # my ($class, $value, $index, $output) = @_;
5486 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5487             }
5488             # @_: ($class, $value, $index, $input) = @_;
5489             sub deserialize_domain_lookup_by_id_args {
5490 0     0 0   my $input_length = length $_[3];
5491 0           $_[1] = {};
5492             # Deserializing field: 'id'
5493             # my ($class, $value, $index, $input) = @_;
5494 0 0         die "Input buffer too short"
5495             if ($input_length - $_[2]) < 4;
5496 0           $_[1]->{id} = unpack("l>", substr( $_[3], $_[2] ));
5497 0           $_[2] += 4;
5498             die "Out of bounds 'int': $_[1]->{id}"
5499 0 0 0       unless (-2147483648 <= $_[1]->{id} and $_[1]->{id} < 2147483648);
5500             }
5501             # @_: ($class, $value, $index, $output) = @_;
5502             sub serialize_domain_lookup_by_id_args {
5503 0 0   0 0   croak "Missing required input 'struct' value"
5504             unless defined $_[1];
5505              
5506             # Serializing field: 'id'
5507             croak "Missing required input value 'id'"
5508 0 0         unless exists $_[1]->{id};
5509             # my ($class, $value, $index, $output) = @_;
5510             croak "Missing required input 'int' value"
5511 0 0         unless defined $_[1]->{id};
5512             die "Out of bounds 'int': $_[1]->{id}"
5513 0 0 0       unless (-2147483648 <= $_[1]->{id} and $_[1]->{id} < 2147483648);
5514             die "Non-integer 'int' value given: $_[1]->{id}"
5515 0 0         unless int($_[1]->{id}) == $_[1]->{id};
5516 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{id});
5517 0           $_[2] += 4;
5518             }
5519             # @_: ($class, $value, $index, $input) = @_;
5520             sub deserialize_domain_lookup_by_id_ret {
5521 0     0 0   my $input_length = length $_[3];
5522 0           $_[1] = {};
5523             # Deserializing field: 'dom'
5524             # my ($class, $value, $index, $input) = @_;
5525 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5526             }
5527             # @_: ($class, $value, $index, $output) = @_;
5528             sub serialize_domain_lookup_by_id_ret {
5529 0 0   0 0   croak "Missing required input 'struct' value"
5530             unless defined $_[1];
5531              
5532             # Serializing field: 'dom'
5533             croak "Missing required input value 'dom'"
5534 0 0         unless exists $_[1]->{dom};
5535             # my ($class, $value, $index, $output) = @_;
5536 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5537             }
5538             # @_: ($class, $value, $index, $input) = @_;
5539             sub deserialize_domain_lookup_by_uuid_args {
5540 0     0 0   my $input_length = length $_[3];
5541 0           $_[1] = {};
5542             # Deserializing field: 'uuid'
5543             # my ($class, $value, $index, $input) = @_;
5544 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
5545             }
5546             # @_: ($class, $value, $index, $output) = @_;
5547             sub serialize_domain_lookup_by_uuid_args {
5548 0 0   0 0   croak "Missing required input 'struct' value"
5549             unless defined $_[1];
5550              
5551             # Serializing field: 'uuid'
5552             croak "Missing required input value 'uuid'"
5553 0 0         unless exists $_[1]->{uuid};
5554             # my ($class, $value, $index, $output) = @_;
5555 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
5556             }
5557             # @_: ($class, $value, $index, $input) = @_;
5558             sub deserialize_domain_lookup_by_uuid_ret {
5559 0     0 0   my $input_length = length $_[3];
5560 0           $_[1] = {};
5561             # Deserializing field: 'dom'
5562             # my ($class, $value, $index, $input) = @_;
5563 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5564             }
5565             # @_: ($class, $value, $index, $output) = @_;
5566             sub serialize_domain_lookup_by_uuid_ret {
5567 0 0   0 0   croak "Missing required input 'struct' value"
5568             unless defined $_[1];
5569              
5570             # Serializing field: 'dom'
5571             croak "Missing required input value 'dom'"
5572 0 0         unless exists $_[1]->{dom};
5573             # my ($class, $value, $index, $output) = @_;
5574 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5575             }
5576             # @_: ($class, $value, $index, $input) = @_;
5577             sub deserialize_domain_lookup_by_name_args {
5578 0     0 0   my $input_length = length $_[3];
5579 0           $_[1] = {};
5580             # Deserializing field: 'name'
5581             # my ($class, $value, $index, $input) = @_;
5582 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
5583             }
5584             # @_: ($class, $value, $index, $output) = @_;
5585             sub serialize_domain_lookup_by_name_args {
5586 0 0   0 0   croak "Missing required input 'struct' value"
5587             unless defined $_[1];
5588              
5589             # Serializing field: 'name'
5590             croak "Missing required input value 'name'"
5591 0 0         unless exists $_[1]->{name};
5592             # my ($class, $value, $index, $output) = @_;
5593 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
5594             }
5595             # @_: ($class, $value, $index, $input) = @_;
5596             sub deserialize_domain_lookup_by_name_ret {
5597 0     0 0   my $input_length = length $_[3];
5598 0           $_[1] = {};
5599             # Deserializing field: 'dom'
5600             # my ($class, $value, $index, $input) = @_;
5601 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5602             }
5603             # @_: ($class, $value, $index, $output) = @_;
5604             sub serialize_domain_lookup_by_name_ret {
5605 0 0   0 0   croak "Missing required input 'struct' value"
5606             unless defined $_[1];
5607              
5608             # Serializing field: 'dom'
5609             croak "Missing required input value 'dom'"
5610 0 0         unless exists $_[1]->{dom};
5611             # my ($class, $value, $index, $output) = @_;
5612 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5613             }
5614             # @_: ($class, $value, $index, $input) = @_;
5615             sub deserialize_domain_suspend_args {
5616 0     0 0   my $input_length = length $_[3];
5617 0           $_[1] = {};
5618             # Deserializing field: 'dom'
5619             # my ($class, $value, $index, $input) = @_;
5620 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5621             }
5622             # @_: ($class, $value, $index, $output) = @_;
5623             sub serialize_domain_suspend_args {
5624 0 0   0 0   croak "Missing required input 'struct' value"
5625             unless defined $_[1];
5626              
5627             # Serializing field: 'dom'
5628             croak "Missing required input value 'dom'"
5629 0 0         unless exists $_[1]->{dom};
5630             # my ($class, $value, $index, $output) = @_;
5631 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5632             }
5633             # @_: ($class, $value, $index, $input) = @_;
5634             sub deserialize_domain_resume_args {
5635 0     0 0   my $input_length = length $_[3];
5636 0           $_[1] = {};
5637             # Deserializing field: 'dom'
5638             # my ($class, $value, $index, $input) = @_;
5639 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5640             }
5641             # @_: ($class, $value, $index, $output) = @_;
5642             sub serialize_domain_resume_args {
5643 0 0   0 0   croak "Missing required input 'struct' value"
5644             unless defined $_[1];
5645              
5646             # Serializing field: 'dom'
5647             croak "Missing required input value 'dom'"
5648 0 0         unless exists $_[1]->{dom};
5649             # my ($class, $value, $index, $output) = @_;
5650 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5651             }
5652             # @_: ($class, $value, $index, $input) = @_;
5653             sub deserialize_domain_pm_suspend_for_duration_args {
5654 0     0 0   my $input_length = length $_[3];
5655 0           $_[1] = {};
5656             # Deserializing field: 'dom'
5657             # my ($class, $value, $index, $input) = @_;
5658 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5659              
5660             # Deserializing field: 'target'
5661             # my ($class, $value, $index, $input) = @_;
5662 0 0         die "Input buffer too short"
5663             if ($input_length - $_[2]) < 4;
5664 0           $_[1]->{target} = unpack("L>", substr( $_[3], $_[2] ));
5665 0           $_[2] += 4;
5666             die "Out of bounds 'unsigned int': $_[1]->{target}"
5667 0 0 0       unless (0 <= $_[1]->{target} and $_[1]->{target} <= 4294967295);
5668              
5669             # Deserializing field: 'duration'
5670             # my ($class, $value, $index, $input) = @_;
5671 0 0         die "Input buffer too short"
5672             if ($input_length - $_[2]) < 8;
5673 0           $_[1]->{duration} = unpack("Q>", substr( $_[3], $_[2] ));
5674 0           $_[2] += 8;
5675             die "Out of bounds 'unsigned hyper': $_[1]->{duration}"
5676             unless (0 <= $_[1]->{duration}
5677 0 0 0       and $_[1]->{duration} <= 18446744073709551615);
5678              
5679             # Deserializing field: 'flags'
5680             # my ($class, $value, $index, $input) = @_;
5681 0 0         die "Input buffer too short"
5682             if ($input_length - $_[2]) < 4;
5683 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5684 0           $_[2] += 4;
5685             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5686 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5687             }
5688             # @_: ($class, $value, $index, $output) = @_;
5689             sub serialize_domain_pm_suspend_for_duration_args {
5690 0 0   0 0   croak "Missing required input 'struct' value"
5691             unless defined $_[1];
5692              
5693             # Serializing field: 'dom'
5694             croak "Missing required input value 'dom'"
5695 0 0         unless exists $_[1]->{dom};
5696             # my ($class, $value, $index, $output) = @_;
5697 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5698              
5699             # Serializing field: 'target'
5700             croak "Missing required input value 'target'"
5701 0 0         unless exists $_[1]->{target};
5702             # my ($class, $value, $index, $output) = @_;
5703             croak "Missing required input 'unsigned int' value"
5704 0 0         unless defined $_[1]->{target};
5705             die "Out of bounds 'unsigned int': $_[1]->{target}"
5706 0 0 0       unless (0 <= $_[1]->{target} and $_[1]->{target} <= 4294967295);
5707             die "Non-integer 'int' value given: $_[1]->{target}"
5708 0 0         unless int($_[1]->{target}) == $_[1]->{target};
5709 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{target});
5710 0           $_[2] += 4;
5711              
5712             # Serializing field: 'duration'
5713             croak "Missing required input value 'duration'"
5714 0 0         unless exists $_[1]->{duration};
5715             # my ($class, $value, $index, $output) = @_;
5716             croak "Missing required input 'unsigned long' value"
5717 0 0         unless defined $_[1]->{duration};
5718             die "Out of bounds 'unsigned hyper': $_[1]->{duration}"
5719             unless (0 <= $_[1]->{duration}
5720 0 0 0       and $_[1]->{duration} <= 18446744073709551615);
5721             die "Non-integer 'long' value given: $_[1]->{duration}"
5722 0 0         unless int($_[1]->{duration}) == $_[1]->{duration};
5723 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{duration});
5724 0           $_[2] += 8;
5725              
5726             # Serializing field: 'flags'
5727             croak "Missing required input value 'flags'"
5728 0 0         unless exists $_[1]->{flags};
5729             # my ($class, $value, $index, $output) = @_;
5730             croak "Missing required input 'unsigned int' value"
5731 0 0         unless defined $_[1]->{flags};
5732             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5733 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5734             die "Non-integer 'int' value given: $_[1]->{flags}"
5735 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5736 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5737 0           $_[2] += 4;
5738             }
5739             # @_: ($class, $value, $index, $input) = @_;
5740             sub deserialize_domain_pm_wakeup_args {
5741 0     0 0   my $input_length = length $_[3];
5742 0           $_[1] = {};
5743             # Deserializing field: 'dom'
5744             # my ($class, $value, $index, $input) = @_;
5745 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5746              
5747             # Deserializing field: 'flags'
5748             # my ($class, $value, $index, $input) = @_;
5749 0 0         die "Input buffer too short"
5750             if ($input_length - $_[2]) < 4;
5751 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5752 0           $_[2] += 4;
5753             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5754 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5755             }
5756             # @_: ($class, $value, $index, $output) = @_;
5757             sub serialize_domain_pm_wakeup_args {
5758 0 0   0 0   croak "Missing required input 'struct' value"
5759             unless defined $_[1];
5760              
5761             # Serializing field: 'dom'
5762             croak "Missing required input value 'dom'"
5763 0 0         unless exists $_[1]->{dom};
5764             # my ($class, $value, $index, $output) = @_;
5765 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5766              
5767             # Serializing field: 'flags'
5768             croak "Missing required input value 'flags'"
5769 0 0         unless exists $_[1]->{flags};
5770             # my ($class, $value, $index, $output) = @_;
5771             croak "Missing required input 'unsigned int' value"
5772 0 0         unless defined $_[1]->{flags};
5773             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5774 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5775             die "Non-integer 'int' value given: $_[1]->{flags}"
5776 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5777 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5778 0           $_[2] += 4;
5779             }
5780             # @_: ($class, $value, $index, $input) = @_;
5781             sub deserialize_domain_shutdown_args {
5782 0     0 0   my $input_length = length $_[3];
5783 0           $_[1] = {};
5784             # Deserializing field: 'dom'
5785             # my ($class, $value, $index, $input) = @_;
5786 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5787             }
5788             # @_: ($class, $value, $index, $output) = @_;
5789             sub serialize_domain_shutdown_args {
5790 0 0   0 0   croak "Missing required input 'struct' value"
5791             unless defined $_[1];
5792              
5793             # Serializing field: 'dom'
5794             croak "Missing required input value 'dom'"
5795 0 0         unless exists $_[1]->{dom};
5796             # my ($class, $value, $index, $output) = @_;
5797 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5798             }
5799             # @_: ($class, $value, $index, $input) = @_;
5800             sub deserialize_domain_reboot_args {
5801 0     0 0   my $input_length = length $_[3];
5802 0           $_[1] = {};
5803             # Deserializing field: 'dom'
5804             # my ($class, $value, $index, $input) = @_;
5805 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5806              
5807             # Deserializing field: 'flags'
5808             # my ($class, $value, $index, $input) = @_;
5809 0 0         die "Input buffer too short"
5810             if ($input_length - $_[2]) < 4;
5811 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5812 0           $_[2] += 4;
5813             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5814 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5815             }
5816             # @_: ($class, $value, $index, $output) = @_;
5817             sub serialize_domain_reboot_args {
5818 0 0   0 0   croak "Missing required input 'struct' value"
5819             unless defined $_[1];
5820              
5821             # Serializing field: 'dom'
5822             croak "Missing required input value 'dom'"
5823 0 0         unless exists $_[1]->{dom};
5824             # my ($class, $value, $index, $output) = @_;
5825 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5826              
5827             # Serializing field: 'flags'
5828             croak "Missing required input value 'flags'"
5829 0 0         unless exists $_[1]->{flags};
5830             # my ($class, $value, $index, $output) = @_;
5831             croak "Missing required input 'unsigned int' value"
5832 0 0         unless defined $_[1]->{flags};
5833             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5834 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5835             die "Non-integer 'int' value given: $_[1]->{flags}"
5836 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5837 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5838 0           $_[2] += 4;
5839             }
5840             # @_: ($class, $value, $index, $input) = @_;
5841             sub deserialize_domain_reset_args {
5842 0     0 0   my $input_length = length $_[3];
5843 0           $_[1] = {};
5844             # Deserializing field: 'dom'
5845             # my ($class, $value, $index, $input) = @_;
5846 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5847              
5848             # Deserializing field: 'flags'
5849             # my ($class, $value, $index, $input) = @_;
5850 0 0         die "Input buffer too short"
5851             if ($input_length - $_[2]) < 4;
5852 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5853 0           $_[2] += 4;
5854             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5855 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5856             }
5857             # @_: ($class, $value, $index, $output) = @_;
5858             sub serialize_domain_reset_args {
5859 0 0   0 0   croak "Missing required input 'struct' value"
5860             unless defined $_[1];
5861              
5862             # Serializing field: 'dom'
5863             croak "Missing required input value 'dom'"
5864 0 0         unless exists $_[1]->{dom};
5865             # my ($class, $value, $index, $output) = @_;
5866 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5867              
5868             # Serializing field: 'flags'
5869             croak "Missing required input value 'flags'"
5870 0 0         unless exists $_[1]->{flags};
5871             # my ($class, $value, $index, $output) = @_;
5872             croak "Missing required input 'unsigned int' value"
5873 0 0         unless defined $_[1]->{flags};
5874             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5875 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5876             die "Non-integer 'int' value given: $_[1]->{flags}"
5877 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5878 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5879 0           $_[2] += 4;
5880             }
5881             # @_: ($class, $value, $index, $input) = @_;
5882             sub deserialize_domain_destroy_args {
5883 0     0 0   my $input_length = length $_[3];
5884 0           $_[1] = {};
5885             # Deserializing field: 'dom'
5886             # my ($class, $value, $index, $input) = @_;
5887 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5888             }
5889             # @_: ($class, $value, $index, $output) = @_;
5890             sub serialize_domain_destroy_args {
5891 0 0   0 0   croak "Missing required input 'struct' value"
5892             unless defined $_[1];
5893              
5894             # Serializing field: 'dom'
5895             croak "Missing required input value 'dom'"
5896 0 0         unless exists $_[1]->{dom};
5897             # my ($class, $value, $index, $output) = @_;
5898 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5899             }
5900             # @_: ($class, $value, $index, $input) = @_;
5901             sub deserialize_domain_destroy_flags_args {
5902 0     0 0   my $input_length = length $_[3];
5903 0           $_[1] = {};
5904             # Deserializing field: 'dom'
5905             # my ($class, $value, $index, $input) = @_;
5906 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5907              
5908             # Deserializing field: 'flags'
5909             # my ($class, $value, $index, $input) = @_;
5910 0 0         die "Input buffer too short"
5911             if ($input_length - $_[2]) < 4;
5912 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5913 0           $_[2] += 4;
5914             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5915 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5916             }
5917             # @_: ($class, $value, $index, $output) = @_;
5918             sub serialize_domain_destroy_flags_args {
5919 0 0   0 0   croak "Missing required input 'struct' value"
5920             unless defined $_[1];
5921              
5922             # Serializing field: 'dom'
5923             croak "Missing required input value 'dom'"
5924 0 0         unless exists $_[1]->{dom};
5925             # my ($class, $value, $index, $output) = @_;
5926 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5927              
5928             # Serializing field: 'flags'
5929             croak "Missing required input value 'flags'"
5930 0 0         unless exists $_[1]->{flags};
5931             # my ($class, $value, $index, $output) = @_;
5932             croak "Missing required input 'unsigned int' value"
5933 0 0         unless defined $_[1]->{flags};
5934             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5935 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5936             die "Non-integer 'int' value given: $_[1]->{flags}"
5937 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5938 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5939 0           $_[2] += 4;
5940             }
5941             # @_: ($class, $value, $index, $input) = @_;
5942             sub deserialize_domain_get_os_type_args {
5943 0     0 0   my $input_length = length $_[3];
5944 0           $_[1] = {};
5945             # Deserializing field: 'dom'
5946             # my ($class, $value, $index, $input) = @_;
5947 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5948             }
5949             # @_: ($class, $value, $index, $output) = @_;
5950             sub serialize_domain_get_os_type_args {
5951 0 0   0 0   croak "Missing required input 'struct' value"
5952             unless defined $_[1];
5953              
5954             # Serializing field: 'dom'
5955             croak "Missing required input value 'dom'"
5956 0 0         unless exists $_[1]->{dom};
5957             # my ($class, $value, $index, $output) = @_;
5958 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5959             }
5960             # @_: ($class, $value, $index, $input) = @_;
5961             sub deserialize_domain_get_os_type_ret {
5962 0     0 0   my $input_length = length $_[3];
5963 0           $_[1] = {};
5964             # Deserializing field: 'type'
5965             # my ($class, $value, $index, $input) = @_;
5966 0           $_[0]->deserialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
5967             }
5968             # @_: ($class, $value, $index, $output) = @_;
5969             sub serialize_domain_get_os_type_ret {
5970 0 0   0 0   croak "Missing required input 'struct' value"
5971             unless defined $_[1];
5972              
5973             # Serializing field: 'type'
5974             croak "Missing required input value 'type'"
5975 0 0         unless exists $_[1]->{type};
5976             # my ($class, $value, $index, $output) = @_;
5977 0           $_[0]->serialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
5978             }
5979             # @_: ($class, $value, $index, $input) = @_;
5980             sub deserialize_domain_get_max_memory_args {
5981 0     0 0   my $input_length = length $_[3];
5982 0           $_[1] = {};
5983             # Deserializing field: 'dom'
5984             # my ($class, $value, $index, $input) = @_;
5985 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5986             }
5987             # @_: ($class, $value, $index, $output) = @_;
5988             sub serialize_domain_get_max_memory_args {
5989 0 0   0 0   croak "Missing required input 'struct' value"
5990             unless defined $_[1];
5991              
5992             # Serializing field: 'dom'
5993             croak "Missing required input value 'dom'"
5994 0 0         unless exists $_[1]->{dom};
5995             # my ($class, $value, $index, $output) = @_;
5996 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5997             }
5998             # @_: ($class, $value, $index, $input) = @_;
5999             sub deserialize_domain_get_max_memory_ret {
6000 0     0 0   my $input_length = length $_[3];
6001 0           $_[1] = {};
6002             # Deserializing field: 'memory'
6003             # my ($class, $value, $index, $input) = @_;
6004 0 0         die "Input buffer too short"
6005             if ($input_length - $_[2]) < 8;
6006 0           $_[1]->{memory} = unpack("Q>", substr( $_[3], $_[2] ));
6007 0           $_[2] += 8;
6008             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6009             unless (0 <= $_[1]->{memory}
6010 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6011             }
6012             # @_: ($class, $value, $index, $output) = @_;
6013             sub serialize_domain_get_max_memory_ret {
6014 0 0   0 0   croak "Missing required input 'struct' value"
6015             unless defined $_[1];
6016              
6017             # Serializing field: 'memory'
6018             croak "Missing required input value 'memory'"
6019 0 0         unless exists $_[1]->{memory};
6020             # my ($class, $value, $index, $output) = @_;
6021             croak "Missing required input 'unsigned long' value"
6022 0 0         unless defined $_[1]->{memory};
6023             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6024             unless (0 <= $_[1]->{memory}
6025 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6026             die "Non-integer 'long' value given: $_[1]->{memory}"
6027 0 0         unless int($_[1]->{memory}) == $_[1]->{memory};
6028 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memory});
6029 0           $_[2] += 8;
6030             }
6031             # @_: ($class, $value, $index, $input) = @_;
6032             sub deserialize_domain_set_max_memory_args {
6033 0     0 0   my $input_length = length $_[3];
6034 0           $_[1] = {};
6035             # Deserializing field: 'dom'
6036             # my ($class, $value, $index, $input) = @_;
6037 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6038              
6039             # Deserializing field: 'memory'
6040             # my ($class, $value, $index, $input) = @_;
6041 0 0         die "Input buffer too short"
6042             if ($input_length - $_[2]) < 8;
6043 0           $_[1]->{memory} = unpack("Q>", substr( $_[3], $_[2] ));
6044 0           $_[2] += 8;
6045             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6046             unless (0 <= $_[1]->{memory}
6047 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6048             }
6049             # @_: ($class, $value, $index, $output) = @_;
6050             sub serialize_domain_set_max_memory_args {
6051 0 0   0 0   croak "Missing required input 'struct' value"
6052             unless defined $_[1];
6053              
6054             # Serializing field: 'dom'
6055             croak "Missing required input value 'dom'"
6056 0 0         unless exists $_[1]->{dom};
6057             # my ($class, $value, $index, $output) = @_;
6058 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6059              
6060             # Serializing field: 'memory'
6061             croak "Missing required input value 'memory'"
6062 0 0         unless exists $_[1]->{memory};
6063             # my ($class, $value, $index, $output) = @_;
6064             croak "Missing required input 'unsigned long' value"
6065 0 0         unless defined $_[1]->{memory};
6066             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6067             unless (0 <= $_[1]->{memory}
6068 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6069             die "Non-integer 'long' value given: $_[1]->{memory}"
6070 0 0         unless int($_[1]->{memory}) == $_[1]->{memory};
6071 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memory});
6072 0           $_[2] += 8;
6073             }
6074             # @_: ($class, $value, $index, $input) = @_;
6075             sub deserialize_domain_set_memory_args {
6076 0     0 0   my $input_length = length $_[3];
6077 0           $_[1] = {};
6078             # Deserializing field: 'dom'
6079             # my ($class, $value, $index, $input) = @_;
6080 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6081              
6082             # Deserializing field: 'memory'
6083             # my ($class, $value, $index, $input) = @_;
6084 0 0         die "Input buffer too short"
6085             if ($input_length - $_[2]) < 8;
6086 0           $_[1]->{memory} = unpack("Q>", substr( $_[3], $_[2] ));
6087 0           $_[2] += 8;
6088             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6089             unless (0 <= $_[1]->{memory}
6090 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6091             }
6092             # @_: ($class, $value, $index, $output) = @_;
6093             sub serialize_domain_set_memory_args {
6094 0 0   0 0   croak "Missing required input 'struct' value"
6095             unless defined $_[1];
6096              
6097             # Serializing field: 'dom'
6098             croak "Missing required input value 'dom'"
6099 0 0         unless exists $_[1]->{dom};
6100             # my ($class, $value, $index, $output) = @_;
6101 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6102              
6103             # Serializing field: 'memory'
6104             croak "Missing required input value 'memory'"
6105 0 0         unless exists $_[1]->{memory};
6106             # my ($class, $value, $index, $output) = @_;
6107             croak "Missing required input 'unsigned long' value"
6108 0 0         unless defined $_[1]->{memory};
6109             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6110             unless (0 <= $_[1]->{memory}
6111 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6112             die "Non-integer 'long' value given: $_[1]->{memory}"
6113 0 0         unless int($_[1]->{memory}) == $_[1]->{memory};
6114 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memory});
6115 0           $_[2] += 8;
6116             }
6117             # @_: ($class, $value, $index, $input) = @_;
6118             sub deserialize_domain_set_memory_flags_args {
6119 0     0 0   my $input_length = length $_[3];
6120 0           $_[1] = {};
6121             # Deserializing field: 'dom'
6122             # my ($class, $value, $index, $input) = @_;
6123 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6124              
6125             # Deserializing field: 'memory'
6126             # my ($class, $value, $index, $input) = @_;
6127 0 0         die "Input buffer too short"
6128             if ($input_length - $_[2]) < 8;
6129 0           $_[1]->{memory} = unpack("Q>", substr( $_[3], $_[2] ));
6130 0           $_[2] += 8;
6131             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6132             unless (0 <= $_[1]->{memory}
6133 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6134              
6135             # Deserializing field: 'flags'
6136             # my ($class, $value, $index, $input) = @_;
6137 0 0         die "Input buffer too short"
6138             if ($input_length - $_[2]) < 4;
6139 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6140 0           $_[2] += 4;
6141             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6142 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6143             }
6144             # @_: ($class, $value, $index, $output) = @_;
6145             sub serialize_domain_set_memory_flags_args {
6146 0 0   0 0   croak "Missing required input 'struct' value"
6147             unless defined $_[1];
6148              
6149             # Serializing field: 'dom'
6150             croak "Missing required input value 'dom'"
6151 0 0         unless exists $_[1]->{dom};
6152             # my ($class, $value, $index, $output) = @_;
6153 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6154              
6155             # Serializing field: 'memory'
6156             croak "Missing required input value 'memory'"
6157 0 0         unless exists $_[1]->{memory};
6158             # my ($class, $value, $index, $output) = @_;
6159             croak "Missing required input 'unsigned long' value"
6160 0 0         unless defined $_[1]->{memory};
6161             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6162             unless (0 <= $_[1]->{memory}
6163 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6164             die "Non-integer 'long' value given: $_[1]->{memory}"
6165 0 0         unless int($_[1]->{memory}) == $_[1]->{memory};
6166 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memory});
6167 0           $_[2] += 8;
6168              
6169             # Serializing field: 'flags'
6170             croak "Missing required input value 'flags'"
6171 0 0         unless exists $_[1]->{flags};
6172             # my ($class, $value, $index, $output) = @_;
6173             croak "Missing required input 'unsigned int' value"
6174 0 0         unless defined $_[1]->{flags};
6175             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6176 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6177             die "Non-integer 'int' value given: $_[1]->{flags}"
6178 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6179 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6180 0           $_[2] += 4;
6181             }
6182             # @_: ($class, $value, $index, $input) = @_;
6183             sub deserialize_domain_set_memory_stats_period_args {
6184 0     0 0   my $input_length = length $_[3];
6185 0           $_[1] = {};
6186             # Deserializing field: 'dom'
6187             # my ($class, $value, $index, $input) = @_;
6188 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6189              
6190             # Deserializing field: 'period'
6191             # my ($class, $value, $index, $input) = @_;
6192 0 0         die "Input buffer too short"
6193             if ($input_length - $_[2]) < 4;
6194 0           $_[1]->{period} = unpack("l>", substr( $_[3], $_[2] ));
6195 0           $_[2] += 4;
6196             die "Out of bounds 'int': $_[1]->{period}"
6197 0 0 0       unless (-2147483648 <= $_[1]->{period} and $_[1]->{period} < 2147483648);
6198              
6199             # Deserializing field: 'flags'
6200             # my ($class, $value, $index, $input) = @_;
6201 0 0         die "Input buffer too short"
6202             if ($input_length - $_[2]) < 4;
6203 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6204 0           $_[2] += 4;
6205             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6206 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6207             }
6208             # @_: ($class, $value, $index, $output) = @_;
6209             sub serialize_domain_set_memory_stats_period_args {
6210 0 0   0 0   croak "Missing required input 'struct' value"
6211             unless defined $_[1];
6212              
6213             # Serializing field: 'dom'
6214             croak "Missing required input value 'dom'"
6215 0 0         unless exists $_[1]->{dom};
6216             # my ($class, $value, $index, $output) = @_;
6217 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6218              
6219             # Serializing field: 'period'
6220             croak "Missing required input value 'period'"
6221 0 0         unless exists $_[1]->{period};
6222             # my ($class, $value, $index, $output) = @_;
6223             croak "Missing required input 'int' value"
6224 0 0         unless defined $_[1]->{period};
6225             die "Out of bounds 'int': $_[1]->{period}"
6226 0 0 0       unless (-2147483648 <= $_[1]->{period} and $_[1]->{period} < 2147483648);
6227             die "Non-integer 'int' value given: $_[1]->{period}"
6228 0 0         unless int($_[1]->{period}) == $_[1]->{period};
6229 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{period});
6230 0           $_[2] += 4;
6231              
6232             # Serializing field: 'flags'
6233             croak "Missing required input value 'flags'"
6234 0 0         unless exists $_[1]->{flags};
6235             # my ($class, $value, $index, $output) = @_;
6236             croak "Missing required input 'unsigned int' value"
6237 0 0         unless defined $_[1]->{flags};
6238             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6239 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6240             die "Non-integer 'int' value given: $_[1]->{flags}"
6241 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6242 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6243 0           $_[2] += 4;
6244             }
6245             # @_: ($class, $value, $index, $input) = @_;
6246             sub deserialize_domain_get_info_args {
6247 0     0 0   my $input_length = length $_[3];
6248 0           $_[1] = {};
6249             # Deserializing field: 'dom'
6250             # my ($class, $value, $index, $input) = @_;
6251 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6252             }
6253             # @_: ($class, $value, $index, $output) = @_;
6254             sub serialize_domain_get_info_args {
6255 0 0   0 0   croak "Missing required input 'struct' value"
6256             unless defined $_[1];
6257              
6258             # Serializing field: 'dom'
6259             croak "Missing required input value 'dom'"
6260 0 0         unless exists $_[1]->{dom};
6261             # my ($class, $value, $index, $output) = @_;
6262 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6263             }
6264             # @_: ($class, $value, $index, $input) = @_;
6265             sub deserialize_domain_get_info_ret {
6266 0     0 0   my $input_length = length $_[3];
6267 0           $_[1] = {};
6268             # Deserializing field: 'state'
6269             # my ($class, $value, $index, $input) = @_;
6270 0 0         die "Input buffer too short"
6271             if ($input_length - $_[2]) < 4;
6272 0           $_[1]->{state} = unpack("L>", substr( $_[3], $_[2] ));
6273 0           $_[2] += 4;
6274             die "Out of bounds 'unsigned char': $_[1]->{state}"
6275 0 0 0       unless (0 <= $_[1]->{state} and $_[1]->{state} <= 255);
6276              
6277             # Deserializing field: 'maxMem'
6278             # my ($class, $value, $index, $input) = @_;
6279 0 0         die "Input buffer too short"
6280             if ($input_length - $_[2]) < 8;
6281 0           $_[1]->{maxMem} = unpack("Q>", substr( $_[3], $_[2] ));
6282 0           $_[2] += 8;
6283             die "Out of bounds 'unsigned hyper': $_[1]->{maxMem}"
6284             unless (0 <= $_[1]->{maxMem}
6285 0 0 0       and $_[1]->{maxMem} <= 18446744073709551615);
6286              
6287             # Deserializing field: 'memory'
6288             # my ($class, $value, $index, $input) = @_;
6289 0 0         die "Input buffer too short"
6290             if ($input_length - $_[2]) < 8;
6291 0           $_[1]->{memory} = unpack("Q>", substr( $_[3], $_[2] ));
6292 0           $_[2] += 8;
6293             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6294             unless (0 <= $_[1]->{memory}
6295 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6296              
6297             # Deserializing field: 'nrVirtCpu'
6298             # my ($class, $value, $index, $input) = @_;
6299 0 0         die "Input buffer too short"
6300             if ($input_length - $_[2]) < 4;
6301 0           $_[1]->{nrVirtCpu} = unpack("L>", substr( $_[3], $_[2] ));
6302 0           $_[2] += 4;
6303             die "Out of bounds 'unsigned short': $_[1]->{nrVirtCpu}"
6304 0 0 0       unless (0 <= $_[1]->{nrVirtCpu} and $_[1]->{nrVirtCpu} <= 65535);
6305              
6306             # Deserializing field: 'cpuTime'
6307             # my ($class, $value, $index, $input) = @_;
6308 0 0         die "Input buffer too short"
6309             if ($input_length - $_[2]) < 8;
6310 0           $_[1]->{cpuTime} = unpack("Q>", substr( $_[3], $_[2] ));
6311 0           $_[2] += 8;
6312             die "Out of bounds 'unsigned hyper': $_[1]->{cpuTime}"
6313             unless (0 <= $_[1]->{cpuTime}
6314 0 0 0       and $_[1]->{cpuTime} <= 18446744073709551615);
6315             }
6316             # @_: ($class, $value, $index, $output) = @_;
6317             sub serialize_domain_get_info_ret {
6318 0 0   0 0   croak "Missing required input 'struct' value"
6319             unless defined $_[1];
6320              
6321             # Serializing field: 'state'
6322             croak "Missing required input value 'state'"
6323 0 0         unless exists $_[1]->{state};
6324             # my ($class, $value, $index, $output) = @_;
6325             croak "Missing required input 'char' value"
6326 0 0         unless defined $_[1]->{state};
6327             die "Out of bounds 'unsigned char': $_[1]->{state}"
6328 0 0 0       unless (0 <= $_[1]->{state} and $_[1]->{state} <= 255);
6329             die "Non-integer 'char' value given: $_[1]->{state}"
6330 0 0         unless int($_[1]->{state}) == $_[1]->{state};
6331 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{state});
6332 0           $_[2] += 4;
6333              
6334             # Serializing field: 'maxMem'
6335             croak "Missing required input value 'maxMem'"
6336 0 0         unless exists $_[1]->{maxMem};
6337             # my ($class, $value, $index, $output) = @_;
6338             croak "Missing required input 'unsigned long' value"
6339 0 0         unless defined $_[1]->{maxMem};
6340             die "Out of bounds 'unsigned hyper': $_[1]->{maxMem}"
6341             unless (0 <= $_[1]->{maxMem}
6342 0 0 0       and $_[1]->{maxMem} <= 18446744073709551615);
6343             die "Non-integer 'long' value given: $_[1]->{maxMem}"
6344 0 0         unless int($_[1]->{maxMem}) == $_[1]->{maxMem};
6345 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{maxMem});
6346 0           $_[2] += 8;
6347              
6348             # Serializing field: 'memory'
6349             croak "Missing required input value 'memory'"
6350 0 0         unless exists $_[1]->{memory};
6351             # my ($class, $value, $index, $output) = @_;
6352             croak "Missing required input 'unsigned long' value"
6353 0 0         unless defined $_[1]->{memory};
6354             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6355             unless (0 <= $_[1]->{memory}
6356 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6357             die "Non-integer 'long' value given: $_[1]->{memory}"
6358 0 0         unless int($_[1]->{memory}) == $_[1]->{memory};
6359 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memory});
6360 0           $_[2] += 8;
6361              
6362             # Serializing field: 'nrVirtCpu'
6363             croak "Missing required input value 'nrVirtCpu'"
6364 0 0         unless exists $_[1]->{nrVirtCpu};
6365             # my ($class, $value, $index, $output) = @_;
6366             croak "Missing required input 'short' value"
6367 0 0         unless defined $_[1]->{nrVirtCpu};
6368             die "Out of bounds 'unsigned short': $_[1]->{nrVirtCpu}"
6369 0 0 0       unless (0 <= $_[1]->{nrVirtCpu} and $_[1]->{nrVirtCpu} <= 65535);
6370             die "Non-integer 'short' value given: $_[1]->{nrVirtCpu}"
6371 0 0         unless int($_[1]->{nrVirtCpu}) == $_[1]->{nrVirtCpu};
6372 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{nrVirtCpu});
6373 0           $_[2] += 4;
6374              
6375             # Serializing field: 'cpuTime'
6376             croak "Missing required input value 'cpuTime'"
6377 0 0         unless exists $_[1]->{cpuTime};
6378             # my ($class, $value, $index, $output) = @_;
6379             croak "Missing required input 'unsigned long' value"
6380 0 0         unless defined $_[1]->{cpuTime};
6381             die "Out of bounds 'unsigned hyper': $_[1]->{cpuTime}"
6382             unless (0 <= $_[1]->{cpuTime}
6383 0 0 0       and $_[1]->{cpuTime} <= 18446744073709551615);
6384             die "Non-integer 'long' value given: $_[1]->{cpuTime}"
6385 0 0         unless int($_[1]->{cpuTime}) == $_[1]->{cpuTime};
6386 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{cpuTime});
6387 0           $_[2] += 8;
6388             }
6389             # @_: ($class, $value, $index, $input) = @_;
6390             sub deserialize_domain_save_args {
6391 0     0 0   my $input_length = length $_[3];
6392 0           $_[1] = {};
6393             # Deserializing field: 'dom'
6394             # my ($class, $value, $index, $input) = @_;
6395 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6396              
6397             # Deserializing field: 'to'
6398             # my ($class, $value, $index, $input) = @_;
6399 0           $_[0]->deserialize_nonnull_string( $_[1]->{to}, $_[2], $_[3] );
6400             }
6401             # @_: ($class, $value, $index, $output) = @_;
6402             sub serialize_domain_save_args {
6403 0 0   0 0   croak "Missing required input 'struct' value"
6404             unless defined $_[1];
6405              
6406             # Serializing field: 'dom'
6407             croak "Missing required input value 'dom'"
6408 0 0         unless exists $_[1]->{dom};
6409             # my ($class, $value, $index, $output) = @_;
6410 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6411              
6412             # Serializing field: 'to'
6413             croak "Missing required input value 'to'"
6414 0 0         unless exists $_[1]->{to};
6415             # my ($class, $value, $index, $output) = @_;
6416 0           $_[0]->serialize_nonnull_string( $_[1]->{to}, $_[2], $_[3] );
6417             }
6418             # @_: ($class, $value, $index, $input) = @_;
6419             sub deserialize_domain_save_flags_args {
6420 0     0 0   my $input_length = length $_[3];
6421 0           $_[1] = {};
6422             # Deserializing field: 'dom'
6423             # my ($class, $value, $index, $input) = @_;
6424 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6425              
6426             # Deserializing field: 'to'
6427             # my ($class, $value, $index, $input) = @_;
6428 0           $_[0]->deserialize_nonnull_string( $_[1]->{to}, $_[2], $_[3] );
6429              
6430             # Deserializing field: 'dxml'
6431             # my ($class, $value, $index, $input) = @_;
6432 0           $_[0]->deserialize_string( $_[1]->{dxml}, $_[2], $_[3] );
6433              
6434             # Deserializing field: 'flags'
6435             # my ($class, $value, $index, $input) = @_;
6436 0 0         die "Input buffer too short"
6437             if ($input_length - $_[2]) < 4;
6438 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6439 0           $_[2] += 4;
6440             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6441 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6442             }
6443             # @_: ($class, $value, $index, $output) = @_;
6444             sub serialize_domain_save_flags_args {
6445 0 0   0 0   croak "Missing required input 'struct' value"
6446             unless defined $_[1];
6447              
6448             # Serializing field: 'dom'
6449             croak "Missing required input value 'dom'"
6450 0 0         unless exists $_[1]->{dom};
6451             # my ($class, $value, $index, $output) = @_;
6452 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6453              
6454             # Serializing field: 'to'
6455             croak "Missing required input value 'to'"
6456 0 0         unless exists $_[1]->{to};
6457             # my ($class, $value, $index, $output) = @_;
6458 0           $_[0]->serialize_nonnull_string( $_[1]->{to}, $_[2], $_[3] );
6459              
6460             # Serializing field: 'dxml'
6461             croak "Missing required input value 'dxml'"
6462 0 0         unless exists $_[1]->{dxml};
6463             # my ($class, $value, $index, $output) = @_;
6464 0           $_[0]->serialize_string( $_[1]->{dxml}, $_[2], $_[3] );
6465              
6466             # Serializing field: 'flags'
6467             croak "Missing required input value 'flags'"
6468 0 0         unless exists $_[1]->{flags};
6469             # my ($class, $value, $index, $output) = @_;
6470             croak "Missing required input 'unsigned int' value"
6471 0 0         unless defined $_[1]->{flags};
6472             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6473 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6474             die "Non-integer 'int' value given: $_[1]->{flags}"
6475 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6476 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6477 0           $_[2] += 4;
6478             }
6479             # @_: ($class, $value, $index, $input) = @_;
6480             sub deserialize_domain_save_params_args {
6481 0     0 0   my $input_length = length $_[3];
6482 0           $_[1] = {};
6483             # Deserializing field: 'dom'
6484             # my ($class, $value, $index, $input) = @_;
6485 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6486              
6487             # Deserializing field: 'params'
6488             # my ($class, $value, $index, $input) = @_;
6489 0           do {
6490 0 0         die "Input buffer too short"
6491             if ($input_length - $_[2]) < 4;
6492 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
6493 0           $_[2] += 4;
6494              
6495 0 0         die "Array too long (max: 64): $len"
6496             unless ($len <= 64);
6497 0           $_[1]->{params} = [];
6498 0           for my $i1 ( 0 .. ($len - 1) ) {
6499             # my ($class, $value, $index, $input) = @_;
6500 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
6501             }
6502             };
6503              
6504             # Deserializing field: 'flags'
6505             # my ($class, $value, $index, $input) = @_;
6506 0 0         die "Input buffer too short"
6507             if ($input_length - $_[2]) < 4;
6508 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6509 0           $_[2] += 4;
6510             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6511 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6512             }
6513             # @_: ($class, $value, $index, $output) = @_;
6514             sub serialize_domain_save_params_args {
6515 0 0   0 0   croak "Missing required input 'struct' value"
6516             unless defined $_[1];
6517              
6518             # Serializing field: 'dom'
6519             croak "Missing required input value 'dom'"
6520 0 0         unless exists $_[1]->{dom};
6521             # my ($class, $value, $index, $output) = @_;
6522 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6523              
6524             # Serializing field: 'params'
6525             croak "Missing required input value 'params'"
6526 0 0         unless exists $_[1]->{params};
6527             # my ($class, $value, $index, $output) = @_;
6528             croak "Missing required input 'array' value"
6529 0 0         unless defined $_[1]->{params};
6530 0           do {
6531 0           my $len = scalar @{ $_[1]->{params} };
  0            
6532 0 0         die "Array too long (max: 64): $len"
6533             unless ($len <= 64);
6534              
6535 0           substr( $_[3], $_[2] ) = pack("L>", $len);
6536 0           $_[2] += 4;
6537 0           for my $i1 ( 0 .. ($len - 1) ) {
6538             # my ($class, $value, $index, $output) = @_;
6539 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
6540             }
6541             };
6542              
6543             # Serializing field: 'flags'
6544             croak "Missing required input value 'flags'"
6545 0 0         unless exists $_[1]->{flags};
6546             # my ($class, $value, $index, $output) = @_;
6547             croak "Missing required input 'unsigned int' value"
6548 0 0         unless defined $_[1]->{flags};
6549             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6550 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6551             die "Non-integer 'int' value given: $_[1]->{flags}"
6552 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6553 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6554 0           $_[2] += 4;
6555             }
6556             # @_: ($class, $value, $index, $input) = @_;
6557             sub deserialize_domain_restore_args {
6558 0     0 0   my $input_length = length $_[3];
6559 0           $_[1] = {};
6560             # Deserializing field: 'from'
6561             # my ($class, $value, $index, $input) = @_;
6562 0           $_[0]->deserialize_nonnull_string( $_[1]->{from}, $_[2], $_[3] );
6563             }
6564             # @_: ($class, $value, $index, $output) = @_;
6565             sub serialize_domain_restore_args {
6566 0 0   0 0   croak "Missing required input 'struct' value"
6567             unless defined $_[1];
6568              
6569             # Serializing field: 'from'
6570             croak "Missing required input value 'from'"
6571 0 0         unless exists $_[1]->{from};
6572             # my ($class, $value, $index, $output) = @_;
6573 0           $_[0]->serialize_nonnull_string( $_[1]->{from}, $_[2], $_[3] );
6574             }
6575             # @_: ($class, $value, $index, $input) = @_;
6576             sub deserialize_domain_restore_flags_args {
6577 0     0 0   my $input_length = length $_[3];
6578 0           $_[1] = {};
6579             # Deserializing field: 'from'
6580             # my ($class, $value, $index, $input) = @_;
6581 0           $_[0]->deserialize_nonnull_string( $_[1]->{from}, $_[2], $_[3] );
6582              
6583             # Deserializing field: 'dxml'
6584             # my ($class, $value, $index, $input) = @_;
6585 0           $_[0]->deserialize_string( $_[1]->{dxml}, $_[2], $_[3] );
6586              
6587             # Deserializing field: 'flags'
6588             # my ($class, $value, $index, $input) = @_;
6589 0 0         die "Input buffer too short"
6590             if ($input_length - $_[2]) < 4;
6591 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6592 0           $_[2] += 4;
6593             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6594 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6595             }
6596             # @_: ($class, $value, $index, $output) = @_;
6597             sub serialize_domain_restore_flags_args {
6598 0 0   0 0   croak "Missing required input 'struct' value"
6599             unless defined $_[1];
6600              
6601             # Serializing field: 'from'
6602             croak "Missing required input value 'from'"
6603 0 0         unless exists $_[1]->{from};
6604             # my ($class, $value, $index, $output) = @_;
6605 0           $_[0]->serialize_nonnull_string( $_[1]->{from}, $_[2], $_[3] );
6606              
6607             # Serializing field: 'dxml'
6608             croak "Missing required input value 'dxml'"
6609 0 0         unless exists $_[1]->{dxml};
6610             # my ($class, $value, $index, $output) = @_;
6611 0           $_[0]->serialize_string( $_[1]->{dxml}, $_[2], $_[3] );
6612              
6613             # Serializing field: 'flags'
6614             croak "Missing required input value 'flags'"
6615 0 0         unless exists $_[1]->{flags};
6616             # my ($class, $value, $index, $output) = @_;
6617             croak "Missing required input 'unsigned int' value"
6618 0 0         unless defined $_[1]->{flags};
6619             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6620 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6621             die "Non-integer 'int' value given: $_[1]->{flags}"
6622 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6623 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6624 0           $_[2] += 4;
6625             }
6626             # @_: ($class, $value, $index, $input) = @_;
6627             sub deserialize_domain_restore_params_args {
6628 0     0 0   my $input_length = length $_[3];
6629 0           $_[1] = {};
6630             # Deserializing field: 'params'
6631             # my ($class, $value, $index, $input) = @_;
6632 0           do {
6633 0 0         die "Input buffer too short"
6634             if ($input_length - $_[2]) < 4;
6635 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
6636 0           $_[2] += 4;
6637              
6638 0 0         die "Array too long (max: 64): $len"
6639             unless ($len <= 64);
6640 0           $_[1]->{params} = [];
6641 0           for my $i1 ( 0 .. ($len - 1) ) {
6642             # my ($class, $value, $index, $input) = @_;
6643 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
6644             }
6645             };
6646              
6647             # Deserializing field: 'flags'
6648             # my ($class, $value, $index, $input) = @_;
6649 0 0         die "Input buffer too short"
6650             if ($input_length - $_[2]) < 4;
6651 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6652 0           $_[2] += 4;
6653             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6654 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6655             }
6656             # @_: ($class, $value, $index, $output) = @_;
6657             sub serialize_domain_restore_params_args {
6658 0 0   0 0   croak "Missing required input 'struct' value"
6659             unless defined $_[1];
6660              
6661             # Serializing field: 'params'
6662             croak "Missing required input value 'params'"
6663 0 0         unless exists $_[1]->{params};
6664             # my ($class, $value, $index, $output) = @_;
6665             croak "Missing required input 'array' value"
6666 0 0         unless defined $_[1]->{params};
6667 0           do {
6668 0           my $len = scalar @{ $_[1]->{params} };
  0            
6669 0 0         die "Array too long (max: 64): $len"
6670             unless ($len <= 64);
6671              
6672 0           substr( $_[3], $_[2] ) = pack("L>", $len);
6673 0           $_[2] += 4;
6674 0           for my $i1 ( 0 .. ($len - 1) ) {
6675             # my ($class, $value, $index, $output) = @_;
6676 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
6677             }
6678             };
6679              
6680             # Serializing field: 'flags'
6681             croak "Missing required input value 'flags'"
6682 0 0         unless exists $_[1]->{flags};
6683             # my ($class, $value, $index, $output) = @_;
6684             croak "Missing required input 'unsigned int' value"
6685 0 0         unless defined $_[1]->{flags};
6686             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6687 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6688             die "Non-integer 'int' value given: $_[1]->{flags}"
6689 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6690 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6691 0           $_[2] += 4;
6692             }
6693             # @_: ($class, $value, $index, $input) = @_;
6694             sub deserialize_domain_save_image_get_xml_desc_args {
6695 0     0 0   my $input_length = length $_[3];
6696 0           $_[1] = {};
6697             # Deserializing field: 'file'
6698             # my ($class, $value, $index, $input) = @_;
6699 0           $_[0]->deserialize_nonnull_string( $_[1]->{file}, $_[2], $_[3] );
6700              
6701             # Deserializing field: 'flags'
6702             # my ($class, $value, $index, $input) = @_;
6703 0 0         die "Input buffer too short"
6704             if ($input_length - $_[2]) < 4;
6705 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6706 0           $_[2] += 4;
6707             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6708 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6709             }
6710             # @_: ($class, $value, $index, $output) = @_;
6711             sub serialize_domain_save_image_get_xml_desc_args {
6712 0 0   0 0   croak "Missing required input 'struct' value"
6713             unless defined $_[1];
6714              
6715             # Serializing field: 'file'
6716             croak "Missing required input value 'file'"
6717 0 0         unless exists $_[1]->{file};
6718             # my ($class, $value, $index, $output) = @_;
6719 0           $_[0]->serialize_nonnull_string( $_[1]->{file}, $_[2], $_[3] );
6720              
6721             # Serializing field: 'flags'
6722             croak "Missing required input value 'flags'"
6723 0 0         unless exists $_[1]->{flags};
6724             # my ($class, $value, $index, $output) = @_;
6725             croak "Missing required input 'unsigned int' value"
6726 0 0         unless defined $_[1]->{flags};
6727             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6728 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6729             die "Non-integer 'int' value given: $_[1]->{flags}"
6730 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6731 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6732 0           $_[2] += 4;
6733             }
6734             # @_: ($class, $value, $index, $input) = @_;
6735             sub deserialize_domain_save_image_get_xml_desc_ret {
6736 0     0 0   my $input_length = length $_[3];
6737 0           $_[1] = {};
6738             # Deserializing field: 'xml'
6739             # my ($class, $value, $index, $input) = @_;
6740 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
6741             }
6742             # @_: ($class, $value, $index, $output) = @_;
6743             sub serialize_domain_save_image_get_xml_desc_ret {
6744 0 0   0 0   croak "Missing required input 'struct' value"
6745             unless defined $_[1];
6746              
6747             # Serializing field: 'xml'
6748             croak "Missing required input value 'xml'"
6749 0 0         unless exists $_[1]->{xml};
6750             # my ($class, $value, $index, $output) = @_;
6751 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
6752             }
6753             # @_: ($class, $value, $index, $input) = @_;
6754             sub deserialize_domain_save_image_define_xml_args {
6755 0     0 0   my $input_length = length $_[3];
6756 0           $_[1] = {};
6757             # Deserializing field: 'file'
6758             # my ($class, $value, $index, $input) = @_;
6759 0           $_[0]->deserialize_nonnull_string( $_[1]->{file}, $_[2], $_[3] );
6760              
6761             # Deserializing field: 'dxml'
6762             # my ($class, $value, $index, $input) = @_;
6763 0           $_[0]->deserialize_nonnull_string( $_[1]->{dxml}, $_[2], $_[3] );
6764              
6765             # Deserializing field: 'flags'
6766             # my ($class, $value, $index, $input) = @_;
6767 0 0         die "Input buffer too short"
6768             if ($input_length - $_[2]) < 4;
6769 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6770 0           $_[2] += 4;
6771             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6772 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6773             }
6774             # @_: ($class, $value, $index, $output) = @_;
6775             sub serialize_domain_save_image_define_xml_args {
6776 0 0   0 0   croak "Missing required input 'struct' value"
6777             unless defined $_[1];
6778              
6779             # Serializing field: 'file'
6780             croak "Missing required input value 'file'"
6781 0 0         unless exists $_[1]->{file};
6782             # my ($class, $value, $index, $output) = @_;
6783 0           $_[0]->serialize_nonnull_string( $_[1]->{file}, $_[2], $_[3] );
6784              
6785             # Serializing field: 'dxml'
6786             croak "Missing required input value 'dxml'"
6787 0 0         unless exists $_[1]->{dxml};
6788             # my ($class, $value, $index, $output) = @_;
6789 0           $_[0]->serialize_nonnull_string( $_[1]->{dxml}, $_[2], $_[3] );
6790              
6791             # Serializing field: 'flags'
6792             croak "Missing required input value 'flags'"
6793 0 0         unless exists $_[1]->{flags};
6794             # my ($class, $value, $index, $output) = @_;
6795             croak "Missing required input 'unsigned int' value"
6796 0 0         unless defined $_[1]->{flags};
6797             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6798 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6799             die "Non-integer 'int' value given: $_[1]->{flags}"
6800 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6801 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6802 0           $_[2] += 4;
6803             }
6804             # @_: ($class, $value, $index, $input) = @_;
6805             sub deserialize_domain_core_dump_args {
6806 0     0 0   my $input_length = length $_[3];
6807 0           $_[1] = {};
6808             # Deserializing field: 'dom'
6809             # my ($class, $value, $index, $input) = @_;
6810 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6811              
6812             # Deserializing field: 'to'
6813             # my ($class, $value, $index, $input) = @_;
6814 0           $_[0]->deserialize_nonnull_string( $_[1]->{to}, $_[2], $_[3] );
6815              
6816             # Deserializing field: 'flags'
6817             # my ($class, $value, $index, $input) = @_;
6818 0 0         die "Input buffer too short"
6819             if ($input_length - $_[2]) < 4;
6820 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6821 0           $_[2] += 4;
6822             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6823 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6824             }
6825             # @_: ($class, $value, $index, $output) = @_;
6826             sub serialize_domain_core_dump_args {
6827 0 0   0 0   croak "Missing required input 'struct' value"
6828             unless defined $_[1];
6829              
6830             # Serializing field: 'dom'
6831             croak "Missing required input value 'dom'"
6832 0 0         unless exists $_[1]->{dom};
6833             # my ($class, $value, $index, $output) = @_;
6834 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6835              
6836             # Serializing field: 'to'
6837             croak "Missing required input value 'to'"
6838 0 0         unless exists $_[1]->{to};
6839             # my ($class, $value, $index, $output) = @_;
6840 0           $_[0]->serialize_nonnull_string( $_[1]->{to}, $_[2], $_[3] );
6841              
6842             # Serializing field: 'flags'
6843             croak "Missing required input value 'flags'"
6844 0 0         unless exists $_[1]->{flags};
6845             # my ($class, $value, $index, $output) = @_;
6846             croak "Missing required input 'unsigned int' value"
6847 0 0         unless defined $_[1]->{flags};
6848             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6849 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6850             die "Non-integer 'int' value given: $_[1]->{flags}"
6851 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6852 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6853 0           $_[2] += 4;
6854             }
6855             # @_: ($class, $value, $index, $input) = @_;
6856             sub deserialize_domain_core_dump_with_format_args {
6857 0     0 0   my $input_length = length $_[3];
6858 0           $_[1] = {};
6859             # Deserializing field: 'dom'
6860             # my ($class, $value, $index, $input) = @_;
6861 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6862              
6863             # Deserializing field: 'to'
6864             # my ($class, $value, $index, $input) = @_;
6865 0           $_[0]->deserialize_nonnull_string( $_[1]->{to}, $_[2], $_[3] );
6866              
6867             # Deserializing field: 'dumpformat'
6868             # my ($class, $value, $index, $input) = @_;
6869 0 0         die "Input buffer too short"
6870             if ($input_length - $_[2]) < 4;
6871 0           $_[1]->{dumpformat} = unpack("L>", substr( $_[3], $_[2] ));
6872 0           $_[2] += 4;
6873             die "Out of bounds 'unsigned int': $_[1]->{dumpformat}"
6874 0 0 0       unless (0 <= $_[1]->{dumpformat} and $_[1]->{dumpformat} <= 4294967295);
6875              
6876             # Deserializing field: 'flags'
6877             # my ($class, $value, $index, $input) = @_;
6878 0 0         die "Input buffer too short"
6879             if ($input_length - $_[2]) < 4;
6880 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6881 0           $_[2] += 4;
6882             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6883 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6884             }
6885             # @_: ($class, $value, $index, $output) = @_;
6886             sub serialize_domain_core_dump_with_format_args {
6887 0 0   0 0   croak "Missing required input 'struct' value"
6888             unless defined $_[1];
6889              
6890             # Serializing field: 'dom'
6891             croak "Missing required input value 'dom'"
6892 0 0         unless exists $_[1]->{dom};
6893             # my ($class, $value, $index, $output) = @_;
6894 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6895              
6896             # Serializing field: 'to'
6897             croak "Missing required input value 'to'"
6898 0 0         unless exists $_[1]->{to};
6899             # my ($class, $value, $index, $output) = @_;
6900 0           $_[0]->serialize_nonnull_string( $_[1]->{to}, $_[2], $_[3] );
6901              
6902             # Serializing field: 'dumpformat'
6903             croak "Missing required input value 'dumpformat'"
6904 0 0         unless exists $_[1]->{dumpformat};
6905             # my ($class, $value, $index, $output) = @_;
6906             croak "Missing required input 'unsigned int' value"
6907 0 0         unless defined $_[1]->{dumpformat};
6908             die "Out of bounds 'unsigned int': $_[1]->{dumpformat}"
6909 0 0 0       unless (0 <= $_[1]->{dumpformat} and $_[1]->{dumpformat} <= 4294967295);
6910             die "Non-integer 'int' value given: $_[1]->{dumpformat}"
6911 0 0         unless int($_[1]->{dumpformat}) == $_[1]->{dumpformat};
6912 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{dumpformat});
6913 0           $_[2] += 4;
6914              
6915             # Serializing field: 'flags'
6916             croak "Missing required input value 'flags'"
6917 0 0         unless exists $_[1]->{flags};
6918             # my ($class, $value, $index, $output) = @_;
6919             croak "Missing required input 'unsigned int' value"
6920 0 0         unless defined $_[1]->{flags};
6921             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6922 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6923             die "Non-integer 'int' value given: $_[1]->{flags}"
6924 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6925 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6926 0           $_[2] += 4;
6927             }
6928             # @_: ($class, $value, $index, $input) = @_;
6929             sub deserialize_domain_screenshot_args {
6930 0     0 0   my $input_length = length $_[3];
6931 0           $_[1] = {};
6932             # Deserializing field: 'dom'
6933             # my ($class, $value, $index, $input) = @_;
6934 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6935              
6936             # Deserializing field: 'screen'
6937             # my ($class, $value, $index, $input) = @_;
6938 0 0         die "Input buffer too short"
6939             if ($input_length - $_[2]) < 4;
6940 0           $_[1]->{screen} = unpack("L>", substr( $_[3], $_[2] ));
6941 0           $_[2] += 4;
6942             die "Out of bounds 'unsigned int': $_[1]->{screen}"
6943 0 0 0       unless (0 <= $_[1]->{screen} and $_[1]->{screen} <= 4294967295);
6944              
6945             # Deserializing field: 'flags'
6946             # my ($class, $value, $index, $input) = @_;
6947 0 0         die "Input buffer too short"
6948             if ($input_length - $_[2]) < 4;
6949 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6950 0           $_[2] += 4;
6951             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6952 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6953             }
6954             # @_: ($class, $value, $index, $output) = @_;
6955             sub serialize_domain_screenshot_args {
6956 0 0   0 0   croak "Missing required input 'struct' value"
6957             unless defined $_[1];
6958              
6959             # Serializing field: 'dom'
6960             croak "Missing required input value 'dom'"
6961 0 0         unless exists $_[1]->{dom};
6962             # my ($class, $value, $index, $output) = @_;
6963 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6964              
6965             # Serializing field: 'screen'
6966             croak "Missing required input value 'screen'"
6967 0 0         unless exists $_[1]->{screen};
6968             # my ($class, $value, $index, $output) = @_;
6969             croak "Missing required input 'unsigned int' value"
6970 0 0         unless defined $_[1]->{screen};
6971             die "Out of bounds 'unsigned int': $_[1]->{screen}"
6972 0 0 0       unless (0 <= $_[1]->{screen} and $_[1]->{screen} <= 4294967295);
6973             die "Non-integer 'int' value given: $_[1]->{screen}"
6974 0 0         unless int($_[1]->{screen}) == $_[1]->{screen};
6975 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{screen});
6976 0           $_[2] += 4;
6977              
6978             # Serializing field: 'flags'
6979             croak "Missing required input value 'flags'"
6980 0 0         unless exists $_[1]->{flags};
6981             # my ($class, $value, $index, $output) = @_;
6982             croak "Missing required input 'unsigned int' value"
6983 0 0         unless defined $_[1]->{flags};
6984             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6985 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6986             die "Non-integer 'int' value given: $_[1]->{flags}"
6987 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6988 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6989 0           $_[2] += 4;
6990             }
6991             # @_: ($class, $value, $index, $input) = @_;
6992             sub deserialize_domain_screenshot_ret {
6993 0     0 0   my $input_length = length $_[3];
6994 0           $_[1] = {};
6995             # Deserializing field: 'mime'
6996             # my ($class, $value, $index, $input) = @_;
6997 0           $_[0]->deserialize_string( $_[1]->{mime}, $_[2], $_[3] );
6998             }
6999             # @_: ($class, $value, $index, $output) = @_;
7000             sub serialize_domain_screenshot_ret {
7001 0 0   0 0   croak "Missing required input 'struct' value"
7002             unless defined $_[1];
7003              
7004             # Serializing field: 'mime'
7005             croak "Missing required input value 'mime'"
7006 0 0         unless exists $_[1]->{mime};
7007             # my ($class, $value, $index, $output) = @_;
7008 0           $_[0]->serialize_string( $_[1]->{mime}, $_[2], $_[3] );
7009             }
7010             # @_: ($class, $value, $index, $input) = @_;
7011             sub deserialize_domain_get_xml_desc_args {
7012 0     0 0   my $input_length = length $_[3];
7013 0           $_[1] = {};
7014             # Deserializing field: 'dom'
7015             # my ($class, $value, $index, $input) = @_;
7016 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7017              
7018             # Deserializing field: 'flags'
7019             # my ($class, $value, $index, $input) = @_;
7020 0 0         die "Input buffer too short"
7021             if ($input_length - $_[2]) < 4;
7022 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
7023 0           $_[2] += 4;
7024             die "Out of bounds 'unsigned int': $_[1]->{flags}"
7025 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
7026             }
7027             # @_: ($class, $value, $index, $output) = @_;
7028             sub serialize_domain_get_xml_desc_args {
7029 0 0   0 0   croak "Missing required input 'struct' value"
7030             unless defined $_[1];
7031              
7032             # Serializing field: 'dom'
7033             croak "Missing required input value 'dom'"
7034 0 0         unless exists $_[1]->{dom};
7035             # my ($class, $value, $index, $output) = @_;
7036 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7037              
7038             # Serializing field: 'flags'
7039             croak "Missing required input value 'flags'"
7040 0 0         unless exists $_[1]->{flags};
7041             # my ($class, $value, $index, $output) = @_;
7042             croak "Missing required input 'unsigned int' value"
7043 0 0         unless defined $_[1]->{flags};
7044             die "Out of bounds 'unsigned int': $_[1]->{flags}"
7045 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
7046             die "Non-integer 'int' value given: $_[1]->{flags}"
7047 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
7048 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
7049 0           $_[2] += 4;
7050             }
7051             # @_: ($class, $value, $index, $input) = @_;
7052             sub deserialize_domain_get_xml_desc_ret {
7053 0     0 0   my $input_length = length $_[3];
7054 0           $_[1] = {};
7055             # Deserializing field: 'xml'
7056             # my ($class, $value, $index, $input) = @_;
7057 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
7058             }
7059             # @_: ($class, $value, $index, $output) = @_;
7060             sub serialize_domain_get_xml_desc_ret {
7061 0 0   0 0   croak "Missing required input 'struct' value"
7062             unless defined $_[1];
7063              
7064             # Serializing field: 'xml'
7065             croak "Missing required input value 'xml'"
7066 0 0         unless exists $_[1]->{xml};
7067             # my ($class, $value, $index, $output) = @_;
7068 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
7069             }
7070             # @_: ($class, $value, $index, $input) = @_;
7071             sub deserialize_domain_migrate_prepare_args {
7072 0     0 0   my $input_length = length $_[3];
7073 0           $_[1] = {};
7074             # Deserializing field: 'uri_in'
7075             # my ($class, $value, $index, $input) = @_;
7076 0           $_[0]->deserialize_string( $_[1]->{uri_in}, $_[2], $_[3] );
7077              
7078             # Deserializing field: 'flags'
7079             # my ($class, $value, $index, $input) = @_;
7080 0 0         die "Input buffer too short"
7081             if ($input_length - $_[2]) < 8;
7082 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
7083 0           $_[2] += 8;
7084             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7085             unless (0 <= $_[1]->{flags}
7086 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7087              
7088             # Deserializing field: 'dname'
7089             # my ($class, $value, $index, $input) = @_;
7090 0           $_[0]->deserialize_string( $_[1]->{dname}, $_[2], $_[3] );
7091              
7092             # Deserializing field: 'bandwidth'
7093             # my ($class, $value, $index, $input) = @_;
7094 0 0         die "Input buffer too short"
7095             if ($input_length - $_[2]) < 8;
7096 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
7097 0           $_[2] += 8;
7098             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
7099             unless (0 <= $_[1]->{bandwidth}
7100 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
7101             }
7102             # @_: ($class, $value, $index, $output) = @_;
7103             sub serialize_domain_migrate_prepare_args {
7104 0 0   0 0   croak "Missing required input 'struct' value"
7105             unless defined $_[1];
7106              
7107             # Serializing field: 'uri_in'
7108             croak "Missing required input value 'uri_in'"
7109 0 0         unless exists $_[1]->{uri_in};
7110             # my ($class, $value, $index, $output) = @_;
7111 0           $_[0]->serialize_string( $_[1]->{uri_in}, $_[2], $_[3] );
7112              
7113             # Serializing field: 'flags'
7114             croak "Missing required input value 'flags'"
7115 0 0         unless exists $_[1]->{flags};
7116             # my ($class, $value, $index, $output) = @_;
7117             croak "Missing required input 'unsigned long' value"
7118 0 0         unless defined $_[1]->{flags};
7119             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7120             unless (0 <= $_[1]->{flags}
7121 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7122             die "Non-integer 'long' value given: $_[1]->{flags}"
7123 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
7124 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
7125 0           $_[2] += 8;
7126              
7127             # Serializing field: 'dname'
7128             croak "Missing required input value 'dname'"
7129 0 0         unless exists $_[1]->{dname};
7130             # my ($class, $value, $index, $output) = @_;
7131 0           $_[0]->serialize_string( $_[1]->{dname}, $_[2], $_[3] );
7132              
7133             # Serializing field: 'bandwidth'
7134             croak "Missing required input value 'bandwidth'"
7135 0 0         unless exists $_[1]->{bandwidth};
7136             # my ($class, $value, $index, $output) = @_;
7137             croak "Missing required input 'unsigned long' value"
7138 0 0         unless defined $_[1]->{bandwidth};
7139             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
7140             unless (0 <= $_[1]->{bandwidth}
7141 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
7142             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
7143 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
7144 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
7145 0           $_[2] += 8;
7146             }
7147             # @_: ($class, $value, $index, $input) = @_;
7148             sub deserialize_domain_migrate_prepare_ret {
7149 0     0 0   my $input_length = length $_[3];
7150 0           $_[1] = {};
7151             # Deserializing field: 'cookie'
7152             # my ($class, $value, $index, $input) = @_;
7153 0           do {
7154 0 0         die "Input buffer too short"
7155             if ($input_length - $_[2]) < 4;
7156 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
7157 0           $_[2] += 4;
7158 0 0         die "Opaque data too long (max: 4194304): $len"
7159             unless ($len <= 4194304);
7160 0 0         die "Input buffer too short"
7161             if ($input_length - $_[2]) < $len;
7162 0           $_[1]->{cookie} = substr( $_[3], $_[2], $len );
7163 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
7164             };
7165              
7166             # Deserializing field: 'uri_out'
7167             # my ($class, $value, $index, $input) = @_;
7168 0           $_[0]->deserialize_string( $_[1]->{uri_out}, $_[2], $_[3] );
7169             }
7170             # @_: ($class, $value, $index, $output) = @_;
7171             sub serialize_domain_migrate_prepare_ret {
7172 0 0   0 0   croak "Missing required input 'struct' value"
7173             unless defined $_[1];
7174              
7175             # Serializing field: 'cookie'
7176             croak "Missing required input value 'cookie'"
7177 0 0         unless exists $_[1]->{cookie};
7178             # my ($class, $value, $index, $output) = @_;
7179             croak "Missing required input 'opaque data' value"
7180 0 0         unless defined $_[1]->{cookie};
7181 0           do {
7182 0           my $len = length $_[1]->{cookie};
7183 0 0         die "Opaque data too long (max: 4194304): $len"
7184             unless ($len <= 4194304);
7185              
7186 0           substr( $_[3], $_[2] ) = pack("L>", $len);
7187 0           $_[2] += 4;
7188 0           substr( $_[3], $_[2] ) = $_[1]->{cookie};
7189 0           $_[2] += $len;
7190 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
7191 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
7192 0           $_[2] += $pad;
7193             }
7194             };
7195              
7196             # Serializing field: 'uri_out'
7197             croak "Missing required input value 'uri_out'"
7198 0 0         unless exists $_[1]->{uri_out};
7199             # my ($class, $value, $index, $output) = @_;
7200 0           $_[0]->serialize_string( $_[1]->{uri_out}, $_[2], $_[3] );
7201             }
7202             # @_: ($class, $value, $index, $input) = @_;
7203             sub deserialize_domain_migrate_perform_args {
7204 0     0 0   my $input_length = length $_[3];
7205 0           $_[1] = {};
7206             # Deserializing field: 'dom'
7207             # my ($class, $value, $index, $input) = @_;
7208 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7209              
7210             # Deserializing field: 'cookie'
7211             # my ($class, $value, $index, $input) = @_;
7212 0           do {
7213 0 0         die "Input buffer too short"
7214             if ($input_length - $_[2]) < 4;
7215 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
7216 0           $_[2] += 4;
7217 0 0         die "Opaque data too long (max: 4194304): $len"
7218             unless ($len <= 4194304);
7219 0 0         die "Input buffer too short"
7220             if ($input_length - $_[2]) < $len;
7221 0           $_[1]->{cookie} = substr( $_[3], $_[2], $len );
7222 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
7223             };
7224              
7225             # Deserializing field: 'uri'
7226             # my ($class, $value, $index, $input) = @_;
7227 0           $_[0]->deserialize_nonnull_string( $_[1]->{uri}, $_[2], $_[3] );
7228              
7229             # Deserializing field: 'flags'
7230             # my ($class, $value, $index, $input) = @_;
7231 0 0         die "Input buffer too short"
7232             if ($input_length - $_[2]) < 8;
7233 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
7234 0           $_[2] += 8;
7235             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7236             unless (0 <= $_[1]->{flags}
7237 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7238              
7239             # Deserializing field: 'dname'
7240             # my ($class, $value, $index, $input) = @_;
7241 0           $_[0]->deserialize_string( $_[1]->{dname}, $_[2], $_[3] );
7242              
7243             # Deserializing field: 'bandwidth'
7244             # my ($class, $value, $index, $input) = @_;
7245 0 0         die "Input buffer too short"
7246             if ($input_length - $_[2]) < 8;
7247 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
7248 0           $_[2] += 8;
7249             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
7250             unless (0 <= $_[1]->{bandwidth}
7251 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
7252             }
7253             # @_: ($class, $value, $index, $output) = @_;
7254             sub serialize_domain_migrate_perform_args {
7255 0 0   0 0   croak "Missing required input 'struct' value"
7256             unless defined $_[1];
7257              
7258             # Serializing field: 'dom'
7259             croak "Missing required input value 'dom'"
7260 0 0         unless exists $_[1]->{dom};
7261             # my ($class, $value, $index, $output) = @_;
7262 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7263              
7264             # Serializing field: 'cookie'
7265             croak "Missing required input value 'cookie'"
7266 0 0         unless exists $_[1]->{cookie};
7267             # my ($class, $value, $index, $output) = @_;
7268             croak "Missing required input 'opaque data' value"
7269 0 0         unless defined $_[1]->{cookie};
7270 0           do {
7271 0           my $len = length $_[1]->{cookie};
7272 0 0         die "Opaque data too long (max: 4194304): $len"
7273             unless ($len <= 4194304);
7274              
7275 0           substr( $_[3], $_[2] ) = pack("L>", $len);
7276 0           $_[2] += 4;
7277 0           substr( $_[3], $_[2] ) = $_[1]->{cookie};
7278 0           $_[2] += $len;
7279 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
7280 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
7281 0           $_[2] += $pad;
7282             }
7283             };
7284              
7285             # Serializing field: 'uri'
7286             croak "Missing required input value 'uri'"
7287 0 0         unless exists $_[1]->{uri};
7288             # my ($class, $value, $index, $output) = @_;
7289 0           $_[0]->serialize_nonnull_string( $_[1]->{uri}, $_[2], $_[3] );
7290              
7291             # Serializing field: 'flags'
7292             croak "Missing required input value 'flags'"
7293 0 0         unless exists $_[1]->{flags};
7294             # my ($class, $value, $index, $output) = @_;
7295             croak "Missing required input 'unsigned long' value"
7296 0 0         unless defined $_[1]->{flags};
7297             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7298             unless (0 <= $_[1]->{flags}
7299 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7300             die "Non-integer 'long' value given: $_[1]->{flags}"
7301 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
7302 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
7303 0           $_[2] += 8;
7304              
7305             # Serializing field: 'dname'
7306             croak "Missing required input value 'dname'"
7307 0 0         unless exists $_[1]->{dname};
7308             # my ($class, $value, $index, $output) = @_;
7309 0           $_[0]->serialize_string( $_[1]->{dname}, $_[2], $_[3] );
7310              
7311             # Serializing field: 'bandwidth'
7312             croak "Missing required input value 'bandwidth'"
7313 0 0         unless exists $_[1]->{bandwidth};
7314             # my ($class, $value, $index, $output) = @_;
7315             croak "Missing required input 'unsigned long' value"
7316 0 0         unless defined $_[1]->{bandwidth};
7317             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
7318             unless (0 <= $_[1]->{bandwidth}
7319 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
7320             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
7321 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
7322 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
7323 0           $_[2] += 8;
7324             }
7325             # @_: ($class, $value, $index, $input) = @_;
7326             sub deserialize_domain_migrate_finish_args {
7327 0     0 0   my $input_length = length $_[3];
7328 0           $_[1] = {};
7329             # Deserializing field: 'dname'
7330             # my ($class, $value, $index, $input) = @_;
7331 0           $_[0]->deserialize_nonnull_string( $_[1]->{dname}, $_[2], $_[3] );
7332              
7333             # Deserializing field: 'cookie'
7334             # my ($class, $value, $index, $input) = @_;
7335 0           do {
7336 0 0         die "Input buffer too short"
7337             if ($input_length - $_[2]) < 4;
7338 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
7339 0           $_[2] += 4;
7340 0 0         die "Opaque data too long (max: 4194304): $len"
7341             unless ($len <= 4194304);
7342 0 0         die "Input buffer too short"
7343             if ($input_length - $_[2]) < $len;
7344 0           $_[1]->{cookie} = substr( $_[3], $_[2], $len );
7345 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
7346             };
7347              
7348             # Deserializing field: 'uri'
7349             # my ($class, $value, $index, $input) = @_;
7350 0           $_[0]->deserialize_nonnull_string( $_[1]->{uri}, $_[2], $_[3] );
7351              
7352             # Deserializing field: 'flags'
7353             # my ($class, $value, $index, $input) = @_;
7354 0 0         die "Input buffer too short"
7355             if ($input_length - $_[2]) < 8;
7356 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
7357 0           $_[2] += 8;
7358             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7359             unless (0 <= $_[1]->{flags}
7360 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7361             }
7362             # @_: ($class, $value, $index, $output) = @_;
7363             sub serialize_domain_migrate_finish_args {
7364 0 0   0 0   croak "Missing required input 'struct' value"
7365             unless defined $_[1];
7366              
7367             # Serializing field: 'dname'
7368             croak "Missing required input value 'dname'"
7369 0 0         unless exists $_[1]->{dname};
7370             # my ($class, $value, $index, $output) = @_;
7371 0           $_[0]->serialize_nonnull_string( $_[1]->{dname}, $_[2], $_[3] );
7372              
7373             # Serializing field: 'cookie'
7374             croak "Missing required input value 'cookie'"
7375 0 0         unless exists $_[1]->{cookie};
7376             # my ($class, $value, $index, $output) = @_;
7377             croak "Missing required input 'opaque data' value"
7378 0 0         unless defined $_[1]->{cookie};
7379 0           do {
7380 0           my $len = length $_[1]->{cookie};
7381 0 0         die "Opaque data too long (max: 4194304): $len"
7382             unless ($len <= 4194304);
7383              
7384 0           substr( $_[3], $_[2] ) = pack("L>", $len);
7385 0           $_[2] += 4;
7386 0           substr( $_[3], $_[2] ) = $_[1]->{cookie};
7387 0           $_[2] += $len;
7388 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
7389 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
7390 0           $_[2] += $pad;
7391             }
7392             };
7393              
7394             # Serializing field: 'uri'
7395             croak "Missing required input value 'uri'"
7396 0 0         unless exists $_[1]->{uri};
7397             # my ($class, $value, $index, $output) = @_;
7398 0           $_[0]->serialize_nonnull_string( $_[1]->{uri}, $_[2], $_[3] );
7399              
7400             # Serializing field: 'flags'
7401             croak "Missing required input value 'flags'"
7402 0 0         unless exists $_[1]->{flags};
7403             # my ($class, $value, $index, $output) = @_;
7404             croak "Missing required input 'unsigned long' value"
7405 0 0         unless defined $_[1]->{flags};
7406             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7407             unless (0 <= $_[1]->{flags}
7408 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7409             die "Non-integer 'long' value given: $_[1]->{flags}"
7410 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
7411 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
7412 0           $_[2] += 8;
7413             }
7414             # @_: ($class, $value, $index, $input) = @_;
7415             sub deserialize_domain_migrate_finish_ret {
7416 0     0 0   my $input_length = length $_[3];
7417 0           $_[1] = {};
7418             # Deserializing field: 'ddom'
7419             # my ($class, $value, $index, $input) = @_;
7420 0           $_[0]->deserialize_nonnull_domain( $_[1]->{ddom}, $_[2], $_[3] );
7421             }
7422             # @_: ($class, $value, $index, $output) = @_;
7423             sub serialize_domain_migrate_finish_ret {
7424 0 0   0 0   croak "Missing required input 'struct' value"
7425             unless defined $_[1];
7426              
7427             # Serializing field: 'ddom'
7428             croak "Missing required input value 'ddom'"
7429 0 0         unless exists $_[1]->{ddom};
7430             # my ($class, $value, $index, $output) = @_;
7431 0           $_[0]->serialize_nonnull_domain( $_[1]->{ddom}, $_[2], $_[3] );
7432             }
7433             # @_: ($class, $value, $index, $input) = @_;
7434             sub deserialize_domain_migrate_prepare2_args {
7435 0     0 0   my $input_length = length $_[3];
7436 0           $_[1] = {};
7437             # Deserializing field: 'uri_in'
7438             # my ($class, $value, $index, $input) = @_;
7439 0           $_[0]->deserialize_string( $_[1]->{uri_in}, $_[2], $_[3] );
7440              
7441             # Deserializing field: 'flags'
7442             # my ($class, $value, $index, $input) = @_;
7443 0 0         die "Input buffer too short"
7444             if ($input_length - $_[2]) < 8;
7445 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
7446 0           $_[2] += 8;
7447             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7448             unless (0 <= $_[1]->{flags}
7449 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7450              
7451             # Deserializing field: 'dname'
7452             # my ($class, $value, $index, $input) = @_;
7453 0           $_[0]->deserialize_string( $_[1]->{dname}, $_[2], $_[3] );
7454              
7455             # Deserializing field: 'bandwidth'
7456             # my ($class, $value, $index, $input) = @_;
7457 0 0         die "Input buffer too short"
7458             if ($input_length - $_[2]) < 8;
7459 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
7460 0           $_[2] += 8;
7461             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
7462             unless (0 <= $_[1]->{bandwidth}
7463 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
7464              
7465             # Deserializing field: 'dom_xml'
7466             # my ($class, $value, $index, $input) = @_;
7467 0           $_[0]->deserialize_nonnull_string( $_[1]->{dom_xml}, $_[2], $_[3] );
7468             }
7469             # @_: ($class, $value, $index, $output) = @_;
7470             sub serialize_domain_migrate_prepare2_args {
7471 0 0   0 0   croak "Missing required input 'struct' value"
7472             unless defined $_[1];
7473              
7474             # Serializing field: 'uri_in'
7475             croak "Missing required input value 'uri_in'"
7476 0 0         unless exists $_[1]->{uri_in};
7477             # my ($class, $value, $index, $output) = @_;
7478 0           $_[0]->serialize_string( $_[1]->{uri_in}, $_[2], $_[3] );
7479              
7480             # Serializing field: 'flags'
7481             croak "Missing required input value 'flags'"
7482 0 0         unless exists $_[1]->{flags};
7483             # my ($class, $value, $index, $output) = @_;
7484             croak "Missing required input 'unsigned long' value"
7485 0 0         unless defined $_[1]->{flags};
7486             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7487             unless (0 <= $_[1]->{flags}
7488 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7489             die "Non-integer 'long' value given: $_[1]->{flags}"
7490 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
7491 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
7492 0           $_[2] += 8;
7493              
7494             # Serializing field: 'dname'
7495             croak "Missing required input value 'dname'"
7496 0 0         unless exists $_[1]->{dname};
7497             # my ($class, $value, $index, $output) = @_;
7498 0           $_[0]->serialize_string( $_[1]->{dname}, $_[2], $_[3] );
7499              
7500             # Serializing field: 'bandwidth'
7501             croak "Missing required input value 'bandwidth'"
7502 0 0         unless exists $_[1]->{bandwidth};
7503             # my ($class, $value, $index, $output) = @_;
7504             croak "Missing required input 'unsigned long' value"
7505 0 0         unless defined $_[1]->{bandwidth};
7506             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
7507             unless (0 <= $_[1]->{bandwidth}
7508 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
7509             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
7510 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
7511 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
7512 0           $_[2] += 8;
7513              
7514             # Serializing field: 'dom_xml'
7515             croak "Missing required input value 'dom_xml'"
7516 0 0         unless exists $_[1]->{dom_xml};
7517             # my ($class, $value, $index, $output) = @_;
7518 0           $_[0]->serialize_nonnull_string( $_[1]->{dom_xml}, $_[2], $_[3] );
7519             }
7520             # @_: ($class, $value, $index, $input) = @_;
7521             sub deserialize_domain_migrate_prepare2_ret {
7522 0     0 0   my $input_length = length $_[3];
7523 0           $_[1] = {};
7524             # Deserializing field: 'cookie'
7525             # my ($class, $value, $index, $input) = @_;
7526 0           do {
7527 0 0         die "Input buffer too short"
7528             if ($input_length - $_[2]) < 4;
7529 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
7530 0           $_[2] += 4;
7531 0 0         die "Opaque data too long (max: 4194304): $len"
7532             unless ($len <= 4194304);
7533 0 0         die "Input buffer too short"
7534             if ($input_length - $_[2]) < $len;
7535 0           $_[1]->{cookie} = substr( $_[3], $_[2], $len );
7536 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
7537             };
7538              
7539             # Deserializing field: 'uri_out'
7540             # my ($class, $value, $index, $input) = @_;
7541 0           $_[0]->deserialize_string( $_[1]->{uri_out}, $_[2], $_[3] );
7542             }
7543             # @_: ($class, $value, $index, $output) = @_;
7544             sub serialize_domain_migrate_prepare2_ret {
7545 0 0   0 0   croak "Missing required input 'struct' value"
7546             unless defined $_[1];
7547              
7548             # Serializing field: 'cookie'
7549             croak "Missing required input value 'cookie'"
7550 0 0         unless exists $_[1]->{cookie};
7551             # my ($class, $value, $index, $output) = @_;
7552             croak "Missing required input 'opaque data' value"
7553 0 0         unless defined $_[1]->{cookie};
7554 0           do {
7555 0           my $len = length $_[1]->{cookie};
7556 0 0         die "Opaque data too long (max: 4194304): $len"
7557             unless ($len <= 4194304);
7558              
7559 0           substr( $_[3], $_[2] ) = pack("L>", $len);
7560 0           $_[2] += 4;
7561 0           substr( $_[3], $_[2] ) = $_[1]->{cookie};
7562 0           $_[2] += $len;
7563 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
7564 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
7565 0           $_[2] += $pad;
7566             }
7567             };
7568              
7569             # Serializing field: 'uri_out'
7570             croak "Missing required input value 'uri_out'"
7571 0 0         unless exists $_[1]->{uri_out};
7572             # my ($class, $value, $index, $output) = @_;
7573 0           $_[0]->serialize_string( $_[1]->{uri_out}, $_[2], $_[3] );
7574             }
7575             # @_: ($class, $value, $index, $input) = @_;
7576             sub deserialize_domain_migrate_finish2_args {
7577 0     0 0   my $input_length = length $_[3];
7578 0           $_[1] = {};
7579             # Deserializing field: 'dname'
7580             # my ($class, $value, $index, $input) = @_;
7581 0           $_[0]->deserialize_nonnull_string( $_[1]->{dname}, $_[2], $_[3] );
7582              
7583             # Deserializing field: 'cookie'
7584             # my ($class, $value, $index, $input) = @_;
7585 0           do {
7586 0 0         die "Input buffer too short"
7587             if ($input_length - $_[2]) < 4;
7588 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
7589 0           $_[2] += 4;
7590 0 0         die "Opaque data too long (max: 4194304): $len"
7591             unless ($len <= 4194304);
7592 0 0         die "Input buffer too short"
7593             if ($input_length - $_[2]) < $len;
7594 0           $_[1]->{cookie} = substr( $_[3], $_[2], $len );
7595 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
7596             };
7597              
7598             # Deserializing field: 'uri'
7599             # my ($class, $value, $index, $input) = @_;
7600 0           $_[0]->deserialize_nonnull_string( $_[1]->{uri}, $_[2], $_[3] );
7601              
7602             # Deserializing field: 'flags'
7603             # my ($class, $value, $index, $input) = @_;
7604 0 0         die "Input buffer too short"
7605             if ($input_length - $_[2]) < 8;
7606 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
7607 0           $_[2] += 8;
7608             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7609             unless (0 <= $_[1]->{flags}
7610 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7611              
7612             # Deserializing field: 'retcode'
7613             # my ($class, $value, $index, $input) = @_;
7614 0 0         die "Input buffer too short"
7615             if ($input_length - $_[2]) < 4;
7616 0           $_[1]->{retcode} = unpack("l>", substr( $_[3], $_[2] ));
7617 0           $_[2] += 4;
7618             die "Out of bounds 'int': $_[1]->{retcode}"
7619 0 0 0       unless (-2147483648 <= $_[1]->{retcode} and $_[1]->{retcode} < 2147483648);
7620             }
7621             # @_: ($class, $value, $index, $output) = @_;
7622             sub serialize_domain_migrate_finish2_args {
7623 0 0   0 0   croak "Missing required input 'struct' value"
7624             unless defined $_[1];
7625              
7626             # Serializing field: 'dname'
7627             croak "Missing required input value 'dname'"
7628 0 0         unless exists $_[1]->{dname};
7629             # my ($class, $value, $index, $output) = @_;
7630 0           $_[0]->serialize_nonnull_string( $_[1]->{dname}, $_[2], $_[3] );
7631              
7632             # Serializing field: 'cookie'
7633             croak "Missing required input value 'cookie'"
7634 0 0         unless exists $_[1]->{cookie};
7635             # my ($class, $value, $index, $output) = @_;
7636             croak "Missing required input 'opaque data' value"
7637 0 0         unless defined $_[1]->{cookie};
7638 0           do {
7639 0           my $len = length $_[1]->{cookie};
7640 0 0         die "Opaque data too long (max: 4194304): $len"
7641             unless ($len <= 4194304);
7642              
7643 0           substr( $_[3], $_[2] ) = pack("L>", $len);
7644 0           $_[2] += 4;
7645 0           substr( $_[3], $_[2] ) = $_[1]->{cookie};
7646 0           $_[2] += $len;
7647 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
7648 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
7649 0           $_[2] += $pad;
7650             }
7651             };
7652              
7653             # Serializing field: 'uri'
7654             croak "Missing required input value 'uri'"
7655 0 0         unless exists $_[1]->{uri};
7656             # my ($class, $value, $index, $output) = @_;
7657 0           $_[0]->serialize_nonnull_string( $_[1]->{uri}, $_[2], $_[3] );
7658              
7659             # Serializing field: 'flags'
7660             croak "Missing required input value 'flags'"
7661 0 0         unless exists $_[1]->{flags};
7662             # my ($class, $value, $index, $output) = @_;
7663             croak "Missing required input 'unsigned long' value"
7664 0 0         unless defined $_[1]->{flags};
7665             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7666             unless (0 <= $_[1]->{flags}
7667 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7668             die "Non-integer 'long' value given: $_[1]->{flags}"
7669 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
7670 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
7671 0           $_[2] += 8;
7672              
7673             # Serializing field: 'retcode'
7674             croak "Missing required input value 'retcode'"
7675 0 0         unless exists $_[1]->{retcode};
7676             # my ($class, $value, $index, $output) = @_;
7677             croak "Missing required input 'int' value"
7678 0 0         unless defined $_[1]->{retcode};
7679             die "Out of bounds 'int': $_[1]->{retcode}"
7680 0 0 0       unless (-2147483648 <= $_[1]->{retcode} and $_[1]->{retcode} < 2147483648);
7681             die "Non-integer 'int' value given: $_[1]->{retcode}"
7682 0 0         unless int($_[1]->{retcode}) == $_[1]->{retcode};
7683 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{retcode});
7684 0           $_[2] += 4;
7685             }
7686             # @_: ($class, $value, $index, $input) = @_;
7687             sub deserialize_domain_migrate_finish2_ret {
7688 0     0 0   my $input_length = length $_[3];
7689 0           $_[1] = {};
7690             # Deserializing field: 'ddom'
7691             # my ($class, $value, $index, $input) = @_;
7692 0           $_[0]->deserialize_nonnull_domain( $_[1]->{ddom}, $_[2], $_[3] );
7693             }
7694             # @_: ($class, $value, $index, $output) = @_;
7695             sub serialize_domain_migrate_finish2_ret {
7696 0 0   0 0   croak "Missing required input 'struct' value"
7697             unless defined $_[1];
7698              
7699             # Serializing field: 'ddom'
7700             croak "Missing required input value 'ddom'"
7701 0 0         unless exists $_[1]->{ddom};
7702             # my ($class, $value, $index, $output) = @_;
7703 0           $_[0]->serialize_nonnull_domain( $_[1]->{ddom}, $_[2], $_[3] );
7704             }
7705             # @_: ($class, $value, $index, $input) = @_;
7706             sub deserialize_connect_list_defined_domains_args {
7707 0     0 0   my $input_length = length $_[3];
7708 0           $_[1] = {};
7709             # Deserializing field: 'maxnames'
7710             # my ($class, $value, $index, $input) = @_;
7711 0 0         die "Input buffer too short"
7712             if ($input_length - $_[2]) < 4;
7713 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
7714 0           $_[2] += 4;
7715             die "Out of bounds 'int': $_[1]->{maxnames}"
7716 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
7717             }
7718             # @_: ($class, $value, $index, $output) = @_;
7719             sub serialize_connect_list_defined_domains_args {
7720 0 0   0 0   croak "Missing required input 'struct' value"
7721             unless defined $_[1];
7722              
7723             # Serializing field: 'maxnames'
7724             croak "Missing required input value 'maxnames'"
7725 0 0         unless exists $_[1]->{maxnames};
7726             # my ($class, $value, $index, $output) = @_;
7727             croak "Missing required input 'int' value"
7728 0 0         unless defined $_[1]->{maxnames};
7729             die "Out of bounds 'int': $_[1]->{maxnames}"
7730 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
7731             die "Non-integer 'int' value given: $_[1]->{maxnames}"
7732 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
7733 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
7734 0           $_[2] += 4;
7735             }
7736             # @_: ($class, $value, $index, $input) = @_;
7737             sub deserialize_connect_list_defined_domains_ret {
7738 0     0 0   my $input_length = length $_[3];
7739 0           $_[1] = {};
7740             # Deserializing field: 'names'
7741             # my ($class, $value, $index, $input) = @_;
7742 0           do {
7743 0 0         die "Input buffer too short"
7744             if ($input_length - $_[2]) < 4;
7745 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
7746 0           $_[2] += 4;
7747              
7748 0 0         die "Array too long (max: 16384): $len"
7749             unless ($len <= 16384);
7750 0           $_[1]->{names} = [];
7751 0           for my $i1 ( 0 .. ($len - 1) ) {
7752             # my ($class, $value, $index, $input) = @_;
7753 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
7754             }
7755             };
7756             }
7757             # @_: ($class, $value, $index, $output) = @_;
7758             sub serialize_connect_list_defined_domains_ret {
7759 0 0   0 0   croak "Missing required input 'struct' value"
7760             unless defined $_[1];
7761              
7762             # Serializing field: 'names'
7763             croak "Missing required input value 'names'"
7764 0 0         unless exists $_[1]->{names};
7765             # my ($class, $value, $index, $output) = @_;
7766             croak "Missing required input 'array' value"
7767 0 0         unless defined $_[1]->{names};
7768 0           do {
7769 0           my $len = scalar @{ $_[1]->{names} };
  0            
7770 0 0         die "Array too long (max: 16384): $len"
7771             unless ($len <= 16384);
7772              
7773 0           substr( $_[3], $_[2] ) = pack("L>", $len);
7774 0           $_[2] += 4;
7775 0           for my $i1 ( 0 .. ($len - 1) ) {
7776             # my ($class, $value, $index, $output) = @_;
7777 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
7778             }
7779             };
7780             }
7781             # @_: ($class, $value, $index, $input) = @_;
7782             sub deserialize_connect_num_of_defined_domains_ret {
7783 0     0 0   my $input_length = length $_[3];
7784 0           $_[1] = {};
7785             # Deserializing field: 'num'
7786             # my ($class, $value, $index, $input) = @_;
7787 0 0         die "Input buffer too short"
7788             if ($input_length - $_[2]) < 4;
7789 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
7790 0           $_[2] += 4;
7791             die "Out of bounds 'int': $_[1]->{num}"
7792 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
7793             }
7794             # @_: ($class, $value, $index, $output) = @_;
7795             sub serialize_connect_num_of_defined_domains_ret {
7796 0 0   0 0   croak "Missing required input 'struct' value"
7797             unless defined $_[1];
7798              
7799             # Serializing field: 'num'
7800             croak "Missing required input value 'num'"
7801 0 0         unless exists $_[1]->{num};
7802             # my ($class, $value, $index, $output) = @_;
7803             croak "Missing required input 'int' value"
7804 0 0         unless defined $_[1]->{num};
7805             die "Out of bounds 'int': $_[1]->{num}"
7806 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
7807             die "Non-integer 'int' value given: $_[1]->{num}"
7808 0 0         unless int($_[1]->{num}) == $_[1]->{num};
7809 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
7810 0           $_[2] += 4;
7811             }
7812             # @_: ($class, $value, $index, $input) = @_;
7813             sub deserialize_domain_create_args {
7814 0     0 0   my $input_length = length $_[3];
7815 0           $_[1] = {};
7816             # Deserializing field: 'dom'
7817             # my ($class, $value, $index, $input) = @_;
7818 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7819             }
7820             # @_: ($class, $value, $index, $output) = @_;
7821             sub serialize_domain_create_args {
7822 0 0   0 0   croak "Missing required input 'struct' value"
7823             unless defined $_[1];
7824              
7825             # Serializing field: 'dom'
7826             croak "Missing required input value 'dom'"
7827 0 0         unless exists $_[1]->{dom};
7828             # my ($class, $value, $index, $output) = @_;
7829 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7830             }
7831             # @_: ($class, $value, $index, $input) = @_;
7832             sub deserialize_domain_create_with_flags_args {
7833 0     0 0   my $input_length = length $_[3];
7834 0           $_[1] = {};
7835             # Deserializing field: 'dom'
7836             # my ($class, $value, $index, $input) = @_;
7837 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7838              
7839             # Deserializing field: 'flags'
7840             # my ($class, $value, $index, $input) = @_;
7841 0 0         die "Input buffer too short"
7842             if ($input_length - $_[2]) < 4;
7843 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
7844 0           $_[2] += 4;
7845             die "Out of bounds 'unsigned int': $_[1]->{flags}"
7846 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
7847             }
7848             # @_: ($class, $value, $index, $output) = @_;
7849             sub serialize_domain_create_with_flags_args {
7850 0 0   0 0   croak "Missing required input 'struct' value"
7851             unless defined $_[1];
7852              
7853             # Serializing field: 'dom'
7854             croak "Missing required input value 'dom'"
7855 0 0         unless exists $_[1]->{dom};
7856             # my ($class, $value, $index, $output) = @_;
7857 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7858              
7859             # Serializing field: 'flags'
7860             croak "Missing required input value 'flags'"
7861 0 0         unless exists $_[1]->{flags};
7862             # my ($class, $value, $index, $output) = @_;
7863             croak "Missing required input 'unsigned int' value"
7864 0 0         unless defined $_[1]->{flags};
7865             die "Out of bounds 'unsigned int': $_[1]->{flags}"
7866 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
7867             die "Non-integer 'int' value given: $_[1]->{flags}"
7868 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
7869 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
7870 0           $_[2] += 4;
7871             }
7872             # @_: ($class, $value, $index, $input) = @_;
7873             sub deserialize_domain_create_with_flags_ret {
7874 0     0 0   my $input_length = length $_[3];
7875 0           $_[1] = {};
7876             # Deserializing field: 'dom'
7877             # my ($class, $value, $index, $input) = @_;
7878 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7879             }
7880             # @_: ($class, $value, $index, $output) = @_;
7881             sub serialize_domain_create_with_flags_ret {
7882 0 0   0 0   croak "Missing required input 'struct' value"
7883             unless defined $_[1];
7884              
7885             # Serializing field: 'dom'
7886             croak "Missing required input value 'dom'"
7887 0 0         unless exists $_[1]->{dom};
7888             # my ($class, $value, $index, $output) = @_;
7889 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7890             }
7891             # @_: ($class, $value, $index, $input) = @_;
7892             sub deserialize_domain_create_with_files_args {
7893 0     0 0   my $input_length = length $_[3];
7894 0           $_[1] = {};
7895             # Deserializing field: 'dom'
7896             # my ($class, $value, $index, $input) = @_;
7897 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7898              
7899             # Deserializing field: 'flags'
7900             # my ($class, $value, $index, $input) = @_;
7901 0 0         die "Input buffer too short"
7902             if ($input_length - $_[2]) < 4;
7903 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
7904 0           $_[2] += 4;
7905             die "Out of bounds 'unsigned int': $_[1]->{flags}"
7906 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
7907             }
7908             # @_: ($class, $value, $index, $output) = @_;
7909             sub serialize_domain_create_with_files_args {
7910 0 0   0 0   croak "Missing required input 'struct' value"
7911             unless defined $_[1];
7912              
7913             # Serializing field: 'dom'
7914             croak "Missing required input value 'dom'"
7915 0 0         unless exists $_[1]->{dom};
7916             # my ($class, $value, $index, $output) = @_;
7917 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7918              
7919             # Serializing field: 'flags'
7920             croak "Missing required input value 'flags'"
7921 0 0         unless exists $_[1]->{flags};
7922             # my ($class, $value, $index, $output) = @_;
7923             croak "Missing required input 'unsigned int' value"
7924 0 0         unless defined $_[1]->{flags};
7925             die "Out of bounds 'unsigned int': $_[1]->{flags}"
7926 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
7927             die "Non-integer 'int' value given: $_[1]->{flags}"
7928 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
7929 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
7930 0           $_[2] += 4;
7931             }
7932             # @_: ($class, $value, $index, $input) = @_;
7933             sub deserialize_domain_create_with_files_ret {
7934 0     0 0   my $input_length = length $_[3];
7935 0           $_[1] = {};
7936             # Deserializing field: 'dom'
7937             # my ($class, $value, $index, $input) = @_;
7938 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7939             }
7940             # @_: ($class, $value, $index, $output) = @_;
7941             sub serialize_domain_create_with_files_ret {
7942 0 0   0 0   croak "Missing required input 'struct' value"
7943             unless defined $_[1];
7944              
7945             # Serializing field: 'dom'
7946             croak "Missing required input value 'dom'"
7947 0 0         unless exists $_[1]->{dom};
7948             # my ($class, $value, $index, $output) = @_;
7949 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7950             }
7951             # @_: ($class, $value, $index, $input) = @_;
7952             sub deserialize_domain_define_xml_args {
7953 0     0 0   my $input_length = length $_[3];
7954 0           $_[1] = {};
7955             # Deserializing field: 'xml'
7956             # my ($class, $value, $index, $input) = @_;
7957 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
7958             }
7959             # @_: ($class, $value, $index, $output) = @_;
7960             sub serialize_domain_define_xml_args {
7961 0 0   0 0   croak "Missing required input 'struct' value"
7962             unless defined $_[1];
7963              
7964             # Serializing field: 'xml'
7965             croak "Missing required input value 'xml'"
7966 0 0         unless exists $_[1]->{xml};
7967             # my ($class, $value, $index, $output) = @_;
7968 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
7969             }
7970             # @_: ($class, $value, $index, $input) = @_;
7971             sub deserialize_domain_define_xml_ret {
7972 0     0 0   my $input_length = length $_[3];
7973 0           $_[1] = {};
7974             # Deserializing field: 'dom'
7975             # my ($class, $value, $index, $input) = @_;
7976 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7977             }
7978             # @_: ($class, $value, $index, $output) = @_;
7979             sub serialize_domain_define_xml_ret {
7980 0 0   0 0   croak "Missing required input 'struct' value"
7981             unless defined $_[1];
7982              
7983             # Serializing field: 'dom'
7984             croak "Missing required input value 'dom'"
7985 0 0         unless exists $_[1]->{dom};
7986             # my ($class, $value, $index, $output) = @_;
7987 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7988             }
7989             # @_: ($class, $value, $index, $input) = @_;
7990             sub deserialize_domain_define_xml_flags_args {
7991 0     0 0   my $input_length = length $_[3];
7992 0           $_[1] = {};
7993             # Deserializing field: 'xml'
7994             # my ($class, $value, $index, $input) = @_;
7995 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
7996              
7997             # Deserializing field: 'flags'
7998             # my ($class, $value, $index, $input) = @_;
7999 0 0         die "Input buffer too short"
8000             if ($input_length - $_[2]) < 4;
8001 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8002 0           $_[2] += 4;
8003             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8004 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8005             }
8006             # @_: ($class, $value, $index, $output) = @_;
8007             sub serialize_domain_define_xml_flags_args {
8008 0 0   0 0   croak "Missing required input 'struct' value"
8009             unless defined $_[1];
8010              
8011             # Serializing field: 'xml'
8012             croak "Missing required input value 'xml'"
8013 0 0         unless exists $_[1]->{xml};
8014             # my ($class, $value, $index, $output) = @_;
8015 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
8016              
8017             # Serializing field: 'flags'
8018             croak "Missing required input value 'flags'"
8019 0 0         unless exists $_[1]->{flags};
8020             # my ($class, $value, $index, $output) = @_;
8021             croak "Missing required input 'unsigned int' value"
8022 0 0         unless defined $_[1]->{flags};
8023             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8024 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8025             die "Non-integer 'int' value given: $_[1]->{flags}"
8026 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8027 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8028 0           $_[2] += 4;
8029             }
8030             # @_: ($class, $value, $index, $input) = @_;
8031             sub deserialize_domain_define_xml_flags_ret {
8032 0     0 0   my $input_length = length $_[3];
8033 0           $_[1] = {};
8034             # Deserializing field: 'dom'
8035             # my ($class, $value, $index, $input) = @_;
8036 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8037             }
8038             # @_: ($class, $value, $index, $output) = @_;
8039             sub serialize_domain_define_xml_flags_ret {
8040 0 0   0 0   croak "Missing required input 'struct' value"
8041             unless defined $_[1];
8042              
8043             # Serializing field: 'dom'
8044             croak "Missing required input value 'dom'"
8045 0 0         unless exists $_[1]->{dom};
8046             # my ($class, $value, $index, $output) = @_;
8047 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8048             }
8049             # @_: ($class, $value, $index, $input) = @_;
8050             sub deserialize_domain_undefine_args {
8051 0     0 0   my $input_length = length $_[3];
8052 0           $_[1] = {};
8053             # Deserializing field: 'dom'
8054             # my ($class, $value, $index, $input) = @_;
8055 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8056             }
8057             # @_: ($class, $value, $index, $output) = @_;
8058             sub serialize_domain_undefine_args {
8059 0 0   0 0   croak "Missing required input 'struct' value"
8060             unless defined $_[1];
8061              
8062             # Serializing field: 'dom'
8063             croak "Missing required input value 'dom'"
8064 0 0         unless exists $_[1]->{dom};
8065             # my ($class, $value, $index, $output) = @_;
8066 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8067             }
8068             # @_: ($class, $value, $index, $input) = @_;
8069             sub deserialize_domain_undefine_flags_args {
8070 0     0 0   my $input_length = length $_[3];
8071 0           $_[1] = {};
8072             # Deserializing field: 'dom'
8073             # my ($class, $value, $index, $input) = @_;
8074 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8075              
8076             # Deserializing field: 'flags'
8077             # my ($class, $value, $index, $input) = @_;
8078 0 0         die "Input buffer too short"
8079             if ($input_length - $_[2]) < 4;
8080 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8081 0           $_[2] += 4;
8082             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8083 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8084             }
8085             # @_: ($class, $value, $index, $output) = @_;
8086             sub serialize_domain_undefine_flags_args {
8087 0 0   0 0   croak "Missing required input 'struct' value"
8088             unless defined $_[1];
8089              
8090             # Serializing field: 'dom'
8091             croak "Missing required input value 'dom'"
8092 0 0         unless exists $_[1]->{dom};
8093             # my ($class, $value, $index, $output) = @_;
8094 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8095              
8096             # Serializing field: 'flags'
8097             croak "Missing required input value 'flags'"
8098 0 0         unless exists $_[1]->{flags};
8099             # my ($class, $value, $index, $output) = @_;
8100             croak "Missing required input 'unsigned int' value"
8101 0 0         unless defined $_[1]->{flags};
8102             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8103 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8104             die "Non-integer 'int' value given: $_[1]->{flags}"
8105 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8106 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8107 0           $_[2] += 4;
8108             }
8109             # @_: ($class, $value, $index, $input) = @_;
8110             sub deserialize_domain_inject_nmi_args {
8111 0     0 0   my $input_length = length $_[3];
8112 0           $_[1] = {};
8113             # Deserializing field: 'dom'
8114             # my ($class, $value, $index, $input) = @_;
8115 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8116              
8117             # Deserializing field: 'flags'
8118             # my ($class, $value, $index, $input) = @_;
8119 0 0         die "Input buffer too short"
8120             if ($input_length - $_[2]) < 4;
8121 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8122 0           $_[2] += 4;
8123             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8124 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8125             }
8126             # @_: ($class, $value, $index, $output) = @_;
8127             sub serialize_domain_inject_nmi_args {
8128 0 0   0 0   croak "Missing required input 'struct' value"
8129             unless defined $_[1];
8130              
8131             # Serializing field: 'dom'
8132             croak "Missing required input value 'dom'"
8133 0 0         unless exists $_[1]->{dom};
8134             # my ($class, $value, $index, $output) = @_;
8135 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8136              
8137             # Serializing field: 'flags'
8138             croak "Missing required input value 'flags'"
8139 0 0         unless exists $_[1]->{flags};
8140             # my ($class, $value, $index, $output) = @_;
8141             croak "Missing required input 'unsigned int' value"
8142 0 0         unless defined $_[1]->{flags};
8143             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8144 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8145             die "Non-integer 'int' value given: $_[1]->{flags}"
8146 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8147 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8148 0           $_[2] += 4;
8149             }
8150             # @_: ($class, $value, $index, $input) = @_;
8151             sub deserialize_domain_send_key_args {
8152 0     0 0   my $input_length = length $_[3];
8153 0           $_[1] = {};
8154             # Deserializing field: 'dom'
8155             # my ($class, $value, $index, $input) = @_;
8156 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8157              
8158             # Deserializing field: 'codeset'
8159             # my ($class, $value, $index, $input) = @_;
8160 0 0         die "Input buffer too short"
8161             if ($input_length - $_[2]) < 4;
8162 0           $_[1]->{codeset} = unpack("L>", substr( $_[3], $_[2] ));
8163 0           $_[2] += 4;
8164             die "Out of bounds 'unsigned int': $_[1]->{codeset}"
8165 0 0 0       unless (0 <= $_[1]->{codeset} and $_[1]->{codeset} <= 4294967295);
8166              
8167             # Deserializing field: 'holdtime'
8168             # my ($class, $value, $index, $input) = @_;
8169 0 0         die "Input buffer too short"
8170             if ($input_length - $_[2]) < 4;
8171 0           $_[1]->{holdtime} = unpack("L>", substr( $_[3], $_[2] ));
8172 0           $_[2] += 4;
8173             die "Out of bounds 'unsigned int': $_[1]->{holdtime}"
8174 0 0 0       unless (0 <= $_[1]->{holdtime} and $_[1]->{holdtime} <= 4294967295);
8175              
8176             # Deserializing field: 'keycodes'
8177             # my ($class, $value, $index, $input) = @_;
8178 0           do {
8179 0 0         die "Input buffer too short"
8180             if ($input_length - $_[2]) < 4;
8181 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
8182 0           $_[2] += 4;
8183              
8184 0 0         die "Array too long (max: 16): $len"
8185             unless ($len <= 16);
8186 0           $_[1]->{keycodes} = [];
8187 0           for my $i1 ( 0 .. ($len - 1) ) {
8188             # my ($class, $value, $index, $input) = @_;
8189 0 0         die "Input buffer too short"
8190             if ($input_length - $_[2]) < 4;
8191 0           $_[1]->{keycodes}->[$i1] = unpack("L>", substr( $_[3], $_[2] ));
8192 0           $_[2] += 4;
8193             die "Out of bounds 'unsigned int': $_[1]->{keycodes}->[$i1]"
8194 0 0 0       unless (0 <= $_[1]->{keycodes}->[$i1] and $_[1]->{keycodes}->[$i1] <= 4294967295);
8195             }
8196             };
8197              
8198             # Deserializing field: 'flags'
8199             # my ($class, $value, $index, $input) = @_;
8200 0 0         die "Input buffer too short"
8201             if ($input_length - $_[2]) < 4;
8202 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8203 0           $_[2] += 4;
8204             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8205 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8206             }
8207             # @_: ($class, $value, $index, $output) = @_;
8208             sub serialize_domain_send_key_args {
8209 0 0   0 0   croak "Missing required input 'struct' value"
8210             unless defined $_[1];
8211              
8212             # Serializing field: 'dom'
8213             croak "Missing required input value 'dom'"
8214 0 0         unless exists $_[1]->{dom};
8215             # my ($class, $value, $index, $output) = @_;
8216 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8217              
8218             # Serializing field: 'codeset'
8219             croak "Missing required input value 'codeset'"
8220 0 0         unless exists $_[1]->{codeset};
8221             # my ($class, $value, $index, $output) = @_;
8222             croak "Missing required input 'unsigned int' value"
8223 0 0         unless defined $_[1]->{codeset};
8224             die "Out of bounds 'unsigned int': $_[1]->{codeset}"
8225 0 0 0       unless (0 <= $_[1]->{codeset} and $_[1]->{codeset} <= 4294967295);
8226             die "Non-integer 'int' value given: $_[1]->{codeset}"
8227 0 0         unless int($_[1]->{codeset}) == $_[1]->{codeset};
8228 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{codeset});
8229 0           $_[2] += 4;
8230              
8231             # Serializing field: 'holdtime'
8232             croak "Missing required input value 'holdtime'"
8233 0 0         unless exists $_[1]->{holdtime};
8234             # my ($class, $value, $index, $output) = @_;
8235             croak "Missing required input 'unsigned int' value"
8236 0 0         unless defined $_[1]->{holdtime};
8237             die "Out of bounds 'unsigned int': $_[1]->{holdtime}"
8238 0 0 0       unless (0 <= $_[1]->{holdtime} and $_[1]->{holdtime} <= 4294967295);
8239             die "Non-integer 'int' value given: $_[1]->{holdtime}"
8240 0 0         unless int($_[1]->{holdtime}) == $_[1]->{holdtime};
8241 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{holdtime});
8242 0           $_[2] += 4;
8243              
8244             # Serializing field: 'keycodes'
8245             croak "Missing required input value 'keycodes'"
8246 0 0         unless exists $_[1]->{keycodes};
8247             # my ($class, $value, $index, $output) = @_;
8248             croak "Missing required input 'array' value"
8249 0 0         unless defined $_[1]->{keycodes};
8250 0           do {
8251 0           my $len = scalar @{ $_[1]->{keycodes} };
  0            
8252 0 0         die "Array too long (max: 16): $len"
8253             unless ($len <= 16);
8254              
8255 0           substr( $_[3], $_[2] ) = pack("L>", $len);
8256 0           $_[2] += 4;
8257 0           for my $i1 ( 0 .. ($len - 1) ) {
8258             # my ($class, $value, $index, $output) = @_;
8259             croak "Missing required input 'unsigned int' value"
8260 0 0         unless defined $_[1]->{keycodes}->[$i1];
8261             die "Out of bounds 'unsigned int': $_[1]->{keycodes}->[$i1]"
8262 0 0 0       unless (0 <= $_[1]->{keycodes}->[$i1] and $_[1]->{keycodes}->[$i1] <= 4294967295);
8263             die "Non-integer 'int' value given: $_[1]->{keycodes}->[$i1]"
8264 0 0         unless int($_[1]->{keycodes}->[$i1]) == $_[1]->{keycodes}->[$i1];
8265 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{keycodes}->[$i1]);
8266 0           $_[2] += 4;
8267             }
8268             };
8269              
8270             # Serializing field: 'flags'
8271             croak "Missing required input value 'flags'"
8272 0 0         unless exists $_[1]->{flags};
8273             # my ($class, $value, $index, $output) = @_;
8274             croak "Missing required input 'unsigned int' value"
8275 0 0         unless defined $_[1]->{flags};
8276             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8277 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8278             die "Non-integer 'int' value given: $_[1]->{flags}"
8279 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8280 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8281 0           $_[2] += 4;
8282             }
8283             # @_: ($class, $value, $index, $input) = @_;
8284             sub deserialize_domain_send_process_signal_args {
8285 0     0 0   my $input_length = length $_[3];
8286 0           $_[1] = {};
8287             # Deserializing field: 'dom'
8288             # my ($class, $value, $index, $input) = @_;
8289 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8290              
8291             # Deserializing field: 'pid_value'
8292             # my ($class, $value, $index, $input) = @_;
8293 0 0         die "Input buffer too short"
8294             if ($input_length - $_[2]) < 8;
8295 0           $_[1]->{pid_value} = unpack("q>", substr( $_[3], $_[2] ));
8296 0           $_[2] += 8;
8297             die "Out of bounds 'hyper': $_[1]->{pid_value}"
8298             unless (-9223372036854775808 <= $_[1]->{pid_value}
8299 0 0 0       and $_[1]->{pid_value} < 9223372036854775808);
8300              
8301             # Deserializing field: 'signum'
8302             # my ($class, $value, $index, $input) = @_;
8303 0 0         die "Input buffer too short"
8304             if ($input_length - $_[2]) < 4;
8305 0           $_[1]->{signum} = unpack("L>", substr( $_[3], $_[2] ));
8306 0           $_[2] += 4;
8307             die "Out of bounds 'unsigned int': $_[1]->{signum}"
8308 0 0 0       unless (0 <= $_[1]->{signum} and $_[1]->{signum} <= 4294967295);
8309              
8310             # Deserializing field: 'flags'
8311             # my ($class, $value, $index, $input) = @_;
8312 0 0         die "Input buffer too short"
8313             if ($input_length - $_[2]) < 4;
8314 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8315 0           $_[2] += 4;
8316             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8317 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8318             }
8319             # @_: ($class, $value, $index, $output) = @_;
8320             sub serialize_domain_send_process_signal_args {
8321 0 0   0 0   croak "Missing required input 'struct' value"
8322             unless defined $_[1];
8323              
8324             # Serializing field: 'dom'
8325             croak "Missing required input value 'dom'"
8326 0 0         unless exists $_[1]->{dom};
8327             # my ($class, $value, $index, $output) = @_;
8328 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8329              
8330             # Serializing field: 'pid_value'
8331             croak "Missing required input value 'pid_value'"
8332 0 0         unless exists $_[1]->{pid_value};
8333             # my ($class, $value, $index, $output) = @_;
8334             croak "Missing required input 'long' value"
8335 0 0         unless defined $_[1]->{pid_value};
8336             die "Out of bounds 'hyper': $_[1]->{pid_value}"
8337             unless (-9223372036854775808 <= $_[1]->{pid_value}
8338 0 0 0       and $_[1]->{pid_value} < 9223372036854775808);
8339             die "Non-integer 'long' value given: $_[1]->{pid_value}"
8340 0 0         unless int($_[1]->{pid_value}) == $_[1]->{pid_value};
8341 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{pid_value});
8342 0           $_[2] += 8;
8343              
8344             # Serializing field: 'signum'
8345             croak "Missing required input value 'signum'"
8346 0 0         unless exists $_[1]->{signum};
8347             # my ($class, $value, $index, $output) = @_;
8348             croak "Missing required input 'unsigned int' value"
8349 0 0         unless defined $_[1]->{signum};
8350             die "Out of bounds 'unsigned int': $_[1]->{signum}"
8351 0 0 0       unless (0 <= $_[1]->{signum} and $_[1]->{signum} <= 4294967295);
8352             die "Non-integer 'int' value given: $_[1]->{signum}"
8353 0 0         unless int($_[1]->{signum}) == $_[1]->{signum};
8354 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{signum});
8355 0           $_[2] += 4;
8356              
8357             # Serializing field: 'flags'
8358             croak "Missing required input value 'flags'"
8359 0 0         unless exists $_[1]->{flags};
8360             # my ($class, $value, $index, $output) = @_;
8361             croak "Missing required input 'unsigned int' value"
8362 0 0         unless defined $_[1]->{flags};
8363             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8364 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8365             die "Non-integer 'int' value given: $_[1]->{flags}"
8366 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8367 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8368 0           $_[2] += 4;
8369             }
8370             # @_: ($class, $value, $index, $input) = @_;
8371             sub deserialize_domain_set_vcpus_args {
8372 0     0 0   my $input_length = length $_[3];
8373 0           $_[1] = {};
8374             # Deserializing field: 'dom'
8375             # my ($class, $value, $index, $input) = @_;
8376 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8377              
8378             # Deserializing field: 'nvcpus'
8379             # my ($class, $value, $index, $input) = @_;
8380 0 0         die "Input buffer too short"
8381             if ($input_length - $_[2]) < 4;
8382 0           $_[1]->{nvcpus} = unpack("L>", substr( $_[3], $_[2] ));
8383 0           $_[2] += 4;
8384             die "Out of bounds 'unsigned int': $_[1]->{nvcpus}"
8385 0 0 0       unless (0 <= $_[1]->{nvcpus} and $_[1]->{nvcpus} <= 4294967295);
8386             }
8387             # @_: ($class, $value, $index, $output) = @_;
8388             sub serialize_domain_set_vcpus_args {
8389 0 0   0 0   croak "Missing required input 'struct' value"
8390             unless defined $_[1];
8391              
8392             # Serializing field: 'dom'
8393             croak "Missing required input value 'dom'"
8394 0 0         unless exists $_[1]->{dom};
8395             # my ($class, $value, $index, $output) = @_;
8396 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8397              
8398             # Serializing field: 'nvcpus'
8399             croak "Missing required input value 'nvcpus'"
8400 0 0         unless exists $_[1]->{nvcpus};
8401             # my ($class, $value, $index, $output) = @_;
8402             croak "Missing required input 'unsigned int' value"
8403 0 0         unless defined $_[1]->{nvcpus};
8404             die "Out of bounds 'unsigned int': $_[1]->{nvcpus}"
8405 0 0 0       unless (0 <= $_[1]->{nvcpus} and $_[1]->{nvcpus} <= 4294967295);
8406             die "Non-integer 'int' value given: $_[1]->{nvcpus}"
8407 0 0         unless int($_[1]->{nvcpus}) == $_[1]->{nvcpus};
8408 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{nvcpus});
8409 0           $_[2] += 4;
8410             }
8411             # @_: ($class, $value, $index, $input) = @_;
8412             sub deserialize_domain_set_vcpus_flags_args {
8413 0     0 0   my $input_length = length $_[3];
8414 0           $_[1] = {};
8415             # Deserializing field: 'dom'
8416             # my ($class, $value, $index, $input) = @_;
8417 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8418              
8419             # Deserializing field: 'nvcpus'
8420             # my ($class, $value, $index, $input) = @_;
8421 0 0         die "Input buffer too short"
8422             if ($input_length - $_[2]) < 4;
8423 0           $_[1]->{nvcpus} = unpack("L>", substr( $_[3], $_[2] ));
8424 0           $_[2] += 4;
8425             die "Out of bounds 'unsigned int': $_[1]->{nvcpus}"
8426 0 0 0       unless (0 <= $_[1]->{nvcpus} and $_[1]->{nvcpus} <= 4294967295);
8427              
8428             # Deserializing field: 'flags'
8429             # my ($class, $value, $index, $input) = @_;
8430 0 0         die "Input buffer too short"
8431             if ($input_length - $_[2]) < 4;
8432 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8433 0           $_[2] += 4;
8434             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8435 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8436             }
8437             # @_: ($class, $value, $index, $output) = @_;
8438             sub serialize_domain_set_vcpus_flags_args {
8439 0 0   0 0   croak "Missing required input 'struct' value"
8440             unless defined $_[1];
8441              
8442             # Serializing field: 'dom'
8443             croak "Missing required input value 'dom'"
8444 0 0         unless exists $_[1]->{dom};
8445             # my ($class, $value, $index, $output) = @_;
8446 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8447              
8448             # Serializing field: 'nvcpus'
8449             croak "Missing required input value 'nvcpus'"
8450 0 0         unless exists $_[1]->{nvcpus};
8451             # my ($class, $value, $index, $output) = @_;
8452             croak "Missing required input 'unsigned int' value"
8453 0 0         unless defined $_[1]->{nvcpus};
8454             die "Out of bounds 'unsigned int': $_[1]->{nvcpus}"
8455 0 0 0       unless (0 <= $_[1]->{nvcpus} and $_[1]->{nvcpus} <= 4294967295);
8456             die "Non-integer 'int' value given: $_[1]->{nvcpus}"
8457 0 0         unless int($_[1]->{nvcpus}) == $_[1]->{nvcpus};
8458 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{nvcpus});
8459 0           $_[2] += 4;
8460              
8461             # Serializing field: 'flags'
8462             croak "Missing required input value 'flags'"
8463 0 0         unless exists $_[1]->{flags};
8464             # my ($class, $value, $index, $output) = @_;
8465             croak "Missing required input 'unsigned int' value"
8466 0 0         unless defined $_[1]->{flags};
8467             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8468 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8469             die "Non-integer 'int' value given: $_[1]->{flags}"
8470 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8471 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8472 0           $_[2] += 4;
8473             }
8474             # @_: ($class, $value, $index, $input) = @_;
8475             sub deserialize_domain_get_vcpus_flags_args {
8476 0     0 0   my $input_length = length $_[3];
8477 0           $_[1] = {};
8478             # Deserializing field: 'dom'
8479             # my ($class, $value, $index, $input) = @_;
8480 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8481              
8482             # Deserializing field: 'flags'
8483             # my ($class, $value, $index, $input) = @_;
8484 0 0         die "Input buffer too short"
8485             if ($input_length - $_[2]) < 4;
8486 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8487 0           $_[2] += 4;
8488             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8489 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8490             }
8491             # @_: ($class, $value, $index, $output) = @_;
8492             sub serialize_domain_get_vcpus_flags_args {
8493 0 0   0 0   croak "Missing required input 'struct' value"
8494             unless defined $_[1];
8495              
8496             # Serializing field: 'dom'
8497             croak "Missing required input value 'dom'"
8498 0 0         unless exists $_[1]->{dom};
8499             # my ($class, $value, $index, $output) = @_;
8500 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8501              
8502             # Serializing field: 'flags'
8503             croak "Missing required input value 'flags'"
8504 0 0         unless exists $_[1]->{flags};
8505             # my ($class, $value, $index, $output) = @_;
8506             croak "Missing required input 'unsigned int' value"
8507 0 0         unless defined $_[1]->{flags};
8508             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8509 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8510             die "Non-integer 'int' value given: $_[1]->{flags}"
8511 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8512 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8513 0           $_[2] += 4;
8514             }
8515             # @_: ($class, $value, $index, $input) = @_;
8516             sub deserialize_domain_get_vcpus_flags_ret {
8517 0     0 0   my $input_length = length $_[3];
8518 0           $_[1] = {};
8519             # Deserializing field: 'num'
8520             # my ($class, $value, $index, $input) = @_;
8521 0 0         die "Input buffer too short"
8522             if ($input_length - $_[2]) < 4;
8523 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
8524 0           $_[2] += 4;
8525             die "Out of bounds 'int': $_[1]->{num}"
8526 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
8527             }
8528             # @_: ($class, $value, $index, $output) = @_;
8529             sub serialize_domain_get_vcpus_flags_ret {
8530 0 0   0 0   croak "Missing required input 'struct' value"
8531             unless defined $_[1];
8532              
8533             # Serializing field: 'num'
8534             croak "Missing required input value 'num'"
8535 0 0         unless exists $_[1]->{num};
8536             # my ($class, $value, $index, $output) = @_;
8537             croak "Missing required input 'int' value"
8538 0 0         unless defined $_[1]->{num};
8539             die "Out of bounds 'int': $_[1]->{num}"
8540 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
8541             die "Non-integer 'int' value given: $_[1]->{num}"
8542 0 0         unless int($_[1]->{num}) == $_[1]->{num};
8543 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
8544 0           $_[2] += 4;
8545             }
8546             # @_: ($class, $value, $index, $input) = @_;
8547             sub deserialize_domain_pin_vcpu_args {
8548 0     0 0   my $input_length = length $_[3];
8549 0           $_[1] = {};
8550             # Deserializing field: 'dom'
8551             # my ($class, $value, $index, $input) = @_;
8552 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8553              
8554             # Deserializing field: 'vcpu'
8555             # my ($class, $value, $index, $input) = @_;
8556 0 0         die "Input buffer too short"
8557             if ($input_length - $_[2]) < 4;
8558 0           $_[1]->{vcpu} = unpack("L>", substr( $_[3], $_[2] ));
8559 0           $_[2] += 4;
8560             die "Out of bounds 'unsigned int': $_[1]->{vcpu}"
8561 0 0 0       unless (0 <= $_[1]->{vcpu} and $_[1]->{vcpu} <= 4294967295);
8562              
8563             # Deserializing field: 'cpumap'
8564             # my ($class, $value, $index, $input) = @_;
8565 0           do {
8566 0 0         die "Input buffer too short"
8567             if ($input_length - $_[2]) < 4;
8568 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
8569 0           $_[2] += 4;
8570 0 0         die "Opaque data too long (max: 2048): $len"
8571             unless ($len <= 2048);
8572 0 0         die "Input buffer too short"
8573             if ($input_length - $_[2]) < $len;
8574 0           $_[1]->{cpumap} = substr( $_[3], $_[2], $len );
8575 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
8576             };
8577             }
8578             # @_: ($class, $value, $index, $output) = @_;
8579             sub serialize_domain_pin_vcpu_args {
8580 0 0   0 0   croak "Missing required input 'struct' value"
8581             unless defined $_[1];
8582              
8583             # Serializing field: 'dom'
8584             croak "Missing required input value 'dom'"
8585 0 0         unless exists $_[1]->{dom};
8586             # my ($class, $value, $index, $output) = @_;
8587 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8588              
8589             # Serializing field: 'vcpu'
8590             croak "Missing required input value 'vcpu'"
8591 0 0         unless exists $_[1]->{vcpu};
8592             # my ($class, $value, $index, $output) = @_;
8593             croak "Missing required input 'unsigned int' value"
8594 0 0         unless defined $_[1]->{vcpu};
8595             die "Out of bounds 'unsigned int': $_[1]->{vcpu}"
8596 0 0 0       unless (0 <= $_[1]->{vcpu} and $_[1]->{vcpu} <= 4294967295);
8597             die "Non-integer 'int' value given: $_[1]->{vcpu}"
8598 0 0         unless int($_[1]->{vcpu}) == $_[1]->{vcpu};
8599 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{vcpu});
8600 0           $_[2] += 4;
8601              
8602             # Serializing field: 'cpumap'
8603             croak "Missing required input value 'cpumap'"
8604 0 0         unless exists $_[1]->{cpumap};
8605             # my ($class, $value, $index, $output) = @_;
8606             croak "Missing required input 'opaque data' value"
8607 0 0         unless defined $_[1]->{cpumap};
8608 0           do {
8609 0           my $len = length $_[1]->{cpumap};
8610 0 0         die "Opaque data too long (max: 2048): $len"
8611             unless ($len <= 2048);
8612              
8613 0           substr( $_[3], $_[2] ) = pack("L>", $len);
8614 0           $_[2] += 4;
8615 0           substr( $_[3], $_[2] ) = $_[1]->{cpumap};
8616 0           $_[2] += $len;
8617 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
8618 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
8619 0           $_[2] += $pad;
8620             }
8621             };
8622             }
8623             # @_: ($class, $value, $index, $input) = @_;
8624             sub deserialize_domain_pin_vcpu_flags_args {
8625 0     0 0   my $input_length = length $_[3];
8626 0           $_[1] = {};
8627             # Deserializing field: 'dom'
8628             # my ($class, $value, $index, $input) = @_;
8629 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8630              
8631             # Deserializing field: 'vcpu'
8632             # my ($class, $value, $index, $input) = @_;
8633 0 0         die "Input buffer too short"
8634             if ($input_length - $_[2]) < 4;
8635 0           $_[1]->{vcpu} = unpack("L>", substr( $_[3], $_[2] ));
8636 0           $_[2] += 4;
8637             die "Out of bounds 'unsigned int': $_[1]->{vcpu}"
8638 0 0 0       unless (0 <= $_[1]->{vcpu} and $_[1]->{vcpu} <= 4294967295);
8639              
8640             # Deserializing field: 'cpumap'
8641             # my ($class, $value, $index, $input) = @_;
8642 0           do {
8643 0 0         die "Input buffer too short"
8644             if ($input_length - $_[2]) < 4;
8645 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
8646 0           $_[2] += 4;
8647 0 0         die "Opaque data too long (max: 2048): $len"
8648             unless ($len <= 2048);
8649 0 0         die "Input buffer too short"
8650             if ($input_length - $_[2]) < $len;
8651 0           $_[1]->{cpumap} = substr( $_[3], $_[2], $len );
8652 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
8653             };
8654              
8655             # Deserializing field: 'flags'
8656             # my ($class, $value, $index, $input) = @_;
8657 0 0         die "Input buffer too short"
8658             if ($input_length - $_[2]) < 4;
8659 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8660 0           $_[2] += 4;
8661             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8662 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8663             }
8664             # @_: ($class, $value, $index, $output) = @_;
8665             sub serialize_domain_pin_vcpu_flags_args {
8666 0 0   0 0   croak "Missing required input 'struct' value"
8667             unless defined $_[1];
8668              
8669             # Serializing field: 'dom'
8670             croak "Missing required input value 'dom'"
8671 0 0         unless exists $_[1]->{dom};
8672             # my ($class, $value, $index, $output) = @_;
8673 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8674              
8675             # Serializing field: 'vcpu'
8676             croak "Missing required input value 'vcpu'"
8677 0 0         unless exists $_[1]->{vcpu};
8678             # my ($class, $value, $index, $output) = @_;
8679             croak "Missing required input 'unsigned int' value"
8680 0 0         unless defined $_[1]->{vcpu};
8681             die "Out of bounds 'unsigned int': $_[1]->{vcpu}"
8682 0 0 0       unless (0 <= $_[1]->{vcpu} and $_[1]->{vcpu} <= 4294967295);
8683             die "Non-integer 'int' value given: $_[1]->{vcpu}"
8684 0 0         unless int($_[1]->{vcpu}) == $_[1]->{vcpu};
8685 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{vcpu});
8686 0           $_[2] += 4;
8687              
8688             # Serializing field: 'cpumap'
8689             croak "Missing required input value 'cpumap'"
8690 0 0         unless exists $_[1]->{cpumap};
8691             # my ($class, $value, $index, $output) = @_;
8692             croak "Missing required input 'opaque data' value"
8693 0 0         unless defined $_[1]->{cpumap};
8694 0           do {
8695 0           my $len = length $_[1]->{cpumap};
8696 0 0         die "Opaque data too long (max: 2048): $len"
8697             unless ($len <= 2048);
8698              
8699 0           substr( $_[3], $_[2] ) = pack("L>", $len);
8700 0           $_[2] += 4;
8701 0           substr( $_[3], $_[2] ) = $_[1]->{cpumap};
8702 0           $_[2] += $len;
8703 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
8704 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
8705 0           $_[2] += $pad;
8706             }
8707             };
8708              
8709             # Serializing field: 'flags'
8710             croak "Missing required input value 'flags'"
8711 0 0         unless exists $_[1]->{flags};
8712             # my ($class, $value, $index, $output) = @_;
8713             croak "Missing required input 'unsigned int' value"
8714 0 0         unless defined $_[1]->{flags};
8715             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8716 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8717             die "Non-integer 'int' value given: $_[1]->{flags}"
8718 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8719 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8720 0           $_[2] += 4;
8721             }
8722             # @_: ($class, $value, $index, $input) = @_;
8723             sub deserialize_domain_get_vcpu_pin_info_args {
8724 0     0 0   my $input_length = length $_[3];
8725 0           $_[1] = {};
8726             # Deserializing field: 'dom'
8727             # my ($class, $value, $index, $input) = @_;
8728 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8729              
8730             # Deserializing field: 'ncpumaps'
8731             # my ($class, $value, $index, $input) = @_;
8732 0 0         die "Input buffer too short"
8733             if ($input_length - $_[2]) < 4;
8734 0           $_[1]->{ncpumaps} = unpack("l>", substr( $_[3], $_[2] ));
8735 0           $_[2] += 4;
8736             die "Out of bounds 'int': $_[1]->{ncpumaps}"
8737 0 0 0       unless (-2147483648 <= $_[1]->{ncpumaps} and $_[1]->{ncpumaps} < 2147483648);
8738              
8739             # Deserializing field: 'maplen'
8740             # my ($class, $value, $index, $input) = @_;
8741 0 0         die "Input buffer too short"
8742             if ($input_length - $_[2]) < 4;
8743 0           $_[1]->{maplen} = unpack("l>", substr( $_[3], $_[2] ));
8744 0           $_[2] += 4;
8745             die "Out of bounds 'int': $_[1]->{maplen}"
8746 0 0 0       unless (-2147483648 <= $_[1]->{maplen} and $_[1]->{maplen} < 2147483648);
8747              
8748             # Deserializing field: 'flags'
8749             # my ($class, $value, $index, $input) = @_;
8750 0 0         die "Input buffer too short"
8751             if ($input_length - $_[2]) < 4;
8752 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8753 0           $_[2] += 4;
8754             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8755 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8756             }
8757             # @_: ($class, $value, $index, $output) = @_;
8758             sub serialize_domain_get_vcpu_pin_info_args {
8759 0 0   0 0   croak "Missing required input 'struct' value"
8760             unless defined $_[1];
8761              
8762             # Serializing field: 'dom'
8763             croak "Missing required input value 'dom'"
8764 0 0         unless exists $_[1]->{dom};
8765             # my ($class, $value, $index, $output) = @_;
8766 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8767              
8768             # Serializing field: 'ncpumaps'
8769             croak "Missing required input value 'ncpumaps'"
8770 0 0         unless exists $_[1]->{ncpumaps};
8771             # my ($class, $value, $index, $output) = @_;
8772             croak "Missing required input 'int' value"
8773 0 0         unless defined $_[1]->{ncpumaps};
8774             die "Out of bounds 'int': $_[1]->{ncpumaps}"
8775 0 0 0       unless (-2147483648 <= $_[1]->{ncpumaps} and $_[1]->{ncpumaps} < 2147483648);
8776             die "Non-integer 'int' value given: $_[1]->{ncpumaps}"
8777 0 0         unless int($_[1]->{ncpumaps}) == $_[1]->{ncpumaps};
8778 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ncpumaps});
8779 0           $_[2] += 4;
8780              
8781             # Serializing field: 'maplen'
8782             croak "Missing required input value 'maplen'"
8783 0 0         unless exists $_[1]->{maplen};
8784             # my ($class, $value, $index, $output) = @_;
8785             croak "Missing required input 'int' value"
8786 0 0         unless defined $_[1]->{maplen};
8787             die "Out of bounds 'int': $_[1]->{maplen}"
8788 0 0 0       unless (-2147483648 <= $_[1]->{maplen} and $_[1]->{maplen} < 2147483648);
8789             die "Non-integer 'int' value given: $_[1]->{maplen}"
8790 0 0         unless int($_[1]->{maplen}) == $_[1]->{maplen};
8791 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maplen});
8792 0           $_[2] += 4;
8793              
8794             # Serializing field: 'flags'
8795             croak "Missing required input value 'flags'"
8796 0 0         unless exists $_[1]->{flags};
8797             # my ($class, $value, $index, $output) = @_;
8798             croak "Missing required input 'unsigned int' value"
8799 0 0         unless defined $_[1]->{flags};
8800             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8801 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8802             die "Non-integer 'int' value given: $_[1]->{flags}"
8803 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8804 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8805 0           $_[2] += 4;
8806             }
8807             # @_: ($class, $value, $index, $input) = @_;
8808             sub deserialize_domain_get_vcpu_pin_info_ret {
8809 0     0 0   my $input_length = length $_[3];
8810 0           $_[1] = {};
8811             # Deserializing field: 'cpumaps'
8812             # my ($class, $value, $index, $input) = @_;
8813 0           do {
8814 0 0         die "Input buffer too short"
8815             if ($input_length - $_[2]) < 4;
8816 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
8817 0           $_[2] += 4;
8818 0 0         die "Opaque data too long (max: 8388608): $len"
8819             unless ($len <= 8388608);
8820 0 0         die "Input buffer too short"
8821             if ($input_length - $_[2]) < $len;
8822 0           $_[1]->{cpumaps} = substr( $_[3], $_[2], $len );
8823 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
8824             };
8825              
8826             # Deserializing field: 'num'
8827             # my ($class, $value, $index, $input) = @_;
8828 0 0         die "Input buffer too short"
8829             if ($input_length - $_[2]) < 4;
8830 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
8831 0           $_[2] += 4;
8832             die "Out of bounds 'int': $_[1]->{num}"
8833 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
8834             }
8835             # @_: ($class, $value, $index, $output) = @_;
8836             sub serialize_domain_get_vcpu_pin_info_ret {
8837 0 0   0 0   croak "Missing required input 'struct' value"
8838             unless defined $_[1];
8839              
8840             # Serializing field: 'cpumaps'
8841             croak "Missing required input value 'cpumaps'"
8842 0 0         unless exists $_[1]->{cpumaps};
8843             # my ($class, $value, $index, $output) = @_;
8844             croak "Missing required input 'opaque data' value"
8845 0 0         unless defined $_[1]->{cpumaps};
8846 0           do {
8847 0           my $len = length $_[1]->{cpumaps};
8848 0 0         die "Opaque data too long (max: 8388608): $len"
8849             unless ($len <= 8388608);
8850              
8851 0           substr( $_[3], $_[2] ) = pack("L>", $len);
8852 0           $_[2] += 4;
8853 0           substr( $_[3], $_[2] ) = $_[1]->{cpumaps};
8854 0           $_[2] += $len;
8855 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
8856 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
8857 0           $_[2] += $pad;
8858             }
8859             };
8860              
8861             # Serializing field: 'num'
8862             croak "Missing required input value 'num'"
8863 0 0         unless exists $_[1]->{num};
8864             # my ($class, $value, $index, $output) = @_;
8865             croak "Missing required input 'int' value"
8866 0 0         unless defined $_[1]->{num};
8867             die "Out of bounds 'int': $_[1]->{num}"
8868 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
8869             die "Non-integer 'int' value given: $_[1]->{num}"
8870 0 0         unless int($_[1]->{num}) == $_[1]->{num};
8871 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
8872 0           $_[2] += 4;
8873             }
8874             # @_: ($class, $value, $index, $input) = @_;
8875             sub deserialize_domain_pin_emulator_args {
8876 0     0 0   my $input_length = length $_[3];
8877 0           $_[1] = {};
8878             # Deserializing field: 'dom'
8879             # my ($class, $value, $index, $input) = @_;
8880 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8881              
8882             # Deserializing field: 'cpumap'
8883             # my ($class, $value, $index, $input) = @_;
8884 0           do {
8885 0 0         die "Input buffer too short"
8886             if ($input_length - $_[2]) < 4;
8887 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
8888 0           $_[2] += 4;
8889 0 0         die "Opaque data too long (max: 2048): $len"
8890             unless ($len <= 2048);
8891 0 0         die "Input buffer too short"
8892             if ($input_length - $_[2]) < $len;
8893 0           $_[1]->{cpumap} = substr( $_[3], $_[2], $len );
8894 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
8895             };
8896              
8897             # Deserializing field: 'flags'
8898             # my ($class, $value, $index, $input) = @_;
8899 0 0         die "Input buffer too short"
8900             if ($input_length - $_[2]) < 4;
8901 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8902 0           $_[2] += 4;
8903             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8904 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8905             }
8906             # @_: ($class, $value, $index, $output) = @_;
8907             sub serialize_domain_pin_emulator_args {
8908 0 0   0 0   croak "Missing required input 'struct' value"
8909             unless defined $_[1];
8910              
8911             # Serializing field: 'dom'
8912             croak "Missing required input value 'dom'"
8913 0 0         unless exists $_[1]->{dom};
8914             # my ($class, $value, $index, $output) = @_;
8915 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8916              
8917             # Serializing field: 'cpumap'
8918             croak "Missing required input value 'cpumap'"
8919 0 0         unless exists $_[1]->{cpumap};
8920             # my ($class, $value, $index, $output) = @_;
8921             croak "Missing required input 'opaque data' value"
8922 0 0         unless defined $_[1]->{cpumap};
8923 0           do {
8924 0           my $len = length $_[1]->{cpumap};
8925 0 0         die "Opaque data too long (max: 2048): $len"
8926             unless ($len <= 2048);
8927              
8928 0           substr( $_[3], $_[2] ) = pack("L>", $len);
8929 0           $_[2] += 4;
8930 0           substr( $_[3], $_[2] ) = $_[1]->{cpumap};
8931 0           $_[2] += $len;
8932 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
8933 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
8934 0           $_[2] += $pad;
8935             }
8936             };
8937              
8938             # Serializing field: 'flags'
8939             croak "Missing required input value 'flags'"
8940 0 0         unless exists $_[1]->{flags};
8941             # my ($class, $value, $index, $output) = @_;
8942             croak "Missing required input 'unsigned int' value"
8943 0 0         unless defined $_[1]->{flags};
8944             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8945 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8946             die "Non-integer 'int' value given: $_[1]->{flags}"
8947 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8948 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8949 0           $_[2] += 4;
8950             }
8951             # @_: ($class, $value, $index, $input) = @_;
8952             sub deserialize_domain_get_emulator_pin_info_args {
8953 0     0 0   my $input_length = length $_[3];
8954 0           $_[1] = {};
8955             # Deserializing field: 'dom'
8956             # my ($class, $value, $index, $input) = @_;
8957 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8958              
8959             # Deserializing field: 'maplen'
8960             # my ($class, $value, $index, $input) = @_;
8961 0 0         die "Input buffer too short"
8962             if ($input_length - $_[2]) < 4;
8963 0           $_[1]->{maplen} = unpack("l>", substr( $_[3], $_[2] ));
8964 0           $_[2] += 4;
8965             die "Out of bounds 'int': $_[1]->{maplen}"
8966 0 0 0       unless (-2147483648 <= $_[1]->{maplen} and $_[1]->{maplen} < 2147483648);
8967              
8968             # Deserializing field: 'flags'
8969             # my ($class, $value, $index, $input) = @_;
8970 0 0         die "Input buffer too short"
8971             if ($input_length - $_[2]) < 4;
8972 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8973 0           $_[2] += 4;
8974             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8975 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8976             }
8977             # @_: ($class, $value, $index, $output) = @_;
8978             sub serialize_domain_get_emulator_pin_info_args {
8979 0 0   0 0   croak "Missing required input 'struct' value"
8980             unless defined $_[1];
8981              
8982             # Serializing field: 'dom'
8983             croak "Missing required input value 'dom'"
8984 0 0         unless exists $_[1]->{dom};
8985             # my ($class, $value, $index, $output) = @_;
8986 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8987              
8988             # Serializing field: 'maplen'
8989             croak "Missing required input value 'maplen'"
8990 0 0         unless exists $_[1]->{maplen};
8991             # my ($class, $value, $index, $output) = @_;
8992             croak "Missing required input 'int' value"
8993 0 0         unless defined $_[1]->{maplen};
8994             die "Out of bounds 'int': $_[1]->{maplen}"
8995 0 0 0       unless (-2147483648 <= $_[1]->{maplen} and $_[1]->{maplen} < 2147483648);
8996             die "Non-integer 'int' value given: $_[1]->{maplen}"
8997 0 0         unless int($_[1]->{maplen}) == $_[1]->{maplen};
8998 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maplen});
8999 0           $_[2] += 4;
9000              
9001             # Serializing field: 'flags'
9002             croak "Missing required input value 'flags'"
9003 0 0         unless exists $_[1]->{flags};
9004             # my ($class, $value, $index, $output) = @_;
9005             croak "Missing required input 'unsigned int' value"
9006 0 0         unless defined $_[1]->{flags};
9007             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9008 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9009             die "Non-integer 'int' value given: $_[1]->{flags}"
9010 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
9011 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
9012 0           $_[2] += 4;
9013             }
9014             # @_: ($class, $value, $index, $input) = @_;
9015             sub deserialize_domain_get_emulator_pin_info_ret {
9016 0     0 0   my $input_length = length $_[3];
9017 0           $_[1] = {};
9018             # Deserializing field: 'cpumaps'
9019             # my ($class, $value, $index, $input) = @_;
9020 0           do {
9021 0 0         die "Input buffer too short"
9022             if ($input_length - $_[2]) < 4;
9023 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9024 0           $_[2] += 4;
9025 0 0         die "Opaque data too long (max: 8388608): $len"
9026             unless ($len <= 8388608);
9027 0 0         die "Input buffer too short"
9028             if ($input_length - $_[2]) < $len;
9029 0           $_[1]->{cpumaps} = substr( $_[3], $_[2], $len );
9030 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
9031             };
9032              
9033             # Deserializing field: 'ret'
9034             # my ($class, $value, $index, $input) = @_;
9035 0 0         die "Input buffer too short"
9036             if ($input_length - $_[2]) < 4;
9037 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
9038 0           $_[2] += 4;
9039             die "Out of bounds 'int': $_[1]->{ret}"
9040 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
9041             }
9042             # @_: ($class, $value, $index, $output) = @_;
9043             sub serialize_domain_get_emulator_pin_info_ret {
9044 0 0   0 0   croak "Missing required input 'struct' value"
9045             unless defined $_[1];
9046              
9047             # Serializing field: 'cpumaps'
9048             croak "Missing required input value 'cpumaps'"
9049 0 0         unless exists $_[1]->{cpumaps};
9050             # my ($class, $value, $index, $output) = @_;
9051             croak "Missing required input 'opaque data' value"
9052 0 0         unless defined $_[1]->{cpumaps};
9053 0           do {
9054 0           my $len = length $_[1]->{cpumaps};
9055 0 0         die "Opaque data too long (max: 8388608): $len"
9056             unless ($len <= 8388608);
9057              
9058 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9059 0           $_[2] += 4;
9060 0           substr( $_[3], $_[2] ) = $_[1]->{cpumaps};
9061 0           $_[2] += $len;
9062 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
9063 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
9064 0           $_[2] += $pad;
9065             }
9066             };
9067              
9068             # Serializing field: 'ret'
9069             croak "Missing required input value 'ret'"
9070 0 0         unless exists $_[1]->{ret};
9071             # my ($class, $value, $index, $output) = @_;
9072             croak "Missing required input 'int' value"
9073 0 0         unless defined $_[1]->{ret};
9074             die "Out of bounds 'int': $_[1]->{ret}"
9075 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
9076             die "Non-integer 'int' value given: $_[1]->{ret}"
9077 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
9078 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
9079 0           $_[2] += 4;
9080             }
9081             # @_: ($class, $value, $index, $input) = @_;
9082             sub deserialize_domain_get_vcpus_args {
9083 0     0 0   my $input_length = length $_[3];
9084 0           $_[1] = {};
9085             # Deserializing field: 'dom'
9086             # my ($class, $value, $index, $input) = @_;
9087 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9088              
9089             # Deserializing field: 'maxinfo'
9090             # my ($class, $value, $index, $input) = @_;
9091 0 0         die "Input buffer too short"
9092             if ($input_length - $_[2]) < 4;
9093 0           $_[1]->{maxinfo} = unpack("l>", substr( $_[3], $_[2] ));
9094 0           $_[2] += 4;
9095             die "Out of bounds 'int': $_[1]->{maxinfo}"
9096 0 0 0       unless (-2147483648 <= $_[1]->{maxinfo} and $_[1]->{maxinfo} < 2147483648);
9097              
9098             # Deserializing field: 'maplen'
9099             # my ($class, $value, $index, $input) = @_;
9100 0 0         die "Input buffer too short"
9101             if ($input_length - $_[2]) < 4;
9102 0           $_[1]->{maplen} = unpack("l>", substr( $_[3], $_[2] ));
9103 0           $_[2] += 4;
9104             die "Out of bounds 'int': $_[1]->{maplen}"
9105 0 0 0       unless (-2147483648 <= $_[1]->{maplen} and $_[1]->{maplen} < 2147483648);
9106             }
9107             # @_: ($class, $value, $index, $output) = @_;
9108             sub serialize_domain_get_vcpus_args {
9109 0 0   0 0   croak "Missing required input 'struct' value"
9110             unless defined $_[1];
9111              
9112             # Serializing field: 'dom'
9113             croak "Missing required input value 'dom'"
9114 0 0         unless exists $_[1]->{dom};
9115             # my ($class, $value, $index, $output) = @_;
9116 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9117              
9118             # Serializing field: 'maxinfo'
9119             croak "Missing required input value 'maxinfo'"
9120 0 0         unless exists $_[1]->{maxinfo};
9121             # my ($class, $value, $index, $output) = @_;
9122             croak "Missing required input 'int' value"
9123 0 0         unless defined $_[1]->{maxinfo};
9124             die "Out of bounds 'int': $_[1]->{maxinfo}"
9125 0 0 0       unless (-2147483648 <= $_[1]->{maxinfo} and $_[1]->{maxinfo} < 2147483648);
9126             die "Non-integer 'int' value given: $_[1]->{maxinfo}"
9127 0 0         unless int($_[1]->{maxinfo}) == $_[1]->{maxinfo};
9128 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxinfo});
9129 0           $_[2] += 4;
9130              
9131             # Serializing field: 'maplen'
9132             croak "Missing required input value 'maplen'"
9133 0 0         unless exists $_[1]->{maplen};
9134             # my ($class, $value, $index, $output) = @_;
9135             croak "Missing required input 'int' value"
9136 0 0         unless defined $_[1]->{maplen};
9137             die "Out of bounds 'int': $_[1]->{maplen}"
9138 0 0 0       unless (-2147483648 <= $_[1]->{maplen} and $_[1]->{maplen} < 2147483648);
9139             die "Non-integer 'int' value given: $_[1]->{maplen}"
9140 0 0         unless int($_[1]->{maplen}) == $_[1]->{maplen};
9141 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maplen});
9142 0           $_[2] += 4;
9143             }
9144             # @_: ($class, $value, $index, $input) = @_;
9145             sub deserialize_domain_get_vcpus_ret {
9146 0     0 0   my $input_length = length $_[3];
9147 0           $_[1] = {};
9148             # Deserializing field: 'info'
9149             # my ($class, $value, $index, $input) = @_;
9150 0           do {
9151 0 0         die "Input buffer too short"
9152             if ($input_length - $_[2]) < 4;
9153 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9154 0           $_[2] += 4;
9155              
9156 0 0         die "Array too long (max: 16384): $len"
9157             unless ($len <= 16384);
9158 0           $_[1]->{info} = [];
9159 0           for my $i1 ( 0 .. ($len - 1) ) {
9160             # my ($class, $value, $index, $input) = @_;
9161 0           $_[0]->deserialize_vcpu_info( $_[1]->{info}->[$i1], $_[2], $_[3] );
9162             }
9163             };
9164              
9165             # Deserializing field: 'cpumaps'
9166             # my ($class, $value, $index, $input) = @_;
9167 0           do {
9168 0 0         die "Input buffer too short"
9169             if ($input_length - $_[2]) < 4;
9170 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9171 0           $_[2] += 4;
9172 0 0         die "Opaque data too long (max: 8388608): $len"
9173             unless ($len <= 8388608);
9174 0 0         die "Input buffer too short"
9175             if ($input_length - $_[2]) < $len;
9176 0           $_[1]->{cpumaps} = substr( $_[3], $_[2], $len );
9177 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
9178             };
9179             }
9180             # @_: ($class, $value, $index, $output) = @_;
9181             sub serialize_domain_get_vcpus_ret {
9182 0 0   0 0   croak "Missing required input 'struct' value"
9183             unless defined $_[1];
9184              
9185             # Serializing field: 'info'
9186             croak "Missing required input value 'info'"
9187 0 0         unless exists $_[1]->{info};
9188             # my ($class, $value, $index, $output) = @_;
9189             croak "Missing required input 'array' value"
9190 0 0         unless defined $_[1]->{info};
9191 0           do {
9192 0           my $len = scalar @{ $_[1]->{info} };
  0            
9193 0 0         die "Array too long (max: 16384): $len"
9194             unless ($len <= 16384);
9195              
9196 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9197 0           $_[2] += 4;
9198 0           for my $i1 ( 0 .. ($len - 1) ) {
9199             # my ($class, $value, $index, $output) = @_;
9200 0           $_[0]->serialize_vcpu_info( $_[1]->{info}->[$i1], $_[2], $_[3] );
9201             }
9202             };
9203              
9204             # Serializing field: 'cpumaps'
9205             croak "Missing required input value 'cpumaps'"
9206 0 0         unless exists $_[1]->{cpumaps};
9207             # my ($class, $value, $index, $output) = @_;
9208             croak "Missing required input 'opaque data' value"
9209 0 0         unless defined $_[1]->{cpumaps};
9210 0           do {
9211 0           my $len = length $_[1]->{cpumaps};
9212 0 0         die "Opaque data too long (max: 8388608): $len"
9213             unless ($len <= 8388608);
9214              
9215 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9216 0           $_[2] += 4;
9217 0           substr( $_[3], $_[2] ) = $_[1]->{cpumaps};
9218 0           $_[2] += $len;
9219 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
9220 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
9221 0           $_[2] += $pad;
9222             }
9223             };
9224             }
9225             # @_: ($class, $value, $index, $input) = @_;
9226             sub deserialize_domain_get_max_vcpus_args {
9227 0     0 0   my $input_length = length $_[3];
9228 0           $_[1] = {};
9229             # Deserializing field: 'dom'
9230             # my ($class, $value, $index, $input) = @_;
9231 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9232             }
9233             # @_: ($class, $value, $index, $output) = @_;
9234             sub serialize_domain_get_max_vcpus_args {
9235 0 0   0 0   croak "Missing required input 'struct' value"
9236             unless defined $_[1];
9237              
9238             # Serializing field: 'dom'
9239             croak "Missing required input value 'dom'"
9240 0 0         unless exists $_[1]->{dom};
9241             # my ($class, $value, $index, $output) = @_;
9242 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9243             }
9244             # @_: ($class, $value, $index, $input) = @_;
9245             sub deserialize_domain_get_max_vcpus_ret {
9246 0     0 0   my $input_length = length $_[3];
9247 0           $_[1] = {};
9248             # Deserializing field: 'num'
9249             # my ($class, $value, $index, $input) = @_;
9250 0 0         die "Input buffer too short"
9251             if ($input_length - $_[2]) < 4;
9252 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
9253 0           $_[2] += 4;
9254             die "Out of bounds 'int': $_[1]->{num}"
9255 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
9256             }
9257             # @_: ($class, $value, $index, $output) = @_;
9258             sub serialize_domain_get_max_vcpus_ret {
9259 0 0   0 0   croak "Missing required input 'struct' value"
9260             unless defined $_[1];
9261              
9262             # Serializing field: 'num'
9263             croak "Missing required input value 'num'"
9264 0 0         unless exists $_[1]->{num};
9265             # my ($class, $value, $index, $output) = @_;
9266             croak "Missing required input 'int' value"
9267 0 0         unless defined $_[1]->{num};
9268             die "Out of bounds 'int': $_[1]->{num}"
9269 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
9270             die "Non-integer 'int' value given: $_[1]->{num}"
9271 0 0         unless int($_[1]->{num}) == $_[1]->{num};
9272 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
9273 0           $_[2] += 4;
9274             }
9275             # @_: ($class, $value, $index, $input) = @_;
9276             sub deserialize_domain_iothread_info {
9277 0     0 0   my $input_length = length $_[3];
9278 0           $_[1] = {};
9279             # Deserializing field: 'iothread_id'
9280             # my ($class, $value, $index, $input) = @_;
9281 0 0         die "Input buffer too short"
9282             if ($input_length - $_[2]) < 4;
9283 0           $_[1]->{iothread_id} = unpack("L>", substr( $_[3], $_[2] ));
9284 0           $_[2] += 4;
9285             die "Out of bounds 'unsigned int': $_[1]->{iothread_id}"
9286 0 0 0       unless (0 <= $_[1]->{iothread_id} and $_[1]->{iothread_id} <= 4294967295);
9287              
9288             # Deserializing field: 'cpumap'
9289             # my ($class, $value, $index, $input) = @_;
9290 0           do {
9291 0 0         die "Input buffer too short"
9292             if ($input_length - $_[2]) < 4;
9293 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9294 0           $_[2] += 4;
9295 0 0         die "Opaque data too long (max: 2048): $len"
9296             unless ($len <= 2048);
9297 0 0         die "Input buffer too short"
9298             if ($input_length - $_[2]) < $len;
9299 0           $_[1]->{cpumap} = substr( $_[3], $_[2], $len );
9300 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
9301             };
9302             }
9303             # @_: ($class, $value, $index, $output) = @_;
9304             sub serialize_domain_iothread_info {
9305 0 0   0 0   croak "Missing required input 'struct' value"
9306             unless defined $_[1];
9307              
9308             # Serializing field: 'iothread_id'
9309             croak "Missing required input value 'iothread_id'"
9310 0 0         unless exists $_[1]->{iothread_id};
9311             # my ($class, $value, $index, $output) = @_;
9312             croak "Missing required input 'unsigned int' value"
9313 0 0         unless defined $_[1]->{iothread_id};
9314             die "Out of bounds 'unsigned int': $_[1]->{iothread_id}"
9315 0 0 0       unless (0 <= $_[1]->{iothread_id} and $_[1]->{iothread_id} <= 4294967295);
9316             die "Non-integer 'int' value given: $_[1]->{iothread_id}"
9317 0 0         unless int($_[1]->{iothread_id}) == $_[1]->{iothread_id};
9318 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{iothread_id});
9319 0           $_[2] += 4;
9320              
9321             # Serializing field: 'cpumap'
9322             croak "Missing required input value 'cpumap'"
9323 0 0         unless exists $_[1]->{cpumap};
9324             # my ($class, $value, $index, $output) = @_;
9325             croak "Missing required input 'opaque data' value"
9326 0 0         unless defined $_[1]->{cpumap};
9327 0           do {
9328 0           my $len = length $_[1]->{cpumap};
9329 0 0         die "Opaque data too long (max: 2048): $len"
9330             unless ($len <= 2048);
9331              
9332 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9333 0           $_[2] += 4;
9334 0           substr( $_[3], $_[2] ) = $_[1]->{cpumap};
9335 0           $_[2] += $len;
9336 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
9337 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
9338 0           $_[2] += $pad;
9339             }
9340             };
9341             }
9342             # @_: ($class, $value, $index, $input) = @_;
9343             sub deserialize_domain_get_iothread_info_args {
9344 0     0 0   my $input_length = length $_[3];
9345 0           $_[1] = {};
9346             # Deserializing field: 'dom'
9347             # my ($class, $value, $index, $input) = @_;
9348 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9349              
9350             # Deserializing field: 'flags'
9351             # my ($class, $value, $index, $input) = @_;
9352 0 0         die "Input buffer too short"
9353             if ($input_length - $_[2]) < 4;
9354 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
9355 0           $_[2] += 4;
9356             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9357 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9358             }
9359             # @_: ($class, $value, $index, $output) = @_;
9360             sub serialize_domain_get_iothread_info_args {
9361 0 0   0 0   croak "Missing required input 'struct' value"
9362             unless defined $_[1];
9363              
9364             # Serializing field: 'dom'
9365             croak "Missing required input value 'dom'"
9366 0 0         unless exists $_[1]->{dom};
9367             # my ($class, $value, $index, $output) = @_;
9368 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9369              
9370             # Serializing field: 'flags'
9371             croak "Missing required input value 'flags'"
9372 0 0         unless exists $_[1]->{flags};
9373             # my ($class, $value, $index, $output) = @_;
9374             croak "Missing required input 'unsigned int' value"
9375 0 0         unless defined $_[1]->{flags};
9376             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9377 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9378             die "Non-integer 'int' value given: $_[1]->{flags}"
9379 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
9380 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
9381 0           $_[2] += 4;
9382             }
9383             # @_: ($class, $value, $index, $input) = @_;
9384             sub deserialize_domain_get_iothread_info_ret {
9385 0     0 0   my $input_length = length $_[3];
9386 0           $_[1] = {};
9387             # Deserializing field: 'info'
9388             # my ($class, $value, $index, $input) = @_;
9389 0           do {
9390 0 0         die "Input buffer too short"
9391             if ($input_length - $_[2]) < 4;
9392 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9393 0           $_[2] += 4;
9394              
9395 0 0         die "Array too long (max: 16384): $len"
9396             unless ($len <= 16384);
9397 0           $_[1]->{info} = [];
9398 0           for my $i1 ( 0 .. ($len - 1) ) {
9399             # my ($class, $value, $index, $input) = @_;
9400 0           $_[0]->deserialize_domain_iothread_info( $_[1]->{info}->[$i1], $_[2], $_[3] );
9401             }
9402             };
9403              
9404             # Deserializing field: 'ret'
9405             # my ($class, $value, $index, $input) = @_;
9406 0 0         die "Input buffer too short"
9407             if ($input_length - $_[2]) < 4;
9408 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
9409 0           $_[2] += 4;
9410             die "Out of bounds 'unsigned int': $_[1]->{ret}"
9411 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
9412             }
9413             # @_: ($class, $value, $index, $output) = @_;
9414             sub serialize_domain_get_iothread_info_ret {
9415 0 0   0 0   croak "Missing required input 'struct' value"
9416             unless defined $_[1];
9417              
9418             # Serializing field: 'info'
9419             croak "Missing required input value 'info'"
9420 0 0         unless exists $_[1]->{info};
9421             # my ($class, $value, $index, $output) = @_;
9422             croak "Missing required input 'array' value"
9423 0 0         unless defined $_[1]->{info};
9424 0           do {
9425 0           my $len = scalar @{ $_[1]->{info} };
  0            
9426 0 0         die "Array too long (max: 16384): $len"
9427             unless ($len <= 16384);
9428              
9429 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9430 0           $_[2] += 4;
9431 0           for my $i1 ( 0 .. ($len - 1) ) {
9432             # my ($class, $value, $index, $output) = @_;
9433 0           $_[0]->serialize_domain_iothread_info( $_[1]->{info}->[$i1], $_[2], $_[3] );
9434             }
9435             };
9436              
9437             # Serializing field: 'ret'
9438             croak "Missing required input value 'ret'"
9439 0 0         unless exists $_[1]->{ret};
9440             # my ($class, $value, $index, $output) = @_;
9441             croak "Missing required input 'unsigned int' value"
9442 0 0         unless defined $_[1]->{ret};
9443             die "Out of bounds 'unsigned int': $_[1]->{ret}"
9444 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
9445             die "Non-integer 'int' value given: $_[1]->{ret}"
9446 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
9447 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
9448 0           $_[2] += 4;
9449             }
9450             # @_: ($class, $value, $index, $input) = @_;
9451             sub deserialize_domain_pin_iothread_args {
9452 0     0 0   my $input_length = length $_[3];
9453 0           $_[1] = {};
9454             # Deserializing field: 'dom'
9455             # my ($class, $value, $index, $input) = @_;
9456 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9457              
9458             # Deserializing field: 'iothreads_id'
9459             # my ($class, $value, $index, $input) = @_;
9460 0 0         die "Input buffer too short"
9461             if ($input_length - $_[2]) < 4;
9462 0           $_[1]->{iothreads_id} = unpack("L>", substr( $_[3], $_[2] ));
9463 0           $_[2] += 4;
9464             die "Out of bounds 'unsigned int': $_[1]->{iothreads_id}"
9465 0 0 0       unless (0 <= $_[1]->{iothreads_id} and $_[1]->{iothreads_id} <= 4294967295);
9466              
9467             # Deserializing field: 'cpumap'
9468             # my ($class, $value, $index, $input) = @_;
9469 0           do {
9470 0 0         die "Input buffer too short"
9471             if ($input_length - $_[2]) < 4;
9472 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9473 0           $_[2] += 4;
9474 0 0         die "Opaque data too long (max: 2048): $len"
9475             unless ($len <= 2048);
9476 0 0         die "Input buffer too short"
9477             if ($input_length - $_[2]) < $len;
9478 0           $_[1]->{cpumap} = substr( $_[3], $_[2], $len );
9479 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
9480             };
9481              
9482             # Deserializing field: 'flags'
9483             # my ($class, $value, $index, $input) = @_;
9484 0 0         die "Input buffer too short"
9485             if ($input_length - $_[2]) < 4;
9486 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
9487 0           $_[2] += 4;
9488             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9489 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9490             }
9491             # @_: ($class, $value, $index, $output) = @_;
9492             sub serialize_domain_pin_iothread_args {
9493 0 0   0 0   croak "Missing required input 'struct' value"
9494             unless defined $_[1];
9495              
9496             # Serializing field: 'dom'
9497             croak "Missing required input value 'dom'"
9498 0 0         unless exists $_[1]->{dom};
9499             # my ($class, $value, $index, $output) = @_;
9500 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9501              
9502             # Serializing field: 'iothreads_id'
9503             croak "Missing required input value 'iothreads_id'"
9504 0 0         unless exists $_[1]->{iothreads_id};
9505             # my ($class, $value, $index, $output) = @_;
9506             croak "Missing required input 'unsigned int' value"
9507 0 0         unless defined $_[1]->{iothreads_id};
9508             die "Out of bounds 'unsigned int': $_[1]->{iothreads_id}"
9509 0 0 0       unless (0 <= $_[1]->{iothreads_id} and $_[1]->{iothreads_id} <= 4294967295);
9510             die "Non-integer 'int' value given: $_[1]->{iothreads_id}"
9511 0 0         unless int($_[1]->{iothreads_id}) == $_[1]->{iothreads_id};
9512 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{iothreads_id});
9513 0           $_[2] += 4;
9514              
9515             # Serializing field: 'cpumap'
9516             croak "Missing required input value 'cpumap'"
9517 0 0         unless exists $_[1]->{cpumap};
9518             # my ($class, $value, $index, $output) = @_;
9519             croak "Missing required input 'opaque data' value"
9520 0 0         unless defined $_[1]->{cpumap};
9521 0           do {
9522 0           my $len = length $_[1]->{cpumap};
9523 0 0         die "Opaque data too long (max: 2048): $len"
9524             unless ($len <= 2048);
9525              
9526 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9527 0           $_[2] += 4;
9528 0           substr( $_[3], $_[2] ) = $_[1]->{cpumap};
9529 0           $_[2] += $len;
9530 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
9531 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
9532 0           $_[2] += $pad;
9533             }
9534             };
9535              
9536             # Serializing field: 'flags'
9537             croak "Missing required input value 'flags'"
9538 0 0         unless exists $_[1]->{flags};
9539             # my ($class, $value, $index, $output) = @_;
9540             croak "Missing required input 'unsigned int' value"
9541 0 0         unless defined $_[1]->{flags};
9542             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9543 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9544             die "Non-integer 'int' value given: $_[1]->{flags}"
9545 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
9546 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
9547 0           $_[2] += 4;
9548             }
9549             # @_: ($class, $value, $index, $input) = @_;
9550             sub deserialize_domain_add_iothread_args {
9551 0     0 0   my $input_length = length $_[3];
9552 0           $_[1] = {};
9553             # Deserializing field: 'dom'
9554             # my ($class, $value, $index, $input) = @_;
9555 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9556              
9557             # Deserializing field: 'iothread_id'
9558             # my ($class, $value, $index, $input) = @_;
9559 0 0         die "Input buffer too short"
9560             if ($input_length - $_[2]) < 4;
9561 0           $_[1]->{iothread_id} = unpack("L>", substr( $_[3], $_[2] ));
9562 0           $_[2] += 4;
9563             die "Out of bounds 'unsigned int': $_[1]->{iothread_id}"
9564 0 0 0       unless (0 <= $_[1]->{iothread_id} and $_[1]->{iothread_id} <= 4294967295);
9565              
9566             # Deserializing field: 'flags'
9567             # my ($class, $value, $index, $input) = @_;
9568 0 0         die "Input buffer too short"
9569             if ($input_length - $_[2]) < 4;
9570 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
9571 0           $_[2] += 4;
9572             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9573 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9574             }
9575             # @_: ($class, $value, $index, $output) = @_;
9576             sub serialize_domain_add_iothread_args {
9577 0 0   0 0   croak "Missing required input 'struct' value"
9578             unless defined $_[1];
9579              
9580             # Serializing field: 'dom'
9581             croak "Missing required input value 'dom'"
9582 0 0         unless exists $_[1]->{dom};
9583             # my ($class, $value, $index, $output) = @_;
9584 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9585              
9586             # Serializing field: 'iothread_id'
9587             croak "Missing required input value 'iothread_id'"
9588 0 0         unless exists $_[1]->{iothread_id};
9589             # my ($class, $value, $index, $output) = @_;
9590             croak "Missing required input 'unsigned int' value"
9591 0 0         unless defined $_[1]->{iothread_id};
9592             die "Out of bounds 'unsigned int': $_[1]->{iothread_id}"
9593 0 0 0       unless (0 <= $_[1]->{iothread_id} and $_[1]->{iothread_id} <= 4294967295);
9594             die "Non-integer 'int' value given: $_[1]->{iothread_id}"
9595 0 0         unless int($_[1]->{iothread_id}) == $_[1]->{iothread_id};
9596 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{iothread_id});
9597 0           $_[2] += 4;
9598              
9599             # Serializing field: 'flags'
9600             croak "Missing required input value 'flags'"
9601 0 0         unless exists $_[1]->{flags};
9602             # my ($class, $value, $index, $output) = @_;
9603             croak "Missing required input 'unsigned int' value"
9604 0 0         unless defined $_[1]->{flags};
9605             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9606 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9607             die "Non-integer 'int' value given: $_[1]->{flags}"
9608 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
9609 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
9610 0           $_[2] += 4;
9611             }
9612             # @_: ($class, $value, $index, $input) = @_;
9613             sub deserialize_domain_del_iothread_args {
9614 0     0 0   my $input_length = length $_[3];
9615 0           $_[1] = {};
9616             # Deserializing field: 'dom'
9617             # my ($class, $value, $index, $input) = @_;
9618 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9619              
9620             # Deserializing field: 'iothread_id'
9621             # my ($class, $value, $index, $input) = @_;
9622 0 0         die "Input buffer too short"
9623             if ($input_length - $_[2]) < 4;
9624 0           $_[1]->{iothread_id} = unpack("L>", substr( $_[3], $_[2] ));
9625 0           $_[2] += 4;
9626             die "Out of bounds 'unsigned int': $_[1]->{iothread_id}"
9627 0 0 0       unless (0 <= $_[1]->{iothread_id} and $_[1]->{iothread_id} <= 4294967295);
9628              
9629             # Deserializing field: 'flags'
9630             # my ($class, $value, $index, $input) = @_;
9631 0 0         die "Input buffer too short"
9632             if ($input_length - $_[2]) < 4;
9633 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
9634 0           $_[2] += 4;
9635             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9636 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9637             }
9638             # @_: ($class, $value, $index, $output) = @_;
9639             sub serialize_domain_del_iothread_args {
9640 0 0   0 0   croak "Missing required input 'struct' value"
9641             unless defined $_[1];
9642              
9643             # Serializing field: 'dom'
9644             croak "Missing required input value 'dom'"
9645 0 0         unless exists $_[1]->{dom};
9646             # my ($class, $value, $index, $output) = @_;
9647 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9648              
9649             # Serializing field: 'iothread_id'
9650             croak "Missing required input value 'iothread_id'"
9651 0 0         unless exists $_[1]->{iothread_id};
9652             # my ($class, $value, $index, $output) = @_;
9653             croak "Missing required input 'unsigned int' value"
9654 0 0         unless defined $_[1]->{iothread_id};
9655             die "Out of bounds 'unsigned int': $_[1]->{iothread_id}"
9656 0 0 0       unless (0 <= $_[1]->{iothread_id} and $_[1]->{iothread_id} <= 4294967295);
9657             die "Non-integer 'int' value given: $_[1]->{iothread_id}"
9658 0 0         unless int($_[1]->{iothread_id}) == $_[1]->{iothread_id};
9659 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{iothread_id});
9660 0           $_[2] += 4;
9661              
9662             # Serializing field: 'flags'
9663             croak "Missing required input value 'flags'"
9664 0 0         unless exists $_[1]->{flags};
9665             # my ($class, $value, $index, $output) = @_;
9666             croak "Missing required input 'unsigned int' value"
9667 0 0         unless defined $_[1]->{flags};
9668             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9669 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9670             die "Non-integer 'int' value given: $_[1]->{flags}"
9671 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
9672 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
9673 0           $_[2] += 4;
9674             }
9675             # @_: ($class, $value, $index, $input) = @_;
9676             sub deserialize_domain_set_iothread_params_args {
9677 0     0 0   my $input_length = length $_[3];
9678 0           $_[1] = {};
9679             # Deserializing field: 'dom'
9680             # my ($class, $value, $index, $input) = @_;
9681 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9682              
9683             # Deserializing field: 'iothread_id'
9684             # my ($class, $value, $index, $input) = @_;
9685 0 0         die "Input buffer too short"
9686             if ($input_length - $_[2]) < 4;
9687 0           $_[1]->{iothread_id} = unpack("L>", substr( $_[3], $_[2] ));
9688 0           $_[2] += 4;
9689             die "Out of bounds 'unsigned int': $_[1]->{iothread_id}"
9690 0 0 0       unless (0 <= $_[1]->{iothread_id} and $_[1]->{iothread_id} <= 4294967295);
9691              
9692             # Deserializing field: 'params'
9693             # my ($class, $value, $index, $input) = @_;
9694 0           do {
9695 0 0         die "Input buffer too short"
9696             if ($input_length - $_[2]) < 4;
9697 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9698 0           $_[2] += 4;
9699              
9700 0 0         die "Array too long (max: 64): $len"
9701             unless ($len <= 64);
9702 0           $_[1]->{params} = [];
9703 0           for my $i1 ( 0 .. ($len - 1) ) {
9704             # my ($class, $value, $index, $input) = @_;
9705 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
9706             }
9707             };
9708              
9709             # Deserializing field: 'flags'
9710             # my ($class, $value, $index, $input) = @_;
9711 0 0         die "Input buffer too short"
9712             if ($input_length - $_[2]) < 4;
9713 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
9714 0           $_[2] += 4;
9715             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9716 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9717             }
9718             # @_: ($class, $value, $index, $output) = @_;
9719             sub serialize_domain_set_iothread_params_args {
9720 0 0   0 0   croak "Missing required input 'struct' value"
9721             unless defined $_[1];
9722              
9723             # Serializing field: 'dom'
9724             croak "Missing required input value 'dom'"
9725 0 0         unless exists $_[1]->{dom};
9726             # my ($class, $value, $index, $output) = @_;
9727 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9728              
9729             # Serializing field: 'iothread_id'
9730             croak "Missing required input value 'iothread_id'"
9731 0 0         unless exists $_[1]->{iothread_id};
9732             # my ($class, $value, $index, $output) = @_;
9733             croak "Missing required input 'unsigned int' value"
9734 0 0         unless defined $_[1]->{iothread_id};
9735             die "Out of bounds 'unsigned int': $_[1]->{iothread_id}"
9736 0 0 0       unless (0 <= $_[1]->{iothread_id} and $_[1]->{iothread_id} <= 4294967295);
9737             die "Non-integer 'int' value given: $_[1]->{iothread_id}"
9738 0 0         unless int($_[1]->{iothread_id}) == $_[1]->{iothread_id};
9739 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{iothread_id});
9740 0           $_[2] += 4;
9741              
9742             # Serializing field: 'params'
9743             croak "Missing required input value 'params'"
9744 0 0         unless exists $_[1]->{params};
9745             # my ($class, $value, $index, $output) = @_;
9746             croak "Missing required input 'array' value"
9747 0 0         unless defined $_[1]->{params};
9748 0           do {
9749 0           my $len = scalar @{ $_[1]->{params} };
  0            
9750 0 0         die "Array too long (max: 64): $len"
9751             unless ($len <= 64);
9752              
9753 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9754 0           $_[2] += 4;
9755 0           for my $i1 ( 0 .. ($len - 1) ) {
9756             # my ($class, $value, $index, $output) = @_;
9757 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
9758             }
9759             };
9760              
9761             # Serializing field: 'flags'
9762             croak "Missing required input value 'flags'"
9763 0 0         unless exists $_[1]->{flags};
9764             # my ($class, $value, $index, $output) = @_;
9765             croak "Missing required input 'unsigned int' value"
9766 0 0         unless defined $_[1]->{flags};
9767             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9768 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9769             die "Non-integer 'int' value given: $_[1]->{flags}"
9770 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
9771 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
9772 0           $_[2] += 4;
9773             }
9774             # @_: ($class, $value, $index, $input) = @_;
9775             sub deserialize_domain_get_security_label_args {
9776 0     0 0   my $input_length = length $_[3];
9777 0           $_[1] = {};
9778             # Deserializing field: 'dom'
9779             # my ($class, $value, $index, $input) = @_;
9780 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9781             }
9782             # @_: ($class, $value, $index, $output) = @_;
9783             sub serialize_domain_get_security_label_args {
9784 0 0   0 0   croak "Missing required input 'struct' value"
9785             unless defined $_[1];
9786              
9787             # Serializing field: 'dom'
9788             croak "Missing required input value 'dom'"
9789 0 0         unless exists $_[1]->{dom};
9790             # my ($class, $value, $index, $output) = @_;
9791 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9792             }
9793             # @_: ($class, $value, $index, $input) = @_;
9794             sub deserialize_domain_get_security_label_ret {
9795 0     0 0   my $input_length = length $_[3];
9796 0           $_[1] = {};
9797             # Deserializing field: 'label'
9798             # my ($class, $value, $index, $input) = @_;
9799 0           do {
9800 0 0         die "Input buffer too short"
9801             if ($input_length - $_[2]) < 4;
9802 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9803 0           $_[2] += 4;
9804              
9805 0 0         die "Array too long (max: 4097): $len"
9806             unless ($len <= 4097);
9807 0           $_[1]->{label} = [];
9808 0           for my $i1 ( 0 .. ($len - 1) ) {
9809             # my ($class, $value, $index, $input) = @_;
9810 0 0         die "Input buffer too short"
9811             if ($input_length - $_[2]) < 4;
9812 0           $_[1]->{label}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
9813 0           $_[2] += 4;
9814             die "Out of bounds 'char': $_[1]->{label}->[$i1]"
9815 0 0 0       unless (-128 <= $_[1]->{label}->[$i1] and $_[1]->{label}->[$i1] < 128);
9816             }
9817 0           $_[1]->{label} = pack('c*', @{ $_[1]->{label} });
  0            
9818             };
9819              
9820             # Deserializing field: 'enforcing'
9821             # my ($class, $value, $index, $input) = @_;
9822 0 0         die "Input buffer too short"
9823             if ($input_length - $_[2]) < 4;
9824 0           $_[1]->{enforcing} = unpack("l>", substr( $_[3], $_[2] ));
9825 0           $_[2] += 4;
9826             die "Out of bounds 'int': $_[1]->{enforcing}"
9827 0 0 0       unless (-2147483648 <= $_[1]->{enforcing} and $_[1]->{enforcing} < 2147483648);
9828             }
9829             # @_: ($class, $value, $index, $output) = @_;
9830             sub serialize_domain_get_security_label_ret {
9831 0 0   0 0   croak "Missing required input 'struct' value"
9832             unless defined $_[1];
9833              
9834             # Serializing field: 'label'
9835             croak "Missing required input value 'label'"
9836 0 0         unless exists $_[1]->{label};
9837             # my ($class, $value, $index, $output) = @_;
9838             croak "Missing required input 'array' value"
9839 0 0         unless defined $_[1]->{label};
9840 0           do {
9841 0           local $_[1]->{label} = [ unpack('c*', $_[1]->{label}) ];
9842 0           my $len = scalar @{ $_[1]->{label} };
  0            
9843 0 0         die "Array too long (max: 4097): $len"
9844             unless ($len <= 4097);
9845              
9846 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9847 0           $_[2] += 4;
9848 0           for my $i1 ( 0 .. ($len - 1) ) {
9849             # my ($class, $value, $index, $output) = @_;
9850             croak "Missing required input 'char' value"
9851 0 0         unless defined $_[1]->{label}->[$i1];
9852             die "Out of bounds 'char': $_[1]->{label}->[$i1]"
9853 0 0 0       unless (-128 <= $_[1]->{label}->[$i1] and $_[1]->{label}->[$i1] < 128);
9854             die "Non-integer 'char' value given: $_[1]->{label}->[$i1]"
9855 0 0         unless int($_[1]->{label}->[$i1]) == $_[1]->{label}->[$i1];
9856 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{label}->[$i1]);
9857 0           $_[2] += 4;
9858             }
9859             };
9860              
9861             # Serializing field: 'enforcing'
9862             croak "Missing required input value 'enforcing'"
9863 0 0         unless exists $_[1]->{enforcing};
9864             # my ($class, $value, $index, $output) = @_;
9865             croak "Missing required input 'int' value"
9866 0 0         unless defined $_[1]->{enforcing};
9867             die "Out of bounds 'int': $_[1]->{enforcing}"
9868 0 0 0       unless (-2147483648 <= $_[1]->{enforcing} and $_[1]->{enforcing} < 2147483648);
9869             die "Non-integer 'int' value given: $_[1]->{enforcing}"
9870 0 0         unless int($_[1]->{enforcing}) == $_[1]->{enforcing};
9871 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{enforcing});
9872 0           $_[2] += 4;
9873             }
9874             # @_: ($class, $value, $index, $input) = @_;
9875             sub deserialize_domain_get_security_label_list_args {
9876 0     0 0   my $input_length = length $_[3];
9877 0           $_[1] = {};
9878             # Deserializing field: 'dom'
9879             # my ($class, $value, $index, $input) = @_;
9880 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9881             }
9882             # @_: ($class, $value, $index, $output) = @_;
9883             sub serialize_domain_get_security_label_list_args {
9884 0 0   0 0   croak "Missing required input 'struct' value"
9885             unless defined $_[1];
9886              
9887             # Serializing field: 'dom'
9888             croak "Missing required input value 'dom'"
9889 0 0         unless exists $_[1]->{dom};
9890             # my ($class, $value, $index, $output) = @_;
9891 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9892             }
9893             # @_: ($class, $value, $index, $input) = @_;
9894             sub deserialize_domain_get_security_label_list_ret {
9895 0     0 0   my $input_length = length $_[3];
9896 0           $_[1] = {};
9897             # Deserializing field: 'labels'
9898             # my ($class, $value, $index, $input) = @_;
9899 0           do {
9900 0 0         die "Input buffer too short"
9901             if ($input_length - $_[2]) < 4;
9902 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9903 0           $_[2] += 4;
9904              
9905 0 0         die "Array too long (max: 64): $len"
9906             unless ($len <= 64);
9907 0           $_[1]->{labels} = [];
9908 0           for my $i1 ( 0 .. ($len - 1) ) {
9909             # my ($class, $value, $index, $input) = @_;
9910 0           $_[0]->deserialize_domain_get_security_label_ret( $_[1]->{labels}->[$i1], $_[2], $_[3] );
9911             }
9912             };
9913              
9914             # Deserializing field: 'ret'
9915             # my ($class, $value, $index, $input) = @_;
9916 0 0         die "Input buffer too short"
9917             if ($input_length - $_[2]) < 4;
9918 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
9919 0           $_[2] += 4;
9920             die "Out of bounds 'int': $_[1]->{ret}"
9921 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
9922             }
9923             # @_: ($class, $value, $index, $output) = @_;
9924             sub serialize_domain_get_security_label_list_ret {
9925 0 0   0 0   croak "Missing required input 'struct' value"
9926             unless defined $_[1];
9927              
9928             # Serializing field: 'labels'
9929             croak "Missing required input value 'labels'"
9930 0 0         unless exists $_[1]->{labels};
9931             # my ($class, $value, $index, $output) = @_;
9932             croak "Missing required input 'array' value"
9933 0 0         unless defined $_[1]->{labels};
9934 0           do {
9935 0           my $len = scalar @{ $_[1]->{labels} };
  0            
9936 0 0         die "Array too long (max: 64): $len"
9937             unless ($len <= 64);
9938              
9939 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9940 0           $_[2] += 4;
9941 0           for my $i1 ( 0 .. ($len - 1) ) {
9942             # my ($class, $value, $index, $output) = @_;
9943 0           $_[0]->serialize_domain_get_security_label_ret( $_[1]->{labels}->[$i1], $_[2], $_[3] );
9944             }
9945             };
9946              
9947             # Serializing field: 'ret'
9948             croak "Missing required input value 'ret'"
9949 0 0         unless exists $_[1]->{ret};
9950             # my ($class, $value, $index, $output) = @_;
9951             croak "Missing required input 'int' value"
9952 0 0         unless defined $_[1]->{ret};
9953             die "Out of bounds 'int': $_[1]->{ret}"
9954 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
9955             die "Non-integer 'int' value given: $_[1]->{ret}"
9956 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
9957 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
9958 0           $_[2] += 4;
9959             }
9960             # @_: ($class, $value, $index, $input) = @_;
9961             sub deserialize_node_get_security_model_ret {
9962 0     0 0   my $input_length = length $_[3];
9963 0           $_[1] = {};
9964             # Deserializing field: 'model'
9965             # my ($class, $value, $index, $input) = @_;
9966 0           do {
9967 0 0         die "Input buffer too short"
9968             if ($input_length - $_[2]) < 4;
9969 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9970 0           $_[2] += 4;
9971              
9972 0 0         die "Array too long (max: 257): $len"
9973             unless ($len <= 257);
9974 0           $_[1]->{model} = [];
9975 0           for my $i1 ( 0 .. ($len - 1) ) {
9976             # my ($class, $value, $index, $input) = @_;
9977 0 0         die "Input buffer too short"
9978             if ($input_length - $_[2]) < 4;
9979 0           $_[1]->{model}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
9980 0           $_[2] += 4;
9981             die "Out of bounds 'char': $_[1]->{model}->[$i1]"
9982 0 0 0       unless (-128 <= $_[1]->{model}->[$i1] and $_[1]->{model}->[$i1] < 128);
9983             }
9984 0           $_[1]->{model} = pack('c*', @{ $_[1]->{model} });
  0            
9985             };
9986              
9987             # Deserializing field: 'doi'
9988             # my ($class, $value, $index, $input) = @_;
9989 0           do {
9990 0 0         die "Input buffer too short"
9991             if ($input_length - $_[2]) < 4;
9992 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9993 0           $_[2] += 4;
9994              
9995 0 0         die "Array too long (max: 257): $len"
9996             unless ($len <= 257);
9997 0           $_[1]->{doi} = [];
9998 0           for my $i1 ( 0 .. ($len - 1) ) {
9999             # my ($class, $value, $index, $input) = @_;
10000 0 0         die "Input buffer too short"
10001             if ($input_length - $_[2]) < 4;
10002 0           $_[1]->{doi}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
10003 0           $_[2] += 4;
10004             die "Out of bounds 'char': $_[1]->{doi}->[$i1]"
10005 0 0 0       unless (-128 <= $_[1]->{doi}->[$i1] and $_[1]->{doi}->[$i1] < 128);
10006             }
10007 0           $_[1]->{doi} = pack('c*', @{ $_[1]->{doi} });
  0            
10008             };
10009             }
10010             # @_: ($class, $value, $index, $output) = @_;
10011             sub serialize_node_get_security_model_ret {
10012 0 0   0 0   croak "Missing required input 'struct' value"
10013             unless defined $_[1];
10014              
10015             # Serializing field: 'model'
10016             croak "Missing required input value 'model'"
10017 0 0         unless exists $_[1]->{model};
10018             # my ($class, $value, $index, $output) = @_;
10019             croak "Missing required input 'array' value"
10020 0 0         unless defined $_[1]->{model};
10021 0           do {
10022 0           local $_[1]->{model} = [ unpack('c*', $_[1]->{model}) ];
10023 0           my $len = scalar @{ $_[1]->{model} };
  0            
10024 0 0         die "Array too long (max: 257): $len"
10025             unless ($len <= 257);
10026              
10027 0           substr( $_[3], $_[2] ) = pack("L>", $len);
10028 0           $_[2] += 4;
10029 0           for my $i1 ( 0 .. ($len - 1) ) {
10030             # my ($class, $value, $index, $output) = @_;
10031             croak "Missing required input 'char' value"
10032 0 0         unless defined $_[1]->{model}->[$i1];
10033             die "Out of bounds 'char': $_[1]->{model}->[$i1]"
10034 0 0 0       unless (-128 <= $_[1]->{model}->[$i1] and $_[1]->{model}->[$i1] < 128);
10035             die "Non-integer 'char' value given: $_[1]->{model}->[$i1]"
10036 0 0         unless int($_[1]->{model}->[$i1]) == $_[1]->{model}->[$i1];
10037 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{model}->[$i1]);
10038 0           $_[2] += 4;
10039             }
10040             };
10041              
10042             # Serializing field: 'doi'
10043             croak "Missing required input value 'doi'"
10044 0 0         unless exists $_[1]->{doi};
10045             # my ($class, $value, $index, $output) = @_;
10046             croak "Missing required input 'array' value"
10047 0 0         unless defined $_[1]->{doi};
10048 0           do {
10049 0           local $_[1]->{doi} = [ unpack('c*', $_[1]->{doi}) ];
10050 0           my $len = scalar @{ $_[1]->{doi} };
  0            
10051 0 0         die "Array too long (max: 257): $len"
10052             unless ($len <= 257);
10053              
10054 0           substr( $_[3], $_[2] ) = pack("L>", $len);
10055 0           $_[2] += 4;
10056 0           for my $i1 ( 0 .. ($len - 1) ) {
10057             # my ($class, $value, $index, $output) = @_;
10058             croak "Missing required input 'char' value"
10059 0 0         unless defined $_[1]->{doi}->[$i1];
10060             die "Out of bounds 'char': $_[1]->{doi}->[$i1]"
10061 0 0 0       unless (-128 <= $_[1]->{doi}->[$i1] and $_[1]->{doi}->[$i1] < 128);
10062             die "Non-integer 'char' value given: $_[1]->{doi}->[$i1]"
10063 0 0         unless int($_[1]->{doi}->[$i1]) == $_[1]->{doi}->[$i1];
10064 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{doi}->[$i1]);
10065 0           $_[2] += 4;
10066             }
10067             };
10068             }
10069             # @_: ($class, $value, $index, $input) = @_;
10070             sub deserialize_domain_attach_device_args {
10071 0     0 0   my $input_length = length $_[3];
10072 0           $_[1] = {};
10073             # Deserializing field: 'dom'
10074             # my ($class, $value, $index, $input) = @_;
10075 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10076              
10077             # Deserializing field: 'xml'
10078             # my ($class, $value, $index, $input) = @_;
10079 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10080             }
10081             # @_: ($class, $value, $index, $output) = @_;
10082             sub serialize_domain_attach_device_args {
10083 0 0   0 0   croak "Missing required input 'struct' value"
10084             unless defined $_[1];
10085              
10086             # Serializing field: 'dom'
10087             croak "Missing required input value 'dom'"
10088 0 0         unless exists $_[1]->{dom};
10089             # my ($class, $value, $index, $output) = @_;
10090 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10091              
10092             # Serializing field: 'xml'
10093             croak "Missing required input value 'xml'"
10094 0 0         unless exists $_[1]->{xml};
10095             # my ($class, $value, $index, $output) = @_;
10096 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10097             }
10098             # @_: ($class, $value, $index, $input) = @_;
10099             sub deserialize_domain_attach_device_flags_args {
10100 0     0 0   my $input_length = length $_[3];
10101 0           $_[1] = {};
10102             # Deserializing field: 'dom'
10103             # my ($class, $value, $index, $input) = @_;
10104 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10105              
10106             # Deserializing field: 'xml'
10107             # my ($class, $value, $index, $input) = @_;
10108 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10109              
10110             # Deserializing field: 'flags'
10111             # my ($class, $value, $index, $input) = @_;
10112 0 0         die "Input buffer too short"
10113             if ($input_length - $_[2]) < 4;
10114 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10115 0           $_[2] += 4;
10116             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10117 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10118             }
10119             # @_: ($class, $value, $index, $output) = @_;
10120             sub serialize_domain_attach_device_flags_args {
10121 0 0   0 0   croak "Missing required input 'struct' value"
10122             unless defined $_[1];
10123              
10124             # Serializing field: 'dom'
10125             croak "Missing required input value 'dom'"
10126 0 0         unless exists $_[1]->{dom};
10127             # my ($class, $value, $index, $output) = @_;
10128 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10129              
10130             # Serializing field: 'xml'
10131             croak "Missing required input value 'xml'"
10132 0 0         unless exists $_[1]->{xml};
10133             # my ($class, $value, $index, $output) = @_;
10134 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10135              
10136             # Serializing field: 'flags'
10137             croak "Missing required input value 'flags'"
10138 0 0         unless exists $_[1]->{flags};
10139             # my ($class, $value, $index, $output) = @_;
10140             croak "Missing required input 'unsigned int' value"
10141 0 0         unless defined $_[1]->{flags};
10142             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10143 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10144             die "Non-integer 'int' value given: $_[1]->{flags}"
10145 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10146 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10147 0           $_[2] += 4;
10148             }
10149             # @_: ($class, $value, $index, $input) = @_;
10150             sub deserialize_domain_detach_device_args {
10151 0     0 0   my $input_length = length $_[3];
10152 0           $_[1] = {};
10153             # Deserializing field: 'dom'
10154             # my ($class, $value, $index, $input) = @_;
10155 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10156              
10157             # Deserializing field: 'xml'
10158             # my ($class, $value, $index, $input) = @_;
10159 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10160             }
10161             # @_: ($class, $value, $index, $output) = @_;
10162             sub serialize_domain_detach_device_args {
10163 0 0   0 0   croak "Missing required input 'struct' value"
10164             unless defined $_[1];
10165              
10166             # Serializing field: 'dom'
10167             croak "Missing required input value 'dom'"
10168 0 0         unless exists $_[1]->{dom};
10169             # my ($class, $value, $index, $output) = @_;
10170 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10171              
10172             # Serializing field: 'xml'
10173             croak "Missing required input value 'xml'"
10174 0 0         unless exists $_[1]->{xml};
10175             # my ($class, $value, $index, $output) = @_;
10176 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10177             }
10178             # @_: ($class, $value, $index, $input) = @_;
10179             sub deserialize_domain_detach_device_flags_args {
10180 0     0 0   my $input_length = length $_[3];
10181 0           $_[1] = {};
10182             # Deserializing field: 'dom'
10183             # my ($class, $value, $index, $input) = @_;
10184 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10185              
10186             # Deserializing field: 'xml'
10187             # my ($class, $value, $index, $input) = @_;
10188 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10189              
10190             # Deserializing field: 'flags'
10191             # my ($class, $value, $index, $input) = @_;
10192 0 0         die "Input buffer too short"
10193             if ($input_length - $_[2]) < 4;
10194 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10195 0           $_[2] += 4;
10196             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10197 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10198             }
10199             # @_: ($class, $value, $index, $output) = @_;
10200             sub serialize_domain_detach_device_flags_args {
10201 0 0   0 0   croak "Missing required input 'struct' value"
10202             unless defined $_[1];
10203              
10204             # Serializing field: 'dom'
10205             croak "Missing required input value 'dom'"
10206 0 0         unless exists $_[1]->{dom};
10207             # my ($class, $value, $index, $output) = @_;
10208 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10209              
10210             # Serializing field: 'xml'
10211             croak "Missing required input value 'xml'"
10212 0 0         unless exists $_[1]->{xml};
10213             # my ($class, $value, $index, $output) = @_;
10214 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10215              
10216             # Serializing field: 'flags'
10217             croak "Missing required input value 'flags'"
10218 0 0         unless exists $_[1]->{flags};
10219             # my ($class, $value, $index, $output) = @_;
10220             croak "Missing required input 'unsigned int' value"
10221 0 0         unless defined $_[1]->{flags};
10222             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10223 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10224             die "Non-integer 'int' value given: $_[1]->{flags}"
10225 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10226 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10227 0           $_[2] += 4;
10228             }
10229             # @_: ($class, $value, $index, $input) = @_;
10230             sub deserialize_domain_update_device_flags_args {
10231 0     0 0   my $input_length = length $_[3];
10232 0           $_[1] = {};
10233             # Deserializing field: 'dom'
10234             # my ($class, $value, $index, $input) = @_;
10235 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10236              
10237             # Deserializing field: 'xml'
10238             # my ($class, $value, $index, $input) = @_;
10239 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10240              
10241             # Deserializing field: 'flags'
10242             # my ($class, $value, $index, $input) = @_;
10243 0 0         die "Input buffer too short"
10244             if ($input_length - $_[2]) < 4;
10245 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10246 0           $_[2] += 4;
10247             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10248 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10249             }
10250             # @_: ($class, $value, $index, $output) = @_;
10251             sub serialize_domain_update_device_flags_args {
10252 0 0   0 0   croak "Missing required input 'struct' value"
10253             unless defined $_[1];
10254              
10255             # Serializing field: 'dom'
10256             croak "Missing required input value 'dom'"
10257 0 0         unless exists $_[1]->{dom};
10258             # my ($class, $value, $index, $output) = @_;
10259 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10260              
10261             # Serializing field: 'xml'
10262             croak "Missing required input value 'xml'"
10263 0 0         unless exists $_[1]->{xml};
10264             # my ($class, $value, $index, $output) = @_;
10265 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10266              
10267             # Serializing field: 'flags'
10268             croak "Missing required input value 'flags'"
10269 0 0         unless exists $_[1]->{flags};
10270             # my ($class, $value, $index, $output) = @_;
10271             croak "Missing required input 'unsigned int' value"
10272 0 0         unless defined $_[1]->{flags};
10273             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10274 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10275             die "Non-integer 'int' value given: $_[1]->{flags}"
10276 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10277 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10278 0           $_[2] += 4;
10279             }
10280             # @_: ($class, $value, $index, $input) = @_;
10281             sub deserialize_domain_detach_device_alias_args {
10282 0     0 0   my $input_length = length $_[3];
10283 0           $_[1] = {};
10284             # Deserializing field: 'dom'
10285             # my ($class, $value, $index, $input) = @_;
10286 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10287              
10288             # Deserializing field: 'alias'
10289             # my ($class, $value, $index, $input) = @_;
10290 0           $_[0]->deserialize_nonnull_string( $_[1]->{alias}, $_[2], $_[3] );
10291              
10292             # Deserializing field: 'flags'
10293             # my ($class, $value, $index, $input) = @_;
10294 0 0         die "Input buffer too short"
10295             if ($input_length - $_[2]) < 4;
10296 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10297 0           $_[2] += 4;
10298             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10299 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10300             }
10301             # @_: ($class, $value, $index, $output) = @_;
10302             sub serialize_domain_detach_device_alias_args {
10303 0 0   0 0   croak "Missing required input 'struct' value"
10304             unless defined $_[1];
10305              
10306             # Serializing field: 'dom'
10307             croak "Missing required input value 'dom'"
10308 0 0         unless exists $_[1]->{dom};
10309             # my ($class, $value, $index, $output) = @_;
10310 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10311              
10312             # Serializing field: 'alias'
10313             croak "Missing required input value 'alias'"
10314 0 0         unless exists $_[1]->{alias};
10315             # my ($class, $value, $index, $output) = @_;
10316 0           $_[0]->serialize_nonnull_string( $_[1]->{alias}, $_[2], $_[3] );
10317              
10318             # Serializing field: 'flags'
10319             croak "Missing required input value 'flags'"
10320 0 0         unless exists $_[1]->{flags};
10321             # my ($class, $value, $index, $output) = @_;
10322             croak "Missing required input 'unsigned int' value"
10323 0 0         unless defined $_[1]->{flags};
10324             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10325 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10326             die "Non-integer 'int' value given: $_[1]->{flags}"
10327 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10328 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10329 0           $_[2] += 4;
10330             }
10331             # @_: ($class, $value, $index, $input) = @_;
10332             sub deserialize_domain_get_autostart_args {
10333 0     0 0   my $input_length = length $_[3];
10334 0           $_[1] = {};
10335             # Deserializing field: 'dom'
10336             # my ($class, $value, $index, $input) = @_;
10337 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10338             }
10339             # @_: ($class, $value, $index, $output) = @_;
10340             sub serialize_domain_get_autostart_args {
10341 0 0   0 0   croak "Missing required input 'struct' value"
10342             unless defined $_[1];
10343              
10344             # Serializing field: 'dom'
10345             croak "Missing required input value 'dom'"
10346 0 0         unless exists $_[1]->{dom};
10347             # my ($class, $value, $index, $output) = @_;
10348 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10349             }
10350             # @_: ($class, $value, $index, $input) = @_;
10351             sub deserialize_domain_get_autostart_ret {
10352 0     0 0   my $input_length = length $_[3];
10353 0           $_[1] = {};
10354             # Deserializing field: 'autostart'
10355             # my ($class, $value, $index, $input) = @_;
10356 0 0         die "Input buffer too short"
10357             if ($input_length - $_[2]) < 4;
10358 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
10359 0           $_[2] += 4;
10360             die "Out of bounds 'int': $_[1]->{autostart}"
10361 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
10362             }
10363             # @_: ($class, $value, $index, $output) = @_;
10364             sub serialize_domain_get_autostart_ret {
10365 0 0   0 0   croak "Missing required input 'struct' value"
10366             unless defined $_[1];
10367              
10368             # Serializing field: 'autostart'
10369             croak "Missing required input value 'autostart'"
10370 0 0         unless exists $_[1]->{autostart};
10371             # my ($class, $value, $index, $output) = @_;
10372             croak "Missing required input 'int' value"
10373 0 0         unless defined $_[1]->{autostart};
10374             die "Out of bounds 'int': $_[1]->{autostart}"
10375 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
10376             die "Non-integer 'int' value given: $_[1]->{autostart}"
10377 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
10378 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
10379 0           $_[2] += 4;
10380             }
10381             # @_: ($class, $value, $index, $input) = @_;
10382             sub deserialize_domain_set_autostart_args {
10383 0     0 0   my $input_length = length $_[3];
10384 0           $_[1] = {};
10385             # Deserializing field: 'dom'
10386             # my ($class, $value, $index, $input) = @_;
10387 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10388              
10389             # Deserializing field: 'autostart'
10390             # my ($class, $value, $index, $input) = @_;
10391 0 0         die "Input buffer too short"
10392             if ($input_length - $_[2]) < 4;
10393 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
10394 0           $_[2] += 4;
10395             die "Out of bounds 'int': $_[1]->{autostart}"
10396 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
10397             }
10398             # @_: ($class, $value, $index, $output) = @_;
10399             sub serialize_domain_set_autostart_args {
10400 0 0   0 0   croak "Missing required input 'struct' value"
10401             unless defined $_[1];
10402              
10403             # Serializing field: 'dom'
10404             croak "Missing required input value 'dom'"
10405 0 0         unless exists $_[1]->{dom};
10406             # my ($class, $value, $index, $output) = @_;
10407 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10408              
10409             # Serializing field: 'autostart'
10410             croak "Missing required input value 'autostart'"
10411 0 0         unless exists $_[1]->{autostart};
10412             # my ($class, $value, $index, $output) = @_;
10413             croak "Missing required input 'int' value"
10414 0 0         unless defined $_[1]->{autostart};
10415             die "Out of bounds 'int': $_[1]->{autostart}"
10416 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
10417             die "Non-integer 'int' value given: $_[1]->{autostart}"
10418 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
10419 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
10420 0           $_[2] += 4;
10421             }
10422             # @_: ($class, $value, $index, $input) = @_;
10423             sub deserialize_domain_set_metadata_args {
10424 0     0 0   my $input_length = length $_[3];
10425 0           $_[1] = {};
10426             # Deserializing field: 'dom'
10427             # my ($class, $value, $index, $input) = @_;
10428 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10429              
10430             # Deserializing field: 'type'
10431             # my ($class, $value, $index, $input) = @_;
10432 0 0         die "Input buffer too short"
10433             if ($input_length - $_[2]) < 4;
10434 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
10435 0           $_[2] += 4;
10436             die "Out of bounds 'int': $_[1]->{type}"
10437 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
10438              
10439             # Deserializing field: 'metadata'
10440             # my ($class, $value, $index, $input) = @_;
10441 0           $_[0]->deserialize_string( $_[1]->{metadata}, $_[2], $_[3] );
10442              
10443             # Deserializing field: 'key'
10444             # my ($class, $value, $index, $input) = @_;
10445 0           $_[0]->deserialize_string( $_[1]->{key}, $_[2], $_[3] );
10446              
10447             # Deserializing field: 'uri'
10448             # my ($class, $value, $index, $input) = @_;
10449 0           $_[0]->deserialize_string( $_[1]->{uri}, $_[2], $_[3] );
10450              
10451             # Deserializing field: 'flags'
10452             # my ($class, $value, $index, $input) = @_;
10453 0 0         die "Input buffer too short"
10454             if ($input_length - $_[2]) < 4;
10455 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10456 0           $_[2] += 4;
10457             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10458 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10459             }
10460             # @_: ($class, $value, $index, $output) = @_;
10461             sub serialize_domain_set_metadata_args {
10462 0 0   0 0   croak "Missing required input 'struct' value"
10463             unless defined $_[1];
10464              
10465             # Serializing field: 'dom'
10466             croak "Missing required input value 'dom'"
10467 0 0         unless exists $_[1]->{dom};
10468             # my ($class, $value, $index, $output) = @_;
10469 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10470              
10471             # Serializing field: 'type'
10472             croak "Missing required input value 'type'"
10473 0 0         unless exists $_[1]->{type};
10474             # my ($class, $value, $index, $output) = @_;
10475             croak "Missing required input 'int' value"
10476 0 0         unless defined $_[1]->{type};
10477             die "Out of bounds 'int': $_[1]->{type}"
10478 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
10479             die "Non-integer 'int' value given: $_[1]->{type}"
10480 0 0         unless int($_[1]->{type}) == $_[1]->{type};
10481 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
10482 0           $_[2] += 4;
10483              
10484             # Serializing field: 'metadata'
10485             croak "Missing required input value 'metadata'"
10486 0 0         unless exists $_[1]->{metadata};
10487             # my ($class, $value, $index, $output) = @_;
10488 0           $_[0]->serialize_string( $_[1]->{metadata}, $_[2], $_[3] );
10489              
10490             # Serializing field: 'key'
10491             croak "Missing required input value 'key'"
10492 0 0         unless exists $_[1]->{key};
10493             # my ($class, $value, $index, $output) = @_;
10494 0           $_[0]->serialize_string( $_[1]->{key}, $_[2], $_[3] );
10495              
10496             # Serializing field: 'uri'
10497             croak "Missing required input value 'uri'"
10498 0 0         unless exists $_[1]->{uri};
10499             # my ($class, $value, $index, $output) = @_;
10500 0           $_[0]->serialize_string( $_[1]->{uri}, $_[2], $_[3] );
10501              
10502             # Serializing field: 'flags'
10503             croak "Missing required input value 'flags'"
10504 0 0         unless exists $_[1]->{flags};
10505             # my ($class, $value, $index, $output) = @_;
10506             croak "Missing required input 'unsigned int' value"
10507 0 0         unless defined $_[1]->{flags};
10508             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10509 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10510             die "Non-integer 'int' value given: $_[1]->{flags}"
10511 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10512 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10513 0           $_[2] += 4;
10514             }
10515             # @_: ($class, $value, $index, $input) = @_;
10516             sub deserialize_domain_get_metadata_args {
10517 0     0 0   my $input_length = length $_[3];
10518 0           $_[1] = {};
10519             # Deserializing field: 'dom'
10520             # my ($class, $value, $index, $input) = @_;
10521 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10522              
10523             # Deserializing field: 'type'
10524             # my ($class, $value, $index, $input) = @_;
10525 0 0         die "Input buffer too short"
10526             if ($input_length - $_[2]) < 4;
10527 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
10528 0           $_[2] += 4;
10529             die "Out of bounds 'int': $_[1]->{type}"
10530 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
10531              
10532             # Deserializing field: 'uri'
10533             # my ($class, $value, $index, $input) = @_;
10534 0           $_[0]->deserialize_string( $_[1]->{uri}, $_[2], $_[3] );
10535              
10536             # Deserializing field: 'flags'
10537             # my ($class, $value, $index, $input) = @_;
10538 0 0         die "Input buffer too short"
10539             if ($input_length - $_[2]) < 4;
10540 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10541 0           $_[2] += 4;
10542             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10543 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10544             }
10545             # @_: ($class, $value, $index, $output) = @_;
10546             sub serialize_domain_get_metadata_args {
10547 0 0   0 0   croak "Missing required input 'struct' value"
10548             unless defined $_[1];
10549              
10550             # Serializing field: 'dom'
10551             croak "Missing required input value 'dom'"
10552 0 0         unless exists $_[1]->{dom};
10553             # my ($class, $value, $index, $output) = @_;
10554 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10555              
10556             # Serializing field: 'type'
10557             croak "Missing required input value 'type'"
10558 0 0         unless exists $_[1]->{type};
10559             # my ($class, $value, $index, $output) = @_;
10560             croak "Missing required input 'int' value"
10561 0 0         unless defined $_[1]->{type};
10562             die "Out of bounds 'int': $_[1]->{type}"
10563 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
10564             die "Non-integer 'int' value given: $_[1]->{type}"
10565 0 0         unless int($_[1]->{type}) == $_[1]->{type};
10566 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
10567 0           $_[2] += 4;
10568              
10569             # Serializing field: 'uri'
10570             croak "Missing required input value 'uri'"
10571 0 0         unless exists $_[1]->{uri};
10572             # my ($class, $value, $index, $output) = @_;
10573 0           $_[0]->serialize_string( $_[1]->{uri}, $_[2], $_[3] );
10574              
10575             # Serializing field: 'flags'
10576             croak "Missing required input value 'flags'"
10577 0 0         unless exists $_[1]->{flags};
10578             # my ($class, $value, $index, $output) = @_;
10579             croak "Missing required input 'unsigned int' value"
10580 0 0         unless defined $_[1]->{flags};
10581             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10582 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10583             die "Non-integer 'int' value given: $_[1]->{flags}"
10584 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10585 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10586 0           $_[2] += 4;
10587             }
10588             # @_: ($class, $value, $index, $input) = @_;
10589             sub deserialize_domain_get_metadata_ret {
10590 0     0 0   my $input_length = length $_[3];
10591 0           $_[1] = {};
10592             # Deserializing field: 'metadata'
10593             # my ($class, $value, $index, $input) = @_;
10594 0           $_[0]->deserialize_nonnull_string( $_[1]->{metadata}, $_[2], $_[3] );
10595             }
10596             # @_: ($class, $value, $index, $output) = @_;
10597             sub serialize_domain_get_metadata_ret {
10598 0 0   0 0   croak "Missing required input 'struct' value"
10599             unless defined $_[1];
10600              
10601             # Serializing field: 'metadata'
10602             croak "Missing required input value 'metadata'"
10603 0 0         unless exists $_[1]->{metadata};
10604             # my ($class, $value, $index, $output) = @_;
10605 0           $_[0]->serialize_nonnull_string( $_[1]->{metadata}, $_[2], $_[3] );
10606             }
10607             # @_: ($class, $value, $index, $input) = @_;
10608             sub deserialize_domain_block_job_abort_args {
10609 0     0 0   my $input_length = length $_[3];
10610 0           $_[1] = {};
10611             # Deserializing field: 'dom'
10612             # my ($class, $value, $index, $input) = @_;
10613 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10614              
10615             # Deserializing field: 'path'
10616             # my ($class, $value, $index, $input) = @_;
10617 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10618              
10619             # Deserializing field: 'flags'
10620             # my ($class, $value, $index, $input) = @_;
10621 0 0         die "Input buffer too short"
10622             if ($input_length - $_[2]) < 4;
10623 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10624 0           $_[2] += 4;
10625             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10626 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10627             }
10628             # @_: ($class, $value, $index, $output) = @_;
10629             sub serialize_domain_block_job_abort_args {
10630 0 0   0 0   croak "Missing required input 'struct' value"
10631             unless defined $_[1];
10632              
10633             # Serializing field: 'dom'
10634             croak "Missing required input value 'dom'"
10635 0 0         unless exists $_[1]->{dom};
10636             # my ($class, $value, $index, $output) = @_;
10637 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10638              
10639             # Serializing field: 'path'
10640             croak "Missing required input value 'path'"
10641 0 0         unless exists $_[1]->{path};
10642             # my ($class, $value, $index, $output) = @_;
10643 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10644              
10645             # Serializing field: 'flags'
10646             croak "Missing required input value 'flags'"
10647 0 0         unless exists $_[1]->{flags};
10648             # my ($class, $value, $index, $output) = @_;
10649             croak "Missing required input 'unsigned int' value"
10650 0 0         unless defined $_[1]->{flags};
10651             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10652 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10653             die "Non-integer 'int' value given: $_[1]->{flags}"
10654 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10655 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10656 0           $_[2] += 4;
10657             }
10658             # @_: ($class, $value, $index, $input) = @_;
10659             sub deserialize_domain_get_block_job_info_args {
10660 0     0 0   my $input_length = length $_[3];
10661 0           $_[1] = {};
10662             # Deserializing field: 'dom'
10663             # my ($class, $value, $index, $input) = @_;
10664 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10665              
10666             # Deserializing field: 'path'
10667             # my ($class, $value, $index, $input) = @_;
10668 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10669              
10670             # Deserializing field: 'flags'
10671             # my ($class, $value, $index, $input) = @_;
10672 0 0         die "Input buffer too short"
10673             if ($input_length - $_[2]) < 4;
10674 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10675 0           $_[2] += 4;
10676             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10677 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10678             }
10679             # @_: ($class, $value, $index, $output) = @_;
10680             sub serialize_domain_get_block_job_info_args {
10681 0 0   0 0   croak "Missing required input 'struct' value"
10682             unless defined $_[1];
10683              
10684             # Serializing field: 'dom'
10685             croak "Missing required input value 'dom'"
10686 0 0         unless exists $_[1]->{dom};
10687             # my ($class, $value, $index, $output) = @_;
10688 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10689              
10690             # Serializing field: 'path'
10691             croak "Missing required input value 'path'"
10692 0 0         unless exists $_[1]->{path};
10693             # my ($class, $value, $index, $output) = @_;
10694 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10695              
10696             # Serializing field: 'flags'
10697             croak "Missing required input value 'flags'"
10698 0 0         unless exists $_[1]->{flags};
10699             # my ($class, $value, $index, $output) = @_;
10700             croak "Missing required input 'unsigned int' value"
10701 0 0         unless defined $_[1]->{flags};
10702             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10703 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10704             die "Non-integer 'int' value given: $_[1]->{flags}"
10705 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10706 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10707 0           $_[2] += 4;
10708             }
10709             # @_: ($class, $value, $index, $input) = @_;
10710             sub deserialize_domain_get_block_job_info_ret {
10711 0     0 0   my $input_length = length $_[3];
10712 0           $_[1] = {};
10713             # Deserializing field: 'found'
10714             # my ($class, $value, $index, $input) = @_;
10715 0 0         die "Input buffer too short"
10716             if ($input_length - $_[2]) < 4;
10717 0           $_[1]->{found} = unpack("l>", substr( $_[3], $_[2] ));
10718 0           $_[2] += 4;
10719             die "Out of bounds 'int': $_[1]->{found}"
10720 0 0 0       unless (-2147483648 <= $_[1]->{found} and $_[1]->{found} < 2147483648);
10721              
10722             # Deserializing field: 'type'
10723             # my ($class, $value, $index, $input) = @_;
10724 0 0         die "Input buffer too short"
10725             if ($input_length - $_[2]) < 4;
10726 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
10727 0           $_[2] += 4;
10728             die "Out of bounds 'int': $_[1]->{type}"
10729 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
10730              
10731             # Deserializing field: 'bandwidth'
10732             # my ($class, $value, $index, $input) = @_;
10733 0 0         die "Input buffer too short"
10734             if ($input_length - $_[2]) < 8;
10735 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
10736 0           $_[2] += 8;
10737             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
10738             unless (0 <= $_[1]->{bandwidth}
10739 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
10740              
10741             # Deserializing field: 'cur'
10742             # my ($class, $value, $index, $input) = @_;
10743 0 0         die "Input buffer too short"
10744             if ($input_length - $_[2]) < 8;
10745 0           $_[1]->{cur} = unpack("Q>", substr( $_[3], $_[2] ));
10746 0           $_[2] += 8;
10747             die "Out of bounds 'unsigned hyper': $_[1]->{cur}"
10748             unless (0 <= $_[1]->{cur}
10749 0 0 0       and $_[1]->{cur} <= 18446744073709551615);
10750              
10751             # Deserializing field: 'end'
10752             # my ($class, $value, $index, $input) = @_;
10753 0 0         die "Input buffer too short"
10754             if ($input_length - $_[2]) < 8;
10755 0           $_[1]->{end} = unpack("Q>", substr( $_[3], $_[2] ));
10756 0           $_[2] += 8;
10757             die "Out of bounds 'unsigned hyper': $_[1]->{end}"
10758             unless (0 <= $_[1]->{end}
10759 0 0 0       and $_[1]->{end} <= 18446744073709551615);
10760             }
10761             # @_: ($class, $value, $index, $output) = @_;
10762             sub serialize_domain_get_block_job_info_ret {
10763 0 0   0 0   croak "Missing required input 'struct' value"
10764             unless defined $_[1];
10765              
10766             # Serializing field: 'found'
10767             croak "Missing required input value 'found'"
10768 0 0         unless exists $_[1]->{found};
10769             # my ($class, $value, $index, $output) = @_;
10770             croak "Missing required input 'int' value"
10771 0 0         unless defined $_[1]->{found};
10772             die "Out of bounds 'int': $_[1]->{found}"
10773 0 0 0       unless (-2147483648 <= $_[1]->{found} and $_[1]->{found} < 2147483648);
10774             die "Non-integer 'int' value given: $_[1]->{found}"
10775 0 0         unless int($_[1]->{found}) == $_[1]->{found};
10776 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{found});
10777 0           $_[2] += 4;
10778              
10779             # Serializing field: 'type'
10780             croak "Missing required input value 'type'"
10781 0 0         unless exists $_[1]->{type};
10782             # my ($class, $value, $index, $output) = @_;
10783             croak "Missing required input 'int' value"
10784 0 0         unless defined $_[1]->{type};
10785             die "Out of bounds 'int': $_[1]->{type}"
10786 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
10787             die "Non-integer 'int' value given: $_[1]->{type}"
10788 0 0         unless int($_[1]->{type}) == $_[1]->{type};
10789 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
10790 0           $_[2] += 4;
10791              
10792             # Serializing field: 'bandwidth'
10793             croak "Missing required input value 'bandwidth'"
10794 0 0         unless exists $_[1]->{bandwidth};
10795             # my ($class, $value, $index, $output) = @_;
10796             croak "Missing required input 'unsigned long' value"
10797 0 0         unless defined $_[1]->{bandwidth};
10798             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
10799             unless (0 <= $_[1]->{bandwidth}
10800 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
10801             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
10802 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
10803 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
10804 0           $_[2] += 8;
10805              
10806             # Serializing field: 'cur'
10807             croak "Missing required input value 'cur'"
10808 0 0         unless exists $_[1]->{cur};
10809             # my ($class, $value, $index, $output) = @_;
10810             croak "Missing required input 'unsigned long' value"
10811 0 0         unless defined $_[1]->{cur};
10812             die "Out of bounds 'unsigned hyper': $_[1]->{cur}"
10813             unless (0 <= $_[1]->{cur}
10814 0 0 0       and $_[1]->{cur} <= 18446744073709551615);
10815             die "Non-integer 'long' value given: $_[1]->{cur}"
10816 0 0         unless int($_[1]->{cur}) == $_[1]->{cur};
10817 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{cur});
10818 0           $_[2] += 8;
10819              
10820             # Serializing field: 'end'
10821             croak "Missing required input value 'end'"
10822 0 0         unless exists $_[1]->{end};
10823             # my ($class, $value, $index, $output) = @_;
10824             croak "Missing required input 'unsigned long' value"
10825 0 0         unless defined $_[1]->{end};
10826             die "Out of bounds 'unsigned hyper': $_[1]->{end}"
10827             unless (0 <= $_[1]->{end}
10828 0 0 0       and $_[1]->{end} <= 18446744073709551615);
10829             die "Non-integer 'long' value given: $_[1]->{end}"
10830 0 0         unless int($_[1]->{end}) == $_[1]->{end};
10831 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{end});
10832 0           $_[2] += 8;
10833             }
10834             # @_: ($class, $value, $index, $input) = @_;
10835             sub deserialize_domain_block_job_set_speed_args {
10836 0     0 0   my $input_length = length $_[3];
10837 0           $_[1] = {};
10838             # Deserializing field: 'dom'
10839             # my ($class, $value, $index, $input) = @_;
10840 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10841              
10842             # Deserializing field: 'path'
10843             # my ($class, $value, $index, $input) = @_;
10844 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10845              
10846             # Deserializing field: 'bandwidth'
10847             # my ($class, $value, $index, $input) = @_;
10848 0 0         die "Input buffer too short"
10849             if ($input_length - $_[2]) < 8;
10850 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
10851 0           $_[2] += 8;
10852             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
10853             unless (0 <= $_[1]->{bandwidth}
10854 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
10855              
10856             # Deserializing field: 'flags'
10857             # my ($class, $value, $index, $input) = @_;
10858 0 0         die "Input buffer too short"
10859             if ($input_length - $_[2]) < 4;
10860 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10861 0           $_[2] += 4;
10862             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10863 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10864             }
10865             # @_: ($class, $value, $index, $output) = @_;
10866             sub serialize_domain_block_job_set_speed_args {
10867 0 0   0 0   croak "Missing required input 'struct' value"
10868             unless defined $_[1];
10869              
10870             # Serializing field: 'dom'
10871             croak "Missing required input value 'dom'"
10872 0 0         unless exists $_[1]->{dom};
10873             # my ($class, $value, $index, $output) = @_;
10874 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10875              
10876             # Serializing field: 'path'
10877             croak "Missing required input value 'path'"
10878 0 0         unless exists $_[1]->{path};
10879             # my ($class, $value, $index, $output) = @_;
10880 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10881              
10882             # Serializing field: 'bandwidth'
10883             croak "Missing required input value 'bandwidth'"
10884 0 0         unless exists $_[1]->{bandwidth};
10885             # my ($class, $value, $index, $output) = @_;
10886             croak "Missing required input 'unsigned long' value"
10887 0 0         unless defined $_[1]->{bandwidth};
10888             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
10889             unless (0 <= $_[1]->{bandwidth}
10890 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
10891             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
10892 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
10893 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
10894 0           $_[2] += 8;
10895              
10896             # Serializing field: 'flags'
10897             croak "Missing required input value 'flags'"
10898 0 0         unless exists $_[1]->{flags};
10899             # my ($class, $value, $index, $output) = @_;
10900             croak "Missing required input 'unsigned int' value"
10901 0 0         unless defined $_[1]->{flags};
10902             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10903 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10904             die "Non-integer 'int' value given: $_[1]->{flags}"
10905 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10906 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10907 0           $_[2] += 4;
10908             }
10909             # @_: ($class, $value, $index, $input) = @_;
10910             sub deserialize_domain_block_pull_args {
10911 0     0 0   my $input_length = length $_[3];
10912 0           $_[1] = {};
10913             # Deserializing field: 'dom'
10914             # my ($class, $value, $index, $input) = @_;
10915 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10916              
10917             # Deserializing field: 'path'
10918             # my ($class, $value, $index, $input) = @_;
10919 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10920              
10921             # Deserializing field: 'bandwidth'
10922             # my ($class, $value, $index, $input) = @_;
10923 0 0         die "Input buffer too short"
10924             if ($input_length - $_[2]) < 8;
10925 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
10926 0           $_[2] += 8;
10927             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
10928             unless (0 <= $_[1]->{bandwidth}
10929 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
10930              
10931             # Deserializing field: 'flags'
10932             # my ($class, $value, $index, $input) = @_;
10933 0 0         die "Input buffer too short"
10934             if ($input_length - $_[2]) < 4;
10935 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10936 0           $_[2] += 4;
10937             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10938 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10939             }
10940             # @_: ($class, $value, $index, $output) = @_;
10941             sub serialize_domain_block_pull_args {
10942 0 0   0 0   croak "Missing required input 'struct' value"
10943             unless defined $_[1];
10944              
10945             # Serializing field: 'dom'
10946             croak "Missing required input value 'dom'"
10947 0 0         unless exists $_[1]->{dom};
10948             # my ($class, $value, $index, $output) = @_;
10949 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10950              
10951             # Serializing field: 'path'
10952             croak "Missing required input value 'path'"
10953 0 0         unless exists $_[1]->{path};
10954             # my ($class, $value, $index, $output) = @_;
10955 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10956              
10957             # Serializing field: 'bandwidth'
10958             croak "Missing required input value 'bandwidth'"
10959 0 0         unless exists $_[1]->{bandwidth};
10960             # my ($class, $value, $index, $output) = @_;
10961             croak "Missing required input 'unsigned long' value"
10962 0 0         unless defined $_[1]->{bandwidth};
10963             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
10964             unless (0 <= $_[1]->{bandwidth}
10965 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
10966             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
10967 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
10968 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
10969 0           $_[2] += 8;
10970              
10971             # Serializing field: 'flags'
10972             croak "Missing required input value 'flags'"
10973 0 0         unless exists $_[1]->{flags};
10974             # my ($class, $value, $index, $output) = @_;
10975             croak "Missing required input 'unsigned int' value"
10976 0 0         unless defined $_[1]->{flags};
10977             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10978 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10979             die "Non-integer 'int' value given: $_[1]->{flags}"
10980 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10981 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10982 0           $_[2] += 4;
10983             }
10984             # @_: ($class, $value, $index, $input) = @_;
10985             sub deserialize_domain_block_rebase_args {
10986 0     0 0   my $input_length = length $_[3];
10987 0           $_[1] = {};
10988             # Deserializing field: 'dom'
10989             # my ($class, $value, $index, $input) = @_;
10990 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10991              
10992             # Deserializing field: 'path'
10993             # my ($class, $value, $index, $input) = @_;
10994 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10995              
10996             # Deserializing field: 'base'
10997             # my ($class, $value, $index, $input) = @_;
10998 0           $_[0]->deserialize_string( $_[1]->{base}, $_[2], $_[3] );
10999              
11000             # Deserializing field: 'bandwidth'
11001             # my ($class, $value, $index, $input) = @_;
11002 0 0         die "Input buffer too short"
11003             if ($input_length - $_[2]) < 8;
11004 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
11005 0           $_[2] += 8;
11006             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
11007             unless (0 <= $_[1]->{bandwidth}
11008 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
11009              
11010             # Deserializing field: 'flags'
11011             # my ($class, $value, $index, $input) = @_;
11012 0 0         die "Input buffer too short"
11013             if ($input_length - $_[2]) < 4;
11014 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11015 0           $_[2] += 4;
11016             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11017 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11018             }
11019             # @_: ($class, $value, $index, $output) = @_;
11020             sub serialize_domain_block_rebase_args {
11021 0 0   0 0   croak "Missing required input 'struct' value"
11022             unless defined $_[1];
11023              
11024             # Serializing field: 'dom'
11025             croak "Missing required input value 'dom'"
11026 0 0         unless exists $_[1]->{dom};
11027             # my ($class, $value, $index, $output) = @_;
11028 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11029              
11030             # Serializing field: 'path'
11031             croak "Missing required input value 'path'"
11032 0 0         unless exists $_[1]->{path};
11033             # my ($class, $value, $index, $output) = @_;
11034 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
11035              
11036             # Serializing field: 'base'
11037             croak "Missing required input value 'base'"
11038 0 0         unless exists $_[1]->{base};
11039             # my ($class, $value, $index, $output) = @_;
11040 0           $_[0]->serialize_string( $_[1]->{base}, $_[2], $_[3] );
11041              
11042             # Serializing field: 'bandwidth'
11043             croak "Missing required input value 'bandwidth'"
11044 0 0         unless exists $_[1]->{bandwidth};
11045             # my ($class, $value, $index, $output) = @_;
11046             croak "Missing required input 'unsigned long' value"
11047 0 0         unless defined $_[1]->{bandwidth};
11048             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
11049             unless (0 <= $_[1]->{bandwidth}
11050 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
11051             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
11052 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
11053 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
11054 0           $_[2] += 8;
11055              
11056             # Serializing field: 'flags'
11057             croak "Missing required input value 'flags'"
11058 0 0         unless exists $_[1]->{flags};
11059             # my ($class, $value, $index, $output) = @_;
11060             croak "Missing required input 'unsigned int' value"
11061 0 0         unless defined $_[1]->{flags};
11062             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11063 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11064             die "Non-integer 'int' value given: $_[1]->{flags}"
11065 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11066 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11067 0           $_[2] += 4;
11068             }
11069             # @_: ($class, $value, $index, $input) = @_;
11070             sub deserialize_domain_block_copy_args {
11071 0     0 0   my $input_length = length $_[3];
11072 0           $_[1] = {};
11073             # Deserializing field: 'dom'
11074             # my ($class, $value, $index, $input) = @_;
11075 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11076              
11077             # Deserializing field: 'path'
11078             # my ($class, $value, $index, $input) = @_;
11079 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
11080              
11081             # Deserializing field: 'destxml'
11082             # my ($class, $value, $index, $input) = @_;
11083 0           $_[0]->deserialize_nonnull_string( $_[1]->{destxml}, $_[2], $_[3] );
11084              
11085             # Deserializing field: 'params'
11086             # my ($class, $value, $index, $input) = @_;
11087 0           do {
11088 0 0         die "Input buffer too short"
11089             if ($input_length - $_[2]) < 4;
11090 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
11091 0           $_[2] += 4;
11092              
11093 0 0         die "Array too long (max: 16): $len"
11094             unless ($len <= 16);
11095 0           $_[1]->{params} = [];
11096 0           for my $i1 ( 0 .. ($len - 1) ) {
11097             # my ($class, $value, $index, $input) = @_;
11098 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11099             }
11100             };
11101              
11102             # Deserializing field: 'flags'
11103             # my ($class, $value, $index, $input) = @_;
11104 0 0         die "Input buffer too short"
11105             if ($input_length - $_[2]) < 4;
11106 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11107 0           $_[2] += 4;
11108             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11109 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11110             }
11111             # @_: ($class, $value, $index, $output) = @_;
11112             sub serialize_domain_block_copy_args {
11113 0 0   0 0   croak "Missing required input 'struct' value"
11114             unless defined $_[1];
11115              
11116             # Serializing field: 'dom'
11117             croak "Missing required input value 'dom'"
11118 0 0         unless exists $_[1]->{dom};
11119             # my ($class, $value, $index, $output) = @_;
11120 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11121              
11122             # Serializing field: 'path'
11123             croak "Missing required input value 'path'"
11124 0 0         unless exists $_[1]->{path};
11125             # my ($class, $value, $index, $output) = @_;
11126 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
11127              
11128             # Serializing field: 'destxml'
11129             croak "Missing required input value 'destxml'"
11130 0 0         unless exists $_[1]->{destxml};
11131             # my ($class, $value, $index, $output) = @_;
11132 0           $_[0]->serialize_nonnull_string( $_[1]->{destxml}, $_[2], $_[3] );
11133              
11134             # Serializing field: 'params'
11135             croak "Missing required input value 'params'"
11136 0 0         unless exists $_[1]->{params};
11137             # my ($class, $value, $index, $output) = @_;
11138             croak "Missing required input 'array' value"
11139 0 0         unless defined $_[1]->{params};
11140 0           do {
11141 0           my $len = scalar @{ $_[1]->{params} };
  0            
11142 0 0         die "Array too long (max: 16): $len"
11143             unless ($len <= 16);
11144              
11145 0           substr( $_[3], $_[2] ) = pack("L>", $len);
11146 0           $_[2] += 4;
11147 0           for my $i1 ( 0 .. ($len - 1) ) {
11148             # my ($class, $value, $index, $output) = @_;
11149 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11150             }
11151             };
11152              
11153             # Serializing field: 'flags'
11154             croak "Missing required input value 'flags'"
11155 0 0         unless exists $_[1]->{flags};
11156             # my ($class, $value, $index, $output) = @_;
11157             croak "Missing required input 'unsigned int' value"
11158 0 0         unless defined $_[1]->{flags};
11159             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11160 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11161             die "Non-integer 'int' value given: $_[1]->{flags}"
11162 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11163 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11164 0           $_[2] += 4;
11165             }
11166             # @_: ($class, $value, $index, $input) = @_;
11167             sub deserialize_domain_block_commit_args {
11168 0     0 0   my $input_length = length $_[3];
11169 0           $_[1] = {};
11170             # Deserializing field: 'dom'
11171             # my ($class, $value, $index, $input) = @_;
11172 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11173              
11174             # Deserializing field: 'disk'
11175             # my ($class, $value, $index, $input) = @_;
11176 0           $_[0]->deserialize_nonnull_string( $_[1]->{disk}, $_[2], $_[3] );
11177              
11178             # Deserializing field: 'base'
11179             # my ($class, $value, $index, $input) = @_;
11180 0           $_[0]->deserialize_string( $_[1]->{base}, $_[2], $_[3] );
11181              
11182             # Deserializing field: 'top'
11183             # my ($class, $value, $index, $input) = @_;
11184 0           $_[0]->deserialize_string( $_[1]->{top}, $_[2], $_[3] );
11185              
11186             # Deserializing field: 'bandwidth'
11187             # my ($class, $value, $index, $input) = @_;
11188 0 0         die "Input buffer too short"
11189             if ($input_length - $_[2]) < 8;
11190 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
11191 0           $_[2] += 8;
11192             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
11193             unless (0 <= $_[1]->{bandwidth}
11194 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
11195              
11196             # Deserializing field: 'flags'
11197             # my ($class, $value, $index, $input) = @_;
11198 0 0         die "Input buffer too short"
11199             if ($input_length - $_[2]) < 4;
11200 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11201 0           $_[2] += 4;
11202             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11203 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11204             }
11205             # @_: ($class, $value, $index, $output) = @_;
11206             sub serialize_domain_block_commit_args {
11207 0 0   0 0   croak "Missing required input 'struct' value"
11208             unless defined $_[1];
11209              
11210             # Serializing field: 'dom'
11211             croak "Missing required input value 'dom'"
11212 0 0         unless exists $_[1]->{dom};
11213             # my ($class, $value, $index, $output) = @_;
11214 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11215              
11216             # Serializing field: 'disk'
11217             croak "Missing required input value 'disk'"
11218 0 0         unless exists $_[1]->{disk};
11219             # my ($class, $value, $index, $output) = @_;
11220 0           $_[0]->serialize_nonnull_string( $_[1]->{disk}, $_[2], $_[3] );
11221              
11222             # Serializing field: 'base'
11223             croak "Missing required input value 'base'"
11224 0 0         unless exists $_[1]->{base};
11225             # my ($class, $value, $index, $output) = @_;
11226 0           $_[0]->serialize_string( $_[1]->{base}, $_[2], $_[3] );
11227              
11228             # Serializing field: 'top'
11229             croak "Missing required input value 'top'"
11230 0 0         unless exists $_[1]->{top};
11231             # my ($class, $value, $index, $output) = @_;
11232 0           $_[0]->serialize_string( $_[1]->{top}, $_[2], $_[3] );
11233              
11234             # Serializing field: 'bandwidth'
11235             croak "Missing required input value 'bandwidth'"
11236 0 0         unless exists $_[1]->{bandwidth};
11237             # my ($class, $value, $index, $output) = @_;
11238             croak "Missing required input 'unsigned long' value"
11239 0 0         unless defined $_[1]->{bandwidth};
11240             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
11241             unless (0 <= $_[1]->{bandwidth}
11242 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
11243             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
11244 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
11245 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
11246 0           $_[2] += 8;
11247              
11248             # Serializing field: 'flags'
11249             croak "Missing required input value 'flags'"
11250 0 0         unless exists $_[1]->{flags};
11251             # my ($class, $value, $index, $output) = @_;
11252             croak "Missing required input 'unsigned int' value"
11253 0 0         unless defined $_[1]->{flags};
11254             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11255 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11256             die "Non-integer 'int' value given: $_[1]->{flags}"
11257 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11258 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11259 0           $_[2] += 4;
11260             }
11261             # @_: ($class, $value, $index, $input) = @_;
11262             sub deserialize_domain_set_block_io_tune_args {
11263 0     0 0   my $input_length = length $_[3];
11264 0           $_[1] = {};
11265             # Deserializing field: 'dom'
11266             # my ($class, $value, $index, $input) = @_;
11267 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11268              
11269             # Deserializing field: 'disk'
11270             # my ($class, $value, $index, $input) = @_;
11271 0           $_[0]->deserialize_nonnull_string( $_[1]->{disk}, $_[2], $_[3] );
11272              
11273             # Deserializing field: 'params'
11274             # my ($class, $value, $index, $input) = @_;
11275 0           do {
11276 0 0         die "Input buffer too short"
11277             if ($input_length - $_[2]) < 4;
11278 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
11279 0           $_[2] += 4;
11280              
11281 0 0         die "Array too long (max: 32): $len"
11282             unless ($len <= 32);
11283 0           $_[1]->{params} = [];
11284 0           for my $i1 ( 0 .. ($len - 1) ) {
11285             # my ($class, $value, $index, $input) = @_;
11286 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11287             }
11288             };
11289              
11290             # Deserializing field: 'flags'
11291             # my ($class, $value, $index, $input) = @_;
11292 0 0         die "Input buffer too short"
11293             if ($input_length - $_[2]) < 4;
11294 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11295 0           $_[2] += 4;
11296             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11297 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11298             }
11299             # @_: ($class, $value, $index, $output) = @_;
11300             sub serialize_domain_set_block_io_tune_args {
11301 0 0   0 0   croak "Missing required input 'struct' value"
11302             unless defined $_[1];
11303              
11304             # Serializing field: 'dom'
11305             croak "Missing required input value 'dom'"
11306 0 0         unless exists $_[1]->{dom};
11307             # my ($class, $value, $index, $output) = @_;
11308 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11309              
11310             # Serializing field: 'disk'
11311             croak "Missing required input value 'disk'"
11312 0 0         unless exists $_[1]->{disk};
11313             # my ($class, $value, $index, $output) = @_;
11314 0           $_[0]->serialize_nonnull_string( $_[1]->{disk}, $_[2], $_[3] );
11315              
11316             # Serializing field: 'params'
11317             croak "Missing required input value 'params'"
11318 0 0         unless exists $_[1]->{params};
11319             # my ($class, $value, $index, $output) = @_;
11320             croak "Missing required input 'array' value"
11321 0 0         unless defined $_[1]->{params};
11322 0           do {
11323 0           my $len = scalar @{ $_[1]->{params} };
  0            
11324 0 0         die "Array too long (max: 32): $len"
11325             unless ($len <= 32);
11326              
11327 0           substr( $_[3], $_[2] ) = pack("L>", $len);
11328 0           $_[2] += 4;
11329 0           for my $i1 ( 0 .. ($len - 1) ) {
11330             # my ($class, $value, $index, $output) = @_;
11331 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11332             }
11333             };
11334              
11335             # Serializing field: 'flags'
11336             croak "Missing required input value 'flags'"
11337 0 0         unless exists $_[1]->{flags};
11338             # my ($class, $value, $index, $output) = @_;
11339             croak "Missing required input 'unsigned int' value"
11340 0 0         unless defined $_[1]->{flags};
11341             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11342 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11343             die "Non-integer 'int' value given: $_[1]->{flags}"
11344 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11345 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11346 0           $_[2] += 4;
11347             }
11348             # @_: ($class, $value, $index, $input) = @_;
11349             sub deserialize_domain_get_block_io_tune_args {
11350 0     0 0   my $input_length = length $_[3];
11351 0           $_[1] = {};
11352             # Deserializing field: 'dom'
11353             # my ($class, $value, $index, $input) = @_;
11354 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11355              
11356             # Deserializing field: 'disk'
11357             # my ($class, $value, $index, $input) = @_;
11358 0           $_[0]->deserialize_string( $_[1]->{disk}, $_[2], $_[3] );
11359              
11360             # Deserializing field: 'nparams'
11361             # my ($class, $value, $index, $input) = @_;
11362 0 0         die "Input buffer too short"
11363             if ($input_length - $_[2]) < 4;
11364 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
11365 0           $_[2] += 4;
11366             die "Out of bounds 'int': $_[1]->{nparams}"
11367 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
11368              
11369             # Deserializing field: 'flags'
11370             # my ($class, $value, $index, $input) = @_;
11371 0 0         die "Input buffer too short"
11372             if ($input_length - $_[2]) < 4;
11373 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11374 0           $_[2] += 4;
11375             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11376 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11377             }
11378             # @_: ($class, $value, $index, $output) = @_;
11379             sub serialize_domain_get_block_io_tune_args {
11380 0 0   0 0   croak "Missing required input 'struct' value"
11381             unless defined $_[1];
11382              
11383             # Serializing field: 'dom'
11384             croak "Missing required input value 'dom'"
11385 0 0         unless exists $_[1]->{dom};
11386             # my ($class, $value, $index, $output) = @_;
11387 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11388              
11389             # Serializing field: 'disk'
11390             croak "Missing required input value 'disk'"
11391 0 0         unless exists $_[1]->{disk};
11392             # my ($class, $value, $index, $output) = @_;
11393 0           $_[0]->serialize_string( $_[1]->{disk}, $_[2], $_[3] );
11394              
11395             # Serializing field: 'nparams'
11396             croak "Missing required input value 'nparams'"
11397 0 0         unless exists $_[1]->{nparams};
11398             # my ($class, $value, $index, $output) = @_;
11399             croak "Missing required input 'int' value"
11400 0 0         unless defined $_[1]->{nparams};
11401             die "Out of bounds 'int': $_[1]->{nparams}"
11402 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
11403             die "Non-integer 'int' value given: $_[1]->{nparams}"
11404 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
11405 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
11406 0           $_[2] += 4;
11407              
11408             # Serializing field: 'flags'
11409             croak "Missing required input value 'flags'"
11410 0 0         unless exists $_[1]->{flags};
11411             # my ($class, $value, $index, $output) = @_;
11412             croak "Missing required input 'unsigned int' value"
11413 0 0         unless defined $_[1]->{flags};
11414             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11415 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11416             die "Non-integer 'int' value given: $_[1]->{flags}"
11417 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11418 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11419 0           $_[2] += 4;
11420             }
11421             # @_: ($class, $value, $index, $input) = @_;
11422             sub deserialize_domain_get_block_io_tune_ret {
11423 0     0 0   my $input_length = length $_[3];
11424 0           $_[1] = {};
11425             # Deserializing field: 'params'
11426             # my ($class, $value, $index, $input) = @_;
11427 0           do {
11428 0 0         die "Input buffer too short"
11429             if ($input_length - $_[2]) < 4;
11430 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
11431 0           $_[2] += 4;
11432              
11433 0 0         die "Array too long (max: 32): $len"
11434             unless ($len <= 32);
11435 0           $_[1]->{params} = [];
11436 0           for my $i1 ( 0 .. ($len - 1) ) {
11437             # my ($class, $value, $index, $input) = @_;
11438 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11439             }
11440             };
11441              
11442             # Deserializing field: 'nparams'
11443             # my ($class, $value, $index, $input) = @_;
11444 0 0         die "Input buffer too short"
11445             if ($input_length - $_[2]) < 4;
11446 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
11447 0           $_[2] += 4;
11448             die "Out of bounds 'int': $_[1]->{nparams}"
11449 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
11450             }
11451             # @_: ($class, $value, $index, $output) = @_;
11452             sub serialize_domain_get_block_io_tune_ret {
11453 0 0   0 0   croak "Missing required input 'struct' value"
11454             unless defined $_[1];
11455              
11456             # Serializing field: 'params'
11457             croak "Missing required input value 'params'"
11458 0 0         unless exists $_[1]->{params};
11459             # my ($class, $value, $index, $output) = @_;
11460             croak "Missing required input 'array' value"
11461 0 0         unless defined $_[1]->{params};
11462 0           do {
11463 0           my $len = scalar @{ $_[1]->{params} };
  0            
11464 0 0         die "Array too long (max: 32): $len"
11465             unless ($len <= 32);
11466              
11467 0           substr( $_[3], $_[2] ) = pack("L>", $len);
11468 0           $_[2] += 4;
11469 0           for my $i1 ( 0 .. ($len - 1) ) {
11470             # my ($class, $value, $index, $output) = @_;
11471 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11472             }
11473             };
11474              
11475             # Serializing field: 'nparams'
11476             croak "Missing required input value 'nparams'"
11477 0 0         unless exists $_[1]->{nparams};
11478             # my ($class, $value, $index, $output) = @_;
11479             croak "Missing required input 'int' value"
11480 0 0         unless defined $_[1]->{nparams};
11481             die "Out of bounds 'int': $_[1]->{nparams}"
11482 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
11483             die "Non-integer 'int' value given: $_[1]->{nparams}"
11484 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
11485 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
11486 0           $_[2] += 4;
11487             }
11488             # @_: ($class, $value, $index, $input) = @_;
11489             sub deserialize_domain_set_throttle_group_args {
11490 0     0 0   my $input_length = length $_[3];
11491 0           $_[1] = {};
11492             # Deserializing field: 'dom'
11493             # my ($class, $value, $index, $input) = @_;
11494 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11495              
11496             # Deserializing field: 'group'
11497             # my ($class, $value, $index, $input) = @_;
11498 0           $_[0]->deserialize_nonnull_string( $_[1]->{group}, $_[2], $_[3] );
11499              
11500             # Deserializing field: 'params'
11501             # my ($class, $value, $index, $input) = @_;
11502 0           do {
11503 0 0         die "Input buffer too short"
11504             if ($input_length - $_[2]) < 4;
11505 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
11506 0           $_[2] += 4;
11507              
11508 0 0         die "Array too long (max: 32): $len"
11509             unless ($len <= 32);
11510 0           $_[1]->{params} = [];
11511 0           for my $i1 ( 0 .. ($len - 1) ) {
11512             # my ($class, $value, $index, $input) = @_;
11513 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11514             }
11515             };
11516              
11517             # Deserializing field: 'flags'
11518             # my ($class, $value, $index, $input) = @_;
11519 0 0         die "Input buffer too short"
11520             if ($input_length - $_[2]) < 4;
11521 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11522 0           $_[2] += 4;
11523             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11524 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11525             }
11526             # @_: ($class, $value, $index, $output) = @_;
11527             sub serialize_domain_set_throttle_group_args {
11528 0 0   0 0   croak "Missing required input 'struct' value"
11529             unless defined $_[1];
11530              
11531             # Serializing field: 'dom'
11532             croak "Missing required input value 'dom'"
11533 0 0         unless exists $_[1]->{dom};
11534             # my ($class, $value, $index, $output) = @_;
11535 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11536              
11537             # Serializing field: 'group'
11538             croak "Missing required input value 'group'"
11539 0 0         unless exists $_[1]->{group};
11540             # my ($class, $value, $index, $output) = @_;
11541 0           $_[0]->serialize_nonnull_string( $_[1]->{group}, $_[2], $_[3] );
11542              
11543             # Serializing field: 'params'
11544             croak "Missing required input value 'params'"
11545 0 0         unless exists $_[1]->{params};
11546             # my ($class, $value, $index, $output) = @_;
11547             croak "Missing required input 'array' value"
11548 0 0         unless defined $_[1]->{params};
11549 0           do {
11550 0           my $len = scalar @{ $_[1]->{params} };
  0            
11551 0 0         die "Array too long (max: 32): $len"
11552             unless ($len <= 32);
11553              
11554 0           substr( $_[3], $_[2] ) = pack("L>", $len);
11555 0           $_[2] += 4;
11556 0           for my $i1 ( 0 .. ($len - 1) ) {
11557             # my ($class, $value, $index, $output) = @_;
11558 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11559             }
11560             };
11561              
11562             # Serializing field: 'flags'
11563             croak "Missing required input value 'flags'"
11564 0 0         unless exists $_[1]->{flags};
11565             # my ($class, $value, $index, $output) = @_;
11566             croak "Missing required input 'unsigned int' value"
11567 0 0         unless defined $_[1]->{flags};
11568             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11569 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11570             die "Non-integer 'int' value given: $_[1]->{flags}"
11571 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11572 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11573 0           $_[2] += 4;
11574             }
11575             # @_: ($class, $value, $index, $input) = @_;
11576             sub deserialize_domain_del_throttle_group_args {
11577 0     0 0   my $input_length = length $_[3];
11578 0           $_[1] = {};
11579             # Deserializing field: 'dom'
11580             # my ($class, $value, $index, $input) = @_;
11581 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11582              
11583             # Deserializing field: 'group'
11584             # my ($class, $value, $index, $input) = @_;
11585 0           $_[0]->deserialize_string( $_[1]->{group}, $_[2], $_[3] );
11586              
11587             # Deserializing field: 'flags'
11588             # my ($class, $value, $index, $input) = @_;
11589 0 0         die "Input buffer too short"
11590             if ($input_length - $_[2]) < 4;
11591 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11592 0           $_[2] += 4;
11593             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11594 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11595             }
11596             # @_: ($class, $value, $index, $output) = @_;
11597             sub serialize_domain_del_throttle_group_args {
11598 0 0   0 0   croak "Missing required input 'struct' value"
11599             unless defined $_[1];
11600              
11601             # Serializing field: 'dom'
11602             croak "Missing required input value 'dom'"
11603 0 0         unless exists $_[1]->{dom};
11604             # my ($class, $value, $index, $output) = @_;
11605 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11606              
11607             # Serializing field: 'group'
11608             croak "Missing required input value 'group'"
11609 0 0         unless exists $_[1]->{group};
11610             # my ($class, $value, $index, $output) = @_;
11611 0           $_[0]->serialize_string( $_[1]->{group}, $_[2], $_[3] );
11612              
11613             # Serializing field: 'flags'
11614             croak "Missing required input value 'flags'"
11615 0 0         unless exists $_[1]->{flags};
11616             # my ($class, $value, $index, $output) = @_;
11617             croak "Missing required input 'unsigned int' value"
11618 0 0         unless defined $_[1]->{flags};
11619             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11620 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11621             die "Non-integer 'int' value given: $_[1]->{flags}"
11622 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11623 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11624 0           $_[2] += 4;
11625             }
11626             # @_: ($class, $value, $index, $input) = @_;
11627             sub deserialize_domain_get_cpu_stats_args {
11628 0     0 0   my $input_length = length $_[3];
11629 0           $_[1] = {};
11630             # Deserializing field: 'dom'
11631             # my ($class, $value, $index, $input) = @_;
11632 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11633              
11634             # Deserializing field: 'nparams'
11635             # my ($class, $value, $index, $input) = @_;
11636 0 0         die "Input buffer too short"
11637             if ($input_length - $_[2]) < 4;
11638 0           $_[1]->{nparams} = unpack("L>", substr( $_[3], $_[2] ));
11639 0           $_[2] += 4;
11640             die "Out of bounds 'unsigned int': $_[1]->{nparams}"
11641 0 0 0       unless (0 <= $_[1]->{nparams} and $_[1]->{nparams} <= 4294967295);
11642              
11643             # Deserializing field: 'start_cpu'
11644             # my ($class, $value, $index, $input) = @_;
11645 0 0         die "Input buffer too short"
11646             if ($input_length - $_[2]) < 4;
11647 0           $_[1]->{start_cpu} = unpack("l>", substr( $_[3], $_[2] ));
11648 0           $_[2] += 4;
11649             die "Out of bounds 'int': $_[1]->{start_cpu}"
11650 0 0 0       unless (-2147483648 <= $_[1]->{start_cpu} and $_[1]->{start_cpu} < 2147483648);
11651              
11652             # Deserializing field: 'ncpus'
11653             # my ($class, $value, $index, $input) = @_;
11654 0 0         die "Input buffer too short"
11655             if ($input_length - $_[2]) < 4;
11656 0           $_[1]->{ncpus} = unpack("L>", substr( $_[3], $_[2] ));
11657 0           $_[2] += 4;
11658             die "Out of bounds 'unsigned int': $_[1]->{ncpus}"
11659 0 0 0       unless (0 <= $_[1]->{ncpus} and $_[1]->{ncpus} <= 4294967295);
11660              
11661             # Deserializing field: 'flags'
11662             # my ($class, $value, $index, $input) = @_;
11663 0 0         die "Input buffer too short"
11664             if ($input_length - $_[2]) < 4;
11665 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11666 0           $_[2] += 4;
11667             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11668 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11669             }
11670             # @_: ($class, $value, $index, $output) = @_;
11671             sub serialize_domain_get_cpu_stats_args {
11672 0 0   0 0   croak "Missing required input 'struct' value"
11673             unless defined $_[1];
11674              
11675             # Serializing field: 'dom'
11676             croak "Missing required input value 'dom'"
11677 0 0         unless exists $_[1]->{dom};
11678             # my ($class, $value, $index, $output) = @_;
11679 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11680              
11681             # Serializing field: 'nparams'
11682             croak "Missing required input value 'nparams'"
11683 0 0         unless exists $_[1]->{nparams};
11684             # my ($class, $value, $index, $output) = @_;
11685             croak "Missing required input 'unsigned int' value"
11686 0 0         unless defined $_[1]->{nparams};
11687             die "Out of bounds 'unsigned int': $_[1]->{nparams}"
11688 0 0 0       unless (0 <= $_[1]->{nparams} and $_[1]->{nparams} <= 4294967295);
11689             die "Non-integer 'int' value given: $_[1]->{nparams}"
11690 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
11691 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{nparams});
11692 0           $_[2] += 4;
11693              
11694             # Serializing field: 'start_cpu'
11695             croak "Missing required input value 'start_cpu'"
11696 0 0         unless exists $_[1]->{start_cpu};
11697             # my ($class, $value, $index, $output) = @_;
11698             croak "Missing required input 'int' value"
11699 0 0         unless defined $_[1]->{start_cpu};
11700             die "Out of bounds 'int': $_[1]->{start_cpu}"
11701 0 0 0       unless (-2147483648 <= $_[1]->{start_cpu} and $_[1]->{start_cpu} < 2147483648);
11702             die "Non-integer 'int' value given: $_[1]->{start_cpu}"
11703 0 0         unless int($_[1]->{start_cpu}) == $_[1]->{start_cpu};
11704 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{start_cpu});
11705 0           $_[2] += 4;
11706              
11707             # Serializing field: 'ncpus'
11708             croak "Missing required input value 'ncpus'"
11709 0 0         unless exists $_[1]->{ncpus};
11710             # my ($class, $value, $index, $output) = @_;
11711             croak "Missing required input 'unsigned int' value"
11712 0 0         unless defined $_[1]->{ncpus};
11713             die "Out of bounds 'unsigned int': $_[1]->{ncpus}"
11714 0 0 0       unless (0 <= $_[1]->{ncpus} and $_[1]->{ncpus} <= 4294967295);
11715             die "Non-integer 'int' value given: $_[1]->{ncpus}"
11716 0 0         unless int($_[1]->{ncpus}) == $_[1]->{ncpus};
11717 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ncpus});
11718 0           $_[2] += 4;
11719              
11720             # Serializing field: 'flags'
11721             croak "Missing required input value 'flags'"
11722 0 0         unless exists $_[1]->{flags};
11723             # my ($class, $value, $index, $output) = @_;
11724             croak "Missing required input 'unsigned int' value"
11725 0 0         unless defined $_[1]->{flags};
11726             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11727 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11728             die "Non-integer 'int' value given: $_[1]->{flags}"
11729 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11730 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11731 0           $_[2] += 4;
11732             }
11733             # @_: ($class, $value, $index, $input) = @_;
11734             sub deserialize_domain_get_cpu_stats_ret {
11735 0     0 0   my $input_length = length $_[3];
11736 0           $_[1] = {};
11737             # Deserializing field: 'params'
11738             # my ($class, $value, $index, $input) = @_;
11739 0           do {
11740 0 0         die "Input buffer too short"
11741             if ($input_length - $_[2]) < 4;
11742 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
11743 0           $_[2] += 4;
11744              
11745 0 0         die "Array too long (max: 2048): $len"
11746             unless ($len <= 2048);
11747 0           $_[1]->{params} = [];
11748 0           for my $i1 ( 0 .. ($len - 1) ) {
11749             # my ($class, $value, $index, $input) = @_;
11750 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11751             }
11752             };
11753              
11754             # Deserializing field: 'nparams'
11755             # my ($class, $value, $index, $input) = @_;
11756 0 0         die "Input buffer too short"
11757             if ($input_length - $_[2]) < 4;
11758 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
11759 0           $_[2] += 4;
11760             die "Out of bounds 'int': $_[1]->{nparams}"
11761 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
11762             }
11763             # @_: ($class, $value, $index, $output) = @_;
11764             sub serialize_domain_get_cpu_stats_ret {
11765 0 0   0 0   croak "Missing required input 'struct' value"
11766             unless defined $_[1];
11767              
11768             # Serializing field: 'params'
11769             croak "Missing required input value 'params'"
11770 0 0         unless exists $_[1]->{params};
11771             # my ($class, $value, $index, $output) = @_;
11772             croak "Missing required input 'array' value"
11773 0 0         unless defined $_[1]->{params};
11774 0           do {
11775 0           my $len = scalar @{ $_[1]->{params} };
  0            
11776 0 0         die "Array too long (max: 2048): $len"
11777             unless ($len <= 2048);
11778              
11779 0           substr( $_[3], $_[2] ) = pack("L>", $len);
11780 0           $_[2] += 4;
11781 0           for my $i1 ( 0 .. ($len - 1) ) {
11782             # my ($class, $value, $index, $output) = @_;
11783 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11784             }
11785             };
11786              
11787             # Serializing field: 'nparams'
11788             croak "Missing required input value 'nparams'"
11789 0 0         unless exists $_[1]->{nparams};
11790             # my ($class, $value, $index, $output) = @_;
11791             croak "Missing required input 'int' value"
11792 0 0         unless defined $_[1]->{nparams};
11793             die "Out of bounds 'int': $_[1]->{nparams}"
11794 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
11795             die "Non-integer 'int' value given: $_[1]->{nparams}"
11796 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
11797 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
11798 0           $_[2] += 4;
11799             }
11800             # @_: ($class, $value, $index, $input) = @_;
11801             sub deserialize_domain_get_hostname_args {
11802 0     0 0   my $input_length = length $_[3];
11803 0           $_[1] = {};
11804             # Deserializing field: 'dom'
11805             # my ($class, $value, $index, $input) = @_;
11806 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11807              
11808             # Deserializing field: 'flags'
11809             # my ($class, $value, $index, $input) = @_;
11810 0 0         die "Input buffer too short"
11811             if ($input_length - $_[2]) < 4;
11812 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11813 0           $_[2] += 4;
11814             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11815 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11816             }
11817             # @_: ($class, $value, $index, $output) = @_;
11818             sub serialize_domain_get_hostname_args {
11819 0 0   0 0   croak "Missing required input 'struct' value"
11820             unless defined $_[1];
11821              
11822             # Serializing field: 'dom'
11823             croak "Missing required input value 'dom'"
11824 0 0         unless exists $_[1]->{dom};
11825             # my ($class, $value, $index, $output) = @_;
11826 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11827              
11828             # Serializing field: 'flags'
11829             croak "Missing required input value 'flags'"
11830 0 0         unless exists $_[1]->{flags};
11831             # my ($class, $value, $index, $output) = @_;
11832             croak "Missing required input 'unsigned int' value"
11833 0 0         unless defined $_[1]->{flags};
11834             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11835 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11836             die "Non-integer 'int' value given: $_[1]->{flags}"
11837 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11838 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11839 0           $_[2] += 4;
11840             }
11841             # @_: ($class, $value, $index, $input) = @_;
11842             sub deserialize_domain_get_hostname_ret {
11843 0     0 0   my $input_length = length $_[3];
11844 0           $_[1] = {};
11845             # Deserializing field: 'hostname'
11846             # my ($class, $value, $index, $input) = @_;
11847 0           $_[0]->deserialize_nonnull_string( $_[1]->{hostname}, $_[2], $_[3] );
11848             }
11849             # @_: ($class, $value, $index, $output) = @_;
11850             sub serialize_domain_get_hostname_ret {
11851 0 0   0 0   croak "Missing required input 'struct' value"
11852             unless defined $_[1];
11853              
11854             # Serializing field: 'hostname'
11855             croak "Missing required input value 'hostname'"
11856 0 0         unless exists $_[1]->{hostname};
11857             # my ($class, $value, $index, $output) = @_;
11858 0           $_[0]->serialize_nonnull_string( $_[1]->{hostname}, $_[2], $_[3] );
11859             }
11860             # @_: ($class, $value, $index, $input) = @_;
11861             sub deserialize_connect_num_of_networks_ret {
11862 0     0 0   my $input_length = length $_[3];
11863 0           $_[1] = {};
11864             # Deserializing field: 'num'
11865             # my ($class, $value, $index, $input) = @_;
11866 0 0         die "Input buffer too short"
11867             if ($input_length - $_[2]) < 4;
11868 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
11869 0           $_[2] += 4;
11870             die "Out of bounds 'int': $_[1]->{num}"
11871 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
11872             }
11873             # @_: ($class, $value, $index, $output) = @_;
11874             sub serialize_connect_num_of_networks_ret {
11875 0 0   0 0   croak "Missing required input 'struct' value"
11876             unless defined $_[1];
11877              
11878             # Serializing field: 'num'
11879             croak "Missing required input value 'num'"
11880 0 0         unless exists $_[1]->{num};
11881             # my ($class, $value, $index, $output) = @_;
11882             croak "Missing required input 'int' value"
11883 0 0         unless defined $_[1]->{num};
11884             die "Out of bounds 'int': $_[1]->{num}"
11885 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
11886             die "Non-integer 'int' value given: $_[1]->{num}"
11887 0 0         unless int($_[1]->{num}) == $_[1]->{num};
11888 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
11889 0           $_[2] += 4;
11890             }
11891             # @_: ($class, $value, $index, $input) = @_;
11892             sub deserialize_connect_list_networks_args {
11893 0     0 0   my $input_length = length $_[3];
11894 0           $_[1] = {};
11895             # Deserializing field: 'maxnames'
11896             # my ($class, $value, $index, $input) = @_;
11897 0 0         die "Input buffer too short"
11898             if ($input_length - $_[2]) < 4;
11899 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
11900 0           $_[2] += 4;
11901             die "Out of bounds 'int': $_[1]->{maxnames}"
11902 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
11903             }
11904             # @_: ($class, $value, $index, $output) = @_;
11905             sub serialize_connect_list_networks_args {
11906 0 0   0 0   croak "Missing required input 'struct' value"
11907             unless defined $_[1];
11908              
11909             # Serializing field: 'maxnames'
11910             croak "Missing required input value 'maxnames'"
11911 0 0         unless exists $_[1]->{maxnames};
11912             # my ($class, $value, $index, $output) = @_;
11913             croak "Missing required input 'int' value"
11914 0 0         unless defined $_[1]->{maxnames};
11915             die "Out of bounds 'int': $_[1]->{maxnames}"
11916 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
11917             die "Non-integer 'int' value given: $_[1]->{maxnames}"
11918 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
11919 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
11920 0           $_[2] += 4;
11921             }
11922             # @_: ($class, $value, $index, $input) = @_;
11923             sub deserialize_connect_list_networks_ret {
11924 0     0 0   my $input_length = length $_[3];
11925 0           $_[1] = {};
11926             # Deserializing field: 'names'
11927             # my ($class, $value, $index, $input) = @_;
11928 0           do {
11929 0 0         die "Input buffer too short"
11930             if ($input_length - $_[2]) < 4;
11931 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
11932 0           $_[2] += 4;
11933              
11934 0 0         die "Array too long (max: 16384): $len"
11935             unless ($len <= 16384);
11936 0           $_[1]->{names} = [];
11937 0           for my $i1 ( 0 .. ($len - 1) ) {
11938             # my ($class, $value, $index, $input) = @_;
11939 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
11940             }
11941             };
11942             }
11943             # @_: ($class, $value, $index, $output) = @_;
11944             sub serialize_connect_list_networks_ret {
11945 0 0   0 0   croak "Missing required input 'struct' value"
11946             unless defined $_[1];
11947              
11948             # Serializing field: 'names'
11949             croak "Missing required input value 'names'"
11950 0 0         unless exists $_[1]->{names};
11951             # my ($class, $value, $index, $output) = @_;
11952             croak "Missing required input 'array' value"
11953 0 0         unless defined $_[1]->{names};
11954 0           do {
11955 0           my $len = scalar @{ $_[1]->{names} };
  0            
11956 0 0         die "Array too long (max: 16384): $len"
11957             unless ($len <= 16384);
11958              
11959 0           substr( $_[3], $_[2] ) = pack("L>", $len);
11960 0           $_[2] += 4;
11961 0           for my $i1 ( 0 .. ($len - 1) ) {
11962             # my ($class, $value, $index, $output) = @_;
11963 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
11964             }
11965             };
11966             }
11967             # @_: ($class, $value, $index, $input) = @_;
11968             sub deserialize_connect_num_of_defined_networks_ret {
11969 0     0 0   my $input_length = length $_[3];
11970 0           $_[1] = {};
11971             # Deserializing field: 'num'
11972             # my ($class, $value, $index, $input) = @_;
11973 0 0         die "Input buffer too short"
11974             if ($input_length - $_[2]) < 4;
11975 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
11976 0           $_[2] += 4;
11977             die "Out of bounds 'int': $_[1]->{num}"
11978 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
11979             }
11980             # @_: ($class, $value, $index, $output) = @_;
11981             sub serialize_connect_num_of_defined_networks_ret {
11982 0 0   0 0   croak "Missing required input 'struct' value"
11983             unless defined $_[1];
11984              
11985             # Serializing field: 'num'
11986             croak "Missing required input value 'num'"
11987 0 0         unless exists $_[1]->{num};
11988             # my ($class, $value, $index, $output) = @_;
11989             croak "Missing required input 'int' value"
11990 0 0         unless defined $_[1]->{num};
11991             die "Out of bounds 'int': $_[1]->{num}"
11992 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
11993             die "Non-integer 'int' value given: $_[1]->{num}"
11994 0 0         unless int($_[1]->{num}) == $_[1]->{num};
11995 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
11996 0           $_[2] += 4;
11997             }
11998             # @_: ($class, $value, $index, $input) = @_;
11999             sub deserialize_connect_list_defined_networks_args {
12000 0     0 0   my $input_length = length $_[3];
12001 0           $_[1] = {};
12002             # Deserializing field: 'maxnames'
12003             # my ($class, $value, $index, $input) = @_;
12004 0 0         die "Input buffer too short"
12005             if ($input_length - $_[2]) < 4;
12006 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
12007 0           $_[2] += 4;
12008             die "Out of bounds 'int': $_[1]->{maxnames}"
12009 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
12010             }
12011             # @_: ($class, $value, $index, $output) = @_;
12012             sub serialize_connect_list_defined_networks_args {
12013 0 0   0 0   croak "Missing required input 'struct' value"
12014             unless defined $_[1];
12015              
12016             # Serializing field: 'maxnames'
12017             croak "Missing required input value 'maxnames'"
12018 0 0         unless exists $_[1]->{maxnames};
12019             # my ($class, $value, $index, $output) = @_;
12020             croak "Missing required input 'int' value"
12021 0 0         unless defined $_[1]->{maxnames};
12022             die "Out of bounds 'int': $_[1]->{maxnames}"
12023 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
12024             die "Non-integer 'int' value given: $_[1]->{maxnames}"
12025 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
12026 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
12027 0           $_[2] += 4;
12028             }
12029             # @_: ($class, $value, $index, $input) = @_;
12030             sub deserialize_connect_list_defined_networks_ret {
12031 0     0 0   my $input_length = length $_[3];
12032 0           $_[1] = {};
12033             # Deserializing field: 'names'
12034             # my ($class, $value, $index, $input) = @_;
12035 0           do {
12036 0 0         die "Input buffer too short"
12037             if ($input_length - $_[2]) < 4;
12038 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
12039 0           $_[2] += 4;
12040              
12041 0 0         die "Array too long (max: 16384): $len"
12042             unless ($len <= 16384);
12043 0           $_[1]->{names} = [];
12044 0           for my $i1 ( 0 .. ($len - 1) ) {
12045             # my ($class, $value, $index, $input) = @_;
12046 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
12047             }
12048             };
12049             }
12050             # @_: ($class, $value, $index, $output) = @_;
12051             sub serialize_connect_list_defined_networks_ret {
12052 0 0   0 0   croak "Missing required input 'struct' value"
12053             unless defined $_[1];
12054              
12055             # Serializing field: 'names'
12056             croak "Missing required input value 'names'"
12057 0 0         unless exists $_[1]->{names};
12058             # my ($class, $value, $index, $output) = @_;
12059             croak "Missing required input 'array' value"
12060 0 0         unless defined $_[1]->{names};
12061 0           do {
12062 0           my $len = scalar @{ $_[1]->{names} };
  0            
12063 0 0         die "Array too long (max: 16384): $len"
12064             unless ($len <= 16384);
12065              
12066 0           substr( $_[3], $_[2] ) = pack("L>", $len);
12067 0           $_[2] += 4;
12068 0           for my $i1 ( 0 .. ($len - 1) ) {
12069             # my ($class, $value, $index, $output) = @_;
12070 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
12071             }
12072             };
12073             }
12074             # @_: ($class, $value, $index, $input) = @_;
12075             sub deserialize_network_lookup_by_uuid_args {
12076 0     0 0   my $input_length = length $_[3];
12077 0           $_[1] = {};
12078             # Deserializing field: 'uuid'
12079             # my ($class, $value, $index, $input) = @_;
12080 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
12081             }
12082             # @_: ($class, $value, $index, $output) = @_;
12083             sub serialize_network_lookup_by_uuid_args {
12084 0 0   0 0   croak "Missing required input 'struct' value"
12085             unless defined $_[1];
12086              
12087             # Serializing field: 'uuid'
12088             croak "Missing required input value 'uuid'"
12089 0 0         unless exists $_[1]->{uuid};
12090             # my ($class, $value, $index, $output) = @_;
12091 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
12092             }
12093             # @_: ($class, $value, $index, $input) = @_;
12094             sub deserialize_network_lookup_by_uuid_ret {
12095 0     0 0   my $input_length = length $_[3];
12096 0           $_[1] = {};
12097             # Deserializing field: 'net'
12098             # my ($class, $value, $index, $input) = @_;
12099 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12100             }
12101             # @_: ($class, $value, $index, $output) = @_;
12102             sub serialize_network_lookup_by_uuid_ret {
12103 0 0   0 0   croak "Missing required input 'struct' value"
12104             unless defined $_[1];
12105              
12106             # Serializing field: 'net'
12107             croak "Missing required input value 'net'"
12108 0 0         unless exists $_[1]->{net};
12109             # my ($class, $value, $index, $output) = @_;
12110 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12111             }
12112             # @_: ($class, $value, $index, $input) = @_;
12113             sub deserialize_network_lookup_by_name_args {
12114 0     0 0   my $input_length = length $_[3];
12115 0           $_[1] = {};
12116             # Deserializing field: 'name'
12117             # my ($class, $value, $index, $input) = @_;
12118 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
12119             }
12120             # @_: ($class, $value, $index, $output) = @_;
12121             sub serialize_network_lookup_by_name_args {
12122 0 0   0 0   croak "Missing required input 'struct' value"
12123             unless defined $_[1];
12124              
12125             # Serializing field: 'name'
12126             croak "Missing required input value 'name'"
12127 0 0         unless exists $_[1]->{name};
12128             # my ($class, $value, $index, $output) = @_;
12129 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
12130             }
12131             # @_: ($class, $value, $index, $input) = @_;
12132             sub deserialize_network_lookup_by_name_ret {
12133 0     0 0   my $input_length = length $_[3];
12134 0           $_[1] = {};
12135             # Deserializing field: 'net'
12136             # my ($class, $value, $index, $input) = @_;
12137 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12138             }
12139             # @_: ($class, $value, $index, $output) = @_;
12140             sub serialize_network_lookup_by_name_ret {
12141 0 0   0 0   croak "Missing required input 'struct' value"
12142             unless defined $_[1];
12143              
12144             # Serializing field: 'net'
12145             croak "Missing required input value 'net'"
12146 0 0         unless exists $_[1]->{net};
12147             # my ($class, $value, $index, $output) = @_;
12148 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12149             }
12150             # @_: ($class, $value, $index, $input) = @_;
12151             sub deserialize_network_create_xml_args {
12152 0     0 0   my $input_length = length $_[3];
12153 0           $_[1] = {};
12154             # Deserializing field: 'xml'
12155             # my ($class, $value, $index, $input) = @_;
12156 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12157             }
12158             # @_: ($class, $value, $index, $output) = @_;
12159             sub serialize_network_create_xml_args {
12160 0 0   0 0   croak "Missing required input 'struct' value"
12161             unless defined $_[1];
12162              
12163             # Serializing field: 'xml'
12164             croak "Missing required input value 'xml'"
12165 0 0         unless exists $_[1]->{xml};
12166             # my ($class, $value, $index, $output) = @_;
12167 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12168             }
12169             # @_: ($class, $value, $index, $input) = @_;
12170             sub deserialize_network_create_xml_ret {
12171 0     0 0   my $input_length = length $_[3];
12172 0           $_[1] = {};
12173             # Deserializing field: 'net'
12174             # my ($class, $value, $index, $input) = @_;
12175 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12176             }
12177             # @_: ($class, $value, $index, $output) = @_;
12178             sub serialize_network_create_xml_ret {
12179 0 0   0 0   croak "Missing required input 'struct' value"
12180             unless defined $_[1];
12181              
12182             # Serializing field: 'net'
12183             croak "Missing required input value 'net'"
12184 0 0         unless exists $_[1]->{net};
12185             # my ($class, $value, $index, $output) = @_;
12186 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12187             }
12188             # @_: ($class, $value, $index, $input) = @_;
12189             sub deserialize_network_create_xml_flags_args {
12190 0     0 0   my $input_length = length $_[3];
12191 0           $_[1] = {};
12192             # Deserializing field: 'xml'
12193             # my ($class, $value, $index, $input) = @_;
12194 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12195              
12196             # Deserializing field: 'flags'
12197             # my ($class, $value, $index, $input) = @_;
12198 0 0         die "Input buffer too short"
12199             if ($input_length - $_[2]) < 4;
12200 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
12201 0           $_[2] += 4;
12202             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12203 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12204             }
12205             # @_: ($class, $value, $index, $output) = @_;
12206             sub serialize_network_create_xml_flags_args {
12207 0 0   0 0   croak "Missing required input 'struct' value"
12208             unless defined $_[1];
12209              
12210             # Serializing field: 'xml'
12211             croak "Missing required input value 'xml'"
12212 0 0         unless exists $_[1]->{xml};
12213             # my ($class, $value, $index, $output) = @_;
12214 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12215              
12216             # Serializing field: 'flags'
12217             croak "Missing required input value 'flags'"
12218 0 0         unless exists $_[1]->{flags};
12219             # my ($class, $value, $index, $output) = @_;
12220             croak "Missing required input 'unsigned int' value"
12221 0 0         unless defined $_[1]->{flags};
12222             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12223 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12224             die "Non-integer 'int' value given: $_[1]->{flags}"
12225 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
12226 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
12227 0           $_[2] += 4;
12228             }
12229             # @_: ($class, $value, $index, $input) = @_;
12230             sub deserialize_network_create_xml_flags_ret {
12231 0     0 0   my $input_length = length $_[3];
12232 0           $_[1] = {};
12233             # Deserializing field: 'net'
12234             # my ($class, $value, $index, $input) = @_;
12235 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12236             }
12237             # @_: ($class, $value, $index, $output) = @_;
12238             sub serialize_network_create_xml_flags_ret {
12239 0 0   0 0   croak "Missing required input 'struct' value"
12240             unless defined $_[1];
12241              
12242             # Serializing field: 'net'
12243             croak "Missing required input value 'net'"
12244 0 0         unless exists $_[1]->{net};
12245             # my ($class, $value, $index, $output) = @_;
12246 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12247             }
12248             # @_: ($class, $value, $index, $input) = @_;
12249             sub deserialize_network_define_xml_args {
12250 0     0 0   my $input_length = length $_[3];
12251 0           $_[1] = {};
12252             # Deserializing field: 'xml'
12253             # my ($class, $value, $index, $input) = @_;
12254 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12255             }
12256             # @_: ($class, $value, $index, $output) = @_;
12257             sub serialize_network_define_xml_args {
12258 0 0   0 0   croak "Missing required input 'struct' value"
12259             unless defined $_[1];
12260              
12261             # Serializing field: 'xml'
12262             croak "Missing required input value 'xml'"
12263 0 0         unless exists $_[1]->{xml};
12264             # my ($class, $value, $index, $output) = @_;
12265 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12266             }
12267             # @_: ($class, $value, $index, $input) = @_;
12268             sub deserialize_network_define_xml_ret {
12269 0     0 0   my $input_length = length $_[3];
12270 0           $_[1] = {};
12271             # Deserializing field: 'net'
12272             # my ($class, $value, $index, $input) = @_;
12273 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12274             }
12275             # @_: ($class, $value, $index, $output) = @_;
12276             sub serialize_network_define_xml_ret {
12277 0 0   0 0   croak "Missing required input 'struct' value"
12278             unless defined $_[1];
12279              
12280             # Serializing field: 'net'
12281             croak "Missing required input value 'net'"
12282 0 0         unless exists $_[1]->{net};
12283             # my ($class, $value, $index, $output) = @_;
12284 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12285             }
12286             # @_: ($class, $value, $index, $input) = @_;
12287             sub deserialize_network_define_xml_flags_args {
12288 0     0 0   my $input_length = length $_[3];
12289 0           $_[1] = {};
12290             # Deserializing field: 'xml'
12291             # my ($class, $value, $index, $input) = @_;
12292 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12293              
12294             # Deserializing field: 'flags'
12295             # my ($class, $value, $index, $input) = @_;
12296 0 0         die "Input buffer too short"
12297             if ($input_length - $_[2]) < 4;
12298 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
12299 0           $_[2] += 4;
12300             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12301 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12302             }
12303             # @_: ($class, $value, $index, $output) = @_;
12304             sub serialize_network_define_xml_flags_args {
12305 0 0   0 0   croak "Missing required input 'struct' value"
12306             unless defined $_[1];
12307              
12308             # Serializing field: 'xml'
12309             croak "Missing required input value 'xml'"
12310 0 0         unless exists $_[1]->{xml};
12311             # my ($class, $value, $index, $output) = @_;
12312 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12313              
12314             # Serializing field: 'flags'
12315             croak "Missing required input value 'flags'"
12316 0 0         unless exists $_[1]->{flags};
12317             # my ($class, $value, $index, $output) = @_;
12318             croak "Missing required input 'unsigned int' value"
12319 0 0         unless defined $_[1]->{flags};
12320             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12321 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12322             die "Non-integer 'int' value given: $_[1]->{flags}"
12323 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
12324 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
12325 0           $_[2] += 4;
12326             }
12327             # @_: ($class, $value, $index, $input) = @_;
12328             sub deserialize_network_define_xml_flags_ret {
12329 0     0 0   my $input_length = length $_[3];
12330 0           $_[1] = {};
12331             # Deserializing field: 'net'
12332             # my ($class, $value, $index, $input) = @_;
12333 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12334             }
12335             # @_: ($class, $value, $index, $output) = @_;
12336             sub serialize_network_define_xml_flags_ret {
12337 0 0   0 0   croak "Missing required input 'struct' value"
12338             unless defined $_[1];
12339              
12340             # Serializing field: 'net'
12341             croak "Missing required input value 'net'"
12342 0 0         unless exists $_[1]->{net};
12343             # my ($class, $value, $index, $output) = @_;
12344 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12345             }
12346             # @_: ($class, $value, $index, $input) = @_;
12347             sub deserialize_network_undefine_args {
12348 0     0 0   my $input_length = length $_[3];
12349 0           $_[1] = {};
12350             # Deserializing field: 'net'
12351             # my ($class, $value, $index, $input) = @_;
12352 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12353             }
12354             # @_: ($class, $value, $index, $output) = @_;
12355             sub serialize_network_undefine_args {
12356 0 0   0 0   croak "Missing required input 'struct' value"
12357             unless defined $_[1];
12358              
12359             # Serializing field: 'net'
12360             croak "Missing required input value 'net'"
12361 0 0         unless exists $_[1]->{net};
12362             # my ($class, $value, $index, $output) = @_;
12363 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12364             }
12365             # @_: ($class, $value, $index, $input) = @_;
12366             sub deserialize_network_update_args {
12367 0     0 0   my $input_length = length $_[3];
12368 0           $_[1] = {};
12369             # Deserializing field: 'net'
12370             # my ($class, $value, $index, $input) = @_;
12371 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12372              
12373             # Deserializing field: 'command'
12374             # my ($class, $value, $index, $input) = @_;
12375 0 0         die "Input buffer too short"
12376             if ($input_length - $_[2]) < 4;
12377 0           $_[1]->{command} = unpack("L>", substr( $_[3], $_[2] ));
12378 0           $_[2] += 4;
12379             die "Out of bounds 'unsigned int': $_[1]->{command}"
12380 0 0 0       unless (0 <= $_[1]->{command} and $_[1]->{command} <= 4294967295);
12381              
12382             # Deserializing field: 'section'
12383             # my ($class, $value, $index, $input) = @_;
12384 0 0         die "Input buffer too short"
12385             if ($input_length - $_[2]) < 4;
12386 0           $_[1]->{section} = unpack("L>", substr( $_[3], $_[2] ));
12387 0           $_[2] += 4;
12388             die "Out of bounds 'unsigned int': $_[1]->{section}"
12389 0 0 0       unless (0 <= $_[1]->{section} and $_[1]->{section} <= 4294967295);
12390              
12391             # Deserializing field: 'parentIndex'
12392             # my ($class, $value, $index, $input) = @_;
12393 0 0         die "Input buffer too short"
12394             if ($input_length - $_[2]) < 4;
12395 0           $_[1]->{parentIndex} = unpack("l>", substr( $_[3], $_[2] ));
12396 0           $_[2] += 4;
12397             die "Out of bounds 'int': $_[1]->{parentIndex}"
12398 0 0 0       unless (-2147483648 <= $_[1]->{parentIndex} and $_[1]->{parentIndex} < 2147483648);
12399              
12400             # Deserializing field: 'xml'
12401             # my ($class, $value, $index, $input) = @_;
12402 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12403              
12404             # Deserializing field: 'flags'
12405             # my ($class, $value, $index, $input) = @_;
12406 0 0         die "Input buffer too short"
12407             if ($input_length - $_[2]) < 4;
12408 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
12409 0           $_[2] += 4;
12410             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12411 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12412             }
12413             # @_: ($class, $value, $index, $output) = @_;
12414             sub serialize_network_update_args {
12415 0 0   0 0   croak "Missing required input 'struct' value"
12416             unless defined $_[1];
12417              
12418             # Serializing field: 'net'
12419             croak "Missing required input value 'net'"
12420 0 0         unless exists $_[1]->{net};
12421             # my ($class, $value, $index, $output) = @_;
12422 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12423              
12424             # Serializing field: 'command'
12425             croak "Missing required input value 'command'"
12426 0 0         unless exists $_[1]->{command};
12427             # my ($class, $value, $index, $output) = @_;
12428             croak "Missing required input 'unsigned int' value"
12429 0 0         unless defined $_[1]->{command};
12430             die "Out of bounds 'unsigned int': $_[1]->{command}"
12431 0 0 0       unless (0 <= $_[1]->{command} and $_[1]->{command} <= 4294967295);
12432             die "Non-integer 'int' value given: $_[1]->{command}"
12433 0 0         unless int($_[1]->{command}) == $_[1]->{command};
12434 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{command});
12435 0           $_[2] += 4;
12436              
12437             # Serializing field: 'section'
12438             croak "Missing required input value 'section'"
12439 0 0         unless exists $_[1]->{section};
12440             # my ($class, $value, $index, $output) = @_;
12441             croak "Missing required input 'unsigned int' value"
12442 0 0         unless defined $_[1]->{section};
12443             die "Out of bounds 'unsigned int': $_[1]->{section}"
12444 0 0 0       unless (0 <= $_[1]->{section} and $_[1]->{section} <= 4294967295);
12445             die "Non-integer 'int' value given: $_[1]->{section}"
12446 0 0         unless int($_[1]->{section}) == $_[1]->{section};
12447 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{section});
12448 0           $_[2] += 4;
12449              
12450             # Serializing field: 'parentIndex'
12451             croak "Missing required input value 'parentIndex'"
12452 0 0         unless exists $_[1]->{parentIndex};
12453             # my ($class, $value, $index, $output) = @_;
12454             croak "Missing required input 'int' value"
12455 0 0         unless defined $_[1]->{parentIndex};
12456             die "Out of bounds 'int': $_[1]->{parentIndex}"
12457 0 0 0       unless (-2147483648 <= $_[1]->{parentIndex} and $_[1]->{parentIndex} < 2147483648);
12458             die "Non-integer 'int' value given: $_[1]->{parentIndex}"
12459 0 0         unless int($_[1]->{parentIndex}) == $_[1]->{parentIndex};
12460 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{parentIndex});
12461 0           $_[2] += 4;
12462              
12463             # Serializing field: 'xml'
12464             croak "Missing required input value 'xml'"
12465 0 0         unless exists $_[1]->{xml};
12466             # my ($class, $value, $index, $output) = @_;
12467 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12468              
12469             # Serializing field: 'flags'
12470             croak "Missing required input value 'flags'"
12471 0 0         unless exists $_[1]->{flags};
12472             # my ($class, $value, $index, $output) = @_;
12473             croak "Missing required input 'unsigned int' value"
12474 0 0         unless defined $_[1]->{flags};
12475             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12476 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12477             die "Non-integer 'int' value given: $_[1]->{flags}"
12478 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
12479 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
12480 0           $_[2] += 4;
12481             }
12482             # @_: ($class, $value, $index, $input) = @_;
12483             sub deserialize_network_create_args {
12484 0     0 0   my $input_length = length $_[3];
12485 0           $_[1] = {};
12486             # Deserializing field: 'net'
12487             # my ($class, $value, $index, $input) = @_;
12488 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12489             }
12490             # @_: ($class, $value, $index, $output) = @_;
12491             sub serialize_network_create_args {
12492 0 0   0 0   croak "Missing required input 'struct' value"
12493             unless defined $_[1];
12494              
12495             # Serializing field: 'net'
12496             croak "Missing required input value 'net'"
12497 0 0         unless exists $_[1]->{net};
12498             # my ($class, $value, $index, $output) = @_;
12499 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12500             }
12501             # @_: ($class, $value, $index, $input) = @_;
12502             sub deserialize_network_destroy_args {
12503 0     0 0   my $input_length = length $_[3];
12504 0           $_[1] = {};
12505             # Deserializing field: 'net'
12506             # my ($class, $value, $index, $input) = @_;
12507 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12508             }
12509             # @_: ($class, $value, $index, $output) = @_;
12510             sub serialize_network_destroy_args {
12511 0 0   0 0   croak "Missing required input 'struct' value"
12512             unless defined $_[1];
12513              
12514             # Serializing field: 'net'
12515             croak "Missing required input value 'net'"
12516 0 0         unless exists $_[1]->{net};
12517             # my ($class, $value, $index, $output) = @_;
12518 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12519             }
12520             # @_: ($class, $value, $index, $input) = @_;
12521             sub deserialize_network_get_xml_desc_args {
12522 0     0 0   my $input_length = length $_[3];
12523 0           $_[1] = {};
12524             # Deserializing field: 'net'
12525             # my ($class, $value, $index, $input) = @_;
12526 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12527              
12528             # Deserializing field: 'flags'
12529             # my ($class, $value, $index, $input) = @_;
12530 0 0         die "Input buffer too short"
12531             if ($input_length - $_[2]) < 4;
12532 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
12533 0           $_[2] += 4;
12534             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12535 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12536             }
12537             # @_: ($class, $value, $index, $output) = @_;
12538             sub serialize_network_get_xml_desc_args {
12539 0 0   0 0   croak "Missing required input 'struct' value"
12540             unless defined $_[1];
12541              
12542             # Serializing field: 'net'
12543             croak "Missing required input value 'net'"
12544 0 0         unless exists $_[1]->{net};
12545             # my ($class, $value, $index, $output) = @_;
12546 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12547              
12548             # Serializing field: 'flags'
12549             croak "Missing required input value 'flags'"
12550 0 0         unless exists $_[1]->{flags};
12551             # my ($class, $value, $index, $output) = @_;
12552             croak "Missing required input 'unsigned int' value"
12553 0 0         unless defined $_[1]->{flags};
12554             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12555 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12556             die "Non-integer 'int' value given: $_[1]->{flags}"
12557 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
12558 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
12559 0           $_[2] += 4;
12560             }
12561             # @_: ($class, $value, $index, $input) = @_;
12562             sub deserialize_network_get_xml_desc_ret {
12563 0     0 0   my $input_length = length $_[3];
12564 0           $_[1] = {};
12565             # Deserializing field: 'xml'
12566             # my ($class, $value, $index, $input) = @_;
12567 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12568             }
12569             # @_: ($class, $value, $index, $output) = @_;
12570             sub serialize_network_get_xml_desc_ret {
12571 0 0   0 0   croak "Missing required input 'struct' value"
12572             unless defined $_[1];
12573              
12574             # Serializing field: 'xml'
12575             croak "Missing required input value 'xml'"
12576 0 0         unless exists $_[1]->{xml};
12577             # my ($class, $value, $index, $output) = @_;
12578 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12579             }
12580             # @_: ($class, $value, $index, $input) = @_;
12581             sub deserialize_network_get_bridge_name_args {
12582 0     0 0   my $input_length = length $_[3];
12583 0           $_[1] = {};
12584             # Deserializing field: 'net'
12585             # my ($class, $value, $index, $input) = @_;
12586 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12587             }
12588             # @_: ($class, $value, $index, $output) = @_;
12589             sub serialize_network_get_bridge_name_args {
12590 0 0   0 0   croak "Missing required input 'struct' value"
12591             unless defined $_[1];
12592              
12593             # Serializing field: 'net'
12594             croak "Missing required input value 'net'"
12595 0 0         unless exists $_[1]->{net};
12596             # my ($class, $value, $index, $output) = @_;
12597 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12598             }
12599             # @_: ($class, $value, $index, $input) = @_;
12600             sub deserialize_network_get_bridge_name_ret {
12601 0     0 0   my $input_length = length $_[3];
12602 0           $_[1] = {};
12603             # Deserializing field: 'name'
12604             # my ($class, $value, $index, $input) = @_;
12605 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
12606             }
12607             # @_: ($class, $value, $index, $output) = @_;
12608             sub serialize_network_get_bridge_name_ret {
12609 0 0   0 0   croak "Missing required input 'struct' value"
12610             unless defined $_[1];
12611              
12612             # Serializing field: 'name'
12613             croak "Missing required input value 'name'"
12614 0 0         unless exists $_[1]->{name};
12615             # my ($class, $value, $index, $output) = @_;
12616 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
12617             }
12618             # @_: ($class, $value, $index, $input) = @_;
12619             sub deserialize_network_get_autostart_args {
12620 0     0 0   my $input_length = length $_[3];
12621 0           $_[1] = {};
12622             # Deserializing field: 'net'
12623             # my ($class, $value, $index, $input) = @_;
12624 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12625             }
12626             # @_: ($class, $value, $index, $output) = @_;
12627             sub serialize_network_get_autostart_args {
12628 0 0   0 0   croak "Missing required input 'struct' value"
12629             unless defined $_[1];
12630              
12631             # Serializing field: 'net'
12632             croak "Missing required input value 'net'"
12633 0 0         unless exists $_[1]->{net};
12634             # my ($class, $value, $index, $output) = @_;
12635 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12636             }
12637             # @_: ($class, $value, $index, $input) = @_;
12638             sub deserialize_network_get_autostart_ret {
12639 0     0 0   my $input_length = length $_[3];
12640 0           $_[1] = {};
12641             # Deserializing field: 'autostart'
12642             # my ($class, $value, $index, $input) = @_;
12643 0 0         die "Input buffer too short"
12644             if ($input_length - $_[2]) < 4;
12645 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
12646 0           $_[2] += 4;
12647             die "Out of bounds 'int': $_[1]->{autostart}"
12648 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
12649             }
12650             # @_: ($class, $value, $index, $output) = @_;
12651             sub serialize_network_get_autostart_ret {
12652 0 0   0 0   croak "Missing required input 'struct' value"
12653             unless defined $_[1];
12654              
12655             # Serializing field: 'autostart'
12656             croak "Missing required input value 'autostart'"
12657 0 0         unless exists $_[1]->{autostart};
12658             # my ($class, $value, $index, $output) = @_;
12659             croak "Missing required input 'int' value"
12660 0 0         unless defined $_[1]->{autostart};
12661             die "Out of bounds 'int': $_[1]->{autostart}"
12662 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
12663             die "Non-integer 'int' value given: $_[1]->{autostart}"
12664 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
12665 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
12666 0           $_[2] += 4;
12667             }
12668             # @_: ($class, $value, $index, $input) = @_;
12669             sub deserialize_network_set_autostart_args {
12670 0     0 0   my $input_length = length $_[3];
12671 0           $_[1] = {};
12672             # Deserializing field: 'net'
12673             # my ($class, $value, $index, $input) = @_;
12674 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12675              
12676             # Deserializing field: 'autostart'
12677             # my ($class, $value, $index, $input) = @_;
12678 0 0         die "Input buffer too short"
12679             if ($input_length - $_[2]) < 4;
12680 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
12681 0           $_[2] += 4;
12682             die "Out of bounds 'int': $_[1]->{autostart}"
12683 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
12684             }
12685             # @_: ($class, $value, $index, $output) = @_;
12686             sub serialize_network_set_autostart_args {
12687 0 0   0 0   croak "Missing required input 'struct' value"
12688             unless defined $_[1];
12689              
12690             # Serializing field: 'net'
12691             croak "Missing required input value 'net'"
12692 0 0         unless exists $_[1]->{net};
12693             # my ($class, $value, $index, $output) = @_;
12694 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12695              
12696             # Serializing field: 'autostart'
12697             croak "Missing required input value 'autostart'"
12698 0 0         unless exists $_[1]->{autostart};
12699             # my ($class, $value, $index, $output) = @_;
12700             croak "Missing required input 'int' value"
12701 0 0         unless defined $_[1]->{autostart};
12702             die "Out of bounds 'int': $_[1]->{autostart}"
12703 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
12704             die "Non-integer 'int' value given: $_[1]->{autostart}"
12705 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
12706 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
12707 0           $_[2] += 4;
12708             }
12709             # @_: ($class, $value, $index, $input) = @_;
12710             sub deserialize_connect_num_of_nwfilters_ret {
12711 0     0 0   my $input_length = length $_[3];
12712 0           $_[1] = {};
12713             # Deserializing field: 'num'
12714             # my ($class, $value, $index, $input) = @_;
12715 0 0         die "Input buffer too short"
12716             if ($input_length - $_[2]) < 4;
12717 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
12718 0           $_[2] += 4;
12719             die "Out of bounds 'int': $_[1]->{num}"
12720 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
12721             }
12722             # @_: ($class, $value, $index, $output) = @_;
12723             sub serialize_connect_num_of_nwfilters_ret {
12724 0 0   0 0   croak "Missing required input 'struct' value"
12725             unless defined $_[1];
12726              
12727             # Serializing field: 'num'
12728             croak "Missing required input value 'num'"
12729 0 0         unless exists $_[1]->{num};
12730             # my ($class, $value, $index, $output) = @_;
12731             croak "Missing required input 'int' value"
12732 0 0         unless defined $_[1]->{num};
12733             die "Out of bounds 'int': $_[1]->{num}"
12734 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
12735             die "Non-integer 'int' value given: $_[1]->{num}"
12736 0 0         unless int($_[1]->{num}) == $_[1]->{num};
12737 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
12738 0           $_[2] += 4;
12739             }
12740             # @_: ($class, $value, $index, $input) = @_;
12741             sub deserialize_connect_list_nwfilters_args {
12742 0     0 0   my $input_length = length $_[3];
12743 0           $_[1] = {};
12744             # Deserializing field: 'maxnames'
12745             # my ($class, $value, $index, $input) = @_;
12746 0 0         die "Input buffer too short"
12747             if ($input_length - $_[2]) < 4;
12748 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
12749 0           $_[2] += 4;
12750             die "Out of bounds 'int': $_[1]->{maxnames}"
12751 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
12752             }
12753             # @_: ($class, $value, $index, $output) = @_;
12754             sub serialize_connect_list_nwfilters_args {
12755 0 0   0 0   croak "Missing required input 'struct' value"
12756             unless defined $_[1];
12757              
12758             # Serializing field: 'maxnames'
12759             croak "Missing required input value 'maxnames'"
12760 0 0         unless exists $_[1]->{maxnames};
12761             # my ($class, $value, $index, $output) = @_;
12762             croak "Missing required input 'int' value"
12763 0 0         unless defined $_[1]->{maxnames};
12764             die "Out of bounds 'int': $_[1]->{maxnames}"
12765 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
12766             die "Non-integer 'int' value given: $_[1]->{maxnames}"
12767 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
12768 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
12769 0           $_[2] += 4;
12770             }
12771             # @_: ($class, $value, $index, $input) = @_;
12772             sub deserialize_connect_list_nwfilters_ret {
12773 0     0 0   my $input_length = length $_[3];
12774 0           $_[1] = {};
12775             # Deserializing field: 'names'
12776             # my ($class, $value, $index, $input) = @_;
12777 0           do {
12778 0 0         die "Input buffer too short"
12779             if ($input_length - $_[2]) < 4;
12780 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
12781 0           $_[2] += 4;
12782              
12783 0 0         die "Array too long (max: 16384): $len"
12784             unless ($len <= 16384);
12785 0           $_[1]->{names} = [];
12786 0           for my $i1 ( 0 .. ($len - 1) ) {
12787             # my ($class, $value, $index, $input) = @_;
12788 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
12789             }
12790             };
12791             }
12792             # @_: ($class, $value, $index, $output) = @_;
12793             sub serialize_connect_list_nwfilters_ret {
12794 0 0   0 0   croak "Missing required input 'struct' value"
12795             unless defined $_[1];
12796              
12797             # Serializing field: 'names'
12798             croak "Missing required input value 'names'"
12799 0 0         unless exists $_[1]->{names};
12800             # my ($class, $value, $index, $output) = @_;
12801             croak "Missing required input 'array' value"
12802 0 0         unless defined $_[1]->{names};
12803 0           do {
12804 0           my $len = scalar @{ $_[1]->{names} };
  0            
12805 0 0         die "Array too long (max: 16384): $len"
12806             unless ($len <= 16384);
12807              
12808 0           substr( $_[3], $_[2] ) = pack("L>", $len);
12809 0           $_[2] += 4;
12810 0           for my $i1 ( 0 .. ($len - 1) ) {
12811             # my ($class, $value, $index, $output) = @_;
12812 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
12813             }
12814             };
12815             }
12816             # @_: ($class, $value, $index, $input) = @_;
12817             sub deserialize_nwfilter_lookup_by_uuid_args {
12818 0     0 0   my $input_length = length $_[3];
12819 0           $_[1] = {};
12820             # Deserializing field: 'uuid'
12821             # my ($class, $value, $index, $input) = @_;
12822 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
12823             }
12824             # @_: ($class, $value, $index, $output) = @_;
12825             sub serialize_nwfilter_lookup_by_uuid_args {
12826 0 0   0 0   croak "Missing required input 'struct' value"
12827             unless defined $_[1];
12828              
12829             # Serializing field: 'uuid'
12830             croak "Missing required input value 'uuid'"
12831 0 0         unless exists $_[1]->{uuid};
12832             # my ($class, $value, $index, $output) = @_;
12833 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
12834             }
12835             # @_: ($class, $value, $index, $input) = @_;
12836             sub deserialize_nwfilter_lookup_by_uuid_ret {
12837 0     0 0   my $input_length = length $_[3];
12838 0           $_[1] = {};
12839             # Deserializing field: 'nwfilter'
12840             # my ($class, $value, $index, $input) = @_;
12841 0           $_[0]->deserialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12842             }
12843             # @_: ($class, $value, $index, $output) = @_;
12844             sub serialize_nwfilter_lookup_by_uuid_ret {
12845 0 0   0 0   croak "Missing required input 'struct' value"
12846             unless defined $_[1];
12847              
12848             # Serializing field: 'nwfilter'
12849             croak "Missing required input value 'nwfilter'"
12850 0 0         unless exists $_[1]->{nwfilter};
12851             # my ($class, $value, $index, $output) = @_;
12852 0           $_[0]->serialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12853             }
12854             # @_: ($class, $value, $index, $input) = @_;
12855             sub deserialize_nwfilter_lookup_by_name_args {
12856 0     0 0   my $input_length = length $_[3];
12857 0           $_[1] = {};
12858             # Deserializing field: 'name'
12859             # my ($class, $value, $index, $input) = @_;
12860 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
12861             }
12862             # @_: ($class, $value, $index, $output) = @_;
12863             sub serialize_nwfilter_lookup_by_name_args {
12864 0 0   0 0   croak "Missing required input 'struct' value"
12865             unless defined $_[1];
12866              
12867             # Serializing field: 'name'
12868             croak "Missing required input value 'name'"
12869 0 0         unless exists $_[1]->{name};
12870             # my ($class, $value, $index, $output) = @_;
12871 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
12872             }
12873             # @_: ($class, $value, $index, $input) = @_;
12874             sub deserialize_nwfilter_lookup_by_name_ret {
12875 0     0 0   my $input_length = length $_[3];
12876 0           $_[1] = {};
12877             # Deserializing field: 'nwfilter'
12878             # my ($class, $value, $index, $input) = @_;
12879 0           $_[0]->deserialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12880             }
12881             # @_: ($class, $value, $index, $output) = @_;
12882             sub serialize_nwfilter_lookup_by_name_ret {
12883 0 0   0 0   croak "Missing required input 'struct' value"
12884             unless defined $_[1];
12885              
12886             # Serializing field: 'nwfilter'
12887             croak "Missing required input value 'nwfilter'"
12888 0 0         unless exists $_[1]->{nwfilter};
12889             # my ($class, $value, $index, $output) = @_;
12890 0           $_[0]->serialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12891             }
12892             # @_: ($class, $value, $index, $input) = @_;
12893             sub deserialize_nwfilter_define_xml_args {
12894 0     0 0   my $input_length = length $_[3];
12895 0           $_[1] = {};
12896             # Deserializing field: 'xml'
12897             # my ($class, $value, $index, $input) = @_;
12898 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12899             }
12900             # @_: ($class, $value, $index, $output) = @_;
12901             sub serialize_nwfilter_define_xml_args {
12902 0 0   0 0   croak "Missing required input 'struct' value"
12903             unless defined $_[1];
12904              
12905             # Serializing field: 'xml'
12906             croak "Missing required input value 'xml'"
12907 0 0         unless exists $_[1]->{xml};
12908             # my ($class, $value, $index, $output) = @_;
12909 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12910             }
12911             # @_: ($class, $value, $index, $input) = @_;
12912             sub deserialize_nwfilter_define_xml_ret {
12913 0     0 0   my $input_length = length $_[3];
12914 0           $_[1] = {};
12915             # Deserializing field: 'nwfilter'
12916             # my ($class, $value, $index, $input) = @_;
12917 0           $_[0]->deserialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12918             }
12919             # @_: ($class, $value, $index, $output) = @_;
12920             sub serialize_nwfilter_define_xml_ret {
12921 0 0   0 0   croak "Missing required input 'struct' value"
12922             unless defined $_[1];
12923              
12924             # Serializing field: 'nwfilter'
12925             croak "Missing required input value 'nwfilter'"
12926 0 0         unless exists $_[1]->{nwfilter};
12927             # my ($class, $value, $index, $output) = @_;
12928 0           $_[0]->serialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12929             }
12930             # @_: ($class, $value, $index, $input) = @_;
12931             sub deserialize_nwfilter_define_xml_flags_args {
12932 0     0 0   my $input_length = length $_[3];
12933 0           $_[1] = {};
12934             # Deserializing field: 'xml'
12935             # my ($class, $value, $index, $input) = @_;
12936 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12937              
12938             # Deserializing field: 'flags'
12939             # my ($class, $value, $index, $input) = @_;
12940 0 0         die "Input buffer too short"
12941             if ($input_length - $_[2]) < 4;
12942 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
12943 0           $_[2] += 4;
12944             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12945 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12946             }
12947             # @_: ($class, $value, $index, $output) = @_;
12948             sub serialize_nwfilter_define_xml_flags_args {
12949 0 0   0 0   croak "Missing required input 'struct' value"
12950             unless defined $_[1];
12951              
12952             # Serializing field: 'xml'
12953             croak "Missing required input value 'xml'"
12954 0 0         unless exists $_[1]->{xml};
12955             # my ($class, $value, $index, $output) = @_;
12956 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12957              
12958             # Serializing field: 'flags'
12959             croak "Missing required input value 'flags'"
12960 0 0         unless exists $_[1]->{flags};
12961             # my ($class, $value, $index, $output) = @_;
12962             croak "Missing required input 'unsigned int' value"
12963 0 0         unless defined $_[1]->{flags};
12964             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12965 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12966             die "Non-integer 'int' value given: $_[1]->{flags}"
12967 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
12968 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
12969 0           $_[2] += 4;
12970             }
12971             # @_: ($class, $value, $index, $input) = @_;
12972             sub deserialize_nwfilter_define_xml_flags_ret {
12973 0     0 0   my $input_length = length $_[3];
12974 0           $_[1] = {};
12975             # Deserializing field: 'nwfilter'
12976             # my ($class, $value, $index, $input) = @_;
12977 0           $_[0]->deserialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12978             }
12979             # @_: ($class, $value, $index, $output) = @_;
12980             sub serialize_nwfilter_define_xml_flags_ret {
12981 0 0   0 0   croak "Missing required input 'struct' value"
12982             unless defined $_[1];
12983              
12984             # Serializing field: 'nwfilter'
12985             croak "Missing required input value 'nwfilter'"
12986 0 0         unless exists $_[1]->{nwfilter};
12987             # my ($class, $value, $index, $output) = @_;
12988 0           $_[0]->serialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12989             }
12990             # @_: ($class, $value, $index, $input) = @_;
12991             sub deserialize_nwfilter_undefine_args {
12992 0     0 0   my $input_length = length $_[3];
12993 0           $_[1] = {};
12994             # Deserializing field: 'nwfilter'
12995             # my ($class, $value, $index, $input) = @_;
12996 0           $_[0]->deserialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12997             }
12998             # @_: ($class, $value, $index, $output) = @_;
12999             sub serialize_nwfilter_undefine_args {
13000 0 0   0 0   croak "Missing required input 'struct' value"
13001             unless defined $_[1];
13002              
13003             # Serializing field: 'nwfilter'
13004             croak "Missing required input value 'nwfilter'"
13005 0 0         unless exists $_[1]->{nwfilter};
13006             # my ($class, $value, $index, $output) = @_;
13007 0           $_[0]->serialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
13008             }
13009             # @_: ($class, $value, $index, $input) = @_;
13010             sub deserialize_nwfilter_get_xml_desc_args {
13011 0     0 0   my $input_length = length $_[3];
13012 0           $_[1] = {};
13013             # Deserializing field: 'nwfilter'
13014             # my ($class, $value, $index, $input) = @_;
13015 0           $_[0]->deserialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
13016              
13017             # Deserializing field: 'flags'
13018             # my ($class, $value, $index, $input) = @_;
13019 0 0         die "Input buffer too short"
13020             if ($input_length - $_[2]) < 4;
13021 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
13022 0           $_[2] += 4;
13023             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13024 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13025             }
13026             # @_: ($class, $value, $index, $output) = @_;
13027             sub serialize_nwfilter_get_xml_desc_args {
13028 0 0   0 0   croak "Missing required input 'struct' value"
13029             unless defined $_[1];
13030              
13031             # Serializing field: 'nwfilter'
13032             croak "Missing required input value 'nwfilter'"
13033 0 0         unless exists $_[1]->{nwfilter};
13034             # my ($class, $value, $index, $output) = @_;
13035 0           $_[0]->serialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
13036              
13037             # Serializing field: 'flags'
13038             croak "Missing required input value 'flags'"
13039 0 0         unless exists $_[1]->{flags};
13040             # my ($class, $value, $index, $output) = @_;
13041             croak "Missing required input 'unsigned int' value"
13042 0 0         unless defined $_[1]->{flags};
13043             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13044 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13045             die "Non-integer 'int' value given: $_[1]->{flags}"
13046 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
13047 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
13048 0           $_[2] += 4;
13049             }
13050             # @_: ($class, $value, $index, $input) = @_;
13051             sub deserialize_nwfilter_get_xml_desc_ret {
13052 0     0 0   my $input_length = length $_[3];
13053 0           $_[1] = {};
13054             # Deserializing field: 'xml'
13055             # my ($class, $value, $index, $input) = @_;
13056 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
13057             }
13058             # @_: ($class, $value, $index, $output) = @_;
13059             sub serialize_nwfilter_get_xml_desc_ret {
13060 0 0   0 0   croak "Missing required input 'struct' value"
13061             unless defined $_[1];
13062              
13063             # Serializing field: 'xml'
13064             croak "Missing required input value 'xml'"
13065 0 0         unless exists $_[1]->{xml};
13066             # my ($class, $value, $index, $output) = @_;
13067 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
13068             }
13069             # @_: ($class, $value, $index, $input) = @_;
13070             sub deserialize_connect_num_of_interfaces_ret {
13071 0     0 0   my $input_length = length $_[3];
13072 0           $_[1] = {};
13073             # Deserializing field: 'num'
13074             # my ($class, $value, $index, $input) = @_;
13075 0 0         die "Input buffer too short"
13076             if ($input_length - $_[2]) < 4;
13077 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
13078 0           $_[2] += 4;
13079             die "Out of bounds 'int': $_[1]->{num}"
13080 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
13081             }
13082             # @_: ($class, $value, $index, $output) = @_;
13083             sub serialize_connect_num_of_interfaces_ret {
13084 0 0   0 0   croak "Missing required input 'struct' value"
13085             unless defined $_[1];
13086              
13087             # Serializing field: 'num'
13088             croak "Missing required input value 'num'"
13089 0 0         unless exists $_[1]->{num};
13090             # my ($class, $value, $index, $output) = @_;
13091             croak "Missing required input 'int' value"
13092 0 0         unless defined $_[1]->{num};
13093             die "Out of bounds 'int': $_[1]->{num}"
13094 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
13095             die "Non-integer 'int' value given: $_[1]->{num}"
13096 0 0         unless int($_[1]->{num}) == $_[1]->{num};
13097 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
13098 0           $_[2] += 4;
13099             }
13100             # @_: ($class, $value, $index, $input) = @_;
13101             sub deserialize_connect_list_interfaces_args {
13102 0     0 0   my $input_length = length $_[3];
13103 0           $_[1] = {};
13104             # Deserializing field: 'maxnames'
13105             # my ($class, $value, $index, $input) = @_;
13106 0 0         die "Input buffer too short"
13107             if ($input_length - $_[2]) < 4;
13108 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
13109 0           $_[2] += 4;
13110             die "Out of bounds 'int': $_[1]->{maxnames}"
13111 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
13112             }
13113             # @_: ($class, $value, $index, $output) = @_;
13114             sub serialize_connect_list_interfaces_args {
13115 0 0   0 0   croak "Missing required input 'struct' value"
13116             unless defined $_[1];
13117              
13118             # Serializing field: 'maxnames'
13119             croak "Missing required input value 'maxnames'"
13120 0 0         unless exists $_[1]->{maxnames};
13121             # my ($class, $value, $index, $output) = @_;
13122             croak "Missing required input 'int' value"
13123 0 0         unless defined $_[1]->{maxnames};
13124             die "Out of bounds 'int': $_[1]->{maxnames}"
13125 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
13126             die "Non-integer 'int' value given: $_[1]->{maxnames}"
13127 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
13128 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
13129 0           $_[2] += 4;
13130             }
13131             # @_: ($class, $value, $index, $input) = @_;
13132             sub deserialize_connect_list_interfaces_ret {
13133 0     0 0   my $input_length = length $_[3];
13134 0           $_[1] = {};
13135             # Deserializing field: 'names'
13136             # my ($class, $value, $index, $input) = @_;
13137 0           do {
13138 0 0         die "Input buffer too short"
13139             if ($input_length - $_[2]) < 4;
13140 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
13141 0           $_[2] += 4;
13142              
13143 0 0         die "Array too long (max: 16384): $len"
13144             unless ($len <= 16384);
13145 0           $_[1]->{names} = [];
13146 0           for my $i1 ( 0 .. ($len - 1) ) {
13147             # my ($class, $value, $index, $input) = @_;
13148 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
13149             }
13150             };
13151             }
13152             # @_: ($class, $value, $index, $output) = @_;
13153             sub serialize_connect_list_interfaces_ret {
13154 0 0   0 0   croak "Missing required input 'struct' value"
13155             unless defined $_[1];
13156              
13157             # Serializing field: 'names'
13158             croak "Missing required input value 'names'"
13159 0 0         unless exists $_[1]->{names};
13160             # my ($class, $value, $index, $output) = @_;
13161             croak "Missing required input 'array' value"
13162 0 0         unless defined $_[1]->{names};
13163 0           do {
13164 0           my $len = scalar @{ $_[1]->{names} };
  0            
13165 0 0         die "Array too long (max: 16384): $len"
13166             unless ($len <= 16384);
13167              
13168 0           substr( $_[3], $_[2] ) = pack("L>", $len);
13169 0           $_[2] += 4;
13170 0           for my $i1 ( 0 .. ($len - 1) ) {
13171             # my ($class, $value, $index, $output) = @_;
13172 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
13173             }
13174             };
13175             }
13176             # @_: ($class, $value, $index, $input) = @_;
13177             sub deserialize_connect_num_of_defined_interfaces_ret {
13178 0     0 0   my $input_length = length $_[3];
13179 0           $_[1] = {};
13180             # Deserializing field: 'num'
13181             # my ($class, $value, $index, $input) = @_;
13182 0 0         die "Input buffer too short"
13183             if ($input_length - $_[2]) < 4;
13184 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
13185 0           $_[2] += 4;
13186             die "Out of bounds 'int': $_[1]->{num}"
13187 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
13188             }
13189             # @_: ($class, $value, $index, $output) = @_;
13190             sub serialize_connect_num_of_defined_interfaces_ret {
13191 0 0   0 0   croak "Missing required input 'struct' value"
13192             unless defined $_[1];
13193              
13194             # Serializing field: 'num'
13195             croak "Missing required input value 'num'"
13196 0 0         unless exists $_[1]->{num};
13197             # my ($class, $value, $index, $output) = @_;
13198             croak "Missing required input 'int' value"
13199 0 0         unless defined $_[1]->{num};
13200             die "Out of bounds 'int': $_[1]->{num}"
13201 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
13202             die "Non-integer 'int' value given: $_[1]->{num}"
13203 0 0         unless int($_[1]->{num}) == $_[1]->{num};
13204 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
13205 0           $_[2] += 4;
13206             }
13207             # @_: ($class, $value, $index, $input) = @_;
13208             sub deserialize_connect_list_defined_interfaces_args {
13209 0     0 0   my $input_length = length $_[3];
13210 0           $_[1] = {};
13211             # Deserializing field: 'maxnames'
13212             # my ($class, $value, $index, $input) = @_;
13213 0 0         die "Input buffer too short"
13214             if ($input_length - $_[2]) < 4;
13215 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
13216 0           $_[2] += 4;
13217             die "Out of bounds 'int': $_[1]->{maxnames}"
13218 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
13219             }
13220             # @_: ($class, $value, $index, $output) = @_;
13221             sub serialize_connect_list_defined_interfaces_args {
13222 0 0   0 0   croak "Missing required input 'struct' value"
13223             unless defined $_[1];
13224              
13225             # Serializing field: 'maxnames'
13226             croak "Missing required input value 'maxnames'"
13227 0 0         unless exists $_[1]->{maxnames};
13228             # my ($class, $value, $index, $output) = @_;
13229             croak "Missing required input 'int' value"
13230 0 0         unless defined $_[1]->{maxnames};
13231             die "Out of bounds 'int': $_[1]->{maxnames}"
13232 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
13233             die "Non-integer 'int' value given: $_[1]->{maxnames}"
13234 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
13235 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
13236 0           $_[2] += 4;
13237             }
13238             # @_: ($class, $value, $index, $input) = @_;
13239             sub deserialize_connect_list_defined_interfaces_ret {
13240 0     0 0   my $input_length = length $_[3];
13241 0           $_[1] = {};
13242             # Deserializing field: 'names'
13243             # my ($class, $value, $index, $input) = @_;
13244 0           do {
13245 0 0         die "Input buffer too short"
13246             if ($input_length - $_[2]) < 4;
13247 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
13248 0           $_[2] += 4;
13249              
13250 0 0         die "Array too long (max: 16384): $len"
13251             unless ($len <= 16384);
13252 0           $_[1]->{names} = [];
13253 0           for my $i1 ( 0 .. ($len - 1) ) {
13254             # my ($class, $value, $index, $input) = @_;
13255 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
13256             }
13257             };
13258             }
13259             # @_: ($class, $value, $index, $output) = @_;
13260             sub serialize_connect_list_defined_interfaces_ret {
13261 0 0   0 0   croak "Missing required input 'struct' value"
13262             unless defined $_[1];
13263              
13264             # Serializing field: 'names'
13265             croak "Missing required input value 'names'"
13266 0 0         unless exists $_[1]->{names};
13267             # my ($class, $value, $index, $output) = @_;
13268             croak "Missing required input 'array' value"
13269 0 0         unless defined $_[1]->{names};
13270 0           do {
13271 0           my $len = scalar @{ $_[1]->{names} };
  0            
13272 0 0         die "Array too long (max: 16384): $len"
13273             unless ($len <= 16384);
13274              
13275 0           substr( $_[3], $_[2] ) = pack("L>", $len);
13276 0           $_[2] += 4;
13277 0           for my $i1 ( 0 .. ($len - 1) ) {
13278             # my ($class, $value, $index, $output) = @_;
13279 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
13280             }
13281             };
13282             }
13283             # @_: ($class, $value, $index, $input) = @_;
13284             sub deserialize_interface_lookup_by_name_args {
13285 0     0 0   my $input_length = length $_[3];
13286 0           $_[1] = {};
13287             # Deserializing field: 'name'
13288             # my ($class, $value, $index, $input) = @_;
13289 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
13290             }
13291             # @_: ($class, $value, $index, $output) = @_;
13292             sub serialize_interface_lookup_by_name_args {
13293 0 0   0 0   croak "Missing required input 'struct' value"
13294             unless defined $_[1];
13295              
13296             # Serializing field: 'name'
13297             croak "Missing required input value 'name'"
13298 0 0         unless exists $_[1]->{name};
13299             # my ($class, $value, $index, $output) = @_;
13300 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
13301             }
13302             # @_: ($class, $value, $index, $input) = @_;
13303             sub deserialize_interface_lookup_by_name_ret {
13304 0     0 0   my $input_length = length $_[3];
13305 0           $_[1] = {};
13306             # Deserializing field: 'iface'
13307             # my ($class, $value, $index, $input) = @_;
13308 0           $_[0]->deserialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13309             }
13310             # @_: ($class, $value, $index, $output) = @_;
13311             sub serialize_interface_lookup_by_name_ret {
13312 0 0   0 0   croak "Missing required input 'struct' value"
13313             unless defined $_[1];
13314              
13315             # Serializing field: 'iface'
13316             croak "Missing required input value 'iface'"
13317 0 0         unless exists $_[1]->{iface};
13318             # my ($class, $value, $index, $output) = @_;
13319 0           $_[0]->serialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13320             }
13321             # @_: ($class, $value, $index, $input) = @_;
13322             sub deserialize_interface_lookup_by_mac_string_args {
13323 0     0 0   my $input_length = length $_[3];
13324 0           $_[1] = {};
13325             # Deserializing field: 'mac'
13326             # my ($class, $value, $index, $input) = @_;
13327 0           $_[0]->deserialize_nonnull_string( $_[1]->{mac}, $_[2], $_[3] );
13328             }
13329             # @_: ($class, $value, $index, $output) = @_;
13330             sub serialize_interface_lookup_by_mac_string_args {
13331 0 0   0 0   croak "Missing required input 'struct' value"
13332             unless defined $_[1];
13333              
13334             # Serializing field: 'mac'
13335             croak "Missing required input value 'mac'"
13336 0 0         unless exists $_[1]->{mac};
13337             # my ($class, $value, $index, $output) = @_;
13338 0           $_[0]->serialize_nonnull_string( $_[1]->{mac}, $_[2], $_[3] );
13339             }
13340             # @_: ($class, $value, $index, $input) = @_;
13341             sub deserialize_interface_lookup_by_mac_string_ret {
13342 0     0 0   my $input_length = length $_[3];
13343 0           $_[1] = {};
13344             # Deserializing field: 'iface'
13345             # my ($class, $value, $index, $input) = @_;
13346 0           $_[0]->deserialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13347             }
13348             # @_: ($class, $value, $index, $output) = @_;
13349             sub serialize_interface_lookup_by_mac_string_ret {
13350 0 0   0 0   croak "Missing required input 'struct' value"
13351             unless defined $_[1];
13352              
13353             # Serializing field: 'iface'
13354             croak "Missing required input value 'iface'"
13355 0 0         unless exists $_[1]->{iface};
13356             # my ($class, $value, $index, $output) = @_;
13357 0           $_[0]->serialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13358             }
13359             # @_: ($class, $value, $index, $input) = @_;
13360             sub deserialize_interface_get_xml_desc_args {
13361 0     0 0   my $input_length = length $_[3];
13362 0           $_[1] = {};
13363             # Deserializing field: 'iface'
13364             # my ($class, $value, $index, $input) = @_;
13365 0           $_[0]->deserialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13366              
13367             # Deserializing field: 'flags'
13368             # my ($class, $value, $index, $input) = @_;
13369 0 0         die "Input buffer too short"
13370             if ($input_length - $_[2]) < 4;
13371 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
13372 0           $_[2] += 4;
13373             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13374 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13375             }
13376             # @_: ($class, $value, $index, $output) = @_;
13377             sub serialize_interface_get_xml_desc_args {
13378 0 0   0 0   croak "Missing required input 'struct' value"
13379             unless defined $_[1];
13380              
13381             # Serializing field: 'iface'
13382             croak "Missing required input value 'iface'"
13383 0 0         unless exists $_[1]->{iface};
13384             # my ($class, $value, $index, $output) = @_;
13385 0           $_[0]->serialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13386              
13387             # Serializing field: 'flags'
13388             croak "Missing required input value 'flags'"
13389 0 0         unless exists $_[1]->{flags};
13390             # my ($class, $value, $index, $output) = @_;
13391             croak "Missing required input 'unsigned int' value"
13392 0 0         unless defined $_[1]->{flags};
13393             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13394 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13395             die "Non-integer 'int' value given: $_[1]->{flags}"
13396 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
13397 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
13398 0           $_[2] += 4;
13399             }
13400             # @_: ($class, $value, $index, $input) = @_;
13401             sub deserialize_interface_get_xml_desc_ret {
13402 0     0 0   my $input_length = length $_[3];
13403 0           $_[1] = {};
13404             # Deserializing field: 'xml'
13405             # my ($class, $value, $index, $input) = @_;
13406 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
13407             }
13408             # @_: ($class, $value, $index, $output) = @_;
13409             sub serialize_interface_get_xml_desc_ret {
13410 0 0   0 0   croak "Missing required input 'struct' value"
13411             unless defined $_[1];
13412              
13413             # Serializing field: 'xml'
13414             croak "Missing required input value 'xml'"
13415 0 0         unless exists $_[1]->{xml};
13416             # my ($class, $value, $index, $output) = @_;
13417 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
13418             }
13419             # @_: ($class, $value, $index, $input) = @_;
13420             sub deserialize_interface_define_xml_args {
13421 0     0 0   my $input_length = length $_[3];
13422 0           $_[1] = {};
13423             # Deserializing field: 'xml'
13424             # my ($class, $value, $index, $input) = @_;
13425 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
13426              
13427             # Deserializing field: 'flags'
13428             # my ($class, $value, $index, $input) = @_;
13429 0 0         die "Input buffer too short"
13430             if ($input_length - $_[2]) < 4;
13431 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
13432 0           $_[2] += 4;
13433             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13434 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13435             }
13436             # @_: ($class, $value, $index, $output) = @_;
13437             sub serialize_interface_define_xml_args {
13438 0 0   0 0   croak "Missing required input 'struct' value"
13439             unless defined $_[1];
13440              
13441             # Serializing field: 'xml'
13442             croak "Missing required input value 'xml'"
13443 0 0         unless exists $_[1]->{xml};
13444             # my ($class, $value, $index, $output) = @_;
13445 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
13446              
13447             # Serializing field: 'flags'
13448             croak "Missing required input value 'flags'"
13449 0 0         unless exists $_[1]->{flags};
13450             # my ($class, $value, $index, $output) = @_;
13451             croak "Missing required input 'unsigned int' value"
13452 0 0         unless defined $_[1]->{flags};
13453             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13454 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13455             die "Non-integer 'int' value given: $_[1]->{flags}"
13456 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
13457 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
13458 0           $_[2] += 4;
13459             }
13460             # @_: ($class, $value, $index, $input) = @_;
13461             sub deserialize_interface_define_xml_ret {
13462 0     0 0   my $input_length = length $_[3];
13463 0           $_[1] = {};
13464             # Deserializing field: 'iface'
13465             # my ($class, $value, $index, $input) = @_;
13466 0           $_[0]->deserialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13467             }
13468             # @_: ($class, $value, $index, $output) = @_;
13469             sub serialize_interface_define_xml_ret {
13470 0 0   0 0   croak "Missing required input 'struct' value"
13471             unless defined $_[1];
13472              
13473             # Serializing field: 'iface'
13474             croak "Missing required input value 'iface'"
13475 0 0         unless exists $_[1]->{iface};
13476             # my ($class, $value, $index, $output) = @_;
13477 0           $_[0]->serialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13478             }
13479             # @_: ($class, $value, $index, $input) = @_;
13480             sub deserialize_interface_undefine_args {
13481 0     0 0   my $input_length = length $_[3];
13482 0           $_[1] = {};
13483             # Deserializing field: 'iface'
13484             # my ($class, $value, $index, $input) = @_;
13485 0           $_[0]->deserialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13486             }
13487             # @_: ($class, $value, $index, $output) = @_;
13488             sub serialize_interface_undefine_args {
13489 0 0   0 0   croak "Missing required input 'struct' value"
13490             unless defined $_[1];
13491              
13492             # Serializing field: 'iface'
13493             croak "Missing required input value 'iface'"
13494 0 0         unless exists $_[1]->{iface};
13495             # my ($class, $value, $index, $output) = @_;
13496 0           $_[0]->serialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13497             }
13498             # @_: ($class, $value, $index, $input) = @_;
13499             sub deserialize_interface_create_args {
13500 0     0 0   my $input_length = length $_[3];
13501 0           $_[1] = {};
13502             # Deserializing field: 'iface'
13503             # my ($class, $value, $index, $input) = @_;
13504 0           $_[0]->deserialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13505              
13506             # Deserializing field: 'flags'
13507             # my ($class, $value, $index, $input) = @_;
13508 0 0         die "Input buffer too short"
13509             if ($input_length - $_[2]) < 4;
13510 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
13511 0           $_[2] += 4;
13512             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13513 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13514             }
13515             # @_: ($class, $value, $index, $output) = @_;
13516             sub serialize_interface_create_args {
13517 0 0   0 0   croak "Missing required input 'struct' value"
13518             unless defined $_[1];
13519              
13520             # Serializing field: 'iface'
13521             croak "Missing required input value 'iface'"
13522 0 0         unless exists $_[1]->{iface};
13523             # my ($class, $value, $index, $output) = @_;
13524 0           $_[0]->serialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13525              
13526             # Serializing field: 'flags'
13527             croak "Missing required input value 'flags'"
13528 0 0         unless exists $_[1]->{flags};
13529             # my ($class, $value, $index, $output) = @_;
13530             croak "Missing required input 'unsigned int' value"
13531 0 0         unless defined $_[1]->{flags};
13532             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13533 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13534             die "Non-integer 'int' value given: $_[1]->{flags}"
13535 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
13536 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
13537 0           $_[2] += 4;
13538             }
13539             # @_: ($class, $value, $index, $input) = @_;
13540             sub deserialize_interface_destroy_args {
13541 0     0 0   my $input_length = length $_[3];
13542 0           $_[1] = {};
13543             # Deserializing field: 'iface'
13544             # my ($class, $value, $index, $input) = @_;
13545 0           $_[0]->deserialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13546              
13547             # Deserializing field: 'flags'
13548             # my ($class, $value, $index, $input) = @_;
13549 0 0         die "Input buffer too short"
13550             if ($input_length - $_[2]) < 4;
13551 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
13552 0           $_[2] += 4;
13553             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13554 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13555             }
13556             # @_: ($class, $value, $index, $output) = @_;
13557             sub serialize_interface_destroy_args {
13558 0 0   0 0   croak "Missing required input 'struct' value"
13559             unless defined $_[1];
13560              
13561             # Serializing field: 'iface'
13562             croak "Missing required input value 'iface'"
13563 0 0         unless exists $_[1]->{iface};
13564             # my ($class, $value, $index, $output) = @_;
13565 0           $_[0]->serialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13566              
13567             # Serializing field: 'flags'
13568             croak "Missing required input value 'flags'"
13569 0 0         unless exists $_[1]->{flags};
13570             # my ($class, $value, $index, $output) = @_;
13571             croak "Missing required input 'unsigned int' value"
13572 0 0         unless defined $_[1]->{flags};
13573             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13574 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13575             die "Non-integer 'int' value given: $_[1]->{flags}"
13576 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
13577 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
13578 0           $_[2] += 4;
13579             }
13580             # @_: ($class, $value, $index, $input) = @_;
13581             sub deserialize_interface_change_begin_args {
13582 0     0 0   my $input_length = length $_[3];
13583 0           $_[1] = {};
13584             # Deserializing field: 'flags'
13585             # my ($class, $value, $index, $input) = @_;
13586 0 0         die "Input buffer too short"
13587             if ($input_length - $_[2]) < 4;
13588 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
13589 0           $_[2] += 4;
13590             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13591 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13592             }
13593             # @_: ($class, $value, $index, $output) = @_;
13594             sub serialize_interface_change_begin_args {
13595 0 0   0 0   croak "Missing required input 'struct' value"
13596             unless defined $_[1];
13597              
13598             # Serializing field: 'flags'
13599             croak "Missing required input value 'flags'"
13600 0 0         unless exists $_[1]->{flags};
13601             # my ($class, $value, $index, $output) = @_;
13602             croak "Missing required input 'unsigned int' value"
13603 0 0         unless defined $_[1]->{flags};
13604             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13605 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13606             die "Non-integer 'int' value given: $_[1]->{flags}"
13607 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
13608 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
13609 0           $_[2] += 4;
13610             }
13611             # @_: ($class, $value, $index, $input) = @_;
13612             sub deserialize_interface_change_commit_args {
13613 0     0 0   my $input_length = length $_[3];
13614 0           $_[1] = {};
13615             # Deserializing field: 'flags'
13616             # my ($class, $value, $index, $input) = @_;
13617 0 0         die "Input buffer too short"
13618             if ($input_length - $_[2]) < 4;
13619 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
13620 0           $_[2] += 4;
13621             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13622 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13623             }
13624             # @_: ($class, $value, $index, $output) = @_;
13625             sub serialize_interface_change_commit_args {
13626 0 0   0 0   croak "Missing required input 'struct' value"
13627             unless defined $_[1];
13628              
13629             # Serializing field: 'flags'
13630             croak "Missing required input value 'flags'"
13631 0 0         unless exists $_[1]->{flags};
13632             # my ($class, $value, $index, $output) = @_;
13633             croak "Missing required input 'unsigned int' value"
13634 0 0         unless defined $_[1]->{flags};
13635             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13636 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13637             die "Non-integer 'int' value given: $_[1]->{flags}"
13638 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
13639 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
13640 0           $_[2] += 4;
13641             }
13642             # @_: ($class, $value, $index, $input) = @_;
13643             sub deserialize_interface_change_rollback_args {
13644 0     0 0   my $input_length = length $_[3];
13645 0           $_[1] = {};
13646             # Deserializing field: 'flags'
13647             # my ($class, $value, $index, $input) = @_;
13648 0 0         die "Input buffer too short"
13649             if ($input_length - $_[2]) < 4;
13650 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
13651 0           $_[2] += 4;
13652             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13653 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13654             }
13655             # @_: ($class, $value, $index, $output) = @_;
13656             sub serialize_interface_change_rollback_args {
13657 0 0   0 0   croak "Missing required input 'struct' value"
13658             unless defined $_[1];
13659              
13660             # Serializing field: 'flags'
13661             croak "Missing required input value 'flags'"
13662 0 0         unless exists $_[1]->{flags};
13663             # my ($class, $value, $index, $output) = @_;
13664             croak "Missing required input 'unsigned int' value"
13665 0 0         unless defined $_[1]->{flags};
13666             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13667 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13668             die "Non-integer 'int' value given: $_[1]->{flags}"
13669 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
13670 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
13671 0           $_[2] += 4;
13672             }
13673             # @_: ($class, $value, $index, $input) = @_;
13674             sub deserialize_auth_list_ret {
13675 0     0 0   my $input_length = length $_[3];
13676 0           $_[1] = {};
13677             # Deserializing field: 'types'
13678             # my ($class, $value, $index, $input) = @_;
13679 0           do {
13680 0 0         die "Input buffer too short"
13681             if ($input_length - $_[2]) < 4;
13682 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
13683 0           $_[2] += 4;
13684              
13685 0 0         die "Array too long (max: 20): $len"
13686             unless ($len <= 20);
13687 0           $_[1]->{types} = [];
13688 0           for my $i1 ( 0 .. ($len - 1) ) {
13689             # my ($class, $value, $index, $input) = @_;
13690 0           $_[0]->deserialize_auth_type( $_[1]->{types}->[$i1], $_[2], $_[3] );
13691             }
13692             };
13693             }
13694             # @_: ($class, $value, $index, $output) = @_;
13695             sub serialize_auth_list_ret {
13696 0 0   0 0   croak "Missing required input 'struct' value"
13697             unless defined $_[1];
13698              
13699             # Serializing field: 'types'
13700             croak "Missing required input value 'types'"
13701 0 0         unless exists $_[1]->{types};
13702             # my ($class, $value, $index, $output) = @_;
13703             croak "Missing required input 'array' value"
13704 0 0         unless defined $_[1]->{types};
13705 0           do {
13706 0           my $len = scalar @{ $_[1]->{types} };
  0            
13707 0 0         die "Array too long (max: 20): $len"
13708             unless ($len <= 20);
13709              
13710 0           substr( $_[3], $_[2] ) = pack("L>", $len);
13711 0           $_[2] += 4;
13712 0           for my $i1 ( 0 .. ($len - 1) ) {
13713             # my ($class, $value, $index, $output) = @_;
13714 0           $_[0]->serialize_auth_type( $_[1]->{types}->[$i1], $_[2], $_[3] );
13715             }
13716             };
13717             }
13718             # @_: ($class, $value, $index, $input) = @_;
13719             sub deserialize_auth_sasl_init_ret {
13720 0     0 0   my $input_length = length $_[3];
13721 0           $_[1] = {};
13722             # Deserializing field: 'mechlist'
13723             # my ($class, $value, $index, $input) = @_;
13724 0           $_[0]->deserialize_nonnull_string( $_[1]->{mechlist}, $_[2], $_[3] );
13725             }
13726             # @_: ($class, $value, $index, $output) = @_;
13727             sub serialize_auth_sasl_init_ret {
13728 0 0   0 0   croak "Missing required input 'struct' value"
13729             unless defined $_[1];
13730              
13731             # Serializing field: 'mechlist'
13732             croak "Missing required input value 'mechlist'"
13733 0 0         unless exists $_[1]->{mechlist};
13734             # my ($class, $value, $index, $output) = @_;
13735 0           $_[0]->serialize_nonnull_string( $_[1]->{mechlist}, $_[2], $_[3] );
13736             }
13737             # @_: ($class, $value, $index, $input) = @_;
13738             sub deserialize_auth_sasl_start_args {
13739 0     0 0   my $input_length = length $_[3];
13740 0           $_[1] = {};
13741             # Deserializing field: 'mech'
13742             # my ($class, $value, $index, $input) = @_;
13743 0           $_[0]->deserialize_nonnull_string( $_[1]->{mech}, $_[2], $_[3] );
13744              
13745             # Deserializing field: 'nil'
13746             # my ($class, $value, $index, $input) = @_;
13747 0 0         die "Input buffer too short"
13748             if ($input_length - $_[2]) < 4;
13749 0           $_[1]->{nil} = unpack("l>", substr( $_[3], $_[2] ));
13750 0           $_[2] += 4;
13751             die "Out of bounds 'int': $_[1]->{nil}"
13752 0 0 0       unless (-2147483648 <= $_[1]->{nil} and $_[1]->{nil} < 2147483648);
13753              
13754             # Deserializing field: 'data'
13755             # my ($class, $value, $index, $input) = @_;
13756 0           do {
13757 0 0         die "Input buffer too short"
13758             if ($input_length - $_[2]) < 4;
13759 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
13760 0           $_[2] += 4;
13761              
13762 0 0         die "Array too long (max: 65536): $len"
13763             unless ($len <= 65536);
13764 0           $_[1]->{data} = [];
13765 0           for my $i1 ( 0 .. ($len - 1) ) {
13766             # my ($class, $value, $index, $input) = @_;
13767 0 0         die "Input buffer too short"
13768             if ($input_length - $_[2]) < 4;
13769 0           $_[1]->{data}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
13770 0           $_[2] += 4;
13771             die "Out of bounds 'char': $_[1]->{data}->[$i1]"
13772 0 0 0       unless (-128 <= $_[1]->{data}->[$i1] and $_[1]->{data}->[$i1] < 128);
13773             }
13774 0           $_[1]->{data} = pack('c*', @{ $_[1]->{data} });
  0            
13775             };
13776             }
13777             # @_: ($class, $value, $index, $output) = @_;
13778             sub serialize_auth_sasl_start_args {
13779 0 0   0 0   croak "Missing required input 'struct' value"
13780             unless defined $_[1];
13781              
13782             # Serializing field: 'mech'
13783             croak "Missing required input value 'mech'"
13784 0 0         unless exists $_[1]->{mech};
13785             # my ($class, $value, $index, $output) = @_;
13786 0           $_[0]->serialize_nonnull_string( $_[1]->{mech}, $_[2], $_[3] );
13787              
13788             # Serializing field: 'nil'
13789             croak "Missing required input value 'nil'"
13790 0 0         unless exists $_[1]->{nil};
13791             # my ($class, $value, $index, $output) = @_;
13792             croak "Missing required input 'int' value"
13793 0 0         unless defined $_[1]->{nil};
13794             die "Out of bounds 'int': $_[1]->{nil}"
13795 0 0 0       unless (-2147483648 <= $_[1]->{nil} and $_[1]->{nil} < 2147483648);
13796             die "Non-integer 'int' value given: $_[1]->{nil}"
13797 0 0         unless int($_[1]->{nil}) == $_[1]->{nil};
13798 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nil});
13799 0           $_[2] += 4;
13800              
13801             # Serializing field: 'data'
13802             croak "Missing required input value 'data'"
13803 0 0         unless exists $_[1]->{data};
13804             # my ($class, $value, $index, $output) = @_;
13805             croak "Missing required input 'array' value"
13806 0 0         unless defined $_[1]->{data};
13807 0           do {
13808 0           local $_[1]->{data} = [ unpack('c*', $_[1]->{data}) ];
13809 0           my $len = scalar @{ $_[1]->{data} };
  0            
13810 0 0         die "Array too long (max: 65536): $len"
13811             unless ($len <= 65536);
13812              
13813 0           substr( $_[3], $_[2] ) = pack("L>", $len);
13814 0           $_[2] += 4;
13815 0           for my $i1 ( 0 .. ($len - 1) ) {
13816             # my ($class, $value, $index, $output) = @_;
13817             croak "Missing required input 'char' value"
13818 0 0         unless defined $_[1]->{data}->[$i1];
13819             die "Out of bounds 'char': $_[1]->{data}->[$i1]"
13820 0 0 0       unless (-128 <= $_[1]->{data}->[$i1] and $_[1]->{data}->[$i1] < 128);
13821             die "Non-integer 'char' value given: $_[1]->{data}->[$i1]"
13822 0 0         unless int($_[1]->{data}->[$i1]) == $_[1]->{data}->[$i1];
13823 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{data}->[$i1]);
13824 0           $_[2] += 4;
13825             }
13826             };
13827             }
13828             # @_: ($class, $value, $index, $input) = @_;
13829             sub deserialize_auth_sasl_start_ret {
13830 0     0 0   my $input_length = length $_[3];
13831 0           $_[1] = {};
13832             # Deserializing field: 'complete'
13833             # my ($class, $value, $index, $input) = @_;
13834 0 0         die "Input buffer too short"
13835             if ($input_length - $_[2]) < 4;
13836 0           $_[1]->{complete} = unpack("l>", substr( $_[3], $_[2] ));
13837 0           $_[2] += 4;
13838             die "Out of bounds 'int': $_[1]->{complete}"
13839 0 0 0       unless (-2147483648 <= $_[1]->{complete} and $_[1]->{complete} < 2147483648);
13840              
13841             # Deserializing field: 'nil'
13842             # my ($class, $value, $index, $input) = @_;
13843 0 0         die "Input buffer too short"
13844             if ($input_length - $_[2]) < 4;
13845 0           $_[1]->{nil} = unpack("l>", substr( $_[3], $_[2] ));
13846 0           $_[2] += 4;
13847             die "Out of bounds 'int': $_[1]->{nil}"
13848 0 0 0       unless (-2147483648 <= $_[1]->{nil} and $_[1]->{nil} < 2147483648);
13849              
13850             # Deserializing field: 'data'
13851             # my ($class, $value, $index, $input) = @_;
13852 0           do {
13853 0 0         die "Input buffer too short"
13854             if ($input_length - $_[2]) < 4;
13855 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
13856 0           $_[2] += 4;
13857              
13858 0 0         die "Array too long (max: 65536): $len"
13859             unless ($len <= 65536);
13860 0           $_[1]->{data} = [];
13861 0           for my $i1 ( 0 .. ($len - 1) ) {
13862             # my ($class, $value, $index, $input) = @_;
13863 0 0         die "Input buffer too short"
13864             if ($input_length - $_[2]) < 4;
13865 0           $_[1]->{data}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
13866 0           $_[2] += 4;
13867             die "Out of bounds 'char': $_[1]->{data}->[$i1]"
13868 0 0 0       unless (-128 <= $_[1]->{data}->[$i1] and $_[1]->{data}->[$i1] < 128);
13869             }
13870 0           $_[1]->{data} = pack('c*', @{ $_[1]->{data} });
  0            
13871             };
13872             }
13873             # @_: ($class, $value, $index, $output) = @_;
13874             sub serialize_auth_sasl_start_ret {
13875 0 0   0 0   croak "Missing required input 'struct' value"
13876             unless defined $_[1];
13877              
13878             # Serializing field: 'complete'
13879             croak "Missing required input value 'complete'"
13880 0 0         unless exists $_[1]->{complete};
13881             # my ($class, $value, $index, $output) = @_;
13882             croak "Missing required input 'int' value"
13883 0 0         unless defined $_[1]->{complete};
13884             die "Out of bounds 'int': $_[1]->{complete}"
13885 0 0 0       unless (-2147483648 <= $_[1]->{complete} and $_[1]->{complete} < 2147483648);
13886             die "Non-integer 'int' value given: $_[1]->{complete}"
13887 0 0         unless int($_[1]->{complete}) == $_[1]->{complete};
13888 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{complete});
13889 0           $_[2] += 4;
13890              
13891             # Serializing field: 'nil'
13892             croak "Missing required input value 'nil'"
13893 0 0         unless exists $_[1]->{nil};
13894             # my ($class, $value, $index, $output) = @_;
13895             croak "Missing required input 'int' value"
13896 0 0         unless defined $_[1]->{nil};
13897             die "Out of bounds 'int': $_[1]->{nil}"
13898 0 0 0       unless (-2147483648 <= $_[1]->{nil} and $_[1]->{nil} < 2147483648);
13899             die "Non-integer 'int' value given: $_[1]->{nil}"
13900 0 0         unless int($_[1]->{nil}) == $_[1]->{nil};
13901 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nil});
13902 0           $_[2] += 4;
13903              
13904             # Serializing field: 'data'
13905             croak "Missing required input value 'data'"
13906 0 0         unless exists $_[1]->{data};
13907             # my ($class, $value, $index, $output) = @_;
13908             croak "Missing required input 'array' value"
13909 0 0         unless defined $_[1]->{data};
13910 0           do {
13911 0           local $_[1]->{data} = [ unpack('c*', $_[1]->{data}) ];
13912 0           my $len = scalar @{ $_[1]->{data} };
  0            
13913 0 0         die "Array too long (max: 65536): $len"
13914             unless ($len <= 65536);
13915              
13916 0           substr( $_[3], $_[2] ) = pack("L>", $len);
13917 0           $_[2] += 4;
13918 0           for my $i1 ( 0 .. ($len - 1) ) {
13919             # my ($class, $value, $index, $output) = @_;
13920             croak "Missing required input 'char' value"
13921 0 0         unless defined $_[1]->{data}->[$i1];
13922             die "Out of bounds 'char': $_[1]->{data}->[$i1]"
13923 0 0 0       unless (-128 <= $_[1]->{data}->[$i1] and $_[1]->{data}->[$i1] < 128);
13924             die "Non-integer 'char' value given: $_[1]->{data}->[$i1]"
13925 0 0         unless int($_[1]->{data}->[$i1]) == $_[1]->{data}->[$i1];
13926 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{data}->[$i1]);
13927 0           $_[2] += 4;
13928             }
13929             };
13930             }
13931             # @_: ($class, $value, $index, $input) = @_;
13932             sub deserialize_auth_sasl_step_args {
13933 0     0 0   my $input_length = length $_[3];
13934 0           $_[1] = {};
13935             # Deserializing field: 'nil'
13936             # my ($class, $value, $index, $input) = @_;
13937 0 0         die "Input buffer too short"
13938             if ($input_length - $_[2]) < 4;
13939 0           $_[1]->{nil} = unpack("l>", substr( $_[3], $_[2] ));
13940 0           $_[2] += 4;
13941             die "Out of bounds 'int': $_[1]->{nil}"
13942 0 0 0       unless (-2147483648 <= $_[1]->{nil} and $_[1]->{nil} < 2147483648);
13943              
13944             # Deserializing field: 'data'
13945             # my ($class, $value, $index, $input) = @_;
13946 0           do {
13947 0 0         die "Input buffer too short"
13948             if ($input_length - $_[2]) < 4;
13949 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
13950 0           $_[2] += 4;
13951              
13952 0 0         die "Array too long (max: 65536): $len"
13953             unless ($len <= 65536);
13954 0           $_[1]->{data} = [];
13955 0           for my $i1 ( 0 .. ($len - 1) ) {
13956             # my ($class, $value, $index, $input) = @_;
13957 0 0         die "Input buffer too short"
13958             if ($input_length - $_[2]) < 4;
13959 0           $_[1]->{data}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
13960 0           $_[2] += 4;
13961             die "Out of bounds 'char': $_[1]->{data}->[$i1]"
13962 0 0 0       unless (-128 <= $_[1]->{data}->[$i1] and $_[1]->{data}->[$i1] < 128);
13963             }
13964 0           $_[1]->{data} = pack('c*', @{ $_[1]->{data} });
  0            
13965             };
13966             }
13967             # @_: ($class, $value, $index, $output) = @_;
13968             sub serialize_auth_sasl_step_args {
13969 0 0   0 0   croak "Missing required input 'struct' value"
13970             unless defined $_[1];
13971              
13972             # Serializing field: 'nil'
13973             croak "Missing required input value 'nil'"
13974 0 0         unless exists $_[1]->{nil};
13975             # my ($class, $value, $index, $output) = @_;
13976             croak "Missing required input 'int' value"
13977 0 0         unless defined $_[1]->{nil};
13978             die "Out of bounds 'int': $_[1]->{nil}"
13979 0 0 0       unless (-2147483648 <= $_[1]->{nil} and $_[1]->{nil} < 2147483648);
13980             die "Non-integer 'int' value given: $_[1]->{nil}"
13981 0 0         unless int($_[1]->{nil}) == $_[1]->{nil};
13982 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nil});
13983 0           $_[2] += 4;
13984              
13985             # Serializing field: 'data'
13986             croak "Missing required input value 'data'"
13987 0 0         unless exists $_[1]->{data};
13988             # my ($class, $value, $index, $output) = @_;
13989             croak "Missing required input 'array' value"
13990 0 0         unless defined $_[1]->{data};
13991 0           do {
13992 0           local $_[1]->{data} = [ unpack('c*', $_[1]->{data}) ];
13993 0           my $len = scalar @{ $_[1]->{data} };
  0            
13994 0 0         die "Array too long (max: 65536): $len"
13995             unless ($len <= 65536);
13996              
13997 0           substr( $_[3], $_[2] ) = pack("L>", $len);
13998 0           $_[2] += 4;
13999 0           for my $i1 ( 0 .. ($len - 1) ) {
14000             # my ($class, $value, $index, $output) = @_;
14001             croak "Missing required input 'char' value"
14002 0 0         unless defined $_[1]->{data}->[$i1];
14003             die "Out of bounds 'char': $_[1]->{data}->[$i1]"
14004 0 0 0       unless (-128 <= $_[1]->{data}->[$i1] and $_[1]->{data}->[$i1] < 128);
14005             die "Non-integer 'char' value given: $_[1]->{data}->[$i1]"
14006 0 0         unless int($_[1]->{data}->[$i1]) == $_[1]->{data}->[$i1];
14007 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{data}->[$i1]);
14008 0           $_[2] += 4;
14009             }
14010             };
14011             }
14012             # @_: ($class, $value, $index, $input) = @_;
14013             sub deserialize_auth_sasl_step_ret {
14014 0     0 0   my $input_length = length $_[3];
14015 0           $_[1] = {};
14016             # Deserializing field: 'complete'
14017             # my ($class, $value, $index, $input) = @_;
14018 0 0         die "Input buffer too short"
14019             if ($input_length - $_[2]) < 4;
14020 0           $_[1]->{complete} = unpack("l>", substr( $_[3], $_[2] ));
14021 0           $_[2] += 4;
14022             die "Out of bounds 'int': $_[1]->{complete}"
14023 0 0 0       unless (-2147483648 <= $_[1]->{complete} and $_[1]->{complete} < 2147483648);
14024              
14025             # Deserializing field: 'nil'
14026             # my ($class, $value, $index, $input) = @_;
14027 0 0         die "Input buffer too short"
14028             if ($input_length - $_[2]) < 4;
14029 0           $_[1]->{nil} = unpack("l>", substr( $_[3], $_[2] ));
14030 0           $_[2] += 4;
14031             die "Out of bounds 'int': $_[1]->{nil}"
14032 0 0 0       unless (-2147483648 <= $_[1]->{nil} and $_[1]->{nil} < 2147483648);
14033              
14034             # Deserializing field: 'data'
14035             # my ($class, $value, $index, $input) = @_;
14036 0           do {
14037 0 0         die "Input buffer too short"
14038             if ($input_length - $_[2]) < 4;
14039 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
14040 0           $_[2] += 4;
14041              
14042 0 0         die "Array too long (max: 65536): $len"
14043             unless ($len <= 65536);
14044 0           $_[1]->{data} = [];
14045 0           for my $i1 ( 0 .. ($len - 1) ) {
14046             # my ($class, $value, $index, $input) = @_;
14047 0 0         die "Input buffer too short"
14048             if ($input_length - $_[2]) < 4;
14049 0           $_[1]->{data}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
14050 0           $_[2] += 4;
14051             die "Out of bounds 'char': $_[1]->{data}->[$i1]"
14052 0 0 0       unless (-128 <= $_[1]->{data}->[$i1] and $_[1]->{data}->[$i1] < 128);
14053             }
14054 0           $_[1]->{data} = pack('c*', @{ $_[1]->{data} });
  0            
14055             };
14056             }
14057             # @_: ($class, $value, $index, $output) = @_;
14058             sub serialize_auth_sasl_step_ret {
14059 0 0   0 0   croak "Missing required input 'struct' value"
14060             unless defined $_[1];
14061              
14062             # Serializing field: 'complete'
14063             croak "Missing required input value 'complete'"
14064 0 0         unless exists $_[1]->{complete};
14065             # my ($class, $value, $index, $output) = @_;
14066             croak "Missing required input 'int' value"
14067 0 0         unless defined $_[1]->{complete};
14068             die "Out of bounds 'int': $_[1]->{complete}"
14069 0 0 0       unless (-2147483648 <= $_[1]->{complete} and $_[1]->{complete} < 2147483648);
14070             die "Non-integer 'int' value given: $_[1]->{complete}"
14071 0 0         unless int($_[1]->{complete}) == $_[1]->{complete};
14072 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{complete});
14073 0           $_[2] += 4;
14074              
14075             # Serializing field: 'nil'
14076             croak "Missing required input value 'nil'"
14077 0 0         unless exists $_[1]->{nil};
14078             # my ($class, $value, $index, $output) = @_;
14079             croak "Missing required input 'int' value"
14080 0 0         unless defined $_[1]->{nil};
14081             die "Out of bounds 'int': $_[1]->{nil}"
14082 0 0 0       unless (-2147483648 <= $_[1]->{nil} and $_[1]->{nil} < 2147483648);
14083             die "Non-integer 'int' value given: $_[1]->{nil}"
14084 0 0         unless int($_[1]->{nil}) == $_[1]->{nil};
14085 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nil});
14086 0           $_[2] += 4;
14087              
14088             # Serializing field: 'data'
14089             croak "Missing required input value 'data'"
14090 0 0         unless exists $_[1]->{data};
14091             # my ($class, $value, $index, $output) = @_;
14092             croak "Missing required input 'array' value"
14093 0 0         unless defined $_[1]->{data};
14094 0           do {
14095 0           local $_[1]->{data} = [ unpack('c*', $_[1]->{data}) ];
14096 0           my $len = scalar @{ $_[1]->{data} };
  0            
14097 0 0         die "Array too long (max: 65536): $len"
14098             unless ($len <= 65536);
14099              
14100 0           substr( $_[3], $_[2] ) = pack("L>", $len);
14101 0           $_[2] += 4;
14102 0           for my $i1 ( 0 .. ($len - 1) ) {
14103             # my ($class, $value, $index, $output) = @_;
14104             croak "Missing required input 'char' value"
14105 0 0         unless defined $_[1]->{data}->[$i1];
14106             die "Out of bounds 'char': $_[1]->{data}->[$i1]"
14107 0 0 0       unless (-128 <= $_[1]->{data}->[$i1] and $_[1]->{data}->[$i1] < 128);
14108             die "Non-integer 'char' value given: $_[1]->{data}->[$i1]"
14109 0 0         unless int($_[1]->{data}->[$i1]) == $_[1]->{data}->[$i1];
14110 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{data}->[$i1]);
14111 0           $_[2] += 4;
14112             }
14113             };
14114             }
14115             # @_: ($class, $value, $index, $input) = @_;
14116             sub deserialize_auth_polkit_ret {
14117 0     0 0   my $input_length = length $_[3];
14118 0           $_[1] = {};
14119             # Deserializing field: 'complete'
14120             # my ($class, $value, $index, $input) = @_;
14121 0 0         die "Input buffer too short"
14122             if ($input_length - $_[2]) < 4;
14123 0           $_[1]->{complete} = unpack("l>", substr( $_[3], $_[2] ));
14124 0           $_[2] += 4;
14125             die "Out of bounds 'int': $_[1]->{complete}"
14126 0 0 0       unless (-2147483648 <= $_[1]->{complete} and $_[1]->{complete} < 2147483648);
14127             }
14128             # @_: ($class, $value, $index, $output) = @_;
14129             sub serialize_auth_polkit_ret {
14130 0 0   0 0   croak "Missing required input 'struct' value"
14131             unless defined $_[1];
14132              
14133             # Serializing field: 'complete'
14134             croak "Missing required input value 'complete'"
14135 0 0         unless exists $_[1]->{complete};
14136             # my ($class, $value, $index, $output) = @_;
14137             croak "Missing required input 'int' value"
14138 0 0         unless defined $_[1]->{complete};
14139             die "Out of bounds 'int': $_[1]->{complete}"
14140 0 0 0       unless (-2147483648 <= $_[1]->{complete} and $_[1]->{complete} < 2147483648);
14141             die "Non-integer 'int' value given: $_[1]->{complete}"
14142 0 0         unless int($_[1]->{complete}) == $_[1]->{complete};
14143 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{complete});
14144 0           $_[2] += 4;
14145             }
14146             # @_: ($class, $value, $index, $input) = @_;
14147             sub deserialize_connect_num_of_storage_pools_ret {
14148 0     0 0   my $input_length = length $_[3];
14149 0           $_[1] = {};
14150             # Deserializing field: 'num'
14151             # my ($class, $value, $index, $input) = @_;
14152 0 0         die "Input buffer too short"
14153             if ($input_length - $_[2]) < 4;
14154 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
14155 0           $_[2] += 4;
14156             die "Out of bounds 'int': $_[1]->{num}"
14157 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
14158             }
14159             # @_: ($class, $value, $index, $output) = @_;
14160             sub serialize_connect_num_of_storage_pools_ret {
14161 0 0   0 0   croak "Missing required input 'struct' value"
14162             unless defined $_[1];
14163              
14164             # Serializing field: 'num'
14165             croak "Missing required input value 'num'"
14166 0 0         unless exists $_[1]->{num};
14167             # my ($class, $value, $index, $output) = @_;
14168             croak "Missing required input 'int' value"
14169 0 0         unless defined $_[1]->{num};
14170             die "Out of bounds 'int': $_[1]->{num}"
14171 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
14172             die "Non-integer 'int' value given: $_[1]->{num}"
14173 0 0         unless int($_[1]->{num}) == $_[1]->{num};
14174 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
14175 0           $_[2] += 4;
14176             }
14177             # @_: ($class, $value, $index, $input) = @_;
14178             sub deserialize_connect_list_storage_pools_args {
14179 0     0 0   my $input_length = length $_[3];
14180 0           $_[1] = {};
14181             # Deserializing field: 'maxnames'
14182             # my ($class, $value, $index, $input) = @_;
14183 0 0         die "Input buffer too short"
14184             if ($input_length - $_[2]) < 4;
14185 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
14186 0           $_[2] += 4;
14187             die "Out of bounds 'int': $_[1]->{maxnames}"
14188 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
14189             }
14190             # @_: ($class, $value, $index, $output) = @_;
14191             sub serialize_connect_list_storage_pools_args {
14192 0 0   0 0   croak "Missing required input 'struct' value"
14193             unless defined $_[1];
14194              
14195             # Serializing field: 'maxnames'
14196             croak "Missing required input value 'maxnames'"
14197 0 0         unless exists $_[1]->{maxnames};
14198             # my ($class, $value, $index, $output) = @_;
14199             croak "Missing required input 'int' value"
14200 0 0         unless defined $_[1]->{maxnames};
14201             die "Out of bounds 'int': $_[1]->{maxnames}"
14202 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
14203             die "Non-integer 'int' value given: $_[1]->{maxnames}"
14204 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
14205 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
14206 0           $_[2] += 4;
14207             }
14208             # @_: ($class, $value, $index, $input) = @_;
14209             sub deserialize_connect_list_storage_pools_ret {
14210 0     0 0   my $input_length = length $_[3];
14211 0           $_[1] = {};
14212             # Deserializing field: 'names'
14213             # my ($class, $value, $index, $input) = @_;
14214 0           do {
14215 0 0         die "Input buffer too short"
14216             if ($input_length - $_[2]) < 4;
14217 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
14218 0           $_[2] += 4;
14219              
14220 0 0         die "Array too long (max: 16384): $len"
14221             unless ($len <= 16384);
14222 0           $_[1]->{names} = [];
14223 0           for my $i1 ( 0 .. ($len - 1) ) {
14224             # my ($class, $value, $index, $input) = @_;
14225 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
14226             }
14227             };
14228             }
14229             # @_: ($class, $value, $index, $output) = @_;
14230             sub serialize_connect_list_storage_pools_ret {
14231 0 0   0 0   croak "Missing required input 'struct' value"
14232             unless defined $_[1];
14233              
14234             # Serializing field: 'names'
14235             croak "Missing required input value 'names'"
14236 0 0         unless exists $_[1]->{names};
14237             # my ($class, $value, $index, $output) = @_;
14238             croak "Missing required input 'array' value"
14239 0 0         unless defined $_[1]->{names};
14240 0           do {
14241 0           my $len = scalar @{ $_[1]->{names} };
  0            
14242 0 0         die "Array too long (max: 16384): $len"
14243             unless ($len <= 16384);
14244              
14245 0           substr( $_[3], $_[2] ) = pack("L>", $len);
14246 0           $_[2] += 4;
14247 0           for my $i1 ( 0 .. ($len - 1) ) {
14248             # my ($class, $value, $index, $output) = @_;
14249 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
14250             }
14251             };
14252             }
14253             # @_: ($class, $value, $index, $input) = @_;
14254             sub deserialize_connect_num_of_defined_storage_pools_ret {
14255 0     0 0   my $input_length = length $_[3];
14256 0           $_[1] = {};
14257             # Deserializing field: 'num'
14258             # my ($class, $value, $index, $input) = @_;
14259 0 0         die "Input buffer too short"
14260             if ($input_length - $_[2]) < 4;
14261 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
14262 0           $_[2] += 4;
14263             die "Out of bounds 'int': $_[1]->{num}"
14264 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
14265             }
14266             # @_: ($class, $value, $index, $output) = @_;
14267             sub serialize_connect_num_of_defined_storage_pools_ret {
14268 0 0   0 0   croak "Missing required input 'struct' value"
14269             unless defined $_[1];
14270              
14271             # Serializing field: 'num'
14272             croak "Missing required input value 'num'"
14273 0 0         unless exists $_[1]->{num};
14274             # my ($class, $value, $index, $output) = @_;
14275             croak "Missing required input 'int' value"
14276 0 0         unless defined $_[1]->{num};
14277             die "Out of bounds 'int': $_[1]->{num}"
14278 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
14279             die "Non-integer 'int' value given: $_[1]->{num}"
14280 0 0         unless int($_[1]->{num}) == $_[1]->{num};
14281 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
14282 0           $_[2] += 4;
14283             }
14284             # @_: ($class, $value, $index, $input) = @_;
14285             sub deserialize_connect_list_defined_storage_pools_args {
14286 0     0 0   my $input_length = length $_[3];
14287 0           $_[1] = {};
14288             # Deserializing field: 'maxnames'
14289             # my ($class, $value, $index, $input) = @_;
14290 0 0         die "Input buffer too short"
14291             if ($input_length - $_[2]) < 4;
14292 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
14293 0           $_[2] += 4;
14294             die "Out of bounds 'int': $_[1]->{maxnames}"
14295 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
14296             }
14297             # @_: ($class, $value, $index, $output) = @_;
14298             sub serialize_connect_list_defined_storage_pools_args {
14299 0 0   0 0   croak "Missing required input 'struct' value"
14300             unless defined $_[1];
14301              
14302             # Serializing field: 'maxnames'
14303             croak "Missing required input value 'maxnames'"
14304 0 0         unless exists $_[1]->{maxnames};
14305             # my ($class, $value, $index, $output) = @_;
14306             croak "Missing required input 'int' value"
14307 0 0         unless defined $_[1]->{maxnames};
14308             die "Out of bounds 'int': $_[1]->{maxnames}"
14309 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
14310             die "Non-integer 'int' value given: $_[1]->{maxnames}"
14311 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
14312 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
14313 0           $_[2] += 4;
14314             }
14315             # @_: ($class, $value, $index, $input) = @_;
14316             sub deserialize_connect_list_defined_storage_pools_ret {
14317 0     0 0   my $input_length = length $_[3];
14318 0           $_[1] = {};
14319             # Deserializing field: 'names'
14320             # my ($class, $value, $index, $input) = @_;
14321 0           do {
14322 0 0         die "Input buffer too short"
14323             if ($input_length - $_[2]) < 4;
14324 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
14325 0           $_[2] += 4;
14326              
14327 0 0         die "Array too long (max: 16384): $len"
14328             unless ($len <= 16384);
14329 0           $_[1]->{names} = [];
14330 0           for my $i1 ( 0 .. ($len - 1) ) {
14331             # my ($class, $value, $index, $input) = @_;
14332 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
14333             }
14334             };
14335             }
14336             # @_: ($class, $value, $index, $output) = @_;
14337             sub serialize_connect_list_defined_storage_pools_ret {
14338 0 0   0 0   croak "Missing required input 'struct' value"
14339             unless defined $_[1];
14340              
14341             # Serializing field: 'names'
14342             croak "Missing required input value 'names'"
14343 0 0         unless exists $_[1]->{names};
14344             # my ($class, $value, $index, $output) = @_;
14345             croak "Missing required input 'array' value"
14346 0 0         unless defined $_[1]->{names};
14347 0           do {
14348 0           my $len = scalar @{ $_[1]->{names} };
  0            
14349 0 0         die "Array too long (max: 16384): $len"
14350             unless ($len <= 16384);
14351              
14352 0           substr( $_[3], $_[2] ) = pack("L>", $len);
14353 0           $_[2] += 4;
14354 0           for my $i1 ( 0 .. ($len - 1) ) {
14355             # my ($class, $value, $index, $output) = @_;
14356 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
14357             }
14358             };
14359             }
14360             # @_: ($class, $value, $index, $input) = @_;
14361             sub deserialize_connect_find_storage_pool_sources_args {
14362 0     0 0   my $input_length = length $_[3];
14363 0           $_[1] = {};
14364             # Deserializing field: 'type'
14365             # my ($class, $value, $index, $input) = @_;
14366 0           $_[0]->deserialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
14367              
14368             # Deserializing field: 'srcSpec'
14369             # my ($class, $value, $index, $input) = @_;
14370 0           $_[0]->deserialize_string( $_[1]->{srcSpec}, $_[2], $_[3] );
14371              
14372             # Deserializing field: 'flags'
14373             # my ($class, $value, $index, $input) = @_;
14374 0 0         die "Input buffer too short"
14375             if ($input_length - $_[2]) < 4;
14376 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
14377 0           $_[2] += 4;
14378             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14379 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14380             }
14381             # @_: ($class, $value, $index, $output) = @_;
14382             sub serialize_connect_find_storage_pool_sources_args {
14383 0 0   0 0   croak "Missing required input 'struct' value"
14384             unless defined $_[1];
14385              
14386             # Serializing field: 'type'
14387             croak "Missing required input value 'type'"
14388 0 0         unless exists $_[1]->{type};
14389             # my ($class, $value, $index, $output) = @_;
14390 0           $_[0]->serialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
14391              
14392             # Serializing field: 'srcSpec'
14393             croak "Missing required input value 'srcSpec'"
14394 0 0         unless exists $_[1]->{srcSpec};
14395             # my ($class, $value, $index, $output) = @_;
14396 0           $_[0]->serialize_string( $_[1]->{srcSpec}, $_[2], $_[3] );
14397              
14398             # Serializing field: 'flags'
14399             croak "Missing required input value 'flags'"
14400 0 0         unless exists $_[1]->{flags};
14401             # my ($class, $value, $index, $output) = @_;
14402             croak "Missing required input 'unsigned int' value"
14403 0 0         unless defined $_[1]->{flags};
14404             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14405 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14406             die "Non-integer 'int' value given: $_[1]->{flags}"
14407 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
14408 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
14409 0           $_[2] += 4;
14410             }
14411             # @_: ($class, $value, $index, $input) = @_;
14412             sub deserialize_connect_find_storage_pool_sources_ret {
14413 0     0 0   my $input_length = length $_[3];
14414 0           $_[1] = {};
14415             # Deserializing field: 'xml'
14416             # my ($class, $value, $index, $input) = @_;
14417 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
14418             }
14419             # @_: ($class, $value, $index, $output) = @_;
14420             sub serialize_connect_find_storage_pool_sources_ret {
14421 0 0   0 0   croak "Missing required input 'struct' value"
14422             unless defined $_[1];
14423              
14424             # Serializing field: 'xml'
14425             croak "Missing required input value 'xml'"
14426 0 0         unless exists $_[1]->{xml};
14427             # my ($class, $value, $index, $output) = @_;
14428 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
14429             }
14430             # @_: ($class, $value, $index, $input) = @_;
14431             sub deserialize_storage_pool_lookup_by_uuid_args {
14432 0     0 0   my $input_length = length $_[3];
14433 0           $_[1] = {};
14434             # Deserializing field: 'uuid'
14435             # my ($class, $value, $index, $input) = @_;
14436 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
14437             }
14438             # @_: ($class, $value, $index, $output) = @_;
14439             sub serialize_storage_pool_lookup_by_uuid_args {
14440 0 0   0 0   croak "Missing required input 'struct' value"
14441             unless defined $_[1];
14442              
14443             # Serializing field: 'uuid'
14444             croak "Missing required input value 'uuid'"
14445 0 0         unless exists $_[1]->{uuid};
14446             # my ($class, $value, $index, $output) = @_;
14447 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
14448             }
14449             # @_: ($class, $value, $index, $input) = @_;
14450             sub deserialize_storage_pool_lookup_by_uuid_ret {
14451 0     0 0   my $input_length = length $_[3];
14452 0           $_[1] = {};
14453             # Deserializing field: 'pool'
14454             # my ($class, $value, $index, $input) = @_;
14455 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14456             }
14457             # @_: ($class, $value, $index, $output) = @_;
14458             sub serialize_storage_pool_lookup_by_uuid_ret {
14459 0 0   0 0   croak "Missing required input 'struct' value"
14460             unless defined $_[1];
14461              
14462             # Serializing field: 'pool'
14463             croak "Missing required input value 'pool'"
14464 0 0         unless exists $_[1]->{pool};
14465             # my ($class, $value, $index, $output) = @_;
14466 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14467             }
14468             # @_: ($class, $value, $index, $input) = @_;
14469             sub deserialize_storage_pool_lookup_by_name_args {
14470 0     0 0   my $input_length = length $_[3];
14471 0           $_[1] = {};
14472             # Deserializing field: 'name'
14473             # my ($class, $value, $index, $input) = @_;
14474 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
14475             }
14476             # @_: ($class, $value, $index, $output) = @_;
14477             sub serialize_storage_pool_lookup_by_name_args {
14478 0 0   0 0   croak "Missing required input 'struct' value"
14479             unless defined $_[1];
14480              
14481             # Serializing field: 'name'
14482             croak "Missing required input value 'name'"
14483 0 0         unless exists $_[1]->{name};
14484             # my ($class, $value, $index, $output) = @_;
14485 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
14486             }
14487             # @_: ($class, $value, $index, $input) = @_;
14488             sub deserialize_storage_pool_lookup_by_name_ret {
14489 0     0 0   my $input_length = length $_[3];
14490 0           $_[1] = {};
14491             # Deserializing field: 'pool'
14492             # my ($class, $value, $index, $input) = @_;
14493 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14494             }
14495             # @_: ($class, $value, $index, $output) = @_;
14496             sub serialize_storage_pool_lookup_by_name_ret {
14497 0 0   0 0   croak "Missing required input 'struct' value"
14498             unless defined $_[1];
14499              
14500             # Serializing field: 'pool'
14501             croak "Missing required input value 'pool'"
14502 0 0         unless exists $_[1]->{pool};
14503             # my ($class, $value, $index, $output) = @_;
14504 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14505             }
14506             # @_: ($class, $value, $index, $input) = @_;
14507             sub deserialize_storage_pool_lookup_by_volume_args {
14508 0     0 0   my $input_length = length $_[3];
14509 0           $_[1] = {};
14510             # Deserializing field: 'vol'
14511             # my ($class, $value, $index, $input) = @_;
14512 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
14513             }
14514             # @_: ($class, $value, $index, $output) = @_;
14515             sub serialize_storage_pool_lookup_by_volume_args {
14516 0 0   0 0   croak "Missing required input 'struct' value"
14517             unless defined $_[1];
14518              
14519             # Serializing field: 'vol'
14520             croak "Missing required input value 'vol'"
14521 0 0         unless exists $_[1]->{vol};
14522             # my ($class, $value, $index, $output) = @_;
14523 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
14524             }
14525             # @_: ($class, $value, $index, $input) = @_;
14526             sub deserialize_storage_pool_lookup_by_volume_ret {
14527 0     0 0   my $input_length = length $_[3];
14528 0           $_[1] = {};
14529             # Deserializing field: 'pool'
14530             # my ($class, $value, $index, $input) = @_;
14531 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14532             }
14533             # @_: ($class, $value, $index, $output) = @_;
14534             sub serialize_storage_pool_lookup_by_volume_ret {
14535 0 0   0 0   croak "Missing required input 'struct' value"
14536             unless defined $_[1];
14537              
14538             # Serializing field: 'pool'
14539             croak "Missing required input value 'pool'"
14540 0 0         unless exists $_[1]->{pool};
14541             # my ($class, $value, $index, $output) = @_;
14542 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14543             }
14544             # @_: ($class, $value, $index, $input) = @_;
14545             sub deserialize_storage_pool_lookup_by_target_path_args {
14546 0     0 0   my $input_length = length $_[3];
14547 0           $_[1] = {};
14548             # Deserializing field: 'path'
14549             # my ($class, $value, $index, $input) = @_;
14550 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
14551             }
14552             # @_: ($class, $value, $index, $output) = @_;
14553             sub serialize_storage_pool_lookup_by_target_path_args {
14554 0 0   0 0   croak "Missing required input 'struct' value"
14555             unless defined $_[1];
14556              
14557             # Serializing field: 'path'
14558             croak "Missing required input value 'path'"
14559 0 0         unless exists $_[1]->{path};
14560             # my ($class, $value, $index, $output) = @_;
14561 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
14562             }
14563             # @_: ($class, $value, $index, $input) = @_;
14564             sub deserialize_storage_pool_lookup_by_target_path_ret {
14565 0     0 0   my $input_length = length $_[3];
14566 0           $_[1] = {};
14567             # Deserializing field: 'pool'
14568             # my ($class, $value, $index, $input) = @_;
14569 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14570             }
14571             # @_: ($class, $value, $index, $output) = @_;
14572             sub serialize_storage_pool_lookup_by_target_path_ret {
14573 0 0   0 0   croak "Missing required input 'struct' value"
14574             unless defined $_[1];
14575              
14576             # Serializing field: 'pool'
14577             croak "Missing required input value 'pool'"
14578 0 0         unless exists $_[1]->{pool};
14579             # my ($class, $value, $index, $output) = @_;
14580 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14581             }
14582             # @_: ($class, $value, $index, $input) = @_;
14583             sub deserialize_storage_pool_create_xml_args {
14584 0     0 0   my $input_length = length $_[3];
14585 0           $_[1] = {};
14586             # Deserializing field: 'xml'
14587             # my ($class, $value, $index, $input) = @_;
14588 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
14589              
14590             # Deserializing field: 'flags'
14591             # my ($class, $value, $index, $input) = @_;
14592 0 0         die "Input buffer too short"
14593             if ($input_length - $_[2]) < 4;
14594 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
14595 0           $_[2] += 4;
14596             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14597 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14598             }
14599             # @_: ($class, $value, $index, $output) = @_;
14600             sub serialize_storage_pool_create_xml_args {
14601 0 0   0 0   croak "Missing required input 'struct' value"
14602             unless defined $_[1];
14603              
14604             # Serializing field: 'xml'
14605             croak "Missing required input value 'xml'"
14606 0 0         unless exists $_[1]->{xml};
14607             # my ($class, $value, $index, $output) = @_;
14608 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
14609              
14610             # Serializing field: 'flags'
14611             croak "Missing required input value 'flags'"
14612 0 0         unless exists $_[1]->{flags};
14613             # my ($class, $value, $index, $output) = @_;
14614             croak "Missing required input 'unsigned int' value"
14615 0 0         unless defined $_[1]->{flags};
14616             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14617 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14618             die "Non-integer 'int' value given: $_[1]->{flags}"
14619 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
14620 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
14621 0           $_[2] += 4;
14622             }
14623             # @_: ($class, $value, $index, $input) = @_;
14624             sub deserialize_storage_pool_create_xml_ret {
14625 0     0 0   my $input_length = length $_[3];
14626 0           $_[1] = {};
14627             # Deserializing field: 'pool'
14628             # my ($class, $value, $index, $input) = @_;
14629 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14630             }
14631             # @_: ($class, $value, $index, $output) = @_;
14632             sub serialize_storage_pool_create_xml_ret {
14633 0 0   0 0   croak "Missing required input 'struct' value"
14634             unless defined $_[1];
14635              
14636             # Serializing field: 'pool'
14637             croak "Missing required input value 'pool'"
14638 0 0         unless exists $_[1]->{pool};
14639             # my ($class, $value, $index, $output) = @_;
14640 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14641             }
14642             # @_: ($class, $value, $index, $input) = @_;
14643             sub deserialize_storage_pool_define_xml_args {
14644 0     0 0   my $input_length = length $_[3];
14645 0           $_[1] = {};
14646             # Deserializing field: 'xml'
14647             # my ($class, $value, $index, $input) = @_;
14648 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
14649              
14650             # Deserializing field: 'flags'
14651             # my ($class, $value, $index, $input) = @_;
14652 0 0         die "Input buffer too short"
14653             if ($input_length - $_[2]) < 4;
14654 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
14655 0           $_[2] += 4;
14656             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14657 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14658             }
14659             # @_: ($class, $value, $index, $output) = @_;
14660             sub serialize_storage_pool_define_xml_args {
14661 0 0   0 0   croak "Missing required input 'struct' value"
14662             unless defined $_[1];
14663              
14664             # Serializing field: 'xml'
14665             croak "Missing required input value 'xml'"
14666 0 0         unless exists $_[1]->{xml};
14667             # my ($class, $value, $index, $output) = @_;
14668 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
14669              
14670             # Serializing field: 'flags'
14671             croak "Missing required input value 'flags'"
14672 0 0         unless exists $_[1]->{flags};
14673             # my ($class, $value, $index, $output) = @_;
14674             croak "Missing required input 'unsigned int' value"
14675 0 0         unless defined $_[1]->{flags};
14676             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14677 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14678             die "Non-integer 'int' value given: $_[1]->{flags}"
14679 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
14680 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
14681 0           $_[2] += 4;
14682             }
14683             # @_: ($class, $value, $index, $input) = @_;
14684             sub deserialize_storage_pool_define_xml_ret {
14685 0     0 0   my $input_length = length $_[3];
14686 0           $_[1] = {};
14687             # Deserializing field: 'pool'
14688             # my ($class, $value, $index, $input) = @_;
14689 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14690             }
14691             # @_: ($class, $value, $index, $output) = @_;
14692             sub serialize_storage_pool_define_xml_ret {
14693 0 0   0 0   croak "Missing required input 'struct' value"
14694             unless defined $_[1];
14695              
14696             # Serializing field: 'pool'
14697             croak "Missing required input value 'pool'"
14698 0 0         unless exists $_[1]->{pool};
14699             # my ($class, $value, $index, $output) = @_;
14700 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14701             }
14702             # @_: ($class, $value, $index, $input) = @_;
14703             sub deserialize_storage_pool_build_args {
14704 0     0 0   my $input_length = length $_[3];
14705 0           $_[1] = {};
14706             # Deserializing field: 'pool'
14707             # my ($class, $value, $index, $input) = @_;
14708 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14709              
14710             # Deserializing field: 'flags'
14711             # my ($class, $value, $index, $input) = @_;
14712 0 0         die "Input buffer too short"
14713             if ($input_length - $_[2]) < 4;
14714 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
14715 0           $_[2] += 4;
14716             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14717 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14718             }
14719             # @_: ($class, $value, $index, $output) = @_;
14720             sub serialize_storage_pool_build_args {
14721 0 0   0 0   croak "Missing required input 'struct' value"
14722             unless defined $_[1];
14723              
14724             # Serializing field: 'pool'
14725             croak "Missing required input value 'pool'"
14726 0 0         unless exists $_[1]->{pool};
14727             # my ($class, $value, $index, $output) = @_;
14728 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14729              
14730             # Serializing field: 'flags'
14731             croak "Missing required input value 'flags'"
14732 0 0         unless exists $_[1]->{flags};
14733             # my ($class, $value, $index, $output) = @_;
14734             croak "Missing required input 'unsigned int' value"
14735 0 0         unless defined $_[1]->{flags};
14736             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14737 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14738             die "Non-integer 'int' value given: $_[1]->{flags}"
14739 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
14740 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
14741 0           $_[2] += 4;
14742             }
14743             # @_: ($class, $value, $index, $input) = @_;
14744             sub deserialize_storage_pool_undefine_args {
14745 0     0 0   my $input_length = length $_[3];
14746 0           $_[1] = {};
14747             # Deserializing field: 'pool'
14748             # my ($class, $value, $index, $input) = @_;
14749 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14750             }
14751             # @_: ($class, $value, $index, $output) = @_;
14752             sub serialize_storage_pool_undefine_args {
14753 0 0   0 0   croak "Missing required input 'struct' value"
14754             unless defined $_[1];
14755              
14756             # Serializing field: 'pool'
14757             croak "Missing required input value 'pool'"
14758 0 0         unless exists $_[1]->{pool};
14759             # my ($class, $value, $index, $output) = @_;
14760 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14761             }
14762             # @_: ($class, $value, $index, $input) = @_;
14763             sub deserialize_storage_pool_create_args {
14764 0     0 0   my $input_length = length $_[3];
14765 0           $_[1] = {};
14766             # Deserializing field: 'pool'
14767             # my ($class, $value, $index, $input) = @_;
14768 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14769              
14770             # Deserializing field: 'flags'
14771             # my ($class, $value, $index, $input) = @_;
14772 0 0         die "Input buffer too short"
14773             if ($input_length - $_[2]) < 4;
14774 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
14775 0           $_[2] += 4;
14776             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14777 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14778             }
14779             # @_: ($class, $value, $index, $output) = @_;
14780             sub serialize_storage_pool_create_args {
14781 0 0   0 0   croak "Missing required input 'struct' value"
14782             unless defined $_[1];
14783              
14784             # Serializing field: 'pool'
14785             croak "Missing required input value 'pool'"
14786 0 0         unless exists $_[1]->{pool};
14787             # my ($class, $value, $index, $output) = @_;
14788 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14789              
14790             # Serializing field: 'flags'
14791             croak "Missing required input value 'flags'"
14792 0 0         unless exists $_[1]->{flags};
14793             # my ($class, $value, $index, $output) = @_;
14794             croak "Missing required input 'unsigned int' value"
14795 0 0         unless defined $_[1]->{flags};
14796             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14797 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14798             die "Non-integer 'int' value given: $_[1]->{flags}"
14799 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
14800 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
14801 0           $_[2] += 4;
14802             }
14803             # @_: ($class, $value, $index, $input) = @_;
14804             sub deserialize_storage_pool_destroy_args {
14805 0     0 0   my $input_length = length $_[3];
14806 0           $_[1] = {};
14807             # Deserializing field: 'pool'
14808             # my ($class, $value, $index, $input) = @_;
14809 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14810             }
14811             # @_: ($class, $value, $index, $output) = @_;
14812             sub serialize_storage_pool_destroy_args {
14813 0 0   0 0   croak "Missing required input 'struct' value"
14814             unless defined $_[1];
14815              
14816             # Serializing field: 'pool'
14817             croak "Missing required input value 'pool'"
14818 0 0         unless exists $_[1]->{pool};
14819             # my ($class, $value, $index, $output) = @_;
14820 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14821             }
14822             # @_: ($class, $value, $index, $input) = @_;
14823             sub deserialize_storage_pool_delete_args {
14824 0     0 0   my $input_length = length $_[3];
14825 0           $_[1] = {};
14826             # Deserializing field: 'pool'
14827             # my ($class, $value, $index, $input) = @_;
14828 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14829              
14830             # Deserializing field: 'flags'
14831             # my ($class, $value, $index, $input) = @_;
14832 0 0         die "Input buffer too short"
14833             if ($input_length - $_[2]) < 4;
14834 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
14835 0           $_[2] += 4;
14836             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14837 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14838             }
14839             # @_: ($class, $value, $index, $output) = @_;
14840             sub serialize_storage_pool_delete_args {
14841 0 0   0 0   croak "Missing required input 'struct' value"
14842             unless defined $_[1];
14843              
14844             # Serializing field: 'pool'
14845             croak "Missing required input value 'pool'"
14846 0 0         unless exists $_[1]->{pool};
14847             # my ($class, $value, $index, $output) = @_;
14848 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14849              
14850             # Serializing field: 'flags'
14851             croak "Missing required input value 'flags'"
14852 0 0         unless exists $_[1]->{flags};
14853             # my ($class, $value, $index, $output) = @_;
14854             croak "Missing required input 'unsigned int' value"
14855 0 0         unless defined $_[1]->{flags};
14856             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14857 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14858             die "Non-integer 'int' value given: $_[1]->{flags}"
14859 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
14860 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
14861 0           $_[2] += 4;
14862             }
14863             # @_: ($class, $value, $index, $input) = @_;
14864             sub deserialize_storage_pool_refresh_args {
14865 0     0 0   my $input_length = length $_[3];
14866 0           $_[1] = {};
14867             # Deserializing field: 'pool'
14868             # my ($class, $value, $index, $input) = @_;
14869 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14870              
14871             # Deserializing field: 'flags'
14872             # my ($class, $value, $index, $input) = @_;
14873 0 0         die "Input buffer too short"
14874             if ($input_length - $_[2]) < 4;
14875 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
14876 0           $_[2] += 4;
14877             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14878 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14879             }
14880             # @_: ($class, $value, $index, $output) = @_;
14881             sub serialize_storage_pool_refresh_args {
14882 0 0   0 0   croak "Missing required input 'struct' value"
14883             unless defined $_[1];
14884              
14885             # Serializing field: 'pool'
14886             croak "Missing required input value 'pool'"
14887 0 0         unless exists $_[1]->{pool};
14888             # my ($class, $value, $index, $output) = @_;
14889 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14890              
14891             # Serializing field: 'flags'
14892             croak "Missing required input value 'flags'"
14893 0 0         unless exists $_[1]->{flags};
14894             # my ($class, $value, $index, $output) = @_;
14895             croak "Missing required input 'unsigned int' value"
14896 0 0         unless defined $_[1]->{flags};
14897             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14898 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14899             die "Non-integer 'int' value given: $_[1]->{flags}"
14900 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
14901 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
14902 0           $_[2] += 4;
14903             }
14904             # @_: ($class, $value, $index, $input) = @_;
14905             sub deserialize_storage_pool_get_xml_desc_args {
14906 0     0 0   my $input_length = length $_[3];
14907 0           $_[1] = {};
14908             # Deserializing field: 'pool'
14909             # my ($class, $value, $index, $input) = @_;
14910 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14911              
14912             # Deserializing field: 'flags'
14913             # my ($class, $value, $index, $input) = @_;
14914 0 0         die "Input buffer too short"
14915             if ($input_length - $_[2]) < 4;
14916 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
14917 0           $_[2] += 4;
14918             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14919 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14920             }
14921             # @_: ($class, $value, $index, $output) = @_;
14922             sub serialize_storage_pool_get_xml_desc_args {
14923 0 0   0 0   croak "Missing required input 'struct' value"
14924             unless defined $_[1];
14925              
14926             # Serializing field: 'pool'
14927             croak "Missing required input value 'pool'"
14928 0 0         unless exists $_[1]->{pool};
14929             # my ($class, $value, $index, $output) = @_;
14930 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14931              
14932             # Serializing field: 'flags'
14933             croak "Missing required input value 'flags'"
14934 0 0         unless exists $_[1]->{flags};
14935             # my ($class, $value, $index, $output) = @_;
14936             croak "Missing required input 'unsigned int' value"
14937 0 0         unless defined $_[1]->{flags};
14938             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14939 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14940             die "Non-integer 'int' value given: $_[1]->{flags}"
14941 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
14942 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
14943 0           $_[2] += 4;
14944             }
14945             # @_: ($class, $value, $index, $input) = @_;
14946             sub deserialize_storage_pool_get_xml_desc_ret {
14947 0     0 0   my $input_length = length $_[3];
14948 0           $_[1] = {};
14949             # Deserializing field: 'xml'
14950             # my ($class, $value, $index, $input) = @_;
14951 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
14952             }
14953             # @_: ($class, $value, $index, $output) = @_;
14954             sub serialize_storage_pool_get_xml_desc_ret {
14955 0 0   0 0   croak "Missing required input 'struct' value"
14956             unless defined $_[1];
14957              
14958             # Serializing field: 'xml'
14959             croak "Missing required input value 'xml'"
14960 0 0         unless exists $_[1]->{xml};
14961             # my ($class, $value, $index, $output) = @_;
14962 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
14963             }
14964             # @_: ($class, $value, $index, $input) = @_;
14965             sub deserialize_storage_pool_get_info_args {
14966 0     0 0   my $input_length = length $_[3];
14967 0           $_[1] = {};
14968             # Deserializing field: 'pool'
14969             # my ($class, $value, $index, $input) = @_;
14970 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14971             }
14972             # @_: ($class, $value, $index, $output) = @_;
14973             sub serialize_storage_pool_get_info_args {
14974 0 0   0 0   croak "Missing required input 'struct' value"
14975             unless defined $_[1];
14976              
14977             # Serializing field: 'pool'
14978             croak "Missing required input value 'pool'"
14979 0 0         unless exists $_[1]->{pool};
14980             # my ($class, $value, $index, $output) = @_;
14981 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14982             }
14983             # @_: ($class, $value, $index, $input) = @_;
14984             sub deserialize_storage_pool_get_info_ret {
14985 0     0 0   my $input_length = length $_[3];
14986 0           $_[1] = {};
14987             # Deserializing field: 'state'
14988             # my ($class, $value, $index, $input) = @_;
14989 0 0         die "Input buffer too short"
14990             if ($input_length - $_[2]) < 4;
14991 0           $_[1]->{state} = unpack("L>", substr( $_[3], $_[2] ));
14992 0           $_[2] += 4;
14993             die "Out of bounds 'unsigned char': $_[1]->{state}"
14994 0 0 0       unless (0 <= $_[1]->{state} and $_[1]->{state} <= 255);
14995              
14996             # Deserializing field: 'capacity'
14997             # my ($class, $value, $index, $input) = @_;
14998 0 0         die "Input buffer too short"
14999             if ($input_length - $_[2]) < 8;
15000 0           $_[1]->{capacity} = unpack("Q>", substr( $_[3], $_[2] ));
15001 0           $_[2] += 8;
15002             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
15003             unless (0 <= $_[1]->{capacity}
15004 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
15005              
15006             # Deserializing field: 'allocation'
15007             # my ($class, $value, $index, $input) = @_;
15008 0 0         die "Input buffer too short"
15009             if ($input_length - $_[2]) < 8;
15010 0           $_[1]->{allocation} = unpack("Q>", substr( $_[3], $_[2] ));
15011 0           $_[2] += 8;
15012             die "Out of bounds 'unsigned hyper': $_[1]->{allocation}"
15013             unless (0 <= $_[1]->{allocation}
15014 0 0 0       and $_[1]->{allocation} <= 18446744073709551615);
15015              
15016             # Deserializing field: 'available'
15017             # my ($class, $value, $index, $input) = @_;
15018 0 0         die "Input buffer too short"
15019             if ($input_length - $_[2]) < 8;
15020 0           $_[1]->{available} = unpack("Q>", substr( $_[3], $_[2] ));
15021 0           $_[2] += 8;
15022             die "Out of bounds 'unsigned hyper': $_[1]->{available}"
15023             unless (0 <= $_[1]->{available}
15024 0 0 0       and $_[1]->{available} <= 18446744073709551615);
15025             }
15026             # @_: ($class, $value, $index, $output) = @_;
15027             sub serialize_storage_pool_get_info_ret {
15028 0 0   0 0   croak "Missing required input 'struct' value"
15029             unless defined $_[1];
15030              
15031             # Serializing field: 'state'
15032             croak "Missing required input value 'state'"
15033 0 0         unless exists $_[1]->{state};
15034             # my ($class, $value, $index, $output) = @_;
15035             croak "Missing required input 'char' value"
15036 0 0         unless defined $_[1]->{state};
15037             die "Out of bounds 'unsigned char': $_[1]->{state}"
15038 0 0 0       unless (0 <= $_[1]->{state} and $_[1]->{state} <= 255);
15039             die "Non-integer 'char' value given: $_[1]->{state}"
15040 0 0         unless int($_[1]->{state}) == $_[1]->{state};
15041 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{state});
15042 0           $_[2] += 4;
15043              
15044             # Serializing field: 'capacity'
15045             croak "Missing required input value 'capacity'"
15046 0 0         unless exists $_[1]->{capacity};
15047             # my ($class, $value, $index, $output) = @_;
15048             croak "Missing required input 'unsigned long' value"
15049 0 0         unless defined $_[1]->{capacity};
15050             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
15051             unless (0 <= $_[1]->{capacity}
15052 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
15053             die "Non-integer 'long' value given: $_[1]->{capacity}"
15054 0 0         unless int($_[1]->{capacity}) == $_[1]->{capacity};
15055 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{capacity});
15056 0           $_[2] += 8;
15057              
15058             # Serializing field: 'allocation'
15059             croak "Missing required input value 'allocation'"
15060 0 0         unless exists $_[1]->{allocation};
15061             # my ($class, $value, $index, $output) = @_;
15062             croak "Missing required input 'unsigned long' value"
15063 0 0         unless defined $_[1]->{allocation};
15064             die "Out of bounds 'unsigned hyper': $_[1]->{allocation}"
15065             unless (0 <= $_[1]->{allocation}
15066 0 0 0       and $_[1]->{allocation} <= 18446744073709551615);
15067             die "Non-integer 'long' value given: $_[1]->{allocation}"
15068 0 0         unless int($_[1]->{allocation}) == $_[1]->{allocation};
15069 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{allocation});
15070 0           $_[2] += 8;
15071              
15072             # Serializing field: 'available'
15073             croak "Missing required input value 'available'"
15074 0 0         unless exists $_[1]->{available};
15075             # my ($class, $value, $index, $output) = @_;
15076             croak "Missing required input 'unsigned long' value"
15077 0 0         unless defined $_[1]->{available};
15078             die "Out of bounds 'unsigned hyper': $_[1]->{available}"
15079             unless (0 <= $_[1]->{available}
15080 0 0 0       and $_[1]->{available} <= 18446744073709551615);
15081             die "Non-integer 'long' value given: $_[1]->{available}"
15082 0 0         unless int($_[1]->{available}) == $_[1]->{available};
15083 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{available});
15084 0           $_[2] += 8;
15085             }
15086             # @_: ($class, $value, $index, $input) = @_;
15087             sub deserialize_storage_pool_get_autostart_args {
15088 0     0 0   my $input_length = length $_[3];
15089 0           $_[1] = {};
15090             # Deserializing field: 'pool'
15091             # my ($class, $value, $index, $input) = @_;
15092 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15093             }
15094             # @_: ($class, $value, $index, $output) = @_;
15095             sub serialize_storage_pool_get_autostart_args {
15096 0 0   0 0   croak "Missing required input 'struct' value"
15097             unless defined $_[1];
15098              
15099             # Serializing field: 'pool'
15100             croak "Missing required input value 'pool'"
15101 0 0         unless exists $_[1]->{pool};
15102             # my ($class, $value, $index, $output) = @_;
15103 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15104             }
15105             # @_: ($class, $value, $index, $input) = @_;
15106             sub deserialize_storage_pool_get_autostart_ret {
15107 0     0 0   my $input_length = length $_[3];
15108 0           $_[1] = {};
15109             # Deserializing field: 'autostart'
15110             # my ($class, $value, $index, $input) = @_;
15111 0 0         die "Input buffer too short"
15112             if ($input_length - $_[2]) < 4;
15113 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
15114 0           $_[2] += 4;
15115             die "Out of bounds 'int': $_[1]->{autostart}"
15116 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
15117             }
15118             # @_: ($class, $value, $index, $output) = @_;
15119             sub serialize_storage_pool_get_autostart_ret {
15120 0 0   0 0   croak "Missing required input 'struct' value"
15121             unless defined $_[1];
15122              
15123             # Serializing field: 'autostart'
15124             croak "Missing required input value 'autostart'"
15125 0 0         unless exists $_[1]->{autostart};
15126             # my ($class, $value, $index, $output) = @_;
15127             croak "Missing required input 'int' value"
15128 0 0         unless defined $_[1]->{autostart};
15129             die "Out of bounds 'int': $_[1]->{autostart}"
15130 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
15131             die "Non-integer 'int' value given: $_[1]->{autostart}"
15132 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
15133 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
15134 0           $_[2] += 4;
15135             }
15136             # @_: ($class, $value, $index, $input) = @_;
15137             sub deserialize_storage_pool_set_autostart_args {
15138 0     0 0   my $input_length = length $_[3];
15139 0           $_[1] = {};
15140             # Deserializing field: 'pool'
15141             # my ($class, $value, $index, $input) = @_;
15142 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15143              
15144             # Deserializing field: 'autostart'
15145             # my ($class, $value, $index, $input) = @_;
15146 0 0         die "Input buffer too short"
15147             if ($input_length - $_[2]) < 4;
15148 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
15149 0           $_[2] += 4;
15150             die "Out of bounds 'int': $_[1]->{autostart}"
15151 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
15152             }
15153             # @_: ($class, $value, $index, $output) = @_;
15154             sub serialize_storage_pool_set_autostart_args {
15155 0 0   0 0   croak "Missing required input 'struct' value"
15156             unless defined $_[1];
15157              
15158             # Serializing field: 'pool'
15159             croak "Missing required input value 'pool'"
15160 0 0         unless exists $_[1]->{pool};
15161             # my ($class, $value, $index, $output) = @_;
15162 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15163              
15164             # Serializing field: 'autostart'
15165             croak "Missing required input value 'autostart'"
15166 0 0         unless exists $_[1]->{autostart};
15167             # my ($class, $value, $index, $output) = @_;
15168             croak "Missing required input 'int' value"
15169 0 0         unless defined $_[1]->{autostart};
15170             die "Out of bounds 'int': $_[1]->{autostart}"
15171 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
15172             die "Non-integer 'int' value given: $_[1]->{autostart}"
15173 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
15174 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
15175 0           $_[2] += 4;
15176             }
15177             # @_: ($class, $value, $index, $input) = @_;
15178             sub deserialize_storage_pool_num_of_volumes_args {
15179 0     0 0   my $input_length = length $_[3];
15180 0           $_[1] = {};
15181             # Deserializing field: 'pool'
15182             # my ($class, $value, $index, $input) = @_;
15183 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15184             }
15185             # @_: ($class, $value, $index, $output) = @_;
15186             sub serialize_storage_pool_num_of_volumes_args {
15187 0 0   0 0   croak "Missing required input 'struct' value"
15188             unless defined $_[1];
15189              
15190             # Serializing field: 'pool'
15191             croak "Missing required input value 'pool'"
15192 0 0         unless exists $_[1]->{pool};
15193             # my ($class, $value, $index, $output) = @_;
15194 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15195             }
15196             # @_: ($class, $value, $index, $input) = @_;
15197             sub deserialize_storage_pool_num_of_volumes_ret {
15198 0     0 0   my $input_length = length $_[3];
15199 0           $_[1] = {};
15200             # Deserializing field: 'num'
15201             # my ($class, $value, $index, $input) = @_;
15202 0 0         die "Input buffer too short"
15203             if ($input_length - $_[2]) < 4;
15204 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
15205 0           $_[2] += 4;
15206             die "Out of bounds 'int': $_[1]->{num}"
15207 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
15208             }
15209             # @_: ($class, $value, $index, $output) = @_;
15210             sub serialize_storage_pool_num_of_volumes_ret {
15211 0 0   0 0   croak "Missing required input 'struct' value"
15212             unless defined $_[1];
15213              
15214             # Serializing field: 'num'
15215             croak "Missing required input value 'num'"
15216 0 0         unless exists $_[1]->{num};
15217             # my ($class, $value, $index, $output) = @_;
15218             croak "Missing required input 'int' value"
15219 0 0         unless defined $_[1]->{num};
15220             die "Out of bounds 'int': $_[1]->{num}"
15221 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
15222             die "Non-integer 'int' value given: $_[1]->{num}"
15223 0 0         unless int($_[1]->{num}) == $_[1]->{num};
15224 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
15225 0           $_[2] += 4;
15226             }
15227             # @_: ($class, $value, $index, $input) = @_;
15228             sub deserialize_storage_pool_list_volumes_args {
15229 0     0 0   my $input_length = length $_[3];
15230 0           $_[1] = {};
15231             # Deserializing field: 'pool'
15232             # my ($class, $value, $index, $input) = @_;
15233 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15234              
15235             # Deserializing field: 'maxnames'
15236             # my ($class, $value, $index, $input) = @_;
15237 0 0         die "Input buffer too short"
15238             if ($input_length - $_[2]) < 4;
15239 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
15240 0           $_[2] += 4;
15241             die "Out of bounds 'int': $_[1]->{maxnames}"
15242 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
15243             }
15244             # @_: ($class, $value, $index, $output) = @_;
15245             sub serialize_storage_pool_list_volumes_args {
15246 0 0   0 0   croak "Missing required input 'struct' value"
15247             unless defined $_[1];
15248              
15249             # Serializing field: 'pool'
15250             croak "Missing required input value 'pool'"
15251 0 0         unless exists $_[1]->{pool};
15252             # my ($class, $value, $index, $output) = @_;
15253 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15254              
15255             # Serializing field: 'maxnames'
15256             croak "Missing required input value 'maxnames'"
15257 0 0         unless exists $_[1]->{maxnames};
15258             # my ($class, $value, $index, $output) = @_;
15259             croak "Missing required input 'int' value"
15260 0 0         unless defined $_[1]->{maxnames};
15261             die "Out of bounds 'int': $_[1]->{maxnames}"
15262 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
15263             die "Non-integer 'int' value given: $_[1]->{maxnames}"
15264 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
15265 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
15266 0           $_[2] += 4;
15267             }
15268             # @_: ($class, $value, $index, $input) = @_;
15269             sub deserialize_storage_pool_list_volumes_ret {
15270 0     0 0   my $input_length = length $_[3];
15271 0           $_[1] = {};
15272             # Deserializing field: 'names'
15273             # my ($class, $value, $index, $input) = @_;
15274 0           do {
15275 0 0         die "Input buffer too short"
15276             if ($input_length - $_[2]) < 4;
15277 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
15278 0           $_[2] += 4;
15279              
15280 0 0         die "Array too long (max: 16384): $len"
15281             unless ($len <= 16384);
15282 0           $_[1]->{names} = [];
15283 0           for my $i1 ( 0 .. ($len - 1) ) {
15284             # my ($class, $value, $index, $input) = @_;
15285 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
15286             }
15287             };
15288             }
15289             # @_: ($class, $value, $index, $output) = @_;
15290             sub serialize_storage_pool_list_volumes_ret {
15291 0 0   0 0   croak "Missing required input 'struct' value"
15292             unless defined $_[1];
15293              
15294             # Serializing field: 'names'
15295             croak "Missing required input value 'names'"
15296 0 0         unless exists $_[1]->{names};
15297             # my ($class, $value, $index, $output) = @_;
15298             croak "Missing required input 'array' value"
15299 0 0         unless defined $_[1]->{names};
15300 0           do {
15301 0           my $len = scalar @{ $_[1]->{names} };
  0            
15302 0 0         die "Array too long (max: 16384): $len"
15303             unless ($len <= 16384);
15304              
15305 0           substr( $_[3], $_[2] ) = pack("L>", $len);
15306 0           $_[2] += 4;
15307 0           for my $i1 ( 0 .. ($len - 1) ) {
15308             # my ($class, $value, $index, $output) = @_;
15309 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
15310             }
15311             };
15312             }
15313             # @_: ($class, $value, $index, $input) = @_;
15314             sub deserialize_storage_vol_lookup_by_name_args {
15315 0     0 0   my $input_length = length $_[3];
15316 0           $_[1] = {};
15317             # Deserializing field: 'pool'
15318             # my ($class, $value, $index, $input) = @_;
15319 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15320              
15321             # Deserializing field: 'name'
15322             # my ($class, $value, $index, $input) = @_;
15323 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
15324             }
15325             # @_: ($class, $value, $index, $output) = @_;
15326             sub serialize_storage_vol_lookup_by_name_args {
15327 0 0   0 0   croak "Missing required input 'struct' value"
15328             unless defined $_[1];
15329              
15330             # Serializing field: 'pool'
15331             croak "Missing required input value 'pool'"
15332 0 0         unless exists $_[1]->{pool};
15333             # my ($class, $value, $index, $output) = @_;
15334 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15335              
15336             # Serializing field: 'name'
15337             croak "Missing required input value 'name'"
15338 0 0         unless exists $_[1]->{name};
15339             # my ($class, $value, $index, $output) = @_;
15340 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
15341             }
15342             # @_: ($class, $value, $index, $input) = @_;
15343             sub deserialize_storage_vol_lookup_by_name_ret {
15344 0     0 0   my $input_length = length $_[3];
15345 0           $_[1] = {};
15346             # Deserializing field: 'vol'
15347             # my ($class, $value, $index, $input) = @_;
15348 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15349             }
15350             # @_: ($class, $value, $index, $output) = @_;
15351             sub serialize_storage_vol_lookup_by_name_ret {
15352 0 0   0 0   croak "Missing required input 'struct' value"
15353             unless defined $_[1];
15354              
15355             # Serializing field: 'vol'
15356             croak "Missing required input value 'vol'"
15357 0 0         unless exists $_[1]->{vol};
15358             # my ($class, $value, $index, $output) = @_;
15359 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15360             }
15361             # @_: ($class, $value, $index, $input) = @_;
15362             sub deserialize_storage_vol_lookup_by_key_args {
15363 0     0 0   my $input_length = length $_[3];
15364 0           $_[1] = {};
15365             # Deserializing field: 'key'
15366             # my ($class, $value, $index, $input) = @_;
15367 0           $_[0]->deserialize_nonnull_string( $_[1]->{key}, $_[2], $_[3] );
15368             }
15369             # @_: ($class, $value, $index, $output) = @_;
15370             sub serialize_storage_vol_lookup_by_key_args {
15371 0 0   0 0   croak "Missing required input 'struct' value"
15372             unless defined $_[1];
15373              
15374             # Serializing field: 'key'
15375             croak "Missing required input value 'key'"
15376 0 0         unless exists $_[1]->{key};
15377             # my ($class, $value, $index, $output) = @_;
15378 0           $_[0]->serialize_nonnull_string( $_[1]->{key}, $_[2], $_[3] );
15379             }
15380             # @_: ($class, $value, $index, $input) = @_;
15381             sub deserialize_storage_vol_lookup_by_key_ret {
15382 0     0 0   my $input_length = length $_[3];
15383 0           $_[1] = {};
15384             # Deserializing field: 'vol'
15385             # my ($class, $value, $index, $input) = @_;
15386 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15387             }
15388             # @_: ($class, $value, $index, $output) = @_;
15389             sub serialize_storage_vol_lookup_by_key_ret {
15390 0 0   0 0   croak "Missing required input 'struct' value"
15391             unless defined $_[1];
15392              
15393             # Serializing field: 'vol'
15394             croak "Missing required input value 'vol'"
15395 0 0         unless exists $_[1]->{vol};
15396             # my ($class, $value, $index, $output) = @_;
15397 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15398             }
15399             # @_: ($class, $value, $index, $input) = @_;
15400             sub deserialize_storage_vol_lookup_by_path_args {
15401 0     0 0   my $input_length = length $_[3];
15402 0           $_[1] = {};
15403             # Deserializing field: 'path'
15404             # my ($class, $value, $index, $input) = @_;
15405 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
15406             }
15407             # @_: ($class, $value, $index, $output) = @_;
15408             sub serialize_storage_vol_lookup_by_path_args {
15409 0 0   0 0   croak "Missing required input 'struct' value"
15410             unless defined $_[1];
15411              
15412             # Serializing field: 'path'
15413             croak "Missing required input value 'path'"
15414 0 0         unless exists $_[1]->{path};
15415             # my ($class, $value, $index, $output) = @_;
15416 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
15417             }
15418             # @_: ($class, $value, $index, $input) = @_;
15419             sub deserialize_storage_vol_lookup_by_path_ret {
15420 0     0 0   my $input_length = length $_[3];
15421 0           $_[1] = {};
15422             # Deserializing field: 'vol'
15423             # my ($class, $value, $index, $input) = @_;
15424 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15425             }
15426             # @_: ($class, $value, $index, $output) = @_;
15427             sub serialize_storage_vol_lookup_by_path_ret {
15428 0 0   0 0   croak "Missing required input 'struct' value"
15429             unless defined $_[1];
15430              
15431             # Serializing field: 'vol'
15432             croak "Missing required input value 'vol'"
15433 0 0         unless exists $_[1]->{vol};
15434             # my ($class, $value, $index, $output) = @_;
15435 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15436             }
15437             # @_: ($class, $value, $index, $input) = @_;
15438             sub deserialize_storage_vol_create_xml_args {
15439 0     0 0   my $input_length = length $_[3];
15440 0           $_[1] = {};
15441             # Deserializing field: 'pool'
15442             # my ($class, $value, $index, $input) = @_;
15443 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15444              
15445             # Deserializing field: 'xml'
15446             # my ($class, $value, $index, $input) = @_;
15447 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
15448              
15449             # Deserializing field: 'flags'
15450             # my ($class, $value, $index, $input) = @_;
15451 0 0         die "Input buffer too short"
15452             if ($input_length - $_[2]) < 4;
15453 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
15454 0           $_[2] += 4;
15455             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15456 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15457             }
15458             # @_: ($class, $value, $index, $output) = @_;
15459             sub serialize_storage_vol_create_xml_args {
15460 0 0   0 0   croak "Missing required input 'struct' value"
15461             unless defined $_[1];
15462              
15463             # Serializing field: 'pool'
15464             croak "Missing required input value 'pool'"
15465 0 0         unless exists $_[1]->{pool};
15466             # my ($class, $value, $index, $output) = @_;
15467 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15468              
15469             # Serializing field: 'xml'
15470             croak "Missing required input value 'xml'"
15471 0 0         unless exists $_[1]->{xml};
15472             # my ($class, $value, $index, $output) = @_;
15473 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
15474              
15475             # Serializing field: 'flags'
15476             croak "Missing required input value 'flags'"
15477 0 0         unless exists $_[1]->{flags};
15478             # my ($class, $value, $index, $output) = @_;
15479             croak "Missing required input 'unsigned int' value"
15480 0 0         unless defined $_[1]->{flags};
15481             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15482 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15483             die "Non-integer 'int' value given: $_[1]->{flags}"
15484 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
15485 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
15486 0           $_[2] += 4;
15487             }
15488             # @_: ($class, $value, $index, $input) = @_;
15489             sub deserialize_storage_vol_create_xml_ret {
15490 0     0 0   my $input_length = length $_[3];
15491 0           $_[1] = {};
15492             # Deserializing field: 'vol'
15493             # my ($class, $value, $index, $input) = @_;
15494 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15495             }
15496             # @_: ($class, $value, $index, $output) = @_;
15497             sub serialize_storage_vol_create_xml_ret {
15498 0 0   0 0   croak "Missing required input 'struct' value"
15499             unless defined $_[1];
15500              
15501             # Serializing field: 'vol'
15502             croak "Missing required input value 'vol'"
15503 0 0         unless exists $_[1]->{vol};
15504             # my ($class, $value, $index, $output) = @_;
15505 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15506             }
15507             # @_: ($class, $value, $index, $input) = @_;
15508             sub deserialize_storage_vol_create_xml_from_args {
15509 0     0 0   my $input_length = length $_[3];
15510 0           $_[1] = {};
15511             # Deserializing field: 'pool'
15512             # my ($class, $value, $index, $input) = @_;
15513 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15514              
15515             # Deserializing field: 'xml'
15516             # my ($class, $value, $index, $input) = @_;
15517 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
15518              
15519             # Deserializing field: 'clonevol'
15520             # my ($class, $value, $index, $input) = @_;
15521 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{clonevol}, $_[2], $_[3] );
15522              
15523             # Deserializing field: 'flags'
15524             # my ($class, $value, $index, $input) = @_;
15525 0 0         die "Input buffer too short"
15526             if ($input_length - $_[2]) < 4;
15527 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
15528 0           $_[2] += 4;
15529             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15530 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15531             }
15532             # @_: ($class, $value, $index, $output) = @_;
15533             sub serialize_storage_vol_create_xml_from_args {
15534 0 0   0 0   croak "Missing required input 'struct' value"
15535             unless defined $_[1];
15536              
15537             # Serializing field: 'pool'
15538             croak "Missing required input value 'pool'"
15539 0 0         unless exists $_[1]->{pool};
15540             # my ($class, $value, $index, $output) = @_;
15541 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15542              
15543             # Serializing field: 'xml'
15544             croak "Missing required input value 'xml'"
15545 0 0         unless exists $_[1]->{xml};
15546             # my ($class, $value, $index, $output) = @_;
15547 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
15548              
15549             # Serializing field: 'clonevol'
15550             croak "Missing required input value 'clonevol'"
15551 0 0         unless exists $_[1]->{clonevol};
15552             # my ($class, $value, $index, $output) = @_;
15553 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{clonevol}, $_[2], $_[3] );
15554              
15555             # Serializing field: 'flags'
15556             croak "Missing required input value 'flags'"
15557 0 0         unless exists $_[1]->{flags};
15558             # my ($class, $value, $index, $output) = @_;
15559             croak "Missing required input 'unsigned int' value"
15560 0 0         unless defined $_[1]->{flags};
15561             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15562 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15563             die "Non-integer 'int' value given: $_[1]->{flags}"
15564 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
15565 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
15566 0           $_[2] += 4;
15567             }
15568             # @_: ($class, $value, $index, $input) = @_;
15569             sub deserialize_storage_vol_create_xml_from_ret {
15570 0     0 0   my $input_length = length $_[3];
15571 0           $_[1] = {};
15572             # Deserializing field: 'vol'
15573             # my ($class, $value, $index, $input) = @_;
15574 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15575             }
15576             # @_: ($class, $value, $index, $output) = @_;
15577             sub serialize_storage_vol_create_xml_from_ret {
15578 0 0   0 0   croak "Missing required input 'struct' value"
15579             unless defined $_[1];
15580              
15581             # Serializing field: 'vol'
15582             croak "Missing required input value 'vol'"
15583 0 0         unless exists $_[1]->{vol};
15584             # my ($class, $value, $index, $output) = @_;
15585 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15586             }
15587             # @_: ($class, $value, $index, $input) = @_;
15588             sub deserialize_storage_vol_delete_args {
15589 0     0 0   my $input_length = length $_[3];
15590 0           $_[1] = {};
15591             # Deserializing field: 'vol'
15592             # my ($class, $value, $index, $input) = @_;
15593 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15594              
15595             # Deserializing field: 'flags'
15596             # my ($class, $value, $index, $input) = @_;
15597 0 0         die "Input buffer too short"
15598             if ($input_length - $_[2]) < 4;
15599 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
15600 0           $_[2] += 4;
15601             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15602 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15603             }
15604             # @_: ($class, $value, $index, $output) = @_;
15605             sub serialize_storage_vol_delete_args {
15606 0 0   0 0   croak "Missing required input 'struct' value"
15607             unless defined $_[1];
15608              
15609             # Serializing field: 'vol'
15610             croak "Missing required input value 'vol'"
15611 0 0         unless exists $_[1]->{vol};
15612             # my ($class, $value, $index, $output) = @_;
15613 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15614              
15615             # Serializing field: 'flags'
15616             croak "Missing required input value 'flags'"
15617 0 0         unless exists $_[1]->{flags};
15618             # my ($class, $value, $index, $output) = @_;
15619             croak "Missing required input 'unsigned int' value"
15620 0 0         unless defined $_[1]->{flags};
15621             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15622 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15623             die "Non-integer 'int' value given: $_[1]->{flags}"
15624 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
15625 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
15626 0           $_[2] += 4;
15627             }
15628             # @_: ($class, $value, $index, $input) = @_;
15629             sub deserialize_storage_vol_wipe_args {
15630 0     0 0   my $input_length = length $_[3];
15631 0           $_[1] = {};
15632             # Deserializing field: 'vol'
15633             # my ($class, $value, $index, $input) = @_;
15634 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15635              
15636             # Deserializing field: 'flags'
15637             # my ($class, $value, $index, $input) = @_;
15638 0 0         die "Input buffer too short"
15639             if ($input_length - $_[2]) < 4;
15640 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
15641 0           $_[2] += 4;
15642             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15643 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15644             }
15645             # @_: ($class, $value, $index, $output) = @_;
15646             sub serialize_storage_vol_wipe_args {
15647 0 0   0 0   croak "Missing required input 'struct' value"
15648             unless defined $_[1];
15649              
15650             # Serializing field: 'vol'
15651             croak "Missing required input value 'vol'"
15652 0 0         unless exists $_[1]->{vol};
15653             # my ($class, $value, $index, $output) = @_;
15654 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15655              
15656             # Serializing field: 'flags'
15657             croak "Missing required input value 'flags'"
15658 0 0         unless exists $_[1]->{flags};
15659             # my ($class, $value, $index, $output) = @_;
15660             croak "Missing required input 'unsigned int' value"
15661 0 0         unless defined $_[1]->{flags};
15662             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15663 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15664             die "Non-integer 'int' value given: $_[1]->{flags}"
15665 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
15666 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
15667 0           $_[2] += 4;
15668             }
15669             # @_: ($class, $value, $index, $input) = @_;
15670             sub deserialize_storage_vol_wipe_pattern_args {
15671 0     0 0   my $input_length = length $_[3];
15672 0           $_[1] = {};
15673             # Deserializing field: 'vol'
15674             # my ($class, $value, $index, $input) = @_;
15675 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15676              
15677             # Deserializing field: 'algorithm'
15678             # my ($class, $value, $index, $input) = @_;
15679 0 0         die "Input buffer too short"
15680             if ($input_length - $_[2]) < 4;
15681 0           $_[1]->{algorithm} = unpack("L>", substr( $_[3], $_[2] ));
15682 0           $_[2] += 4;
15683             die "Out of bounds 'unsigned int': $_[1]->{algorithm}"
15684 0 0 0       unless (0 <= $_[1]->{algorithm} and $_[1]->{algorithm} <= 4294967295);
15685              
15686             # Deserializing field: 'flags'
15687             # my ($class, $value, $index, $input) = @_;
15688 0 0         die "Input buffer too short"
15689             if ($input_length - $_[2]) < 4;
15690 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
15691 0           $_[2] += 4;
15692             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15693 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15694             }
15695             # @_: ($class, $value, $index, $output) = @_;
15696             sub serialize_storage_vol_wipe_pattern_args {
15697 0 0   0 0   croak "Missing required input 'struct' value"
15698             unless defined $_[1];
15699              
15700             # Serializing field: 'vol'
15701             croak "Missing required input value 'vol'"
15702 0 0         unless exists $_[1]->{vol};
15703             # my ($class, $value, $index, $output) = @_;
15704 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15705              
15706             # Serializing field: 'algorithm'
15707             croak "Missing required input value 'algorithm'"
15708 0 0         unless exists $_[1]->{algorithm};
15709             # my ($class, $value, $index, $output) = @_;
15710             croak "Missing required input 'unsigned int' value"
15711 0 0         unless defined $_[1]->{algorithm};
15712             die "Out of bounds 'unsigned int': $_[1]->{algorithm}"
15713 0 0 0       unless (0 <= $_[1]->{algorithm} and $_[1]->{algorithm} <= 4294967295);
15714             die "Non-integer 'int' value given: $_[1]->{algorithm}"
15715 0 0         unless int($_[1]->{algorithm}) == $_[1]->{algorithm};
15716 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{algorithm});
15717 0           $_[2] += 4;
15718              
15719             # Serializing field: 'flags'
15720             croak "Missing required input value 'flags'"
15721 0 0         unless exists $_[1]->{flags};
15722             # my ($class, $value, $index, $output) = @_;
15723             croak "Missing required input 'unsigned int' value"
15724 0 0         unless defined $_[1]->{flags};
15725             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15726 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15727             die "Non-integer 'int' value given: $_[1]->{flags}"
15728 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
15729 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
15730 0           $_[2] += 4;
15731             }
15732             # @_: ($class, $value, $index, $input) = @_;
15733             sub deserialize_storage_vol_get_xml_desc_args {
15734 0     0 0   my $input_length = length $_[3];
15735 0           $_[1] = {};
15736             # Deserializing field: 'vol'
15737             # my ($class, $value, $index, $input) = @_;
15738 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15739              
15740             # Deserializing field: 'flags'
15741             # my ($class, $value, $index, $input) = @_;
15742 0 0         die "Input buffer too short"
15743             if ($input_length - $_[2]) < 4;
15744 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
15745 0           $_[2] += 4;
15746             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15747 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15748             }
15749             # @_: ($class, $value, $index, $output) = @_;
15750             sub serialize_storage_vol_get_xml_desc_args {
15751 0 0   0 0   croak "Missing required input 'struct' value"
15752             unless defined $_[1];
15753              
15754             # Serializing field: 'vol'
15755             croak "Missing required input value 'vol'"
15756 0 0         unless exists $_[1]->{vol};
15757             # my ($class, $value, $index, $output) = @_;
15758 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15759              
15760             # Serializing field: 'flags'
15761             croak "Missing required input value 'flags'"
15762 0 0         unless exists $_[1]->{flags};
15763             # my ($class, $value, $index, $output) = @_;
15764             croak "Missing required input 'unsigned int' value"
15765 0 0         unless defined $_[1]->{flags};
15766             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15767 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15768             die "Non-integer 'int' value given: $_[1]->{flags}"
15769 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
15770 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
15771 0           $_[2] += 4;
15772             }
15773             # @_: ($class, $value, $index, $input) = @_;
15774             sub deserialize_storage_vol_get_xml_desc_ret {
15775 0     0 0   my $input_length = length $_[3];
15776 0           $_[1] = {};
15777             # Deserializing field: 'xml'
15778             # my ($class, $value, $index, $input) = @_;
15779 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
15780             }
15781             # @_: ($class, $value, $index, $output) = @_;
15782             sub serialize_storage_vol_get_xml_desc_ret {
15783 0 0   0 0   croak "Missing required input 'struct' value"
15784             unless defined $_[1];
15785              
15786             # Serializing field: 'xml'
15787             croak "Missing required input value 'xml'"
15788 0 0         unless exists $_[1]->{xml};
15789             # my ($class, $value, $index, $output) = @_;
15790 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
15791             }
15792             # @_: ($class, $value, $index, $input) = @_;
15793             sub deserialize_storage_vol_get_info_args {
15794 0     0 0   my $input_length = length $_[3];
15795 0           $_[1] = {};
15796             # Deserializing field: 'vol'
15797             # my ($class, $value, $index, $input) = @_;
15798 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15799             }
15800             # @_: ($class, $value, $index, $output) = @_;
15801             sub serialize_storage_vol_get_info_args {
15802 0 0   0 0   croak "Missing required input 'struct' value"
15803             unless defined $_[1];
15804              
15805             # Serializing field: 'vol'
15806             croak "Missing required input value 'vol'"
15807 0 0         unless exists $_[1]->{vol};
15808             # my ($class, $value, $index, $output) = @_;
15809 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15810             }
15811             # @_: ($class, $value, $index, $input) = @_;
15812             sub deserialize_storage_vol_get_info_ret {
15813 0     0 0   my $input_length = length $_[3];
15814 0           $_[1] = {};
15815             # Deserializing field: 'type'
15816             # my ($class, $value, $index, $input) = @_;
15817 0 0         die "Input buffer too short"
15818             if ($input_length - $_[2]) < 4;
15819 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
15820 0           $_[2] += 4;
15821             die "Out of bounds 'char': $_[1]->{type}"
15822 0 0 0       unless (-128 <= $_[1]->{type} and $_[1]->{type} < 128);
15823              
15824             # Deserializing field: 'capacity'
15825             # my ($class, $value, $index, $input) = @_;
15826 0 0         die "Input buffer too short"
15827             if ($input_length - $_[2]) < 8;
15828 0           $_[1]->{capacity} = unpack("Q>", substr( $_[3], $_[2] ));
15829 0           $_[2] += 8;
15830             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
15831             unless (0 <= $_[1]->{capacity}
15832 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
15833              
15834             # Deserializing field: 'allocation'
15835             # my ($class, $value, $index, $input) = @_;
15836 0 0         die "Input buffer too short"
15837             if ($input_length - $_[2]) < 8;
15838 0           $_[1]->{allocation} = unpack("Q>", substr( $_[3], $_[2] ));
15839 0           $_[2] += 8;
15840             die "Out of bounds 'unsigned hyper': $_[1]->{allocation}"
15841             unless (0 <= $_[1]->{allocation}
15842 0 0 0       and $_[1]->{allocation} <= 18446744073709551615);
15843             }
15844             # @_: ($class, $value, $index, $output) = @_;
15845             sub serialize_storage_vol_get_info_ret {
15846 0 0   0 0   croak "Missing required input 'struct' value"
15847             unless defined $_[1];
15848              
15849             # Serializing field: 'type'
15850             croak "Missing required input value 'type'"
15851 0 0         unless exists $_[1]->{type};
15852             # my ($class, $value, $index, $output) = @_;
15853             croak "Missing required input 'char' value"
15854 0 0         unless defined $_[1]->{type};
15855             die "Out of bounds 'char': $_[1]->{type}"
15856 0 0 0       unless (-128 <= $_[1]->{type} and $_[1]->{type} < 128);
15857             die "Non-integer 'char' value given: $_[1]->{type}"
15858 0 0         unless int($_[1]->{type}) == $_[1]->{type};
15859 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
15860 0           $_[2] += 4;
15861              
15862             # Serializing field: 'capacity'
15863             croak "Missing required input value 'capacity'"
15864 0 0         unless exists $_[1]->{capacity};
15865             # my ($class, $value, $index, $output) = @_;
15866             croak "Missing required input 'unsigned long' value"
15867 0 0         unless defined $_[1]->{capacity};
15868             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
15869             unless (0 <= $_[1]->{capacity}
15870 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
15871             die "Non-integer 'long' value given: $_[1]->{capacity}"
15872 0 0         unless int($_[1]->{capacity}) == $_[1]->{capacity};
15873 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{capacity});
15874 0           $_[2] += 8;
15875              
15876             # Serializing field: 'allocation'
15877             croak "Missing required input value 'allocation'"
15878 0 0         unless exists $_[1]->{allocation};
15879             # my ($class, $value, $index, $output) = @_;
15880             croak "Missing required input 'unsigned long' value"
15881 0 0         unless defined $_[1]->{allocation};
15882             die "Out of bounds 'unsigned hyper': $_[1]->{allocation}"
15883             unless (0 <= $_[1]->{allocation}
15884 0 0 0       and $_[1]->{allocation} <= 18446744073709551615);
15885             die "Non-integer 'long' value given: $_[1]->{allocation}"
15886 0 0         unless int($_[1]->{allocation}) == $_[1]->{allocation};
15887 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{allocation});
15888 0           $_[2] += 8;
15889             }
15890             # @_: ($class, $value, $index, $input) = @_;
15891             sub deserialize_storage_vol_get_info_flags_args {
15892 0     0 0   my $input_length = length $_[3];
15893 0           $_[1] = {};
15894             # Deserializing field: 'vol'
15895             # my ($class, $value, $index, $input) = @_;
15896 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15897              
15898             # Deserializing field: 'flags'
15899             # my ($class, $value, $index, $input) = @_;
15900 0 0         die "Input buffer too short"
15901             if ($input_length - $_[2]) < 4;
15902 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
15903 0           $_[2] += 4;
15904             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15905 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15906             }
15907             # @_: ($class, $value, $index, $output) = @_;
15908             sub serialize_storage_vol_get_info_flags_args {
15909 0 0   0 0   croak "Missing required input 'struct' value"
15910             unless defined $_[1];
15911              
15912             # Serializing field: 'vol'
15913             croak "Missing required input value 'vol'"
15914 0 0         unless exists $_[1]->{vol};
15915             # my ($class, $value, $index, $output) = @_;
15916 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15917              
15918             # Serializing field: 'flags'
15919             croak "Missing required input value 'flags'"
15920 0 0         unless exists $_[1]->{flags};
15921             # my ($class, $value, $index, $output) = @_;
15922             croak "Missing required input 'unsigned int' value"
15923 0 0         unless defined $_[1]->{flags};
15924             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15925 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15926             die "Non-integer 'int' value given: $_[1]->{flags}"
15927 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
15928 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
15929 0           $_[2] += 4;
15930             }
15931             # @_: ($class, $value, $index, $input) = @_;
15932             sub deserialize_storage_vol_get_info_flags_ret {
15933 0     0 0   my $input_length = length $_[3];
15934 0           $_[1] = {};
15935             # Deserializing field: 'type'
15936             # my ($class, $value, $index, $input) = @_;
15937 0 0         die "Input buffer too short"
15938             if ($input_length - $_[2]) < 4;
15939 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
15940 0           $_[2] += 4;
15941             die "Out of bounds 'char': $_[1]->{type}"
15942 0 0 0       unless (-128 <= $_[1]->{type} and $_[1]->{type} < 128);
15943              
15944             # Deserializing field: 'capacity'
15945             # my ($class, $value, $index, $input) = @_;
15946 0 0         die "Input buffer too short"
15947             if ($input_length - $_[2]) < 8;
15948 0           $_[1]->{capacity} = unpack("Q>", substr( $_[3], $_[2] ));
15949 0           $_[2] += 8;
15950             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
15951             unless (0 <= $_[1]->{capacity}
15952 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
15953              
15954             # Deserializing field: 'allocation'
15955             # my ($class, $value, $index, $input) = @_;
15956 0 0         die "Input buffer too short"
15957             if ($input_length - $_[2]) < 8;
15958 0           $_[1]->{allocation} = unpack("Q>", substr( $_[3], $_[2] ));
15959 0           $_[2] += 8;
15960             die "Out of bounds 'unsigned hyper': $_[1]->{allocation}"
15961             unless (0 <= $_[1]->{allocation}
15962 0 0 0       and $_[1]->{allocation} <= 18446744073709551615);
15963             }
15964             # @_: ($class, $value, $index, $output) = @_;
15965             sub serialize_storage_vol_get_info_flags_ret {
15966 0 0   0 0   croak "Missing required input 'struct' value"
15967             unless defined $_[1];
15968              
15969             # Serializing field: 'type'
15970             croak "Missing required input value 'type'"
15971 0 0         unless exists $_[1]->{type};
15972             # my ($class, $value, $index, $output) = @_;
15973             croak "Missing required input 'char' value"
15974 0 0         unless defined $_[1]->{type};
15975             die "Out of bounds 'char': $_[1]->{type}"
15976 0 0 0       unless (-128 <= $_[1]->{type} and $_[1]->{type} < 128);
15977             die "Non-integer 'char' value given: $_[1]->{type}"
15978 0 0         unless int($_[1]->{type}) == $_[1]->{type};
15979 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
15980 0           $_[2] += 4;
15981              
15982             # Serializing field: 'capacity'
15983             croak "Missing required input value 'capacity'"
15984 0 0         unless exists $_[1]->{capacity};
15985             # my ($class, $value, $index, $output) = @_;
15986             croak "Missing required input 'unsigned long' value"
15987 0 0         unless defined $_[1]->{capacity};
15988             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
15989             unless (0 <= $_[1]->{capacity}
15990 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
15991             die "Non-integer 'long' value given: $_[1]->{capacity}"
15992 0 0         unless int($_[1]->{capacity}) == $_[1]->{capacity};
15993 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{capacity});
15994 0           $_[2] += 8;
15995              
15996             # Serializing field: 'allocation'
15997             croak "Missing required input value 'allocation'"
15998 0 0         unless exists $_[1]->{allocation};
15999             # my ($class, $value, $index, $output) = @_;
16000             croak "Missing required input 'unsigned long' value"
16001 0 0         unless defined $_[1]->{allocation};
16002             die "Out of bounds 'unsigned hyper': $_[1]->{allocation}"
16003             unless (0 <= $_[1]->{allocation}
16004 0 0 0       and $_[1]->{allocation} <= 18446744073709551615);
16005             die "Non-integer 'long' value given: $_[1]->{allocation}"
16006 0 0         unless int($_[1]->{allocation}) == $_[1]->{allocation};
16007 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{allocation});
16008 0           $_[2] += 8;
16009             }
16010             # @_: ($class, $value, $index, $input) = @_;
16011             sub deserialize_storage_vol_get_path_args {
16012 0     0 0   my $input_length = length $_[3];
16013 0           $_[1] = {};
16014             # Deserializing field: 'vol'
16015             # my ($class, $value, $index, $input) = @_;
16016 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
16017             }
16018             # @_: ($class, $value, $index, $output) = @_;
16019             sub serialize_storage_vol_get_path_args {
16020 0 0   0 0   croak "Missing required input 'struct' value"
16021             unless defined $_[1];
16022              
16023             # Serializing field: 'vol'
16024             croak "Missing required input value 'vol'"
16025 0 0         unless exists $_[1]->{vol};
16026             # my ($class, $value, $index, $output) = @_;
16027 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
16028             }
16029             # @_: ($class, $value, $index, $input) = @_;
16030             sub deserialize_storage_vol_get_path_ret {
16031 0     0 0   my $input_length = length $_[3];
16032 0           $_[1] = {};
16033             # Deserializing field: 'name'
16034             # my ($class, $value, $index, $input) = @_;
16035 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16036             }
16037             # @_: ($class, $value, $index, $output) = @_;
16038             sub serialize_storage_vol_get_path_ret {
16039 0 0   0 0   croak "Missing required input 'struct' value"
16040             unless defined $_[1];
16041              
16042             # Serializing field: 'name'
16043             croak "Missing required input value 'name'"
16044 0 0         unless exists $_[1]->{name};
16045             # my ($class, $value, $index, $output) = @_;
16046 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16047             }
16048             # @_: ($class, $value, $index, $input) = @_;
16049             sub deserialize_storage_vol_resize_args {
16050 0     0 0   my $input_length = length $_[3];
16051 0           $_[1] = {};
16052             # Deserializing field: 'vol'
16053             # my ($class, $value, $index, $input) = @_;
16054 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
16055              
16056             # Deserializing field: 'capacity'
16057             # my ($class, $value, $index, $input) = @_;
16058 0 0         die "Input buffer too short"
16059             if ($input_length - $_[2]) < 8;
16060 0           $_[1]->{capacity} = unpack("Q>", substr( $_[3], $_[2] ));
16061 0           $_[2] += 8;
16062             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
16063             unless (0 <= $_[1]->{capacity}
16064 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
16065              
16066             # Deserializing field: 'flags'
16067             # my ($class, $value, $index, $input) = @_;
16068 0 0         die "Input buffer too short"
16069             if ($input_length - $_[2]) < 4;
16070 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16071 0           $_[2] += 4;
16072             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16073 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16074             }
16075             # @_: ($class, $value, $index, $output) = @_;
16076             sub serialize_storage_vol_resize_args {
16077 0 0   0 0   croak "Missing required input 'struct' value"
16078             unless defined $_[1];
16079              
16080             # Serializing field: 'vol'
16081             croak "Missing required input value 'vol'"
16082 0 0         unless exists $_[1]->{vol};
16083             # my ($class, $value, $index, $output) = @_;
16084 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
16085              
16086             # Serializing field: 'capacity'
16087             croak "Missing required input value 'capacity'"
16088 0 0         unless exists $_[1]->{capacity};
16089             # my ($class, $value, $index, $output) = @_;
16090             croak "Missing required input 'unsigned long' value"
16091 0 0         unless defined $_[1]->{capacity};
16092             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
16093             unless (0 <= $_[1]->{capacity}
16094 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
16095             die "Non-integer 'long' value given: $_[1]->{capacity}"
16096 0 0         unless int($_[1]->{capacity}) == $_[1]->{capacity};
16097 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{capacity});
16098 0           $_[2] += 8;
16099              
16100             # Serializing field: 'flags'
16101             croak "Missing required input value 'flags'"
16102 0 0         unless exists $_[1]->{flags};
16103             # my ($class, $value, $index, $output) = @_;
16104             croak "Missing required input 'unsigned int' value"
16105 0 0         unless defined $_[1]->{flags};
16106             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16107 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16108             die "Non-integer 'int' value given: $_[1]->{flags}"
16109 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16110 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16111 0           $_[2] += 4;
16112             }
16113             # @_: ($class, $value, $index, $input) = @_;
16114             sub deserialize_node_num_of_devices_args {
16115 0     0 0   my $input_length = length $_[3];
16116 0           $_[1] = {};
16117             # Deserializing field: 'cap'
16118             # my ($class, $value, $index, $input) = @_;
16119 0           $_[0]->deserialize_string( $_[1]->{cap}, $_[2], $_[3] );
16120              
16121             # Deserializing field: 'flags'
16122             # my ($class, $value, $index, $input) = @_;
16123 0 0         die "Input buffer too short"
16124             if ($input_length - $_[2]) < 4;
16125 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16126 0           $_[2] += 4;
16127             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16128 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16129             }
16130             # @_: ($class, $value, $index, $output) = @_;
16131             sub serialize_node_num_of_devices_args {
16132 0 0   0 0   croak "Missing required input 'struct' value"
16133             unless defined $_[1];
16134              
16135             # Serializing field: 'cap'
16136             croak "Missing required input value 'cap'"
16137 0 0         unless exists $_[1]->{cap};
16138             # my ($class, $value, $index, $output) = @_;
16139 0           $_[0]->serialize_string( $_[1]->{cap}, $_[2], $_[3] );
16140              
16141             # Serializing field: 'flags'
16142             croak "Missing required input value 'flags'"
16143 0 0         unless exists $_[1]->{flags};
16144             # my ($class, $value, $index, $output) = @_;
16145             croak "Missing required input 'unsigned int' value"
16146 0 0         unless defined $_[1]->{flags};
16147             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16148 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16149             die "Non-integer 'int' value given: $_[1]->{flags}"
16150 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16151 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16152 0           $_[2] += 4;
16153             }
16154             # @_: ($class, $value, $index, $input) = @_;
16155             sub deserialize_node_num_of_devices_ret {
16156 0     0 0   my $input_length = length $_[3];
16157 0           $_[1] = {};
16158             # Deserializing field: 'num'
16159             # my ($class, $value, $index, $input) = @_;
16160 0 0         die "Input buffer too short"
16161             if ($input_length - $_[2]) < 4;
16162 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
16163 0           $_[2] += 4;
16164             die "Out of bounds 'int': $_[1]->{num}"
16165 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
16166             }
16167             # @_: ($class, $value, $index, $output) = @_;
16168             sub serialize_node_num_of_devices_ret {
16169 0 0   0 0   croak "Missing required input 'struct' value"
16170             unless defined $_[1];
16171              
16172             # Serializing field: 'num'
16173             croak "Missing required input value 'num'"
16174 0 0         unless exists $_[1]->{num};
16175             # my ($class, $value, $index, $output) = @_;
16176             croak "Missing required input 'int' value"
16177 0 0         unless defined $_[1]->{num};
16178             die "Out of bounds 'int': $_[1]->{num}"
16179 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
16180             die "Non-integer 'int' value given: $_[1]->{num}"
16181 0 0         unless int($_[1]->{num}) == $_[1]->{num};
16182 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
16183 0           $_[2] += 4;
16184             }
16185             # @_: ($class, $value, $index, $input) = @_;
16186             sub deserialize_node_list_devices_args {
16187 0     0 0   my $input_length = length $_[3];
16188 0           $_[1] = {};
16189             # Deserializing field: 'cap'
16190             # my ($class, $value, $index, $input) = @_;
16191 0           $_[0]->deserialize_string( $_[1]->{cap}, $_[2], $_[3] );
16192              
16193             # Deserializing field: 'maxnames'
16194             # my ($class, $value, $index, $input) = @_;
16195 0 0         die "Input buffer too short"
16196             if ($input_length - $_[2]) < 4;
16197 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
16198 0           $_[2] += 4;
16199             die "Out of bounds 'int': $_[1]->{maxnames}"
16200 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
16201              
16202             # Deserializing field: 'flags'
16203             # my ($class, $value, $index, $input) = @_;
16204 0 0         die "Input buffer too short"
16205             if ($input_length - $_[2]) < 4;
16206 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16207 0           $_[2] += 4;
16208             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16209 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16210             }
16211             # @_: ($class, $value, $index, $output) = @_;
16212             sub serialize_node_list_devices_args {
16213 0 0   0 0   croak "Missing required input 'struct' value"
16214             unless defined $_[1];
16215              
16216             # Serializing field: 'cap'
16217             croak "Missing required input value 'cap'"
16218 0 0         unless exists $_[1]->{cap};
16219             # my ($class, $value, $index, $output) = @_;
16220 0           $_[0]->serialize_string( $_[1]->{cap}, $_[2], $_[3] );
16221              
16222             # Serializing field: 'maxnames'
16223             croak "Missing required input value 'maxnames'"
16224 0 0         unless exists $_[1]->{maxnames};
16225             # my ($class, $value, $index, $output) = @_;
16226             croak "Missing required input 'int' value"
16227 0 0         unless defined $_[1]->{maxnames};
16228             die "Out of bounds 'int': $_[1]->{maxnames}"
16229 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
16230             die "Non-integer 'int' value given: $_[1]->{maxnames}"
16231 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
16232 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
16233 0           $_[2] += 4;
16234              
16235             # Serializing field: 'flags'
16236             croak "Missing required input value 'flags'"
16237 0 0         unless exists $_[1]->{flags};
16238             # my ($class, $value, $index, $output) = @_;
16239             croak "Missing required input 'unsigned int' value"
16240 0 0         unless defined $_[1]->{flags};
16241             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16242 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16243             die "Non-integer 'int' value given: $_[1]->{flags}"
16244 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16245 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16246 0           $_[2] += 4;
16247             }
16248             # @_: ($class, $value, $index, $input) = @_;
16249             sub deserialize_node_list_devices_ret {
16250 0     0 0   my $input_length = length $_[3];
16251 0           $_[1] = {};
16252             # Deserializing field: 'names'
16253             # my ($class, $value, $index, $input) = @_;
16254 0           do {
16255 0 0         die "Input buffer too short"
16256             if ($input_length - $_[2]) < 4;
16257 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
16258 0           $_[2] += 4;
16259              
16260 0 0         die "Array too long (max: 65536): $len"
16261             unless ($len <= 65536);
16262 0           $_[1]->{names} = [];
16263 0           for my $i1 ( 0 .. ($len - 1) ) {
16264             # my ($class, $value, $index, $input) = @_;
16265 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
16266             }
16267             };
16268             }
16269             # @_: ($class, $value, $index, $output) = @_;
16270             sub serialize_node_list_devices_ret {
16271 0 0   0 0   croak "Missing required input 'struct' value"
16272             unless defined $_[1];
16273              
16274             # Serializing field: 'names'
16275             croak "Missing required input value 'names'"
16276 0 0         unless exists $_[1]->{names};
16277             # my ($class, $value, $index, $output) = @_;
16278             croak "Missing required input 'array' value"
16279 0 0         unless defined $_[1]->{names};
16280 0           do {
16281 0           my $len = scalar @{ $_[1]->{names} };
  0            
16282 0 0         die "Array too long (max: 65536): $len"
16283             unless ($len <= 65536);
16284              
16285 0           substr( $_[3], $_[2] ) = pack("L>", $len);
16286 0           $_[2] += 4;
16287 0           for my $i1 ( 0 .. ($len - 1) ) {
16288             # my ($class, $value, $index, $output) = @_;
16289 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
16290             }
16291             };
16292             }
16293             # @_: ($class, $value, $index, $input) = @_;
16294             sub deserialize_node_device_lookup_by_name_args {
16295 0     0 0   my $input_length = length $_[3];
16296 0           $_[1] = {};
16297             # Deserializing field: 'name'
16298             # my ($class, $value, $index, $input) = @_;
16299 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16300             }
16301             # @_: ($class, $value, $index, $output) = @_;
16302             sub serialize_node_device_lookup_by_name_args {
16303 0 0   0 0   croak "Missing required input 'struct' value"
16304             unless defined $_[1];
16305              
16306             # Serializing field: 'name'
16307             croak "Missing required input value 'name'"
16308 0 0         unless exists $_[1]->{name};
16309             # my ($class, $value, $index, $output) = @_;
16310 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16311             }
16312             # @_: ($class, $value, $index, $input) = @_;
16313             sub deserialize_node_device_lookup_by_name_ret {
16314 0     0 0   my $input_length = length $_[3];
16315 0           $_[1] = {};
16316             # Deserializing field: 'dev'
16317             # my ($class, $value, $index, $input) = @_;
16318 0           $_[0]->deserialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
16319             }
16320             # @_: ($class, $value, $index, $output) = @_;
16321             sub serialize_node_device_lookup_by_name_ret {
16322 0 0   0 0   croak "Missing required input 'struct' value"
16323             unless defined $_[1];
16324              
16325             # Serializing field: 'dev'
16326             croak "Missing required input value 'dev'"
16327 0 0         unless exists $_[1]->{dev};
16328             # my ($class, $value, $index, $output) = @_;
16329 0           $_[0]->serialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
16330             }
16331             # @_: ($class, $value, $index, $input) = @_;
16332             sub deserialize_node_device_lookup_scsi_host_by_wwn_args {
16333 0     0 0   my $input_length = length $_[3];
16334 0           $_[1] = {};
16335             # Deserializing field: 'wwnn'
16336             # my ($class, $value, $index, $input) = @_;
16337 0           $_[0]->deserialize_nonnull_string( $_[1]->{wwnn}, $_[2], $_[3] );
16338              
16339             # Deserializing field: 'wwpn'
16340             # my ($class, $value, $index, $input) = @_;
16341 0           $_[0]->deserialize_nonnull_string( $_[1]->{wwpn}, $_[2], $_[3] );
16342              
16343             # Deserializing field: 'flags'
16344             # my ($class, $value, $index, $input) = @_;
16345 0 0         die "Input buffer too short"
16346             if ($input_length - $_[2]) < 4;
16347 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16348 0           $_[2] += 4;
16349             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16350 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16351             }
16352             # @_: ($class, $value, $index, $output) = @_;
16353             sub serialize_node_device_lookup_scsi_host_by_wwn_args {
16354 0 0   0 0   croak "Missing required input 'struct' value"
16355             unless defined $_[1];
16356              
16357             # Serializing field: 'wwnn'
16358             croak "Missing required input value 'wwnn'"
16359 0 0         unless exists $_[1]->{wwnn};
16360             # my ($class, $value, $index, $output) = @_;
16361 0           $_[0]->serialize_nonnull_string( $_[1]->{wwnn}, $_[2], $_[3] );
16362              
16363             # Serializing field: 'wwpn'
16364             croak "Missing required input value 'wwpn'"
16365 0 0         unless exists $_[1]->{wwpn};
16366             # my ($class, $value, $index, $output) = @_;
16367 0           $_[0]->serialize_nonnull_string( $_[1]->{wwpn}, $_[2], $_[3] );
16368              
16369             # Serializing field: 'flags'
16370             croak "Missing required input value 'flags'"
16371 0 0         unless exists $_[1]->{flags};
16372             # my ($class, $value, $index, $output) = @_;
16373             croak "Missing required input 'unsigned int' value"
16374 0 0         unless defined $_[1]->{flags};
16375             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16376 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16377             die "Non-integer 'int' value given: $_[1]->{flags}"
16378 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16379 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16380 0           $_[2] += 4;
16381             }
16382             # @_: ($class, $value, $index, $input) = @_;
16383             sub deserialize_node_device_lookup_scsi_host_by_wwn_ret {
16384 0     0 0   my $input_length = length $_[3];
16385 0           $_[1] = {};
16386             # Deserializing field: 'dev'
16387             # my ($class, $value, $index, $input) = @_;
16388 0           $_[0]->deserialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
16389             }
16390             # @_: ($class, $value, $index, $output) = @_;
16391             sub serialize_node_device_lookup_scsi_host_by_wwn_ret {
16392 0 0   0 0   croak "Missing required input 'struct' value"
16393             unless defined $_[1];
16394              
16395             # Serializing field: 'dev'
16396             croak "Missing required input value 'dev'"
16397 0 0         unless exists $_[1]->{dev};
16398             # my ($class, $value, $index, $output) = @_;
16399 0           $_[0]->serialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
16400             }
16401             # @_: ($class, $value, $index, $input) = @_;
16402             sub deserialize_node_device_get_xml_desc_args {
16403 0     0 0   my $input_length = length $_[3];
16404 0           $_[1] = {};
16405             # Deserializing field: 'name'
16406             # my ($class, $value, $index, $input) = @_;
16407 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16408              
16409             # Deserializing field: 'flags'
16410             # my ($class, $value, $index, $input) = @_;
16411 0 0         die "Input buffer too short"
16412             if ($input_length - $_[2]) < 4;
16413 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16414 0           $_[2] += 4;
16415             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16416 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16417             }
16418             # @_: ($class, $value, $index, $output) = @_;
16419             sub serialize_node_device_get_xml_desc_args {
16420 0 0   0 0   croak "Missing required input 'struct' value"
16421             unless defined $_[1];
16422              
16423             # Serializing field: 'name'
16424             croak "Missing required input value 'name'"
16425 0 0         unless exists $_[1]->{name};
16426             # my ($class, $value, $index, $output) = @_;
16427 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16428              
16429             # Serializing field: 'flags'
16430             croak "Missing required input value 'flags'"
16431 0 0         unless exists $_[1]->{flags};
16432             # my ($class, $value, $index, $output) = @_;
16433             croak "Missing required input 'unsigned int' value"
16434 0 0         unless defined $_[1]->{flags};
16435             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16436 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16437             die "Non-integer 'int' value given: $_[1]->{flags}"
16438 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16439 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16440 0           $_[2] += 4;
16441             }
16442             # @_: ($class, $value, $index, $input) = @_;
16443             sub deserialize_node_device_get_xml_desc_ret {
16444 0     0 0   my $input_length = length $_[3];
16445 0           $_[1] = {};
16446             # Deserializing field: 'xml'
16447             # my ($class, $value, $index, $input) = @_;
16448 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
16449             }
16450             # @_: ($class, $value, $index, $output) = @_;
16451             sub serialize_node_device_get_xml_desc_ret {
16452 0 0   0 0   croak "Missing required input 'struct' value"
16453             unless defined $_[1];
16454              
16455             # Serializing field: 'xml'
16456             croak "Missing required input value 'xml'"
16457 0 0         unless exists $_[1]->{xml};
16458             # my ($class, $value, $index, $output) = @_;
16459 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
16460             }
16461             # @_: ($class, $value, $index, $input) = @_;
16462             sub deserialize_node_device_get_parent_args {
16463 0     0 0   my $input_length = length $_[3];
16464 0           $_[1] = {};
16465             # Deserializing field: 'name'
16466             # my ($class, $value, $index, $input) = @_;
16467 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16468             }
16469             # @_: ($class, $value, $index, $output) = @_;
16470             sub serialize_node_device_get_parent_args {
16471 0 0   0 0   croak "Missing required input 'struct' value"
16472             unless defined $_[1];
16473              
16474             # Serializing field: 'name'
16475             croak "Missing required input value 'name'"
16476 0 0         unless exists $_[1]->{name};
16477             # my ($class, $value, $index, $output) = @_;
16478 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16479             }
16480             # @_: ($class, $value, $index, $input) = @_;
16481             sub deserialize_node_device_get_parent_ret {
16482 0     0 0   my $input_length = length $_[3];
16483 0           $_[1] = {};
16484             # Deserializing field: 'parentName'
16485             # my ($class, $value, $index, $input) = @_;
16486 0           $_[0]->deserialize_string( $_[1]->{parentName}, $_[2], $_[3] );
16487             }
16488             # @_: ($class, $value, $index, $output) = @_;
16489             sub serialize_node_device_get_parent_ret {
16490 0 0   0 0   croak "Missing required input 'struct' value"
16491             unless defined $_[1];
16492              
16493             # Serializing field: 'parentName'
16494             croak "Missing required input value 'parentName'"
16495 0 0         unless exists $_[1]->{parentName};
16496             # my ($class, $value, $index, $output) = @_;
16497 0           $_[0]->serialize_string( $_[1]->{parentName}, $_[2], $_[3] );
16498             }
16499             # @_: ($class, $value, $index, $input) = @_;
16500             sub deserialize_node_device_num_of_caps_args {
16501 0     0 0   my $input_length = length $_[3];
16502 0           $_[1] = {};
16503             # Deserializing field: 'name'
16504             # my ($class, $value, $index, $input) = @_;
16505 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16506             }
16507             # @_: ($class, $value, $index, $output) = @_;
16508             sub serialize_node_device_num_of_caps_args {
16509 0 0   0 0   croak "Missing required input 'struct' value"
16510             unless defined $_[1];
16511              
16512             # Serializing field: 'name'
16513             croak "Missing required input value 'name'"
16514 0 0         unless exists $_[1]->{name};
16515             # my ($class, $value, $index, $output) = @_;
16516 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16517             }
16518             # @_: ($class, $value, $index, $input) = @_;
16519             sub deserialize_node_device_num_of_caps_ret {
16520 0     0 0   my $input_length = length $_[3];
16521 0           $_[1] = {};
16522             # Deserializing field: 'num'
16523             # my ($class, $value, $index, $input) = @_;
16524 0 0         die "Input buffer too short"
16525             if ($input_length - $_[2]) < 4;
16526 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
16527 0           $_[2] += 4;
16528             die "Out of bounds 'int': $_[1]->{num}"
16529 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
16530             }
16531             # @_: ($class, $value, $index, $output) = @_;
16532             sub serialize_node_device_num_of_caps_ret {
16533 0 0   0 0   croak "Missing required input 'struct' value"
16534             unless defined $_[1];
16535              
16536             # Serializing field: 'num'
16537             croak "Missing required input value 'num'"
16538 0 0         unless exists $_[1]->{num};
16539             # my ($class, $value, $index, $output) = @_;
16540             croak "Missing required input 'int' value"
16541 0 0         unless defined $_[1]->{num};
16542             die "Out of bounds 'int': $_[1]->{num}"
16543 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
16544             die "Non-integer 'int' value given: $_[1]->{num}"
16545 0 0         unless int($_[1]->{num}) == $_[1]->{num};
16546 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
16547 0           $_[2] += 4;
16548             }
16549             # @_: ($class, $value, $index, $input) = @_;
16550             sub deserialize_node_device_list_caps_args {
16551 0     0 0   my $input_length = length $_[3];
16552 0           $_[1] = {};
16553             # Deserializing field: 'name'
16554             # my ($class, $value, $index, $input) = @_;
16555 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16556              
16557             # Deserializing field: 'maxnames'
16558             # my ($class, $value, $index, $input) = @_;
16559 0 0         die "Input buffer too short"
16560             if ($input_length - $_[2]) < 4;
16561 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
16562 0           $_[2] += 4;
16563             die "Out of bounds 'int': $_[1]->{maxnames}"
16564 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
16565             }
16566             # @_: ($class, $value, $index, $output) = @_;
16567             sub serialize_node_device_list_caps_args {
16568 0 0   0 0   croak "Missing required input 'struct' value"
16569             unless defined $_[1];
16570              
16571             # Serializing field: 'name'
16572             croak "Missing required input value 'name'"
16573 0 0         unless exists $_[1]->{name};
16574             # my ($class, $value, $index, $output) = @_;
16575 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16576              
16577             # Serializing field: 'maxnames'
16578             croak "Missing required input value 'maxnames'"
16579 0 0         unless exists $_[1]->{maxnames};
16580             # my ($class, $value, $index, $output) = @_;
16581             croak "Missing required input 'int' value"
16582 0 0         unless defined $_[1]->{maxnames};
16583             die "Out of bounds 'int': $_[1]->{maxnames}"
16584 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
16585             die "Non-integer 'int' value given: $_[1]->{maxnames}"
16586 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
16587 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
16588 0           $_[2] += 4;
16589             }
16590             # @_: ($class, $value, $index, $input) = @_;
16591             sub deserialize_node_device_list_caps_ret {
16592 0     0 0   my $input_length = length $_[3];
16593 0           $_[1] = {};
16594             # Deserializing field: 'names'
16595             # my ($class, $value, $index, $input) = @_;
16596 0           do {
16597 0 0         die "Input buffer too short"
16598             if ($input_length - $_[2]) < 4;
16599 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
16600 0           $_[2] += 4;
16601              
16602 0 0         die "Array too long (max: 65536): $len"
16603             unless ($len <= 65536);
16604 0           $_[1]->{names} = [];
16605 0           for my $i1 ( 0 .. ($len - 1) ) {
16606             # my ($class, $value, $index, $input) = @_;
16607 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
16608             }
16609             };
16610             }
16611             # @_: ($class, $value, $index, $output) = @_;
16612             sub serialize_node_device_list_caps_ret {
16613 0 0   0 0   croak "Missing required input 'struct' value"
16614             unless defined $_[1];
16615              
16616             # Serializing field: 'names'
16617             croak "Missing required input value 'names'"
16618 0 0         unless exists $_[1]->{names};
16619             # my ($class, $value, $index, $output) = @_;
16620             croak "Missing required input 'array' value"
16621 0 0         unless defined $_[1]->{names};
16622 0           do {
16623 0           my $len = scalar @{ $_[1]->{names} };
  0            
16624 0 0         die "Array too long (max: 65536): $len"
16625             unless ($len <= 65536);
16626              
16627 0           substr( $_[3], $_[2] ) = pack("L>", $len);
16628 0           $_[2] += 4;
16629 0           for my $i1 ( 0 .. ($len - 1) ) {
16630             # my ($class, $value, $index, $output) = @_;
16631 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
16632             }
16633             };
16634             }
16635             # @_: ($class, $value, $index, $input) = @_;
16636             sub deserialize_node_device_dettach_args {
16637 0     0 0   my $input_length = length $_[3];
16638 0           $_[1] = {};
16639             # Deserializing field: 'name'
16640             # my ($class, $value, $index, $input) = @_;
16641 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16642             }
16643             # @_: ($class, $value, $index, $output) = @_;
16644             sub serialize_node_device_dettach_args {
16645 0 0   0 0   croak "Missing required input 'struct' value"
16646             unless defined $_[1];
16647              
16648             # Serializing field: 'name'
16649             croak "Missing required input value 'name'"
16650 0 0         unless exists $_[1]->{name};
16651             # my ($class, $value, $index, $output) = @_;
16652 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16653             }
16654             # @_: ($class, $value, $index, $input) = @_;
16655             sub deserialize_node_device_detach_flags_args {
16656 0     0 0   my $input_length = length $_[3];
16657 0           $_[1] = {};
16658             # Deserializing field: 'name'
16659             # my ($class, $value, $index, $input) = @_;
16660 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16661              
16662             # Deserializing field: 'driverName'
16663             # my ($class, $value, $index, $input) = @_;
16664 0           $_[0]->deserialize_string( $_[1]->{driverName}, $_[2], $_[3] );
16665              
16666             # Deserializing field: 'flags'
16667             # my ($class, $value, $index, $input) = @_;
16668 0 0         die "Input buffer too short"
16669             if ($input_length - $_[2]) < 4;
16670 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16671 0           $_[2] += 4;
16672             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16673 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16674             }
16675             # @_: ($class, $value, $index, $output) = @_;
16676             sub serialize_node_device_detach_flags_args {
16677 0 0   0 0   croak "Missing required input 'struct' value"
16678             unless defined $_[1];
16679              
16680             # Serializing field: 'name'
16681             croak "Missing required input value 'name'"
16682 0 0         unless exists $_[1]->{name};
16683             # my ($class, $value, $index, $output) = @_;
16684 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16685              
16686             # Serializing field: 'driverName'
16687             croak "Missing required input value 'driverName'"
16688 0 0         unless exists $_[1]->{driverName};
16689             # my ($class, $value, $index, $output) = @_;
16690 0           $_[0]->serialize_string( $_[1]->{driverName}, $_[2], $_[3] );
16691              
16692             # Serializing field: 'flags'
16693             croak "Missing required input value 'flags'"
16694 0 0         unless exists $_[1]->{flags};
16695             # my ($class, $value, $index, $output) = @_;
16696             croak "Missing required input 'unsigned int' value"
16697 0 0         unless defined $_[1]->{flags};
16698             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16699 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16700             die "Non-integer 'int' value given: $_[1]->{flags}"
16701 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16702 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16703 0           $_[2] += 4;
16704             }
16705             # @_: ($class, $value, $index, $input) = @_;
16706             sub deserialize_node_device_re_attach_args {
16707 0     0 0   my $input_length = length $_[3];
16708 0           $_[1] = {};
16709             # Deserializing field: 'name'
16710             # my ($class, $value, $index, $input) = @_;
16711 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16712             }
16713             # @_: ($class, $value, $index, $output) = @_;
16714             sub serialize_node_device_re_attach_args {
16715 0 0   0 0   croak "Missing required input 'struct' value"
16716             unless defined $_[1];
16717              
16718             # Serializing field: 'name'
16719             croak "Missing required input value 'name'"
16720 0 0         unless exists $_[1]->{name};
16721             # my ($class, $value, $index, $output) = @_;
16722 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16723             }
16724             # @_: ($class, $value, $index, $input) = @_;
16725             sub deserialize_node_device_reset_args {
16726 0     0 0   my $input_length = length $_[3];
16727 0           $_[1] = {};
16728             # Deserializing field: 'name'
16729             # my ($class, $value, $index, $input) = @_;
16730 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16731             }
16732             # @_: ($class, $value, $index, $output) = @_;
16733             sub serialize_node_device_reset_args {
16734 0 0   0 0   croak "Missing required input 'struct' value"
16735             unless defined $_[1];
16736              
16737             # Serializing field: 'name'
16738             croak "Missing required input value 'name'"
16739 0 0         unless exists $_[1]->{name};
16740             # my ($class, $value, $index, $output) = @_;
16741 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16742             }
16743             # @_: ($class, $value, $index, $input) = @_;
16744             sub deserialize_node_device_create_xml_args {
16745 0     0 0   my $input_length = length $_[3];
16746 0           $_[1] = {};
16747             # Deserializing field: 'xml_desc'
16748             # my ($class, $value, $index, $input) = @_;
16749 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
16750              
16751             # Deserializing field: 'flags'
16752             # my ($class, $value, $index, $input) = @_;
16753 0 0         die "Input buffer too short"
16754             if ($input_length - $_[2]) < 4;
16755 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16756 0           $_[2] += 4;
16757             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16758 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16759             }
16760             # @_: ($class, $value, $index, $output) = @_;
16761             sub serialize_node_device_create_xml_args {
16762 0 0   0 0   croak "Missing required input 'struct' value"
16763             unless defined $_[1];
16764              
16765             # Serializing field: 'xml_desc'
16766             croak "Missing required input value 'xml_desc'"
16767 0 0         unless exists $_[1]->{xml_desc};
16768             # my ($class, $value, $index, $output) = @_;
16769 0           $_[0]->serialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
16770              
16771             # Serializing field: 'flags'
16772             croak "Missing required input value 'flags'"
16773 0 0         unless exists $_[1]->{flags};
16774             # my ($class, $value, $index, $output) = @_;
16775             croak "Missing required input 'unsigned int' value"
16776 0 0         unless defined $_[1]->{flags};
16777             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16778 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16779             die "Non-integer 'int' value given: $_[1]->{flags}"
16780 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16781 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16782 0           $_[2] += 4;
16783             }
16784             # @_: ($class, $value, $index, $input) = @_;
16785             sub deserialize_node_device_create_xml_ret {
16786 0     0 0   my $input_length = length $_[3];
16787 0           $_[1] = {};
16788             # Deserializing field: 'dev'
16789             # my ($class, $value, $index, $input) = @_;
16790 0           $_[0]->deserialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
16791             }
16792             # @_: ($class, $value, $index, $output) = @_;
16793             sub serialize_node_device_create_xml_ret {
16794 0 0   0 0   croak "Missing required input 'struct' value"
16795             unless defined $_[1];
16796              
16797             # Serializing field: 'dev'
16798             croak "Missing required input value 'dev'"
16799 0 0         unless exists $_[1]->{dev};
16800             # my ($class, $value, $index, $output) = @_;
16801 0           $_[0]->serialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
16802             }
16803             # @_: ($class, $value, $index, $input) = @_;
16804             sub deserialize_node_device_destroy_args {
16805 0     0 0   my $input_length = length $_[3];
16806 0           $_[1] = {};
16807             # Deserializing field: 'name'
16808             # my ($class, $value, $index, $input) = @_;
16809 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16810             }
16811             # @_: ($class, $value, $index, $output) = @_;
16812             sub serialize_node_device_destroy_args {
16813 0 0   0 0   croak "Missing required input 'struct' value"
16814             unless defined $_[1];
16815              
16816             # Serializing field: 'name'
16817             croak "Missing required input value 'name'"
16818 0 0         unless exists $_[1]->{name};
16819             # my ($class, $value, $index, $output) = @_;
16820 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16821             }
16822             # @_: ($class, $value, $index, $input) = @_;
16823             sub deserialize_node_device_define_xml_args {
16824 0     0 0   my $input_length = length $_[3];
16825 0           $_[1] = {};
16826             # Deserializing field: 'xml_desc'
16827             # my ($class, $value, $index, $input) = @_;
16828 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
16829              
16830             # Deserializing field: 'flags'
16831             # my ($class, $value, $index, $input) = @_;
16832 0 0         die "Input buffer too short"
16833             if ($input_length - $_[2]) < 4;
16834 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16835 0           $_[2] += 4;
16836             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16837 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16838             }
16839             # @_: ($class, $value, $index, $output) = @_;
16840             sub serialize_node_device_define_xml_args {
16841 0 0   0 0   croak "Missing required input 'struct' value"
16842             unless defined $_[1];
16843              
16844             # Serializing field: 'xml_desc'
16845             croak "Missing required input value 'xml_desc'"
16846 0 0         unless exists $_[1]->{xml_desc};
16847             # my ($class, $value, $index, $output) = @_;
16848 0           $_[0]->serialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
16849              
16850             # Serializing field: 'flags'
16851             croak "Missing required input value 'flags'"
16852 0 0         unless exists $_[1]->{flags};
16853             # my ($class, $value, $index, $output) = @_;
16854             croak "Missing required input 'unsigned int' value"
16855 0 0         unless defined $_[1]->{flags};
16856             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16857 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16858             die "Non-integer 'int' value given: $_[1]->{flags}"
16859 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16860 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16861 0           $_[2] += 4;
16862             }
16863             # @_: ($class, $value, $index, $input) = @_;
16864             sub deserialize_node_device_define_xml_ret {
16865 0     0 0   my $input_length = length $_[3];
16866 0           $_[1] = {};
16867             # Deserializing field: 'dev'
16868             # my ($class, $value, $index, $input) = @_;
16869 0           $_[0]->deserialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
16870             }
16871             # @_: ($class, $value, $index, $output) = @_;
16872             sub serialize_node_device_define_xml_ret {
16873 0 0   0 0   croak "Missing required input 'struct' value"
16874             unless defined $_[1];
16875              
16876             # Serializing field: 'dev'
16877             croak "Missing required input value 'dev'"
16878 0 0         unless exists $_[1]->{dev};
16879             # my ($class, $value, $index, $output) = @_;
16880 0           $_[0]->serialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
16881             }
16882             # @_: ($class, $value, $index, $input) = @_;
16883             sub deserialize_node_device_undefine_args {
16884 0     0 0   my $input_length = length $_[3];
16885 0           $_[1] = {};
16886             # Deserializing field: 'name'
16887             # my ($class, $value, $index, $input) = @_;
16888 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16889              
16890             # Deserializing field: 'flags'
16891             # my ($class, $value, $index, $input) = @_;
16892 0 0         die "Input buffer too short"
16893             if ($input_length - $_[2]) < 4;
16894 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16895 0           $_[2] += 4;
16896             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16897 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16898             }
16899             # @_: ($class, $value, $index, $output) = @_;
16900             sub serialize_node_device_undefine_args {
16901 0 0   0 0   croak "Missing required input 'struct' value"
16902             unless defined $_[1];
16903              
16904             # Serializing field: 'name'
16905             croak "Missing required input value 'name'"
16906 0 0         unless exists $_[1]->{name};
16907             # my ($class, $value, $index, $output) = @_;
16908 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16909              
16910             # Serializing field: 'flags'
16911             croak "Missing required input value 'flags'"
16912 0 0         unless exists $_[1]->{flags};
16913             # my ($class, $value, $index, $output) = @_;
16914             croak "Missing required input 'unsigned int' value"
16915 0 0         unless defined $_[1]->{flags};
16916             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16917 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16918             die "Non-integer 'int' value given: $_[1]->{flags}"
16919 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16920 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16921 0           $_[2] += 4;
16922             }
16923             # @_: ($class, $value, $index, $input) = @_;
16924             sub deserialize_node_device_create_args {
16925 0     0 0   my $input_length = length $_[3];
16926 0           $_[1] = {};
16927             # Deserializing field: 'name'
16928             # my ($class, $value, $index, $input) = @_;
16929 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16930              
16931             # Deserializing field: 'flags'
16932             # my ($class, $value, $index, $input) = @_;
16933 0 0         die "Input buffer too short"
16934             if ($input_length - $_[2]) < 4;
16935 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16936 0           $_[2] += 4;
16937             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16938 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16939             }
16940             # @_: ($class, $value, $index, $output) = @_;
16941             sub serialize_node_device_create_args {
16942 0 0   0 0   croak "Missing required input 'struct' value"
16943             unless defined $_[1];
16944              
16945             # Serializing field: 'name'
16946             croak "Missing required input value 'name'"
16947 0 0         unless exists $_[1]->{name};
16948             # my ($class, $value, $index, $output) = @_;
16949 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16950              
16951             # Serializing field: 'flags'
16952             croak "Missing required input value 'flags'"
16953 0 0         unless exists $_[1]->{flags};
16954             # my ($class, $value, $index, $output) = @_;
16955             croak "Missing required input 'unsigned int' value"
16956 0 0         unless defined $_[1]->{flags};
16957             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16958 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16959             die "Non-integer 'int' value given: $_[1]->{flags}"
16960 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16961 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16962 0           $_[2] += 4;
16963             }
16964             # @_: ($class, $value, $index, $input) = @_;
16965             sub deserialize_node_device_get_autostart_args {
16966 0     0 0   my $input_length = length $_[3];
16967 0           $_[1] = {};
16968             # Deserializing field: 'name'
16969             # my ($class, $value, $index, $input) = @_;
16970 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16971             }
16972             # @_: ($class, $value, $index, $output) = @_;
16973             sub serialize_node_device_get_autostart_args {
16974 0 0   0 0   croak "Missing required input 'struct' value"
16975             unless defined $_[1];
16976              
16977             # Serializing field: 'name'
16978             croak "Missing required input value 'name'"
16979 0 0         unless exists $_[1]->{name};
16980             # my ($class, $value, $index, $output) = @_;
16981 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16982             }
16983             # @_: ($class, $value, $index, $input) = @_;
16984             sub deserialize_node_device_get_autostart_ret {
16985 0     0 0   my $input_length = length $_[3];
16986 0           $_[1] = {};
16987             # Deserializing field: 'autostart'
16988             # my ($class, $value, $index, $input) = @_;
16989 0 0         die "Input buffer too short"
16990             if ($input_length - $_[2]) < 4;
16991 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
16992 0           $_[2] += 4;
16993             die "Out of bounds 'int': $_[1]->{autostart}"
16994 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
16995             }
16996             # @_: ($class, $value, $index, $output) = @_;
16997             sub serialize_node_device_get_autostart_ret {
16998 0 0   0 0   croak "Missing required input 'struct' value"
16999             unless defined $_[1];
17000              
17001             # Serializing field: 'autostart'
17002             croak "Missing required input value 'autostart'"
17003 0 0         unless exists $_[1]->{autostart};
17004             # my ($class, $value, $index, $output) = @_;
17005             croak "Missing required input 'int' value"
17006 0 0         unless defined $_[1]->{autostart};
17007             die "Out of bounds 'int': $_[1]->{autostart}"
17008 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
17009             die "Non-integer 'int' value given: $_[1]->{autostart}"
17010 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
17011 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
17012 0           $_[2] += 4;
17013             }
17014             # @_: ($class, $value, $index, $input) = @_;
17015             sub deserialize_node_device_set_autostart_args {
17016 0     0 0   my $input_length = length $_[3];
17017 0           $_[1] = {};
17018             # Deserializing field: 'name'
17019             # my ($class, $value, $index, $input) = @_;
17020 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
17021              
17022             # Deserializing field: 'autostart'
17023             # my ($class, $value, $index, $input) = @_;
17024 0 0         die "Input buffer too short"
17025             if ($input_length - $_[2]) < 4;
17026 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
17027 0           $_[2] += 4;
17028             die "Out of bounds 'int': $_[1]->{autostart}"
17029 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
17030             }
17031             # @_: ($class, $value, $index, $output) = @_;
17032             sub serialize_node_device_set_autostart_args {
17033 0 0   0 0   croak "Missing required input 'struct' value"
17034             unless defined $_[1];
17035              
17036             # Serializing field: 'name'
17037             croak "Missing required input value 'name'"
17038 0 0         unless exists $_[1]->{name};
17039             # my ($class, $value, $index, $output) = @_;
17040 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
17041              
17042             # Serializing field: 'autostart'
17043             croak "Missing required input value 'autostart'"
17044 0 0         unless exists $_[1]->{autostart};
17045             # my ($class, $value, $index, $output) = @_;
17046             croak "Missing required input 'int' value"
17047 0 0         unless defined $_[1]->{autostart};
17048             die "Out of bounds 'int': $_[1]->{autostart}"
17049 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
17050             die "Non-integer 'int' value given: $_[1]->{autostart}"
17051 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
17052 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
17053 0           $_[2] += 4;
17054             }
17055             # @_: ($class, $value, $index, $input) = @_;
17056             sub deserialize_node_device_is_persistent_args {
17057 0     0 0   my $input_length = length $_[3];
17058 0           $_[1] = {};
17059             # Deserializing field: 'name'
17060             # my ($class, $value, $index, $input) = @_;
17061 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
17062             }
17063             # @_: ($class, $value, $index, $output) = @_;
17064             sub serialize_node_device_is_persistent_args {
17065 0 0   0 0   croak "Missing required input 'struct' value"
17066             unless defined $_[1];
17067              
17068             # Serializing field: 'name'
17069             croak "Missing required input value 'name'"
17070 0 0         unless exists $_[1]->{name};
17071             # my ($class, $value, $index, $output) = @_;
17072 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
17073             }
17074             # @_: ($class, $value, $index, $input) = @_;
17075             sub deserialize_node_device_is_persistent_ret {
17076 0     0 0   my $input_length = length $_[3];
17077 0           $_[1] = {};
17078             # Deserializing field: 'persistent'
17079             # my ($class, $value, $index, $input) = @_;
17080 0 0         die "Input buffer too short"
17081             if ($input_length - $_[2]) < 4;
17082 0           $_[1]->{persistent} = unpack("l>", substr( $_[3], $_[2] ));
17083 0           $_[2] += 4;
17084             die "Out of bounds 'int': $_[1]->{persistent}"
17085 0 0 0       unless (-2147483648 <= $_[1]->{persistent} and $_[1]->{persistent} < 2147483648);
17086             }
17087             # @_: ($class, $value, $index, $output) = @_;
17088             sub serialize_node_device_is_persistent_ret {
17089 0 0   0 0   croak "Missing required input 'struct' value"
17090             unless defined $_[1];
17091              
17092             # Serializing field: 'persistent'
17093             croak "Missing required input value 'persistent'"
17094 0 0         unless exists $_[1]->{persistent};
17095             # my ($class, $value, $index, $output) = @_;
17096             croak "Missing required input 'int' value"
17097 0 0         unless defined $_[1]->{persistent};
17098             die "Out of bounds 'int': $_[1]->{persistent}"
17099 0 0 0       unless (-2147483648 <= $_[1]->{persistent} and $_[1]->{persistent} < 2147483648);
17100             die "Non-integer 'int' value given: $_[1]->{persistent}"
17101 0 0         unless int($_[1]->{persistent}) == $_[1]->{persistent};
17102 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{persistent});
17103 0           $_[2] += 4;
17104             }
17105             # @_: ($class, $value, $index, $input) = @_;
17106             sub deserialize_node_device_is_active_args {
17107 0     0 0   my $input_length = length $_[3];
17108 0           $_[1] = {};
17109             # Deserializing field: 'name'
17110             # my ($class, $value, $index, $input) = @_;
17111 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
17112             }
17113             # @_: ($class, $value, $index, $output) = @_;
17114             sub serialize_node_device_is_active_args {
17115 0 0   0 0   croak "Missing required input 'struct' value"
17116             unless defined $_[1];
17117              
17118             # Serializing field: 'name'
17119             croak "Missing required input value 'name'"
17120 0 0         unless exists $_[1]->{name};
17121             # my ($class, $value, $index, $output) = @_;
17122 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
17123             }
17124             # @_: ($class, $value, $index, $input) = @_;
17125             sub deserialize_node_device_is_active_ret {
17126 0     0 0   my $input_length = length $_[3];
17127 0           $_[1] = {};
17128             # Deserializing field: 'active'
17129             # my ($class, $value, $index, $input) = @_;
17130 0 0         die "Input buffer too short"
17131             if ($input_length - $_[2]) < 4;
17132 0           $_[1]->{active} = unpack("l>", substr( $_[3], $_[2] ));
17133 0           $_[2] += 4;
17134             die "Out of bounds 'int': $_[1]->{active}"
17135 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
17136             }
17137             # @_: ($class, $value, $index, $output) = @_;
17138             sub serialize_node_device_is_active_ret {
17139 0 0   0 0   croak "Missing required input 'struct' value"
17140             unless defined $_[1];
17141              
17142             # Serializing field: 'active'
17143             croak "Missing required input value 'active'"
17144 0 0         unless exists $_[1]->{active};
17145             # my ($class, $value, $index, $output) = @_;
17146             croak "Missing required input 'int' value"
17147 0 0         unless defined $_[1]->{active};
17148             die "Out of bounds 'int': $_[1]->{active}"
17149 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
17150             die "Non-integer 'int' value given: $_[1]->{active}"
17151 0 0         unless int($_[1]->{active}) == $_[1]->{active};
17152 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{active});
17153 0           $_[2] += 4;
17154             }
17155             # @_: ($class, $value, $index, $input) = @_;
17156             sub deserialize_node_device_update_args {
17157 0     0 0   my $input_length = length $_[3];
17158 0           $_[1] = {};
17159             # Deserializing field: 'name'
17160             # my ($class, $value, $index, $input) = @_;
17161 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
17162              
17163             # Deserializing field: 'xml_desc'
17164             # my ($class, $value, $index, $input) = @_;
17165 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
17166              
17167             # Deserializing field: 'flags'
17168             # my ($class, $value, $index, $input) = @_;
17169 0 0         die "Input buffer too short"
17170             if ($input_length - $_[2]) < 4;
17171 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
17172 0           $_[2] += 4;
17173             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17174 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17175             }
17176             # @_: ($class, $value, $index, $output) = @_;
17177             sub serialize_node_device_update_args {
17178 0 0   0 0   croak "Missing required input 'struct' value"
17179             unless defined $_[1];
17180              
17181             # Serializing field: 'name'
17182             croak "Missing required input value 'name'"
17183 0 0         unless exists $_[1]->{name};
17184             # my ($class, $value, $index, $output) = @_;
17185 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
17186              
17187             # Serializing field: 'xml_desc'
17188             croak "Missing required input value 'xml_desc'"
17189 0 0         unless exists $_[1]->{xml_desc};
17190             # my ($class, $value, $index, $output) = @_;
17191 0           $_[0]->serialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
17192              
17193             # Serializing field: 'flags'
17194             croak "Missing required input value 'flags'"
17195 0 0         unless exists $_[1]->{flags};
17196             # my ($class, $value, $index, $output) = @_;
17197             croak "Missing required input 'unsigned int' value"
17198 0 0         unless defined $_[1]->{flags};
17199             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17200 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17201             die "Non-integer 'int' value given: $_[1]->{flags}"
17202 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
17203 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
17204 0           $_[2] += 4;
17205             }
17206             # @_: ($class, $value, $index, $input) = @_;
17207             sub deserialize_connect_domain_event_register_ret {
17208 0     0 0   my $input_length = length $_[3];
17209 0           $_[1] = {};
17210             # Deserializing field: 'cb_registered'
17211             # my ($class, $value, $index, $input) = @_;
17212 0 0         die "Input buffer too short"
17213             if ($input_length - $_[2]) < 4;
17214 0           $_[1]->{cb_registered} = unpack("l>", substr( $_[3], $_[2] ));
17215 0           $_[2] += 4;
17216             die "Out of bounds 'int': $_[1]->{cb_registered}"
17217 0 0 0       unless (-2147483648 <= $_[1]->{cb_registered} and $_[1]->{cb_registered} < 2147483648);
17218             }
17219             # @_: ($class, $value, $index, $output) = @_;
17220             sub serialize_connect_domain_event_register_ret {
17221 0 0   0 0   croak "Missing required input 'struct' value"
17222             unless defined $_[1];
17223              
17224             # Serializing field: 'cb_registered'
17225             croak "Missing required input value 'cb_registered'"
17226 0 0         unless exists $_[1]->{cb_registered};
17227             # my ($class, $value, $index, $output) = @_;
17228             croak "Missing required input 'int' value"
17229 0 0         unless defined $_[1]->{cb_registered};
17230             die "Out of bounds 'int': $_[1]->{cb_registered}"
17231 0 0 0       unless (-2147483648 <= $_[1]->{cb_registered} and $_[1]->{cb_registered} < 2147483648);
17232             die "Non-integer 'int' value given: $_[1]->{cb_registered}"
17233 0 0         unless int($_[1]->{cb_registered}) == $_[1]->{cb_registered};
17234 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cb_registered});
17235 0           $_[2] += 4;
17236             }
17237             # @_: ($class, $value, $index, $input) = @_;
17238             sub deserialize_connect_domain_event_deregister_ret {
17239 0     0 0   my $input_length = length $_[3];
17240 0           $_[1] = {};
17241             # Deserializing field: 'cb_registered'
17242             # my ($class, $value, $index, $input) = @_;
17243 0 0         die "Input buffer too short"
17244             if ($input_length - $_[2]) < 4;
17245 0           $_[1]->{cb_registered} = unpack("l>", substr( $_[3], $_[2] ));
17246 0           $_[2] += 4;
17247             die "Out of bounds 'int': $_[1]->{cb_registered}"
17248 0 0 0       unless (-2147483648 <= $_[1]->{cb_registered} and $_[1]->{cb_registered} < 2147483648);
17249             }
17250             # @_: ($class, $value, $index, $output) = @_;
17251             sub serialize_connect_domain_event_deregister_ret {
17252 0 0   0 0   croak "Missing required input 'struct' value"
17253             unless defined $_[1];
17254              
17255             # Serializing field: 'cb_registered'
17256             croak "Missing required input value 'cb_registered'"
17257 0 0         unless exists $_[1]->{cb_registered};
17258             # my ($class, $value, $index, $output) = @_;
17259             croak "Missing required input 'int' value"
17260 0 0         unless defined $_[1]->{cb_registered};
17261             die "Out of bounds 'int': $_[1]->{cb_registered}"
17262 0 0 0       unless (-2147483648 <= $_[1]->{cb_registered} and $_[1]->{cb_registered} < 2147483648);
17263             die "Non-integer 'int' value given: $_[1]->{cb_registered}"
17264 0 0         unless int($_[1]->{cb_registered}) == $_[1]->{cb_registered};
17265 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cb_registered});
17266 0           $_[2] += 4;
17267             }
17268             # @_: ($class, $value, $index, $input) = @_;
17269             sub deserialize_domain_event_lifecycle_msg {
17270 0     0 0   my $input_length = length $_[3];
17271 0           $_[1] = {};
17272             # Deserializing field: 'dom'
17273             # my ($class, $value, $index, $input) = @_;
17274 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
17275              
17276             # Deserializing field: 'event'
17277             # my ($class, $value, $index, $input) = @_;
17278 0 0         die "Input buffer too short"
17279             if ($input_length - $_[2]) < 4;
17280 0           $_[1]->{event} = unpack("l>", substr( $_[3], $_[2] ));
17281 0           $_[2] += 4;
17282             die "Out of bounds 'int': $_[1]->{event}"
17283 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
17284              
17285             # Deserializing field: 'detail'
17286             # my ($class, $value, $index, $input) = @_;
17287 0 0         die "Input buffer too short"
17288             if ($input_length - $_[2]) < 4;
17289 0           $_[1]->{detail} = unpack("l>", substr( $_[3], $_[2] ));
17290 0           $_[2] += 4;
17291             die "Out of bounds 'int': $_[1]->{detail}"
17292 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
17293             }
17294             # @_: ($class, $value, $index, $output) = @_;
17295             sub serialize_domain_event_lifecycle_msg {
17296 0 0   0 0   croak "Missing required input 'struct' value"
17297             unless defined $_[1];
17298              
17299             # Serializing field: 'dom'
17300             croak "Missing required input value 'dom'"
17301 0 0         unless exists $_[1]->{dom};
17302             # my ($class, $value, $index, $output) = @_;
17303 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
17304              
17305             # Serializing field: 'event'
17306             croak "Missing required input value 'event'"
17307 0 0         unless exists $_[1]->{event};
17308             # my ($class, $value, $index, $output) = @_;
17309             croak "Missing required input 'int' value"
17310 0 0         unless defined $_[1]->{event};
17311             die "Out of bounds 'int': $_[1]->{event}"
17312 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
17313             die "Non-integer 'int' value given: $_[1]->{event}"
17314 0 0         unless int($_[1]->{event}) == $_[1]->{event};
17315 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{event});
17316 0           $_[2] += 4;
17317              
17318             # Serializing field: 'detail'
17319             croak "Missing required input value 'detail'"
17320 0 0         unless exists $_[1]->{detail};
17321             # my ($class, $value, $index, $output) = @_;
17322             croak "Missing required input 'int' value"
17323 0 0         unless defined $_[1]->{detail};
17324             die "Out of bounds 'int': $_[1]->{detail}"
17325 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
17326             die "Non-integer 'int' value given: $_[1]->{detail}"
17327 0 0         unless int($_[1]->{detail}) == $_[1]->{detail};
17328 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{detail});
17329 0           $_[2] += 4;
17330             }
17331             # @_: ($class, $value, $index, $input) = @_;
17332             sub deserialize_domain_event_callback_lifecycle_msg {
17333 0     0 0   my $input_length = length $_[3];
17334 0           $_[1] = {};
17335             # Deserializing field: 'callbackID'
17336             # my ($class, $value, $index, $input) = @_;
17337 0 0         die "Input buffer too short"
17338             if ($input_length - $_[2]) < 4;
17339 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
17340 0           $_[2] += 4;
17341             die "Out of bounds 'int': $_[1]->{callbackID}"
17342 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
17343              
17344             # Deserializing field: 'msg'
17345             # my ($class, $value, $index, $input) = @_;
17346 0           $_[0]->deserialize_domain_event_lifecycle_msg( $_[1]->{msg}, $_[2], $_[3] );
17347             }
17348             # @_: ($class, $value, $index, $output) = @_;
17349             sub serialize_domain_event_callback_lifecycle_msg {
17350 0 0   0 0   croak "Missing required input 'struct' value"
17351             unless defined $_[1];
17352              
17353             # Serializing field: 'callbackID'
17354             croak "Missing required input value 'callbackID'"
17355 0 0         unless exists $_[1]->{callbackID};
17356             # my ($class, $value, $index, $output) = @_;
17357             croak "Missing required input 'int' value"
17358 0 0         unless defined $_[1]->{callbackID};
17359             die "Out of bounds 'int': $_[1]->{callbackID}"
17360 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
17361             die "Non-integer 'int' value given: $_[1]->{callbackID}"
17362 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
17363 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
17364 0           $_[2] += 4;
17365              
17366             # Serializing field: 'msg'
17367             croak "Missing required input value 'msg'"
17368 0 0         unless exists $_[1]->{msg};
17369             # my ($class, $value, $index, $output) = @_;
17370 0           $_[0]->serialize_domain_event_lifecycle_msg( $_[1]->{msg}, $_[2], $_[3] );
17371             }
17372             # @_: ($class, $value, $index, $input) = @_;
17373             sub deserialize_connect_domain_xml_from_native_args {
17374 0     0 0   my $input_length = length $_[3];
17375 0           $_[1] = {};
17376             # Deserializing field: 'nativeFormat'
17377             # my ($class, $value, $index, $input) = @_;
17378 0           $_[0]->deserialize_nonnull_string( $_[1]->{nativeFormat}, $_[2], $_[3] );
17379              
17380             # Deserializing field: 'nativeConfig'
17381             # my ($class, $value, $index, $input) = @_;
17382 0           $_[0]->deserialize_nonnull_string( $_[1]->{nativeConfig}, $_[2], $_[3] );
17383              
17384             # Deserializing field: 'flags'
17385             # my ($class, $value, $index, $input) = @_;
17386 0 0         die "Input buffer too short"
17387             if ($input_length - $_[2]) < 4;
17388 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
17389 0           $_[2] += 4;
17390             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17391 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17392             }
17393             # @_: ($class, $value, $index, $output) = @_;
17394             sub serialize_connect_domain_xml_from_native_args {
17395 0 0   0 0   croak "Missing required input 'struct' value"
17396             unless defined $_[1];
17397              
17398             # Serializing field: 'nativeFormat'
17399             croak "Missing required input value 'nativeFormat'"
17400 0 0         unless exists $_[1]->{nativeFormat};
17401             # my ($class, $value, $index, $output) = @_;
17402 0           $_[0]->serialize_nonnull_string( $_[1]->{nativeFormat}, $_[2], $_[3] );
17403              
17404             # Serializing field: 'nativeConfig'
17405             croak "Missing required input value 'nativeConfig'"
17406 0 0         unless exists $_[1]->{nativeConfig};
17407             # my ($class, $value, $index, $output) = @_;
17408 0           $_[0]->serialize_nonnull_string( $_[1]->{nativeConfig}, $_[2], $_[3] );
17409              
17410             # Serializing field: 'flags'
17411             croak "Missing required input value 'flags'"
17412 0 0         unless exists $_[1]->{flags};
17413             # my ($class, $value, $index, $output) = @_;
17414             croak "Missing required input 'unsigned int' value"
17415 0 0         unless defined $_[1]->{flags};
17416             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17417 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17418             die "Non-integer 'int' value given: $_[1]->{flags}"
17419 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
17420 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
17421 0           $_[2] += 4;
17422             }
17423             # @_: ($class, $value, $index, $input) = @_;
17424             sub deserialize_connect_domain_xml_from_native_ret {
17425 0     0 0   my $input_length = length $_[3];
17426 0           $_[1] = {};
17427             # Deserializing field: 'domainXml'
17428             # my ($class, $value, $index, $input) = @_;
17429 0           $_[0]->deserialize_nonnull_string( $_[1]->{domainXml}, $_[2], $_[3] );
17430             }
17431             # @_: ($class, $value, $index, $output) = @_;
17432             sub serialize_connect_domain_xml_from_native_ret {
17433 0 0   0 0   croak "Missing required input 'struct' value"
17434             unless defined $_[1];
17435              
17436             # Serializing field: 'domainXml'
17437             croak "Missing required input value 'domainXml'"
17438 0 0         unless exists $_[1]->{domainXml};
17439             # my ($class, $value, $index, $output) = @_;
17440 0           $_[0]->serialize_nonnull_string( $_[1]->{domainXml}, $_[2], $_[3] );
17441             }
17442             # @_: ($class, $value, $index, $input) = @_;
17443             sub deserialize_connect_domain_xml_to_native_args {
17444 0     0 0   my $input_length = length $_[3];
17445 0           $_[1] = {};
17446             # Deserializing field: 'nativeFormat'
17447             # my ($class, $value, $index, $input) = @_;
17448 0           $_[0]->deserialize_nonnull_string( $_[1]->{nativeFormat}, $_[2], $_[3] );
17449              
17450             # Deserializing field: 'domainXml'
17451             # my ($class, $value, $index, $input) = @_;
17452 0           $_[0]->deserialize_nonnull_string( $_[1]->{domainXml}, $_[2], $_[3] );
17453              
17454             # Deserializing field: 'flags'
17455             # my ($class, $value, $index, $input) = @_;
17456 0 0         die "Input buffer too short"
17457             if ($input_length - $_[2]) < 4;
17458 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
17459 0           $_[2] += 4;
17460             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17461 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17462             }
17463             # @_: ($class, $value, $index, $output) = @_;
17464             sub serialize_connect_domain_xml_to_native_args {
17465 0 0   0 0   croak "Missing required input 'struct' value"
17466             unless defined $_[1];
17467              
17468             # Serializing field: 'nativeFormat'
17469             croak "Missing required input value 'nativeFormat'"
17470 0 0         unless exists $_[1]->{nativeFormat};
17471             # my ($class, $value, $index, $output) = @_;
17472 0           $_[0]->serialize_nonnull_string( $_[1]->{nativeFormat}, $_[2], $_[3] );
17473              
17474             # Serializing field: 'domainXml'
17475             croak "Missing required input value 'domainXml'"
17476 0 0         unless exists $_[1]->{domainXml};
17477             # my ($class, $value, $index, $output) = @_;
17478 0           $_[0]->serialize_nonnull_string( $_[1]->{domainXml}, $_[2], $_[3] );
17479              
17480             # Serializing field: 'flags'
17481             croak "Missing required input value 'flags'"
17482 0 0         unless exists $_[1]->{flags};
17483             # my ($class, $value, $index, $output) = @_;
17484             croak "Missing required input 'unsigned int' value"
17485 0 0         unless defined $_[1]->{flags};
17486             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17487 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17488             die "Non-integer 'int' value given: $_[1]->{flags}"
17489 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
17490 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
17491 0           $_[2] += 4;
17492             }
17493             # @_: ($class, $value, $index, $input) = @_;
17494             sub deserialize_connect_domain_xml_to_native_ret {
17495 0     0 0   my $input_length = length $_[3];
17496 0           $_[1] = {};
17497             # Deserializing field: 'nativeConfig'
17498             # my ($class, $value, $index, $input) = @_;
17499 0           $_[0]->deserialize_nonnull_string( $_[1]->{nativeConfig}, $_[2], $_[3] );
17500             }
17501             # @_: ($class, $value, $index, $output) = @_;
17502             sub serialize_connect_domain_xml_to_native_ret {
17503 0 0   0 0   croak "Missing required input 'struct' value"
17504             unless defined $_[1];
17505              
17506             # Serializing field: 'nativeConfig'
17507             croak "Missing required input value 'nativeConfig'"
17508 0 0         unless exists $_[1]->{nativeConfig};
17509             # my ($class, $value, $index, $output) = @_;
17510 0           $_[0]->serialize_nonnull_string( $_[1]->{nativeConfig}, $_[2], $_[3] );
17511             }
17512             # @_: ($class, $value, $index, $input) = @_;
17513             sub deserialize_connect_num_of_secrets_ret {
17514 0     0 0   my $input_length = length $_[3];
17515 0           $_[1] = {};
17516             # Deserializing field: 'num'
17517             # my ($class, $value, $index, $input) = @_;
17518 0 0         die "Input buffer too short"
17519             if ($input_length - $_[2]) < 4;
17520 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
17521 0           $_[2] += 4;
17522             die "Out of bounds 'int': $_[1]->{num}"
17523 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
17524             }
17525             # @_: ($class, $value, $index, $output) = @_;
17526             sub serialize_connect_num_of_secrets_ret {
17527 0 0   0 0   croak "Missing required input 'struct' value"
17528             unless defined $_[1];
17529              
17530             # Serializing field: 'num'
17531             croak "Missing required input value 'num'"
17532 0 0         unless exists $_[1]->{num};
17533             # my ($class, $value, $index, $output) = @_;
17534             croak "Missing required input 'int' value"
17535 0 0         unless defined $_[1]->{num};
17536             die "Out of bounds 'int': $_[1]->{num}"
17537 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
17538             die "Non-integer 'int' value given: $_[1]->{num}"
17539 0 0         unless int($_[1]->{num}) == $_[1]->{num};
17540 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
17541 0           $_[2] += 4;
17542             }
17543             # @_: ($class, $value, $index, $input) = @_;
17544             sub deserialize_connect_list_secrets_args {
17545 0     0 0   my $input_length = length $_[3];
17546 0           $_[1] = {};
17547             # Deserializing field: 'maxuuids'
17548             # my ($class, $value, $index, $input) = @_;
17549 0 0         die "Input buffer too short"
17550             if ($input_length - $_[2]) < 4;
17551 0           $_[1]->{maxuuids} = unpack("l>", substr( $_[3], $_[2] ));
17552 0           $_[2] += 4;
17553             die "Out of bounds 'int': $_[1]->{maxuuids}"
17554 0 0 0       unless (-2147483648 <= $_[1]->{maxuuids} and $_[1]->{maxuuids} < 2147483648);
17555             }
17556             # @_: ($class, $value, $index, $output) = @_;
17557             sub serialize_connect_list_secrets_args {
17558 0 0   0 0   croak "Missing required input 'struct' value"
17559             unless defined $_[1];
17560              
17561             # Serializing field: 'maxuuids'
17562             croak "Missing required input value 'maxuuids'"
17563 0 0         unless exists $_[1]->{maxuuids};
17564             # my ($class, $value, $index, $output) = @_;
17565             croak "Missing required input 'int' value"
17566 0 0         unless defined $_[1]->{maxuuids};
17567             die "Out of bounds 'int': $_[1]->{maxuuids}"
17568 0 0 0       unless (-2147483648 <= $_[1]->{maxuuids} and $_[1]->{maxuuids} < 2147483648);
17569             die "Non-integer 'int' value given: $_[1]->{maxuuids}"
17570 0 0         unless int($_[1]->{maxuuids}) == $_[1]->{maxuuids};
17571 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxuuids});
17572 0           $_[2] += 4;
17573             }
17574             # @_: ($class, $value, $index, $input) = @_;
17575             sub deserialize_connect_list_secrets_ret {
17576 0     0 0   my $input_length = length $_[3];
17577 0           $_[1] = {};
17578             # Deserializing field: 'uuids'
17579             # my ($class, $value, $index, $input) = @_;
17580 0           do {
17581 0 0         die "Input buffer too short"
17582             if ($input_length - $_[2]) < 4;
17583 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
17584 0           $_[2] += 4;
17585              
17586 0 0         die "Array too long (max: 16384): $len"
17587             unless ($len <= 16384);
17588 0           $_[1]->{uuids} = [];
17589 0           for my $i1 ( 0 .. ($len - 1) ) {
17590             # my ($class, $value, $index, $input) = @_;
17591 0           $_[0]->deserialize_nonnull_string( $_[1]->{uuids}->[$i1], $_[2], $_[3] );
17592             }
17593             };
17594             }
17595             # @_: ($class, $value, $index, $output) = @_;
17596             sub serialize_connect_list_secrets_ret {
17597 0 0   0 0   croak "Missing required input 'struct' value"
17598             unless defined $_[1];
17599              
17600             # Serializing field: 'uuids'
17601             croak "Missing required input value 'uuids'"
17602 0 0         unless exists $_[1]->{uuids};
17603             # my ($class, $value, $index, $output) = @_;
17604             croak "Missing required input 'array' value"
17605 0 0         unless defined $_[1]->{uuids};
17606 0           do {
17607 0           my $len = scalar @{ $_[1]->{uuids} };
  0            
17608 0 0         die "Array too long (max: 16384): $len"
17609             unless ($len <= 16384);
17610              
17611 0           substr( $_[3], $_[2] ) = pack("L>", $len);
17612 0           $_[2] += 4;
17613 0           for my $i1 ( 0 .. ($len - 1) ) {
17614             # my ($class, $value, $index, $output) = @_;
17615 0           $_[0]->serialize_nonnull_string( $_[1]->{uuids}->[$i1], $_[2], $_[3] );
17616             }
17617             };
17618             }
17619             # @_: ($class, $value, $index, $input) = @_;
17620             sub deserialize_secret_lookup_by_uuid_args {
17621 0     0 0   my $input_length = length $_[3];
17622 0           $_[1] = {};
17623             # Deserializing field: 'uuid'
17624             # my ($class, $value, $index, $input) = @_;
17625 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
17626             }
17627             # @_: ($class, $value, $index, $output) = @_;
17628             sub serialize_secret_lookup_by_uuid_args {
17629 0 0   0 0   croak "Missing required input 'struct' value"
17630             unless defined $_[1];
17631              
17632             # Serializing field: 'uuid'
17633             croak "Missing required input value 'uuid'"
17634 0 0         unless exists $_[1]->{uuid};
17635             # my ($class, $value, $index, $output) = @_;
17636 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
17637             }
17638             # @_: ($class, $value, $index, $input) = @_;
17639             sub deserialize_secret_lookup_by_uuid_ret {
17640 0     0 0   my $input_length = length $_[3];
17641 0           $_[1] = {};
17642             # Deserializing field: 'secret'
17643             # my ($class, $value, $index, $input) = @_;
17644 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17645             }
17646             # @_: ($class, $value, $index, $output) = @_;
17647             sub serialize_secret_lookup_by_uuid_ret {
17648 0 0   0 0   croak "Missing required input 'struct' value"
17649             unless defined $_[1];
17650              
17651             # Serializing field: 'secret'
17652             croak "Missing required input value 'secret'"
17653 0 0         unless exists $_[1]->{secret};
17654             # my ($class, $value, $index, $output) = @_;
17655 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17656             }
17657             # @_: ($class, $value, $index, $input) = @_;
17658             sub deserialize_secret_define_xml_args {
17659 0     0 0   my $input_length = length $_[3];
17660 0           $_[1] = {};
17661             # Deserializing field: 'xml'
17662             # my ($class, $value, $index, $input) = @_;
17663 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
17664              
17665             # Deserializing field: 'flags'
17666             # my ($class, $value, $index, $input) = @_;
17667 0 0         die "Input buffer too short"
17668             if ($input_length - $_[2]) < 4;
17669 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
17670 0           $_[2] += 4;
17671             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17672 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17673             }
17674             # @_: ($class, $value, $index, $output) = @_;
17675             sub serialize_secret_define_xml_args {
17676 0 0   0 0   croak "Missing required input 'struct' value"
17677             unless defined $_[1];
17678              
17679             # Serializing field: 'xml'
17680             croak "Missing required input value 'xml'"
17681 0 0         unless exists $_[1]->{xml};
17682             # my ($class, $value, $index, $output) = @_;
17683 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
17684              
17685             # Serializing field: 'flags'
17686             croak "Missing required input value 'flags'"
17687 0 0         unless exists $_[1]->{flags};
17688             # my ($class, $value, $index, $output) = @_;
17689             croak "Missing required input 'unsigned int' value"
17690 0 0         unless defined $_[1]->{flags};
17691             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17692 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17693             die "Non-integer 'int' value given: $_[1]->{flags}"
17694 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
17695 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
17696 0           $_[2] += 4;
17697             }
17698             # @_: ($class, $value, $index, $input) = @_;
17699             sub deserialize_secret_define_xml_ret {
17700 0     0 0   my $input_length = length $_[3];
17701 0           $_[1] = {};
17702             # Deserializing field: 'secret'
17703             # my ($class, $value, $index, $input) = @_;
17704 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17705             }
17706             # @_: ($class, $value, $index, $output) = @_;
17707             sub serialize_secret_define_xml_ret {
17708 0 0   0 0   croak "Missing required input 'struct' value"
17709             unless defined $_[1];
17710              
17711             # Serializing field: 'secret'
17712             croak "Missing required input value 'secret'"
17713 0 0         unless exists $_[1]->{secret};
17714             # my ($class, $value, $index, $output) = @_;
17715 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17716             }
17717             # @_: ($class, $value, $index, $input) = @_;
17718             sub deserialize_secret_get_xml_desc_args {
17719 0     0 0   my $input_length = length $_[3];
17720 0           $_[1] = {};
17721             # Deserializing field: 'secret'
17722             # my ($class, $value, $index, $input) = @_;
17723 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17724              
17725             # Deserializing field: 'flags'
17726             # my ($class, $value, $index, $input) = @_;
17727 0 0         die "Input buffer too short"
17728             if ($input_length - $_[2]) < 4;
17729 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
17730 0           $_[2] += 4;
17731             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17732 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17733             }
17734             # @_: ($class, $value, $index, $output) = @_;
17735             sub serialize_secret_get_xml_desc_args {
17736 0 0   0 0   croak "Missing required input 'struct' value"
17737             unless defined $_[1];
17738              
17739             # Serializing field: 'secret'
17740             croak "Missing required input value 'secret'"
17741 0 0         unless exists $_[1]->{secret};
17742             # my ($class, $value, $index, $output) = @_;
17743 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17744              
17745             # Serializing field: 'flags'
17746             croak "Missing required input value 'flags'"
17747 0 0         unless exists $_[1]->{flags};
17748             # my ($class, $value, $index, $output) = @_;
17749             croak "Missing required input 'unsigned int' value"
17750 0 0         unless defined $_[1]->{flags};
17751             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17752 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17753             die "Non-integer 'int' value given: $_[1]->{flags}"
17754 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
17755 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
17756 0           $_[2] += 4;
17757             }
17758             # @_: ($class, $value, $index, $input) = @_;
17759             sub deserialize_secret_get_xml_desc_ret {
17760 0     0 0   my $input_length = length $_[3];
17761 0           $_[1] = {};
17762             # Deserializing field: 'xml'
17763             # my ($class, $value, $index, $input) = @_;
17764 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
17765             }
17766             # @_: ($class, $value, $index, $output) = @_;
17767             sub serialize_secret_get_xml_desc_ret {
17768 0 0   0 0   croak "Missing required input 'struct' value"
17769             unless defined $_[1];
17770              
17771             # Serializing field: 'xml'
17772             croak "Missing required input value 'xml'"
17773 0 0         unless exists $_[1]->{xml};
17774             # my ($class, $value, $index, $output) = @_;
17775 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
17776             }
17777             # @_: ($class, $value, $index, $input) = @_;
17778             sub deserialize_secret_set_value_args {
17779 0     0 0   my $input_length = length $_[3];
17780 0           $_[1] = {};
17781             # Deserializing field: 'secret'
17782             # my ($class, $value, $index, $input) = @_;
17783 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17784              
17785             # Deserializing field: 'value'
17786             # my ($class, $value, $index, $input) = @_;
17787 0           do {
17788 0 0         die "Input buffer too short"
17789             if ($input_length - $_[2]) < 4;
17790 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
17791 0           $_[2] += 4;
17792 0 0         die "Opaque data too long (max: 65536): $len"
17793             unless ($len <= 65536);
17794 0 0         die "Input buffer too short"
17795             if ($input_length - $_[2]) < $len;
17796 0           $_[1]->{value} = substr( $_[3], $_[2], $len );
17797 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
17798             };
17799              
17800             # Deserializing field: 'flags'
17801             # my ($class, $value, $index, $input) = @_;
17802 0 0         die "Input buffer too short"
17803             if ($input_length - $_[2]) < 4;
17804 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
17805 0           $_[2] += 4;
17806             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17807 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17808             }
17809             # @_: ($class, $value, $index, $output) = @_;
17810             sub serialize_secret_set_value_args {
17811 0 0   0 0   croak "Missing required input 'struct' value"
17812             unless defined $_[1];
17813              
17814             # Serializing field: 'secret'
17815             croak "Missing required input value 'secret'"
17816 0 0         unless exists $_[1]->{secret};
17817             # my ($class, $value, $index, $output) = @_;
17818 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17819              
17820             # Serializing field: 'value'
17821             croak "Missing required input value 'value'"
17822 0 0         unless exists $_[1]->{value};
17823             # my ($class, $value, $index, $output) = @_;
17824             croak "Missing required input 'opaque data' value"
17825 0 0         unless defined $_[1]->{value};
17826 0           do {
17827 0           my $len = length $_[1]->{value};
17828 0 0         die "Opaque data too long (max: 65536): $len"
17829             unless ($len <= 65536);
17830              
17831 0           substr( $_[3], $_[2] ) = pack("L>", $len);
17832 0           $_[2] += 4;
17833 0           substr( $_[3], $_[2] ) = $_[1]->{value};
17834 0           $_[2] += $len;
17835 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
17836 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
17837 0           $_[2] += $pad;
17838             }
17839             };
17840              
17841             # Serializing field: 'flags'
17842             croak "Missing required input value 'flags'"
17843 0 0         unless exists $_[1]->{flags};
17844             # my ($class, $value, $index, $output) = @_;
17845             croak "Missing required input 'unsigned int' value"
17846 0 0         unless defined $_[1]->{flags};
17847             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17848 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17849             die "Non-integer 'int' value given: $_[1]->{flags}"
17850 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
17851 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
17852 0           $_[2] += 4;
17853             }
17854             # @_: ($class, $value, $index, $input) = @_;
17855             sub deserialize_secret_get_value_args {
17856 0     0 0   my $input_length = length $_[3];
17857 0           $_[1] = {};
17858             # Deserializing field: 'secret'
17859             # my ($class, $value, $index, $input) = @_;
17860 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17861              
17862             # Deserializing field: 'flags'
17863             # my ($class, $value, $index, $input) = @_;
17864 0 0         die "Input buffer too short"
17865             if ($input_length - $_[2]) < 4;
17866 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
17867 0           $_[2] += 4;
17868             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17869 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17870             }
17871             # @_: ($class, $value, $index, $output) = @_;
17872             sub serialize_secret_get_value_args {
17873 0 0   0 0   croak "Missing required input 'struct' value"
17874             unless defined $_[1];
17875              
17876             # Serializing field: 'secret'
17877             croak "Missing required input value 'secret'"
17878 0 0         unless exists $_[1]->{secret};
17879             # my ($class, $value, $index, $output) = @_;
17880 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17881              
17882             # Serializing field: 'flags'
17883             croak "Missing required input value 'flags'"
17884 0 0         unless exists $_[1]->{flags};
17885             # my ($class, $value, $index, $output) = @_;
17886             croak "Missing required input 'unsigned int' value"
17887 0 0         unless defined $_[1]->{flags};
17888             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17889 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17890             die "Non-integer 'int' value given: $_[1]->{flags}"
17891 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
17892 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
17893 0           $_[2] += 4;
17894             }
17895             # @_: ($class, $value, $index, $input) = @_;
17896             sub deserialize_secret_get_value_ret {
17897 0     0 0   my $input_length = length $_[3];
17898 0           $_[1] = {};
17899             # Deserializing field: 'value'
17900             # my ($class, $value, $index, $input) = @_;
17901 0           do {
17902 0 0         die "Input buffer too short"
17903             if ($input_length - $_[2]) < 4;
17904 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
17905 0           $_[2] += 4;
17906 0 0         die "Opaque data too long (max: 65536): $len"
17907             unless ($len <= 65536);
17908 0 0         die "Input buffer too short"
17909             if ($input_length - $_[2]) < $len;
17910 0           $_[1]->{value} = substr( $_[3], $_[2], $len );
17911 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
17912             };
17913             }
17914             # @_: ($class, $value, $index, $output) = @_;
17915             sub serialize_secret_get_value_ret {
17916 0 0   0 0   croak "Missing required input 'struct' value"
17917             unless defined $_[1];
17918              
17919             # Serializing field: 'value'
17920             croak "Missing required input value 'value'"
17921 0 0         unless exists $_[1]->{value};
17922             # my ($class, $value, $index, $output) = @_;
17923             croak "Missing required input 'opaque data' value"
17924 0 0         unless defined $_[1]->{value};
17925 0           do {
17926 0           my $len = length $_[1]->{value};
17927 0 0         die "Opaque data too long (max: 65536): $len"
17928             unless ($len <= 65536);
17929              
17930 0           substr( $_[3], $_[2] ) = pack("L>", $len);
17931 0           $_[2] += 4;
17932 0           substr( $_[3], $_[2] ) = $_[1]->{value};
17933 0           $_[2] += $len;
17934 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
17935 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
17936 0           $_[2] += $pad;
17937             }
17938             };
17939             }
17940             # @_: ($class, $value, $index, $input) = @_;
17941             sub deserialize_secret_undefine_args {
17942 0     0 0   my $input_length = length $_[3];
17943 0           $_[1] = {};
17944             # Deserializing field: 'secret'
17945             # my ($class, $value, $index, $input) = @_;
17946 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17947             }
17948             # @_: ($class, $value, $index, $output) = @_;
17949             sub serialize_secret_undefine_args {
17950 0 0   0 0   croak "Missing required input 'struct' value"
17951             unless defined $_[1];
17952              
17953             # Serializing field: 'secret'
17954             croak "Missing required input value 'secret'"
17955 0 0         unless exists $_[1]->{secret};
17956             # my ($class, $value, $index, $output) = @_;
17957 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17958             }
17959             # @_: ($class, $value, $index, $input) = @_;
17960             sub deserialize_secret_lookup_by_usage_args {
17961 0     0 0   my $input_length = length $_[3];
17962 0           $_[1] = {};
17963             # Deserializing field: 'usageType'
17964             # my ($class, $value, $index, $input) = @_;
17965 0 0         die "Input buffer too short"
17966             if ($input_length - $_[2]) < 4;
17967 0           $_[1]->{usageType} = unpack("l>", substr( $_[3], $_[2] ));
17968 0           $_[2] += 4;
17969             die "Out of bounds 'int': $_[1]->{usageType}"
17970 0 0 0       unless (-2147483648 <= $_[1]->{usageType} and $_[1]->{usageType} < 2147483648);
17971              
17972             # Deserializing field: 'usageID'
17973             # my ($class, $value, $index, $input) = @_;
17974 0           $_[0]->deserialize_nonnull_string( $_[1]->{usageID}, $_[2], $_[3] );
17975             }
17976             # @_: ($class, $value, $index, $output) = @_;
17977             sub serialize_secret_lookup_by_usage_args {
17978 0 0   0 0   croak "Missing required input 'struct' value"
17979             unless defined $_[1];
17980              
17981             # Serializing field: 'usageType'
17982             croak "Missing required input value 'usageType'"
17983 0 0         unless exists $_[1]->{usageType};
17984             # my ($class, $value, $index, $output) = @_;
17985             croak "Missing required input 'int' value"
17986 0 0         unless defined $_[1]->{usageType};
17987             die "Out of bounds 'int': $_[1]->{usageType}"
17988 0 0 0       unless (-2147483648 <= $_[1]->{usageType} and $_[1]->{usageType} < 2147483648);
17989             die "Non-integer 'int' value given: $_[1]->{usageType}"
17990 0 0         unless int($_[1]->{usageType}) == $_[1]->{usageType};
17991 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{usageType});
17992 0           $_[2] += 4;
17993              
17994             # Serializing field: 'usageID'
17995             croak "Missing required input value 'usageID'"
17996 0 0         unless exists $_[1]->{usageID};
17997             # my ($class, $value, $index, $output) = @_;
17998 0           $_[0]->serialize_nonnull_string( $_[1]->{usageID}, $_[2], $_[3] );
17999             }
18000             # @_: ($class, $value, $index, $input) = @_;
18001             sub deserialize_secret_lookup_by_usage_ret {
18002 0     0 0   my $input_length = length $_[3];
18003 0           $_[1] = {};
18004             # Deserializing field: 'secret'
18005             # my ($class, $value, $index, $input) = @_;
18006 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
18007             }
18008             # @_: ($class, $value, $index, $output) = @_;
18009             sub serialize_secret_lookup_by_usage_ret {
18010 0 0   0 0   croak "Missing required input 'struct' value"
18011             unless defined $_[1];
18012              
18013             # Serializing field: 'secret'
18014             croak "Missing required input value 'secret'"
18015 0 0         unless exists $_[1]->{secret};
18016             # my ($class, $value, $index, $output) = @_;
18017 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
18018             }
18019             # @_: ($class, $value, $index, $input) = @_;
18020             sub deserialize_domain_migrate_prepare_tunnel_args {
18021 0     0 0   my $input_length = length $_[3];
18022 0           $_[1] = {};
18023             # Deserializing field: 'flags'
18024             # my ($class, $value, $index, $input) = @_;
18025 0 0         die "Input buffer too short"
18026             if ($input_length - $_[2]) < 8;
18027 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
18028 0           $_[2] += 8;
18029             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
18030             unless (0 <= $_[1]->{flags}
18031 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
18032              
18033             # Deserializing field: 'dname'
18034             # my ($class, $value, $index, $input) = @_;
18035 0           $_[0]->deserialize_string( $_[1]->{dname}, $_[2], $_[3] );
18036              
18037             # Deserializing field: 'bandwidth'
18038             # my ($class, $value, $index, $input) = @_;
18039 0 0         die "Input buffer too short"
18040             if ($input_length - $_[2]) < 8;
18041 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
18042 0           $_[2] += 8;
18043             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
18044             unless (0 <= $_[1]->{bandwidth}
18045 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
18046              
18047             # Deserializing field: 'dom_xml'
18048             # my ($class, $value, $index, $input) = @_;
18049 0           $_[0]->deserialize_nonnull_string( $_[1]->{dom_xml}, $_[2], $_[3] );
18050             }
18051             # @_: ($class, $value, $index, $output) = @_;
18052             sub serialize_domain_migrate_prepare_tunnel_args {
18053 0 0   0 0   croak "Missing required input 'struct' value"
18054             unless defined $_[1];
18055              
18056             # Serializing field: 'flags'
18057             croak "Missing required input value 'flags'"
18058 0 0         unless exists $_[1]->{flags};
18059             # my ($class, $value, $index, $output) = @_;
18060             croak "Missing required input 'unsigned long' value"
18061 0 0         unless defined $_[1]->{flags};
18062             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
18063             unless (0 <= $_[1]->{flags}
18064 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
18065             die "Non-integer 'long' value given: $_[1]->{flags}"
18066 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
18067 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
18068 0           $_[2] += 8;
18069              
18070             # Serializing field: 'dname'
18071             croak "Missing required input value 'dname'"
18072 0 0         unless exists $_[1]->{dname};
18073             # my ($class, $value, $index, $output) = @_;
18074 0           $_[0]->serialize_string( $_[1]->{dname}, $_[2], $_[3] );
18075              
18076             # Serializing field: 'bandwidth'
18077             croak "Missing required input value 'bandwidth'"
18078 0 0         unless exists $_[1]->{bandwidth};
18079             # my ($class, $value, $index, $output) = @_;
18080             croak "Missing required input 'unsigned long' value"
18081 0 0         unless defined $_[1]->{bandwidth};
18082             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
18083             unless (0 <= $_[1]->{bandwidth}
18084 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
18085             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
18086 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
18087 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
18088 0           $_[2] += 8;
18089              
18090             # Serializing field: 'dom_xml'
18091             croak "Missing required input value 'dom_xml'"
18092 0 0         unless exists $_[1]->{dom_xml};
18093             # my ($class, $value, $index, $output) = @_;
18094 0           $_[0]->serialize_nonnull_string( $_[1]->{dom_xml}, $_[2], $_[3] );
18095             }
18096             # @_: ($class, $value, $index, $input) = @_;
18097             sub deserialize_connect_is_secure_ret {
18098 0     0 0   my $input_length = length $_[3];
18099 0           $_[1] = {};
18100             # Deserializing field: 'secure'
18101             # my ($class, $value, $index, $input) = @_;
18102 0 0         die "Input buffer too short"
18103             if ($input_length - $_[2]) < 4;
18104 0           $_[1]->{secure} = unpack("l>", substr( $_[3], $_[2] ));
18105 0           $_[2] += 4;
18106             die "Out of bounds 'int': $_[1]->{secure}"
18107 0 0 0       unless (-2147483648 <= $_[1]->{secure} and $_[1]->{secure} < 2147483648);
18108             }
18109             # @_: ($class, $value, $index, $output) = @_;
18110             sub serialize_connect_is_secure_ret {
18111 0 0   0 0   croak "Missing required input 'struct' value"
18112             unless defined $_[1];
18113              
18114             # Serializing field: 'secure'
18115             croak "Missing required input value 'secure'"
18116 0 0         unless exists $_[1]->{secure};
18117             # my ($class, $value, $index, $output) = @_;
18118             croak "Missing required input 'int' value"
18119 0 0         unless defined $_[1]->{secure};
18120             die "Out of bounds 'int': $_[1]->{secure}"
18121 0 0 0       unless (-2147483648 <= $_[1]->{secure} and $_[1]->{secure} < 2147483648);
18122             die "Non-integer 'int' value given: $_[1]->{secure}"
18123 0 0         unless int($_[1]->{secure}) == $_[1]->{secure};
18124 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{secure});
18125 0           $_[2] += 4;
18126             }
18127             # @_: ($class, $value, $index, $input) = @_;
18128             sub deserialize_domain_is_active_args {
18129 0     0 0   my $input_length = length $_[3];
18130 0           $_[1] = {};
18131             # Deserializing field: 'dom'
18132             # my ($class, $value, $index, $input) = @_;
18133 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
18134             }
18135             # @_: ($class, $value, $index, $output) = @_;
18136             sub serialize_domain_is_active_args {
18137 0 0   0 0   croak "Missing required input 'struct' value"
18138             unless defined $_[1];
18139              
18140             # Serializing field: 'dom'
18141             croak "Missing required input value 'dom'"
18142 0 0         unless exists $_[1]->{dom};
18143             # my ($class, $value, $index, $output) = @_;
18144 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
18145             }
18146             # @_: ($class, $value, $index, $input) = @_;
18147             sub deserialize_domain_is_active_ret {
18148 0     0 0   my $input_length = length $_[3];
18149 0           $_[1] = {};
18150             # Deserializing field: 'active'
18151             # my ($class, $value, $index, $input) = @_;
18152 0 0         die "Input buffer too short"
18153             if ($input_length - $_[2]) < 4;
18154 0           $_[1]->{active} = unpack("l>", substr( $_[3], $_[2] ));
18155 0           $_[2] += 4;
18156             die "Out of bounds 'int': $_[1]->{active}"
18157 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
18158             }
18159             # @_: ($class, $value, $index, $output) = @_;
18160             sub serialize_domain_is_active_ret {
18161 0 0   0 0   croak "Missing required input 'struct' value"
18162             unless defined $_[1];
18163              
18164             # Serializing field: 'active'
18165             croak "Missing required input value 'active'"
18166 0 0         unless exists $_[1]->{active};
18167             # my ($class, $value, $index, $output) = @_;
18168             croak "Missing required input 'int' value"
18169 0 0         unless defined $_[1]->{active};
18170             die "Out of bounds 'int': $_[1]->{active}"
18171 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
18172             die "Non-integer 'int' value given: $_[1]->{active}"
18173 0 0         unless int($_[1]->{active}) == $_[1]->{active};
18174 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{active});
18175 0           $_[2] += 4;
18176             }
18177             # @_: ($class, $value, $index, $input) = @_;
18178             sub deserialize_domain_is_persistent_args {
18179 0     0 0   my $input_length = length $_[3];
18180 0           $_[1] = {};
18181             # Deserializing field: 'dom'
18182             # my ($class, $value, $index, $input) = @_;
18183 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
18184             }
18185             # @_: ($class, $value, $index, $output) = @_;
18186             sub serialize_domain_is_persistent_args {
18187 0 0   0 0   croak "Missing required input 'struct' value"
18188             unless defined $_[1];
18189              
18190             # Serializing field: 'dom'
18191             croak "Missing required input value 'dom'"
18192 0 0         unless exists $_[1]->{dom};
18193             # my ($class, $value, $index, $output) = @_;
18194 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
18195             }
18196             # @_: ($class, $value, $index, $input) = @_;
18197             sub deserialize_domain_is_persistent_ret {
18198 0     0 0   my $input_length = length $_[3];
18199 0           $_[1] = {};
18200             # Deserializing field: 'persistent'
18201             # my ($class, $value, $index, $input) = @_;
18202 0 0         die "Input buffer too short"
18203             if ($input_length - $_[2]) < 4;
18204 0           $_[1]->{persistent} = unpack("l>", substr( $_[3], $_[2] ));
18205 0           $_[2] += 4;
18206             die "Out of bounds 'int': $_[1]->{persistent}"
18207 0 0 0       unless (-2147483648 <= $_[1]->{persistent} and $_[1]->{persistent} < 2147483648);
18208             }
18209             # @_: ($class, $value, $index, $output) = @_;
18210             sub serialize_domain_is_persistent_ret {
18211 0 0   0 0   croak "Missing required input 'struct' value"
18212             unless defined $_[1];
18213              
18214             # Serializing field: 'persistent'
18215             croak "Missing required input value 'persistent'"
18216 0 0         unless exists $_[1]->{persistent};
18217             # my ($class, $value, $index, $output) = @_;
18218             croak "Missing required input 'int' value"
18219 0 0         unless defined $_[1]->{persistent};
18220             die "Out of bounds 'int': $_[1]->{persistent}"
18221 0 0 0       unless (-2147483648 <= $_[1]->{persistent} and $_[1]->{persistent} < 2147483648);
18222             die "Non-integer 'int' value given: $_[1]->{persistent}"
18223 0 0         unless int($_[1]->{persistent}) == $_[1]->{persistent};
18224 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{persistent});
18225 0           $_[2] += 4;
18226             }
18227             # @_: ($class, $value, $index, $input) = @_;
18228             sub deserialize_domain_is_updated_args {
18229 0     0 0   my $input_length = length $_[3];
18230 0           $_[1] = {};
18231             # Deserializing field: 'dom'
18232             # my ($class, $value, $index, $input) = @_;
18233 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
18234             }
18235             # @_: ($class, $value, $index, $output) = @_;
18236             sub serialize_domain_is_updated_args {
18237 0 0   0 0   croak "Missing required input 'struct' value"
18238             unless defined $_[1];
18239              
18240             # Serializing field: 'dom'
18241             croak "Missing required input value 'dom'"
18242 0 0         unless exists $_[1]->{dom};
18243             # my ($class, $value, $index, $output) = @_;
18244 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
18245             }
18246             # @_: ($class, $value, $index, $input) = @_;
18247             sub deserialize_domain_is_updated_ret {
18248 0     0 0   my $input_length = length $_[3];
18249 0           $_[1] = {};
18250             # Deserializing field: 'updated'
18251             # my ($class, $value, $index, $input) = @_;
18252 0 0         die "Input buffer too short"
18253             if ($input_length - $_[2]) < 4;
18254 0           $_[1]->{updated} = unpack("l>", substr( $_[3], $_[2] ));
18255 0           $_[2] += 4;
18256             die "Out of bounds 'int': $_[1]->{updated}"
18257 0 0 0       unless (-2147483648 <= $_[1]->{updated} and $_[1]->{updated} < 2147483648);
18258             }
18259             # @_: ($class, $value, $index, $output) = @_;
18260             sub serialize_domain_is_updated_ret {
18261 0 0   0 0   croak "Missing required input 'struct' value"
18262             unless defined $_[1];
18263              
18264             # Serializing field: 'updated'
18265             croak "Missing required input value 'updated'"
18266 0 0         unless exists $_[1]->{updated};
18267             # my ($class, $value, $index, $output) = @_;
18268             croak "Missing required input 'int' value"
18269 0 0         unless defined $_[1]->{updated};
18270             die "Out of bounds 'int': $_[1]->{updated}"
18271 0 0 0       unless (-2147483648 <= $_[1]->{updated} and $_[1]->{updated} < 2147483648);
18272             die "Non-integer 'int' value given: $_[1]->{updated}"
18273 0 0         unless int($_[1]->{updated}) == $_[1]->{updated};
18274 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{updated});
18275 0           $_[2] += 4;
18276             }
18277             # @_: ($class, $value, $index, $input) = @_;
18278             sub deserialize_network_is_active_args {
18279 0     0 0   my $input_length = length $_[3];
18280 0           $_[1] = {};
18281             # Deserializing field: 'net'
18282             # my ($class, $value, $index, $input) = @_;
18283 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
18284             }
18285             # @_: ($class, $value, $index, $output) = @_;
18286             sub serialize_network_is_active_args {
18287 0 0   0 0   croak "Missing required input 'struct' value"
18288             unless defined $_[1];
18289              
18290             # Serializing field: 'net'
18291             croak "Missing required input value 'net'"
18292 0 0         unless exists $_[1]->{net};
18293             # my ($class, $value, $index, $output) = @_;
18294 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
18295             }
18296             # @_: ($class, $value, $index, $input) = @_;
18297             sub deserialize_network_is_active_ret {
18298 0     0 0   my $input_length = length $_[3];
18299 0           $_[1] = {};
18300             # Deserializing field: 'active'
18301             # my ($class, $value, $index, $input) = @_;
18302 0 0         die "Input buffer too short"
18303             if ($input_length - $_[2]) < 4;
18304 0           $_[1]->{active} = unpack("l>", substr( $_[3], $_[2] ));
18305 0           $_[2] += 4;
18306             die "Out of bounds 'int': $_[1]->{active}"
18307 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
18308             }
18309             # @_: ($class, $value, $index, $output) = @_;
18310             sub serialize_network_is_active_ret {
18311 0 0   0 0   croak "Missing required input 'struct' value"
18312             unless defined $_[1];
18313              
18314             # Serializing field: 'active'
18315             croak "Missing required input value 'active'"
18316 0 0         unless exists $_[1]->{active};
18317             # my ($class, $value, $index, $output) = @_;
18318             croak "Missing required input 'int' value"
18319 0 0         unless defined $_[1]->{active};
18320             die "Out of bounds 'int': $_[1]->{active}"
18321 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
18322             die "Non-integer 'int' value given: $_[1]->{active}"
18323 0 0         unless int($_[1]->{active}) == $_[1]->{active};
18324 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{active});
18325 0           $_[2] += 4;
18326             }
18327             # @_: ($class, $value, $index, $input) = @_;
18328             sub deserialize_network_is_persistent_args {
18329 0     0 0   my $input_length = length $_[3];
18330 0           $_[1] = {};
18331             # Deserializing field: 'net'
18332             # my ($class, $value, $index, $input) = @_;
18333 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
18334             }
18335             # @_: ($class, $value, $index, $output) = @_;
18336             sub serialize_network_is_persistent_args {
18337 0 0   0 0   croak "Missing required input 'struct' value"
18338             unless defined $_[1];
18339              
18340             # Serializing field: 'net'
18341             croak "Missing required input value 'net'"
18342 0 0         unless exists $_[1]->{net};
18343             # my ($class, $value, $index, $output) = @_;
18344 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
18345             }
18346             # @_: ($class, $value, $index, $input) = @_;
18347             sub deserialize_network_is_persistent_ret {
18348 0     0 0   my $input_length = length $_[3];
18349 0           $_[1] = {};
18350             # Deserializing field: 'persistent'
18351             # my ($class, $value, $index, $input) = @_;
18352 0 0         die "Input buffer too short"
18353             if ($input_length - $_[2]) < 4;
18354 0           $_[1]->{persistent} = unpack("l>", substr( $_[3], $_[2] ));
18355 0           $_[2] += 4;
18356             die "Out of bounds 'int': $_[1]->{persistent}"
18357 0 0 0       unless (-2147483648 <= $_[1]->{persistent} and $_[1]->{persistent} < 2147483648);
18358             }
18359             # @_: ($class, $value, $index, $output) = @_;
18360             sub serialize_network_is_persistent_ret {
18361 0 0   0 0   croak "Missing required input 'struct' value"
18362             unless defined $_[1];
18363              
18364             # Serializing field: 'persistent'
18365             croak "Missing required input value 'persistent'"
18366 0 0         unless exists $_[1]->{persistent};
18367             # my ($class, $value, $index, $output) = @_;
18368             croak "Missing required input 'int' value"
18369 0 0         unless defined $_[1]->{persistent};
18370             die "Out of bounds 'int': $_[1]->{persistent}"
18371 0 0 0       unless (-2147483648 <= $_[1]->{persistent} and $_[1]->{persistent} < 2147483648);
18372             die "Non-integer 'int' value given: $_[1]->{persistent}"
18373 0 0         unless int($_[1]->{persistent}) == $_[1]->{persistent};
18374 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{persistent});
18375 0           $_[2] += 4;
18376             }
18377             # @_: ($class, $value, $index, $input) = @_;
18378             sub deserialize_storage_pool_is_active_args {
18379 0     0 0   my $input_length = length $_[3];
18380 0           $_[1] = {};
18381             # Deserializing field: 'pool'
18382             # my ($class, $value, $index, $input) = @_;
18383 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
18384             }
18385             # @_: ($class, $value, $index, $output) = @_;
18386             sub serialize_storage_pool_is_active_args {
18387 0 0   0 0   croak "Missing required input 'struct' value"
18388             unless defined $_[1];
18389              
18390             # Serializing field: 'pool'
18391             croak "Missing required input value 'pool'"
18392 0 0         unless exists $_[1]->{pool};
18393             # my ($class, $value, $index, $output) = @_;
18394 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
18395             }
18396             # @_: ($class, $value, $index, $input) = @_;
18397             sub deserialize_storage_pool_is_active_ret {
18398 0     0 0   my $input_length = length $_[3];
18399 0           $_[1] = {};
18400             # Deserializing field: 'active'
18401             # my ($class, $value, $index, $input) = @_;
18402 0 0         die "Input buffer too short"
18403             if ($input_length - $_[2]) < 4;
18404 0           $_[1]->{active} = unpack("l>", substr( $_[3], $_[2] ));
18405 0           $_[2] += 4;
18406             die "Out of bounds 'int': $_[1]->{active}"
18407 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
18408             }
18409             # @_: ($class, $value, $index, $output) = @_;
18410             sub serialize_storage_pool_is_active_ret {
18411 0 0   0 0   croak "Missing required input 'struct' value"
18412             unless defined $_[1];
18413              
18414             # Serializing field: 'active'
18415             croak "Missing required input value 'active'"
18416 0 0         unless exists $_[1]->{active};
18417             # my ($class, $value, $index, $output) = @_;
18418             croak "Missing required input 'int' value"
18419 0 0         unless defined $_[1]->{active};
18420             die "Out of bounds 'int': $_[1]->{active}"
18421 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
18422             die "Non-integer 'int' value given: $_[1]->{active}"
18423 0 0         unless int($_[1]->{active}) == $_[1]->{active};
18424 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{active});
18425 0           $_[2] += 4;
18426             }
18427             # @_: ($class, $value, $index, $input) = @_;
18428             sub deserialize_storage_pool_is_persistent_args {
18429 0     0 0   my $input_length = length $_[3];
18430 0           $_[1] = {};
18431             # Deserializing field: 'pool'
18432             # my ($class, $value, $index, $input) = @_;
18433 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
18434             }
18435             # @_: ($class, $value, $index, $output) = @_;
18436             sub serialize_storage_pool_is_persistent_args {
18437 0 0   0 0   croak "Missing required input 'struct' value"
18438             unless defined $_[1];
18439              
18440             # Serializing field: 'pool'
18441             croak "Missing required input value 'pool'"
18442 0 0         unless exists $_[1]->{pool};
18443             # my ($class, $value, $index, $output) = @_;
18444 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
18445             }
18446             # @_: ($class, $value, $index, $input) = @_;
18447             sub deserialize_storage_pool_is_persistent_ret {
18448 0     0 0   my $input_length = length $_[3];
18449 0           $_[1] = {};
18450             # Deserializing field: 'persistent'
18451             # my ($class, $value, $index, $input) = @_;
18452 0 0         die "Input buffer too short"
18453             if ($input_length - $_[2]) < 4;
18454 0           $_[1]->{persistent} = unpack("l>", substr( $_[3], $_[2] ));
18455 0           $_[2] += 4;
18456             die "Out of bounds 'int': $_[1]->{persistent}"
18457 0 0 0       unless (-2147483648 <= $_[1]->{persistent} and $_[1]->{persistent} < 2147483648);
18458             }
18459             # @_: ($class, $value, $index, $output) = @_;
18460             sub serialize_storage_pool_is_persistent_ret {
18461 0 0   0 0   croak "Missing required input 'struct' value"
18462             unless defined $_[1];
18463              
18464             # Serializing field: 'persistent'
18465             croak "Missing required input value 'persistent'"
18466 0 0         unless exists $_[1]->{persistent};
18467             # my ($class, $value, $index, $output) = @_;
18468             croak "Missing required input 'int' value"
18469 0 0         unless defined $_[1]->{persistent};
18470             die "Out of bounds 'int': $_[1]->{persistent}"
18471 0 0 0       unless (-2147483648 <= $_[1]->{persistent} and $_[1]->{persistent} < 2147483648);
18472             die "Non-integer 'int' value given: $_[1]->{persistent}"
18473 0 0         unless int($_[1]->{persistent}) == $_[1]->{persistent};
18474 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{persistent});
18475 0           $_[2] += 4;
18476             }
18477             # @_: ($class, $value, $index, $input) = @_;
18478             sub deserialize_interface_is_active_args {
18479 0     0 0   my $input_length = length $_[3];
18480 0           $_[1] = {};
18481             # Deserializing field: 'iface'
18482             # my ($class, $value, $index, $input) = @_;
18483 0           $_[0]->deserialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
18484             }
18485             # @_: ($class, $value, $index, $output) = @_;
18486             sub serialize_interface_is_active_args {
18487 0 0   0 0   croak "Missing required input 'struct' value"
18488             unless defined $_[1];
18489              
18490             # Serializing field: 'iface'
18491             croak "Missing required input value 'iface'"
18492 0 0         unless exists $_[1]->{iface};
18493             # my ($class, $value, $index, $output) = @_;
18494 0           $_[0]->serialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
18495             }
18496             # @_: ($class, $value, $index, $input) = @_;
18497             sub deserialize_interface_is_active_ret {
18498 0     0 0   my $input_length = length $_[3];
18499 0           $_[1] = {};
18500             # Deserializing field: 'active'
18501             # my ($class, $value, $index, $input) = @_;
18502 0 0         die "Input buffer too short"
18503             if ($input_length - $_[2]) < 4;
18504 0           $_[1]->{active} = unpack("l>", substr( $_[3], $_[2] ));
18505 0           $_[2] += 4;
18506             die "Out of bounds 'int': $_[1]->{active}"
18507 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
18508             }
18509             # @_: ($class, $value, $index, $output) = @_;
18510             sub serialize_interface_is_active_ret {
18511 0 0   0 0   croak "Missing required input 'struct' value"
18512             unless defined $_[1];
18513              
18514             # Serializing field: 'active'
18515             croak "Missing required input value 'active'"
18516 0 0         unless exists $_[1]->{active};
18517             # my ($class, $value, $index, $output) = @_;
18518             croak "Missing required input 'int' value"
18519 0 0         unless defined $_[1]->{active};
18520             die "Out of bounds 'int': $_[1]->{active}"
18521 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
18522             die "Non-integer 'int' value given: $_[1]->{active}"
18523 0 0         unless int($_[1]->{active}) == $_[1]->{active};
18524 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{active});
18525 0           $_[2] += 4;
18526             }
18527             # @_: ($class, $value, $index, $input) = @_;
18528             sub deserialize_connect_compare_cpu_args {
18529 0     0 0   my $input_length = length $_[3];
18530 0           $_[1] = {};
18531             # Deserializing field: 'xml'
18532             # my ($class, $value, $index, $input) = @_;
18533 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
18534              
18535             # Deserializing field: 'flags'
18536             # my ($class, $value, $index, $input) = @_;
18537 0 0         die "Input buffer too short"
18538             if ($input_length - $_[2]) < 4;
18539 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
18540 0           $_[2] += 4;
18541             die "Out of bounds 'unsigned int': $_[1]->{flags}"
18542 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
18543             }
18544             # @_: ($class, $value, $index, $output) = @_;
18545             sub serialize_connect_compare_cpu_args {
18546 0 0   0 0   croak "Missing required input 'struct' value"
18547             unless defined $_[1];
18548              
18549             # Serializing field: 'xml'
18550             croak "Missing required input value 'xml'"
18551 0 0         unless exists $_[1]->{xml};
18552             # my ($class, $value, $index, $output) = @_;
18553 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
18554              
18555             # Serializing field: 'flags'
18556             croak "Missing required input value 'flags'"
18557 0 0         unless exists $_[1]->{flags};
18558             # my ($class, $value, $index, $output) = @_;
18559             croak "Missing required input 'unsigned int' value"
18560 0 0         unless defined $_[1]->{flags};
18561             die "Out of bounds 'unsigned int': $_[1]->{flags}"
18562 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
18563             die "Non-integer 'int' value given: $_[1]->{flags}"
18564 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
18565 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
18566 0           $_[2] += 4;
18567             }
18568             # @_: ($class, $value, $index, $input) = @_;
18569             sub deserialize_connect_compare_cpu_ret {
18570 0     0 0   my $input_length = length $_[3];
18571 0           $_[1] = {};
18572             # Deserializing field: 'result'
18573             # my ($class, $value, $index, $input) = @_;
18574 0 0         die "Input buffer too short"
18575             if ($input_length - $_[2]) < 4;
18576 0           $_[1]->{result} = unpack("l>", substr( $_[3], $_[2] ));
18577 0           $_[2] += 4;
18578             die "Out of bounds 'int': $_[1]->{result}"
18579 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
18580             }
18581             # @_: ($class, $value, $index, $output) = @_;
18582             sub serialize_connect_compare_cpu_ret {
18583 0 0   0 0   croak "Missing required input 'struct' value"
18584             unless defined $_[1];
18585              
18586             # Serializing field: 'result'
18587             croak "Missing required input value 'result'"
18588 0 0         unless exists $_[1]->{result};
18589             # my ($class, $value, $index, $output) = @_;
18590             croak "Missing required input 'int' value"
18591 0 0         unless defined $_[1]->{result};
18592             die "Out of bounds 'int': $_[1]->{result}"
18593 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
18594             die "Non-integer 'int' value given: $_[1]->{result}"
18595 0 0         unless int($_[1]->{result}) == $_[1]->{result};
18596 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{result});
18597 0           $_[2] += 4;
18598             }
18599             # @_: ($class, $value, $index, $input) = @_;
18600             sub deserialize_connect_baseline_cpu_args {
18601 0     0 0   my $input_length = length $_[3];
18602 0           $_[1] = {};
18603             # Deserializing field: 'xmlCPUs'
18604             # my ($class, $value, $index, $input) = @_;
18605 0           do {
18606 0 0         die "Input buffer too short"
18607             if ($input_length - $_[2]) < 4;
18608 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
18609 0           $_[2] += 4;
18610              
18611 0 0         die "Array too long (max: 256): $len"
18612             unless ($len <= 256);
18613 0           $_[1]->{xmlCPUs} = [];
18614 0           for my $i1 ( 0 .. ($len - 1) ) {
18615             # my ($class, $value, $index, $input) = @_;
18616 0           $_[0]->deserialize_nonnull_string( $_[1]->{xmlCPUs}->[$i1], $_[2], $_[3] );
18617             }
18618             };
18619              
18620             # Deserializing field: 'flags'
18621             # my ($class, $value, $index, $input) = @_;
18622 0 0         die "Input buffer too short"
18623             if ($input_length - $_[2]) < 4;
18624 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
18625 0           $_[2] += 4;
18626             die "Out of bounds 'unsigned int': $_[1]->{flags}"
18627 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
18628             }
18629             # @_: ($class, $value, $index, $output) = @_;
18630             sub serialize_connect_baseline_cpu_args {
18631 0 0   0 0   croak "Missing required input 'struct' value"
18632             unless defined $_[1];
18633              
18634             # Serializing field: 'xmlCPUs'
18635             croak "Missing required input value 'xmlCPUs'"
18636 0 0         unless exists $_[1]->{xmlCPUs};
18637             # my ($class, $value, $index, $output) = @_;
18638             croak "Missing required input 'array' value"
18639 0 0         unless defined $_[1]->{xmlCPUs};
18640 0           do {
18641 0           my $len = scalar @{ $_[1]->{xmlCPUs} };
  0            
18642 0 0         die "Array too long (max: 256): $len"
18643             unless ($len <= 256);
18644              
18645 0           substr( $_[3], $_[2] ) = pack("L>", $len);
18646 0           $_[2] += 4;
18647 0           for my $i1 ( 0 .. ($len - 1) ) {
18648             # my ($class, $value, $index, $output) = @_;
18649 0           $_[0]->serialize_nonnull_string( $_[1]->{xmlCPUs}->[$i1], $_[2], $_[3] );
18650             }
18651             };
18652              
18653             # Serializing field: 'flags'
18654             croak "Missing required input value 'flags'"
18655 0 0         unless exists $_[1]->{flags};
18656             # my ($class, $value, $index, $output) = @_;
18657             croak "Missing required input 'unsigned int' value"
18658 0 0         unless defined $_[1]->{flags};
18659             die "Out of bounds 'unsigned int': $_[1]->{flags}"
18660 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
18661             die "Non-integer 'int' value given: $_[1]->{flags}"
18662 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
18663 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
18664 0           $_[2] += 4;
18665             }
18666             # @_: ($class, $value, $index, $input) = @_;
18667             sub deserialize_connect_baseline_cpu_ret {
18668 0     0 0   my $input_length = length $_[3];
18669 0           $_[1] = {};
18670             # Deserializing field: 'cpu'
18671             # my ($class, $value, $index, $input) = @_;
18672 0           $_[0]->deserialize_nonnull_string( $_[1]->{cpu}, $_[2], $_[3] );
18673             }
18674             # @_: ($class, $value, $index, $output) = @_;
18675             sub serialize_connect_baseline_cpu_ret {
18676 0 0   0 0   croak "Missing required input 'struct' value"
18677             unless defined $_[1];
18678              
18679             # Serializing field: 'cpu'
18680             croak "Missing required input value 'cpu'"
18681 0 0         unless exists $_[1]->{cpu};
18682             # my ($class, $value, $index, $output) = @_;
18683 0           $_[0]->serialize_nonnull_string( $_[1]->{cpu}, $_[2], $_[3] );
18684             }
18685             # @_: ($class, $value, $index, $input) = @_;
18686             sub deserialize_domain_get_job_info_args {
18687 0     0 0   my $input_length = length $_[3];
18688 0           $_[1] = {};
18689             # Deserializing field: 'dom'
18690             # my ($class, $value, $index, $input) = @_;
18691 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
18692             }
18693             # @_: ($class, $value, $index, $output) = @_;
18694             sub serialize_domain_get_job_info_args {
18695 0 0   0 0   croak "Missing required input 'struct' value"
18696             unless defined $_[1];
18697              
18698             # Serializing field: 'dom'
18699             croak "Missing required input value 'dom'"
18700 0 0         unless exists $_[1]->{dom};
18701             # my ($class, $value, $index, $output) = @_;
18702 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
18703             }
18704             # @_: ($class, $value, $index, $input) = @_;
18705             sub deserialize_domain_get_job_info_ret {
18706 0     0 0   my $input_length = length $_[3];
18707 0           $_[1] = {};
18708             # Deserializing field: 'type'
18709             # my ($class, $value, $index, $input) = @_;
18710 0 0         die "Input buffer too short"
18711             if ($input_length - $_[2]) < 4;
18712 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
18713 0           $_[2] += 4;
18714             die "Out of bounds 'int': $_[1]->{type}"
18715 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
18716              
18717             # Deserializing field: 'timeElapsed'
18718             # my ($class, $value, $index, $input) = @_;
18719 0 0         die "Input buffer too short"
18720             if ($input_length - $_[2]) < 8;
18721 0           $_[1]->{timeElapsed} = unpack("Q>", substr( $_[3], $_[2] ));
18722 0           $_[2] += 8;
18723             die "Out of bounds 'unsigned hyper': $_[1]->{timeElapsed}"
18724             unless (0 <= $_[1]->{timeElapsed}
18725 0 0 0       and $_[1]->{timeElapsed} <= 18446744073709551615);
18726              
18727             # Deserializing field: 'timeRemaining'
18728             # my ($class, $value, $index, $input) = @_;
18729 0 0         die "Input buffer too short"
18730             if ($input_length - $_[2]) < 8;
18731 0           $_[1]->{timeRemaining} = unpack("Q>", substr( $_[3], $_[2] ));
18732 0           $_[2] += 8;
18733             die "Out of bounds 'unsigned hyper': $_[1]->{timeRemaining}"
18734             unless (0 <= $_[1]->{timeRemaining}
18735 0 0 0       and $_[1]->{timeRemaining} <= 18446744073709551615);
18736              
18737             # Deserializing field: 'dataTotal'
18738             # my ($class, $value, $index, $input) = @_;
18739 0 0         die "Input buffer too short"
18740             if ($input_length - $_[2]) < 8;
18741 0           $_[1]->{dataTotal} = unpack("Q>", substr( $_[3], $_[2] ));
18742 0           $_[2] += 8;
18743             die "Out of bounds 'unsigned hyper': $_[1]->{dataTotal}"
18744             unless (0 <= $_[1]->{dataTotal}
18745 0 0 0       and $_[1]->{dataTotal} <= 18446744073709551615);
18746              
18747             # Deserializing field: 'dataProcessed'
18748             # my ($class, $value, $index, $input) = @_;
18749 0 0         die "Input buffer too short"
18750             if ($input_length - $_[2]) < 8;
18751 0           $_[1]->{dataProcessed} = unpack("Q>", substr( $_[3], $_[2] ));
18752 0           $_[2] += 8;
18753             die "Out of bounds 'unsigned hyper': $_[1]->{dataProcessed}"
18754             unless (0 <= $_[1]->{dataProcessed}
18755 0 0 0       and $_[1]->{dataProcessed} <= 18446744073709551615);
18756              
18757             # Deserializing field: 'dataRemaining'
18758             # my ($class, $value, $index, $input) = @_;
18759 0 0         die "Input buffer too short"
18760             if ($input_length - $_[2]) < 8;
18761 0           $_[1]->{dataRemaining} = unpack("Q>", substr( $_[3], $_[2] ));
18762 0           $_[2] += 8;
18763             die "Out of bounds 'unsigned hyper': $_[1]->{dataRemaining}"
18764             unless (0 <= $_[1]->{dataRemaining}
18765 0 0 0       and $_[1]->{dataRemaining} <= 18446744073709551615);
18766              
18767             # Deserializing field: 'memTotal'
18768             # my ($class, $value, $index, $input) = @_;
18769 0 0         die "Input buffer too short"
18770             if ($input_length - $_[2]) < 8;
18771 0           $_[1]->{memTotal} = unpack("Q>", substr( $_[3], $_[2] ));
18772 0           $_[2] += 8;
18773             die "Out of bounds 'unsigned hyper': $_[1]->{memTotal}"
18774             unless (0 <= $_[1]->{memTotal}
18775 0 0 0       and $_[1]->{memTotal} <= 18446744073709551615);
18776              
18777             # Deserializing field: 'memProcessed'
18778             # my ($class, $value, $index, $input) = @_;
18779 0 0         die "Input buffer too short"
18780             if ($input_length - $_[2]) < 8;
18781 0           $_[1]->{memProcessed} = unpack("Q>", substr( $_[3], $_[2] ));
18782 0           $_[2] += 8;
18783             die "Out of bounds 'unsigned hyper': $_[1]->{memProcessed}"
18784             unless (0 <= $_[1]->{memProcessed}
18785 0 0 0       and $_[1]->{memProcessed} <= 18446744073709551615);
18786              
18787             # Deserializing field: 'memRemaining'
18788             # my ($class, $value, $index, $input) = @_;
18789 0 0         die "Input buffer too short"
18790             if ($input_length - $_[2]) < 8;
18791 0           $_[1]->{memRemaining} = unpack("Q>", substr( $_[3], $_[2] ));
18792 0           $_[2] += 8;
18793             die "Out of bounds 'unsigned hyper': $_[1]->{memRemaining}"
18794             unless (0 <= $_[1]->{memRemaining}
18795 0 0 0       and $_[1]->{memRemaining} <= 18446744073709551615);
18796              
18797             # Deserializing field: 'fileTotal'
18798             # my ($class, $value, $index, $input) = @_;
18799 0 0         die "Input buffer too short"
18800             if ($input_length - $_[2]) < 8;
18801 0           $_[1]->{fileTotal} = unpack("Q>", substr( $_[3], $_[2] ));
18802 0           $_[2] += 8;
18803             die "Out of bounds 'unsigned hyper': $_[1]->{fileTotal}"
18804             unless (0 <= $_[1]->{fileTotal}
18805 0 0 0       and $_[1]->{fileTotal} <= 18446744073709551615);
18806              
18807             # Deserializing field: 'fileProcessed'
18808             # my ($class, $value, $index, $input) = @_;
18809 0 0         die "Input buffer too short"
18810             if ($input_length - $_[2]) < 8;
18811 0           $_[1]->{fileProcessed} = unpack("Q>", substr( $_[3], $_[2] ));
18812 0           $_[2] += 8;
18813             die "Out of bounds 'unsigned hyper': $_[1]->{fileProcessed}"
18814             unless (0 <= $_[1]->{fileProcessed}
18815 0 0 0       and $_[1]->{fileProcessed} <= 18446744073709551615);
18816              
18817             # Deserializing field: 'fileRemaining'
18818             # my ($class, $value, $index, $input) = @_;
18819 0 0         die "Input buffer too short"
18820             if ($input_length - $_[2]) < 8;
18821 0           $_[1]->{fileRemaining} = unpack("Q>", substr( $_[3], $_[2] ));
18822 0           $_[2] += 8;
18823             die "Out of bounds 'unsigned hyper': $_[1]->{fileRemaining}"
18824             unless (0 <= $_[1]->{fileRemaining}
18825 0 0 0       and $_[1]->{fileRemaining} <= 18446744073709551615);
18826             }
18827             # @_: ($class, $value, $index, $output) = @_;
18828             sub serialize_domain_get_job_info_ret {
18829 0 0   0 0   croak "Missing required input 'struct' value"
18830             unless defined $_[1];
18831              
18832             # Serializing field: 'type'
18833             croak "Missing required input value 'type'"
18834 0 0         unless exists $_[1]->{type};
18835             # my ($class, $value, $index, $output) = @_;
18836             croak "Missing required input 'int' value"
18837 0 0         unless defined $_[1]->{type};
18838             die "Out of bounds 'int': $_[1]->{type}"
18839 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
18840             die "Non-integer 'int' value given: $_[1]->{type}"
18841 0 0         unless int($_[1]->{type}) == $_[1]->{type};
18842 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
18843 0           $_[2] += 4;
18844              
18845             # Serializing field: 'timeElapsed'
18846             croak "Missing required input value 'timeElapsed'"
18847 0 0         unless exists $_[1]->{timeElapsed};
18848             # my ($class, $value, $index, $output) = @_;
18849             croak "Missing required input 'unsigned long' value"
18850 0 0         unless defined $_[1]->{timeElapsed};
18851             die "Out of bounds 'unsigned hyper': $_[1]->{timeElapsed}"
18852             unless (0 <= $_[1]->{timeElapsed}
18853 0 0 0       and $_[1]->{timeElapsed} <= 18446744073709551615);
18854             die "Non-integer 'long' value given: $_[1]->{timeElapsed}"
18855 0 0         unless int($_[1]->{timeElapsed}) == $_[1]->{timeElapsed};
18856 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{timeElapsed});
18857 0           $_[2] += 8;
18858              
18859             # Serializing field: 'timeRemaining'
18860             croak "Missing required input value 'timeRemaining'"
18861 0 0         unless exists $_[1]->{timeRemaining};
18862             # my ($class, $value, $index, $output) = @_;
18863             croak "Missing required input 'unsigned long' value"
18864 0 0         unless defined $_[1]->{timeRemaining};
18865             die "Out of bounds 'unsigned hyper': $_[1]->{timeRemaining}"
18866             unless (0 <= $_[1]->{timeRemaining}
18867 0 0 0       and $_[1]->{timeRemaining} <= 18446744073709551615);
18868             die "Non-integer 'long' value given: $_[1]->{timeRemaining}"
18869 0 0         unless int($_[1]->{timeRemaining}) == $_[1]->{timeRemaining};
18870 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{timeRemaining});
18871 0           $_[2] += 8;
18872              
18873             # Serializing field: 'dataTotal'
18874             croak "Missing required input value 'dataTotal'"
18875 0 0         unless exists $_[1]->{dataTotal};
18876             # my ($class, $value, $index, $output) = @_;
18877             croak "Missing required input 'unsigned long' value"
18878 0 0         unless defined $_[1]->{dataTotal};
18879             die "Out of bounds 'unsigned hyper': $_[1]->{dataTotal}"
18880             unless (0 <= $_[1]->{dataTotal}
18881 0 0 0       and $_[1]->{dataTotal} <= 18446744073709551615);
18882             die "Non-integer 'long' value given: $_[1]->{dataTotal}"
18883 0 0         unless int($_[1]->{dataTotal}) == $_[1]->{dataTotal};
18884 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{dataTotal});
18885 0           $_[2] += 8;
18886              
18887             # Serializing field: 'dataProcessed'
18888             croak "Missing required input value 'dataProcessed'"
18889 0 0         unless exists $_[1]->{dataProcessed};
18890             # my ($class, $value, $index, $output) = @_;
18891             croak "Missing required input 'unsigned long' value"
18892 0 0         unless defined $_[1]->{dataProcessed};
18893             die "Out of bounds 'unsigned hyper': $_[1]->{dataProcessed}"
18894             unless (0 <= $_[1]->{dataProcessed}
18895 0 0 0       and $_[1]->{dataProcessed} <= 18446744073709551615);
18896             die "Non-integer 'long' value given: $_[1]->{dataProcessed}"
18897 0 0         unless int($_[1]->{dataProcessed}) == $_[1]->{dataProcessed};
18898 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{dataProcessed});
18899 0           $_[2] += 8;
18900              
18901             # Serializing field: 'dataRemaining'
18902             croak "Missing required input value 'dataRemaining'"
18903 0 0         unless exists $_[1]->{dataRemaining};
18904             # my ($class, $value, $index, $output) = @_;
18905             croak "Missing required input 'unsigned long' value"
18906 0 0         unless defined $_[1]->{dataRemaining};
18907             die "Out of bounds 'unsigned hyper': $_[1]->{dataRemaining}"
18908             unless (0 <= $_[1]->{dataRemaining}
18909 0 0 0       and $_[1]->{dataRemaining} <= 18446744073709551615);
18910             die "Non-integer 'long' value given: $_[1]->{dataRemaining}"
18911 0 0         unless int($_[1]->{dataRemaining}) == $_[1]->{dataRemaining};
18912 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{dataRemaining});
18913 0           $_[2] += 8;
18914              
18915             # Serializing field: 'memTotal'
18916             croak "Missing required input value 'memTotal'"
18917 0 0         unless exists $_[1]->{memTotal};
18918             # my ($class, $value, $index, $output) = @_;
18919             croak "Missing required input 'unsigned long' value"
18920 0 0         unless defined $_[1]->{memTotal};
18921             die "Out of bounds 'unsigned hyper': $_[1]->{memTotal}"
18922             unless (0 <= $_[1]->{memTotal}
18923 0 0 0       and $_[1]->{memTotal} <= 18446744073709551615);
18924             die "Non-integer 'long' value given: $_[1]->{memTotal}"
18925 0 0         unless int($_[1]->{memTotal}) == $_[1]->{memTotal};
18926 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memTotal});
18927 0           $_[2] += 8;
18928              
18929             # Serializing field: 'memProcessed'
18930             croak "Missing required input value 'memProcessed'"
18931 0 0         unless exists $_[1]->{memProcessed};
18932             # my ($class, $value, $index, $output) = @_;
18933             croak "Missing required input 'unsigned long' value"
18934 0 0         unless defined $_[1]->{memProcessed};
18935             die "Out of bounds 'unsigned hyper': $_[1]->{memProcessed}"
18936             unless (0 <= $_[1]->{memProcessed}
18937 0 0 0       and $_[1]->{memProcessed} <= 18446744073709551615);
18938             die "Non-integer 'long' value given: $_[1]->{memProcessed}"
18939 0 0         unless int($_[1]->{memProcessed}) == $_[1]->{memProcessed};
18940 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memProcessed});
18941 0           $_[2] += 8;
18942              
18943             # Serializing field: 'memRemaining'
18944             croak "Missing required input value 'memRemaining'"
18945 0 0         unless exists $_[1]->{memRemaining};
18946             # my ($class, $value, $index, $output) = @_;
18947             croak "Missing required input 'unsigned long' value"
18948 0 0         unless defined $_[1]->{memRemaining};
18949             die "Out of bounds 'unsigned hyper': $_[1]->{memRemaining}"
18950             unless (0 <= $_[1]->{memRemaining}
18951 0 0 0       and $_[1]->{memRemaining} <= 18446744073709551615);
18952             die "Non-integer 'long' value given: $_[1]->{memRemaining}"
18953 0 0         unless int($_[1]->{memRemaining}) == $_[1]->{memRemaining};
18954 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memRemaining});
18955 0           $_[2] += 8;
18956              
18957             # Serializing field: 'fileTotal'
18958             croak "Missing required input value 'fileTotal'"
18959 0 0         unless exists $_[1]->{fileTotal};
18960             # my ($class, $value, $index, $output) = @_;
18961             croak "Missing required input 'unsigned long' value"
18962 0 0         unless defined $_[1]->{fileTotal};
18963             die "Out of bounds 'unsigned hyper': $_[1]->{fileTotal}"
18964             unless (0 <= $_[1]->{fileTotal}
18965 0 0 0       and $_[1]->{fileTotal} <= 18446744073709551615);
18966             die "Non-integer 'long' value given: $_[1]->{fileTotal}"
18967 0 0         unless int($_[1]->{fileTotal}) == $_[1]->{fileTotal};
18968 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{fileTotal});
18969 0           $_[2] += 8;
18970              
18971             # Serializing field: 'fileProcessed'
18972             croak "Missing required input value 'fileProcessed'"
18973 0 0         unless exists $_[1]->{fileProcessed};
18974             # my ($class, $value, $index, $output) = @_;
18975             croak "Missing required input 'unsigned long' value"
18976 0 0         unless defined $_[1]->{fileProcessed};
18977             die "Out of bounds 'unsigned hyper': $_[1]->{fileProcessed}"
18978             unless (0 <= $_[1]->{fileProcessed}
18979 0 0 0       and $_[1]->{fileProcessed} <= 18446744073709551615);
18980             die "Non-integer 'long' value given: $_[1]->{fileProcessed}"
18981 0 0         unless int($_[1]->{fileProcessed}) == $_[1]->{fileProcessed};
18982 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{fileProcessed});
18983 0           $_[2] += 8;
18984              
18985             # Serializing field: 'fileRemaining'
18986             croak "Missing required input value 'fileRemaining'"
18987 0 0         unless exists $_[1]->{fileRemaining};
18988             # my ($class, $value, $index, $output) = @_;
18989             croak "Missing required input 'unsigned long' value"
18990 0 0         unless defined $_[1]->{fileRemaining};
18991             die "Out of bounds 'unsigned hyper': $_[1]->{fileRemaining}"
18992             unless (0 <= $_[1]->{fileRemaining}
18993 0 0 0       and $_[1]->{fileRemaining} <= 18446744073709551615);
18994             die "Non-integer 'long' value given: $_[1]->{fileRemaining}"
18995 0 0         unless int($_[1]->{fileRemaining}) == $_[1]->{fileRemaining};
18996 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{fileRemaining});
18997 0           $_[2] += 8;
18998             }
18999             # @_: ($class, $value, $index, $input) = @_;
19000             sub deserialize_domain_get_job_stats_args {
19001 0     0 0   my $input_length = length $_[3];
19002 0           $_[1] = {};
19003             # Deserializing field: 'dom'
19004             # my ($class, $value, $index, $input) = @_;
19005 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19006              
19007             # Deserializing field: 'flags'
19008             # my ($class, $value, $index, $input) = @_;
19009 0 0         die "Input buffer too short"
19010             if ($input_length - $_[2]) < 4;
19011 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
19012 0           $_[2] += 4;
19013             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19014 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19015             }
19016             # @_: ($class, $value, $index, $output) = @_;
19017             sub serialize_domain_get_job_stats_args {
19018 0 0   0 0   croak "Missing required input 'struct' value"
19019             unless defined $_[1];
19020              
19021             # Serializing field: 'dom'
19022             croak "Missing required input value 'dom'"
19023 0 0         unless exists $_[1]->{dom};
19024             # my ($class, $value, $index, $output) = @_;
19025 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19026              
19027             # Serializing field: 'flags'
19028             croak "Missing required input value 'flags'"
19029 0 0         unless exists $_[1]->{flags};
19030             # my ($class, $value, $index, $output) = @_;
19031             croak "Missing required input 'unsigned int' value"
19032 0 0         unless defined $_[1]->{flags};
19033             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19034 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19035             die "Non-integer 'int' value given: $_[1]->{flags}"
19036 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
19037 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
19038 0           $_[2] += 4;
19039             }
19040             # @_: ($class, $value, $index, $input) = @_;
19041             sub deserialize_domain_get_job_stats_ret {
19042 0     0 0   my $input_length = length $_[3];
19043 0           $_[1] = {};
19044             # Deserializing field: 'type'
19045             # my ($class, $value, $index, $input) = @_;
19046 0 0         die "Input buffer too short"
19047             if ($input_length - $_[2]) < 4;
19048 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
19049 0           $_[2] += 4;
19050             die "Out of bounds 'int': $_[1]->{type}"
19051 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
19052              
19053             # Deserializing field: 'params'
19054             # my ($class, $value, $index, $input) = @_;
19055 0           do {
19056 0 0         die "Input buffer too short"
19057             if ($input_length - $_[2]) < 4;
19058 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
19059 0           $_[2] += 4;
19060              
19061 0 0         die "Array too long (max: 64): $len"
19062             unless ($len <= 64);
19063 0           $_[1]->{params} = [];
19064 0           for my $i1 ( 0 .. ($len - 1) ) {
19065             # my ($class, $value, $index, $input) = @_;
19066 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
19067             }
19068             };
19069             }
19070             # @_: ($class, $value, $index, $output) = @_;
19071             sub serialize_domain_get_job_stats_ret {
19072 0 0   0 0   croak "Missing required input 'struct' value"
19073             unless defined $_[1];
19074              
19075             # Serializing field: 'type'
19076             croak "Missing required input value 'type'"
19077 0 0         unless exists $_[1]->{type};
19078             # my ($class, $value, $index, $output) = @_;
19079             croak "Missing required input 'int' value"
19080 0 0         unless defined $_[1]->{type};
19081             die "Out of bounds 'int': $_[1]->{type}"
19082 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
19083             die "Non-integer 'int' value given: $_[1]->{type}"
19084 0 0         unless int($_[1]->{type}) == $_[1]->{type};
19085 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
19086 0           $_[2] += 4;
19087              
19088             # Serializing field: 'params'
19089             croak "Missing required input value 'params'"
19090 0 0         unless exists $_[1]->{params};
19091             # my ($class, $value, $index, $output) = @_;
19092             croak "Missing required input 'array' value"
19093 0 0         unless defined $_[1]->{params};
19094 0           do {
19095 0           my $len = scalar @{ $_[1]->{params} };
  0            
19096 0 0         die "Array too long (max: 64): $len"
19097             unless ($len <= 64);
19098              
19099 0           substr( $_[3], $_[2] ) = pack("L>", $len);
19100 0           $_[2] += 4;
19101 0           for my $i1 ( 0 .. ($len - 1) ) {
19102             # my ($class, $value, $index, $output) = @_;
19103 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
19104             }
19105             };
19106             }
19107             # @_: ($class, $value, $index, $input) = @_;
19108             sub deserialize_domain_abort_job_args {
19109 0     0 0   my $input_length = length $_[3];
19110 0           $_[1] = {};
19111             # Deserializing field: 'dom'
19112             # my ($class, $value, $index, $input) = @_;
19113 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19114             }
19115             # @_: ($class, $value, $index, $output) = @_;
19116             sub serialize_domain_abort_job_args {
19117 0 0   0 0   croak "Missing required input 'struct' value"
19118             unless defined $_[1];
19119              
19120             # Serializing field: 'dom'
19121             croak "Missing required input value 'dom'"
19122 0 0         unless exists $_[1]->{dom};
19123             # my ($class, $value, $index, $output) = @_;
19124 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19125             }
19126             # @_: ($class, $value, $index, $input) = @_;
19127             sub deserialize_domain_abort_job_flags_args {
19128 0     0 0   my $input_length = length $_[3];
19129 0           $_[1] = {};
19130             # Deserializing field: 'dom'
19131             # my ($class, $value, $index, $input) = @_;
19132 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19133              
19134             # Deserializing field: 'flags'
19135             # my ($class, $value, $index, $input) = @_;
19136 0 0         die "Input buffer too short"
19137             if ($input_length - $_[2]) < 4;
19138 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
19139 0           $_[2] += 4;
19140             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19141 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19142             }
19143             # @_: ($class, $value, $index, $output) = @_;
19144             sub serialize_domain_abort_job_flags_args {
19145 0 0   0 0   croak "Missing required input 'struct' value"
19146             unless defined $_[1];
19147              
19148             # Serializing field: 'dom'
19149             croak "Missing required input value 'dom'"
19150 0 0         unless exists $_[1]->{dom};
19151             # my ($class, $value, $index, $output) = @_;
19152 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19153              
19154             # Serializing field: 'flags'
19155             croak "Missing required input value 'flags'"
19156 0 0         unless exists $_[1]->{flags};
19157             # my ($class, $value, $index, $output) = @_;
19158             croak "Missing required input 'unsigned int' value"
19159 0 0         unless defined $_[1]->{flags};
19160             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19161 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19162             die "Non-integer 'int' value given: $_[1]->{flags}"
19163 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
19164 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
19165 0           $_[2] += 4;
19166             }
19167             # @_: ($class, $value, $index, $input) = @_;
19168             sub deserialize_domain_migrate_get_max_downtime_args {
19169 0     0 0   my $input_length = length $_[3];
19170 0           $_[1] = {};
19171             # Deserializing field: 'dom'
19172             # my ($class, $value, $index, $input) = @_;
19173 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19174              
19175             # Deserializing field: 'flags'
19176             # my ($class, $value, $index, $input) = @_;
19177 0 0         die "Input buffer too short"
19178             if ($input_length - $_[2]) < 4;
19179 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
19180 0           $_[2] += 4;
19181             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19182 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19183             }
19184             # @_: ($class, $value, $index, $output) = @_;
19185             sub serialize_domain_migrate_get_max_downtime_args {
19186 0 0   0 0   croak "Missing required input 'struct' value"
19187             unless defined $_[1];
19188              
19189             # Serializing field: 'dom'
19190             croak "Missing required input value 'dom'"
19191 0 0         unless exists $_[1]->{dom};
19192             # my ($class, $value, $index, $output) = @_;
19193 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19194              
19195             # Serializing field: 'flags'
19196             croak "Missing required input value 'flags'"
19197 0 0         unless exists $_[1]->{flags};
19198             # my ($class, $value, $index, $output) = @_;
19199             croak "Missing required input 'unsigned int' value"
19200 0 0         unless defined $_[1]->{flags};
19201             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19202 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19203             die "Non-integer 'int' value given: $_[1]->{flags}"
19204 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
19205 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
19206 0           $_[2] += 4;
19207             }
19208             # @_: ($class, $value, $index, $input) = @_;
19209             sub deserialize_domain_migrate_get_max_downtime_ret {
19210 0     0 0   my $input_length = length $_[3];
19211 0           $_[1] = {};
19212             # Deserializing field: 'downtime'
19213             # my ($class, $value, $index, $input) = @_;
19214 0 0         die "Input buffer too short"
19215             if ($input_length - $_[2]) < 8;
19216 0           $_[1]->{downtime} = unpack("Q>", substr( $_[3], $_[2] ));
19217 0           $_[2] += 8;
19218             die "Out of bounds 'unsigned hyper': $_[1]->{downtime}"
19219             unless (0 <= $_[1]->{downtime}
19220 0 0 0       and $_[1]->{downtime} <= 18446744073709551615);
19221             }
19222             # @_: ($class, $value, $index, $output) = @_;
19223             sub serialize_domain_migrate_get_max_downtime_ret {
19224 0 0   0 0   croak "Missing required input 'struct' value"
19225             unless defined $_[1];
19226              
19227             # Serializing field: 'downtime'
19228             croak "Missing required input value 'downtime'"
19229 0 0         unless exists $_[1]->{downtime};
19230             # my ($class, $value, $index, $output) = @_;
19231             croak "Missing required input 'unsigned long' value"
19232 0 0         unless defined $_[1]->{downtime};
19233             die "Out of bounds 'unsigned hyper': $_[1]->{downtime}"
19234             unless (0 <= $_[1]->{downtime}
19235 0 0 0       and $_[1]->{downtime} <= 18446744073709551615);
19236             die "Non-integer 'long' value given: $_[1]->{downtime}"
19237 0 0         unless int($_[1]->{downtime}) == $_[1]->{downtime};
19238 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{downtime});
19239 0           $_[2] += 8;
19240             }
19241             # @_: ($class, $value, $index, $input) = @_;
19242             sub deserialize_domain_migrate_set_max_downtime_args {
19243 0     0 0   my $input_length = length $_[3];
19244 0           $_[1] = {};
19245             # Deserializing field: 'dom'
19246             # my ($class, $value, $index, $input) = @_;
19247 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19248              
19249             # Deserializing field: 'downtime'
19250             # my ($class, $value, $index, $input) = @_;
19251 0 0         die "Input buffer too short"
19252             if ($input_length - $_[2]) < 8;
19253 0           $_[1]->{downtime} = unpack("Q>", substr( $_[3], $_[2] ));
19254 0           $_[2] += 8;
19255             die "Out of bounds 'unsigned hyper': $_[1]->{downtime}"
19256             unless (0 <= $_[1]->{downtime}
19257 0 0 0       and $_[1]->{downtime} <= 18446744073709551615);
19258              
19259             # Deserializing field: 'flags'
19260             # my ($class, $value, $index, $input) = @_;
19261 0 0         die "Input buffer too short"
19262             if ($input_length - $_[2]) < 4;
19263 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
19264 0           $_[2] += 4;
19265             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19266 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19267             }
19268             # @_: ($class, $value, $index, $output) = @_;
19269             sub serialize_domain_migrate_set_max_downtime_args {
19270 0 0   0 0   croak "Missing required input 'struct' value"
19271             unless defined $_[1];
19272              
19273             # Serializing field: 'dom'
19274             croak "Missing required input value 'dom'"
19275 0 0         unless exists $_[1]->{dom};
19276             # my ($class, $value, $index, $output) = @_;
19277 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19278              
19279             # Serializing field: 'downtime'
19280             croak "Missing required input value 'downtime'"
19281 0 0         unless exists $_[1]->{downtime};
19282             # my ($class, $value, $index, $output) = @_;
19283             croak "Missing required input 'unsigned long' value"
19284 0 0         unless defined $_[1]->{downtime};
19285             die "Out of bounds 'unsigned hyper': $_[1]->{downtime}"
19286             unless (0 <= $_[1]->{downtime}
19287 0 0 0       and $_[1]->{downtime} <= 18446744073709551615);
19288             die "Non-integer 'long' value given: $_[1]->{downtime}"
19289 0 0         unless int($_[1]->{downtime}) == $_[1]->{downtime};
19290 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{downtime});
19291 0           $_[2] += 8;
19292              
19293             # Serializing field: 'flags'
19294             croak "Missing required input value 'flags'"
19295 0 0         unless exists $_[1]->{flags};
19296             # my ($class, $value, $index, $output) = @_;
19297             croak "Missing required input 'unsigned int' value"
19298 0 0         unless defined $_[1]->{flags};
19299             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19300 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19301             die "Non-integer 'int' value given: $_[1]->{flags}"
19302 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
19303 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
19304 0           $_[2] += 4;
19305             }
19306             # @_: ($class, $value, $index, $input) = @_;
19307             sub deserialize_domain_migrate_get_compression_cache_args {
19308 0     0 0   my $input_length = length $_[3];
19309 0           $_[1] = {};
19310             # Deserializing field: 'dom'
19311             # my ($class, $value, $index, $input) = @_;
19312 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19313              
19314             # Deserializing field: 'flags'
19315             # my ($class, $value, $index, $input) = @_;
19316 0 0         die "Input buffer too short"
19317             if ($input_length - $_[2]) < 4;
19318 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
19319 0           $_[2] += 4;
19320             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19321 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19322             }
19323             # @_: ($class, $value, $index, $output) = @_;
19324             sub serialize_domain_migrate_get_compression_cache_args {
19325 0 0   0 0   croak "Missing required input 'struct' value"
19326             unless defined $_[1];
19327              
19328             # Serializing field: 'dom'
19329             croak "Missing required input value 'dom'"
19330 0 0         unless exists $_[1]->{dom};
19331             # my ($class, $value, $index, $output) = @_;
19332 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19333              
19334             # Serializing field: 'flags'
19335             croak "Missing required input value 'flags'"
19336 0 0         unless exists $_[1]->{flags};
19337             # my ($class, $value, $index, $output) = @_;
19338             croak "Missing required input 'unsigned int' value"
19339 0 0         unless defined $_[1]->{flags};
19340             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19341 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19342             die "Non-integer 'int' value given: $_[1]->{flags}"
19343 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
19344 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
19345 0           $_[2] += 4;
19346             }
19347             # @_: ($class, $value, $index, $input) = @_;
19348             sub deserialize_domain_migrate_get_compression_cache_ret {
19349 0     0 0   my $input_length = length $_[3];
19350 0           $_[1] = {};
19351             # Deserializing field: 'cacheSize'
19352             # my ($class, $value, $index, $input) = @_;
19353 0 0         die "Input buffer too short"
19354             if ($input_length - $_[2]) < 8;
19355 0           $_[1]->{cacheSize} = unpack("Q>", substr( $_[3], $_[2] ));
19356 0           $_[2] += 8;
19357             die "Out of bounds 'unsigned hyper': $_[1]->{cacheSize}"
19358             unless (0 <= $_[1]->{cacheSize}
19359 0 0 0       and $_[1]->{cacheSize} <= 18446744073709551615);
19360             }
19361             # @_: ($class, $value, $index, $output) = @_;
19362             sub serialize_domain_migrate_get_compression_cache_ret {
19363 0 0   0 0   croak "Missing required input 'struct' value"
19364             unless defined $_[1];
19365              
19366             # Serializing field: 'cacheSize'
19367             croak "Missing required input value 'cacheSize'"
19368 0 0         unless exists $_[1]->{cacheSize};
19369             # my ($class, $value, $index, $output) = @_;
19370             croak "Missing required input 'unsigned long' value"
19371 0 0         unless defined $_[1]->{cacheSize};
19372             die "Out of bounds 'unsigned hyper': $_[1]->{cacheSize}"
19373             unless (0 <= $_[1]->{cacheSize}
19374 0 0 0       and $_[1]->{cacheSize} <= 18446744073709551615);
19375             die "Non-integer 'long' value given: $_[1]->{cacheSize}"
19376 0 0         unless int($_[1]->{cacheSize}) == $_[1]->{cacheSize};
19377 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{cacheSize});
19378 0           $_[2] += 8;
19379             }
19380             # @_: ($class, $value, $index, $input) = @_;
19381             sub deserialize_domain_migrate_set_compression_cache_args {
19382 0     0 0   my $input_length = length $_[3];
19383 0           $_[1] = {};
19384             # Deserializing field: 'dom'
19385             # my ($class, $value, $index, $input) = @_;
19386 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19387              
19388             # Deserializing field: 'cacheSize'
19389             # my ($class, $value, $index, $input) = @_;
19390 0 0         die "Input buffer too short"
19391             if ($input_length - $_[2]) < 8;
19392 0           $_[1]->{cacheSize} = unpack("Q>", substr( $_[3], $_[2] ));
19393 0           $_[2] += 8;
19394             die "Out of bounds 'unsigned hyper': $_[1]->{cacheSize}"
19395             unless (0 <= $_[1]->{cacheSize}
19396 0 0 0       and $_[1]->{cacheSize} <= 18446744073709551615);
19397              
19398             # Deserializing field: 'flags'
19399             # my ($class, $value, $index, $input) = @_;
19400 0 0         die "Input buffer too short"
19401             if ($input_length - $_[2]) < 4;
19402 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
19403 0           $_[2] += 4;
19404             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19405 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19406             }
19407             # @_: ($class, $value, $index, $output) = @_;
19408             sub serialize_domain_migrate_set_compression_cache_args {
19409 0 0   0 0   croak "Missing required input 'struct' value"
19410             unless defined $_[1];
19411              
19412             # Serializing field: 'dom'
19413             croak "Missing required input value 'dom'"
19414 0 0         unless exists $_[1]->{dom};
19415             # my ($class, $value, $index, $output) = @_;
19416 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19417              
19418             # Serializing field: 'cacheSize'
19419             croak "Missing required input value 'cacheSize'"
19420 0 0         unless exists $_[1]->{cacheSize};
19421             # my ($class, $value, $index, $output) = @_;
19422             croak "Missing required input 'unsigned long' value"
19423 0 0         unless defined $_[1]->{cacheSize};
19424             die "Out of bounds 'unsigned hyper': $_[1]->{cacheSize}"
19425             unless (0 <= $_[1]->{cacheSize}
19426 0 0 0       and $_[1]->{cacheSize} <= 18446744073709551615);
19427             die "Non-integer 'long' value given: $_[1]->{cacheSize}"
19428 0 0         unless int($_[1]->{cacheSize}) == $_[1]->{cacheSize};
19429 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{cacheSize});
19430 0           $_[2] += 8;
19431              
19432             # Serializing field: 'flags'
19433             croak "Missing required input value 'flags'"
19434 0 0         unless exists $_[1]->{flags};
19435             # my ($class, $value, $index, $output) = @_;
19436             croak "Missing required input 'unsigned int' value"
19437 0 0         unless defined $_[1]->{flags};
19438             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19439 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19440             die "Non-integer 'int' value given: $_[1]->{flags}"
19441 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
19442 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
19443 0           $_[2] += 4;
19444             }
19445             # @_: ($class, $value, $index, $input) = @_;
19446             sub deserialize_domain_migrate_set_max_speed_args {
19447 0     0 0   my $input_length = length $_[3];
19448 0           $_[1] = {};
19449             # Deserializing field: 'dom'
19450             # my ($class, $value, $index, $input) = @_;
19451 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19452              
19453             # Deserializing field: 'bandwidth'
19454             # my ($class, $value, $index, $input) = @_;
19455 0 0         die "Input buffer too short"
19456             if ($input_length - $_[2]) < 8;
19457 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
19458 0           $_[2] += 8;
19459             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
19460             unless (0 <= $_[1]->{bandwidth}
19461 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
19462              
19463             # Deserializing field: 'flags'
19464             # my ($class, $value, $index, $input) = @_;
19465 0 0         die "Input buffer too short"
19466             if ($input_length - $_[2]) < 4;
19467 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
19468 0           $_[2] += 4;
19469             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19470 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19471             }
19472             # @_: ($class, $value, $index, $output) = @_;
19473             sub serialize_domain_migrate_set_max_speed_args {
19474 0 0   0 0   croak "Missing required input 'struct' value"
19475             unless defined $_[1];
19476              
19477             # Serializing field: 'dom'
19478             croak "Missing required input value 'dom'"
19479 0 0         unless exists $_[1]->{dom};
19480             # my ($class, $value, $index, $output) = @_;
19481 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19482              
19483             # Serializing field: 'bandwidth'
19484             croak "Missing required input value 'bandwidth'"
19485 0 0         unless exists $_[1]->{bandwidth};
19486             # my ($class, $value, $index, $output) = @_;
19487             croak "Missing required input 'unsigned long' value"
19488 0 0         unless defined $_[1]->{bandwidth};
19489             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
19490             unless (0 <= $_[1]->{bandwidth}
19491 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
19492             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
19493 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
19494 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
19495 0           $_[2] += 8;
19496              
19497             # Serializing field: 'flags'
19498             croak "Missing required input value 'flags'"
19499 0 0         unless exists $_[1]->{flags};
19500             # my ($class, $value, $index, $output) = @_;
19501             croak "Missing required input 'unsigned int' value"
19502 0 0         unless defined $_[1]->{flags};
19503             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19504 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19505             die "Non-integer 'int' value given: $_[1]->{flags}"
19506 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
19507 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
19508 0           $_[2] += 4;
19509             }
19510             # @_: ($class, $value, $index, $input) = @_;
19511             sub deserialize_domain_migrate_get_max_speed_args {
19512 0     0 0   my $input_length = length $_[3];
19513 0           $_[1] = {};
19514             # Deserializing field: 'dom'
19515             # my ($class, $value, $index, $input) = @_;
19516 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19517              
19518             # Deserializing field: 'flags'
19519             # my ($class, $value, $index, $input) = @_;
19520 0 0         die "Input buffer too short"
19521             if ($input_length - $_[2]) < 4;
19522 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
19523 0           $_[2] += 4;
19524             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19525 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19526             }
19527             # @_: ($class, $value, $index, $output) = @_;
19528             sub serialize_domain_migrate_get_max_speed_args {
19529 0 0   0 0   croak "Missing required input 'struct' value"
19530             unless defined $_[1];
19531              
19532             # Serializing field: 'dom'
19533             croak "Missing required input value 'dom'"
19534 0 0         unless exists $_[1]->{dom};
19535             # my ($class, $value, $index, $output) = @_;
19536 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19537              
19538             # Serializing field: 'flags'
19539             croak "Missing required input value 'flags'"
19540 0 0         unless exists $_[1]->{flags};
19541             # my ($class, $value, $index, $output) = @_;
19542             croak "Missing required input 'unsigned int' value"
19543 0 0         unless defined $_[1]->{flags};
19544             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19545 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19546             die "Non-integer 'int' value given: $_[1]->{flags}"
19547 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
19548 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
19549 0           $_[2] += 4;
19550             }
19551             # @_: ($class, $value, $index, $input) = @_;
19552             sub deserialize_domain_migrate_get_max_speed_ret {
19553 0     0 0   my $input_length = length $_[3];
19554 0           $_[1] = {};
19555             # Deserializing field: 'bandwidth'
19556             # my ($class, $value, $index, $input) = @_;
19557 0 0         die "Input buffer too short"
19558             if ($input_length - $_[2]) < 8;
19559 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
19560 0           $_[2] += 8;
19561             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
19562             unless (0 <= $_[1]->{bandwidth}
19563 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
19564             }
19565             # @_: ($class, $value, $index, $output) = @_;
19566             sub serialize_domain_migrate_get_max_speed_ret {
19567 0 0   0 0   croak "Missing required input 'struct' value"
19568             unless defined $_[1];
19569              
19570             # Serializing field: 'bandwidth'
19571             croak "Missing required input value 'bandwidth'"
19572 0 0         unless exists $_[1]->{bandwidth};
19573             # my ($class, $value, $index, $output) = @_;
19574             croak "Missing required input 'unsigned long' value"
19575 0 0         unless defined $_[1]->{bandwidth};
19576             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
19577             unless (0 <= $_[1]->{bandwidth}
19578 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
19579             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
19580 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
19581 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
19582 0           $_[2] += 8;
19583             }
19584             # @_: ($class, $value, $index, $input) = @_;
19585             sub deserialize_connect_domain_event_register_any_args {
19586 0     0 0   my $input_length = length $_[3];
19587 0           $_[1] = {};
19588             # Deserializing field: 'eventID'
19589             # my ($class, $value, $index, $input) = @_;
19590 0 0         die "Input buffer too short"
19591             if ($input_length - $_[2]) < 4;
19592 0           $_[1]->{eventID} = unpack("l>", substr( $_[3], $_[2] ));
19593 0           $_[2] += 4;
19594             die "Out of bounds 'int': $_[1]->{eventID}"
19595 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
19596             }
19597             # @_: ($class, $value, $index, $output) = @_;
19598             sub serialize_connect_domain_event_register_any_args {
19599 0 0   0 0   croak "Missing required input 'struct' value"
19600             unless defined $_[1];
19601              
19602             # Serializing field: 'eventID'
19603             croak "Missing required input value 'eventID'"
19604 0 0         unless exists $_[1]->{eventID};
19605             # my ($class, $value, $index, $output) = @_;
19606             croak "Missing required input 'int' value"
19607 0 0         unless defined $_[1]->{eventID};
19608             die "Out of bounds 'int': $_[1]->{eventID}"
19609 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
19610             die "Non-integer 'int' value given: $_[1]->{eventID}"
19611 0 0         unless int($_[1]->{eventID}) == $_[1]->{eventID};
19612 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{eventID});
19613 0           $_[2] += 4;
19614             }
19615             # @_: ($class, $value, $index, $input) = @_;
19616             sub deserialize_connect_domain_event_deregister_any_args {
19617 0     0 0   my $input_length = length $_[3];
19618 0           $_[1] = {};
19619             # Deserializing field: 'eventID'
19620             # my ($class, $value, $index, $input) = @_;
19621 0 0         die "Input buffer too short"
19622             if ($input_length - $_[2]) < 4;
19623 0           $_[1]->{eventID} = unpack("l>", substr( $_[3], $_[2] ));
19624 0           $_[2] += 4;
19625             die "Out of bounds 'int': $_[1]->{eventID}"
19626 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
19627             }
19628             # @_: ($class, $value, $index, $output) = @_;
19629             sub serialize_connect_domain_event_deregister_any_args {
19630 0 0   0 0   croak "Missing required input 'struct' value"
19631             unless defined $_[1];
19632              
19633             # Serializing field: 'eventID'
19634             croak "Missing required input value 'eventID'"
19635 0 0         unless exists $_[1]->{eventID};
19636             # my ($class, $value, $index, $output) = @_;
19637             croak "Missing required input 'int' value"
19638 0 0         unless defined $_[1]->{eventID};
19639             die "Out of bounds 'int': $_[1]->{eventID}"
19640 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
19641             die "Non-integer 'int' value given: $_[1]->{eventID}"
19642 0 0         unless int($_[1]->{eventID}) == $_[1]->{eventID};
19643 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{eventID});
19644 0           $_[2] += 4;
19645             }
19646             # @_: ($class, $value, $index, $input) = @_;
19647             sub deserialize_connect_domain_event_callback_register_any_args {
19648 0     0 0   my $input_length = length $_[3];
19649 0           $_[1] = {};
19650             # Deserializing field: 'eventID'
19651             # my ($class, $value, $index, $input) = @_;
19652 0 0         die "Input buffer too short"
19653             if ($input_length - $_[2]) < 4;
19654 0           $_[1]->{eventID} = unpack("l>", substr( $_[3], $_[2] ));
19655 0           $_[2] += 4;
19656             die "Out of bounds 'int': $_[1]->{eventID}"
19657 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
19658              
19659             # Deserializing field: 'dom'
19660             # my ($class, $value, $index, $input) = @_;
19661 0           $_[0]->deserialize_domain( $_[1]->{dom}, $_[2], $_[3] );
19662             }
19663             # @_: ($class, $value, $index, $output) = @_;
19664             sub serialize_connect_domain_event_callback_register_any_args {
19665 0 0   0 0   croak "Missing required input 'struct' value"
19666             unless defined $_[1];
19667              
19668             # Serializing field: 'eventID'
19669             croak "Missing required input value 'eventID'"
19670 0 0         unless exists $_[1]->{eventID};
19671             # my ($class, $value, $index, $output) = @_;
19672             croak "Missing required input 'int' value"
19673 0 0         unless defined $_[1]->{eventID};
19674             die "Out of bounds 'int': $_[1]->{eventID}"
19675 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
19676             die "Non-integer 'int' value given: $_[1]->{eventID}"
19677 0 0         unless int($_[1]->{eventID}) == $_[1]->{eventID};
19678 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{eventID});
19679 0           $_[2] += 4;
19680              
19681             # Serializing field: 'dom'
19682             croak "Missing required input value 'dom'"
19683 0 0         unless exists $_[1]->{dom};
19684             # my ($class, $value, $index, $output) = @_;
19685 0           $_[0]->serialize_domain( $_[1]->{dom}, $_[2], $_[3] );
19686             }
19687             # @_: ($class, $value, $index, $input) = @_;
19688             sub deserialize_connect_domain_event_callback_register_any_ret {
19689 0     0 0   my $input_length = length $_[3];
19690 0           $_[1] = {};
19691             # Deserializing field: 'callbackID'
19692             # my ($class, $value, $index, $input) = @_;
19693 0 0         die "Input buffer too short"
19694             if ($input_length - $_[2]) < 4;
19695 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
19696 0           $_[2] += 4;
19697             die "Out of bounds 'int': $_[1]->{callbackID}"
19698 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19699             }
19700             # @_: ($class, $value, $index, $output) = @_;
19701             sub serialize_connect_domain_event_callback_register_any_ret {
19702 0 0   0 0   croak "Missing required input 'struct' value"
19703             unless defined $_[1];
19704              
19705             # Serializing field: 'callbackID'
19706             croak "Missing required input value 'callbackID'"
19707 0 0         unless exists $_[1]->{callbackID};
19708             # my ($class, $value, $index, $output) = @_;
19709             croak "Missing required input 'int' value"
19710 0 0         unless defined $_[1]->{callbackID};
19711             die "Out of bounds 'int': $_[1]->{callbackID}"
19712 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19713             die "Non-integer 'int' value given: $_[1]->{callbackID}"
19714 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
19715 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
19716 0           $_[2] += 4;
19717             }
19718             # @_: ($class, $value, $index, $input) = @_;
19719             sub deserialize_connect_domain_event_callback_deregister_any_args {
19720 0     0 0   my $input_length = length $_[3];
19721 0           $_[1] = {};
19722             # Deserializing field: 'callbackID'
19723             # my ($class, $value, $index, $input) = @_;
19724 0 0         die "Input buffer too short"
19725             if ($input_length - $_[2]) < 4;
19726 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
19727 0           $_[2] += 4;
19728             die "Out of bounds 'int': $_[1]->{callbackID}"
19729 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19730             }
19731             # @_: ($class, $value, $index, $output) = @_;
19732             sub serialize_connect_domain_event_callback_deregister_any_args {
19733 0 0   0 0   croak "Missing required input 'struct' value"
19734             unless defined $_[1];
19735              
19736             # Serializing field: 'callbackID'
19737             croak "Missing required input value 'callbackID'"
19738 0 0         unless exists $_[1]->{callbackID};
19739             # my ($class, $value, $index, $output) = @_;
19740             croak "Missing required input 'int' value"
19741 0 0         unless defined $_[1]->{callbackID};
19742             die "Out of bounds 'int': $_[1]->{callbackID}"
19743 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19744             die "Non-integer 'int' value given: $_[1]->{callbackID}"
19745 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
19746 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
19747 0           $_[2] += 4;
19748             }
19749             # @_: ($class, $value, $index, $input) = @_;
19750             sub deserialize_domain_event_reboot_msg {
19751 0     0 0   my $input_length = length $_[3];
19752 0           $_[1] = {};
19753             # Deserializing field: 'dom'
19754             # my ($class, $value, $index, $input) = @_;
19755 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19756             }
19757             # @_: ($class, $value, $index, $output) = @_;
19758             sub serialize_domain_event_reboot_msg {
19759 0 0   0 0   croak "Missing required input 'struct' value"
19760             unless defined $_[1];
19761              
19762             # Serializing field: 'dom'
19763             croak "Missing required input value 'dom'"
19764 0 0         unless exists $_[1]->{dom};
19765             # my ($class, $value, $index, $output) = @_;
19766 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19767             }
19768             # @_: ($class, $value, $index, $input) = @_;
19769             sub deserialize_domain_event_callback_reboot_msg {
19770 0     0 0   my $input_length = length $_[3];
19771 0           $_[1] = {};
19772             # Deserializing field: 'callbackID'
19773             # my ($class, $value, $index, $input) = @_;
19774 0 0         die "Input buffer too short"
19775             if ($input_length - $_[2]) < 4;
19776 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
19777 0           $_[2] += 4;
19778             die "Out of bounds 'int': $_[1]->{callbackID}"
19779 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19780              
19781             # Deserializing field: 'msg'
19782             # my ($class, $value, $index, $input) = @_;
19783 0           $_[0]->deserialize_domain_event_reboot_msg( $_[1]->{msg}, $_[2], $_[3] );
19784             }
19785             # @_: ($class, $value, $index, $output) = @_;
19786             sub serialize_domain_event_callback_reboot_msg {
19787 0 0   0 0   croak "Missing required input 'struct' value"
19788             unless defined $_[1];
19789              
19790             # Serializing field: 'callbackID'
19791             croak "Missing required input value 'callbackID'"
19792 0 0         unless exists $_[1]->{callbackID};
19793             # my ($class, $value, $index, $output) = @_;
19794             croak "Missing required input 'int' value"
19795 0 0         unless defined $_[1]->{callbackID};
19796             die "Out of bounds 'int': $_[1]->{callbackID}"
19797 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19798             die "Non-integer 'int' value given: $_[1]->{callbackID}"
19799 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
19800 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
19801 0           $_[2] += 4;
19802              
19803             # Serializing field: 'msg'
19804             croak "Missing required input value 'msg'"
19805 0 0         unless exists $_[1]->{msg};
19806             # my ($class, $value, $index, $output) = @_;
19807 0           $_[0]->serialize_domain_event_reboot_msg( $_[1]->{msg}, $_[2], $_[3] );
19808             }
19809             # @_: ($class, $value, $index, $input) = @_;
19810             sub deserialize_domain_event_rtc_change_msg {
19811 0     0 0   my $input_length = length $_[3];
19812 0           $_[1] = {};
19813             # Deserializing field: 'dom'
19814             # my ($class, $value, $index, $input) = @_;
19815 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19816              
19817             # Deserializing field: 'offset'
19818             # my ($class, $value, $index, $input) = @_;
19819 0 0         die "Input buffer too short"
19820             if ($input_length - $_[2]) < 8;
19821 0           $_[1]->{offset} = unpack("q>", substr( $_[3], $_[2] ));
19822 0           $_[2] += 8;
19823             die "Out of bounds 'hyper': $_[1]->{offset}"
19824             unless (-9223372036854775808 <= $_[1]->{offset}
19825 0 0 0       and $_[1]->{offset} < 9223372036854775808);
19826             }
19827             # @_: ($class, $value, $index, $output) = @_;
19828             sub serialize_domain_event_rtc_change_msg {
19829 0 0   0 0   croak "Missing required input 'struct' value"
19830             unless defined $_[1];
19831              
19832             # Serializing field: 'dom'
19833             croak "Missing required input value 'dom'"
19834 0 0         unless exists $_[1]->{dom};
19835             # my ($class, $value, $index, $output) = @_;
19836 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19837              
19838             # Serializing field: 'offset'
19839             croak "Missing required input value 'offset'"
19840 0 0         unless exists $_[1]->{offset};
19841             # my ($class, $value, $index, $output) = @_;
19842             croak "Missing required input 'long' value"
19843 0 0         unless defined $_[1]->{offset};
19844             die "Out of bounds 'hyper': $_[1]->{offset}"
19845             unless (-9223372036854775808 <= $_[1]->{offset}
19846 0 0 0       and $_[1]->{offset} < 9223372036854775808);
19847             die "Non-integer 'long' value given: $_[1]->{offset}"
19848 0 0         unless int($_[1]->{offset}) == $_[1]->{offset};
19849 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{offset});
19850 0           $_[2] += 8;
19851             }
19852             # @_: ($class, $value, $index, $input) = @_;
19853             sub deserialize_domain_event_callback_rtc_change_msg {
19854 0     0 0   my $input_length = length $_[3];
19855 0           $_[1] = {};
19856             # Deserializing field: 'callbackID'
19857             # my ($class, $value, $index, $input) = @_;
19858 0 0         die "Input buffer too short"
19859             if ($input_length - $_[2]) < 4;
19860 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
19861 0           $_[2] += 4;
19862             die "Out of bounds 'int': $_[1]->{callbackID}"
19863 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19864              
19865             # Deserializing field: 'msg'
19866             # my ($class, $value, $index, $input) = @_;
19867 0           $_[0]->deserialize_domain_event_rtc_change_msg( $_[1]->{msg}, $_[2], $_[3] );
19868             }
19869             # @_: ($class, $value, $index, $output) = @_;
19870             sub serialize_domain_event_callback_rtc_change_msg {
19871 0 0   0 0   croak "Missing required input 'struct' value"
19872             unless defined $_[1];
19873              
19874             # Serializing field: 'callbackID'
19875             croak "Missing required input value 'callbackID'"
19876 0 0         unless exists $_[1]->{callbackID};
19877             # my ($class, $value, $index, $output) = @_;
19878             croak "Missing required input 'int' value"
19879 0 0         unless defined $_[1]->{callbackID};
19880             die "Out of bounds 'int': $_[1]->{callbackID}"
19881 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19882             die "Non-integer 'int' value given: $_[1]->{callbackID}"
19883 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
19884 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
19885 0           $_[2] += 4;
19886              
19887             # Serializing field: 'msg'
19888             croak "Missing required input value 'msg'"
19889 0 0         unless exists $_[1]->{msg};
19890             # my ($class, $value, $index, $output) = @_;
19891 0           $_[0]->serialize_domain_event_rtc_change_msg( $_[1]->{msg}, $_[2], $_[3] );
19892             }
19893             # @_: ($class, $value, $index, $input) = @_;
19894             sub deserialize_domain_event_watchdog_msg {
19895 0     0 0   my $input_length = length $_[3];
19896 0           $_[1] = {};
19897             # Deserializing field: 'dom'
19898             # my ($class, $value, $index, $input) = @_;
19899 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19900              
19901             # Deserializing field: 'action'
19902             # my ($class, $value, $index, $input) = @_;
19903 0 0         die "Input buffer too short"
19904             if ($input_length - $_[2]) < 4;
19905 0           $_[1]->{action} = unpack("l>", substr( $_[3], $_[2] ));
19906 0           $_[2] += 4;
19907             die "Out of bounds 'int': $_[1]->{action}"
19908 0 0 0       unless (-2147483648 <= $_[1]->{action} and $_[1]->{action} < 2147483648);
19909             }
19910             # @_: ($class, $value, $index, $output) = @_;
19911             sub serialize_domain_event_watchdog_msg {
19912 0 0   0 0   croak "Missing required input 'struct' value"
19913             unless defined $_[1];
19914              
19915             # Serializing field: 'dom'
19916             croak "Missing required input value 'dom'"
19917 0 0         unless exists $_[1]->{dom};
19918             # my ($class, $value, $index, $output) = @_;
19919 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19920              
19921             # Serializing field: 'action'
19922             croak "Missing required input value 'action'"
19923 0 0         unless exists $_[1]->{action};
19924             # my ($class, $value, $index, $output) = @_;
19925             croak "Missing required input 'int' value"
19926 0 0         unless defined $_[1]->{action};
19927             die "Out of bounds 'int': $_[1]->{action}"
19928 0 0 0       unless (-2147483648 <= $_[1]->{action} and $_[1]->{action} < 2147483648);
19929             die "Non-integer 'int' value given: $_[1]->{action}"
19930 0 0         unless int($_[1]->{action}) == $_[1]->{action};
19931 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{action});
19932 0           $_[2] += 4;
19933             }
19934             # @_: ($class, $value, $index, $input) = @_;
19935             sub deserialize_domain_event_callback_watchdog_msg {
19936 0     0 0   my $input_length = length $_[3];
19937 0           $_[1] = {};
19938             # Deserializing field: 'callbackID'
19939             # my ($class, $value, $index, $input) = @_;
19940 0 0         die "Input buffer too short"
19941             if ($input_length - $_[2]) < 4;
19942 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
19943 0           $_[2] += 4;
19944             die "Out of bounds 'int': $_[1]->{callbackID}"
19945 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19946              
19947             # Deserializing field: 'msg'
19948             # my ($class, $value, $index, $input) = @_;
19949 0           $_[0]->deserialize_domain_event_watchdog_msg( $_[1]->{msg}, $_[2], $_[3] );
19950             }
19951             # @_: ($class, $value, $index, $output) = @_;
19952             sub serialize_domain_event_callback_watchdog_msg {
19953 0 0   0 0   croak "Missing required input 'struct' value"
19954             unless defined $_[1];
19955              
19956             # Serializing field: 'callbackID'
19957             croak "Missing required input value 'callbackID'"
19958 0 0         unless exists $_[1]->{callbackID};
19959             # my ($class, $value, $index, $output) = @_;
19960             croak "Missing required input 'int' value"
19961 0 0         unless defined $_[1]->{callbackID};
19962             die "Out of bounds 'int': $_[1]->{callbackID}"
19963 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19964             die "Non-integer 'int' value given: $_[1]->{callbackID}"
19965 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
19966 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
19967 0           $_[2] += 4;
19968              
19969             # Serializing field: 'msg'
19970             croak "Missing required input value 'msg'"
19971 0 0         unless exists $_[1]->{msg};
19972             # my ($class, $value, $index, $output) = @_;
19973 0           $_[0]->serialize_domain_event_watchdog_msg( $_[1]->{msg}, $_[2], $_[3] );
19974             }
19975             # @_: ($class, $value, $index, $input) = @_;
19976             sub deserialize_domain_event_io_error_msg {
19977 0     0 0   my $input_length = length $_[3];
19978 0           $_[1] = {};
19979             # Deserializing field: 'dom'
19980             # my ($class, $value, $index, $input) = @_;
19981 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19982              
19983             # Deserializing field: 'srcPath'
19984             # my ($class, $value, $index, $input) = @_;
19985 0           $_[0]->deserialize_nonnull_string( $_[1]->{srcPath}, $_[2], $_[3] );
19986              
19987             # Deserializing field: 'devAlias'
19988             # my ($class, $value, $index, $input) = @_;
19989 0           $_[0]->deserialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
19990              
19991             # Deserializing field: 'action'
19992             # my ($class, $value, $index, $input) = @_;
19993 0 0         die "Input buffer too short"
19994             if ($input_length - $_[2]) < 4;
19995 0           $_[1]->{action} = unpack("l>", substr( $_[3], $_[2] ));
19996 0           $_[2] += 4;
19997             die "Out of bounds 'int': $_[1]->{action}"
19998 0 0 0       unless (-2147483648 <= $_[1]->{action} and $_[1]->{action} < 2147483648);
19999             }
20000             # @_: ($class, $value, $index, $output) = @_;
20001             sub serialize_domain_event_io_error_msg {
20002 0 0   0 0   croak "Missing required input 'struct' value"
20003             unless defined $_[1];
20004              
20005             # Serializing field: 'dom'
20006             croak "Missing required input value 'dom'"
20007 0 0         unless exists $_[1]->{dom};
20008             # my ($class, $value, $index, $output) = @_;
20009 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20010              
20011             # Serializing field: 'srcPath'
20012             croak "Missing required input value 'srcPath'"
20013 0 0         unless exists $_[1]->{srcPath};
20014             # my ($class, $value, $index, $output) = @_;
20015 0           $_[0]->serialize_nonnull_string( $_[1]->{srcPath}, $_[2], $_[3] );
20016              
20017             # Serializing field: 'devAlias'
20018             croak "Missing required input value 'devAlias'"
20019 0 0         unless exists $_[1]->{devAlias};
20020             # my ($class, $value, $index, $output) = @_;
20021 0           $_[0]->serialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
20022              
20023             # Serializing field: 'action'
20024             croak "Missing required input value 'action'"
20025 0 0         unless exists $_[1]->{action};
20026             # my ($class, $value, $index, $output) = @_;
20027             croak "Missing required input 'int' value"
20028 0 0         unless defined $_[1]->{action};
20029             die "Out of bounds 'int': $_[1]->{action}"
20030 0 0 0       unless (-2147483648 <= $_[1]->{action} and $_[1]->{action} < 2147483648);
20031             die "Non-integer 'int' value given: $_[1]->{action}"
20032 0 0         unless int($_[1]->{action}) == $_[1]->{action};
20033 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{action});
20034 0           $_[2] += 4;
20035             }
20036             # @_: ($class, $value, $index, $input) = @_;
20037             sub deserialize_domain_event_callback_io_error_msg {
20038 0     0 0   my $input_length = length $_[3];
20039 0           $_[1] = {};
20040             # Deserializing field: 'callbackID'
20041             # my ($class, $value, $index, $input) = @_;
20042 0 0         die "Input buffer too short"
20043             if ($input_length - $_[2]) < 4;
20044 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20045 0           $_[2] += 4;
20046             die "Out of bounds 'int': $_[1]->{callbackID}"
20047 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20048              
20049             # Deserializing field: 'msg'
20050             # my ($class, $value, $index, $input) = @_;
20051 0           $_[0]->deserialize_domain_event_io_error_msg( $_[1]->{msg}, $_[2], $_[3] );
20052             }
20053             # @_: ($class, $value, $index, $output) = @_;
20054             sub serialize_domain_event_callback_io_error_msg {
20055 0 0   0 0   croak "Missing required input 'struct' value"
20056             unless defined $_[1];
20057              
20058             # Serializing field: 'callbackID'
20059             croak "Missing required input value 'callbackID'"
20060 0 0         unless exists $_[1]->{callbackID};
20061             # my ($class, $value, $index, $output) = @_;
20062             croak "Missing required input 'int' value"
20063 0 0         unless defined $_[1]->{callbackID};
20064             die "Out of bounds 'int': $_[1]->{callbackID}"
20065 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20066             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20067 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20068 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20069 0           $_[2] += 4;
20070              
20071             # Serializing field: 'msg'
20072             croak "Missing required input value 'msg'"
20073 0 0         unless exists $_[1]->{msg};
20074             # my ($class, $value, $index, $output) = @_;
20075 0           $_[0]->serialize_domain_event_io_error_msg( $_[1]->{msg}, $_[2], $_[3] );
20076             }
20077             # @_: ($class, $value, $index, $input) = @_;
20078             sub deserialize_domain_event_io_error_reason_msg {
20079 0     0 0   my $input_length = length $_[3];
20080 0           $_[1] = {};
20081             # Deserializing field: 'dom'
20082             # my ($class, $value, $index, $input) = @_;
20083 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20084              
20085             # Deserializing field: 'srcPath'
20086             # my ($class, $value, $index, $input) = @_;
20087 0           $_[0]->deserialize_nonnull_string( $_[1]->{srcPath}, $_[2], $_[3] );
20088              
20089             # Deserializing field: 'devAlias'
20090             # my ($class, $value, $index, $input) = @_;
20091 0           $_[0]->deserialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
20092              
20093             # Deserializing field: 'action'
20094             # my ($class, $value, $index, $input) = @_;
20095 0 0         die "Input buffer too short"
20096             if ($input_length - $_[2]) < 4;
20097 0           $_[1]->{action} = unpack("l>", substr( $_[3], $_[2] ));
20098 0           $_[2] += 4;
20099             die "Out of bounds 'int': $_[1]->{action}"
20100 0 0 0       unless (-2147483648 <= $_[1]->{action} and $_[1]->{action} < 2147483648);
20101              
20102             # Deserializing field: 'reason'
20103             # my ($class, $value, $index, $input) = @_;
20104 0           $_[0]->deserialize_nonnull_string( $_[1]->{reason}, $_[2], $_[3] );
20105             }
20106             # @_: ($class, $value, $index, $output) = @_;
20107             sub serialize_domain_event_io_error_reason_msg {
20108 0 0   0 0   croak "Missing required input 'struct' value"
20109             unless defined $_[1];
20110              
20111             # Serializing field: 'dom'
20112             croak "Missing required input value 'dom'"
20113 0 0         unless exists $_[1]->{dom};
20114             # my ($class, $value, $index, $output) = @_;
20115 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20116              
20117             # Serializing field: 'srcPath'
20118             croak "Missing required input value 'srcPath'"
20119 0 0         unless exists $_[1]->{srcPath};
20120             # my ($class, $value, $index, $output) = @_;
20121 0           $_[0]->serialize_nonnull_string( $_[1]->{srcPath}, $_[2], $_[3] );
20122              
20123             # Serializing field: 'devAlias'
20124             croak "Missing required input value 'devAlias'"
20125 0 0         unless exists $_[1]->{devAlias};
20126             # my ($class, $value, $index, $output) = @_;
20127 0           $_[0]->serialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
20128              
20129             # Serializing field: 'action'
20130             croak "Missing required input value 'action'"
20131 0 0         unless exists $_[1]->{action};
20132             # my ($class, $value, $index, $output) = @_;
20133             croak "Missing required input 'int' value"
20134 0 0         unless defined $_[1]->{action};
20135             die "Out of bounds 'int': $_[1]->{action}"
20136 0 0 0       unless (-2147483648 <= $_[1]->{action} and $_[1]->{action} < 2147483648);
20137             die "Non-integer 'int' value given: $_[1]->{action}"
20138 0 0         unless int($_[1]->{action}) == $_[1]->{action};
20139 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{action});
20140 0           $_[2] += 4;
20141              
20142             # Serializing field: 'reason'
20143             croak "Missing required input value 'reason'"
20144 0 0         unless exists $_[1]->{reason};
20145             # my ($class, $value, $index, $output) = @_;
20146 0           $_[0]->serialize_nonnull_string( $_[1]->{reason}, $_[2], $_[3] );
20147             }
20148             # @_: ($class, $value, $index, $input) = @_;
20149             sub deserialize_domain_event_callback_io_error_reason_msg {
20150 0     0 0   my $input_length = length $_[3];
20151 0           $_[1] = {};
20152             # Deserializing field: 'callbackID'
20153             # my ($class, $value, $index, $input) = @_;
20154 0 0         die "Input buffer too short"
20155             if ($input_length - $_[2]) < 4;
20156 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20157 0           $_[2] += 4;
20158             die "Out of bounds 'int': $_[1]->{callbackID}"
20159 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20160              
20161             # Deserializing field: 'msg'
20162             # my ($class, $value, $index, $input) = @_;
20163 0           $_[0]->deserialize_domain_event_io_error_reason_msg( $_[1]->{msg}, $_[2], $_[3] );
20164             }
20165             # @_: ($class, $value, $index, $output) = @_;
20166             sub serialize_domain_event_callback_io_error_reason_msg {
20167 0 0   0 0   croak "Missing required input 'struct' value"
20168             unless defined $_[1];
20169              
20170             # Serializing field: 'callbackID'
20171             croak "Missing required input value 'callbackID'"
20172 0 0         unless exists $_[1]->{callbackID};
20173             # my ($class, $value, $index, $output) = @_;
20174             croak "Missing required input 'int' value"
20175 0 0         unless defined $_[1]->{callbackID};
20176             die "Out of bounds 'int': $_[1]->{callbackID}"
20177 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20178             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20179 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20180 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20181 0           $_[2] += 4;
20182              
20183             # Serializing field: 'msg'
20184             croak "Missing required input value 'msg'"
20185 0 0         unless exists $_[1]->{msg};
20186             # my ($class, $value, $index, $output) = @_;
20187 0           $_[0]->serialize_domain_event_io_error_reason_msg( $_[1]->{msg}, $_[2], $_[3] );
20188             }
20189             # @_: ($class, $value, $index, $input) = @_;
20190             sub deserialize_domain_event_graphics_address {
20191 0     0 0   my $input_length = length $_[3];
20192 0           $_[1] = {};
20193             # Deserializing field: 'family'
20194             # my ($class, $value, $index, $input) = @_;
20195 0 0         die "Input buffer too short"
20196             if ($input_length - $_[2]) < 4;
20197 0           $_[1]->{family} = unpack("l>", substr( $_[3], $_[2] ));
20198 0           $_[2] += 4;
20199             die "Out of bounds 'int': $_[1]->{family}"
20200 0 0 0       unless (-2147483648 <= $_[1]->{family} and $_[1]->{family} < 2147483648);
20201              
20202             # Deserializing field: 'node'
20203             # my ($class, $value, $index, $input) = @_;
20204 0           $_[0]->deserialize_nonnull_string( $_[1]->{node}, $_[2], $_[3] );
20205              
20206             # Deserializing field: 'service'
20207             # my ($class, $value, $index, $input) = @_;
20208 0           $_[0]->deserialize_nonnull_string( $_[1]->{service}, $_[2], $_[3] );
20209             }
20210             # @_: ($class, $value, $index, $output) = @_;
20211             sub serialize_domain_event_graphics_address {
20212 0 0   0 0   croak "Missing required input 'struct' value"
20213             unless defined $_[1];
20214              
20215             # Serializing field: 'family'
20216             croak "Missing required input value 'family'"
20217 0 0         unless exists $_[1]->{family};
20218             # my ($class, $value, $index, $output) = @_;
20219             croak "Missing required input 'int' value"
20220 0 0         unless defined $_[1]->{family};
20221             die "Out of bounds 'int': $_[1]->{family}"
20222 0 0 0       unless (-2147483648 <= $_[1]->{family} and $_[1]->{family} < 2147483648);
20223             die "Non-integer 'int' value given: $_[1]->{family}"
20224 0 0         unless int($_[1]->{family}) == $_[1]->{family};
20225 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{family});
20226 0           $_[2] += 4;
20227              
20228             # Serializing field: 'node'
20229             croak "Missing required input value 'node'"
20230 0 0         unless exists $_[1]->{node};
20231             # my ($class, $value, $index, $output) = @_;
20232 0           $_[0]->serialize_nonnull_string( $_[1]->{node}, $_[2], $_[3] );
20233              
20234             # Serializing field: 'service'
20235             croak "Missing required input value 'service'"
20236 0 0         unless exists $_[1]->{service};
20237             # my ($class, $value, $index, $output) = @_;
20238 0           $_[0]->serialize_nonnull_string( $_[1]->{service}, $_[2], $_[3] );
20239             }
20240 1     1   17 use constant DOMAIN_EVENT_GRAPHICS_IDENTITY_MAX => 20; # 20
  1         2  
  1         84846  
20241             # @_: ($class, $value, $index, $input) = @_;
20242             sub deserialize_domain_event_graphics_identity {
20243 0     0 0   my $input_length = length $_[3];
20244 0           $_[1] = {};
20245             # Deserializing field: 'type'
20246             # my ($class, $value, $index, $input) = @_;
20247 0           $_[0]->deserialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
20248              
20249             # Deserializing field: 'name'
20250             # my ($class, $value, $index, $input) = @_;
20251 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
20252             }
20253             # @_: ($class, $value, $index, $output) = @_;
20254             sub serialize_domain_event_graphics_identity {
20255 0 0   0 0   croak "Missing required input 'struct' value"
20256             unless defined $_[1];
20257              
20258             # Serializing field: 'type'
20259             croak "Missing required input value 'type'"
20260 0 0         unless exists $_[1]->{type};
20261             # my ($class, $value, $index, $output) = @_;
20262 0           $_[0]->serialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
20263              
20264             # Serializing field: 'name'
20265             croak "Missing required input value 'name'"
20266 0 0         unless exists $_[1]->{name};
20267             # my ($class, $value, $index, $output) = @_;
20268 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
20269             }
20270             # @_: ($class, $value, $index, $input) = @_;
20271             sub deserialize_domain_event_graphics_msg {
20272 0     0 0   my $input_length = length $_[3];
20273 0           $_[1] = {};
20274             # Deserializing field: 'dom'
20275             # my ($class, $value, $index, $input) = @_;
20276 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20277              
20278             # Deserializing field: 'phase'
20279             # my ($class, $value, $index, $input) = @_;
20280 0 0         die "Input buffer too short"
20281             if ($input_length - $_[2]) < 4;
20282 0           $_[1]->{phase} = unpack("l>", substr( $_[3], $_[2] ));
20283 0           $_[2] += 4;
20284             die "Out of bounds 'int': $_[1]->{phase}"
20285 0 0 0       unless (-2147483648 <= $_[1]->{phase} and $_[1]->{phase} < 2147483648);
20286              
20287             # Deserializing field: 'local'
20288             # my ($class, $value, $index, $input) = @_;
20289 0           $_[0]->deserialize_domain_event_graphics_address( $_[1]->{local}, $_[2], $_[3] );
20290              
20291             # Deserializing field: 'remote'
20292             # my ($class, $value, $index, $input) = @_;
20293 0           $_[0]->deserialize_domain_event_graphics_address( $_[1]->{remote}, $_[2], $_[3] );
20294              
20295             # Deserializing field: 'authScheme'
20296             # my ($class, $value, $index, $input) = @_;
20297 0           $_[0]->deserialize_nonnull_string( $_[1]->{authScheme}, $_[2], $_[3] );
20298              
20299             # Deserializing field: 'subject'
20300             # my ($class, $value, $index, $input) = @_;
20301 0           do {
20302 0 0         die "Input buffer too short"
20303             if ($input_length - $_[2]) < 4;
20304 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
20305 0           $_[2] += 4;
20306              
20307 0 0         die "Array too long (max: 20): $len"
20308             unless ($len <= 20);
20309 0           $_[1]->{subject} = [];
20310 0           for my $i1 ( 0 .. ($len - 1) ) {
20311             # my ($class, $value, $index, $input) = @_;
20312 0           $_[0]->deserialize_domain_event_graphics_identity( $_[1]->{subject}->[$i1], $_[2], $_[3] );
20313             }
20314             };
20315             }
20316             # @_: ($class, $value, $index, $output) = @_;
20317             sub serialize_domain_event_graphics_msg {
20318 0 0   0 0   croak "Missing required input 'struct' value"
20319             unless defined $_[1];
20320              
20321             # Serializing field: 'dom'
20322             croak "Missing required input value 'dom'"
20323 0 0         unless exists $_[1]->{dom};
20324             # my ($class, $value, $index, $output) = @_;
20325 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20326              
20327             # Serializing field: 'phase'
20328             croak "Missing required input value 'phase'"
20329 0 0         unless exists $_[1]->{phase};
20330             # my ($class, $value, $index, $output) = @_;
20331             croak "Missing required input 'int' value"
20332 0 0         unless defined $_[1]->{phase};
20333             die "Out of bounds 'int': $_[1]->{phase}"
20334 0 0 0       unless (-2147483648 <= $_[1]->{phase} and $_[1]->{phase} < 2147483648);
20335             die "Non-integer 'int' value given: $_[1]->{phase}"
20336 0 0         unless int($_[1]->{phase}) == $_[1]->{phase};
20337 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{phase});
20338 0           $_[2] += 4;
20339              
20340             # Serializing field: 'local'
20341             croak "Missing required input value 'local'"
20342 0 0         unless exists $_[1]->{local};
20343             # my ($class, $value, $index, $output) = @_;
20344 0           $_[0]->serialize_domain_event_graphics_address( $_[1]->{local}, $_[2], $_[3] );
20345              
20346             # Serializing field: 'remote'
20347             croak "Missing required input value 'remote'"
20348 0 0         unless exists $_[1]->{remote};
20349             # my ($class, $value, $index, $output) = @_;
20350 0           $_[0]->serialize_domain_event_graphics_address( $_[1]->{remote}, $_[2], $_[3] );
20351              
20352             # Serializing field: 'authScheme'
20353             croak "Missing required input value 'authScheme'"
20354 0 0         unless exists $_[1]->{authScheme};
20355             # my ($class, $value, $index, $output) = @_;
20356 0           $_[0]->serialize_nonnull_string( $_[1]->{authScheme}, $_[2], $_[3] );
20357              
20358             # Serializing field: 'subject'
20359             croak "Missing required input value 'subject'"
20360 0 0         unless exists $_[1]->{subject};
20361             # my ($class, $value, $index, $output) = @_;
20362             croak "Missing required input 'array' value"
20363 0 0         unless defined $_[1]->{subject};
20364 0           do {
20365 0           my $len = scalar @{ $_[1]->{subject} };
  0            
20366 0 0         die "Array too long (max: 20): $len"
20367             unless ($len <= 20);
20368              
20369 0           substr( $_[3], $_[2] ) = pack("L>", $len);
20370 0           $_[2] += 4;
20371 0           for my $i1 ( 0 .. ($len - 1) ) {
20372             # my ($class, $value, $index, $output) = @_;
20373 0           $_[0]->serialize_domain_event_graphics_identity( $_[1]->{subject}->[$i1], $_[2], $_[3] );
20374             }
20375             };
20376             }
20377             # @_: ($class, $value, $index, $input) = @_;
20378             sub deserialize_domain_event_callback_graphics_msg {
20379 0     0 0   my $input_length = length $_[3];
20380 0           $_[1] = {};
20381             # Deserializing field: 'callbackID'
20382             # my ($class, $value, $index, $input) = @_;
20383 0 0         die "Input buffer too short"
20384             if ($input_length - $_[2]) < 4;
20385 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20386 0           $_[2] += 4;
20387             die "Out of bounds 'int': $_[1]->{callbackID}"
20388 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20389              
20390             # Deserializing field: 'msg'
20391             # my ($class, $value, $index, $input) = @_;
20392 0           $_[0]->deserialize_domain_event_graphics_msg( $_[1]->{msg}, $_[2], $_[3] );
20393             }
20394             # @_: ($class, $value, $index, $output) = @_;
20395             sub serialize_domain_event_callback_graphics_msg {
20396 0 0   0 0   croak "Missing required input 'struct' value"
20397             unless defined $_[1];
20398              
20399             # Serializing field: 'callbackID'
20400             croak "Missing required input value 'callbackID'"
20401 0 0         unless exists $_[1]->{callbackID};
20402             # my ($class, $value, $index, $output) = @_;
20403             croak "Missing required input 'int' value"
20404 0 0         unless defined $_[1]->{callbackID};
20405             die "Out of bounds 'int': $_[1]->{callbackID}"
20406 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20407             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20408 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20409 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20410 0           $_[2] += 4;
20411              
20412             # Serializing field: 'msg'
20413             croak "Missing required input value 'msg'"
20414 0 0         unless exists $_[1]->{msg};
20415             # my ($class, $value, $index, $output) = @_;
20416 0           $_[0]->serialize_domain_event_graphics_msg( $_[1]->{msg}, $_[2], $_[3] );
20417             }
20418             # @_: ($class, $value, $index, $input) = @_;
20419             sub deserialize_domain_event_block_job_msg {
20420 0     0 0   my $input_length = length $_[3];
20421 0           $_[1] = {};
20422             # Deserializing field: 'dom'
20423             # my ($class, $value, $index, $input) = @_;
20424 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20425              
20426             # Deserializing field: 'path'
20427             # my ($class, $value, $index, $input) = @_;
20428 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
20429              
20430             # Deserializing field: 'type'
20431             # my ($class, $value, $index, $input) = @_;
20432 0 0         die "Input buffer too short"
20433             if ($input_length - $_[2]) < 4;
20434 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
20435 0           $_[2] += 4;
20436             die "Out of bounds 'int': $_[1]->{type}"
20437 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
20438              
20439             # Deserializing field: 'status'
20440             # my ($class, $value, $index, $input) = @_;
20441 0 0         die "Input buffer too short"
20442             if ($input_length - $_[2]) < 4;
20443 0           $_[1]->{status} = unpack("l>", substr( $_[3], $_[2] ));
20444 0           $_[2] += 4;
20445             die "Out of bounds 'int': $_[1]->{status}"
20446 0 0 0       unless (-2147483648 <= $_[1]->{status} and $_[1]->{status} < 2147483648);
20447             }
20448             # @_: ($class, $value, $index, $output) = @_;
20449             sub serialize_domain_event_block_job_msg {
20450 0 0   0 0   croak "Missing required input 'struct' value"
20451             unless defined $_[1];
20452              
20453             # Serializing field: 'dom'
20454             croak "Missing required input value 'dom'"
20455 0 0         unless exists $_[1]->{dom};
20456             # my ($class, $value, $index, $output) = @_;
20457 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20458              
20459             # Serializing field: 'path'
20460             croak "Missing required input value 'path'"
20461 0 0         unless exists $_[1]->{path};
20462             # my ($class, $value, $index, $output) = @_;
20463 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
20464              
20465             # Serializing field: 'type'
20466             croak "Missing required input value 'type'"
20467 0 0         unless exists $_[1]->{type};
20468             # my ($class, $value, $index, $output) = @_;
20469             croak "Missing required input 'int' value"
20470 0 0         unless defined $_[1]->{type};
20471             die "Out of bounds 'int': $_[1]->{type}"
20472 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
20473             die "Non-integer 'int' value given: $_[1]->{type}"
20474 0 0         unless int($_[1]->{type}) == $_[1]->{type};
20475 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
20476 0           $_[2] += 4;
20477              
20478             # Serializing field: 'status'
20479             croak "Missing required input value 'status'"
20480 0 0         unless exists $_[1]->{status};
20481             # my ($class, $value, $index, $output) = @_;
20482             croak "Missing required input 'int' value"
20483 0 0         unless defined $_[1]->{status};
20484             die "Out of bounds 'int': $_[1]->{status}"
20485 0 0 0       unless (-2147483648 <= $_[1]->{status} and $_[1]->{status} < 2147483648);
20486             die "Non-integer 'int' value given: $_[1]->{status}"
20487 0 0         unless int($_[1]->{status}) == $_[1]->{status};
20488 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{status});
20489 0           $_[2] += 4;
20490             }
20491             # @_: ($class, $value, $index, $input) = @_;
20492             sub deserialize_domain_event_callback_block_job_msg {
20493 0     0 0   my $input_length = length $_[3];
20494 0           $_[1] = {};
20495             # Deserializing field: 'callbackID'
20496             # my ($class, $value, $index, $input) = @_;
20497 0 0         die "Input buffer too short"
20498             if ($input_length - $_[2]) < 4;
20499 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20500 0           $_[2] += 4;
20501             die "Out of bounds 'int': $_[1]->{callbackID}"
20502 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20503              
20504             # Deserializing field: 'msg'
20505             # my ($class, $value, $index, $input) = @_;
20506 0           $_[0]->deserialize_domain_event_block_job_msg( $_[1]->{msg}, $_[2], $_[3] );
20507             }
20508             # @_: ($class, $value, $index, $output) = @_;
20509             sub serialize_domain_event_callback_block_job_msg {
20510 0 0   0 0   croak "Missing required input 'struct' value"
20511             unless defined $_[1];
20512              
20513             # Serializing field: 'callbackID'
20514             croak "Missing required input value 'callbackID'"
20515 0 0         unless exists $_[1]->{callbackID};
20516             # my ($class, $value, $index, $output) = @_;
20517             croak "Missing required input 'int' value"
20518 0 0         unless defined $_[1]->{callbackID};
20519             die "Out of bounds 'int': $_[1]->{callbackID}"
20520 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20521             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20522 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20523 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20524 0           $_[2] += 4;
20525              
20526             # Serializing field: 'msg'
20527             croak "Missing required input value 'msg'"
20528 0 0         unless exists $_[1]->{msg};
20529             # my ($class, $value, $index, $output) = @_;
20530 0           $_[0]->serialize_domain_event_block_job_msg( $_[1]->{msg}, $_[2], $_[3] );
20531             }
20532             # @_: ($class, $value, $index, $input) = @_;
20533             sub deserialize_domain_event_disk_change_msg {
20534 0     0 0   my $input_length = length $_[3];
20535 0           $_[1] = {};
20536             # Deserializing field: 'dom'
20537             # my ($class, $value, $index, $input) = @_;
20538 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20539              
20540             # Deserializing field: 'oldSrcPath'
20541             # my ($class, $value, $index, $input) = @_;
20542 0           $_[0]->deserialize_string( $_[1]->{oldSrcPath}, $_[2], $_[3] );
20543              
20544             # Deserializing field: 'newSrcPath'
20545             # my ($class, $value, $index, $input) = @_;
20546 0           $_[0]->deserialize_string( $_[1]->{newSrcPath}, $_[2], $_[3] );
20547              
20548             # Deserializing field: 'devAlias'
20549             # my ($class, $value, $index, $input) = @_;
20550 0           $_[0]->deserialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
20551              
20552             # Deserializing field: 'reason'
20553             # my ($class, $value, $index, $input) = @_;
20554 0 0         die "Input buffer too short"
20555             if ($input_length - $_[2]) < 4;
20556 0           $_[1]->{reason} = unpack("l>", substr( $_[3], $_[2] ));
20557 0           $_[2] += 4;
20558             die "Out of bounds 'int': $_[1]->{reason}"
20559 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
20560             }
20561             # @_: ($class, $value, $index, $output) = @_;
20562             sub serialize_domain_event_disk_change_msg {
20563 0 0   0 0   croak "Missing required input 'struct' value"
20564             unless defined $_[1];
20565              
20566             # Serializing field: 'dom'
20567             croak "Missing required input value 'dom'"
20568 0 0         unless exists $_[1]->{dom};
20569             # my ($class, $value, $index, $output) = @_;
20570 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20571              
20572             # Serializing field: 'oldSrcPath'
20573             croak "Missing required input value 'oldSrcPath'"
20574 0 0         unless exists $_[1]->{oldSrcPath};
20575             # my ($class, $value, $index, $output) = @_;
20576 0           $_[0]->serialize_string( $_[1]->{oldSrcPath}, $_[2], $_[3] );
20577              
20578             # Serializing field: 'newSrcPath'
20579             croak "Missing required input value 'newSrcPath'"
20580 0 0         unless exists $_[1]->{newSrcPath};
20581             # my ($class, $value, $index, $output) = @_;
20582 0           $_[0]->serialize_string( $_[1]->{newSrcPath}, $_[2], $_[3] );
20583              
20584             # Serializing field: 'devAlias'
20585             croak "Missing required input value 'devAlias'"
20586 0 0         unless exists $_[1]->{devAlias};
20587             # my ($class, $value, $index, $output) = @_;
20588 0           $_[0]->serialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
20589              
20590             # Serializing field: 'reason'
20591             croak "Missing required input value 'reason'"
20592 0 0         unless exists $_[1]->{reason};
20593             # my ($class, $value, $index, $output) = @_;
20594             croak "Missing required input 'int' value"
20595 0 0         unless defined $_[1]->{reason};
20596             die "Out of bounds 'int': $_[1]->{reason}"
20597 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
20598             die "Non-integer 'int' value given: $_[1]->{reason}"
20599 0 0         unless int($_[1]->{reason}) == $_[1]->{reason};
20600 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{reason});
20601 0           $_[2] += 4;
20602             }
20603             # @_: ($class, $value, $index, $input) = @_;
20604             sub deserialize_domain_event_callback_disk_change_msg {
20605 0     0 0   my $input_length = length $_[3];
20606 0           $_[1] = {};
20607             # Deserializing field: 'callbackID'
20608             # my ($class, $value, $index, $input) = @_;
20609 0 0         die "Input buffer too short"
20610             if ($input_length - $_[2]) < 4;
20611 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20612 0           $_[2] += 4;
20613             die "Out of bounds 'int': $_[1]->{callbackID}"
20614 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20615              
20616             # Deserializing field: 'msg'
20617             # my ($class, $value, $index, $input) = @_;
20618 0           $_[0]->deserialize_domain_event_disk_change_msg( $_[1]->{msg}, $_[2], $_[3] );
20619             }
20620             # @_: ($class, $value, $index, $output) = @_;
20621             sub serialize_domain_event_callback_disk_change_msg {
20622 0 0   0 0   croak "Missing required input 'struct' value"
20623             unless defined $_[1];
20624              
20625             # Serializing field: 'callbackID'
20626             croak "Missing required input value 'callbackID'"
20627 0 0         unless exists $_[1]->{callbackID};
20628             # my ($class, $value, $index, $output) = @_;
20629             croak "Missing required input 'int' value"
20630 0 0         unless defined $_[1]->{callbackID};
20631             die "Out of bounds 'int': $_[1]->{callbackID}"
20632 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20633             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20634 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20635 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20636 0           $_[2] += 4;
20637              
20638             # Serializing field: 'msg'
20639             croak "Missing required input value 'msg'"
20640 0 0         unless exists $_[1]->{msg};
20641             # my ($class, $value, $index, $output) = @_;
20642 0           $_[0]->serialize_domain_event_disk_change_msg( $_[1]->{msg}, $_[2], $_[3] );
20643             }
20644             # @_: ($class, $value, $index, $input) = @_;
20645             sub deserialize_domain_event_tray_change_msg {
20646 0     0 0   my $input_length = length $_[3];
20647 0           $_[1] = {};
20648             # Deserializing field: 'dom'
20649             # my ($class, $value, $index, $input) = @_;
20650 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20651              
20652             # Deserializing field: 'devAlias'
20653             # my ($class, $value, $index, $input) = @_;
20654 0           $_[0]->deserialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
20655              
20656             # Deserializing field: 'reason'
20657             # my ($class, $value, $index, $input) = @_;
20658 0 0         die "Input buffer too short"
20659             if ($input_length - $_[2]) < 4;
20660 0           $_[1]->{reason} = unpack("l>", substr( $_[3], $_[2] ));
20661 0           $_[2] += 4;
20662             die "Out of bounds 'int': $_[1]->{reason}"
20663 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
20664             }
20665             # @_: ($class, $value, $index, $output) = @_;
20666             sub serialize_domain_event_tray_change_msg {
20667 0 0   0 0   croak "Missing required input 'struct' value"
20668             unless defined $_[1];
20669              
20670             # Serializing field: 'dom'
20671             croak "Missing required input value 'dom'"
20672 0 0         unless exists $_[1]->{dom};
20673             # my ($class, $value, $index, $output) = @_;
20674 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20675              
20676             # Serializing field: 'devAlias'
20677             croak "Missing required input value 'devAlias'"
20678 0 0         unless exists $_[1]->{devAlias};
20679             # my ($class, $value, $index, $output) = @_;
20680 0           $_[0]->serialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
20681              
20682             # Serializing field: 'reason'
20683             croak "Missing required input value 'reason'"
20684 0 0         unless exists $_[1]->{reason};
20685             # my ($class, $value, $index, $output) = @_;
20686             croak "Missing required input 'int' value"
20687 0 0         unless defined $_[1]->{reason};
20688             die "Out of bounds 'int': $_[1]->{reason}"
20689 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
20690             die "Non-integer 'int' value given: $_[1]->{reason}"
20691 0 0         unless int($_[1]->{reason}) == $_[1]->{reason};
20692 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{reason});
20693 0           $_[2] += 4;
20694             }
20695             # @_: ($class, $value, $index, $input) = @_;
20696             sub deserialize_domain_event_callback_tray_change_msg {
20697 0     0 0   my $input_length = length $_[3];
20698 0           $_[1] = {};
20699             # Deserializing field: 'callbackID'
20700             # my ($class, $value, $index, $input) = @_;
20701 0 0         die "Input buffer too short"
20702             if ($input_length - $_[2]) < 4;
20703 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20704 0           $_[2] += 4;
20705             die "Out of bounds 'int': $_[1]->{callbackID}"
20706 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20707              
20708             # Deserializing field: 'msg'
20709             # my ($class, $value, $index, $input) = @_;
20710 0           $_[0]->deserialize_domain_event_tray_change_msg( $_[1]->{msg}, $_[2], $_[3] );
20711             }
20712             # @_: ($class, $value, $index, $output) = @_;
20713             sub serialize_domain_event_callback_tray_change_msg {
20714 0 0   0 0   croak "Missing required input 'struct' value"
20715             unless defined $_[1];
20716              
20717             # Serializing field: 'callbackID'
20718             croak "Missing required input value 'callbackID'"
20719 0 0         unless exists $_[1]->{callbackID};
20720             # my ($class, $value, $index, $output) = @_;
20721             croak "Missing required input 'int' value"
20722 0 0         unless defined $_[1]->{callbackID};
20723             die "Out of bounds 'int': $_[1]->{callbackID}"
20724 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20725             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20726 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20727 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20728 0           $_[2] += 4;
20729              
20730             # Serializing field: 'msg'
20731             croak "Missing required input value 'msg'"
20732 0 0         unless exists $_[1]->{msg};
20733             # my ($class, $value, $index, $output) = @_;
20734 0           $_[0]->serialize_domain_event_tray_change_msg( $_[1]->{msg}, $_[2], $_[3] );
20735             }
20736             # @_: ($class, $value, $index, $input) = @_;
20737             sub deserialize_domain_event_pmwakeup_msg {
20738 0     0 0   my $input_length = length $_[3];
20739 0           $_[1] = {};
20740             # Deserializing field: 'dom'
20741             # my ($class, $value, $index, $input) = @_;
20742 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20743             }
20744             # @_: ($class, $value, $index, $output) = @_;
20745             sub serialize_domain_event_pmwakeup_msg {
20746 0 0   0 0   croak "Missing required input 'struct' value"
20747             unless defined $_[1];
20748              
20749             # Serializing field: 'dom'
20750             croak "Missing required input value 'dom'"
20751 0 0         unless exists $_[1]->{dom};
20752             # my ($class, $value, $index, $output) = @_;
20753 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20754             }
20755             # @_: ($class, $value, $index, $input) = @_;
20756             sub deserialize_domain_event_callback_pmwakeup_msg {
20757 0     0 0   my $input_length = length $_[3];
20758 0           $_[1] = {};
20759             # Deserializing field: 'callbackID'
20760             # my ($class, $value, $index, $input) = @_;
20761 0 0         die "Input buffer too short"
20762             if ($input_length - $_[2]) < 4;
20763 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20764 0           $_[2] += 4;
20765             die "Out of bounds 'int': $_[1]->{callbackID}"
20766 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20767              
20768             # Deserializing field: 'reason'
20769             # my ($class, $value, $index, $input) = @_;
20770 0 0         die "Input buffer too short"
20771             if ($input_length - $_[2]) < 4;
20772 0           $_[1]->{reason} = unpack("l>", substr( $_[3], $_[2] ));
20773 0           $_[2] += 4;
20774             die "Out of bounds 'int': $_[1]->{reason}"
20775 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
20776              
20777             # Deserializing field: 'msg'
20778             # my ($class, $value, $index, $input) = @_;
20779 0           $_[0]->deserialize_domain_event_pmwakeup_msg( $_[1]->{msg}, $_[2], $_[3] );
20780             }
20781             # @_: ($class, $value, $index, $output) = @_;
20782             sub serialize_domain_event_callback_pmwakeup_msg {
20783 0 0   0 0   croak "Missing required input 'struct' value"
20784             unless defined $_[1];
20785              
20786             # Serializing field: 'callbackID'
20787             croak "Missing required input value 'callbackID'"
20788 0 0         unless exists $_[1]->{callbackID};
20789             # my ($class, $value, $index, $output) = @_;
20790             croak "Missing required input 'int' value"
20791 0 0         unless defined $_[1]->{callbackID};
20792             die "Out of bounds 'int': $_[1]->{callbackID}"
20793 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20794             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20795 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20796 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20797 0           $_[2] += 4;
20798              
20799             # Serializing field: 'reason'
20800             croak "Missing required input value 'reason'"
20801 0 0         unless exists $_[1]->{reason};
20802             # my ($class, $value, $index, $output) = @_;
20803             croak "Missing required input 'int' value"
20804 0 0         unless defined $_[1]->{reason};
20805             die "Out of bounds 'int': $_[1]->{reason}"
20806 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
20807             die "Non-integer 'int' value given: $_[1]->{reason}"
20808 0 0         unless int($_[1]->{reason}) == $_[1]->{reason};
20809 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{reason});
20810 0           $_[2] += 4;
20811              
20812             # Serializing field: 'msg'
20813             croak "Missing required input value 'msg'"
20814 0 0         unless exists $_[1]->{msg};
20815             # my ($class, $value, $index, $output) = @_;
20816 0           $_[0]->serialize_domain_event_pmwakeup_msg( $_[1]->{msg}, $_[2], $_[3] );
20817             }
20818             # @_: ($class, $value, $index, $input) = @_;
20819             sub deserialize_domain_event_pmsuspend_msg {
20820 0     0 0   my $input_length = length $_[3];
20821 0           $_[1] = {};
20822             # Deserializing field: 'dom'
20823             # my ($class, $value, $index, $input) = @_;
20824 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20825             }
20826             # @_: ($class, $value, $index, $output) = @_;
20827             sub serialize_domain_event_pmsuspend_msg {
20828 0 0   0 0   croak "Missing required input 'struct' value"
20829             unless defined $_[1];
20830              
20831             # Serializing field: 'dom'
20832             croak "Missing required input value 'dom'"
20833 0 0         unless exists $_[1]->{dom};
20834             # my ($class, $value, $index, $output) = @_;
20835 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20836             }
20837             # @_: ($class, $value, $index, $input) = @_;
20838             sub deserialize_domain_event_callback_pmsuspend_msg {
20839 0     0 0   my $input_length = length $_[3];
20840 0           $_[1] = {};
20841             # Deserializing field: 'callbackID'
20842             # my ($class, $value, $index, $input) = @_;
20843 0 0         die "Input buffer too short"
20844             if ($input_length - $_[2]) < 4;
20845 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20846 0           $_[2] += 4;
20847             die "Out of bounds 'int': $_[1]->{callbackID}"
20848 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20849              
20850             # Deserializing field: 'reason'
20851             # my ($class, $value, $index, $input) = @_;
20852 0 0         die "Input buffer too short"
20853             if ($input_length - $_[2]) < 4;
20854 0           $_[1]->{reason} = unpack("l>", substr( $_[3], $_[2] ));
20855 0           $_[2] += 4;
20856             die "Out of bounds 'int': $_[1]->{reason}"
20857 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
20858              
20859             # Deserializing field: 'msg'
20860             # my ($class, $value, $index, $input) = @_;
20861 0           $_[0]->deserialize_domain_event_pmsuspend_msg( $_[1]->{msg}, $_[2], $_[3] );
20862             }
20863             # @_: ($class, $value, $index, $output) = @_;
20864             sub serialize_domain_event_callback_pmsuspend_msg {
20865 0 0   0 0   croak "Missing required input 'struct' value"
20866             unless defined $_[1];
20867              
20868             # Serializing field: 'callbackID'
20869             croak "Missing required input value 'callbackID'"
20870 0 0         unless exists $_[1]->{callbackID};
20871             # my ($class, $value, $index, $output) = @_;
20872             croak "Missing required input 'int' value"
20873 0 0         unless defined $_[1]->{callbackID};
20874             die "Out of bounds 'int': $_[1]->{callbackID}"
20875 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20876             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20877 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20878 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20879 0           $_[2] += 4;
20880              
20881             # Serializing field: 'reason'
20882             croak "Missing required input value 'reason'"
20883 0 0         unless exists $_[1]->{reason};
20884             # my ($class, $value, $index, $output) = @_;
20885             croak "Missing required input 'int' value"
20886 0 0         unless defined $_[1]->{reason};
20887             die "Out of bounds 'int': $_[1]->{reason}"
20888 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
20889             die "Non-integer 'int' value given: $_[1]->{reason}"
20890 0 0         unless int($_[1]->{reason}) == $_[1]->{reason};
20891 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{reason});
20892 0           $_[2] += 4;
20893              
20894             # Serializing field: 'msg'
20895             croak "Missing required input value 'msg'"
20896 0 0         unless exists $_[1]->{msg};
20897             # my ($class, $value, $index, $output) = @_;
20898 0           $_[0]->serialize_domain_event_pmsuspend_msg( $_[1]->{msg}, $_[2], $_[3] );
20899             }
20900             # @_: ($class, $value, $index, $input) = @_;
20901             sub deserialize_domain_event_balloon_change_msg {
20902 0     0 0   my $input_length = length $_[3];
20903 0           $_[1] = {};
20904             # Deserializing field: 'dom'
20905             # my ($class, $value, $index, $input) = @_;
20906 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20907              
20908             # Deserializing field: 'actual'
20909             # my ($class, $value, $index, $input) = @_;
20910 0 0         die "Input buffer too short"
20911             if ($input_length - $_[2]) < 8;
20912 0           $_[1]->{actual} = unpack("Q>", substr( $_[3], $_[2] ));
20913 0           $_[2] += 8;
20914             die "Out of bounds 'unsigned hyper': $_[1]->{actual}"
20915             unless (0 <= $_[1]->{actual}
20916 0 0 0       and $_[1]->{actual} <= 18446744073709551615);
20917             }
20918             # @_: ($class, $value, $index, $output) = @_;
20919             sub serialize_domain_event_balloon_change_msg {
20920 0 0   0 0   croak "Missing required input 'struct' value"
20921             unless defined $_[1];
20922              
20923             # Serializing field: 'dom'
20924             croak "Missing required input value 'dom'"
20925 0 0         unless exists $_[1]->{dom};
20926             # my ($class, $value, $index, $output) = @_;
20927 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20928              
20929             # Serializing field: 'actual'
20930             croak "Missing required input value 'actual'"
20931 0 0         unless exists $_[1]->{actual};
20932             # my ($class, $value, $index, $output) = @_;
20933             croak "Missing required input 'unsigned long' value"
20934 0 0         unless defined $_[1]->{actual};
20935             die "Out of bounds 'unsigned hyper': $_[1]->{actual}"
20936             unless (0 <= $_[1]->{actual}
20937 0 0 0       and $_[1]->{actual} <= 18446744073709551615);
20938             die "Non-integer 'long' value given: $_[1]->{actual}"
20939 0 0         unless int($_[1]->{actual}) == $_[1]->{actual};
20940 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{actual});
20941 0           $_[2] += 8;
20942             }
20943             # @_: ($class, $value, $index, $input) = @_;
20944             sub deserialize_domain_event_callback_balloon_change_msg {
20945 0     0 0   my $input_length = length $_[3];
20946 0           $_[1] = {};
20947             # Deserializing field: 'callbackID'
20948             # my ($class, $value, $index, $input) = @_;
20949 0 0         die "Input buffer too short"
20950             if ($input_length - $_[2]) < 4;
20951 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20952 0           $_[2] += 4;
20953             die "Out of bounds 'int': $_[1]->{callbackID}"
20954 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20955              
20956             # Deserializing field: 'msg'
20957             # my ($class, $value, $index, $input) = @_;
20958 0           $_[0]->deserialize_domain_event_balloon_change_msg( $_[1]->{msg}, $_[2], $_[3] );
20959             }
20960             # @_: ($class, $value, $index, $output) = @_;
20961             sub serialize_domain_event_callback_balloon_change_msg {
20962 0 0   0 0   croak "Missing required input 'struct' value"
20963             unless defined $_[1];
20964              
20965             # Serializing field: 'callbackID'
20966             croak "Missing required input value 'callbackID'"
20967 0 0         unless exists $_[1]->{callbackID};
20968             # my ($class, $value, $index, $output) = @_;
20969             croak "Missing required input 'int' value"
20970 0 0         unless defined $_[1]->{callbackID};
20971             die "Out of bounds 'int': $_[1]->{callbackID}"
20972 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20973             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20974 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20975 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20976 0           $_[2] += 4;
20977              
20978             # Serializing field: 'msg'
20979             croak "Missing required input value 'msg'"
20980 0 0         unless exists $_[1]->{msg};
20981             # my ($class, $value, $index, $output) = @_;
20982 0           $_[0]->serialize_domain_event_balloon_change_msg( $_[1]->{msg}, $_[2], $_[3] );
20983             }
20984             # @_: ($class, $value, $index, $input) = @_;
20985             sub deserialize_domain_event_pmsuspend_disk_msg {
20986 0     0 0   my $input_length = length $_[3];
20987 0           $_[1] = {};
20988             # Deserializing field: 'dom'
20989             # my ($class, $value, $index, $input) = @_;
20990 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20991             }
20992             # @_: ($class, $value, $index, $output) = @_;
20993             sub serialize_domain_event_pmsuspend_disk_msg {
20994 0 0   0 0   croak "Missing required input 'struct' value"
20995             unless defined $_[1];
20996              
20997             # Serializing field: 'dom'
20998             croak "Missing required input value 'dom'"
20999 0 0         unless exists $_[1]->{dom};
21000             # my ($class, $value, $index, $output) = @_;
21001 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21002             }
21003             # @_: ($class, $value, $index, $input) = @_;
21004             sub deserialize_domain_event_callback_pmsuspend_disk_msg {
21005 0     0 0   my $input_length = length $_[3];
21006 0           $_[1] = {};
21007             # Deserializing field: 'callbackID'
21008             # my ($class, $value, $index, $input) = @_;
21009 0 0         die "Input buffer too short"
21010             if ($input_length - $_[2]) < 4;
21011 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
21012 0           $_[2] += 4;
21013             die "Out of bounds 'int': $_[1]->{callbackID}"
21014 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
21015              
21016             # Deserializing field: 'reason'
21017             # my ($class, $value, $index, $input) = @_;
21018 0 0         die "Input buffer too short"
21019             if ($input_length - $_[2]) < 4;
21020 0           $_[1]->{reason} = unpack("l>", substr( $_[3], $_[2] ));
21021 0           $_[2] += 4;
21022             die "Out of bounds 'int': $_[1]->{reason}"
21023 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
21024              
21025             # Deserializing field: 'msg'
21026             # my ($class, $value, $index, $input) = @_;
21027 0           $_[0]->deserialize_domain_event_pmsuspend_disk_msg( $_[1]->{msg}, $_[2], $_[3] );
21028             }
21029             # @_: ($class, $value, $index, $output) = @_;
21030             sub serialize_domain_event_callback_pmsuspend_disk_msg {
21031 0 0   0 0   croak "Missing required input 'struct' value"
21032             unless defined $_[1];
21033              
21034             # Serializing field: 'callbackID'
21035             croak "Missing required input value 'callbackID'"
21036 0 0         unless exists $_[1]->{callbackID};
21037             # my ($class, $value, $index, $output) = @_;
21038             croak "Missing required input 'int' value"
21039 0 0         unless defined $_[1]->{callbackID};
21040             die "Out of bounds 'int': $_[1]->{callbackID}"
21041 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
21042             die "Non-integer 'int' value given: $_[1]->{callbackID}"
21043 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
21044 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
21045 0           $_[2] += 4;
21046              
21047             # Serializing field: 'reason'
21048             croak "Missing required input value 'reason'"
21049 0 0         unless exists $_[1]->{reason};
21050             # my ($class, $value, $index, $output) = @_;
21051             croak "Missing required input 'int' value"
21052 0 0         unless defined $_[1]->{reason};
21053             die "Out of bounds 'int': $_[1]->{reason}"
21054 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
21055             die "Non-integer 'int' value given: $_[1]->{reason}"
21056 0 0         unless int($_[1]->{reason}) == $_[1]->{reason};
21057 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{reason});
21058 0           $_[2] += 4;
21059              
21060             # Serializing field: 'msg'
21061             croak "Missing required input value 'msg'"
21062 0 0         unless exists $_[1]->{msg};
21063             # my ($class, $value, $index, $output) = @_;
21064 0           $_[0]->serialize_domain_event_pmsuspend_disk_msg( $_[1]->{msg}, $_[2], $_[3] );
21065             }
21066             # @_: ($class, $value, $index, $input) = @_;
21067             sub deserialize_domain_managed_save_args {
21068 0     0 0   my $input_length = length $_[3];
21069 0           $_[1] = {};
21070             # Deserializing field: 'dom'
21071             # my ($class, $value, $index, $input) = @_;
21072 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21073              
21074             # Deserializing field: 'flags'
21075             # my ($class, $value, $index, $input) = @_;
21076 0 0         die "Input buffer too short"
21077             if ($input_length - $_[2]) < 4;
21078 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21079 0           $_[2] += 4;
21080             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21081 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21082             }
21083             # @_: ($class, $value, $index, $output) = @_;
21084             sub serialize_domain_managed_save_args {
21085 0 0   0 0   croak "Missing required input 'struct' value"
21086             unless defined $_[1];
21087              
21088             # Serializing field: 'dom'
21089             croak "Missing required input value 'dom'"
21090 0 0         unless exists $_[1]->{dom};
21091             # my ($class, $value, $index, $output) = @_;
21092 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21093              
21094             # Serializing field: 'flags'
21095             croak "Missing required input value 'flags'"
21096 0 0         unless exists $_[1]->{flags};
21097             # my ($class, $value, $index, $output) = @_;
21098             croak "Missing required input 'unsigned int' value"
21099 0 0         unless defined $_[1]->{flags};
21100             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21101 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21102             die "Non-integer 'int' value given: $_[1]->{flags}"
21103 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21104 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21105 0           $_[2] += 4;
21106             }
21107             # @_: ($class, $value, $index, $input) = @_;
21108             sub deserialize_domain_has_managed_save_image_args {
21109 0     0 0   my $input_length = length $_[3];
21110 0           $_[1] = {};
21111             # Deserializing field: 'dom'
21112             # my ($class, $value, $index, $input) = @_;
21113 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21114              
21115             # Deserializing field: 'flags'
21116             # my ($class, $value, $index, $input) = @_;
21117 0 0         die "Input buffer too short"
21118             if ($input_length - $_[2]) < 4;
21119 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21120 0           $_[2] += 4;
21121             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21122 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21123             }
21124             # @_: ($class, $value, $index, $output) = @_;
21125             sub serialize_domain_has_managed_save_image_args {
21126 0 0   0 0   croak "Missing required input 'struct' value"
21127             unless defined $_[1];
21128              
21129             # Serializing field: 'dom'
21130             croak "Missing required input value 'dom'"
21131 0 0         unless exists $_[1]->{dom};
21132             # my ($class, $value, $index, $output) = @_;
21133 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21134              
21135             # Serializing field: 'flags'
21136             croak "Missing required input value 'flags'"
21137 0 0         unless exists $_[1]->{flags};
21138             # my ($class, $value, $index, $output) = @_;
21139             croak "Missing required input 'unsigned int' value"
21140 0 0         unless defined $_[1]->{flags};
21141             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21142 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21143             die "Non-integer 'int' value given: $_[1]->{flags}"
21144 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21145 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21146 0           $_[2] += 4;
21147             }
21148             # @_: ($class, $value, $index, $input) = @_;
21149             sub deserialize_domain_has_managed_save_image_ret {
21150 0     0 0   my $input_length = length $_[3];
21151 0           $_[1] = {};
21152             # Deserializing field: 'result'
21153             # my ($class, $value, $index, $input) = @_;
21154 0 0         die "Input buffer too short"
21155             if ($input_length - $_[2]) < 4;
21156 0           $_[1]->{result} = unpack("l>", substr( $_[3], $_[2] ));
21157 0           $_[2] += 4;
21158             die "Out of bounds 'int': $_[1]->{result}"
21159 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
21160             }
21161             # @_: ($class, $value, $index, $output) = @_;
21162             sub serialize_domain_has_managed_save_image_ret {
21163 0 0   0 0   croak "Missing required input 'struct' value"
21164             unless defined $_[1];
21165              
21166             # Serializing field: 'result'
21167             croak "Missing required input value 'result'"
21168 0 0         unless exists $_[1]->{result};
21169             # my ($class, $value, $index, $output) = @_;
21170             croak "Missing required input 'int' value"
21171 0 0         unless defined $_[1]->{result};
21172             die "Out of bounds 'int': $_[1]->{result}"
21173 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
21174             die "Non-integer 'int' value given: $_[1]->{result}"
21175 0 0         unless int($_[1]->{result}) == $_[1]->{result};
21176 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{result});
21177 0           $_[2] += 4;
21178             }
21179             # @_: ($class, $value, $index, $input) = @_;
21180             sub deserialize_domain_managed_save_remove_args {
21181 0     0 0   my $input_length = length $_[3];
21182 0           $_[1] = {};
21183             # Deserializing field: 'dom'
21184             # my ($class, $value, $index, $input) = @_;
21185 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21186              
21187             # Deserializing field: 'flags'
21188             # my ($class, $value, $index, $input) = @_;
21189 0 0         die "Input buffer too short"
21190             if ($input_length - $_[2]) < 4;
21191 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21192 0           $_[2] += 4;
21193             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21194 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21195             }
21196             # @_: ($class, $value, $index, $output) = @_;
21197             sub serialize_domain_managed_save_remove_args {
21198 0 0   0 0   croak "Missing required input 'struct' value"
21199             unless defined $_[1];
21200              
21201             # Serializing field: 'dom'
21202             croak "Missing required input value 'dom'"
21203 0 0         unless exists $_[1]->{dom};
21204             # my ($class, $value, $index, $output) = @_;
21205 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21206              
21207             # Serializing field: 'flags'
21208             croak "Missing required input value 'flags'"
21209 0 0         unless exists $_[1]->{flags};
21210             # my ($class, $value, $index, $output) = @_;
21211             croak "Missing required input 'unsigned int' value"
21212 0 0         unless defined $_[1]->{flags};
21213             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21214 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21215             die "Non-integer 'int' value given: $_[1]->{flags}"
21216 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21217 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21218 0           $_[2] += 4;
21219             }
21220             # @_: ($class, $value, $index, $input) = @_;
21221             sub deserialize_domain_managed_save_get_xml_desc_args {
21222 0     0 0   my $input_length = length $_[3];
21223 0           $_[1] = {};
21224             # Deserializing field: 'dom'
21225             # my ($class, $value, $index, $input) = @_;
21226 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21227              
21228             # Deserializing field: 'flags'
21229             # my ($class, $value, $index, $input) = @_;
21230 0 0         die "Input buffer too short"
21231             if ($input_length - $_[2]) < 4;
21232 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21233 0           $_[2] += 4;
21234             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21235 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21236             }
21237             # @_: ($class, $value, $index, $output) = @_;
21238             sub serialize_domain_managed_save_get_xml_desc_args {
21239 0 0   0 0   croak "Missing required input 'struct' value"
21240             unless defined $_[1];
21241              
21242             # Serializing field: 'dom'
21243             croak "Missing required input value 'dom'"
21244 0 0         unless exists $_[1]->{dom};
21245             # my ($class, $value, $index, $output) = @_;
21246 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21247              
21248             # Serializing field: 'flags'
21249             croak "Missing required input value 'flags'"
21250 0 0         unless exists $_[1]->{flags};
21251             # my ($class, $value, $index, $output) = @_;
21252             croak "Missing required input 'unsigned int' value"
21253 0 0         unless defined $_[1]->{flags};
21254             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21255 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21256             die "Non-integer 'int' value given: $_[1]->{flags}"
21257 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21258 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21259 0           $_[2] += 4;
21260             }
21261             # @_: ($class, $value, $index, $input) = @_;
21262             sub deserialize_domain_managed_save_get_xml_desc_ret {
21263 0     0 0   my $input_length = length $_[3];
21264 0           $_[1] = {};
21265             # Deserializing field: 'xml'
21266             # my ($class, $value, $index, $input) = @_;
21267 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
21268             }
21269             # @_: ($class, $value, $index, $output) = @_;
21270             sub serialize_domain_managed_save_get_xml_desc_ret {
21271 0 0   0 0   croak "Missing required input 'struct' value"
21272             unless defined $_[1];
21273              
21274             # Serializing field: 'xml'
21275             croak "Missing required input value 'xml'"
21276 0 0         unless exists $_[1]->{xml};
21277             # my ($class, $value, $index, $output) = @_;
21278 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
21279             }
21280             # @_: ($class, $value, $index, $input) = @_;
21281             sub deserialize_domain_managed_save_define_xml_args {
21282 0     0 0   my $input_length = length $_[3];
21283 0           $_[1] = {};
21284             # Deserializing field: 'dom'
21285             # my ($class, $value, $index, $input) = @_;
21286 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21287              
21288             # Deserializing field: 'dxml'
21289             # my ($class, $value, $index, $input) = @_;
21290 0           $_[0]->deserialize_string( $_[1]->{dxml}, $_[2], $_[3] );
21291              
21292             # Deserializing field: 'flags'
21293             # my ($class, $value, $index, $input) = @_;
21294 0 0         die "Input buffer too short"
21295             if ($input_length - $_[2]) < 4;
21296 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21297 0           $_[2] += 4;
21298             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21299 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21300             }
21301             # @_: ($class, $value, $index, $output) = @_;
21302             sub serialize_domain_managed_save_define_xml_args {
21303 0 0   0 0   croak "Missing required input 'struct' value"
21304             unless defined $_[1];
21305              
21306             # Serializing field: 'dom'
21307             croak "Missing required input value 'dom'"
21308 0 0         unless exists $_[1]->{dom};
21309             # my ($class, $value, $index, $output) = @_;
21310 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21311              
21312             # Serializing field: 'dxml'
21313             croak "Missing required input value 'dxml'"
21314 0 0         unless exists $_[1]->{dxml};
21315             # my ($class, $value, $index, $output) = @_;
21316 0           $_[0]->serialize_string( $_[1]->{dxml}, $_[2], $_[3] );
21317              
21318             # Serializing field: 'flags'
21319             croak "Missing required input value 'flags'"
21320 0 0         unless exists $_[1]->{flags};
21321             # my ($class, $value, $index, $output) = @_;
21322             croak "Missing required input 'unsigned int' value"
21323 0 0         unless defined $_[1]->{flags};
21324             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21325 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21326             die "Non-integer 'int' value given: $_[1]->{flags}"
21327 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21328 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21329 0           $_[2] += 4;
21330             }
21331             # @_: ($class, $value, $index, $input) = @_;
21332             sub deserialize_domain_snapshot_create_xml_args {
21333 0     0 0   my $input_length = length $_[3];
21334 0           $_[1] = {};
21335             # Deserializing field: 'dom'
21336             # my ($class, $value, $index, $input) = @_;
21337 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21338              
21339             # Deserializing field: 'xml_desc'
21340             # my ($class, $value, $index, $input) = @_;
21341 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
21342              
21343             # Deserializing field: 'flags'
21344             # my ($class, $value, $index, $input) = @_;
21345 0 0         die "Input buffer too short"
21346             if ($input_length - $_[2]) < 4;
21347 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21348 0           $_[2] += 4;
21349             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21350 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21351             }
21352             # @_: ($class, $value, $index, $output) = @_;
21353             sub serialize_domain_snapshot_create_xml_args {
21354 0 0   0 0   croak "Missing required input 'struct' value"
21355             unless defined $_[1];
21356              
21357             # Serializing field: 'dom'
21358             croak "Missing required input value 'dom'"
21359 0 0         unless exists $_[1]->{dom};
21360             # my ($class, $value, $index, $output) = @_;
21361 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21362              
21363             # Serializing field: 'xml_desc'
21364             croak "Missing required input value 'xml_desc'"
21365 0 0         unless exists $_[1]->{xml_desc};
21366             # my ($class, $value, $index, $output) = @_;
21367 0           $_[0]->serialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
21368              
21369             # Serializing field: 'flags'
21370             croak "Missing required input value 'flags'"
21371 0 0         unless exists $_[1]->{flags};
21372             # my ($class, $value, $index, $output) = @_;
21373             croak "Missing required input 'unsigned int' value"
21374 0 0         unless defined $_[1]->{flags};
21375             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21376 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21377             die "Non-integer 'int' value given: $_[1]->{flags}"
21378 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21379 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21380 0           $_[2] += 4;
21381             }
21382             # @_: ($class, $value, $index, $input) = @_;
21383             sub deserialize_domain_snapshot_create_xml_ret {
21384 0     0 0   my $input_length = length $_[3];
21385 0           $_[1] = {};
21386             # Deserializing field: 'snap'
21387             # my ($class, $value, $index, $input) = @_;
21388 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
21389             }
21390             # @_: ($class, $value, $index, $output) = @_;
21391             sub serialize_domain_snapshot_create_xml_ret {
21392 0 0   0 0   croak "Missing required input 'struct' value"
21393             unless defined $_[1];
21394              
21395             # Serializing field: 'snap'
21396             croak "Missing required input value 'snap'"
21397 0 0         unless exists $_[1]->{snap};
21398             # my ($class, $value, $index, $output) = @_;
21399 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
21400             }
21401             # @_: ($class, $value, $index, $input) = @_;
21402             sub deserialize_domain_snapshot_get_xml_desc_args {
21403 0     0 0   my $input_length = length $_[3];
21404 0           $_[1] = {};
21405             # Deserializing field: 'snap'
21406             # my ($class, $value, $index, $input) = @_;
21407 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
21408              
21409             # Deserializing field: 'flags'
21410             # my ($class, $value, $index, $input) = @_;
21411 0 0         die "Input buffer too short"
21412             if ($input_length - $_[2]) < 4;
21413 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21414 0           $_[2] += 4;
21415             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21416 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21417             }
21418             # @_: ($class, $value, $index, $output) = @_;
21419             sub serialize_domain_snapshot_get_xml_desc_args {
21420 0 0   0 0   croak "Missing required input 'struct' value"
21421             unless defined $_[1];
21422              
21423             # Serializing field: 'snap'
21424             croak "Missing required input value 'snap'"
21425 0 0         unless exists $_[1]->{snap};
21426             # my ($class, $value, $index, $output) = @_;
21427 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
21428              
21429             # Serializing field: 'flags'
21430             croak "Missing required input value 'flags'"
21431 0 0         unless exists $_[1]->{flags};
21432             # my ($class, $value, $index, $output) = @_;
21433             croak "Missing required input 'unsigned int' value"
21434 0 0         unless defined $_[1]->{flags};
21435             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21436 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21437             die "Non-integer 'int' value given: $_[1]->{flags}"
21438 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21439 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21440 0           $_[2] += 4;
21441             }
21442             # @_: ($class, $value, $index, $input) = @_;
21443             sub deserialize_domain_snapshot_get_xml_desc_ret {
21444 0     0 0   my $input_length = length $_[3];
21445 0           $_[1] = {};
21446             # Deserializing field: 'xml'
21447             # my ($class, $value, $index, $input) = @_;
21448 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
21449             }
21450             # @_: ($class, $value, $index, $output) = @_;
21451             sub serialize_domain_snapshot_get_xml_desc_ret {
21452 0 0   0 0   croak "Missing required input 'struct' value"
21453             unless defined $_[1];
21454              
21455             # Serializing field: 'xml'
21456             croak "Missing required input value 'xml'"
21457 0 0         unless exists $_[1]->{xml};
21458             # my ($class, $value, $index, $output) = @_;
21459 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
21460             }
21461             # @_: ($class, $value, $index, $input) = @_;
21462             sub deserialize_domain_snapshot_num_args {
21463 0     0 0   my $input_length = length $_[3];
21464 0           $_[1] = {};
21465             # Deserializing field: 'dom'
21466             # my ($class, $value, $index, $input) = @_;
21467 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21468              
21469             # Deserializing field: 'flags'
21470             # my ($class, $value, $index, $input) = @_;
21471 0 0         die "Input buffer too short"
21472             if ($input_length - $_[2]) < 4;
21473 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21474 0           $_[2] += 4;
21475             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21476 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21477             }
21478             # @_: ($class, $value, $index, $output) = @_;
21479             sub serialize_domain_snapshot_num_args {
21480 0 0   0 0   croak "Missing required input 'struct' value"
21481             unless defined $_[1];
21482              
21483             # Serializing field: 'dom'
21484             croak "Missing required input value 'dom'"
21485 0 0         unless exists $_[1]->{dom};
21486             # my ($class, $value, $index, $output) = @_;
21487 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21488              
21489             # Serializing field: 'flags'
21490             croak "Missing required input value 'flags'"
21491 0 0         unless exists $_[1]->{flags};
21492             # my ($class, $value, $index, $output) = @_;
21493             croak "Missing required input 'unsigned int' value"
21494 0 0         unless defined $_[1]->{flags};
21495             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21496 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21497             die "Non-integer 'int' value given: $_[1]->{flags}"
21498 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21499 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21500 0           $_[2] += 4;
21501             }
21502             # @_: ($class, $value, $index, $input) = @_;
21503             sub deserialize_domain_snapshot_num_ret {
21504 0     0 0   my $input_length = length $_[3];
21505 0           $_[1] = {};
21506             # Deserializing field: 'num'
21507             # my ($class, $value, $index, $input) = @_;
21508 0 0         die "Input buffer too short"
21509             if ($input_length - $_[2]) < 4;
21510 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
21511 0           $_[2] += 4;
21512             die "Out of bounds 'int': $_[1]->{num}"
21513 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
21514             }
21515             # @_: ($class, $value, $index, $output) = @_;
21516             sub serialize_domain_snapshot_num_ret {
21517 0 0   0 0   croak "Missing required input 'struct' value"
21518             unless defined $_[1];
21519              
21520             # Serializing field: 'num'
21521             croak "Missing required input value 'num'"
21522 0 0         unless exists $_[1]->{num};
21523             # my ($class, $value, $index, $output) = @_;
21524             croak "Missing required input 'int' value"
21525 0 0         unless defined $_[1]->{num};
21526             die "Out of bounds 'int': $_[1]->{num}"
21527 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
21528             die "Non-integer 'int' value given: $_[1]->{num}"
21529 0 0         unless int($_[1]->{num}) == $_[1]->{num};
21530 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
21531 0           $_[2] += 4;
21532             }
21533             # @_: ($class, $value, $index, $input) = @_;
21534             sub deserialize_domain_snapshot_list_names_args {
21535 0     0 0   my $input_length = length $_[3];
21536 0           $_[1] = {};
21537             # Deserializing field: 'dom'
21538             # my ($class, $value, $index, $input) = @_;
21539 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21540              
21541             # Deserializing field: 'maxnames'
21542             # my ($class, $value, $index, $input) = @_;
21543 0 0         die "Input buffer too short"
21544             if ($input_length - $_[2]) < 4;
21545 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
21546 0           $_[2] += 4;
21547             die "Out of bounds 'int': $_[1]->{maxnames}"
21548 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
21549              
21550             # Deserializing field: 'flags'
21551             # my ($class, $value, $index, $input) = @_;
21552 0 0         die "Input buffer too short"
21553             if ($input_length - $_[2]) < 4;
21554 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21555 0           $_[2] += 4;
21556             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21557 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21558             }
21559             # @_: ($class, $value, $index, $output) = @_;
21560             sub serialize_domain_snapshot_list_names_args {
21561 0 0   0 0   croak "Missing required input 'struct' value"
21562             unless defined $_[1];
21563              
21564             # Serializing field: 'dom'
21565             croak "Missing required input value 'dom'"
21566 0 0         unless exists $_[1]->{dom};
21567             # my ($class, $value, $index, $output) = @_;
21568 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21569              
21570             # Serializing field: 'maxnames'
21571             croak "Missing required input value 'maxnames'"
21572 0 0         unless exists $_[1]->{maxnames};
21573             # my ($class, $value, $index, $output) = @_;
21574             croak "Missing required input 'int' value"
21575 0 0         unless defined $_[1]->{maxnames};
21576             die "Out of bounds 'int': $_[1]->{maxnames}"
21577 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
21578             die "Non-integer 'int' value given: $_[1]->{maxnames}"
21579 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
21580 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
21581 0           $_[2] += 4;
21582              
21583             # Serializing field: 'flags'
21584             croak "Missing required input value 'flags'"
21585 0 0         unless exists $_[1]->{flags};
21586             # my ($class, $value, $index, $output) = @_;
21587             croak "Missing required input 'unsigned int' value"
21588 0 0         unless defined $_[1]->{flags};
21589             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21590 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21591             die "Non-integer 'int' value given: $_[1]->{flags}"
21592 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21593 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21594 0           $_[2] += 4;
21595             }
21596             # @_: ($class, $value, $index, $input) = @_;
21597             sub deserialize_domain_snapshot_list_names_ret {
21598 0     0 0   my $input_length = length $_[3];
21599 0           $_[1] = {};
21600             # Deserializing field: 'names'
21601             # my ($class, $value, $index, $input) = @_;
21602 0           do {
21603 0 0         die "Input buffer too short"
21604             if ($input_length - $_[2]) < 4;
21605 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
21606 0           $_[2] += 4;
21607              
21608 0 0         die "Array too long (max: 16384): $len"
21609             unless ($len <= 16384);
21610 0           $_[1]->{names} = [];
21611 0           for my $i1 ( 0 .. ($len - 1) ) {
21612             # my ($class, $value, $index, $input) = @_;
21613 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
21614             }
21615             };
21616             }
21617             # @_: ($class, $value, $index, $output) = @_;
21618             sub serialize_domain_snapshot_list_names_ret {
21619 0 0   0 0   croak "Missing required input 'struct' value"
21620             unless defined $_[1];
21621              
21622             # Serializing field: 'names'
21623             croak "Missing required input value 'names'"
21624 0 0         unless exists $_[1]->{names};
21625             # my ($class, $value, $index, $output) = @_;
21626             croak "Missing required input 'array' value"
21627 0 0         unless defined $_[1]->{names};
21628 0           do {
21629 0           my $len = scalar @{ $_[1]->{names} };
  0            
21630 0 0         die "Array too long (max: 16384): $len"
21631             unless ($len <= 16384);
21632              
21633 0           substr( $_[3], $_[2] ) = pack("L>", $len);
21634 0           $_[2] += 4;
21635 0           for my $i1 ( 0 .. ($len - 1) ) {
21636             # my ($class, $value, $index, $output) = @_;
21637 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
21638             }
21639             };
21640             }
21641             # @_: ($class, $value, $index, $input) = @_;
21642             sub deserialize_domain_list_all_snapshots_args {
21643 0     0 0   my $input_length = length $_[3];
21644 0           $_[1] = {};
21645             # Deserializing field: 'dom'
21646             # my ($class, $value, $index, $input) = @_;
21647 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21648              
21649             # Deserializing field: 'need_results'
21650             # my ($class, $value, $index, $input) = @_;
21651 0 0         die "Input buffer too short"
21652             if ($input_length - $_[2]) < 4;
21653 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
21654 0           $_[2] += 4;
21655             die "Out of bounds 'int': $_[1]->{need_results}"
21656 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
21657              
21658             # Deserializing field: 'flags'
21659             # my ($class, $value, $index, $input) = @_;
21660 0 0         die "Input buffer too short"
21661             if ($input_length - $_[2]) < 4;
21662 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21663 0           $_[2] += 4;
21664             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21665 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21666             }
21667             # @_: ($class, $value, $index, $output) = @_;
21668             sub serialize_domain_list_all_snapshots_args {
21669 0 0   0 0   croak "Missing required input 'struct' value"
21670             unless defined $_[1];
21671              
21672             # Serializing field: 'dom'
21673             croak "Missing required input value 'dom'"
21674 0 0         unless exists $_[1]->{dom};
21675             # my ($class, $value, $index, $output) = @_;
21676 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21677              
21678             # Serializing field: 'need_results'
21679             croak "Missing required input value 'need_results'"
21680 0 0         unless exists $_[1]->{need_results};
21681             # my ($class, $value, $index, $output) = @_;
21682             croak "Missing required input 'int' value"
21683 0 0         unless defined $_[1]->{need_results};
21684             die "Out of bounds 'int': $_[1]->{need_results}"
21685 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
21686             die "Non-integer 'int' value given: $_[1]->{need_results}"
21687 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
21688 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
21689 0           $_[2] += 4;
21690              
21691             # Serializing field: 'flags'
21692             croak "Missing required input value 'flags'"
21693 0 0         unless exists $_[1]->{flags};
21694             # my ($class, $value, $index, $output) = @_;
21695             croak "Missing required input 'unsigned int' value"
21696 0 0         unless defined $_[1]->{flags};
21697             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21698 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21699             die "Non-integer 'int' value given: $_[1]->{flags}"
21700 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21701 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21702 0           $_[2] += 4;
21703             }
21704             # @_: ($class, $value, $index, $input) = @_;
21705             sub deserialize_domain_list_all_snapshots_ret {
21706 0     0 0   my $input_length = length $_[3];
21707 0           $_[1] = {};
21708             # Deserializing field: 'snapshots'
21709             # my ($class, $value, $index, $input) = @_;
21710 0           do {
21711 0 0         die "Input buffer too short"
21712             if ($input_length - $_[2]) < 4;
21713 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
21714 0           $_[2] += 4;
21715              
21716 0 0         die "Array too long (max: 16384): $len"
21717             unless ($len <= 16384);
21718 0           $_[1]->{snapshots} = [];
21719 0           for my $i1 ( 0 .. ($len - 1) ) {
21720             # my ($class, $value, $index, $input) = @_;
21721 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snapshots}->[$i1], $_[2], $_[3] );
21722             }
21723             };
21724              
21725             # Deserializing field: 'ret'
21726             # my ($class, $value, $index, $input) = @_;
21727 0 0         die "Input buffer too short"
21728             if ($input_length - $_[2]) < 4;
21729 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
21730 0           $_[2] += 4;
21731             die "Out of bounds 'int': $_[1]->{ret}"
21732 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
21733             }
21734             # @_: ($class, $value, $index, $output) = @_;
21735             sub serialize_domain_list_all_snapshots_ret {
21736 0 0   0 0   croak "Missing required input 'struct' value"
21737             unless defined $_[1];
21738              
21739             # Serializing field: 'snapshots'
21740             croak "Missing required input value 'snapshots'"
21741 0 0         unless exists $_[1]->{snapshots};
21742             # my ($class, $value, $index, $output) = @_;
21743             croak "Missing required input 'array' value"
21744 0 0         unless defined $_[1]->{snapshots};
21745 0           do {
21746 0           my $len = scalar @{ $_[1]->{snapshots} };
  0            
21747 0 0         die "Array too long (max: 16384): $len"
21748             unless ($len <= 16384);
21749              
21750 0           substr( $_[3], $_[2] ) = pack("L>", $len);
21751 0           $_[2] += 4;
21752 0           for my $i1 ( 0 .. ($len - 1) ) {
21753             # my ($class, $value, $index, $output) = @_;
21754 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snapshots}->[$i1], $_[2], $_[3] );
21755             }
21756             };
21757              
21758             # Serializing field: 'ret'
21759             croak "Missing required input value 'ret'"
21760 0 0         unless exists $_[1]->{ret};
21761             # my ($class, $value, $index, $output) = @_;
21762             croak "Missing required input 'int' value"
21763 0 0         unless defined $_[1]->{ret};
21764             die "Out of bounds 'int': $_[1]->{ret}"
21765 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
21766             die "Non-integer 'int' value given: $_[1]->{ret}"
21767 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
21768 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
21769 0           $_[2] += 4;
21770             }
21771             # @_: ($class, $value, $index, $input) = @_;
21772             sub deserialize_domain_snapshot_num_children_args {
21773 0     0 0   my $input_length = length $_[3];
21774 0           $_[1] = {};
21775             # Deserializing field: 'snap'
21776             # my ($class, $value, $index, $input) = @_;
21777 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
21778              
21779             # Deserializing field: 'flags'
21780             # my ($class, $value, $index, $input) = @_;
21781 0 0         die "Input buffer too short"
21782             if ($input_length - $_[2]) < 4;
21783 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21784 0           $_[2] += 4;
21785             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21786 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21787             }
21788             # @_: ($class, $value, $index, $output) = @_;
21789             sub serialize_domain_snapshot_num_children_args {
21790 0 0   0 0   croak "Missing required input 'struct' value"
21791             unless defined $_[1];
21792              
21793             # Serializing field: 'snap'
21794             croak "Missing required input value 'snap'"
21795 0 0         unless exists $_[1]->{snap};
21796             # my ($class, $value, $index, $output) = @_;
21797 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
21798              
21799             # Serializing field: 'flags'
21800             croak "Missing required input value 'flags'"
21801 0 0         unless exists $_[1]->{flags};
21802             # my ($class, $value, $index, $output) = @_;
21803             croak "Missing required input 'unsigned int' value"
21804 0 0         unless defined $_[1]->{flags};
21805             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21806 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21807             die "Non-integer 'int' value given: $_[1]->{flags}"
21808 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21809 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21810 0           $_[2] += 4;
21811             }
21812             # @_: ($class, $value, $index, $input) = @_;
21813             sub deserialize_domain_snapshot_num_children_ret {
21814 0     0 0   my $input_length = length $_[3];
21815 0           $_[1] = {};
21816             # Deserializing field: 'num'
21817             # my ($class, $value, $index, $input) = @_;
21818 0 0         die "Input buffer too short"
21819             if ($input_length - $_[2]) < 4;
21820 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
21821 0           $_[2] += 4;
21822             die "Out of bounds 'int': $_[1]->{num}"
21823 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
21824             }
21825             # @_: ($class, $value, $index, $output) = @_;
21826             sub serialize_domain_snapshot_num_children_ret {
21827 0 0   0 0   croak "Missing required input 'struct' value"
21828             unless defined $_[1];
21829              
21830             # Serializing field: 'num'
21831             croak "Missing required input value 'num'"
21832 0 0         unless exists $_[1]->{num};
21833             # my ($class, $value, $index, $output) = @_;
21834             croak "Missing required input 'int' value"
21835 0 0         unless defined $_[1]->{num};
21836             die "Out of bounds 'int': $_[1]->{num}"
21837 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
21838             die "Non-integer 'int' value given: $_[1]->{num}"
21839 0 0         unless int($_[1]->{num}) == $_[1]->{num};
21840 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
21841 0           $_[2] += 4;
21842             }
21843             # @_: ($class, $value, $index, $input) = @_;
21844             sub deserialize_domain_snapshot_list_children_names_args {
21845 0     0 0   my $input_length = length $_[3];
21846 0           $_[1] = {};
21847             # Deserializing field: 'snap'
21848             # my ($class, $value, $index, $input) = @_;
21849 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
21850              
21851             # Deserializing field: 'maxnames'
21852             # my ($class, $value, $index, $input) = @_;
21853 0 0         die "Input buffer too short"
21854             if ($input_length - $_[2]) < 4;
21855 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
21856 0           $_[2] += 4;
21857             die "Out of bounds 'int': $_[1]->{maxnames}"
21858 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
21859              
21860             # Deserializing field: 'flags'
21861             # my ($class, $value, $index, $input) = @_;
21862 0 0         die "Input buffer too short"
21863             if ($input_length - $_[2]) < 4;
21864 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21865 0           $_[2] += 4;
21866             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21867 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21868             }
21869             # @_: ($class, $value, $index, $output) = @_;
21870             sub serialize_domain_snapshot_list_children_names_args {
21871 0 0   0 0   croak "Missing required input 'struct' value"
21872             unless defined $_[1];
21873              
21874             # Serializing field: 'snap'
21875             croak "Missing required input value 'snap'"
21876 0 0         unless exists $_[1]->{snap};
21877             # my ($class, $value, $index, $output) = @_;
21878 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
21879              
21880             # Serializing field: 'maxnames'
21881             croak "Missing required input value 'maxnames'"
21882 0 0         unless exists $_[1]->{maxnames};
21883             # my ($class, $value, $index, $output) = @_;
21884             croak "Missing required input 'int' value"
21885 0 0         unless defined $_[1]->{maxnames};
21886             die "Out of bounds 'int': $_[1]->{maxnames}"
21887 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
21888             die "Non-integer 'int' value given: $_[1]->{maxnames}"
21889 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
21890 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
21891 0           $_[2] += 4;
21892              
21893             # Serializing field: 'flags'
21894             croak "Missing required input value 'flags'"
21895 0 0         unless exists $_[1]->{flags};
21896             # my ($class, $value, $index, $output) = @_;
21897             croak "Missing required input 'unsigned int' value"
21898 0 0         unless defined $_[1]->{flags};
21899             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21900 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21901             die "Non-integer 'int' value given: $_[1]->{flags}"
21902 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21903 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21904 0           $_[2] += 4;
21905             }
21906             # @_: ($class, $value, $index, $input) = @_;
21907             sub deserialize_domain_snapshot_list_children_names_ret {
21908 0     0 0   my $input_length = length $_[3];
21909 0           $_[1] = {};
21910             # Deserializing field: 'names'
21911             # my ($class, $value, $index, $input) = @_;
21912 0           do {
21913 0 0         die "Input buffer too short"
21914             if ($input_length - $_[2]) < 4;
21915 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
21916 0           $_[2] += 4;
21917              
21918 0 0         die "Array too long (max: 16384): $len"
21919             unless ($len <= 16384);
21920 0           $_[1]->{names} = [];
21921 0           for my $i1 ( 0 .. ($len - 1) ) {
21922             # my ($class, $value, $index, $input) = @_;
21923 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
21924             }
21925             };
21926             }
21927             # @_: ($class, $value, $index, $output) = @_;
21928             sub serialize_domain_snapshot_list_children_names_ret {
21929 0 0   0 0   croak "Missing required input 'struct' value"
21930             unless defined $_[1];
21931              
21932             # Serializing field: 'names'
21933             croak "Missing required input value 'names'"
21934 0 0         unless exists $_[1]->{names};
21935             # my ($class, $value, $index, $output) = @_;
21936             croak "Missing required input 'array' value"
21937 0 0         unless defined $_[1]->{names};
21938 0           do {
21939 0           my $len = scalar @{ $_[1]->{names} };
  0            
21940 0 0         die "Array too long (max: 16384): $len"
21941             unless ($len <= 16384);
21942              
21943 0           substr( $_[3], $_[2] ) = pack("L>", $len);
21944 0           $_[2] += 4;
21945 0           for my $i1 ( 0 .. ($len - 1) ) {
21946             # my ($class, $value, $index, $output) = @_;
21947 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
21948             }
21949             };
21950             }
21951             # @_: ($class, $value, $index, $input) = @_;
21952             sub deserialize_domain_snapshot_list_all_children_args {
21953 0     0 0   my $input_length = length $_[3];
21954 0           $_[1] = {};
21955             # Deserializing field: 'snapshot'
21956             # my ($class, $value, $index, $input) = @_;
21957 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snapshot}, $_[2], $_[3] );
21958              
21959             # Deserializing field: 'need_results'
21960             # my ($class, $value, $index, $input) = @_;
21961 0 0         die "Input buffer too short"
21962             if ($input_length - $_[2]) < 4;
21963 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
21964 0           $_[2] += 4;
21965             die "Out of bounds 'int': $_[1]->{need_results}"
21966 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
21967              
21968             # Deserializing field: 'flags'
21969             # my ($class, $value, $index, $input) = @_;
21970 0 0         die "Input buffer too short"
21971             if ($input_length - $_[2]) < 4;
21972 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21973 0           $_[2] += 4;
21974             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21975 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21976             }
21977             # @_: ($class, $value, $index, $output) = @_;
21978             sub serialize_domain_snapshot_list_all_children_args {
21979 0 0   0 0   croak "Missing required input 'struct' value"
21980             unless defined $_[1];
21981              
21982             # Serializing field: 'snapshot'
21983             croak "Missing required input value 'snapshot'"
21984 0 0         unless exists $_[1]->{snapshot};
21985             # my ($class, $value, $index, $output) = @_;
21986 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snapshot}, $_[2], $_[3] );
21987              
21988             # Serializing field: 'need_results'
21989             croak "Missing required input value 'need_results'"
21990 0 0         unless exists $_[1]->{need_results};
21991             # my ($class, $value, $index, $output) = @_;
21992             croak "Missing required input 'int' value"
21993 0 0         unless defined $_[1]->{need_results};
21994             die "Out of bounds 'int': $_[1]->{need_results}"
21995 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
21996             die "Non-integer 'int' value given: $_[1]->{need_results}"
21997 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
21998 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
21999 0           $_[2] += 4;
22000              
22001             # Serializing field: 'flags'
22002             croak "Missing required input value 'flags'"
22003 0 0         unless exists $_[1]->{flags};
22004             # my ($class, $value, $index, $output) = @_;
22005             croak "Missing required input 'unsigned int' value"
22006 0 0         unless defined $_[1]->{flags};
22007             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22008 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22009             die "Non-integer 'int' value given: $_[1]->{flags}"
22010 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22011 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22012 0           $_[2] += 4;
22013             }
22014             # @_: ($class, $value, $index, $input) = @_;
22015             sub deserialize_domain_snapshot_list_all_children_ret {
22016 0     0 0   my $input_length = length $_[3];
22017 0           $_[1] = {};
22018             # Deserializing field: 'snapshots'
22019             # my ($class, $value, $index, $input) = @_;
22020 0           do {
22021 0 0         die "Input buffer too short"
22022             if ($input_length - $_[2]) < 4;
22023 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
22024 0           $_[2] += 4;
22025              
22026 0 0         die "Array too long (max: 16384): $len"
22027             unless ($len <= 16384);
22028 0           $_[1]->{snapshots} = [];
22029 0           for my $i1 ( 0 .. ($len - 1) ) {
22030             # my ($class, $value, $index, $input) = @_;
22031 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snapshots}->[$i1], $_[2], $_[3] );
22032             }
22033             };
22034              
22035             # Deserializing field: 'ret'
22036             # my ($class, $value, $index, $input) = @_;
22037 0 0         die "Input buffer too short"
22038             if ($input_length - $_[2]) < 4;
22039 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
22040 0           $_[2] += 4;
22041             die "Out of bounds 'int': $_[1]->{ret}"
22042 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
22043             }
22044             # @_: ($class, $value, $index, $output) = @_;
22045             sub serialize_domain_snapshot_list_all_children_ret {
22046 0 0   0 0   croak "Missing required input 'struct' value"
22047             unless defined $_[1];
22048              
22049             # Serializing field: 'snapshots'
22050             croak "Missing required input value 'snapshots'"
22051 0 0         unless exists $_[1]->{snapshots};
22052             # my ($class, $value, $index, $output) = @_;
22053             croak "Missing required input 'array' value"
22054 0 0         unless defined $_[1]->{snapshots};
22055 0           do {
22056 0           my $len = scalar @{ $_[1]->{snapshots} };
  0            
22057 0 0         die "Array too long (max: 16384): $len"
22058             unless ($len <= 16384);
22059              
22060 0           substr( $_[3], $_[2] ) = pack("L>", $len);
22061 0           $_[2] += 4;
22062 0           for my $i1 ( 0 .. ($len - 1) ) {
22063             # my ($class, $value, $index, $output) = @_;
22064 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snapshots}->[$i1], $_[2], $_[3] );
22065             }
22066             };
22067              
22068             # Serializing field: 'ret'
22069             croak "Missing required input value 'ret'"
22070 0 0         unless exists $_[1]->{ret};
22071             # my ($class, $value, $index, $output) = @_;
22072             croak "Missing required input 'int' value"
22073 0 0         unless defined $_[1]->{ret};
22074             die "Out of bounds 'int': $_[1]->{ret}"
22075 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
22076             die "Non-integer 'int' value given: $_[1]->{ret}"
22077 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
22078 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
22079 0           $_[2] += 4;
22080             }
22081             # @_: ($class, $value, $index, $input) = @_;
22082             sub deserialize_domain_snapshot_lookup_by_name_args {
22083 0     0 0   my $input_length = length $_[3];
22084 0           $_[1] = {};
22085             # Deserializing field: 'dom'
22086             # my ($class, $value, $index, $input) = @_;
22087 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22088              
22089             # Deserializing field: 'name'
22090             # my ($class, $value, $index, $input) = @_;
22091 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
22092              
22093             # Deserializing field: 'flags'
22094             # my ($class, $value, $index, $input) = @_;
22095 0 0         die "Input buffer too short"
22096             if ($input_length - $_[2]) < 4;
22097 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22098 0           $_[2] += 4;
22099             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22100 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22101             }
22102             # @_: ($class, $value, $index, $output) = @_;
22103             sub serialize_domain_snapshot_lookup_by_name_args {
22104 0 0   0 0   croak "Missing required input 'struct' value"
22105             unless defined $_[1];
22106              
22107             # Serializing field: 'dom'
22108             croak "Missing required input value 'dom'"
22109 0 0         unless exists $_[1]->{dom};
22110             # my ($class, $value, $index, $output) = @_;
22111 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22112              
22113             # Serializing field: 'name'
22114             croak "Missing required input value 'name'"
22115 0 0         unless exists $_[1]->{name};
22116             # my ($class, $value, $index, $output) = @_;
22117 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
22118              
22119             # Serializing field: 'flags'
22120             croak "Missing required input value 'flags'"
22121 0 0         unless exists $_[1]->{flags};
22122             # my ($class, $value, $index, $output) = @_;
22123             croak "Missing required input 'unsigned int' value"
22124 0 0         unless defined $_[1]->{flags};
22125             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22126 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22127             die "Non-integer 'int' value given: $_[1]->{flags}"
22128 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22129 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22130 0           $_[2] += 4;
22131             }
22132             # @_: ($class, $value, $index, $input) = @_;
22133             sub deserialize_domain_snapshot_lookup_by_name_ret {
22134 0     0 0   my $input_length = length $_[3];
22135 0           $_[1] = {};
22136             # Deserializing field: 'snap'
22137             # my ($class, $value, $index, $input) = @_;
22138 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22139             }
22140             # @_: ($class, $value, $index, $output) = @_;
22141             sub serialize_domain_snapshot_lookup_by_name_ret {
22142 0 0   0 0   croak "Missing required input 'struct' value"
22143             unless defined $_[1];
22144              
22145             # Serializing field: 'snap'
22146             croak "Missing required input value 'snap'"
22147 0 0         unless exists $_[1]->{snap};
22148             # my ($class, $value, $index, $output) = @_;
22149 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22150             }
22151             # @_: ($class, $value, $index, $input) = @_;
22152             sub deserialize_domain_has_current_snapshot_args {
22153 0     0 0   my $input_length = length $_[3];
22154 0           $_[1] = {};
22155             # Deserializing field: 'dom'
22156             # my ($class, $value, $index, $input) = @_;
22157 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22158              
22159             # Deserializing field: 'flags'
22160             # my ($class, $value, $index, $input) = @_;
22161 0 0         die "Input buffer too short"
22162             if ($input_length - $_[2]) < 4;
22163 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22164 0           $_[2] += 4;
22165             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22166 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22167             }
22168             # @_: ($class, $value, $index, $output) = @_;
22169             sub serialize_domain_has_current_snapshot_args {
22170 0 0   0 0   croak "Missing required input 'struct' value"
22171             unless defined $_[1];
22172              
22173             # Serializing field: 'dom'
22174             croak "Missing required input value 'dom'"
22175 0 0         unless exists $_[1]->{dom};
22176             # my ($class, $value, $index, $output) = @_;
22177 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22178              
22179             # Serializing field: 'flags'
22180             croak "Missing required input value 'flags'"
22181 0 0         unless exists $_[1]->{flags};
22182             # my ($class, $value, $index, $output) = @_;
22183             croak "Missing required input 'unsigned int' value"
22184 0 0         unless defined $_[1]->{flags};
22185             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22186 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22187             die "Non-integer 'int' value given: $_[1]->{flags}"
22188 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22189 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22190 0           $_[2] += 4;
22191             }
22192             # @_: ($class, $value, $index, $input) = @_;
22193             sub deserialize_domain_has_current_snapshot_ret {
22194 0     0 0   my $input_length = length $_[3];
22195 0           $_[1] = {};
22196             # Deserializing field: 'result'
22197             # my ($class, $value, $index, $input) = @_;
22198 0 0         die "Input buffer too short"
22199             if ($input_length - $_[2]) < 4;
22200 0           $_[1]->{result} = unpack("l>", substr( $_[3], $_[2] ));
22201 0           $_[2] += 4;
22202             die "Out of bounds 'int': $_[1]->{result}"
22203 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
22204             }
22205             # @_: ($class, $value, $index, $output) = @_;
22206             sub serialize_domain_has_current_snapshot_ret {
22207 0 0   0 0   croak "Missing required input 'struct' value"
22208             unless defined $_[1];
22209              
22210             # Serializing field: 'result'
22211             croak "Missing required input value 'result'"
22212 0 0         unless exists $_[1]->{result};
22213             # my ($class, $value, $index, $output) = @_;
22214             croak "Missing required input 'int' value"
22215 0 0         unless defined $_[1]->{result};
22216             die "Out of bounds 'int': $_[1]->{result}"
22217 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
22218             die "Non-integer 'int' value given: $_[1]->{result}"
22219 0 0         unless int($_[1]->{result}) == $_[1]->{result};
22220 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{result});
22221 0           $_[2] += 4;
22222             }
22223             # @_: ($class, $value, $index, $input) = @_;
22224             sub deserialize_domain_snapshot_get_parent_args {
22225 0     0 0   my $input_length = length $_[3];
22226 0           $_[1] = {};
22227             # Deserializing field: 'snap'
22228             # my ($class, $value, $index, $input) = @_;
22229 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22230              
22231             # Deserializing field: 'flags'
22232             # my ($class, $value, $index, $input) = @_;
22233 0 0         die "Input buffer too short"
22234             if ($input_length - $_[2]) < 4;
22235 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22236 0           $_[2] += 4;
22237             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22238 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22239             }
22240             # @_: ($class, $value, $index, $output) = @_;
22241             sub serialize_domain_snapshot_get_parent_args {
22242 0 0   0 0   croak "Missing required input 'struct' value"
22243             unless defined $_[1];
22244              
22245             # Serializing field: 'snap'
22246             croak "Missing required input value 'snap'"
22247 0 0         unless exists $_[1]->{snap};
22248             # my ($class, $value, $index, $output) = @_;
22249 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22250              
22251             # Serializing field: 'flags'
22252             croak "Missing required input value 'flags'"
22253 0 0         unless exists $_[1]->{flags};
22254             # my ($class, $value, $index, $output) = @_;
22255             croak "Missing required input 'unsigned int' value"
22256 0 0         unless defined $_[1]->{flags};
22257             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22258 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22259             die "Non-integer 'int' value given: $_[1]->{flags}"
22260 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22261 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22262 0           $_[2] += 4;
22263             }
22264             # @_: ($class, $value, $index, $input) = @_;
22265             sub deserialize_domain_snapshot_get_parent_ret {
22266 0     0 0   my $input_length = length $_[3];
22267 0           $_[1] = {};
22268             # Deserializing field: 'snap'
22269             # my ($class, $value, $index, $input) = @_;
22270 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22271             }
22272             # @_: ($class, $value, $index, $output) = @_;
22273             sub serialize_domain_snapshot_get_parent_ret {
22274 0 0   0 0   croak "Missing required input 'struct' value"
22275             unless defined $_[1];
22276              
22277             # Serializing field: 'snap'
22278             croak "Missing required input value 'snap'"
22279 0 0         unless exists $_[1]->{snap};
22280             # my ($class, $value, $index, $output) = @_;
22281 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22282             }
22283             # @_: ($class, $value, $index, $input) = @_;
22284             sub deserialize_domain_snapshot_current_args {
22285 0     0 0   my $input_length = length $_[3];
22286 0           $_[1] = {};
22287             # Deserializing field: 'dom'
22288             # my ($class, $value, $index, $input) = @_;
22289 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22290              
22291             # Deserializing field: 'flags'
22292             # my ($class, $value, $index, $input) = @_;
22293 0 0         die "Input buffer too short"
22294             if ($input_length - $_[2]) < 4;
22295 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22296 0           $_[2] += 4;
22297             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22298 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22299             }
22300             # @_: ($class, $value, $index, $output) = @_;
22301             sub serialize_domain_snapshot_current_args {
22302 0 0   0 0   croak "Missing required input 'struct' value"
22303             unless defined $_[1];
22304              
22305             # Serializing field: 'dom'
22306             croak "Missing required input value 'dom'"
22307 0 0         unless exists $_[1]->{dom};
22308             # my ($class, $value, $index, $output) = @_;
22309 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22310              
22311             # Serializing field: 'flags'
22312             croak "Missing required input value 'flags'"
22313 0 0         unless exists $_[1]->{flags};
22314             # my ($class, $value, $index, $output) = @_;
22315             croak "Missing required input 'unsigned int' value"
22316 0 0         unless defined $_[1]->{flags};
22317             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22318 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22319             die "Non-integer 'int' value given: $_[1]->{flags}"
22320 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22321 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22322 0           $_[2] += 4;
22323             }
22324             # @_: ($class, $value, $index, $input) = @_;
22325             sub deserialize_domain_snapshot_current_ret {
22326 0     0 0   my $input_length = length $_[3];
22327 0           $_[1] = {};
22328             # Deserializing field: 'snap'
22329             # my ($class, $value, $index, $input) = @_;
22330 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22331             }
22332             # @_: ($class, $value, $index, $output) = @_;
22333             sub serialize_domain_snapshot_current_ret {
22334 0 0   0 0   croak "Missing required input 'struct' value"
22335             unless defined $_[1];
22336              
22337             # Serializing field: 'snap'
22338             croak "Missing required input value 'snap'"
22339 0 0         unless exists $_[1]->{snap};
22340             # my ($class, $value, $index, $output) = @_;
22341 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22342             }
22343             # @_: ($class, $value, $index, $input) = @_;
22344             sub deserialize_domain_snapshot_is_current_args {
22345 0     0 0   my $input_length = length $_[3];
22346 0           $_[1] = {};
22347             # Deserializing field: 'snap'
22348             # my ($class, $value, $index, $input) = @_;
22349 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22350              
22351             # Deserializing field: 'flags'
22352             # my ($class, $value, $index, $input) = @_;
22353 0 0         die "Input buffer too short"
22354             if ($input_length - $_[2]) < 4;
22355 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22356 0           $_[2] += 4;
22357             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22358 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22359             }
22360             # @_: ($class, $value, $index, $output) = @_;
22361             sub serialize_domain_snapshot_is_current_args {
22362 0 0   0 0   croak "Missing required input 'struct' value"
22363             unless defined $_[1];
22364              
22365             # Serializing field: 'snap'
22366             croak "Missing required input value 'snap'"
22367 0 0         unless exists $_[1]->{snap};
22368             # my ($class, $value, $index, $output) = @_;
22369 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22370              
22371             # Serializing field: 'flags'
22372             croak "Missing required input value 'flags'"
22373 0 0         unless exists $_[1]->{flags};
22374             # my ($class, $value, $index, $output) = @_;
22375             croak "Missing required input 'unsigned int' value"
22376 0 0         unless defined $_[1]->{flags};
22377             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22378 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22379             die "Non-integer 'int' value given: $_[1]->{flags}"
22380 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22381 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22382 0           $_[2] += 4;
22383             }
22384             # @_: ($class, $value, $index, $input) = @_;
22385             sub deserialize_domain_snapshot_is_current_ret {
22386 0     0 0   my $input_length = length $_[3];
22387 0           $_[1] = {};
22388             # Deserializing field: 'current'
22389             # my ($class, $value, $index, $input) = @_;
22390 0 0         die "Input buffer too short"
22391             if ($input_length - $_[2]) < 4;
22392 0           $_[1]->{current} = unpack("l>", substr( $_[3], $_[2] ));
22393 0           $_[2] += 4;
22394             die "Out of bounds 'int': $_[1]->{current}"
22395 0 0 0       unless (-2147483648 <= $_[1]->{current} and $_[1]->{current} < 2147483648);
22396             }
22397             # @_: ($class, $value, $index, $output) = @_;
22398             sub serialize_domain_snapshot_is_current_ret {
22399 0 0   0 0   croak "Missing required input 'struct' value"
22400             unless defined $_[1];
22401              
22402             # Serializing field: 'current'
22403             croak "Missing required input value 'current'"
22404 0 0         unless exists $_[1]->{current};
22405             # my ($class, $value, $index, $output) = @_;
22406             croak "Missing required input 'int' value"
22407 0 0         unless defined $_[1]->{current};
22408             die "Out of bounds 'int': $_[1]->{current}"
22409 0 0 0       unless (-2147483648 <= $_[1]->{current} and $_[1]->{current} < 2147483648);
22410             die "Non-integer 'int' value given: $_[1]->{current}"
22411 0 0         unless int($_[1]->{current}) == $_[1]->{current};
22412 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{current});
22413 0           $_[2] += 4;
22414             }
22415             # @_: ($class, $value, $index, $input) = @_;
22416             sub deserialize_domain_snapshot_has_metadata_args {
22417 0     0 0   my $input_length = length $_[3];
22418 0           $_[1] = {};
22419             # Deserializing field: 'snap'
22420             # my ($class, $value, $index, $input) = @_;
22421 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22422              
22423             # Deserializing field: 'flags'
22424             # my ($class, $value, $index, $input) = @_;
22425 0 0         die "Input buffer too short"
22426             if ($input_length - $_[2]) < 4;
22427 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22428 0           $_[2] += 4;
22429             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22430 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22431             }
22432             # @_: ($class, $value, $index, $output) = @_;
22433             sub serialize_domain_snapshot_has_metadata_args {
22434 0 0   0 0   croak "Missing required input 'struct' value"
22435             unless defined $_[1];
22436              
22437             # Serializing field: 'snap'
22438             croak "Missing required input value 'snap'"
22439 0 0         unless exists $_[1]->{snap};
22440             # my ($class, $value, $index, $output) = @_;
22441 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22442              
22443             # Serializing field: 'flags'
22444             croak "Missing required input value 'flags'"
22445 0 0         unless exists $_[1]->{flags};
22446             # my ($class, $value, $index, $output) = @_;
22447             croak "Missing required input 'unsigned int' value"
22448 0 0         unless defined $_[1]->{flags};
22449             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22450 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22451             die "Non-integer 'int' value given: $_[1]->{flags}"
22452 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22453 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22454 0           $_[2] += 4;
22455             }
22456             # @_: ($class, $value, $index, $input) = @_;
22457             sub deserialize_domain_snapshot_has_metadata_ret {
22458 0     0 0   my $input_length = length $_[3];
22459 0           $_[1] = {};
22460             # Deserializing field: 'metadata'
22461             # my ($class, $value, $index, $input) = @_;
22462 0 0         die "Input buffer too short"
22463             if ($input_length - $_[2]) < 4;
22464 0           $_[1]->{metadata} = unpack("l>", substr( $_[3], $_[2] ));
22465 0           $_[2] += 4;
22466             die "Out of bounds 'int': $_[1]->{metadata}"
22467 0 0 0       unless (-2147483648 <= $_[1]->{metadata} and $_[1]->{metadata} < 2147483648);
22468             }
22469             # @_: ($class, $value, $index, $output) = @_;
22470             sub serialize_domain_snapshot_has_metadata_ret {
22471 0 0   0 0   croak "Missing required input 'struct' value"
22472             unless defined $_[1];
22473              
22474             # Serializing field: 'metadata'
22475             croak "Missing required input value 'metadata'"
22476 0 0         unless exists $_[1]->{metadata};
22477             # my ($class, $value, $index, $output) = @_;
22478             croak "Missing required input 'int' value"
22479 0 0         unless defined $_[1]->{metadata};
22480             die "Out of bounds 'int': $_[1]->{metadata}"
22481 0 0 0       unless (-2147483648 <= $_[1]->{metadata} and $_[1]->{metadata} < 2147483648);
22482             die "Non-integer 'int' value given: $_[1]->{metadata}"
22483 0 0         unless int($_[1]->{metadata}) == $_[1]->{metadata};
22484 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{metadata});
22485 0           $_[2] += 4;
22486             }
22487             # @_: ($class, $value, $index, $input) = @_;
22488             sub deserialize_domain_revert_to_snapshot_args {
22489 0     0 0   my $input_length = length $_[3];
22490 0           $_[1] = {};
22491             # Deserializing field: 'snap'
22492             # my ($class, $value, $index, $input) = @_;
22493 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22494              
22495             # Deserializing field: 'flags'
22496             # my ($class, $value, $index, $input) = @_;
22497 0 0         die "Input buffer too short"
22498             if ($input_length - $_[2]) < 4;
22499 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22500 0           $_[2] += 4;
22501             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22502 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22503             }
22504             # @_: ($class, $value, $index, $output) = @_;
22505             sub serialize_domain_revert_to_snapshot_args {
22506 0 0   0 0   croak "Missing required input 'struct' value"
22507             unless defined $_[1];
22508              
22509             # Serializing field: 'snap'
22510             croak "Missing required input value 'snap'"
22511 0 0         unless exists $_[1]->{snap};
22512             # my ($class, $value, $index, $output) = @_;
22513 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22514              
22515             # Serializing field: 'flags'
22516             croak "Missing required input value 'flags'"
22517 0 0         unless exists $_[1]->{flags};
22518             # my ($class, $value, $index, $output) = @_;
22519             croak "Missing required input 'unsigned int' value"
22520 0 0         unless defined $_[1]->{flags};
22521             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22522 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22523             die "Non-integer 'int' value given: $_[1]->{flags}"
22524 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22525 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22526 0           $_[2] += 4;
22527             }
22528             # @_: ($class, $value, $index, $input) = @_;
22529             sub deserialize_domain_snapshot_delete_args {
22530 0     0 0   my $input_length = length $_[3];
22531 0           $_[1] = {};
22532             # Deserializing field: 'snap'
22533             # my ($class, $value, $index, $input) = @_;
22534 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22535              
22536             # Deserializing field: 'flags'
22537             # my ($class, $value, $index, $input) = @_;
22538 0 0         die "Input buffer too short"
22539             if ($input_length - $_[2]) < 4;
22540 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22541 0           $_[2] += 4;
22542             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22543 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22544             }
22545             # @_: ($class, $value, $index, $output) = @_;
22546             sub serialize_domain_snapshot_delete_args {
22547 0 0   0 0   croak "Missing required input 'struct' value"
22548             unless defined $_[1];
22549              
22550             # Serializing field: 'snap'
22551             croak "Missing required input value 'snap'"
22552 0 0         unless exists $_[1]->{snap};
22553             # my ($class, $value, $index, $output) = @_;
22554 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22555              
22556             # Serializing field: 'flags'
22557             croak "Missing required input value 'flags'"
22558 0 0         unless exists $_[1]->{flags};
22559             # my ($class, $value, $index, $output) = @_;
22560             croak "Missing required input 'unsigned int' value"
22561 0 0         unless defined $_[1]->{flags};
22562             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22563 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22564             die "Non-integer 'int' value given: $_[1]->{flags}"
22565 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22566 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22567 0           $_[2] += 4;
22568             }
22569             # @_: ($class, $value, $index, $input) = @_;
22570             sub deserialize_domain_open_console_args {
22571 0     0 0   my $input_length = length $_[3];
22572 0           $_[1] = {};
22573             # Deserializing field: 'dom'
22574             # my ($class, $value, $index, $input) = @_;
22575 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22576              
22577             # Deserializing field: 'dev_name'
22578             # my ($class, $value, $index, $input) = @_;
22579 0           $_[0]->deserialize_string( $_[1]->{dev_name}, $_[2], $_[3] );
22580              
22581             # Deserializing field: 'flags'
22582             # my ($class, $value, $index, $input) = @_;
22583 0 0         die "Input buffer too short"
22584             if ($input_length - $_[2]) < 4;
22585 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22586 0           $_[2] += 4;
22587             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22588 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22589             }
22590             # @_: ($class, $value, $index, $output) = @_;
22591             sub serialize_domain_open_console_args {
22592 0 0   0 0   croak "Missing required input 'struct' value"
22593             unless defined $_[1];
22594              
22595             # Serializing field: 'dom'
22596             croak "Missing required input value 'dom'"
22597 0 0         unless exists $_[1]->{dom};
22598             # my ($class, $value, $index, $output) = @_;
22599 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22600              
22601             # Serializing field: 'dev_name'
22602             croak "Missing required input value 'dev_name'"
22603 0 0         unless exists $_[1]->{dev_name};
22604             # my ($class, $value, $index, $output) = @_;
22605 0           $_[0]->serialize_string( $_[1]->{dev_name}, $_[2], $_[3] );
22606              
22607             # Serializing field: 'flags'
22608             croak "Missing required input value 'flags'"
22609 0 0         unless exists $_[1]->{flags};
22610             # my ($class, $value, $index, $output) = @_;
22611             croak "Missing required input 'unsigned int' value"
22612 0 0         unless defined $_[1]->{flags};
22613             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22614 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22615             die "Non-integer 'int' value given: $_[1]->{flags}"
22616 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22617 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22618 0           $_[2] += 4;
22619             }
22620             # @_: ($class, $value, $index, $input) = @_;
22621             sub deserialize_domain_open_channel_args {
22622 0     0 0   my $input_length = length $_[3];
22623 0           $_[1] = {};
22624             # Deserializing field: 'dom'
22625             # my ($class, $value, $index, $input) = @_;
22626 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22627              
22628             # Deserializing field: 'name'
22629             # my ($class, $value, $index, $input) = @_;
22630 0           $_[0]->deserialize_string( $_[1]->{name}, $_[2], $_[3] );
22631              
22632             # Deserializing field: 'flags'
22633             # my ($class, $value, $index, $input) = @_;
22634 0 0         die "Input buffer too short"
22635             if ($input_length - $_[2]) < 4;
22636 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22637 0           $_[2] += 4;
22638             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22639 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22640             }
22641             # @_: ($class, $value, $index, $output) = @_;
22642             sub serialize_domain_open_channel_args {
22643 0 0   0 0   croak "Missing required input 'struct' value"
22644             unless defined $_[1];
22645              
22646             # Serializing field: 'dom'
22647             croak "Missing required input value 'dom'"
22648 0 0         unless exists $_[1]->{dom};
22649             # my ($class, $value, $index, $output) = @_;
22650 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22651              
22652             # Serializing field: 'name'
22653             croak "Missing required input value 'name'"
22654 0 0         unless exists $_[1]->{name};
22655             # my ($class, $value, $index, $output) = @_;
22656 0           $_[0]->serialize_string( $_[1]->{name}, $_[2], $_[3] );
22657              
22658             # Serializing field: 'flags'
22659             croak "Missing required input value 'flags'"
22660 0 0         unless exists $_[1]->{flags};
22661             # my ($class, $value, $index, $output) = @_;
22662             croak "Missing required input 'unsigned int' value"
22663 0 0         unless defined $_[1]->{flags};
22664             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22665 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22666             die "Non-integer 'int' value given: $_[1]->{flags}"
22667 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22668 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22669 0           $_[2] += 4;
22670             }
22671             # @_: ($class, $value, $index, $input) = @_;
22672             sub deserialize_storage_vol_upload_args {
22673 0     0 0   my $input_length = length $_[3];
22674 0           $_[1] = {};
22675             # Deserializing field: 'vol'
22676             # my ($class, $value, $index, $input) = @_;
22677 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
22678              
22679             # Deserializing field: 'offset'
22680             # my ($class, $value, $index, $input) = @_;
22681 0 0         die "Input buffer too short"
22682             if ($input_length - $_[2]) < 8;
22683 0           $_[1]->{offset} = unpack("Q>", substr( $_[3], $_[2] ));
22684 0           $_[2] += 8;
22685             die "Out of bounds 'unsigned hyper': $_[1]->{offset}"
22686             unless (0 <= $_[1]->{offset}
22687 0 0 0       and $_[1]->{offset} <= 18446744073709551615);
22688              
22689             # Deserializing field: 'length'
22690             # my ($class, $value, $index, $input) = @_;
22691 0 0         die "Input buffer too short"
22692             if ($input_length - $_[2]) < 8;
22693 0           $_[1]->{length} = unpack("Q>", substr( $_[3], $_[2] ));
22694 0           $_[2] += 8;
22695             die "Out of bounds 'unsigned hyper': $_[1]->{length}"
22696             unless (0 <= $_[1]->{length}
22697 0 0 0       and $_[1]->{length} <= 18446744073709551615);
22698              
22699             # Deserializing field: 'flags'
22700             # my ($class, $value, $index, $input) = @_;
22701 0 0         die "Input buffer too short"
22702             if ($input_length - $_[2]) < 4;
22703 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22704 0           $_[2] += 4;
22705             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22706 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22707             }
22708             # @_: ($class, $value, $index, $output) = @_;
22709             sub serialize_storage_vol_upload_args {
22710 0 0   0 0   croak "Missing required input 'struct' value"
22711             unless defined $_[1];
22712              
22713             # Serializing field: 'vol'
22714             croak "Missing required input value 'vol'"
22715 0 0         unless exists $_[1]->{vol};
22716             # my ($class, $value, $index, $output) = @_;
22717 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
22718              
22719             # Serializing field: 'offset'
22720             croak "Missing required input value 'offset'"
22721 0 0         unless exists $_[1]->{offset};
22722             # my ($class, $value, $index, $output) = @_;
22723             croak "Missing required input 'unsigned long' value"
22724 0 0         unless defined $_[1]->{offset};
22725             die "Out of bounds 'unsigned hyper': $_[1]->{offset}"
22726             unless (0 <= $_[1]->{offset}
22727 0 0 0       and $_[1]->{offset} <= 18446744073709551615);
22728             die "Non-integer 'long' value given: $_[1]->{offset}"
22729 0 0         unless int($_[1]->{offset}) == $_[1]->{offset};
22730 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{offset});
22731 0           $_[2] += 8;
22732              
22733             # Serializing field: 'length'
22734             croak "Missing required input value 'length'"
22735 0 0         unless exists $_[1]->{length};
22736             # my ($class, $value, $index, $output) = @_;
22737             croak "Missing required input 'unsigned long' value"
22738 0 0         unless defined $_[1]->{length};
22739             die "Out of bounds 'unsigned hyper': $_[1]->{length}"
22740             unless (0 <= $_[1]->{length}
22741 0 0 0       and $_[1]->{length} <= 18446744073709551615);
22742             die "Non-integer 'long' value given: $_[1]->{length}"
22743 0 0         unless int($_[1]->{length}) == $_[1]->{length};
22744 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{length});
22745 0           $_[2] += 8;
22746              
22747             # Serializing field: 'flags'
22748             croak "Missing required input value 'flags'"
22749 0 0         unless exists $_[1]->{flags};
22750             # my ($class, $value, $index, $output) = @_;
22751             croak "Missing required input 'unsigned int' value"
22752 0 0         unless defined $_[1]->{flags};
22753             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22754 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22755             die "Non-integer 'int' value given: $_[1]->{flags}"
22756 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22757 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22758 0           $_[2] += 4;
22759             }
22760             # @_: ($class, $value, $index, $input) = @_;
22761             sub deserialize_storage_vol_download_args {
22762 0     0 0   my $input_length = length $_[3];
22763 0           $_[1] = {};
22764             # Deserializing field: 'vol'
22765             # my ($class, $value, $index, $input) = @_;
22766 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
22767              
22768             # Deserializing field: 'offset'
22769             # my ($class, $value, $index, $input) = @_;
22770 0 0         die "Input buffer too short"
22771             if ($input_length - $_[2]) < 8;
22772 0           $_[1]->{offset} = unpack("Q>", substr( $_[3], $_[2] ));
22773 0           $_[2] += 8;
22774             die "Out of bounds 'unsigned hyper': $_[1]->{offset}"
22775             unless (0 <= $_[1]->{offset}
22776 0 0 0       and $_[1]->{offset} <= 18446744073709551615);
22777              
22778             # Deserializing field: 'length'
22779             # my ($class, $value, $index, $input) = @_;
22780 0 0         die "Input buffer too short"
22781             if ($input_length - $_[2]) < 8;
22782 0           $_[1]->{length} = unpack("Q>", substr( $_[3], $_[2] ));
22783 0           $_[2] += 8;
22784             die "Out of bounds 'unsigned hyper': $_[1]->{length}"
22785             unless (0 <= $_[1]->{length}
22786 0 0 0       and $_[1]->{length} <= 18446744073709551615);
22787              
22788             # Deserializing field: 'flags'
22789             # my ($class, $value, $index, $input) = @_;
22790 0 0         die "Input buffer too short"
22791             if ($input_length - $_[2]) < 4;
22792 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22793 0           $_[2] += 4;
22794             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22795 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22796             }
22797             # @_: ($class, $value, $index, $output) = @_;
22798             sub serialize_storage_vol_download_args {
22799 0 0   0 0   croak "Missing required input 'struct' value"
22800             unless defined $_[1];
22801              
22802             # Serializing field: 'vol'
22803             croak "Missing required input value 'vol'"
22804 0 0         unless exists $_[1]->{vol};
22805             # my ($class, $value, $index, $output) = @_;
22806 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
22807              
22808             # Serializing field: 'offset'
22809             croak "Missing required input value 'offset'"
22810 0 0         unless exists $_[1]->{offset};
22811             # my ($class, $value, $index, $output) = @_;
22812             croak "Missing required input 'unsigned long' value"
22813 0 0         unless defined $_[1]->{offset};
22814             die "Out of bounds 'unsigned hyper': $_[1]->{offset}"
22815             unless (0 <= $_[1]->{offset}
22816 0 0 0       and $_[1]->{offset} <= 18446744073709551615);
22817             die "Non-integer 'long' value given: $_[1]->{offset}"
22818 0 0         unless int($_[1]->{offset}) == $_[1]->{offset};
22819 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{offset});
22820 0           $_[2] += 8;
22821              
22822             # Serializing field: 'length'
22823             croak "Missing required input value 'length'"
22824 0 0         unless exists $_[1]->{length};
22825             # my ($class, $value, $index, $output) = @_;
22826             croak "Missing required input 'unsigned long' value"
22827 0 0         unless defined $_[1]->{length};
22828             die "Out of bounds 'unsigned hyper': $_[1]->{length}"
22829             unless (0 <= $_[1]->{length}
22830 0 0 0       and $_[1]->{length} <= 18446744073709551615);
22831             die "Non-integer 'long' value given: $_[1]->{length}"
22832 0 0         unless int($_[1]->{length}) == $_[1]->{length};
22833 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{length});
22834 0           $_[2] += 8;
22835              
22836             # Serializing field: 'flags'
22837             croak "Missing required input value 'flags'"
22838 0 0         unless exists $_[1]->{flags};
22839             # my ($class, $value, $index, $output) = @_;
22840             croak "Missing required input 'unsigned int' value"
22841 0 0         unless defined $_[1]->{flags};
22842             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22843 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22844             die "Non-integer 'int' value given: $_[1]->{flags}"
22845 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22846 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22847 0           $_[2] += 4;
22848             }
22849             # @_: ($class, $value, $index, $input) = @_;
22850             sub deserialize_domain_get_state_args {
22851 0     0 0   my $input_length = length $_[3];
22852 0           $_[1] = {};
22853             # Deserializing field: 'dom'
22854             # my ($class, $value, $index, $input) = @_;
22855 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22856              
22857             # Deserializing field: 'flags'
22858             # my ($class, $value, $index, $input) = @_;
22859 0 0         die "Input buffer too short"
22860             if ($input_length - $_[2]) < 4;
22861 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22862 0           $_[2] += 4;
22863             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22864 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22865             }
22866             # @_: ($class, $value, $index, $output) = @_;
22867             sub serialize_domain_get_state_args {
22868 0 0   0 0   croak "Missing required input 'struct' value"
22869             unless defined $_[1];
22870              
22871             # Serializing field: 'dom'
22872             croak "Missing required input value 'dom'"
22873 0 0         unless exists $_[1]->{dom};
22874             # my ($class, $value, $index, $output) = @_;
22875 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22876              
22877             # Serializing field: 'flags'
22878             croak "Missing required input value 'flags'"
22879 0 0         unless exists $_[1]->{flags};
22880             # my ($class, $value, $index, $output) = @_;
22881             croak "Missing required input 'unsigned int' value"
22882 0 0         unless defined $_[1]->{flags};
22883             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22884 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22885             die "Non-integer 'int' value given: $_[1]->{flags}"
22886 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22887 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22888 0           $_[2] += 4;
22889             }
22890             # @_: ($class, $value, $index, $input) = @_;
22891             sub deserialize_domain_get_state_ret {
22892 0     0 0   my $input_length = length $_[3];
22893 0           $_[1] = {};
22894             # Deserializing field: 'state'
22895             # my ($class, $value, $index, $input) = @_;
22896 0 0         die "Input buffer too short"
22897             if ($input_length - $_[2]) < 4;
22898 0           $_[1]->{state} = unpack("l>", substr( $_[3], $_[2] ));
22899 0           $_[2] += 4;
22900             die "Out of bounds 'int': $_[1]->{state}"
22901 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
22902              
22903             # Deserializing field: 'reason'
22904             # my ($class, $value, $index, $input) = @_;
22905 0 0         die "Input buffer too short"
22906             if ($input_length - $_[2]) < 4;
22907 0           $_[1]->{reason} = unpack("l>", substr( $_[3], $_[2] ));
22908 0           $_[2] += 4;
22909             die "Out of bounds 'int': $_[1]->{reason}"
22910 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
22911             }
22912             # @_: ($class, $value, $index, $output) = @_;
22913             sub serialize_domain_get_state_ret {
22914 0 0   0 0   croak "Missing required input 'struct' value"
22915             unless defined $_[1];
22916              
22917             # Serializing field: 'state'
22918             croak "Missing required input value 'state'"
22919 0 0         unless exists $_[1]->{state};
22920             # my ($class, $value, $index, $output) = @_;
22921             croak "Missing required input 'int' value"
22922 0 0         unless defined $_[1]->{state};
22923             die "Out of bounds 'int': $_[1]->{state}"
22924 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
22925             die "Non-integer 'int' value given: $_[1]->{state}"
22926 0 0         unless int($_[1]->{state}) == $_[1]->{state};
22927 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{state});
22928 0           $_[2] += 4;
22929              
22930             # Serializing field: 'reason'
22931             croak "Missing required input value 'reason'"
22932 0 0         unless exists $_[1]->{reason};
22933             # my ($class, $value, $index, $output) = @_;
22934             croak "Missing required input 'int' value"
22935 0 0         unless defined $_[1]->{reason};
22936             die "Out of bounds 'int': $_[1]->{reason}"
22937 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
22938             die "Non-integer 'int' value given: $_[1]->{reason}"
22939 0 0         unless int($_[1]->{reason}) == $_[1]->{reason};
22940 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{reason});
22941 0           $_[2] += 4;
22942             }
22943             # @_: ($class, $value, $index, $input) = @_;
22944             sub deserialize_domain_migrate_begin3_args {
22945 0     0 0   my $input_length = length $_[3];
22946 0           $_[1] = {};
22947             # Deserializing field: 'dom'
22948             # my ($class, $value, $index, $input) = @_;
22949 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22950              
22951             # Deserializing field: 'xmlin'
22952             # my ($class, $value, $index, $input) = @_;
22953 0           $_[0]->deserialize_string( $_[1]->{xmlin}, $_[2], $_[3] );
22954              
22955             # Deserializing field: 'flags'
22956             # my ($class, $value, $index, $input) = @_;
22957 0 0         die "Input buffer too short"
22958             if ($input_length - $_[2]) < 8;
22959 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
22960 0           $_[2] += 8;
22961             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
22962             unless (0 <= $_[1]->{flags}
22963 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
22964              
22965             # Deserializing field: 'dname'
22966             # my ($class, $value, $index, $input) = @_;
22967 0           $_[0]->deserialize_string( $_[1]->{dname}, $_[2], $_[3] );
22968              
22969             # Deserializing field: 'bandwidth'
22970             # my ($class, $value, $index, $input) = @_;
22971 0 0         die "Input buffer too short"
22972             if ($input_length - $_[2]) < 8;
22973 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
22974 0           $_[2] += 8;
22975             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
22976             unless (0 <= $_[1]->{bandwidth}
22977 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
22978             }
22979             # @_: ($class, $value, $index, $output) = @_;
22980             sub serialize_domain_migrate_begin3_args {
22981 0 0   0 0   croak "Missing required input 'struct' value"
22982             unless defined $_[1];
22983              
22984             # Serializing field: 'dom'
22985             croak "Missing required input value 'dom'"
22986 0 0         unless exists $_[1]->{dom};
22987             # my ($class, $value, $index, $output) = @_;
22988 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22989              
22990             # Serializing field: 'xmlin'
22991             croak "Missing required input value 'xmlin'"
22992 0 0         unless exists $_[1]->{xmlin};
22993             # my ($class, $value, $index, $output) = @_;
22994 0           $_[0]->serialize_string( $_[1]->{xmlin}, $_[2], $_[3] );
22995              
22996             # Serializing field: 'flags'
22997             croak "Missing required input value 'flags'"
22998 0 0         unless exists $_[1]->{flags};
22999             # my ($class, $value, $index, $output) = @_;
23000             croak "Missing required input 'unsigned long' value"
23001 0 0         unless defined $_[1]->{flags};
23002             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23003             unless (0 <= $_[1]->{flags}
23004 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23005             die "Non-integer 'long' value given: $_[1]->{flags}"
23006 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
23007 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
23008 0           $_[2] += 8;
23009              
23010             # Serializing field: 'dname'
23011             croak "Missing required input value 'dname'"
23012 0 0         unless exists $_[1]->{dname};
23013             # my ($class, $value, $index, $output) = @_;
23014 0           $_[0]->serialize_string( $_[1]->{dname}, $_[2], $_[3] );
23015              
23016             # Serializing field: 'bandwidth'
23017             croak "Missing required input value 'bandwidth'"
23018 0 0         unless exists $_[1]->{bandwidth};
23019             # my ($class, $value, $index, $output) = @_;
23020             croak "Missing required input 'unsigned long' value"
23021 0 0         unless defined $_[1]->{bandwidth};
23022             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
23023             unless (0 <= $_[1]->{bandwidth}
23024 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
23025             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
23026 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
23027 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
23028 0           $_[2] += 8;
23029             }
23030             # @_: ($class, $value, $index, $input) = @_;
23031             sub deserialize_domain_migrate_begin3_ret {
23032 0     0 0   my $input_length = length $_[3];
23033 0           $_[1] = {};
23034             # Deserializing field: 'cookie_out'
23035             # my ($class, $value, $index, $input) = @_;
23036 0           do {
23037 0 0         die "Input buffer too short"
23038             if ($input_length - $_[2]) < 4;
23039 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23040 0           $_[2] += 4;
23041 0 0         die "Opaque data too long (max: 4194304): $len"
23042             unless ($len <= 4194304);
23043 0 0         die "Input buffer too short"
23044             if ($input_length - $_[2]) < $len;
23045 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
23046 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23047             };
23048              
23049             # Deserializing field: 'xml'
23050             # my ($class, $value, $index, $input) = @_;
23051 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
23052             }
23053             # @_: ($class, $value, $index, $output) = @_;
23054             sub serialize_domain_migrate_begin3_ret {
23055 0 0   0 0   croak "Missing required input 'struct' value"
23056             unless defined $_[1];
23057              
23058             # Serializing field: 'cookie_out'
23059             croak "Missing required input value 'cookie_out'"
23060 0 0         unless exists $_[1]->{cookie_out};
23061             # my ($class, $value, $index, $output) = @_;
23062             croak "Missing required input 'opaque data' value"
23063 0 0         unless defined $_[1]->{cookie_out};
23064 0           do {
23065 0           my $len = length $_[1]->{cookie_out};
23066 0 0         die "Opaque data too long (max: 4194304): $len"
23067             unless ($len <= 4194304);
23068              
23069 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23070 0           $_[2] += 4;
23071 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
23072 0           $_[2] += $len;
23073 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23074 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23075 0           $_[2] += $pad;
23076             }
23077             };
23078              
23079             # Serializing field: 'xml'
23080             croak "Missing required input value 'xml'"
23081 0 0         unless exists $_[1]->{xml};
23082             # my ($class, $value, $index, $output) = @_;
23083 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
23084             }
23085             # @_: ($class, $value, $index, $input) = @_;
23086             sub deserialize_domain_migrate_prepare3_args {
23087 0     0 0   my $input_length = length $_[3];
23088 0           $_[1] = {};
23089             # Deserializing field: 'cookie_in'
23090             # my ($class, $value, $index, $input) = @_;
23091 0           do {
23092 0 0         die "Input buffer too short"
23093             if ($input_length - $_[2]) < 4;
23094 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23095 0           $_[2] += 4;
23096 0 0         die "Opaque data too long (max: 4194304): $len"
23097             unless ($len <= 4194304);
23098 0 0         die "Input buffer too short"
23099             if ($input_length - $_[2]) < $len;
23100 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
23101 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23102             };
23103              
23104             # Deserializing field: 'uri_in'
23105             # my ($class, $value, $index, $input) = @_;
23106 0           $_[0]->deserialize_string( $_[1]->{uri_in}, $_[2], $_[3] );
23107              
23108             # Deserializing field: 'flags'
23109             # my ($class, $value, $index, $input) = @_;
23110 0 0         die "Input buffer too short"
23111             if ($input_length - $_[2]) < 8;
23112 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
23113 0           $_[2] += 8;
23114             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23115             unless (0 <= $_[1]->{flags}
23116 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23117              
23118             # Deserializing field: 'dname'
23119             # my ($class, $value, $index, $input) = @_;
23120 0           $_[0]->deserialize_string( $_[1]->{dname}, $_[2], $_[3] );
23121              
23122             # Deserializing field: 'bandwidth'
23123             # my ($class, $value, $index, $input) = @_;
23124 0 0         die "Input buffer too short"
23125             if ($input_length - $_[2]) < 8;
23126 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
23127 0           $_[2] += 8;
23128             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
23129             unless (0 <= $_[1]->{bandwidth}
23130 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
23131              
23132             # Deserializing field: 'dom_xml'
23133             # my ($class, $value, $index, $input) = @_;
23134 0           $_[0]->deserialize_nonnull_string( $_[1]->{dom_xml}, $_[2], $_[3] );
23135             }
23136             # @_: ($class, $value, $index, $output) = @_;
23137             sub serialize_domain_migrate_prepare3_args {
23138 0 0   0 0   croak "Missing required input 'struct' value"
23139             unless defined $_[1];
23140              
23141             # Serializing field: 'cookie_in'
23142             croak "Missing required input value 'cookie_in'"
23143 0 0         unless exists $_[1]->{cookie_in};
23144             # my ($class, $value, $index, $output) = @_;
23145             croak "Missing required input 'opaque data' value"
23146 0 0         unless defined $_[1]->{cookie_in};
23147 0           do {
23148 0           my $len = length $_[1]->{cookie_in};
23149 0 0         die "Opaque data too long (max: 4194304): $len"
23150             unless ($len <= 4194304);
23151              
23152 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23153 0           $_[2] += 4;
23154 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
23155 0           $_[2] += $len;
23156 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23157 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23158 0           $_[2] += $pad;
23159             }
23160             };
23161              
23162             # Serializing field: 'uri_in'
23163             croak "Missing required input value 'uri_in'"
23164 0 0         unless exists $_[1]->{uri_in};
23165             # my ($class, $value, $index, $output) = @_;
23166 0           $_[0]->serialize_string( $_[1]->{uri_in}, $_[2], $_[3] );
23167              
23168             # Serializing field: 'flags'
23169             croak "Missing required input value 'flags'"
23170 0 0         unless exists $_[1]->{flags};
23171             # my ($class, $value, $index, $output) = @_;
23172             croak "Missing required input 'unsigned long' value"
23173 0 0         unless defined $_[1]->{flags};
23174             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23175             unless (0 <= $_[1]->{flags}
23176 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23177             die "Non-integer 'long' value given: $_[1]->{flags}"
23178 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
23179 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
23180 0           $_[2] += 8;
23181              
23182             # Serializing field: 'dname'
23183             croak "Missing required input value 'dname'"
23184 0 0         unless exists $_[1]->{dname};
23185             # my ($class, $value, $index, $output) = @_;
23186 0           $_[0]->serialize_string( $_[1]->{dname}, $_[2], $_[3] );
23187              
23188             # Serializing field: 'bandwidth'
23189             croak "Missing required input value 'bandwidth'"
23190 0 0         unless exists $_[1]->{bandwidth};
23191             # my ($class, $value, $index, $output) = @_;
23192             croak "Missing required input 'unsigned long' value"
23193 0 0         unless defined $_[1]->{bandwidth};
23194             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
23195             unless (0 <= $_[1]->{bandwidth}
23196 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
23197             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
23198 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
23199 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
23200 0           $_[2] += 8;
23201              
23202             # Serializing field: 'dom_xml'
23203             croak "Missing required input value 'dom_xml'"
23204 0 0         unless exists $_[1]->{dom_xml};
23205             # my ($class, $value, $index, $output) = @_;
23206 0           $_[0]->serialize_nonnull_string( $_[1]->{dom_xml}, $_[2], $_[3] );
23207             }
23208             # @_: ($class, $value, $index, $input) = @_;
23209             sub deserialize_domain_migrate_prepare3_ret {
23210 0     0 0   my $input_length = length $_[3];
23211 0           $_[1] = {};
23212             # Deserializing field: 'cookie_out'
23213             # my ($class, $value, $index, $input) = @_;
23214 0           do {
23215 0 0         die "Input buffer too short"
23216             if ($input_length - $_[2]) < 4;
23217 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23218 0           $_[2] += 4;
23219 0 0         die "Opaque data too long (max: 4194304): $len"
23220             unless ($len <= 4194304);
23221 0 0         die "Input buffer too short"
23222             if ($input_length - $_[2]) < $len;
23223 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
23224 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23225             };
23226              
23227             # Deserializing field: 'uri_out'
23228             # my ($class, $value, $index, $input) = @_;
23229 0           $_[0]->deserialize_string( $_[1]->{uri_out}, $_[2], $_[3] );
23230             }
23231             # @_: ($class, $value, $index, $output) = @_;
23232             sub serialize_domain_migrate_prepare3_ret {
23233 0 0   0 0   croak "Missing required input 'struct' value"
23234             unless defined $_[1];
23235              
23236             # Serializing field: 'cookie_out'
23237             croak "Missing required input value 'cookie_out'"
23238 0 0         unless exists $_[1]->{cookie_out};
23239             # my ($class, $value, $index, $output) = @_;
23240             croak "Missing required input 'opaque data' value"
23241 0 0         unless defined $_[1]->{cookie_out};
23242 0           do {
23243 0           my $len = length $_[1]->{cookie_out};
23244 0 0         die "Opaque data too long (max: 4194304): $len"
23245             unless ($len <= 4194304);
23246              
23247 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23248 0           $_[2] += 4;
23249 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
23250 0           $_[2] += $len;
23251 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23252 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23253 0           $_[2] += $pad;
23254             }
23255             };
23256              
23257             # Serializing field: 'uri_out'
23258             croak "Missing required input value 'uri_out'"
23259 0 0         unless exists $_[1]->{uri_out};
23260             # my ($class, $value, $index, $output) = @_;
23261 0           $_[0]->serialize_string( $_[1]->{uri_out}, $_[2], $_[3] );
23262             }
23263             # @_: ($class, $value, $index, $input) = @_;
23264             sub deserialize_domain_migrate_prepare_tunnel3_args {
23265 0     0 0   my $input_length = length $_[3];
23266 0           $_[1] = {};
23267             # Deserializing field: 'cookie_in'
23268             # my ($class, $value, $index, $input) = @_;
23269 0           do {
23270 0 0         die "Input buffer too short"
23271             if ($input_length - $_[2]) < 4;
23272 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23273 0           $_[2] += 4;
23274 0 0         die "Opaque data too long (max: 4194304): $len"
23275             unless ($len <= 4194304);
23276 0 0         die "Input buffer too short"
23277             if ($input_length - $_[2]) < $len;
23278 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
23279 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23280             };
23281              
23282             # Deserializing field: 'flags'
23283             # my ($class, $value, $index, $input) = @_;
23284 0 0         die "Input buffer too short"
23285             if ($input_length - $_[2]) < 8;
23286 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
23287 0           $_[2] += 8;
23288             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23289             unless (0 <= $_[1]->{flags}
23290 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23291              
23292             # Deserializing field: 'dname'
23293             # my ($class, $value, $index, $input) = @_;
23294 0           $_[0]->deserialize_string( $_[1]->{dname}, $_[2], $_[3] );
23295              
23296             # Deserializing field: 'bandwidth'
23297             # my ($class, $value, $index, $input) = @_;
23298 0 0         die "Input buffer too short"
23299             if ($input_length - $_[2]) < 8;
23300 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
23301 0           $_[2] += 8;
23302             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
23303             unless (0 <= $_[1]->{bandwidth}
23304 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
23305              
23306             # Deserializing field: 'dom_xml'
23307             # my ($class, $value, $index, $input) = @_;
23308 0           $_[0]->deserialize_nonnull_string( $_[1]->{dom_xml}, $_[2], $_[3] );
23309             }
23310             # @_: ($class, $value, $index, $output) = @_;
23311             sub serialize_domain_migrate_prepare_tunnel3_args {
23312 0 0   0 0   croak "Missing required input 'struct' value"
23313             unless defined $_[1];
23314              
23315             # Serializing field: 'cookie_in'
23316             croak "Missing required input value 'cookie_in'"
23317 0 0         unless exists $_[1]->{cookie_in};
23318             # my ($class, $value, $index, $output) = @_;
23319             croak "Missing required input 'opaque data' value"
23320 0 0         unless defined $_[1]->{cookie_in};
23321 0           do {
23322 0           my $len = length $_[1]->{cookie_in};
23323 0 0         die "Opaque data too long (max: 4194304): $len"
23324             unless ($len <= 4194304);
23325              
23326 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23327 0           $_[2] += 4;
23328 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
23329 0           $_[2] += $len;
23330 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23331 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23332 0           $_[2] += $pad;
23333             }
23334             };
23335              
23336             # Serializing field: 'flags'
23337             croak "Missing required input value 'flags'"
23338 0 0         unless exists $_[1]->{flags};
23339             # my ($class, $value, $index, $output) = @_;
23340             croak "Missing required input 'unsigned long' value"
23341 0 0         unless defined $_[1]->{flags};
23342             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23343             unless (0 <= $_[1]->{flags}
23344 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23345             die "Non-integer 'long' value given: $_[1]->{flags}"
23346 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
23347 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
23348 0           $_[2] += 8;
23349              
23350             # Serializing field: 'dname'
23351             croak "Missing required input value 'dname'"
23352 0 0         unless exists $_[1]->{dname};
23353             # my ($class, $value, $index, $output) = @_;
23354 0           $_[0]->serialize_string( $_[1]->{dname}, $_[2], $_[3] );
23355              
23356             # Serializing field: 'bandwidth'
23357             croak "Missing required input value 'bandwidth'"
23358 0 0         unless exists $_[1]->{bandwidth};
23359             # my ($class, $value, $index, $output) = @_;
23360             croak "Missing required input 'unsigned long' value"
23361 0 0         unless defined $_[1]->{bandwidth};
23362             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
23363             unless (0 <= $_[1]->{bandwidth}
23364 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
23365             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
23366 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
23367 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
23368 0           $_[2] += 8;
23369              
23370             # Serializing field: 'dom_xml'
23371             croak "Missing required input value 'dom_xml'"
23372 0 0         unless exists $_[1]->{dom_xml};
23373             # my ($class, $value, $index, $output) = @_;
23374 0           $_[0]->serialize_nonnull_string( $_[1]->{dom_xml}, $_[2], $_[3] );
23375             }
23376             # @_: ($class, $value, $index, $input) = @_;
23377             sub deserialize_domain_migrate_prepare_tunnel3_ret {
23378 0     0 0   my $input_length = length $_[3];
23379 0           $_[1] = {};
23380             # Deserializing field: 'cookie_out'
23381             # my ($class, $value, $index, $input) = @_;
23382 0           do {
23383 0 0         die "Input buffer too short"
23384             if ($input_length - $_[2]) < 4;
23385 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23386 0           $_[2] += 4;
23387 0 0         die "Opaque data too long (max: 4194304): $len"
23388             unless ($len <= 4194304);
23389 0 0         die "Input buffer too short"
23390             if ($input_length - $_[2]) < $len;
23391 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
23392 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23393             };
23394             }
23395             # @_: ($class, $value, $index, $output) = @_;
23396             sub serialize_domain_migrate_prepare_tunnel3_ret {
23397 0 0   0 0   croak "Missing required input 'struct' value"
23398             unless defined $_[1];
23399              
23400             # Serializing field: 'cookie_out'
23401             croak "Missing required input value 'cookie_out'"
23402 0 0         unless exists $_[1]->{cookie_out};
23403             # my ($class, $value, $index, $output) = @_;
23404             croak "Missing required input 'opaque data' value"
23405 0 0         unless defined $_[1]->{cookie_out};
23406 0           do {
23407 0           my $len = length $_[1]->{cookie_out};
23408 0 0         die "Opaque data too long (max: 4194304): $len"
23409             unless ($len <= 4194304);
23410              
23411 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23412 0           $_[2] += 4;
23413 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
23414 0           $_[2] += $len;
23415 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23416 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23417 0           $_[2] += $pad;
23418             }
23419             };
23420             }
23421             # @_: ($class, $value, $index, $input) = @_;
23422             sub deserialize_domain_migrate_perform3_args {
23423 0     0 0   my $input_length = length $_[3];
23424 0           $_[1] = {};
23425             # Deserializing field: 'dom'
23426             # my ($class, $value, $index, $input) = @_;
23427 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23428              
23429             # Deserializing field: 'xmlin'
23430             # my ($class, $value, $index, $input) = @_;
23431 0           $_[0]->deserialize_string( $_[1]->{xmlin}, $_[2], $_[3] );
23432              
23433             # Deserializing field: 'cookie_in'
23434             # my ($class, $value, $index, $input) = @_;
23435 0           do {
23436 0 0         die "Input buffer too short"
23437             if ($input_length - $_[2]) < 4;
23438 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23439 0           $_[2] += 4;
23440 0 0         die "Opaque data too long (max: 4194304): $len"
23441             unless ($len <= 4194304);
23442 0 0         die "Input buffer too short"
23443             if ($input_length - $_[2]) < $len;
23444 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
23445 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23446             };
23447              
23448             # Deserializing field: 'dconnuri'
23449             # my ($class, $value, $index, $input) = @_;
23450 0           $_[0]->deserialize_string( $_[1]->{dconnuri}, $_[2], $_[3] );
23451              
23452             # Deserializing field: 'uri'
23453             # my ($class, $value, $index, $input) = @_;
23454 0           $_[0]->deserialize_string( $_[1]->{uri}, $_[2], $_[3] );
23455              
23456             # Deserializing field: 'flags'
23457             # my ($class, $value, $index, $input) = @_;
23458 0 0         die "Input buffer too short"
23459             if ($input_length - $_[2]) < 8;
23460 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
23461 0           $_[2] += 8;
23462             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23463             unless (0 <= $_[1]->{flags}
23464 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23465              
23466             # Deserializing field: 'dname'
23467             # my ($class, $value, $index, $input) = @_;
23468 0           $_[0]->deserialize_string( $_[1]->{dname}, $_[2], $_[3] );
23469              
23470             # Deserializing field: 'bandwidth'
23471             # my ($class, $value, $index, $input) = @_;
23472 0 0         die "Input buffer too short"
23473             if ($input_length - $_[2]) < 8;
23474 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
23475 0           $_[2] += 8;
23476             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
23477             unless (0 <= $_[1]->{bandwidth}
23478 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
23479             }
23480             # @_: ($class, $value, $index, $output) = @_;
23481             sub serialize_domain_migrate_perform3_args {
23482 0 0   0 0   croak "Missing required input 'struct' value"
23483             unless defined $_[1];
23484              
23485             # Serializing field: 'dom'
23486             croak "Missing required input value 'dom'"
23487 0 0         unless exists $_[1]->{dom};
23488             # my ($class, $value, $index, $output) = @_;
23489 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23490              
23491             # Serializing field: 'xmlin'
23492             croak "Missing required input value 'xmlin'"
23493 0 0         unless exists $_[1]->{xmlin};
23494             # my ($class, $value, $index, $output) = @_;
23495 0           $_[0]->serialize_string( $_[1]->{xmlin}, $_[2], $_[3] );
23496              
23497             # Serializing field: 'cookie_in'
23498             croak "Missing required input value 'cookie_in'"
23499 0 0         unless exists $_[1]->{cookie_in};
23500             # my ($class, $value, $index, $output) = @_;
23501             croak "Missing required input 'opaque data' value"
23502 0 0         unless defined $_[1]->{cookie_in};
23503 0           do {
23504 0           my $len = length $_[1]->{cookie_in};
23505 0 0         die "Opaque data too long (max: 4194304): $len"
23506             unless ($len <= 4194304);
23507              
23508 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23509 0           $_[2] += 4;
23510 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
23511 0           $_[2] += $len;
23512 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23513 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23514 0           $_[2] += $pad;
23515             }
23516             };
23517              
23518             # Serializing field: 'dconnuri'
23519             croak "Missing required input value 'dconnuri'"
23520 0 0         unless exists $_[1]->{dconnuri};
23521             # my ($class, $value, $index, $output) = @_;
23522 0           $_[0]->serialize_string( $_[1]->{dconnuri}, $_[2], $_[3] );
23523              
23524             # Serializing field: 'uri'
23525             croak "Missing required input value 'uri'"
23526 0 0         unless exists $_[1]->{uri};
23527             # my ($class, $value, $index, $output) = @_;
23528 0           $_[0]->serialize_string( $_[1]->{uri}, $_[2], $_[3] );
23529              
23530             # Serializing field: 'flags'
23531             croak "Missing required input value 'flags'"
23532 0 0         unless exists $_[1]->{flags};
23533             # my ($class, $value, $index, $output) = @_;
23534             croak "Missing required input 'unsigned long' value"
23535 0 0         unless defined $_[1]->{flags};
23536             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23537             unless (0 <= $_[1]->{flags}
23538 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23539             die "Non-integer 'long' value given: $_[1]->{flags}"
23540 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
23541 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
23542 0           $_[2] += 8;
23543              
23544             # Serializing field: 'dname'
23545             croak "Missing required input value 'dname'"
23546 0 0         unless exists $_[1]->{dname};
23547             # my ($class, $value, $index, $output) = @_;
23548 0           $_[0]->serialize_string( $_[1]->{dname}, $_[2], $_[3] );
23549              
23550             # Serializing field: 'bandwidth'
23551             croak "Missing required input value 'bandwidth'"
23552 0 0         unless exists $_[1]->{bandwidth};
23553             # my ($class, $value, $index, $output) = @_;
23554             croak "Missing required input 'unsigned long' value"
23555 0 0         unless defined $_[1]->{bandwidth};
23556             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
23557             unless (0 <= $_[1]->{bandwidth}
23558 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
23559             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
23560 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
23561 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
23562 0           $_[2] += 8;
23563             }
23564             # @_: ($class, $value, $index, $input) = @_;
23565             sub deserialize_domain_migrate_perform3_ret {
23566 0     0 0   my $input_length = length $_[3];
23567 0           $_[1] = {};
23568             # Deserializing field: 'cookie_out'
23569             # my ($class, $value, $index, $input) = @_;
23570 0           do {
23571 0 0         die "Input buffer too short"
23572             if ($input_length - $_[2]) < 4;
23573 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23574 0           $_[2] += 4;
23575 0 0         die "Opaque data too long (max: 4194304): $len"
23576             unless ($len <= 4194304);
23577 0 0         die "Input buffer too short"
23578             if ($input_length - $_[2]) < $len;
23579 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
23580 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23581             };
23582             }
23583             # @_: ($class, $value, $index, $output) = @_;
23584             sub serialize_domain_migrate_perform3_ret {
23585 0 0   0 0   croak "Missing required input 'struct' value"
23586             unless defined $_[1];
23587              
23588             # Serializing field: 'cookie_out'
23589             croak "Missing required input value 'cookie_out'"
23590 0 0         unless exists $_[1]->{cookie_out};
23591             # my ($class, $value, $index, $output) = @_;
23592             croak "Missing required input 'opaque data' value"
23593 0 0         unless defined $_[1]->{cookie_out};
23594 0           do {
23595 0           my $len = length $_[1]->{cookie_out};
23596 0 0         die "Opaque data too long (max: 4194304): $len"
23597             unless ($len <= 4194304);
23598              
23599 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23600 0           $_[2] += 4;
23601 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
23602 0           $_[2] += $len;
23603 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23604 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23605 0           $_[2] += $pad;
23606             }
23607             };
23608             }
23609             # @_: ($class, $value, $index, $input) = @_;
23610             sub deserialize_domain_migrate_finish3_args {
23611 0     0 0   my $input_length = length $_[3];
23612 0           $_[1] = {};
23613             # Deserializing field: 'dname'
23614             # my ($class, $value, $index, $input) = @_;
23615 0           $_[0]->deserialize_nonnull_string( $_[1]->{dname}, $_[2], $_[3] );
23616              
23617             # Deserializing field: 'cookie_in'
23618             # my ($class, $value, $index, $input) = @_;
23619 0           do {
23620 0 0         die "Input buffer too short"
23621             if ($input_length - $_[2]) < 4;
23622 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23623 0           $_[2] += 4;
23624 0 0         die "Opaque data too long (max: 4194304): $len"
23625             unless ($len <= 4194304);
23626 0 0         die "Input buffer too short"
23627             if ($input_length - $_[2]) < $len;
23628 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
23629 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23630             };
23631              
23632             # Deserializing field: 'dconnuri'
23633             # my ($class, $value, $index, $input) = @_;
23634 0           $_[0]->deserialize_string( $_[1]->{dconnuri}, $_[2], $_[3] );
23635              
23636             # Deserializing field: 'uri'
23637             # my ($class, $value, $index, $input) = @_;
23638 0           $_[0]->deserialize_string( $_[1]->{uri}, $_[2], $_[3] );
23639              
23640             # Deserializing field: 'flags'
23641             # my ($class, $value, $index, $input) = @_;
23642 0 0         die "Input buffer too short"
23643             if ($input_length - $_[2]) < 8;
23644 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
23645 0           $_[2] += 8;
23646             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23647             unless (0 <= $_[1]->{flags}
23648 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23649              
23650             # Deserializing field: 'cancelled'
23651             # my ($class, $value, $index, $input) = @_;
23652 0 0         die "Input buffer too short"
23653             if ($input_length - $_[2]) < 4;
23654 0           $_[1]->{cancelled} = unpack("l>", substr( $_[3], $_[2] ));
23655 0           $_[2] += 4;
23656             die "Out of bounds 'int': $_[1]->{cancelled}"
23657 0 0 0       unless (-2147483648 <= $_[1]->{cancelled} and $_[1]->{cancelled} < 2147483648);
23658             }
23659             # @_: ($class, $value, $index, $output) = @_;
23660             sub serialize_domain_migrate_finish3_args {
23661 0 0   0 0   croak "Missing required input 'struct' value"
23662             unless defined $_[1];
23663              
23664             # Serializing field: 'dname'
23665             croak "Missing required input value 'dname'"
23666 0 0         unless exists $_[1]->{dname};
23667             # my ($class, $value, $index, $output) = @_;
23668 0           $_[0]->serialize_nonnull_string( $_[1]->{dname}, $_[2], $_[3] );
23669              
23670             # Serializing field: 'cookie_in'
23671             croak "Missing required input value 'cookie_in'"
23672 0 0         unless exists $_[1]->{cookie_in};
23673             # my ($class, $value, $index, $output) = @_;
23674             croak "Missing required input 'opaque data' value"
23675 0 0         unless defined $_[1]->{cookie_in};
23676 0           do {
23677 0           my $len = length $_[1]->{cookie_in};
23678 0 0         die "Opaque data too long (max: 4194304): $len"
23679             unless ($len <= 4194304);
23680              
23681 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23682 0           $_[2] += 4;
23683 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
23684 0           $_[2] += $len;
23685 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23686 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23687 0           $_[2] += $pad;
23688             }
23689             };
23690              
23691             # Serializing field: 'dconnuri'
23692             croak "Missing required input value 'dconnuri'"
23693 0 0         unless exists $_[1]->{dconnuri};
23694             # my ($class, $value, $index, $output) = @_;
23695 0           $_[0]->serialize_string( $_[1]->{dconnuri}, $_[2], $_[3] );
23696              
23697             # Serializing field: 'uri'
23698             croak "Missing required input value 'uri'"
23699 0 0         unless exists $_[1]->{uri};
23700             # my ($class, $value, $index, $output) = @_;
23701 0           $_[0]->serialize_string( $_[1]->{uri}, $_[2], $_[3] );
23702              
23703             # Serializing field: 'flags'
23704             croak "Missing required input value 'flags'"
23705 0 0         unless exists $_[1]->{flags};
23706             # my ($class, $value, $index, $output) = @_;
23707             croak "Missing required input 'unsigned long' value"
23708 0 0         unless defined $_[1]->{flags};
23709             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23710             unless (0 <= $_[1]->{flags}
23711 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23712             die "Non-integer 'long' value given: $_[1]->{flags}"
23713 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
23714 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
23715 0           $_[2] += 8;
23716              
23717             # Serializing field: 'cancelled'
23718             croak "Missing required input value 'cancelled'"
23719 0 0         unless exists $_[1]->{cancelled};
23720             # my ($class, $value, $index, $output) = @_;
23721             croak "Missing required input 'int' value"
23722 0 0         unless defined $_[1]->{cancelled};
23723             die "Out of bounds 'int': $_[1]->{cancelled}"
23724 0 0 0       unless (-2147483648 <= $_[1]->{cancelled} and $_[1]->{cancelled} < 2147483648);
23725             die "Non-integer 'int' value given: $_[1]->{cancelled}"
23726 0 0         unless int($_[1]->{cancelled}) == $_[1]->{cancelled};
23727 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cancelled});
23728 0           $_[2] += 4;
23729             }
23730             # @_: ($class, $value, $index, $input) = @_;
23731             sub deserialize_domain_migrate_finish3_ret {
23732 0     0 0   my $input_length = length $_[3];
23733 0           $_[1] = {};
23734             # Deserializing field: 'dom'
23735             # my ($class, $value, $index, $input) = @_;
23736 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23737              
23738             # Deserializing field: 'cookie_out'
23739             # my ($class, $value, $index, $input) = @_;
23740 0           do {
23741 0 0         die "Input buffer too short"
23742             if ($input_length - $_[2]) < 4;
23743 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23744 0           $_[2] += 4;
23745 0 0         die "Opaque data too long (max: 4194304): $len"
23746             unless ($len <= 4194304);
23747 0 0         die "Input buffer too short"
23748             if ($input_length - $_[2]) < $len;
23749 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
23750 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23751             };
23752             }
23753             # @_: ($class, $value, $index, $output) = @_;
23754             sub serialize_domain_migrate_finish3_ret {
23755 0 0   0 0   croak "Missing required input 'struct' value"
23756             unless defined $_[1];
23757              
23758             # Serializing field: 'dom'
23759             croak "Missing required input value 'dom'"
23760 0 0         unless exists $_[1]->{dom};
23761             # my ($class, $value, $index, $output) = @_;
23762 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23763              
23764             # Serializing field: 'cookie_out'
23765             croak "Missing required input value 'cookie_out'"
23766 0 0         unless exists $_[1]->{cookie_out};
23767             # my ($class, $value, $index, $output) = @_;
23768             croak "Missing required input 'opaque data' value"
23769 0 0         unless defined $_[1]->{cookie_out};
23770 0           do {
23771 0           my $len = length $_[1]->{cookie_out};
23772 0 0         die "Opaque data too long (max: 4194304): $len"
23773             unless ($len <= 4194304);
23774              
23775 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23776 0           $_[2] += 4;
23777 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
23778 0           $_[2] += $len;
23779 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23780 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23781 0           $_[2] += $pad;
23782             }
23783             };
23784             }
23785             # @_: ($class, $value, $index, $input) = @_;
23786             sub deserialize_domain_migrate_confirm3_args {
23787 0     0 0   my $input_length = length $_[3];
23788 0           $_[1] = {};
23789             # Deserializing field: 'dom'
23790             # my ($class, $value, $index, $input) = @_;
23791 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23792              
23793             # Deserializing field: 'cookie_in'
23794             # my ($class, $value, $index, $input) = @_;
23795 0           do {
23796 0 0         die "Input buffer too short"
23797             if ($input_length - $_[2]) < 4;
23798 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23799 0           $_[2] += 4;
23800 0 0         die "Opaque data too long (max: 4194304): $len"
23801             unless ($len <= 4194304);
23802 0 0         die "Input buffer too short"
23803             if ($input_length - $_[2]) < $len;
23804 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
23805 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23806             };
23807              
23808             # Deserializing field: 'flags'
23809             # my ($class, $value, $index, $input) = @_;
23810 0 0         die "Input buffer too short"
23811             if ($input_length - $_[2]) < 8;
23812 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
23813 0           $_[2] += 8;
23814             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23815             unless (0 <= $_[1]->{flags}
23816 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23817              
23818             # Deserializing field: 'cancelled'
23819             # my ($class, $value, $index, $input) = @_;
23820 0 0         die "Input buffer too short"
23821             if ($input_length - $_[2]) < 4;
23822 0           $_[1]->{cancelled} = unpack("l>", substr( $_[3], $_[2] ));
23823 0           $_[2] += 4;
23824             die "Out of bounds 'int': $_[1]->{cancelled}"
23825 0 0 0       unless (-2147483648 <= $_[1]->{cancelled} and $_[1]->{cancelled} < 2147483648);
23826             }
23827             # @_: ($class, $value, $index, $output) = @_;
23828             sub serialize_domain_migrate_confirm3_args {
23829 0 0   0 0   croak "Missing required input 'struct' value"
23830             unless defined $_[1];
23831              
23832             # Serializing field: 'dom'
23833             croak "Missing required input value 'dom'"
23834 0 0         unless exists $_[1]->{dom};
23835             # my ($class, $value, $index, $output) = @_;
23836 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23837              
23838             # Serializing field: 'cookie_in'
23839             croak "Missing required input value 'cookie_in'"
23840 0 0         unless exists $_[1]->{cookie_in};
23841             # my ($class, $value, $index, $output) = @_;
23842             croak "Missing required input 'opaque data' value"
23843 0 0         unless defined $_[1]->{cookie_in};
23844 0           do {
23845 0           my $len = length $_[1]->{cookie_in};
23846 0 0         die "Opaque data too long (max: 4194304): $len"
23847             unless ($len <= 4194304);
23848              
23849 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23850 0           $_[2] += 4;
23851 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
23852 0           $_[2] += $len;
23853 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23854 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23855 0           $_[2] += $pad;
23856             }
23857             };
23858              
23859             # Serializing field: 'flags'
23860             croak "Missing required input value 'flags'"
23861 0 0         unless exists $_[1]->{flags};
23862             # my ($class, $value, $index, $output) = @_;
23863             croak "Missing required input 'unsigned long' value"
23864 0 0         unless defined $_[1]->{flags};
23865             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23866             unless (0 <= $_[1]->{flags}
23867 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23868             die "Non-integer 'long' value given: $_[1]->{flags}"
23869 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
23870 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
23871 0           $_[2] += 8;
23872              
23873             # Serializing field: 'cancelled'
23874             croak "Missing required input value 'cancelled'"
23875 0 0         unless exists $_[1]->{cancelled};
23876             # my ($class, $value, $index, $output) = @_;
23877             croak "Missing required input 'int' value"
23878 0 0         unless defined $_[1]->{cancelled};
23879             die "Out of bounds 'int': $_[1]->{cancelled}"
23880 0 0 0       unless (-2147483648 <= $_[1]->{cancelled} and $_[1]->{cancelled} < 2147483648);
23881             die "Non-integer 'int' value given: $_[1]->{cancelled}"
23882 0 0         unless int($_[1]->{cancelled}) == $_[1]->{cancelled};
23883 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cancelled});
23884 0           $_[2] += 4;
23885             }
23886             # @_: ($class, $value, $index, $input) = @_;
23887             sub deserialize_domain_event_control_error_msg {
23888 0     0 0   my $input_length = length $_[3];
23889 0           $_[1] = {};
23890             # Deserializing field: 'dom'
23891             # my ($class, $value, $index, $input) = @_;
23892 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23893             }
23894             # @_: ($class, $value, $index, $output) = @_;
23895             sub serialize_domain_event_control_error_msg {
23896 0 0   0 0   croak "Missing required input 'struct' value"
23897             unless defined $_[1];
23898              
23899             # Serializing field: 'dom'
23900             croak "Missing required input value 'dom'"
23901 0 0         unless exists $_[1]->{dom};
23902             # my ($class, $value, $index, $output) = @_;
23903 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23904             }
23905             # @_: ($class, $value, $index, $input) = @_;
23906             sub deserialize_domain_event_callback_control_error_msg {
23907 0     0 0   my $input_length = length $_[3];
23908 0           $_[1] = {};
23909             # Deserializing field: 'callbackID'
23910             # my ($class, $value, $index, $input) = @_;
23911 0 0         die "Input buffer too short"
23912             if ($input_length - $_[2]) < 4;
23913 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
23914 0           $_[2] += 4;
23915             die "Out of bounds 'int': $_[1]->{callbackID}"
23916 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
23917              
23918             # Deserializing field: 'msg'
23919             # my ($class, $value, $index, $input) = @_;
23920 0           $_[0]->deserialize_domain_event_control_error_msg( $_[1]->{msg}, $_[2], $_[3] );
23921             }
23922             # @_: ($class, $value, $index, $output) = @_;
23923             sub serialize_domain_event_callback_control_error_msg {
23924 0 0   0 0   croak "Missing required input 'struct' value"
23925             unless defined $_[1];
23926              
23927             # Serializing field: 'callbackID'
23928             croak "Missing required input value 'callbackID'"
23929 0 0         unless exists $_[1]->{callbackID};
23930             # my ($class, $value, $index, $output) = @_;
23931             croak "Missing required input 'int' value"
23932 0 0         unless defined $_[1]->{callbackID};
23933             die "Out of bounds 'int': $_[1]->{callbackID}"
23934 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
23935             die "Non-integer 'int' value given: $_[1]->{callbackID}"
23936 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
23937 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
23938 0           $_[2] += 4;
23939              
23940             # Serializing field: 'msg'
23941             croak "Missing required input value 'msg'"
23942 0 0         unless exists $_[1]->{msg};
23943             # my ($class, $value, $index, $output) = @_;
23944 0           $_[0]->serialize_domain_event_control_error_msg( $_[1]->{msg}, $_[2], $_[3] );
23945             }
23946             # @_: ($class, $value, $index, $input) = @_;
23947             sub deserialize_domain_get_control_info_args {
23948 0     0 0   my $input_length = length $_[3];
23949 0           $_[1] = {};
23950             # Deserializing field: 'dom'
23951             # my ($class, $value, $index, $input) = @_;
23952 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23953              
23954             # Deserializing field: 'flags'
23955             # my ($class, $value, $index, $input) = @_;
23956 0 0         die "Input buffer too short"
23957             if ($input_length - $_[2]) < 4;
23958 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
23959 0           $_[2] += 4;
23960             die "Out of bounds 'unsigned int': $_[1]->{flags}"
23961 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
23962             }
23963             # @_: ($class, $value, $index, $output) = @_;
23964             sub serialize_domain_get_control_info_args {
23965 0 0   0 0   croak "Missing required input 'struct' value"
23966             unless defined $_[1];
23967              
23968             # Serializing field: 'dom'
23969             croak "Missing required input value 'dom'"
23970 0 0         unless exists $_[1]->{dom};
23971             # my ($class, $value, $index, $output) = @_;
23972 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23973              
23974             # Serializing field: 'flags'
23975             croak "Missing required input value 'flags'"
23976 0 0         unless exists $_[1]->{flags};
23977             # my ($class, $value, $index, $output) = @_;
23978             croak "Missing required input 'unsigned int' value"
23979 0 0         unless defined $_[1]->{flags};
23980             die "Out of bounds 'unsigned int': $_[1]->{flags}"
23981 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
23982             die "Non-integer 'int' value given: $_[1]->{flags}"
23983 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
23984 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
23985 0           $_[2] += 4;
23986             }
23987             # @_: ($class, $value, $index, $input) = @_;
23988             sub deserialize_domain_get_control_info_ret {
23989 0     0 0   my $input_length = length $_[3];
23990 0           $_[1] = {};
23991             # Deserializing field: 'state'
23992             # my ($class, $value, $index, $input) = @_;
23993 0 0         die "Input buffer too short"
23994             if ($input_length - $_[2]) < 4;
23995 0           $_[1]->{state} = unpack("L>", substr( $_[3], $_[2] ));
23996 0           $_[2] += 4;
23997             die "Out of bounds 'unsigned int': $_[1]->{state}"
23998 0 0 0       unless (0 <= $_[1]->{state} and $_[1]->{state} <= 4294967295);
23999              
24000             # Deserializing field: 'details'
24001             # my ($class, $value, $index, $input) = @_;
24002 0 0         die "Input buffer too short"
24003             if ($input_length - $_[2]) < 4;
24004 0           $_[1]->{details} = unpack("L>", substr( $_[3], $_[2] ));
24005 0           $_[2] += 4;
24006             die "Out of bounds 'unsigned int': $_[1]->{details}"
24007 0 0 0       unless (0 <= $_[1]->{details} and $_[1]->{details} <= 4294967295);
24008              
24009             # Deserializing field: 'stateTime'
24010             # my ($class, $value, $index, $input) = @_;
24011 0 0         die "Input buffer too short"
24012             if ($input_length - $_[2]) < 8;
24013 0           $_[1]->{stateTime} = unpack("Q>", substr( $_[3], $_[2] ));
24014 0           $_[2] += 8;
24015             die "Out of bounds 'unsigned hyper': $_[1]->{stateTime}"
24016             unless (0 <= $_[1]->{stateTime}
24017 0 0 0       and $_[1]->{stateTime} <= 18446744073709551615);
24018             }
24019             # @_: ($class, $value, $index, $output) = @_;
24020             sub serialize_domain_get_control_info_ret {
24021 0 0   0 0   croak "Missing required input 'struct' value"
24022             unless defined $_[1];
24023              
24024             # Serializing field: 'state'
24025             croak "Missing required input value 'state'"
24026 0 0         unless exists $_[1]->{state};
24027             # my ($class, $value, $index, $output) = @_;
24028             croak "Missing required input 'unsigned int' value"
24029 0 0         unless defined $_[1]->{state};
24030             die "Out of bounds 'unsigned int': $_[1]->{state}"
24031 0 0 0       unless (0 <= $_[1]->{state} and $_[1]->{state} <= 4294967295);
24032             die "Non-integer 'int' value given: $_[1]->{state}"
24033 0 0         unless int($_[1]->{state}) == $_[1]->{state};
24034 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{state});
24035 0           $_[2] += 4;
24036              
24037             # Serializing field: 'details'
24038             croak "Missing required input value 'details'"
24039 0 0         unless exists $_[1]->{details};
24040             # my ($class, $value, $index, $output) = @_;
24041             croak "Missing required input 'unsigned int' value"
24042 0 0         unless defined $_[1]->{details};
24043             die "Out of bounds 'unsigned int': $_[1]->{details}"
24044 0 0 0       unless (0 <= $_[1]->{details} and $_[1]->{details} <= 4294967295);
24045             die "Non-integer 'int' value given: $_[1]->{details}"
24046 0 0         unless int($_[1]->{details}) == $_[1]->{details};
24047 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{details});
24048 0           $_[2] += 4;
24049              
24050             # Serializing field: 'stateTime'
24051             croak "Missing required input value 'stateTime'"
24052 0 0         unless exists $_[1]->{stateTime};
24053             # my ($class, $value, $index, $output) = @_;
24054             croak "Missing required input 'unsigned long' value"
24055 0 0         unless defined $_[1]->{stateTime};
24056             die "Out of bounds 'unsigned hyper': $_[1]->{stateTime}"
24057             unless (0 <= $_[1]->{stateTime}
24058 0 0 0       and $_[1]->{stateTime} <= 18446744073709551615);
24059             die "Non-integer 'long' value given: $_[1]->{stateTime}"
24060 0 0         unless int($_[1]->{stateTime}) == $_[1]->{stateTime};
24061 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{stateTime});
24062 0           $_[2] += 8;
24063             }
24064             # @_: ($class, $value, $index, $input) = @_;
24065             sub deserialize_domain_open_graphics_args {
24066 0     0 0   my $input_length = length $_[3];
24067 0           $_[1] = {};
24068             # Deserializing field: 'dom'
24069             # my ($class, $value, $index, $input) = @_;
24070 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
24071              
24072             # Deserializing field: 'idx'
24073             # my ($class, $value, $index, $input) = @_;
24074 0 0         die "Input buffer too short"
24075             if ($input_length - $_[2]) < 4;
24076 0           $_[1]->{idx} = unpack("L>", substr( $_[3], $_[2] ));
24077 0           $_[2] += 4;
24078             die "Out of bounds 'unsigned int': $_[1]->{idx}"
24079 0 0 0       unless (0 <= $_[1]->{idx} and $_[1]->{idx} <= 4294967295);
24080              
24081             # Deserializing field: 'flags'
24082             # my ($class, $value, $index, $input) = @_;
24083 0 0         die "Input buffer too short"
24084             if ($input_length - $_[2]) < 4;
24085 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24086 0           $_[2] += 4;
24087             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24088 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24089             }
24090             # @_: ($class, $value, $index, $output) = @_;
24091             sub serialize_domain_open_graphics_args {
24092 0 0   0 0   croak "Missing required input 'struct' value"
24093             unless defined $_[1];
24094              
24095             # Serializing field: 'dom'
24096             croak "Missing required input value 'dom'"
24097 0 0         unless exists $_[1]->{dom};
24098             # my ($class, $value, $index, $output) = @_;
24099 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
24100              
24101             # Serializing field: 'idx'
24102             croak "Missing required input value 'idx'"
24103 0 0         unless exists $_[1]->{idx};
24104             # my ($class, $value, $index, $output) = @_;
24105             croak "Missing required input 'unsigned int' value"
24106 0 0         unless defined $_[1]->{idx};
24107             die "Out of bounds 'unsigned int': $_[1]->{idx}"
24108 0 0 0       unless (0 <= $_[1]->{idx} and $_[1]->{idx} <= 4294967295);
24109             die "Non-integer 'int' value given: $_[1]->{idx}"
24110 0 0         unless int($_[1]->{idx}) == $_[1]->{idx};
24111 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{idx});
24112 0           $_[2] += 4;
24113              
24114             # Serializing field: 'flags'
24115             croak "Missing required input value 'flags'"
24116 0 0         unless exists $_[1]->{flags};
24117             # my ($class, $value, $index, $output) = @_;
24118             croak "Missing required input 'unsigned int' value"
24119 0 0         unless defined $_[1]->{flags};
24120             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24121 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24122             die "Non-integer 'int' value given: $_[1]->{flags}"
24123 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24124 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24125 0           $_[2] += 4;
24126             }
24127             # @_: ($class, $value, $index, $input) = @_;
24128             sub deserialize_domain_open_graphics_fd_args {
24129 0     0 0   my $input_length = length $_[3];
24130 0           $_[1] = {};
24131             # Deserializing field: 'dom'
24132             # my ($class, $value, $index, $input) = @_;
24133 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
24134              
24135             # Deserializing field: 'idx'
24136             # my ($class, $value, $index, $input) = @_;
24137 0 0         die "Input buffer too short"
24138             if ($input_length - $_[2]) < 4;
24139 0           $_[1]->{idx} = unpack("L>", substr( $_[3], $_[2] ));
24140 0           $_[2] += 4;
24141             die "Out of bounds 'unsigned int': $_[1]->{idx}"
24142 0 0 0       unless (0 <= $_[1]->{idx} and $_[1]->{idx} <= 4294967295);
24143              
24144             # Deserializing field: 'flags'
24145             # my ($class, $value, $index, $input) = @_;
24146 0 0         die "Input buffer too short"
24147             if ($input_length - $_[2]) < 4;
24148 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24149 0           $_[2] += 4;
24150             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24151 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24152             }
24153             # @_: ($class, $value, $index, $output) = @_;
24154             sub serialize_domain_open_graphics_fd_args {
24155 0 0   0 0   croak "Missing required input 'struct' value"
24156             unless defined $_[1];
24157              
24158             # Serializing field: 'dom'
24159             croak "Missing required input value 'dom'"
24160 0 0         unless exists $_[1]->{dom};
24161             # my ($class, $value, $index, $output) = @_;
24162 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
24163              
24164             # Serializing field: 'idx'
24165             croak "Missing required input value 'idx'"
24166 0 0         unless exists $_[1]->{idx};
24167             # my ($class, $value, $index, $output) = @_;
24168             croak "Missing required input 'unsigned int' value"
24169 0 0         unless defined $_[1]->{idx};
24170             die "Out of bounds 'unsigned int': $_[1]->{idx}"
24171 0 0 0       unless (0 <= $_[1]->{idx} and $_[1]->{idx} <= 4294967295);
24172             die "Non-integer 'int' value given: $_[1]->{idx}"
24173 0 0         unless int($_[1]->{idx}) == $_[1]->{idx};
24174 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{idx});
24175 0           $_[2] += 4;
24176              
24177             # Serializing field: 'flags'
24178             croak "Missing required input value 'flags'"
24179 0 0         unless exists $_[1]->{flags};
24180             # my ($class, $value, $index, $output) = @_;
24181             croak "Missing required input 'unsigned int' value"
24182 0 0         unless defined $_[1]->{flags};
24183             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24184 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24185             die "Non-integer 'int' value given: $_[1]->{flags}"
24186 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24187 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24188 0           $_[2] += 4;
24189             }
24190             # @_: ($class, $value, $index, $input) = @_;
24191             sub deserialize_node_suspend_for_duration_args {
24192 0     0 0   my $input_length = length $_[3];
24193 0           $_[1] = {};
24194             # Deserializing field: 'target'
24195             # my ($class, $value, $index, $input) = @_;
24196 0 0         die "Input buffer too short"
24197             if ($input_length - $_[2]) < 4;
24198 0           $_[1]->{target} = unpack("L>", substr( $_[3], $_[2] ));
24199 0           $_[2] += 4;
24200             die "Out of bounds 'unsigned int': $_[1]->{target}"
24201 0 0 0       unless (0 <= $_[1]->{target} and $_[1]->{target} <= 4294967295);
24202              
24203             # Deserializing field: 'duration'
24204             # my ($class, $value, $index, $input) = @_;
24205 0 0         die "Input buffer too short"
24206             if ($input_length - $_[2]) < 8;
24207 0           $_[1]->{duration} = unpack("Q>", substr( $_[3], $_[2] ));
24208 0           $_[2] += 8;
24209             die "Out of bounds 'unsigned hyper': $_[1]->{duration}"
24210             unless (0 <= $_[1]->{duration}
24211 0 0 0       and $_[1]->{duration} <= 18446744073709551615);
24212              
24213             # Deserializing field: 'flags'
24214             # my ($class, $value, $index, $input) = @_;
24215 0 0         die "Input buffer too short"
24216             if ($input_length - $_[2]) < 4;
24217 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24218 0           $_[2] += 4;
24219             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24220 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24221             }
24222             # @_: ($class, $value, $index, $output) = @_;
24223             sub serialize_node_suspend_for_duration_args {
24224 0 0   0 0   croak "Missing required input 'struct' value"
24225             unless defined $_[1];
24226              
24227             # Serializing field: 'target'
24228             croak "Missing required input value 'target'"
24229 0 0         unless exists $_[1]->{target};
24230             # my ($class, $value, $index, $output) = @_;
24231             croak "Missing required input 'unsigned int' value"
24232 0 0         unless defined $_[1]->{target};
24233             die "Out of bounds 'unsigned int': $_[1]->{target}"
24234 0 0 0       unless (0 <= $_[1]->{target} and $_[1]->{target} <= 4294967295);
24235             die "Non-integer 'int' value given: $_[1]->{target}"
24236 0 0         unless int($_[1]->{target}) == $_[1]->{target};
24237 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{target});
24238 0           $_[2] += 4;
24239              
24240             # Serializing field: 'duration'
24241             croak "Missing required input value 'duration'"
24242 0 0         unless exists $_[1]->{duration};
24243             # my ($class, $value, $index, $output) = @_;
24244             croak "Missing required input 'unsigned long' value"
24245 0 0         unless defined $_[1]->{duration};
24246             die "Out of bounds 'unsigned hyper': $_[1]->{duration}"
24247             unless (0 <= $_[1]->{duration}
24248 0 0 0       and $_[1]->{duration} <= 18446744073709551615);
24249             die "Non-integer 'long' value given: $_[1]->{duration}"
24250 0 0         unless int($_[1]->{duration}) == $_[1]->{duration};
24251 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{duration});
24252 0           $_[2] += 8;
24253              
24254             # Serializing field: 'flags'
24255             croak "Missing required input value 'flags'"
24256 0 0         unless exists $_[1]->{flags};
24257             # my ($class, $value, $index, $output) = @_;
24258             croak "Missing required input 'unsigned int' value"
24259 0 0         unless defined $_[1]->{flags};
24260             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24261 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24262             die "Non-integer 'int' value given: $_[1]->{flags}"
24263 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24264 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24265 0           $_[2] += 4;
24266             }
24267             # @_: ($class, $value, $index, $input) = @_;
24268             sub deserialize_domain_shutdown_flags_args {
24269 0     0 0   my $input_length = length $_[3];
24270 0           $_[1] = {};
24271             # Deserializing field: 'dom'
24272             # my ($class, $value, $index, $input) = @_;
24273 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
24274              
24275             # Deserializing field: 'flags'
24276             # my ($class, $value, $index, $input) = @_;
24277 0 0         die "Input buffer too short"
24278             if ($input_length - $_[2]) < 4;
24279 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24280 0           $_[2] += 4;
24281             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24282 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24283             }
24284             # @_: ($class, $value, $index, $output) = @_;
24285             sub serialize_domain_shutdown_flags_args {
24286 0 0   0 0   croak "Missing required input 'struct' value"
24287             unless defined $_[1];
24288              
24289             # Serializing field: 'dom'
24290             croak "Missing required input value 'dom'"
24291 0 0         unless exists $_[1]->{dom};
24292             # my ($class, $value, $index, $output) = @_;
24293 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
24294              
24295             # Serializing field: 'flags'
24296             croak "Missing required input value 'flags'"
24297 0 0         unless exists $_[1]->{flags};
24298             # my ($class, $value, $index, $output) = @_;
24299             croak "Missing required input 'unsigned int' value"
24300 0 0         unless defined $_[1]->{flags};
24301             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24302 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24303             die "Non-integer 'int' value given: $_[1]->{flags}"
24304 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24305 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24306 0           $_[2] += 4;
24307             }
24308             # @_: ($class, $value, $index, $input) = @_;
24309             sub deserialize_domain_get_disk_errors_args {
24310 0     0 0   my $input_length = length $_[3];
24311 0           $_[1] = {};
24312             # Deserializing field: 'dom'
24313             # my ($class, $value, $index, $input) = @_;
24314 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
24315              
24316             # Deserializing field: 'maxerrors'
24317             # my ($class, $value, $index, $input) = @_;
24318 0 0         die "Input buffer too short"
24319             if ($input_length - $_[2]) < 4;
24320 0           $_[1]->{maxerrors} = unpack("L>", substr( $_[3], $_[2] ));
24321 0           $_[2] += 4;
24322             die "Out of bounds 'unsigned int': $_[1]->{maxerrors}"
24323 0 0 0       unless (0 <= $_[1]->{maxerrors} and $_[1]->{maxerrors} <= 4294967295);
24324              
24325             # Deserializing field: 'flags'
24326             # my ($class, $value, $index, $input) = @_;
24327 0 0         die "Input buffer too short"
24328             if ($input_length - $_[2]) < 4;
24329 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24330 0           $_[2] += 4;
24331             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24332 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24333             }
24334             # @_: ($class, $value, $index, $output) = @_;
24335             sub serialize_domain_get_disk_errors_args {
24336 0 0   0 0   croak "Missing required input 'struct' value"
24337             unless defined $_[1];
24338              
24339             # Serializing field: 'dom'
24340             croak "Missing required input value 'dom'"
24341 0 0         unless exists $_[1]->{dom};
24342             # my ($class, $value, $index, $output) = @_;
24343 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
24344              
24345             # Serializing field: 'maxerrors'
24346             croak "Missing required input value 'maxerrors'"
24347 0 0         unless exists $_[1]->{maxerrors};
24348             # my ($class, $value, $index, $output) = @_;
24349             croak "Missing required input 'unsigned int' value"
24350 0 0         unless defined $_[1]->{maxerrors};
24351             die "Out of bounds 'unsigned int': $_[1]->{maxerrors}"
24352 0 0 0       unless (0 <= $_[1]->{maxerrors} and $_[1]->{maxerrors} <= 4294967295);
24353             die "Non-integer 'int' value given: $_[1]->{maxerrors}"
24354 0 0         unless int($_[1]->{maxerrors}) == $_[1]->{maxerrors};
24355 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{maxerrors});
24356 0           $_[2] += 4;
24357              
24358             # Serializing field: 'flags'
24359             croak "Missing required input value 'flags'"
24360 0 0         unless exists $_[1]->{flags};
24361             # my ($class, $value, $index, $output) = @_;
24362             croak "Missing required input 'unsigned int' value"
24363 0 0         unless defined $_[1]->{flags};
24364             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24365 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24366             die "Non-integer 'int' value given: $_[1]->{flags}"
24367 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24368 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24369 0           $_[2] += 4;
24370             }
24371             # @_: ($class, $value, $index, $input) = @_;
24372             sub deserialize_domain_get_disk_errors_ret {
24373 0     0 0   my $input_length = length $_[3];
24374 0           $_[1] = {};
24375             # Deserializing field: 'errors'
24376             # my ($class, $value, $index, $input) = @_;
24377 0           do {
24378 0 0         die "Input buffer too short"
24379             if ($input_length - $_[2]) < 4;
24380 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
24381 0           $_[2] += 4;
24382              
24383 0 0         die "Array too long (max: 256): $len"
24384             unless ($len <= 256);
24385 0           $_[1]->{errors} = [];
24386 0           for my $i1 ( 0 .. ($len - 1) ) {
24387             # my ($class, $value, $index, $input) = @_;
24388 0           $_[0]->deserialize_domain_disk_error( $_[1]->{errors}->[$i1], $_[2], $_[3] );
24389             }
24390             };
24391              
24392             # Deserializing field: 'nerrors'
24393             # my ($class, $value, $index, $input) = @_;
24394 0 0         die "Input buffer too short"
24395             if ($input_length - $_[2]) < 4;
24396 0           $_[1]->{nerrors} = unpack("l>", substr( $_[3], $_[2] ));
24397 0           $_[2] += 4;
24398             die "Out of bounds 'int': $_[1]->{nerrors}"
24399 0 0 0       unless (-2147483648 <= $_[1]->{nerrors} and $_[1]->{nerrors} < 2147483648);
24400             }
24401             # @_: ($class, $value, $index, $output) = @_;
24402             sub serialize_domain_get_disk_errors_ret {
24403 0 0   0 0   croak "Missing required input 'struct' value"
24404             unless defined $_[1];
24405              
24406             # Serializing field: 'errors'
24407             croak "Missing required input value 'errors'"
24408 0 0         unless exists $_[1]->{errors};
24409             # my ($class, $value, $index, $output) = @_;
24410             croak "Missing required input 'array' value"
24411 0 0         unless defined $_[1]->{errors};
24412 0           do {
24413 0           my $len = scalar @{ $_[1]->{errors} };
  0            
24414 0 0         die "Array too long (max: 256): $len"
24415             unless ($len <= 256);
24416              
24417 0           substr( $_[3], $_[2] ) = pack("L>", $len);
24418 0           $_[2] += 4;
24419 0           for my $i1 ( 0 .. ($len - 1) ) {
24420             # my ($class, $value, $index, $output) = @_;
24421 0           $_[0]->serialize_domain_disk_error( $_[1]->{errors}->[$i1], $_[2], $_[3] );
24422             }
24423             };
24424              
24425             # Serializing field: 'nerrors'
24426             croak "Missing required input value 'nerrors'"
24427 0 0         unless exists $_[1]->{nerrors};
24428             # my ($class, $value, $index, $output) = @_;
24429             croak "Missing required input 'int' value"
24430 0 0         unless defined $_[1]->{nerrors};
24431             die "Out of bounds 'int': $_[1]->{nerrors}"
24432 0 0 0       unless (-2147483648 <= $_[1]->{nerrors} and $_[1]->{nerrors} < 2147483648);
24433             die "Non-integer 'int' value given: $_[1]->{nerrors}"
24434 0 0         unless int($_[1]->{nerrors}) == $_[1]->{nerrors};
24435 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nerrors});
24436 0           $_[2] += 4;
24437             }
24438             # @_: ($class, $value, $index, $input) = @_;
24439             sub deserialize_connect_list_all_domains_args {
24440 0     0 0   my $input_length = length $_[3];
24441 0           $_[1] = {};
24442             # Deserializing field: 'need_results'
24443             # my ($class, $value, $index, $input) = @_;
24444 0 0         die "Input buffer too short"
24445             if ($input_length - $_[2]) < 4;
24446 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
24447 0           $_[2] += 4;
24448             die "Out of bounds 'int': $_[1]->{need_results}"
24449 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24450              
24451             # Deserializing field: 'flags'
24452             # my ($class, $value, $index, $input) = @_;
24453 0 0         die "Input buffer too short"
24454             if ($input_length - $_[2]) < 4;
24455 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24456 0           $_[2] += 4;
24457             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24458 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24459             }
24460             # @_: ($class, $value, $index, $output) = @_;
24461             sub serialize_connect_list_all_domains_args {
24462 0 0   0 0   croak "Missing required input 'struct' value"
24463             unless defined $_[1];
24464              
24465             # Serializing field: 'need_results'
24466             croak "Missing required input value 'need_results'"
24467 0 0         unless exists $_[1]->{need_results};
24468             # my ($class, $value, $index, $output) = @_;
24469             croak "Missing required input 'int' value"
24470 0 0         unless defined $_[1]->{need_results};
24471             die "Out of bounds 'int': $_[1]->{need_results}"
24472 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24473             die "Non-integer 'int' value given: $_[1]->{need_results}"
24474 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
24475 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
24476 0           $_[2] += 4;
24477              
24478             # Serializing field: 'flags'
24479             croak "Missing required input value 'flags'"
24480 0 0         unless exists $_[1]->{flags};
24481             # my ($class, $value, $index, $output) = @_;
24482             croak "Missing required input 'unsigned int' value"
24483 0 0         unless defined $_[1]->{flags};
24484             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24485 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24486             die "Non-integer 'int' value given: $_[1]->{flags}"
24487 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24488 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24489 0           $_[2] += 4;
24490             }
24491             # @_: ($class, $value, $index, $input) = @_;
24492             sub deserialize_connect_list_all_domains_ret {
24493 0     0 0   my $input_length = length $_[3];
24494 0           $_[1] = {};
24495             # Deserializing field: 'domains'
24496             # my ($class, $value, $index, $input) = @_;
24497 0           do {
24498 0 0         die "Input buffer too short"
24499             if ($input_length - $_[2]) < 4;
24500 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
24501 0           $_[2] += 4;
24502              
24503 0 0         die "Array too long (max: 16384): $len"
24504             unless ($len <= 16384);
24505 0           $_[1]->{domains} = [];
24506 0           for my $i1 ( 0 .. ($len - 1) ) {
24507             # my ($class, $value, $index, $input) = @_;
24508 0           $_[0]->deserialize_nonnull_domain( $_[1]->{domains}->[$i1], $_[2], $_[3] );
24509             }
24510             };
24511              
24512             # Deserializing field: 'ret'
24513             # my ($class, $value, $index, $input) = @_;
24514 0 0         die "Input buffer too short"
24515             if ($input_length - $_[2]) < 4;
24516 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
24517 0           $_[2] += 4;
24518             die "Out of bounds 'unsigned int': $_[1]->{ret}"
24519 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
24520             }
24521             # @_: ($class, $value, $index, $output) = @_;
24522             sub serialize_connect_list_all_domains_ret {
24523 0 0   0 0   croak "Missing required input 'struct' value"
24524             unless defined $_[1];
24525              
24526             # Serializing field: 'domains'
24527             croak "Missing required input value 'domains'"
24528 0 0         unless exists $_[1]->{domains};
24529             # my ($class, $value, $index, $output) = @_;
24530             croak "Missing required input 'array' value"
24531 0 0         unless defined $_[1]->{domains};
24532 0           do {
24533 0           my $len = scalar @{ $_[1]->{domains} };
  0            
24534 0 0         die "Array too long (max: 16384): $len"
24535             unless ($len <= 16384);
24536              
24537 0           substr( $_[3], $_[2] ) = pack("L>", $len);
24538 0           $_[2] += 4;
24539 0           for my $i1 ( 0 .. ($len - 1) ) {
24540             # my ($class, $value, $index, $output) = @_;
24541 0           $_[0]->serialize_nonnull_domain( $_[1]->{domains}->[$i1], $_[2], $_[3] );
24542             }
24543             };
24544              
24545             # Serializing field: 'ret'
24546             croak "Missing required input value 'ret'"
24547 0 0         unless exists $_[1]->{ret};
24548             # my ($class, $value, $index, $output) = @_;
24549             croak "Missing required input 'unsigned int' value"
24550 0 0         unless defined $_[1]->{ret};
24551             die "Out of bounds 'unsigned int': $_[1]->{ret}"
24552 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
24553             die "Non-integer 'int' value given: $_[1]->{ret}"
24554 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
24555 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
24556 0           $_[2] += 4;
24557             }
24558             # @_: ($class, $value, $index, $input) = @_;
24559             sub deserialize_connect_list_all_storage_pools_args {
24560 0     0 0   my $input_length = length $_[3];
24561 0           $_[1] = {};
24562             # Deserializing field: 'need_results'
24563             # my ($class, $value, $index, $input) = @_;
24564 0 0         die "Input buffer too short"
24565             if ($input_length - $_[2]) < 4;
24566 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
24567 0           $_[2] += 4;
24568             die "Out of bounds 'int': $_[1]->{need_results}"
24569 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24570              
24571             # Deserializing field: 'flags'
24572             # my ($class, $value, $index, $input) = @_;
24573 0 0         die "Input buffer too short"
24574             if ($input_length - $_[2]) < 4;
24575 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24576 0           $_[2] += 4;
24577             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24578 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24579             }
24580             # @_: ($class, $value, $index, $output) = @_;
24581             sub serialize_connect_list_all_storage_pools_args {
24582 0 0   0 0   croak "Missing required input 'struct' value"
24583             unless defined $_[1];
24584              
24585             # Serializing field: 'need_results'
24586             croak "Missing required input value 'need_results'"
24587 0 0         unless exists $_[1]->{need_results};
24588             # my ($class, $value, $index, $output) = @_;
24589             croak "Missing required input 'int' value"
24590 0 0         unless defined $_[1]->{need_results};
24591             die "Out of bounds 'int': $_[1]->{need_results}"
24592 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24593             die "Non-integer 'int' value given: $_[1]->{need_results}"
24594 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
24595 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
24596 0           $_[2] += 4;
24597              
24598             # Serializing field: 'flags'
24599             croak "Missing required input value 'flags'"
24600 0 0         unless exists $_[1]->{flags};
24601             # my ($class, $value, $index, $output) = @_;
24602             croak "Missing required input 'unsigned int' value"
24603 0 0         unless defined $_[1]->{flags};
24604             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24605 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24606             die "Non-integer 'int' value given: $_[1]->{flags}"
24607 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24608 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24609 0           $_[2] += 4;
24610             }
24611             # @_: ($class, $value, $index, $input) = @_;
24612             sub deserialize_connect_list_all_storage_pools_ret {
24613 0     0 0   my $input_length = length $_[3];
24614 0           $_[1] = {};
24615             # Deserializing field: 'pools'
24616             # my ($class, $value, $index, $input) = @_;
24617 0           do {
24618 0 0         die "Input buffer too short"
24619             if ($input_length - $_[2]) < 4;
24620 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
24621 0           $_[2] += 4;
24622              
24623 0 0         die "Array too long (max: 16384): $len"
24624             unless ($len <= 16384);
24625 0           $_[1]->{pools} = [];
24626 0           for my $i1 ( 0 .. ($len - 1) ) {
24627             # my ($class, $value, $index, $input) = @_;
24628 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pools}->[$i1], $_[2], $_[3] );
24629             }
24630             };
24631              
24632             # Deserializing field: 'ret'
24633             # my ($class, $value, $index, $input) = @_;
24634 0 0         die "Input buffer too short"
24635             if ($input_length - $_[2]) < 4;
24636 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
24637 0           $_[2] += 4;
24638             die "Out of bounds 'unsigned int': $_[1]->{ret}"
24639 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
24640             }
24641             # @_: ($class, $value, $index, $output) = @_;
24642             sub serialize_connect_list_all_storage_pools_ret {
24643 0 0   0 0   croak "Missing required input 'struct' value"
24644             unless defined $_[1];
24645              
24646             # Serializing field: 'pools'
24647             croak "Missing required input value 'pools'"
24648 0 0         unless exists $_[1]->{pools};
24649             # my ($class, $value, $index, $output) = @_;
24650             croak "Missing required input 'array' value"
24651 0 0         unless defined $_[1]->{pools};
24652 0           do {
24653 0           my $len = scalar @{ $_[1]->{pools} };
  0            
24654 0 0         die "Array too long (max: 16384): $len"
24655             unless ($len <= 16384);
24656              
24657 0           substr( $_[3], $_[2] ) = pack("L>", $len);
24658 0           $_[2] += 4;
24659 0           for my $i1 ( 0 .. ($len - 1) ) {
24660             # my ($class, $value, $index, $output) = @_;
24661 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pools}->[$i1], $_[2], $_[3] );
24662             }
24663             };
24664              
24665             # Serializing field: 'ret'
24666             croak "Missing required input value 'ret'"
24667 0 0         unless exists $_[1]->{ret};
24668             # my ($class, $value, $index, $output) = @_;
24669             croak "Missing required input 'unsigned int' value"
24670 0 0         unless defined $_[1]->{ret};
24671             die "Out of bounds 'unsigned int': $_[1]->{ret}"
24672 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
24673             die "Non-integer 'int' value given: $_[1]->{ret}"
24674 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
24675 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
24676 0           $_[2] += 4;
24677             }
24678             # @_: ($class, $value, $index, $input) = @_;
24679             sub deserialize_storage_pool_list_all_volumes_args {
24680 0     0 0   my $input_length = length $_[3];
24681 0           $_[1] = {};
24682             # Deserializing field: 'pool'
24683             # my ($class, $value, $index, $input) = @_;
24684 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
24685              
24686             # Deserializing field: 'need_results'
24687             # my ($class, $value, $index, $input) = @_;
24688 0 0         die "Input buffer too short"
24689             if ($input_length - $_[2]) < 4;
24690 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
24691 0           $_[2] += 4;
24692             die "Out of bounds 'int': $_[1]->{need_results}"
24693 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24694              
24695             # Deserializing field: 'flags'
24696             # my ($class, $value, $index, $input) = @_;
24697 0 0         die "Input buffer too short"
24698             if ($input_length - $_[2]) < 4;
24699 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24700 0           $_[2] += 4;
24701             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24702 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24703             }
24704             # @_: ($class, $value, $index, $output) = @_;
24705             sub serialize_storage_pool_list_all_volumes_args {
24706 0 0   0 0   croak "Missing required input 'struct' value"
24707             unless defined $_[1];
24708              
24709             # Serializing field: 'pool'
24710             croak "Missing required input value 'pool'"
24711 0 0         unless exists $_[1]->{pool};
24712             # my ($class, $value, $index, $output) = @_;
24713 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
24714              
24715             # Serializing field: 'need_results'
24716             croak "Missing required input value 'need_results'"
24717 0 0         unless exists $_[1]->{need_results};
24718             # my ($class, $value, $index, $output) = @_;
24719             croak "Missing required input 'int' value"
24720 0 0         unless defined $_[1]->{need_results};
24721             die "Out of bounds 'int': $_[1]->{need_results}"
24722 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24723             die "Non-integer 'int' value given: $_[1]->{need_results}"
24724 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
24725 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
24726 0           $_[2] += 4;
24727              
24728             # Serializing field: 'flags'
24729             croak "Missing required input value 'flags'"
24730 0 0         unless exists $_[1]->{flags};
24731             # my ($class, $value, $index, $output) = @_;
24732             croak "Missing required input 'unsigned int' value"
24733 0 0         unless defined $_[1]->{flags};
24734             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24735 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24736             die "Non-integer 'int' value given: $_[1]->{flags}"
24737 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24738 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24739 0           $_[2] += 4;
24740             }
24741             # @_: ($class, $value, $index, $input) = @_;
24742             sub deserialize_storage_pool_list_all_volumes_ret {
24743 0     0 0   my $input_length = length $_[3];
24744 0           $_[1] = {};
24745             # Deserializing field: 'vols'
24746             # my ($class, $value, $index, $input) = @_;
24747 0           do {
24748 0 0         die "Input buffer too short"
24749             if ($input_length - $_[2]) < 4;
24750 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
24751 0           $_[2] += 4;
24752              
24753 0 0         die "Array too long (max: 16384): $len"
24754             unless ($len <= 16384);
24755 0           $_[1]->{vols} = [];
24756 0           for my $i1 ( 0 .. ($len - 1) ) {
24757             # my ($class, $value, $index, $input) = @_;
24758 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vols}->[$i1], $_[2], $_[3] );
24759             }
24760             };
24761              
24762             # Deserializing field: 'ret'
24763             # my ($class, $value, $index, $input) = @_;
24764 0 0         die "Input buffer too short"
24765             if ($input_length - $_[2]) < 4;
24766 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
24767 0           $_[2] += 4;
24768             die "Out of bounds 'unsigned int': $_[1]->{ret}"
24769 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
24770             }
24771             # @_: ($class, $value, $index, $output) = @_;
24772             sub serialize_storage_pool_list_all_volumes_ret {
24773 0 0   0 0   croak "Missing required input 'struct' value"
24774             unless defined $_[1];
24775              
24776             # Serializing field: 'vols'
24777             croak "Missing required input value 'vols'"
24778 0 0         unless exists $_[1]->{vols};
24779             # my ($class, $value, $index, $output) = @_;
24780             croak "Missing required input 'array' value"
24781 0 0         unless defined $_[1]->{vols};
24782 0           do {
24783 0           my $len = scalar @{ $_[1]->{vols} };
  0            
24784 0 0         die "Array too long (max: 16384): $len"
24785             unless ($len <= 16384);
24786              
24787 0           substr( $_[3], $_[2] ) = pack("L>", $len);
24788 0           $_[2] += 4;
24789 0           for my $i1 ( 0 .. ($len - 1) ) {
24790             # my ($class, $value, $index, $output) = @_;
24791 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vols}->[$i1], $_[2], $_[3] );
24792             }
24793             };
24794              
24795             # Serializing field: 'ret'
24796             croak "Missing required input value 'ret'"
24797 0 0         unless exists $_[1]->{ret};
24798             # my ($class, $value, $index, $output) = @_;
24799             croak "Missing required input 'unsigned int' value"
24800 0 0         unless defined $_[1]->{ret};
24801             die "Out of bounds 'unsigned int': $_[1]->{ret}"
24802 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
24803             die "Non-integer 'int' value given: $_[1]->{ret}"
24804 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
24805 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
24806 0           $_[2] += 4;
24807             }
24808             # @_: ($class, $value, $index, $input) = @_;
24809             sub deserialize_connect_list_all_networks_args {
24810 0     0 0   my $input_length = length $_[3];
24811 0           $_[1] = {};
24812             # Deserializing field: 'need_results'
24813             # my ($class, $value, $index, $input) = @_;
24814 0 0         die "Input buffer too short"
24815             if ($input_length - $_[2]) < 4;
24816 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
24817 0           $_[2] += 4;
24818             die "Out of bounds 'int': $_[1]->{need_results}"
24819 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24820              
24821             # Deserializing field: 'flags'
24822             # my ($class, $value, $index, $input) = @_;
24823 0 0         die "Input buffer too short"
24824             if ($input_length - $_[2]) < 4;
24825 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24826 0           $_[2] += 4;
24827             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24828 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24829             }
24830             # @_: ($class, $value, $index, $output) = @_;
24831             sub serialize_connect_list_all_networks_args {
24832 0 0   0 0   croak "Missing required input 'struct' value"
24833             unless defined $_[1];
24834              
24835             # Serializing field: 'need_results'
24836             croak "Missing required input value 'need_results'"
24837 0 0         unless exists $_[1]->{need_results};
24838             # my ($class, $value, $index, $output) = @_;
24839             croak "Missing required input 'int' value"
24840 0 0         unless defined $_[1]->{need_results};
24841             die "Out of bounds 'int': $_[1]->{need_results}"
24842 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24843             die "Non-integer 'int' value given: $_[1]->{need_results}"
24844 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
24845 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
24846 0           $_[2] += 4;
24847              
24848             # Serializing field: 'flags'
24849             croak "Missing required input value 'flags'"
24850 0 0         unless exists $_[1]->{flags};
24851             # my ($class, $value, $index, $output) = @_;
24852             croak "Missing required input 'unsigned int' value"
24853 0 0         unless defined $_[1]->{flags};
24854             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24855 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24856             die "Non-integer 'int' value given: $_[1]->{flags}"
24857 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24858 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24859 0           $_[2] += 4;
24860             }
24861             # @_: ($class, $value, $index, $input) = @_;
24862             sub deserialize_connect_list_all_networks_ret {
24863 0     0 0   my $input_length = length $_[3];
24864 0           $_[1] = {};
24865             # Deserializing field: 'nets'
24866             # my ($class, $value, $index, $input) = @_;
24867 0           do {
24868 0 0         die "Input buffer too short"
24869             if ($input_length - $_[2]) < 4;
24870 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
24871 0           $_[2] += 4;
24872              
24873 0 0         die "Array too long (max: 16384): $len"
24874             unless ($len <= 16384);
24875 0           $_[1]->{nets} = [];
24876 0           for my $i1 ( 0 .. ($len - 1) ) {
24877             # my ($class, $value, $index, $input) = @_;
24878 0           $_[0]->deserialize_nonnull_network( $_[1]->{nets}->[$i1], $_[2], $_[3] );
24879             }
24880             };
24881              
24882             # Deserializing field: 'ret'
24883             # my ($class, $value, $index, $input) = @_;
24884 0 0         die "Input buffer too short"
24885             if ($input_length - $_[2]) < 4;
24886 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
24887 0           $_[2] += 4;
24888             die "Out of bounds 'unsigned int': $_[1]->{ret}"
24889 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
24890             }
24891             # @_: ($class, $value, $index, $output) = @_;
24892             sub serialize_connect_list_all_networks_ret {
24893 0 0   0 0   croak "Missing required input 'struct' value"
24894             unless defined $_[1];
24895              
24896             # Serializing field: 'nets'
24897             croak "Missing required input value 'nets'"
24898 0 0         unless exists $_[1]->{nets};
24899             # my ($class, $value, $index, $output) = @_;
24900             croak "Missing required input 'array' value"
24901 0 0         unless defined $_[1]->{nets};
24902 0           do {
24903 0           my $len = scalar @{ $_[1]->{nets} };
  0            
24904 0 0         die "Array too long (max: 16384): $len"
24905             unless ($len <= 16384);
24906              
24907 0           substr( $_[3], $_[2] ) = pack("L>", $len);
24908 0           $_[2] += 4;
24909 0           for my $i1 ( 0 .. ($len - 1) ) {
24910             # my ($class, $value, $index, $output) = @_;
24911 0           $_[0]->serialize_nonnull_network( $_[1]->{nets}->[$i1], $_[2], $_[3] );
24912             }
24913             };
24914              
24915             # Serializing field: 'ret'
24916             croak "Missing required input value 'ret'"
24917 0 0         unless exists $_[1]->{ret};
24918             # my ($class, $value, $index, $output) = @_;
24919             croak "Missing required input 'unsigned int' value"
24920 0 0         unless defined $_[1]->{ret};
24921             die "Out of bounds 'unsigned int': $_[1]->{ret}"
24922 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
24923             die "Non-integer 'int' value given: $_[1]->{ret}"
24924 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
24925 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
24926 0           $_[2] += 4;
24927             }
24928             # @_: ($class, $value, $index, $input) = @_;
24929             sub deserialize_connect_list_all_interfaces_args {
24930 0     0 0   my $input_length = length $_[3];
24931 0           $_[1] = {};
24932             # Deserializing field: 'need_results'
24933             # my ($class, $value, $index, $input) = @_;
24934 0 0         die "Input buffer too short"
24935             if ($input_length - $_[2]) < 4;
24936 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
24937 0           $_[2] += 4;
24938             die "Out of bounds 'int': $_[1]->{need_results}"
24939 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24940              
24941             # Deserializing field: 'flags'
24942             # my ($class, $value, $index, $input) = @_;
24943 0 0         die "Input buffer too short"
24944             if ($input_length - $_[2]) < 4;
24945 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24946 0           $_[2] += 4;
24947             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24948 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24949             }
24950             # @_: ($class, $value, $index, $output) = @_;
24951             sub serialize_connect_list_all_interfaces_args {
24952 0 0   0 0   croak "Missing required input 'struct' value"
24953             unless defined $_[1];
24954              
24955             # Serializing field: 'need_results'
24956             croak "Missing required input value 'need_results'"
24957 0 0         unless exists $_[1]->{need_results};
24958             # my ($class, $value, $index, $output) = @_;
24959             croak "Missing required input 'int' value"
24960 0 0         unless defined $_[1]->{need_results};
24961             die "Out of bounds 'int': $_[1]->{need_results}"
24962 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24963             die "Non-integer 'int' value given: $_[1]->{need_results}"
24964 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
24965 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
24966 0           $_[2] += 4;
24967              
24968             # Serializing field: 'flags'
24969             croak "Missing required input value 'flags'"
24970 0 0         unless exists $_[1]->{flags};
24971             # my ($class, $value, $index, $output) = @_;
24972             croak "Missing required input 'unsigned int' value"
24973 0 0         unless defined $_[1]->{flags};
24974             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24975 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24976             die "Non-integer 'int' value given: $_[1]->{flags}"
24977 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24978 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24979 0           $_[2] += 4;
24980             }
24981             # @_: ($class, $value, $index, $input) = @_;
24982             sub deserialize_connect_list_all_interfaces_ret {
24983 0     0 0   my $input_length = length $_[3];
24984 0           $_[1] = {};
24985             # Deserializing field: 'ifaces'
24986             # my ($class, $value, $index, $input) = @_;
24987 0           do {
24988 0 0         die "Input buffer too short"
24989             if ($input_length - $_[2]) < 4;
24990 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
24991 0           $_[2] += 4;
24992              
24993 0 0         die "Array too long (max: 16384): $len"
24994             unless ($len <= 16384);
24995 0           $_[1]->{ifaces} = [];
24996 0           for my $i1 ( 0 .. ($len - 1) ) {
24997             # my ($class, $value, $index, $input) = @_;
24998 0           $_[0]->deserialize_nonnull_interface( $_[1]->{ifaces}->[$i1], $_[2], $_[3] );
24999             }
25000             };
25001              
25002             # Deserializing field: 'ret'
25003             # my ($class, $value, $index, $input) = @_;
25004 0 0         die "Input buffer too short"
25005             if ($input_length - $_[2]) < 4;
25006 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
25007 0           $_[2] += 4;
25008             die "Out of bounds 'unsigned int': $_[1]->{ret}"
25009 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
25010             }
25011             # @_: ($class, $value, $index, $output) = @_;
25012             sub serialize_connect_list_all_interfaces_ret {
25013 0 0   0 0   croak "Missing required input 'struct' value"
25014             unless defined $_[1];
25015              
25016             # Serializing field: 'ifaces'
25017             croak "Missing required input value 'ifaces'"
25018 0 0         unless exists $_[1]->{ifaces};
25019             # my ($class, $value, $index, $output) = @_;
25020             croak "Missing required input 'array' value"
25021 0 0         unless defined $_[1]->{ifaces};
25022 0           do {
25023 0           my $len = scalar @{ $_[1]->{ifaces} };
  0            
25024 0 0         die "Array too long (max: 16384): $len"
25025             unless ($len <= 16384);
25026              
25027 0           substr( $_[3], $_[2] ) = pack("L>", $len);
25028 0           $_[2] += 4;
25029 0           for my $i1 ( 0 .. ($len - 1) ) {
25030             # my ($class, $value, $index, $output) = @_;
25031 0           $_[0]->serialize_nonnull_interface( $_[1]->{ifaces}->[$i1], $_[2], $_[3] );
25032             }
25033             };
25034              
25035             # Serializing field: 'ret'
25036             croak "Missing required input value 'ret'"
25037 0 0         unless exists $_[1]->{ret};
25038             # my ($class, $value, $index, $output) = @_;
25039             croak "Missing required input 'unsigned int' value"
25040 0 0         unless defined $_[1]->{ret};
25041             die "Out of bounds 'unsigned int': $_[1]->{ret}"
25042 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
25043             die "Non-integer 'int' value given: $_[1]->{ret}"
25044 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
25045 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
25046 0           $_[2] += 4;
25047             }
25048             # @_: ($class, $value, $index, $input) = @_;
25049             sub deserialize_connect_list_all_node_devices_args {
25050 0     0 0   my $input_length = length $_[3];
25051 0           $_[1] = {};
25052             # Deserializing field: 'need_results'
25053             # my ($class, $value, $index, $input) = @_;
25054 0 0         die "Input buffer too short"
25055             if ($input_length - $_[2]) < 4;
25056 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
25057 0           $_[2] += 4;
25058             die "Out of bounds 'int': $_[1]->{need_results}"
25059 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
25060              
25061             # Deserializing field: 'flags'
25062             # my ($class, $value, $index, $input) = @_;
25063 0 0         die "Input buffer too short"
25064             if ($input_length - $_[2]) < 4;
25065 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25066 0           $_[2] += 4;
25067             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25068 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25069             }
25070             # @_: ($class, $value, $index, $output) = @_;
25071             sub serialize_connect_list_all_node_devices_args {
25072 0 0   0 0   croak "Missing required input 'struct' value"
25073             unless defined $_[1];
25074              
25075             # Serializing field: 'need_results'
25076             croak "Missing required input value 'need_results'"
25077 0 0         unless exists $_[1]->{need_results};
25078             # my ($class, $value, $index, $output) = @_;
25079             croak "Missing required input 'int' value"
25080 0 0         unless defined $_[1]->{need_results};
25081             die "Out of bounds 'int': $_[1]->{need_results}"
25082 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
25083             die "Non-integer 'int' value given: $_[1]->{need_results}"
25084 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
25085 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
25086 0           $_[2] += 4;
25087              
25088             # Serializing field: 'flags'
25089             croak "Missing required input value 'flags'"
25090 0 0         unless exists $_[1]->{flags};
25091             # my ($class, $value, $index, $output) = @_;
25092             croak "Missing required input 'unsigned int' value"
25093 0 0         unless defined $_[1]->{flags};
25094             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25095 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25096             die "Non-integer 'int' value given: $_[1]->{flags}"
25097 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
25098 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
25099 0           $_[2] += 4;
25100             }
25101             # @_: ($class, $value, $index, $input) = @_;
25102             sub deserialize_connect_list_all_node_devices_ret {
25103 0     0 0   my $input_length = length $_[3];
25104 0           $_[1] = {};
25105             # Deserializing field: 'devices'
25106             # my ($class, $value, $index, $input) = @_;
25107 0           do {
25108 0 0         die "Input buffer too short"
25109             if ($input_length - $_[2]) < 4;
25110 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
25111 0           $_[2] += 4;
25112              
25113 0 0         die "Array too long (max: 65536): $len"
25114             unless ($len <= 65536);
25115 0           $_[1]->{devices} = [];
25116 0           for my $i1 ( 0 .. ($len - 1) ) {
25117             # my ($class, $value, $index, $input) = @_;
25118 0           $_[0]->deserialize_nonnull_node_device( $_[1]->{devices}->[$i1], $_[2], $_[3] );
25119             }
25120             };
25121              
25122             # Deserializing field: 'ret'
25123             # my ($class, $value, $index, $input) = @_;
25124 0 0         die "Input buffer too short"
25125             if ($input_length - $_[2]) < 4;
25126 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
25127 0           $_[2] += 4;
25128             die "Out of bounds 'unsigned int': $_[1]->{ret}"
25129 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
25130             }
25131             # @_: ($class, $value, $index, $output) = @_;
25132             sub serialize_connect_list_all_node_devices_ret {
25133 0 0   0 0   croak "Missing required input 'struct' value"
25134             unless defined $_[1];
25135              
25136             # Serializing field: 'devices'
25137             croak "Missing required input value 'devices'"
25138 0 0         unless exists $_[1]->{devices};
25139             # my ($class, $value, $index, $output) = @_;
25140             croak "Missing required input 'array' value"
25141 0 0         unless defined $_[1]->{devices};
25142 0           do {
25143 0           my $len = scalar @{ $_[1]->{devices} };
  0            
25144 0 0         die "Array too long (max: 65536): $len"
25145             unless ($len <= 65536);
25146              
25147 0           substr( $_[3], $_[2] ) = pack("L>", $len);
25148 0           $_[2] += 4;
25149 0           for my $i1 ( 0 .. ($len - 1) ) {
25150             # my ($class, $value, $index, $output) = @_;
25151 0           $_[0]->serialize_nonnull_node_device( $_[1]->{devices}->[$i1], $_[2], $_[3] );
25152             }
25153             };
25154              
25155             # Serializing field: 'ret'
25156             croak "Missing required input value 'ret'"
25157 0 0         unless exists $_[1]->{ret};
25158             # my ($class, $value, $index, $output) = @_;
25159             croak "Missing required input 'unsigned int' value"
25160 0 0         unless defined $_[1]->{ret};
25161             die "Out of bounds 'unsigned int': $_[1]->{ret}"
25162 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
25163             die "Non-integer 'int' value given: $_[1]->{ret}"
25164 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
25165 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
25166 0           $_[2] += 4;
25167             }
25168             # @_: ($class, $value, $index, $input) = @_;
25169             sub deserialize_connect_list_all_nwfilters_args {
25170 0     0 0   my $input_length = length $_[3];
25171 0           $_[1] = {};
25172             # Deserializing field: 'need_results'
25173             # my ($class, $value, $index, $input) = @_;
25174 0 0         die "Input buffer too short"
25175             if ($input_length - $_[2]) < 4;
25176 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
25177 0           $_[2] += 4;
25178             die "Out of bounds 'int': $_[1]->{need_results}"
25179 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
25180              
25181             # Deserializing field: 'flags'
25182             # my ($class, $value, $index, $input) = @_;
25183 0 0         die "Input buffer too short"
25184             if ($input_length - $_[2]) < 4;
25185 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25186 0           $_[2] += 4;
25187             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25188 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25189             }
25190             # @_: ($class, $value, $index, $output) = @_;
25191             sub serialize_connect_list_all_nwfilters_args {
25192 0 0   0 0   croak "Missing required input 'struct' value"
25193             unless defined $_[1];
25194              
25195             # Serializing field: 'need_results'
25196             croak "Missing required input value 'need_results'"
25197 0 0         unless exists $_[1]->{need_results};
25198             # my ($class, $value, $index, $output) = @_;
25199             croak "Missing required input 'int' value"
25200 0 0         unless defined $_[1]->{need_results};
25201             die "Out of bounds 'int': $_[1]->{need_results}"
25202 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
25203             die "Non-integer 'int' value given: $_[1]->{need_results}"
25204 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
25205 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
25206 0           $_[2] += 4;
25207              
25208             # Serializing field: 'flags'
25209             croak "Missing required input value 'flags'"
25210 0 0         unless exists $_[1]->{flags};
25211             # my ($class, $value, $index, $output) = @_;
25212             croak "Missing required input 'unsigned int' value"
25213 0 0         unless defined $_[1]->{flags};
25214             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25215 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25216             die "Non-integer 'int' value given: $_[1]->{flags}"
25217 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
25218 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
25219 0           $_[2] += 4;
25220             }
25221             # @_: ($class, $value, $index, $input) = @_;
25222             sub deserialize_connect_list_all_nwfilters_ret {
25223 0     0 0   my $input_length = length $_[3];
25224 0           $_[1] = {};
25225             # Deserializing field: 'filters'
25226             # my ($class, $value, $index, $input) = @_;
25227 0           do {
25228 0 0         die "Input buffer too short"
25229             if ($input_length - $_[2]) < 4;
25230 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
25231 0           $_[2] += 4;
25232              
25233 0 0         die "Array too long (max: 16384): $len"
25234             unless ($len <= 16384);
25235 0           $_[1]->{filters} = [];
25236 0           for my $i1 ( 0 .. ($len - 1) ) {
25237             # my ($class, $value, $index, $input) = @_;
25238 0           $_[0]->deserialize_nonnull_nwfilter( $_[1]->{filters}->[$i1], $_[2], $_[3] );
25239             }
25240             };
25241              
25242             # Deserializing field: 'ret'
25243             # my ($class, $value, $index, $input) = @_;
25244 0 0         die "Input buffer too short"
25245             if ($input_length - $_[2]) < 4;
25246 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
25247 0           $_[2] += 4;
25248             die "Out of bounds 'unsigned int': $_[1]->{ret}"
25249 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
25250             }
25251             # @_: ($class, $value, $index, $output) = @_;
25252             sub serialize_connect_list_all_nwfilters_ret {
25253 0 0   0 0   croak "Missing required input 'struct' value"
25254             unless defined $_[1];
25255              
25256             # Serializing field: 'filters'
25257             croak "Missing required input value 'filters'"
25258 0 0         unless exists $_[1]->{filters};
25259             # my ($class, $value, $index, $output) = @_;
25260             croak "Missing required input 'array' value"
25261 0 0         unless defined $_[1]->{filters};
25262 0           do {
25263 0           my $len = scalar @{ $_[1]->{filters} };
  0            
25264 0 0         die "Array too long (max: 16384): $len"
25265             unless ($len <= 16384);
25266              
25267 0           substr( $_[3], $_[2] ) = pack("L>", $len);
25268 0           $_[2] += 4;
25269 0           for my $i1 ( 0 .. ($len - 1) ) {
25270             # my ($class, $value, $index, $output) = @_;
25271 0           $_[0]->serialize_nonnull_nwfilter( $_[1]->{filters}->[$i1], $_[2], $_[3] );
25272             }
25273             };
25274              
25275             # Serializing field: 'ret'
25276             croak "Missing required input value 'ret'"
25277 0 0         unless exists $_[1]->{ret};
25278             # my ($class, $value, $index, $output) = @_;
25279             croak "Missing required input 'unsigned int' value"
25280 0 0         unless defined $_[1]->{ret};
25281             die "Out of bounds 'unsigned int': $_[1]->{ret}"
25282 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
25283             die "Non-integer 'int' value given: $_[1]->{ret}"
25284 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
25285 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
25286 0           $_[2] += 4;
25287             }
25288             # @_: ($class, $value, $index, $input) = @_;
25289             sub deserialize_connect_list_all_secrets_args {
25290 0     0 0   my $input_length = length $_[3];
25291 0           $_[1] = {};
25292             # Deserializing field: 'need_results'
25293             # my ($class, $value, $index, $input) = @_;
25294 0 0         die "Input buffer too short"
25295             if ($input_length - $_[2]) < 4;
25296 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
25297 0           $_[2] += 4;
25298             die "Out of bounds 'int': $_[1]->{need_results}"
25299 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
25300              
25301             # Deserializing field: 'flags'
25302             # my ($class, $value, $index, $input) = @_;
25303 0 0         die "Input buffer too short"
25304             if ($input_length - $_[2]) < 4;
25305 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25306 0           $_[2] += 4;
25307             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25308 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25309             }
25310             # @_: ($class, $value, $index, $output) = @_;
25311             sub serialize_connect_list_all_secrets_args {
25312 0 0   0 0   croak "Missing required input 'struct' value"
25313             unless defined $_[1];
25314              
25315             # Serializing field: 'need_results'
25316             croak "Missing required input value 'need_results'"
25317 0 0         unless exists $_[1]->{need_results};
25318             # my ($class, $value, $index, $output) = @_;
25319             croak "Missing required input 'int' value"
25320 0 0         unless defined $_[1]->{need_results};
25321             die "Out of bounds 'int': $_[1]->{need_results}"
25322 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
25323             die "Non-integer 'int' value given: $_[1]->{need_results}"
25324 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
25325 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
25326 0           $_[2] += 4;
25327              
25328             # Serializing field: 'flags'
25329             croak "Missing required input value 'flags'"
25330 0 0         unless exists $_[1]->{flags};
25331             # my ($class, $value, $index, $output) = @_;
25332             croak "Missing required input 'unsigned int' value"
25333 0 0         unless defined $_[1]->{flags};
25334             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25335 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25336             die "Non-integer 'int' value given: $_[1]->{flags}"
25337 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
25338 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
25339 0           $_[2] += 4;
25340             }
25341             # @_: ($class, $value, $index, $input) = @_;
25342             sub deserialize_connect_list_all_secrets_ret {
25343 0     0 0   my $input_length = length $_[3];
25344 0           $_[1] = {};
25345             # Deserializing field: 'secrets'
25346             # my ($class, $value, $index, $input) = @_;
25347 0           do {
25348 0 0         die "Input buffer too short"
25349             if ($input_length - $_[2]) < 4;
25350 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
25351 0           $_[2] += 4;
25352              
25353 0 0         die "Array too long (max: 16384): $len"
25354             unless ($len <= 16384);
25355 0           $_[1]->{secrets} = [];
25356 0           for my $i1 ( 0 .. ($len - 1) ) {
25357             # my ($class, $value, $index, $input) = @_;
25358 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secrets}->[$i1], $_[2], $_[3] );
25359             }
25360             };
25361              
25362             # Deserializing field: 'ret'
25363             # my ($class, $value, $index, $input) = @_;
25364 0 0         die "Input buffer too short"
25365             if ($input_length - $_[2]) < 4;
25366 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
25367 0           $_[2] += 4;
25368             die "Out of bounds 'unsigned int': $_[1]->{ret}"
25369 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
25370             }
25371             # @_: ($class, $value, $index, $output) = @_;
25372             sub serialize_connect_list_all_secrets_ret {
25373 0 0   0 0   croak "Missing required input 'struct' value"
25374             unless defined $_[1];
25375              
25376             # Serializing field: 'secrets'
25377             croak "Missing required input value 'secrets'"
25378 0 0         unless exists $_[1]->{secrets};
25379             # my ($class, $value, $index, $output) = @_;
25380             croak "Missing required input 'array' value"
25381 0 0         unless defined $_[1]->{secrets};
25382 0           do {
25383 0           my $len = scalar @{ $_[1]->{secrets} };
  0            
25384 0 0         die "Array too long (max: 16384): $len"
25385             unless ($len <= 16384);
25386              
25387 0           substr( $_[3], $_[2] ) = pack("L>", $len);
25388 0           $_[2] += 4;
25389 0           for my $i1 ( 0 .. ($len - 1) ) {
25390             # my ($class, $value, $index, $output) = @_;
25391 0           $_[0]->serialize_nonnull_secret( $_[1]->{secrets}->[$i1], $_[2], $_[3] );
25392             }
25393             };
25394              
25395             # Serializing field: 'ret'
25396             croak "Missing required input value 'ret'"
25397 0 0         unless exists $_[1]->{ret};
25398             # my ($class, $value, $index, $output) = @_;
25399             croak "Missing required input 'unsigned int' value"
25400 0 0         unless defined $_[1]->{ret};
25401             die "Out of bounds 'unsigned int': $_[1]->{ret}"
25402 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
25403             die "Non-integer 'int' value given: $_[1]->{ret}"
25404 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
25405 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
25406 0           $_[2] += 4;
25407             }
25408             # @_: ($class, $value, $index, $input) = @_;
25409             sub deserialize_node_set_memory_parameters_args {
25410 0     0 0   my $input_length = length $_[3];
25411 0           $_[1] = {};
25412             # Deserializing field: 'params'
25413             # my ($class, $value, $index, $input) = @_;
25414 0           do {
25415 0 0         die "Input buffer too short"
25416             if ($input_length - $_[2]) < 4;
25417 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
25418 0           $_[2] += 4;
25419              
25420 0 0         die "Array too long (max: 64): $len"
25421             unless ($len <= 64);
25422 0           $_[1]->{params} = [];
25423 0           for my $i1 ( 0 .. ($len - 1) ) {
25424             # my ($class, $value, $index, $input) = @_;
25425 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
25426             }
25427             };
25428              
25429             # Deserializing field: 'flags'
25430             # my ($class, $value, $index, $input) = @_;
25431 0 0         die "Input buffer too short"
25432             if ($input_length - $_[2]) < 4;
25433 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25434 0           $_[2] += 4;
25435             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25436 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25437             }
25438             # @_: ($class, $value, $index, $output) = @_;
25439             sub serialize_node_set_memory_parameters_args {
25440 0 0   0 0   croak "Missing required input 'struct' value"
25441             unless defined $_[1];
25442              
25443             # Serializing field: 'params'
25444             croak "Missing required input value 'params'"
25445 0 0         unless exists $_[1]->{params};
25446             # my ($class, $value, $index, $output) = @_;
25447             croak "Missing required input 'array' value"
25448 0 0         unless defined $_[1]->{params};
25449 0           do {
25450 0           my $len = scalar @{ $_[1]->{params} };
  0            
25451 0 0         die "Array too long (max: 64): $len"
25452             unless ($len <= 64);
25453              
25454 0           substr( $_[3], $_[2] ) = pack("L>", $len);
25455 0           $_[2] += 4;
25456 0           for my $i1 ( 0 .. ($len - 1) ) {
25457             # my ($class, $value, $index, $output) = @_;
25458 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
25459             }
25460             };
25461              
25462             # Serializing field: 'flags'
25463             croak "Missing required input value 'flags'"
25464 0 0         unless exists $_[1]->{flags};
25465             # my ($class, $value, $index, $output) = @_;
25466             croak "Missing required input 'unsigned int' value"
25467 0 0         unless defined $_[1]->{flags};
25468             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25469 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25470             die "Non-integer 'int' value given: $_[1]->{flags}"
25471 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
25472 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
25473 0           $_[2] += 4;
25474             }
25475             # @_: ($class, $value, $index, $input) = @_;
25476             sub deserialize_node_get_memory_parameters_args {
25477 0     0 0   my $input_length = length $_[3];
25478 0           $_[1] = {};
25479             # Deserializing field: 'nparams'
25480             # my ($class, $value, $index, $input) = @_;
25481 0 0         die "Input buffer too short"
25482             if ($input_length - $_[2]) < 4;
25483 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
25484 0           $_[2] += 4;
25485             die "Out of bounds 'int': $_[1]->{nparams}"
25486 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
25487              
25488             # Deserializing field: 'flags'
25489             # my ($class, $value, $index, $input) = @_;
25490 0 0         die "Input buffer too short"
25491             if ($input_length - $_[2]) < 4;
25492 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25493 0           $_[2] += 4;
25494             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25495 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25496             }
25497             # @_: ($class, $value, $index, $output) = @_;
25498             sub serialize_node_get_memory_parameters_args {
25499 0 0   0 0   croak "Missing required input 'struct' value"
25500             unless defined $_[1];
25501              
25502             # Serializing field: 'nparams'
25503             croak "Missing required input value 'nparams'"
25504 0 0         unless exists $_[1]->{nparams};
25505             # my ($class, $value, $index, $output) = @_;
25506             croak "Missing required input 'int' value"
25507 0 0         unless defined $_[1]->{nparams};
25508             die "Out of bounds 'int': $_[1]->{nparams}"
25509 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
25510             die "Non-integer 'int' value given: $_[1]->{nparams}"
25511 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
25512 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
25513 0           $_[2] += 4;
25514              
25515             # Serializing field: 'flags'
25516             croak "Missing required input value 'flags'"
25517 0 0         unless exists $_[1]->{flags};
25518             # my ($class, $value, $index, $output) = @_;
25519             croak "Missing required input 'unsigned int' value"
25520 0 0         unless defined $_[1]->{flags};
25521             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25522 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25523             die "Non-integer 'int' value given: $_[1]->{flags}"
25524 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
25525 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
25526 0           $_[2] += 4;
25527             }
25528             # @_: ($class, $value, $index, $input) = @_;
25529             sub deserialize_node_get_memory_parameters_ret {
25530 0     0 0   my $input_length = length $_[3];
25531 0           $_[1] = {};
25532             # Deserializing field: 'params'
25533             # my ($class, $value, $index, $input) = @_;
25534 0           do {
25535 0 0         die "Input buffer too short"
25536             if ($input_length - $_[2]) < 4;
25537 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
25538 0           $_[2] += 4;
25539              
25540 0 0         die "Array too long (max: 64): $len"
25541             unless ($len <= 64);
25542 0           $_[1]->{params} = [];
25543 0           for my $i1 ( 0 .. ($len - 1) ) {
25544             # my ($class, $value, $index, $input) = @_;
25545 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
25546             }
25547             };
25548              
25549             # Deserializing field: 'nparams'
25550             # my ($class, $value, $index, $input) = @_;
25551 0 0         die "Input buffer too short"
25552             if ($input_length - $_[2]) < 4;
25553 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
25554 0           $_[2] += 4;
25555             die "Out of bounds 'int': $_[1]->{nparams}"
25556 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
25557             }
25558             # @_: ($class, $value, $index, $output) = @_;
25559             sub serialize_node_get_memory_parameters_ret {
25560 0 0   0 0   croak "Missing required input 'struct' value"
25561             unless defined $_[1];
25562              
25563             # Serializing field: 'params'
25564             croak "Missing required input value 'params'"
25565 0 0         unless exists $_[1]->{params};
25566             # my ($class, $value, $index, $output) = @_;
25567             croak "Missing required input 'array' value"
25568 0 0         unless defined $_[1]->{params};
25569 0           do {
25570 0           my $len = scalar @{ $_[1]->{params} };
  0            
25571 0 0         die "Array too long (max: 64): $len"
25572             unless ($len <= 64);
25573              
25574 0           substr( $_[3], $_[2] ) = pack("L>", $len);
25575 0           $_[2] += 4;
25576 0           for my $i1 ( 0 .. ($len - 1) ) {
25577             # my ($class, $value, $index, $output) = @_;
25578 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
25579             }
25580             };
25581              
25582             # Serializing field: 'nparams'
25583             croak "Missing required input value 'nparams'"
25584 0 0         unless exists $_[1]->{nparams};
25585             # my ($class, $value, $index, $output) = @_;
25586             croak "Missing required input 'int' value"
25587 0 0         unless defined $_[1]->{nparams};
25588             die "Out of bounds 'int': $_[1]->{nparams}"
25589 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
25590             die "Non-integer 'int' value given: $_[1]->{nparams}"
25591 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
25592 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
25593 0           $_[2] += 4;
25594             }
25595             # @_: ($class, $value, $index, $input) = @_;
25596             sub deserialize_node_get_cpu_map_args {
25597 0     0 0   my $input_length = length $_[3];
25598 0           $_[1] = {};
25599             # Deserializing field: 'need_map'
25600             # my ($class, $value, $index, $input) = @_;
25601 0 0         die "Input buffer too short"
25602             if ($input_length - $_[2]) < 4;
25603 0           $_[1]->{need_map} = unpack("l>", substr( $_[3], $_[2] ));
25604 0           $_[2] += 4;
25605             die "Out of bounds 'int': $_[1]->{need_map}"
25606 0 0 0       unless (-2147483648 <= $_[1]->{need_map} and $_[1]->{need_map} < 2147483648);
25607              
25608             # Deserializing field: 'need_online'
25609             # my ($class, $value, $index, $input) = @_;
25610 0 0         die "Input buffer too short"
25611             if ($input_length - $_[2]) < 4;
25612 0           $_[1]->{need_online} = unpack("l>", substr( $_[3], $_[2] ));
25613 0           $_[2] += 4;
25614             die "Out of bounds 'int': $_[1]->{need_online}"
25615 0 0 0       unless (-2147483648 <= $_[1]->{need_online} and $_[1]->{need_online} < 2147483648);
25616              
25617             # Deserializing field: 'flags'
25618             # my ($class, $value, $index, $input) = @_;
25619 0 0         die "Input buffer too short"
25620             if ($input_length - $_[2]) < 4;
25621 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25622 0           $_[2] += 4;
25623             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25624 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25625             }
25626             # @_: ($class, $value, $index, $output) = @_;
25627             sub serialize_node_get_cpu_map_args {
25628 0 0   0 0   croak "Missing required input 'struct' value"
25629             unless defined $_[1];
25630              
25631             # Serializing field: 'need_map'
25632             croak "Missing required input value 'need_map'"
25633 0 0         unless exists $_[1]->{need_map};
25634             # my ($class, $value, $index, $output) = @_;
25635             croak "Missing required input 'int' value"
25636 0 0         unless defined $_[1]->{need_map};
25637             die "Out of bounds 'int': $_[1]->{need_map}"
25638 0 0 0       unless (-2147483648 <= $_[1]->{need_map} and $_[1]->{need_map} < 2147483648);
25639             die "Non-integer 'int' value given: $_[1]->{need_map}"
25640 0 0         unless int($_[1]->{need_map}) == $_[1]->{need_map};
25641 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_map});
25642 0           $_[2] += 4;
25643              
25644             # Serializing field: 'need_online'
25645             croak "Missing required input value 'need_online'"
25646 0 0         unless exists $_[1]->{need_online};
25647             # my ($class, $value, $index, $output) = @_;
25648             croak "Missing required input 'int' value"
25649 0 0         unless defined $_[1]->{need_online};
25650             die "Out of bounds 'int': $_[1]->{need_online}"
25651 0 0 0       unless (-2147483648 <= $_[1]->{need_online} and $_[1]->{need_online} < 2147483648);
25652             die "Non-integer 'int' value given: $_[1]->{need_online}"
25653 0 0         unless int($_[1]->{need_online}) == $_[1]->{need_online};
25654 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_online});
25655 0           $_[2] += 4;
25656              
25657             # Serializing field: 'flags'
25658             croak "Missing required input value 'flags'"
25659 0 0         unless exists $_[1]->{flags};
25660             # my ($class, $value, $index, $output) = @_;
25661             croak "Missing required input 'unsigned int' value"
25662 0 0         unless defined $_[1]->{flags};
25663             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25664 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25665             die "Non-integer 'int' value given: $_[1]->{flags}"
25666 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
25667 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
25668 0           $_[2] += 4;
25669             }
25670             # @_: ($class, $value, $index, $input) = @_;
25671             sub deserialize_node_get_cpu_map_ret {
25672 0     0 0   my $input_length = length $_[3];
25673 0           $_[1] = {};
25674             # Deserializing field: 'cpumap'
25675             # my ($class, $value, $index, $input) = @_;
25676 0           do {
25677 0 0         die "Input buffer too short"
25678             if ($input_length - $_[2]) < 4;
25679 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
25680 0           $_[2] += 4;
25681 0 0         die "Opaque data too long (max: 2048): $len"
25682             unless ($len <= 2048);
25683 0 0         die "Input buffer too short"
25684             if ($input_length - $_[2]) < $len;
25685 0           $_[1]->{cpumap} = substr( $_[3], $_[2], $len );
25686 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
25687             };
25688              
25689             # Deserializing field: 'online'
25690             # my ($class, $value, $index, $input) = @_;
25691 0 0         die "Input buffer too short"
25692             if ($input_length - $_[2]) < 4;
25693 0           $_[1]->{online} = unpack("L>", substr( $_[3], $_[2] ));
25694 0           $_[2] += 4;
25695             die "Out of bounds 'unsigned int': $_[1]->{online}"
25696 0 0 0       unless (0 <= $_[1]->{online} and $_[1]->{online} <= 4294967295);
25697              
25698             # Deserializing field: 'ret'
25699             # my ($class, $value, $index, $input) = @_;
25700 0 0         die "Input buffer too short"
25701             if ($input_length - $_[2]) < 4;
25702 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
25703 0           $_[2] += 4;
25704             die "Out of bounds 'int': $_[1]->{ret}"
25705 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
25706             }
25707             # @_: ($class, $value, $index, $output) = @_;
25708             sub serialize_node_get_cpu_map_ret {
25709 0 0   0 0   croak "Missing required input 'struct' value"
25710             unless defined $_[1];
25711              
25712             # Serializing field: 'cpumap'
25713             croak "Missing required input value 'cpumap'"
25714 0 0         unless exists $_[1]->{cpumap};
25715             # my ($class, $value, $index, $output) = @_;
25716             croak "Missing required input 'opaque data' value"
25717 0 0         unless defined $_[1]->{cpumap};
25718 0           do {
25719 0           my $len = length $_[1]->{cpumap};
25720 0 0         die "Opaque data too long (max: 2048): $len"
25721             unless ($len <= 2048);
25722              
25723 0           substr( $_[3], $_[2] ) = pack("L>", $len);
25724 0           $_[2] += 4;
25725 0           substr( $_[3], $_[2] ) = $_[1]->{cpumap};
25726 0           $_[2] += $len;
25727 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
25728 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
25729 0           $_[2] += $pad;
25730             }
25731             };
25732              
25733             # Serializing field: 'online'
25734             croak "Missing required input value 'online'"
25735 0 0         unless exists $_[1]->{online};
25736             # my ($class, $value, $index, $output) = @_;
25737             croak "Missing required input 'unsigned int' value"
25738 0 0         unless defined $_[1]->{online};
25739             die "Out of bounds 'unsigned int': $_[1]->{online}"
25740 0 0 0       unless (0 <= $_[1]->{online} and $_[1]->{online} <= 4294967295);
25741             die "Non-integer 'int' value given: $_[1]->{online}"
25742 0 0         unless int($_[1]->{online}) == $_[1]->{online};
25743 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{online});
25744 0           $_[2] += 4;
25745              
25746             # Serializing field: 'ret'
25747             croak "Missing required input value 'ret'"
25748 0 0         unless exists $_[1]->{ret};
25749             # my ($class, $value, $index, $output) = @_;
25750             croak "Missing required input 'int' value"
25751 0 0         unless defined $_[1]->{ret};
25752             die "Out of bounds 'int': $_[1]->{ret}"
25753 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
25754             die "Non-integer 'int' value given: $_[1]->{ret}"
25755 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
25756 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
25757 0           $_[2] += 4;
25758             }
25759             # @_: ($class, $value, $index, $input) = @_;
25760             sub deserialize_domain_fstrim_args {
25761 0     0 0   my $input_length = length $_[3];
25762 0           $_[1] = {};
25763             # Deserializing field: 'dom'
25764             # my ($class, $value, $index, $input) = @_;
25765 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
25766              
25767             # Deserializing field: 'mountPoint'
25768             # my ($class, $value, $index, $input) = @_;
25769 0           $_[0]->deserialize_string( $_[1]->{mountPoint}, $_[2], $_[3] );
25770              
25771             # Deserializing field: 'minimum'
25772             # my ($class, $value, $index, $input) = @_;
25773 0 0         die "Input buffer too short"
25774             if ($input_length - $_[2]) < 8;
25775 0           $_[1]->{minimum} = unpack("Q>", substr( $_[3], $_[2] ));
25776 0           $_[2] += 8;
25777             die "Out of bounds 'unsigned hyper': $_[1]->{minimum}"
25778             unless (0 <= $_[1]->{minimum}
25779 0 0 0       and $_[1]->{minimum} <= 18446744073709551615);
25780              
25781             # Deserializing field: 'flags'
25782             # my ($class, $value, $index, $input) = @_;
25783 0 0         die "Input buffer too short"
25784             if ($input_length - $_[2]) < 4;
25785 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25786 0           $_[2] += 4;
25787             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25788 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25789             }
25790             # @_: ($class, $value, $index, $output) = @_;
25791             sub serialize_domain_fstrim_args {
25792 0 0   0 0   croak "Missing required input 'struct' value"
25793             unless defined $_[1];
25794              
25795             # Serializing field: 'dom'
25796             croak "Missing required input value 'dom'"
25797 0 0         unless exists $_[1]->{dom};
25798             # my ($class, $value, $index, $output) = @_;
25799 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
25800              
25801             # Serializing field: 'mountPoint'
25802             croak "Missing required input value 'mountPoint'"
25803 0 0         unless exists $_[1]->{mountPoint};
25804             # my ($class, $value, $index, $output) = @_;
25805 0           $_[0]->serialize_string( $_[1]->{mountPoint}, $_[2], $_[3] );
25806              
25807             # Serializing field: 'minimum'
25808             croak "Missing required input value 'minimum'"
25809 0 0         unless exists $_[1]->{minimum};
25810             # my ($class, $value, $index, $output) = @_;
25811             croak "Missing required input 'unsigned long' value"
25812 0 0         unless defined $_[1]->{minimum};
25813             die "Out of bounds 'unsigned hyper': $_[1]->{minimum}"
25814             unless (0 <= $_[1]->{minimum}
25815 0 0 0       and $_[1]->{minimum} <= 18446744073709551615);
25816             die "Non-integer 'long' value given: $_[1]->{minimum}"
25817 0 0         unless int($_[1]->{minimum}) == $_[1]->{minimum};
25818 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{minimum});
25819 0           $_[2] += 8;
25820              
25821             # Serializing field: 'flags'
25822             croak "Missing required input value 'flags'"
25823 0 0         unless exists $_[1]->{flags};
25824             # my ($class, $value, $index, $output) = @_;
25825             croak "Missing required input 'unsigned int' value"
25826 0 0         unless defined $_[1]->{flags};
25827             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25828 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25829             die "Non-integer 'int' value given: $_[1]->{flags}"
25830 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
25831 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
25832 0           $_[2] += 4;
25833             }
25834             # @_: ($class, $value, $index, $input) = @_;
25835             sub deserialize_domain_get_time_args {
25836 0     0 0   my $input_length = length $_[3];
25837 0           $_[1] = {};
25838             # Deserializing field: 'dom'
25839             # my ($class, $value, $index, $input) = @_;
25840 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
25841              
25842             # Deserializing field: 'flags'
25843             # my ($class, $value, $index, $input) = @_;
25844 0 0         die "Input buffer too short"
25845             if ($input_length - $_[2]) < 4;
25846 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25847 0           $_[2] += 4;
25848             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25849 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25850             }
25851             # @_: ($class, $value, $index, $output) = @_;
25852             sub serialize_domain_get_time_args {
25853 0 0   0 0   croak "Missing required input 'struct' value"
25854             unless defined $_[1];
25855              
25856             # Serializing field: 'dom'
25857             croak "Missing required input value 'dom'"
25858 0 0         unless exists $_[1]->{dom};
25859             # my ($class, $value, $index, $output) = @_;
25860 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
25861              
25862             # Serializing field: 'flags'
25863             croak "Missing required input value 'flags'"
25864 0 0         unless exists $_[1]->{flags};
25865             # my ($class, $value, $index, $output) = @_;
25866             croak "Missing required input 'unsigned int' value"
25867 0 0         unless defined $_[1]->{flags};
25868             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25869 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25870             die "Non-integer 'int' value given: $_[1]->{flags}"
25871 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
25872 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
25873 0           $_[2] += 4;
25874             }
25875             # @_: ($class, $value, $index, $input) = @_;
25876             sub deserialize_domain_get_time_ret {
25877 0     0 0   my $input_length = length $_[3];
25878 0           $_[1] = {};
25879             # Deserializing field: 'seconds'
25880             # my ($class, $value, $index, $input) = @_;
25881 0 0         die "Input buffer too short"
25882             if ($input_length - $_[2]) < 8;
25883 0           $_[1]->{seconds} = unpack("q>", substr( $_[3], $_[2] ));
25884 0           $_[2] += 8;
25885             die "Out of bounds 'hyper': $_[1]->{seconds}"
25886             unless (-9223372036854775808 <= $_[1]->{seconds}
25887 0 0 0       and $_[1]->{seconds} < 9223372036854775808);
25888              
25889             # Deserializing field: 'nseconds'
25890             # my ($class, $value, $index, $input) = @_;
25891 0 0         die "Input buffer too short"
25892             if ($input_length - $_[2]) < 4;
25893 0           $_[1]->{nseconds} = unpack("L>", substr( $_[3], $_[2] ));
25894 0           $_[2] += 4;
25895             die "Out of bounds 'unsigned int': $_[1]->{nseconds}"
25896 0 0 0       unless (0 <= $_[1]->{nseconds} and $_[1]->{nseconds} <= 4294967295);
25897             }
25898             # @_: ($class, $value, $index, $output) = @_;
25899             sub serialize_domain_get_time_ret {
25900 0 0   0 0   croak "Missing required input 'struct' value"
25901             unless defined $_[1];
25902              
25903             # Serializing field: 'seconds'
25904             croak "Missing required input value 'seconds'"
25905 0 0         unless exists $_[1]->{seconds};
25906             # my ($class, $value, $index, $output) = @_;
25907             croak "Missing required input 'long' value"
25908 0 0         unless defined $_[1]->{seconds};
25909             die "Out of bounds 'hyper': $_[1]->{seconds}"
25910             unless (-9223372036854775808 <= $_[1]->{seconds}
25911 0 0 0       and $_[1]->{seconds} < 9223372036854775808);
25912             die "Non-integer 'long' value given: $_[1]->{seconds}"
25913 0 0         unless int($_[1]->{seconds}) == $_[1]->{seconds};
25914 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{seconds});
25915 0           $_[2] += 8;
25916              
25917             # Serializing field: 'nseconds'
25918             croak "Missing required input value 'nseconds'"
25919 0 0         unless exists $_[1]->{nseconds};
25920             # my ($class, $value, $index, $output) = @_;
25921             croak "Missing required input 'unsigned int' value"
25922 0 0         unless defined $_[1]->{nseconds};
25923             die "Out of bounds 'unsigned int': $_[1]->{nseconds}"
25924 0 0 0       unless (0 <= $_[1]->{nseconds} and $_[1]->{nseconds} <= 4294967295);
25925             die "Non-integer 'int' value given: $_[1]->{nseconds}"
25926 0 0         unless int($_[1]->{nseconds}) == $_[1]->{nseconds};
25927 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{nseconds});
25928 0           $_[2] += 4;
25929             }
25930             # @_: ($class, $value, $index, $input) = @_;
25931             sub deserialize_domain_set_time_args {
25932 0     0 0   my $input_length = length $_[3];
25933 0           $_[1] = {};
25934             # Deserializing field: 'dom'
25935             # my ($class, $value, $index, $input) = @_;
25936 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
25937              
25938             # Deserializing field: 'seconds'
25939             # my ($class, $value, $index, $input) = @_;
25940 0 0         die "Input buffer too short"
25941             if ($input_length - $_[2]) < 8;
25942 0           $_[1]->{seconds} = unpack("q>", substr( $_[3], $_[2] ));
25943 0           $_[2] += 8;
25944             die "Out of bounds 'hyper': $_[1]->{seconds}"
25945             unless (-9223372036854775808 <= $_[1]->{seconds}
25946 0 0 0       and $_[1]->{seconds} < 9223372036854775808);
25947              
25948             # Deserializing field: 'nseconds'
25949             # my ($class, $value, $index, $input) = @_;
25950 0 0         die "Input buffer too short"
25951             if ($input_length - $_[2]) < 4;
25952 0           $_[1]->{nseconds} = unpack("L>", substr( $_[3], $_[2] ));
25953 0           $_[2] += 4;
25954             die "Out of bounds 'unsigned int': $_[1]->{nseconds}"
25955 0 0 0       unless (0 <= $_[1]->{nseconds} and $_[1]->{nseconds} <= 4294967295);
25956              
25957             # Deserializing field: 'flags'
25958             # my ($class, $value, $index, $input) = @_;
25959 0 0         die "Input buffer too short"
25960             if ($input_length - $_[2]) < 4;
25961 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25962 0           $_[2] += 4;
25963             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25964 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25965             }
25966             # @_: ($class, $value, $index, $output) = @_;
25967             sub serialize_domain_set_time_args {
25968 0 0   0 0   croak "Missing required input 'struct' value"
25969             unless defined $_[1];
25970              
25971             # Serializing field: 'dom'
25972             croak "Missing required input value 'dom'"
25973 0 0         unless exists $_[1]->{dom};
25974             # my ($class, $value, $index, $output) = @_;
25975 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
25976              
25977             # Serializing field: 'seconds'
25978             croak "Missing required input value 'seconds'"
25979 0 0         unless exists $_[1]->{seconds};
25980             # my ($class, $value, $index, $output) = @_;
25981             croak "Missing required input 'long' value"
25982 0 0         unless defined $_[1]->{seconds};
25983             die "Out of bounds 'hyper': $_[1]->{seconds}"
25984             unless (-9223372036854775808 <= $_[1]->{seconds}
25985 0 0 0       and $_[1]->{seconds} < 9223372036854775808);
25986             die "Non-integer 'long' value given: $_[1]->{seconds}"
25987 0 0         unless int($_[1]->{seconds}) == $_[1]->{seconds};
25988 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{seconds});
25989 0           $_[2] += 8;
25990              
25991             # Serializing field: 'nseconds'
25992             croak "Missing required input value 'nseconds'"
25993 0 0         unless exists $_[1]->{nseconds};
25994             # my ($class, $value, $index, $output) = @_;
25995             croak "Missing required input 'unsigned int' value"
25996 0 0         unless defined $_[1]->{nseconds};
25997             die "Out of bounds 'unsigned int': $_[1]->{nseconds}"
25998 0 0 0       unless (0 <= $_[1]->{nseconds} and $_[1]->{nseconds} <= 4294967295);
25999             die "Non-integer 'int' value given: $_[1]->{nseconds}"
26000 0 0         unless int($_[1]->{nseconds}) == $_[1]->{nseconds};
26001 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{nseconds});
26002 0           $_[2] += 4;
26003              
26004             # Serializing field: 'flags'
26005             croak "Missing required input value 'flags'"
26006 0 0         unless exists $_[1]->{flags};
26007             # my ($class, $value, $index, $output) = @_;
26008             croak "Missing required input 'unsigned int' value"
26009 0 0         unless defined $_[1]->{flags};
26010             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26011 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26012             die "Non-integer 'int' value given: $_[1]->{flags}"
26013 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
26014 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
26015 0           $_[2] += 4;
26016             }
26017             # @_: ($class, $value, $index, $input) = @_;
26018             sub deserialize_domain_migrate_begin3_params_args {
26019 0     0 0   my $input_length = length $_[3];
26020 0           $_[1] = {};
26021             # Deserializing field: 'dom'
26022             # my ($class, $value, $index, $input) = @_;
26023 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26024              
26025             # Deserializing field: 'params'
26026             # my ($class, $value, $index, $input) = @_;
26027 0           do {
26028 0 0         die "Input buffer too short"
26029             if ($input_length - $_[2]) < 4;
26030 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26031 0           $_[2] += 4;
26032              
26033 0 0         die "Array too long (max: 64): $len"
26034             unless ($len <= 64);
26035 0           $_[1]->{params} = [];
26036 0           for my $i1 ( 0 .. ($len - 1) ) {
26037             # my ($class, $value, $index, $input) = @_;
26038 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26039             }
26040             };
26041              
26042             # Deserializing field: 'flags'
26043             # my ($class, $value, $index, $input) = @_;
26044 0 0         die "Input buffer too short"
26045             if ($input_length - $_[2]) < 4;
26046 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
26047 0           $_[2] += 4;
26048             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26049 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26050             }
26051             # @_: ($class, $value, $index, $output) = @_;
26052             sub serialize_domain_migrate_begin3_params_args {
26053 0 0   0 0   croak "Missing required input 'struct' value"
26054             unless defined $_[1];
26055              
26056             # Serializing field: 'dom'
26057             croak "Missing required input value 'dom'"
26058 0 0         unless exists $_[1]->{dom};
26059             # my ($class, $value, $index, $output) = @_;
26060 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26061              
26062             # Serializing field: 'params'
26063             croak "Missing required input value 'params'"
26064 0 0         unless exists $_[1]->{params};
26065             # my ($class, $value, $index, $output) = @_;
26066             croak "Missing required input 'array' value"
26067 0 0         unless defined $_[1]->{params};
26068 0           do {
26069 0           my $len = scalar @{ $_[1]->{params} };
  0            
26070 0 0         die "Array too long (max: 64): $len"
26071             unless ($len <= 64);
26072              
26073 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26074 0           $_[2] += 4;
26075 0           for my $i1 ( 0 .. ($len - 1) ) {
26076             # my ($class, $value, $index, $output) = @_;
26077 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26078             }
26079             };
26080              
26081             # Serializing field: 'flags'
26082             croak "Missing required input value 'flags'"
26083 0 0         unless exists $_[1]->{flags};
26084             # my ($class, $value, $index, $output) = @_;
26085             croak "Missing required input 'unsigned int' value"
26086 0 0         unless defined $_[1]->{flags};
26087             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26088 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26089             die "Non-integer 'int' value given: $_[1]->{flags}"
26090 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
26091 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
26092 0           $_[2] += 4;
26093             }
26094             # @_: ($class, $value, $index, $input) = @_;
26095             sub deserialize_domain_migrate_begin3_params_ret {
26096 0     0 0   my $input_length = length $_[3];
26097 0           $_[1] = {};
26098             # Deserializing field: 'cookie_out'
26099             # my ($class, $value, $index, $input) = @_;
26100 0           do {
26101 0 0         die "Input buffer too short"
26102             if ($input_length - $_[2]) < 4;
26103 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26104 0           $_[2] += 4;
26105 0 0         die "Opaque data too long (max: 4194304): $len"
26106             unless ($len <= 4194304);
26107 0 0         die "Input buffer too short"
26108             if ($input_length - $_[2]) < $len;
26109 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
26110 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26111             };
26112              
26113             # Deserializing field: 'xml'
26114             # my ($class, $value, $index, $input) = @_;
26115 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
26116             }
26117             # @_: ($class, $value, $index, $output) = @_;
26118             sub serialize_domain_migrate_begin3_params_ret {
26119 0 0   0 0   croak "Missing required input 'struct' value"
26120             unless defined $_[1];
26121              
26122             # Serializing field: 'cookie_out'
26123             croak "Missing required input value 'cookie_out'"
26124 0 0         unless exists $_[1]->{cookie_out};
26125             # my ($class, $value, $index, $output) = @_;
26126             croak "Missing required input 'opaque data' value"
26127 0 0         unless defined $_[1]->{cookie_out};
26128 0           do {
26129 0           my $len = length $_[1]->{cookie_out};
26130 0 0         die "Opaque data too long (max: 4194304): $len"
26131             unless ($len <= 4194304);
26132              
26133 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26134 0           $_[2] += 4;
26135 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
26136 0           $_[2] += $len;
26137 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26138 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26139 0           $_[2] += $pad;
26140             }
26141             };
26142              
26143             # Serializing field: 'xml'
26144             croak "Missing required input value 'xml'"
26145 0 0         unless exists $_[1]->{xml};
26146             # my ($class, $value, $index, $output) = @_;
26147 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
26148             }
26149             # @_: ($class, $value, $index, $input) = @_;
26150             sub deserialize_domain_migrate_prepare3_params_args {
26151 0     0 0   my $input_length = length $_[3];
26152 0           $_[1] = {};
26153             # Deserializing field: 'params'
26154             # my ($class, $value, $index, $input) = @_;
26155 0           do {
26156 0 0         die "Input buffer too short"
26157             if ($input_length - $_[2]) < 4;
26158 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26159 0           $_[2] += 4;
26160              
26161 0 0         die "Array too long (max: 64): $len"
26162             unless ($len <= 64);
26163 0           $_[1]->{params} = [];
26164 0           for my $i1 ( 0 .. ($len - 1) ) {
26165             # my ($class, $value, $index, $input) = @_;
26166 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26167             }
26168             };
26169              
26170             # Deserializing field: 'cookie_in'
26171             # my ($class, $value, $index, $input) = @_;
26172 0           do {
26173 0 0         die "Input buffer too short"
26174             if ($input_length - $_[2]) < 4;
26175 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26176 0           $_[2] += 4;
26177 0 0         die "Opaque data too long (max: 4194304): $len"
26178             unless ($len <= 4194304);
26179 0 0         die "Input buffer too short"
26180             if ($input_length - $_[2]) < $len;
26181 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
26182 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26183             };
26184              
26185             # Deserializing field: 'flags'
26186             # my ($class, $value, $index, $input) = @_;
26187 0 0         die "Input buffer too short"
26188             if ($input_length - $_[2]) < 4;
26189 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
26190 0           $_[2] += 4;
26191             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26192 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26193             }
26194             # @_: ($class, $value, $index, $output) = @_;
26195             sub serialize_domain_migrate_prepare3_params_args {
26196 0 0   0 0   croak "Missing required input 'struct' value"
26197             unless defined $_[1];
26198              
26199             # Serializing field: 'params'
26200             croak "Missing required input value 'params'"
26201 0 0         unless exists $_[1]->{params};
26202             # my ($class, $value, $index, $output) = @_;
26203             croak "Missing required input 'array' value"
26204 0 0         unless defined $_[1]->{params};
26205 0           do {
26206 0           my $len = scalar @{ $_[1]->{params} };
  0            
26207 0 0         die "Array too long (max: 64): $len"
26208             unless ($len <= 64);
26209              
26210 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26211 0           $_[2] += 4;
26212 0           for my $i1 ( 0 .. ($len - 1) ) {
26213             # my ($class, $value, $index, $output) = @_;
26214 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26215             }
26216             };
26217              
26218             # Serializing field: 'cookie_in'
26219             croak "Missing required input value 'cookie_in'"
26220 0 0         unless exists $_[1]->{cookie_in};
26221             # my ($class, $value, $index, $output) = @_;
26222             croak "Missing required input 'opaque data' value"
26223 0 0         unless defined $_[1]->{cookie_in};
26224 0           do {
26225 0           my $len = length $_[1]->{cookie_in};
26226 0 0         die "Opaque data too long (max: 4194304): $len"
26227             unless ($len <= 4194304);
26228              
26229 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26230 0           $_[2] += 4;
26231 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
26232 0           $_[2] += $len;
26233 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26234 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26235 0           $_[2] += $pad;
26236             }
26237             };
26238              
26239             # Serializing field: 'flags'
26240             croak "Missing required input value 'flags'"
26241 0 0         unless exists $_[1]->{flags};
26242             # my ($class, $value, $index, $output) = @_;
26243             croak "Missing required input 'unsigned int' value"
26244 0 0         unless defined $_[1]->{flags};
26245             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26246 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26247             die "Non-integer 'int' value given: $_[1]->{flags}"
26248 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
26249 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
26250 0           $_[2] += 4;
26251             }
26252             # @_: ($class, $value, $index, $input) = @_;
26253             sub deserialize_domain_migrate_prepare3_params_ret {
26254 0     0 0   my $input_length = length $_[3];
26255 0           $_[1] = {};
26256             # Deserializing field: 'cookie_out'
26257             # my ($class, $value, $index, $input) = @_;
26258 0           do {
26259 0 0         die "Input buffer too short"
26260             if ($input_length - $_[2]) < 4;
26261 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26262 0           $_[2] += 4;
26263 0 0         die "Opaque data too long (max: 4194304): $len"
26264             unless ($len <= 4194304);
26265 0 0         die "Input buffer too short"
26266             if ($input_length - $_[2]) < $len;
26267 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
26268 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26269             };
26270              
26271             # Deserializing field: 'uri_out'
26272             # my ($class, $value, $index, $input) = @_;
26273 0           $_[0]->deserialize_string( $_[1]->{uri_out}, $_[2], $_[3] );
26274             }
26275             # @_: ($class, $value, $index, $output) = @_;
26276             sub serialize_domain_migrate_prepare3_params_ret {
26277 0 0   0 0   croak "Missing required input 'struct' value"
26278             unless defined $_[1];
26279              
26280             # Serializing field: 'cookie_out'
26281             croak "Missing required input value 'cookie_out'"
26282 0 0         unless exists $_[1]->{cookie_out};
26283             # my ($class, $value, $index, $output) = @_;
26284             croak "Missing required input 'opaque data' value"
26285 0 0         unless defined $_[1]->{cookie_out};
26286 0           do {
26287 0           my $len = length $_[1]->{cookie_out};
26288 0 0         die "Opaque data too long (max: 4194304): $len"
26289             unless ($len <= 4194304);
26290              
26291 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26292 0           $_[2] += 4;
26293 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
26294 0           $_[2] += $len;
26295 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26296 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26297 0           $_[2] += $pad;
26298             }
26299             };
26300              
26301             # Serializing field: 'uri_out'
26302             croak "Missing required input value 'uri_out'"
26303 0 0         unless exists $_[1]->{uri_out};
26304             # my ($class, $value, $index, $output) = @_;
26305 0           $_[0]->serialize_string( $_[1]->{uri_out}, $_[2], $_[3] );
26306             }
26307             # @_: ($class, $value, $index, $input) = @_;
26308             sub deserialize_domain_migrate_prepare_tunnel3_params_args {
26309 0     0 0   my $input_length = length $_[3];
26310 0           $_[1] = {};
26311             # Deserializing field: 'params'
26312             # my ($class, $value, $index, $input) = @_;
26313 0           do {
26314 0 0         die "Input buffer too short"
26315             if ($input_length - $_[2]) < 4;
26316 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26317 0           $_[2] += 4;
26318              
26319 0 0         die "Array too long (max: 64): $len"
26320             unless ($len <= 64);
26321 0           $_[1]->{params} = [];
26322 0           for my $i1 ( 0 .. ($len - 1) ) {
26323             # my ($class, $value, $index, $input) = @_;
26324 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26325             }
26326             };
26327              
26328             # Deserializing field: 'cookie_in'
26329             # my ($class, $value, $index, $input) = @_;
26330 0           do {
26331 0 0         die "Input buffer too short"
26332             if ($input_length - $_[2]) < 4;
26333 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26334 0           $_[2] += 4;
26335 0 0         die "Opaque data too long (max: 4194304): $len"
26336             unless ($len <= 4194304);
26337 0 0         die "Input buffer too short"
26338             if ($input_length - $_[2]) < $len;
26339 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
26340 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26341             };
26342              
26343             # Deserializing field: 'flags'
26344             # my ($class, $value, $index, $input) = @_;
26345 0 0         die "Input buffer too short"
26346             if ($input_length - $_[2]) < 4;
26347 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
26348 0           $_[2] += 4;
26349             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26350 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26351             }
26352             # @_: ($class, $value, $index, $output) = @_;
26353             sub serialize_domain_migrate_prepare_tunnel3_params_args {
26354 0 0   0 0   croak "Missing required input 'struct' value"
26355             unless defined $_[1];
26356              
26357             # Serializing field: 'params'
26358             croak "Missing required input value 'params'"
26359 0 0         unless exists $_[1]->{params};
26360             # my ($class, $value, $index, $output) = @_;
26361             croak "Missing required input 'array' value"
26362 0 0         unless defined $_[1]->{params};
26363 0           do {
26364 0           my $len = scalar @{ $_[1]->{params} };
  0            
26365 0 0         die "Array too long (max: 64): $len"
26366             unless ($len <= 64);
26367              
26368 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26369 0           $_[2] += 4;
26370 0           for my $i1 ( 0 .. ($len - 1) ) {
26371             # my ($class, $value, $index, $output) = @_;
26372 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26373             }
26374             };
26375              
26376             # Serializing field: 'cookie_in'
26377             croak "Missing required input value 'cookie_in'"
26378 0 0         unless exists $_[1]->{cookie_in};
26379             # my ($class, $value, $index, $output) = @_;
26380             croak "Missing required input 'opaque data' value"
26381 0 0         unless defined $_[1]->{cookie_in};
26382 0           do {
26383 0           my $len = length $_[1]->{cookie_in};
26384 0 0         die "Opaque data too long (max: 4194304): $len"
26385             unless ($len <= 4194304);
26386              
26387 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26388 0           $_[2] += 4;
26389 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
26390 0           $_[2] += $len;
26391 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26392 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26393 0           $_[2] += $pad;
26394             }
26395             };
26396              
26397             # Serializing field: 'flags'
26398             croak "Missing required input value 'flags'"
26399 0 0         unless exists $_[1]->{flags};
26400             # my ($class, $value, $index, $output) = @_;
26401             croak "Missing required input 'unsigned int' value"
26402 0 0         unless defined $_[1]->{flags};
26403             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26404 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26405             die "Non-integer 'int' value given: $_[1]->{flags}"
26406 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
26407 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
26408 0           $_[2] += 4;
26409             }
26410             # @_: ($class, $value, $index, $input) = @_;
26411             sub deserialize_domain_migrate_prepare_tunnel3_params_ret {
26412 0     0 0   my $input_length = length $_[3];
26413 0           $_[1] = {};
26414             # Deserializing field: 'cookie_out'
26415             # my ($class, $value, $index, $input) = @_;
26416 0           do {
26417 0 0         die "Input buffer too short"
26418             if ($input_length - $_[2]) < 4;
26419 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26420 0           $_[2] += 4;
26421 0 0         die "Opaque data too long (max: 4194304): $len"
26422             unless ($len <= 4194304);
26423 0 0         die "Input buffer too short"
26424             if ($input_length - $_[2]) < $len;
26425 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
26426 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26427             };
26428             }
26429             # @_: ($class, $value, $index, $output) = @_;
26430             sub serialize_domain_migrate_prepare_tunnel3_params_ret {
26431 0 0   0 0   croak "Missing required input 'struct' value"
26432             unless defined $_[1];
26433              
26434             # Serializing field: 'cookie_out'
26435             croak "Missing required input value 'cookie_out'"
26436 0 0         unless exists $_[1]->{cookie_out};
26437             # my ($class, $value, $index, $output) = @_;
26438             croak "Missing required input 'opaque data' value"
26439 0 0         unless defined $_[1]->{cookie_out};
26440 0           do {
26441 0           my $len = length $_[1]->{cookie_out};
26442 0 0         die "Opaque data too long (max: 4194304): $len"
26443             unless ($len <= 4194304);
26444              
26445 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26446 0           $_[2] += 4;
26447 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
26448 0           $_[2] += $len;
26449 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26450 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26451 0           $_[2] += $pad;
26452             }
26453             };
26454             }
26455             # @_: ($class, $value, $index, $input) = @_;
26456             sub deserialize_domain_migrate_perform3_params_args {
26457 0     0 0   my $input_length = length $_[3];
26458 0           $_[1] = {};
26459             # Deserializing field: 'dom'
26460             # my ($class, $value, $index, $input) = @_;
26461 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26462              
26463             # Deserializing field: 'dconnuri'
26464             # my ($class, $value, $index, $input) = @_;
26465 0           $_[0]->deserialize_string( $_[1]->{dconnuri}, $_[2], $_[3] );
26466              
26467             # Deserializing field: 'params'
26468             # my ($class, $value, $index, $input) = @_;
26469 0           do {
26470 0 0         die "Input buffer too short"
26471             if ($input_length - $_[2]) < 4;
26472 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26473 0           $_[2] += 4;
26474              
26475 0 0         die "Array too long (max: 64): $len"
26476             unless ($len <= 64);
26477 0           $_[1]->{params} = [];
26478 0           for my $i1 ( 0 .. ($len - 1) ) {
26479             # my ($class, $value, $index, $input) = @_;
26480 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26481             }
26482             };
26483              
26484             # Deserializing field: 'cookie_in'
26485             # my ($class, $value, $index, $input) = @_;
26486 0           do {
26487 0 0         die "Input buffer too short"
26488             if ($input_length - $_[2]) < 4;
26489 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26490 0           $_[2] += 4;
26491 0 0         die "Opaque data too long (max: 4194304): $len"
26492             unless ($len <= 4194304);
26493 0 0         die "Input buffer too short"
26494             if ($input_length - $_[2]) < $len;
26495 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
26496 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26497             };
26498              
26499             # Deserializing field: 'flags'
26500             # my ($class, $value, $index, $input) = @_;
26501 0 0         die "Input buffer too short"
26502             if ($input_length - $_[2]) < 4;
26503 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
26504 0           $_[2] += 4;
26505             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26506 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26507             }
26508             # @_: ($class, $value, $index, $output) = @_;
26509             sub serialize_domain_migrate_perform3_params_args {
26510 0 0   0 0   croak "Missing required input 'struct' value"
26511             unless defined $_[1];
26512              
26513             # Serializing field: 'dom'
26514             croak "Missing required input value 'dom'"
26515 0 0         unless exists $_[1]->{dom};
26516             # my ($class, $value, $index, $output) = @_;
26517 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26518              
26519             # Serializing field: 'dconnuri'
26520             croak "Missing required input value 'dconnuri'"
26521 0 0         unless exists $_[1]->{dconnuri};
26522             # my ($class, $value, $index, $output) = @_;
26523 0           $_[0]->serialize_string( $_[1]->{dconnuri}, $_[2], $_[3] );
26524              
26525             # Serializing field: 'params'
26526             croak "Missing required input value 'params'"
26527 0 0         unless exists $_[1]->{params};
26528             # my ($class, $value, $index, $output) = @_;
26529             croak "Missing required input 'array' value"
26530 0 0         unless defined $_[1]->{params};
26531 0           do {
26532 0           my $len = scalar @{ $_[1]->{params} };
  0            
26533 0 0         die "Array too long (max: 64): $len"
26534             unless ($len <= 64);
26535              
26536 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26537 0           $_[2] += 4;
26538 0           for my $i1 ( 0 .. ($len - 1) ) {
26539             # my ($class, $value, $index, $output) = @_;
26540 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26541             }
26542             };
26543              
26544             # Serializing field: 'cookie_in'
26545             croak "Missing required input value 'cookie_in'"
26546 0 0         unless exists $_[1]->{cookie_in};
26547             # my ($class, $value, $index, $output) = @_;
26548             croak "Missing required input 'opaque data' value"
26549 0 0         unless defined $_[1]->{cookie_in};
26550 0           do {
26551 0           my $len = length $_[1]->{cookie_in};
26552 0 0         die "Opaque data too long (max: 4194304): $len"
26553             unless ($len <= 4194304);
26554              
26555 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26556 0           $_[2] += 4;
26557 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
26558 0           $_[2] += $len;
26559 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26560 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26561 0           $_[2] += $pad;
26562             }
26563             };
26564              
26565             # Serializing field: 'flags'
26566             croak "Missing required input value 'flags'"
26567 0 0         unless exists $_[1]->{flags};
26568             # my ($class, $value, $index, $output) = @_;
26569             croak "Missing required input 'unsigned int' value"
26570 0 0         unless defined $_[1]->{flags};
26571             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26572 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26573             die "Non-integer 'int' value given: $_[1]->{flags}"
26574 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
26575 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
26576 0           $_[2] += 4;
26577             }
26578             # @_: ($class, $value, $index, $input) = @_;
26579             sub deserialize_domain_migrate_perform3_params_ret {
26580 0     0 0   my $input_length = length $_[3];
26581 0           $_[1] = {};
26582             # Deserializing field: 'cookie_out'
26583             # my ($class, $value, $index, $input) = @_;
26584 0           do {
26585 0 0         die "Input buffer too short"
26586             if ($input_length - $_[2]) < 4;
26587 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26588 0           $_[2] += 4;
26589 0 0         die "Opaque data too long (max: 4194304): $len"
26590             unless ($len <= 4194304);
26591 0 0         die "Input buffer too short"
26592             if ($input_length - $_[2]) < $len;
26593 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
26594 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26595             };
26596             }
26597             # @_: ($class, $value, $index, $output) = @_;
26598             sub serialize_domain_migrate_perform3_params_ret {
26599 0 0   0 0   croak "Missing required input 'struct' value"
26600             unless defined $_[1];
26601              
26602             # Serializing field: 'cookie_out'
26603             croak "Missing required input value 'cookie_out'"
26604 0 0         unless exists $_[1]->{cookie_out};
26605             # my ($class, $value, $index, $output) = @_;
26606             croak "Missing required input 'opaque data' value"
26607 0 0         unless defined $_[1]->{cookie_out};
26608 0           do {
26609 0           my $len = length $_[1]->{cookie_out};
26610 0 0         die "Opaque data too long (max: 4194304): $len"
26611             unless ($len <= 4194304);
26612              
26613 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26614 0           $_[2] += 4;
26615 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
26616 0           $_[2] += $len;
26617 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26618 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26619 0           $_[2] += $pad;
26620             }
26621             };
26622             }
26623             # @_: ($class, $value, $index, $input) = @_;
26624             sub deserialize_domain_migrate_finish3_params_args {
26625 0     0 0   my $input_length = length $_[3];
26626 0           $_[1] = {};
26627             # Deserializing field: 'params'
26628             # my ($class, $value, $index, $input) = @_;
26629 0           do {
26630 0 0         die "Input buffer too short"
26631             if ($input_length - $_[2]) < 4;
26632 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26633 0           $_[2] += 4;
26634              
26635 0 0         die "Array too long (max: 64): $len"
26636             unless ($len <= 64);
26637 0           $_[1]->{params} = [];
26638 0           for my $i1 ( 0 .. ($len - 1) ) {
26639             # my ($class, $value, $index, $input) = @_;
26640 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26641             }
26642             };
26643              
26644             # Deserializing field: 'cookie_in'
26645             # my ($class, $value, $index, $input) = @_;
26646 0           do {
26647 0 0         die "Input buffer too short"
26648             if ($input_length - $_[2]) < 4;
26649 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26650 0           $_[2] += 4;
26651 0 0         die "Opaque data too long (max: 4194304): $len"
26652             unless ($len <= 4194304);
26653 0 0         die "Input buffer too short"
26654             if ($input_length - $_[2]) < $len;
26655 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
26656 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26657             };
26658              
26659             # Deserializing field: 'flags'
26660             # my ($class, $value, $index, $input) = @_;
26661 0 0         die "Input buffer too short"
26662             if ($input_length - $_[2]) < 4;
26663 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
26664 0           $_[2] += 4;
26665             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26666 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26667              
26668             # Deserializing field: 'cancelled'
26669             # my ($class, $value, $index, $input) = @_;
26670 0 0         die "Input buffer too short"
26671             if ($input_length - $_[2]) < 4;
26672 0           $_[1]->{cancelled} = unpack("l>", substr( $_[3], $_[2] ));
26673 0           $_[2] += 4;
26674             die "Out of bounds 'int': $_[1]->{cancelled}"
26675 0 0 0       unless (-2147483648 <= $_[1]->{cancelled} and $_[1]->{cancelled} < 2147483648);
26676             }
26677             # @_: ($class, $value, $index, $output) = @_;
26678             sub serialize_domain_migrate_finish3_params_args {
26679 0 0   0 0   croak "Missing required input 'struct' value"
26680             unless defined $_[1];
26681              
26682             # Serializing field: 'params'
26683             croak "Missing required input value 'params'"
26684 0 0         unless exists $_[1]->{params};
26685             # my ($class, $value, $index, $output) = @_;
26686             croak "Missing required input 'array' value"
26687 0 0         unless defined $_[1]->{params};
26688 0           do {
26689 0           my $len = scalar @{ $_[1]->{params} };
  0            
26690 0 0         die "Array too long (max: 64): $len"
26691             unless ($len <= 64);
26692              
26693 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26694 0           $_[2] += 4;
26695 0           for my $i1 ( 0 .. ($len - 1) ) {
26696             # my ($class, $value, $index, $output) = @_;
26697 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26698             }
26699             };
26700              
26701             # Serializing field: 'cookie_in'
26702             croak "Missing required input value 'cookie_in'"
26703 0 0         unless exists $_[1]->{cookie_in};
26704             # my ($class, $value, $index, $output) = @_;
26705             croak "Missing required input 'opaque data' value"
26706 0 0         unless defined $_[1]->{cookie_in};
26707 0           do {
26708 0           my $len = length $_[1]->{cookie_in};
26709 0 0         die "Opaque data too long (max: 4194304): $len"
26710             unless ($len <= 4194304);
26711              
26712 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26713 0           $_[2] += 4;
26714 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
26715 0           $_[2] += $len;
26716 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26717 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26718 0           $_[2] += $pad;
26719             }
26720             };
26721              
26722             # Serializing field: 'flags'
26723             croak "Missing required input value 'flags'"
26724 0 0         unless exists $_[1]->{flags};
26725             # my ($class, $value, $index, $output) = @_;
26726             croak "Missing required input 'unsigned int' value"
26727 0 0         unless defined $_[1]->{flags};
26728             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26729 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26730             die "Non-integer 'int' value given: $_[1]->{flags}"
26731 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
26732 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
26733 0           $_[2] += 4;
26734              
26735             # Serializing field: 'cancelled'
26736             croak "Missing required input value 'cancelled'"
26737 0 0         unless exists $_[1]->{cancelled};
26738             # my ($class, $value, $index, $output) = @_;
26739             croak "Missing required input 'int' value"
26740 0 0         unless defined $_[1]->{cancelled};
26741             die "Out of bounds 'int': $_[1]->{cancelled}"
26742 0 0 0       unless (-2147483648 <= $_[1]->{cancelled} and $_[1]->{cancelled} < 2147483648);
26743             die "Non-integer 'int' value given: $_[1]->{cancelled}"
26744 0 0         unless int($_[1]->{cancelled}) == $_[1]->{cancelled};
26745 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cancelled});
26746 0           $_[2] += 4;
26747             }
26748             # @_: ($class, $value, $index, $input) = @_;
26749             sub deserialize_domain_migrate_finish3_params_ret {
26750 0     0 0   my $input_length = length $_[3];
26751 0           $_[1] = {};
26752             # Deserializing field: 'dom'
26753             # my ($class, $value, $index, $input) = @_;
26754 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26755              
26756             # Deserializing field: 'cookie_out'
26757             # my ($class, $value, $index, $input) = @_;
26758 0           do {
26759 0 0         die "Input buffer too short"
26760             if ($input_length - $_[2]) < 4;
26761 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26762 0           $_[2] += 4;
26763 0 0         die "Opaque data too long (max: 4194304): $len"
26764             unless ($len <= 4194304);
26765 0 0         die "Input buffer too short"
26766             if ($input_length - $_[2]) < $len;
26767 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
26768 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26769             };
26770             }
26771             # @_: ($class, $value, $index, $output) = @_;
26772             sub serialize_domain_migrate_finish3_params_ret {
26773 0 0   0 0   croak "Missing required input 'struct' value"
26774             unless defined $_[1];
26775              
26776             # Serializing field: 'dom'
26777             croak "Missing required input value 'dom'"
26778 0 0         unless exists $_[1]->{dom};
26779             # my ($class, $value, $index, $output) = @_;
26780 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26781              
26782             # Serializing field: 'cookie_out'
26783             croak "Missing required input value 'cookie_out'"
26784 0 0         unless exists $_[1]->{cookie_out};
26785             # my ($class, $value, $index, $output) = @_;
26786             croak "Missing required input 'opaque data' value"
26787 0 0         unless defined $_[1]->{cookie_out};
26788 0           do {
26789 0           my $len = length $_[1]->{cookie_out};
26790 0 0         die "Opaque data too long (max: 4194304): $len"
26791             unless ($len <= 4194304);
26792              
26793 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26794 0           $_[2] += 4;
26795 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
26796 0           $_[2] += $len;
26797 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26798 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26799 0           $_[2] += $pad;
26800             }
26801             };
26802             }
26803             # @_: ($class, $value, $index, $input) = @_;
26804             sub deserialize_domain_migrate_confirm3_params_args {
26805 0     0 0   my $input_length = length $_[3];
26806 0           $_[1] = {};
26807             # Deserializing field: 'dom'
26808             # my ($class, $value, $index, $input) = @_;
26809 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26810              
26811             # Deserializing field: 'params'
26812             # my ($class, $value, $index, $input) = @_;
26813 0           do {
26814 0 0         die "Input buffer too short"
26815             if ($input_length - $_[2]) < 4;
26816 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26817 0           $_[2] += 4;
26818              
26819 0 0         die "Array too long (max: 64): $len"
26820             unless ($len <= 64);
26821 0           $_[1]->{params} = [];
26822 0           for my $i1 ( 0 .. ($len - 1) ) {
26823             # my ($class, $value, $index, $input) = @_;
26824 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26825             }
26826             };
26827              
26828             # Deserializing field: 'cookie_in'
26829             # my ($class, $value, $index, $input) = @_;
26830 0           do {
26831 0 0         die "Input buffer too short"
26832             if ($input_length - $_[2]) < 4;
26833 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26834 0           $_[2] += 4;
26835 0 0         die "Opaque data too long (max: 4194304): $len"
26836             unless ($len <= 4194304);
26837 0 0         die "Input buffer too short"
26838             if ($input_length - $_[2]) < $len;
26839 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
26840 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26841             };
26842              
26843             # Deserializing field: 'flags'
26844             # my ($class, $value, $index, $input) = @_;
26845 0 0         die "Input buffer too short"
26846             if ($input_length - $_[2]) < 4;
26847 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
26848 0           $_[2] += 4;
26849             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26850 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26851              
26852             # Deserializing field: 'cancelled'
26853             # my ($class, $value, $index, $input) = @_;
26854 0 0         die "Input buffer too short"
26855             if ($input_length - $_[2]) < 4;
26856 0           $_[1]->{cancelled} = unpack("l>", substr( $_[3], $_[2] ));
26857 0           $_[2] += 4;
26858             die "Out of bounds 'int': $_[1]->{cancelled}"
26859 0 0 0       unless (-2147483648 <= $_[1]->{cancelled} and $_[1]->{cancelled} < 2147483648);
26860             }
26861             # @_: ($class, $value, $index, $output) = @_;
26862             sub serialize_domain_migrate_confirm3_params_args {
26863 0 0   0 0   croak "Missing required input 'struct' value"
26864             unless defined $_[1];
26865              
26866             # Serializing field: 'dom'
26867             croak "Missing required input value 'dom'"
26868 0 0         unless exists $_[1]->{dom};
26869             # my ($class, $value, $index, $output) = @_;
26870 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26871              
26872             # Serializing field: 'params'
26873             croak "Missing required input value 'params'"
26874 0 0         unless exists $_[1]->{params};
26875             # my ($class, $value, $index, $output) = @_;
26876             croak "Missing required input 'array' value"
26877 0 0         unless defined $_[1]->{params};
26878 0           do {
26879 0           my $len = scalar @{ $_[1]->{params} };
  0            
26880 0 0         die "Array too long (max: 64): $len"
26881             unless ($len <= 64);
26882              
26883 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26884 0           $_[2] += 4;
26885 0           for my $i1 ( 0 .. ($len - 1) ) {
26886             # my ($class, $value, $index, $output) = @_;
26887 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26888             }
26889             };
26890              
26891             # Serializing field: 'cookie_in'
26892             croak "Missing required input value 'cookie_in'"
26893 0 0         unless exists $_[1]->{cookie_in};
26894             # my ($class, $value, $index, $output) = @_;
26895             croak "Missing required input 'opaque data' value"
26896 0 0         unless defined $_[1]->{cookie_in};
26897 0           do {
26898 0           my $len = length $_[1]->{cookie_in};
26899 0 0         die "Opaque data too long (max: 4194304): $len"
26900             unless ($len <= 4194304);
26901              
26902 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26903 0           $_[2] += 4;
26904 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
26905 0           $_[2] += $len;
26906 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26907 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26908 0           $_[2] += $pad;
26909             }
26910             };
26911              
26912             # Serializing field: 'flags'
26913             croak "Missing required input value 'flags'"
26914 0 0         unless exists $_[1]->{flags};
26915             # my ($class, $value, $index, $output) = @_;
26916             croak "Missing required input 'unsigned int' value"
26917 0 0         unless defined $_[1]->{flags};
26918             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26919 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26920             die "Non-integer 'int' value given: $_[1]->{flags}"
26921 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
26922 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
26923 0           $_[2] += 4;
26924              
26925             # Serializing field: 'cancelled'
26926             croak "Missing required input value 'cancelled'"
26927 0 0         unless exists $_[1]->{cancelled};
26928             # my ($class, $value, $index, $output) = @_;
26929             croak "Missing required input 'int' value"
26930 0 0         unless defined $_[1]->{cancelled};
26931             die "Out of bounds 'int': $_[1]->{cancelled}"
26932 0 0 0       unless (-2147483648 <= $_[1]->{cancelled} and $_[1]->{cancelled} < 2147483648);
26933             die "Non-integer 'int' value given: $_[1]->{cancelled}"
26934 0 0         unless int($_[1]->{cancelled}) == $_[1]->{cancelled};
26935 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cancelled});
26936 0           $_[2] += 4;
26937             }
26938             # @_: ($class, $value, $index, $input) = @_;
26939             sub deserialize_domain_event_device_removed_msg {
26940 0     0 0   my $input_length = length $_[3];
26941 0           $_[1] = {};
26942             # Deserializing field: 'dom'
26943             # my ($class, $value, $index, $input) = @_;
26944 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26945              
26946             # Deserializing field: 'devAlias'
26947             # my ($class, $value, $index, $input) = @_;
26948 0           $_[0]->deserialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
26949             }
26950             # @_: ($class, $value, $index, $output) = @_;
26951             sub serialize_domain_event_device_removed_msg {
26952 0 0   0 0   croak "Missing required input 'struct' value"
26953             unless defined $_[1];
26954              
26955             # Serializing field: 'dom'
26956             croak "Missing required input value 'dom'"
26957 0 0         unless exists $_[1]->{dom};
26958             # my ($class, $value, $index, $output) = @_;
26959 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26960              
26961             # Serializing field: 'devAlias'
26962             croak "Missing required input value 'devAlias'"
26963 0 0         unless exists $_[1]->{devAlias};
26964             # my ($class, $value, $index, $output) = @_;
26965 0           $_[0]->serialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
26966             }
26967             # @_: ($class, $value, $index, $input) = @_;
26968             sub deserialize_domain_event_callback_device_removed_msg {
26969 0     0 0   my $input_length = length $_[3];
26970 0           $_[1] = {};
26971             # Deserializing field: 'callbackID'
26972             # my ($class, $value, $index, $input) = @_;
26973 0 0         die "Input buffer too short"
26974             if ($input_length - $_[2]) < 4;
26975 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
26976 0           $_[2] += 4;
26977             die "Out of bounds 'int': $_[1]->{callbackID}"
26978 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
26979              
26980             # Deserializing field: 'msg'
26981             # my ($class, $value, $index, $input) = @_;
26982 0           $_[0]->deserialize_domain_event_device_removed_msg( $_[1]->{msg}, $_[2], $_[3] );
26983             }
26984             # @_: ($class, $value, $index, $output) = @_;
26985             sub serialize_domain_event_callback_device_removed_msg {
26986 0 0   0 0   croak "Missing required input 'struct' value"
26987             unless defined $_[1];
26988              
26989             # Serializing field: 'callbackID'
26990             croak "Missing required input value 'callbackID'"
26991 0 0         unless exists $_[1]->{callbackID};
26992             # my ($class, $value, $index, $output) = @_;
26993             croak "Missing required input 'int' value"
26994 0 0         unless defined $_[1]->{callbackID};
26995             die "Out of bounds 'int': $_[1]->{callbackID}"
26996 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
26997             die "Non-integer 'int' value given: $_[1]->{callbackID}"
26998 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
26999 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
27000 0           $_[2] += 4;
27001              
27002             # Serializing field: 'msg'
27003             croak "Missing required input value 'msg'"
27004 0 0         unless exists $_[1]->{msg};
27005             # my ($class, $value, $index, $output) = @_;
27006 0           $_[0]->serialize_domain_event_device_removed_msg( $_[1]->{msg}, $_[2], $_[3] );
27007             }
27008             # @_: ($class, $value, $index, $input) = @_;
27009             sub deserialize_domain_event_block_job_2_msg {
27010 0     0 0   my $input_length = length $_[3];
27011 0           $_[1] = {};
27012             # Deserializing field: 'callbackID'
27013             # my ($class, $value, $index, $input) = @_;
27014 0 0         die "Input buffer too short"
27015             if ($input_length - $_[2]) < 4;
27016 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27017 0           $_[2] += 4;
27018             die "Out of bounds 'int': $_[1]->{callbackID}"
27019 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27020              
27021             # Deserializing field: 'dom'
27022             # my ($class, $value, $index, $input) = @_;
27023 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
27024              
27025             # Deserializing field: 'dst'
27026             # my ($class, $value, $index, $input) = @_;
27027 0           $_[0]->deserialize_nonnull_string( $_[1]->{dst}, $_[2], $_[3] );
27028              
27029             # Deserializing field: 'type'
27030             # my ($class, $value, $index, $input) = @_;
27031 0 0         die "Input buffer too short"
27032             if ($input_length - $_[2]) < 4;
27033 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
27034 0           $_[2] += 4;
27035             die "Out of bounds 'int': $_[1]->{type}"
27036 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
27037              
27038             # Deserializing field: 'status'
27039             # my ($class, $value, $index, $input) = @_;
27040 0 0         die "Input buffer too short"
27041             if ($input_length - $_[2]) < 4;
27042 0           $_[1]->{status} = unpack("l>", substr( $_[3], $_[2] ));
27043 0           $_[2] += 4;
27044             die "Out of bounds 'int': $_[1]->{status}"
27045 0 0 0       unless (-2147483648 <= $_[1]->{status} and $_[1]->{status} < 2147483648);
27046             }
27047             # @_: ($class, $value, $index, $output) = @_;
27048             sub serialize_domain_event_block_job_2_msg {
27049 0 0   0 0   croak "Missing required input 'struct' value"
27050             unless defined $_[1];
27051              
27052             # Serializing field: 'callbackID'
27053             croak "Missing required input value 'callbackID'"
27054 0 0         unless exists $_[1]->{callbackID};
27055             # my ($class, $value, $index, $output) = @_;
27056             croak "Missing required input 'int' value"
27057 0 0         unless defined $_[1]->{callbackID};
27058             die "Out of bounds 'int': $_[1]->{callbackID}"
27059 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27060             die "Non-integer 'int' value given: $_[1]->{callbackID}"
27061 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
27062 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
27063 0           $_[2] += 4;
27064              
27065             # Serializing field: 'dom'
27066             croak "Missing required input value 'dom'"
27067 0 0         unless exists $_[1]->{dom};
27068             # my ($class, $value, $index, $output) = @_;
27069 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
27070              
27071             # Serializing field: 'dst'
27072             croak "Missing required input value 'dst'"
27073 0 0         unless exists $_[1]->{dst};
27074             # my ($class, $value, $index, $output) = @_;
27075 0           $_[0]->serialize_nonnull_string( $_[1]->{dst}, $_[2], $_[3] );
27076              
27077             # Serializing field: 'type'
27078             croak "Missing required input value 'type'"
27079 0 0         unless exists $_[1]->{type};
27080             # my ($class, $value, $index, $output) = @_;
27081             croak "Missing required input 'int' value"
27082 0 0         unless defined $_[1]->{type};
27083             die "Out of bounds 'int': $_[1]->{type}"
27084 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
27085             die "Non-integer 'int' value given: $_[1]->{type}"
27086 0 0         unless int($_[1]->{type}) == $_[1]->{type};
27087 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
27088 0           $_[2] += 4;
27089              
27090             # Serializing field: 'status'
27091             croak "Missing required input value 'status'"
27092 0 0         unless exists $_[1]->{status};
27093             # my ($class, $value, $index, $output) = @_;
27094             croak "Missing required input 'int' value"
27095 0 0         unless defined $_[1]->{status};
27096             die "Out of bounds 'int': $_[1]->{status}"
27097 0 0 0       unless (-2147483648 <= $_[1]->{status} and $_[1]->{status} < 2147483648);
27098             die "Non-integer 'int' value given: $_[1]->{status}"
27099 0 0         unless int($_[1]->{status}) == $_[1]->{status};
27100 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{status});
27101 0           $_[2] += 4;
27102             }
27103             # @_: ($class, $value, $index, $input) = @_;
27104             sub deserialize_domain_event_block_threshold_msg {
27105 0     0 0   my $input_length = length $_[3];
27106 0           $_[1] = {};
27107             # Deserializing field: 'callbackID'
27108             # my ($class, $value, $index, $input) = @_;
27109 0 0         die "Input buffer too short"
27110             if ($input_length - $_[2]) < 4;
27111 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27112 0           $_[2] += 4;
27113             die "Out of bounds 'int': $_[1]->{callbackID}"
27114 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27115              
27116             # Deserializing field: 'dom'
27117             # my ($class, $value, $index, $input) = @_;
27118 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
27119              
27120             # Deserializing field: 'dev'
27121             # my ($class, $value, $index, $input) = @_;
27122 0           $_[0]->deserialize_nonnull_string( $_[1]->{dev}, $_[2], $_[3] );
27123              
27124             # Deserializing field: 'path'
27125             # my ($class, $value, $index, $input) = @_;
27126 0           $_[0]->deserialize_string( $_[1]->{path}, $_[2], $_[3] );
27127              
27128             # Deserializing field: 'threshold'
27129             # my ($class, $value, $index, $input) = @_;
27130 0 0         die "Input buffer too short"
27131             if ($input_length - $_[2]) < 8;
27132 0           $_[1]->{threshold} = unpack("Q>", substr( $_[3], $_[2] ));
27133 0           $_[2] += 8;
27134             die "Out of bounds 'unsigned hyper': $_[1]->{threshold}"
27135             unless (0 <= $_[1]->{threshold}
27136 0 0 0       and $_[1]->{threshold} <= 18446744073709551615);
27137              
27138             # Deserializing field: 'excess'
27139             # my ($class, $value, $index, $input) = @_;
27140 0 0         die "Input buffer too short"
27141             if ($input_length - $_[2]) < 8;
27142 0           $_[1]->{excess} = unpack("Q>", substr( $_[3], $_[2] ));
27143 0           $_[2] += 8;
27144             die "Out of bounds 'unsigned hyper': $_[1]->{excess}"
27145             unless (0 <= $_[1]->{excess}
27146 0 0 0       and $_[1]->{excess} <= 18446744073709551615);
27147             }
27148             # @_: ($class, $value, $index, $output) = @_;
27149             sub serialize_domain_event_block_threshold_msg {
27150 0 0   0 0   croak "Missing required input 'struct' value"
27151             unless defined $_[1];
27152              
27153             # Serializing field: 'callbackID'
27154             croak "Missing required input value 'callbackID'"
27155 0 0         unless exists $_[1]->{callbackID};
27156             # my ($class, $value, $index, $output) = @_;
27157             croak "Missing required input 'int' value"
27158 0 0         unless defined $_[1]->{callbackID};
27159             die "Out of bounds 'int': $_[1]->{callbackID}"
27160 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27161             die "Non-integer 'int' value given: $_[1]->{callbackID}"
27162 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
27163 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
27164 0           $_[2] += 4;
27165              
27166             # Serializing field: 'dom'
27167             croak "Missing required input value 'dom'"
27168 0 0         unless exists $_[1]->{dom};
27169             # my ($class, $value, $index, $output) = @_;
27170 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
27171              
27172             # Serializing field: 'dev'
27173             croak "Missing required input value 'dev'"
27174 0 0         unless exists $_[1]->{dev};
27175             # my ($class, $value, $index, $output) = @_;
27176 0           $_[0]->serialize_nonnull_string( $_[1]->{dev}, $_[2], $_[3] );
27177              
27178             # Serializing field: 'path'
27179             croak "Missing required input value 'path'"
27180 0 0         unless exists $_[1]->{path};
27181             # my ($class, $value, $index, $output) = @_;
27182 0           $_[0]->serialize_string( $_[1]->{path}, $_[2], $_[3] );
27183              
27184             # Serializing field: 'threshold'
27185             croak "Missing required input value 'threshold'"
27186 0 0         unless exists $_[1]->{threshold};
27187             # my ($class, $value, $index, $output) = @_;
27188             croak "Missing required input 'unsigned long' value"
27189 0 0         unless defined $_[1]->{threshold};
27190             die "Out of bounds 'unsigned hyper': $_[1]->{threshold}"
27191             unless (0 <= $_[1]->{threshold}
27192 0 0 0       and $_[1]->{threshold} <= 18446744073709551615);
27193             die "Non-integer 'long' value given: $_[1]->{threshold}"
27194 0 0         unless int($_[1]->{threshold}) == $_[1]->{threshold};
27195 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{threshold});
27196 0           $_[2] += 8;
27197              
27198             # Serializing field: 'excess'
27199             croak "Missing required input value 'excess'"
27200 0 0         unless exists $_[1]->{excess};
27201             # my ($class, $value, $index, $output) = @_;
27202             croak "Missing required input 'unsigned long' value"
27203 0 0         unless defined $_[1]->{excess};
27204             die "Out of bounds 'unsigned hyper': $_[1]->{excess}"
27205             unless (0 <= $_[1]->{excess}
27206 0 0 0       and $_[1]->{excess} <= 18446744073709551615);
27207             die "Non-integer 'long' value given: $_[1]->{excess}"
27208 0 0         unless int($_[1]->{excess}) == $_[1]->{excess};
27209 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{excess});
27210 0           $_[2] += 8;
27211             }
27212             # @_: ($class, $value, $index, $input) = @_;
27213             sub deserialize_domain_event_callback_tunable_msg {
27214 0     0 0   my $input_length = length $_[3];
27215 0           $_[1] = {};
27216             # Deserializing field: 'callbackID'
27217             # my ($class, $value, $index, $input) = @_;
27218 0 0         die "Input buffer too short"
27219             if ($input_length - $_[2]) < 4;
27220 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27221 0           $_[2] += 4;
27222             die "Out of bounds 'int': $_[1]->{callbackID}"
27223 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27224              
27225             # Deserializing field: 'dom'
27226             # my ($class, $value, $index, $input) = @_;
27227 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
27228              
27229             # Deserializing field: 'params'
27230             # my ($class, $value, $index, $input) = @_;
27231 0           do {
27232 0 0         die "Input buffer too short"
27233             if ($input_length - $_[2]) < 4;
27234 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
27235 0           $_[2] += 4;
27236              
27237 0 0         die "Array too long (max: 2048): $len"
27238             unless ($len <= 2048);
27239 0           $_[1]->{params} = [];
27240 0           for my $i1 ( 0 .. ($len - 1) ) {
27241             # my ($class, $value, $index, $input) = @_;
27242 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
27243             }
27244             };
27245             }
27246             # @_: ($class, $value, $index, $output) = @_;
27247             sub serialize_domain_event_callback_tunable_msg {
27248 0 0   0 0   croak "Missing required input 'struct' value"
27249             unless defined $_[1];
27250              
27251             # Serializing field: 'callbackID'
27252             croak "Missing required input value 'callbackID'"
27253 0 0         unless exists $_[1]->{callbackID};
27254             # my ($class, $value, $index, $output) = @_;
27255             croak "Missing required input 'int' value"
27256 0 0         unless defined $_[1]->{callbackID};
27257             die "Out of bounds 'int': $_[1]->{callbackID}"
27258 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27259             die "Non-integer 'int' value given: $_[1]->{callbackID}"
27260 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
27261 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
27262 0           $_[2] += 4;
27263              
27264             # Serializing field: 'dom'
27265             croak "Missing required input value 'dom'"
27266 0 0         unless exists $_[1]->{dom};
27267             # my ($class, $value, $index, $output) = @_;
27268 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
27269              
27270             # Serializing field: 'params'
27271             croak "Missing required input value 'params'"
27272 0 0         unless exists $_[1]->{params};
27273             # my ($class, $value, $index, $output) = @_;
27274             croak "Missing required input 'array' value"
27275 0 0         unless defined $_[1]->{params};
27276 0           do {
27277 0           my $len = scalar @{ $_[1]->{params} };
  0            
27278 0 0         die "Array too long (max: 2048): $len"
27279             unless ($len <= 2048);
27280              
27281 0           substr( $_[3], $_[2] ) = pack("L>", $len);
27282 0           $_[2] += 4;
27283 0           for my $i1 ( 0 .. ($len - 1) ) {
27284             # my ($class, $value, $index, $output) = @_;
27285 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
27286             }
27287             };
27288             }
27289             # @_: ($class, $value, $index, $input) = @_;
27290             sub deserialize_domain_event_callback_device_added_msg {
27291 0     0 0   my $input_length = length $_[3];
27292 0           $_[1] = {};
27293             # Deserializing field: 'callbackID'
27294             # my ($class, $value, $index, $input) = @_;
27295 0 0         die "Input buffer too short"
27296             if ($input_length - $_[2]) < 4;
27297 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27298 0           $_[2] += 4;
27299             die "Out of bounds 'int': $_[1]->{callbackID}"
27300 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27301              
27302             # Deserializing field: 'dom'
27303             # my ($class, $value, $index, $input) = @_;
27304 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
27305              
27306             # Deserializing field: 'devAlias'
27307             # my ($class, $value, $index, $input) = @_;
27308 0           $_[0]->deserialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
27309             }
27310             # @_: ($class, $value, $index, $output) = @_;
27311             sub serialize_domain_event_callback_device_added_msg {
27312 0 0   0 0   croak "Missing required input 'struct' value"
27313             unless defined $_[1];
27314              
27315             # Serializing field: 'callbackID'
27316             croak "Missing required input value 'callbackID'"
27317 0 0         unless exists $_[1]->{callbackID};
27318             # my ($class, $value, $index, $output) = @_;
27319             croak "Missing required input 'int' value"
27320 0 0         unless defined $_[1]->{callbackID};
27321             die "Out of bounds 'int': $_[1]->{callbackID}"
27322 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27323             die "Non-integer 'int' value given: $_[1]->{callbackID}"
27324 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
27325 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
27326 0           $_[2] += 4;
27327              
27328             # Serializing field: 'dom'
27329             croak "Missing required input value 'dom'"
27330 0 0         unless exists $_[1]->{dom};
27331             # my ($class, $value, $index, $output) = @_;
27332 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
27333              
27334             # Serializing field: 'devAlias'
27335             croak "Missing required input value 'devAlias'"
27336 0 0         unless exists $_[1]->{devAlias};
27337             # my ($class, $value, $index, $output) = @_;
27338 0           $_[0]->serialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
27339             }
27340             # @_: ($class, $value, $index, $input) = @_;
27341             sub deserialize_connect_event_connection_closed_msg {
27342 0     0 0   my $input_length = length $_[3];
27343 0           $_[1] = {};
27344             # Deserializing field: 'reason'
27345             # my ($class, $value, $index, $input) = @_;
27346 0 0         die "Input buffer too short"
27347             if ($input_length - $_[2]) < 4;
27348 0           $_[1]->{reason} = unpack("l>", substr( $_[3], $_[2] ));
27349 0           $_[2] += 4;
27350             die "Out of bounds 'int': $_[1]->{reason}"
27351 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
27352             }
27353             # @_: ($class, $value, $index, $output) = @_;
27354             sub serialize_connect_event_connection_closed_msg {
27355 0 0   0 0   croak "Missing required input 'struct' value"
27356             unless defined $_[1];
27357              
27358             # Serializing field: 'reason'
27359             croak "Missing required input value 'reason'"
27360 0 0         unless exists $_[1]->{reason};
27361             # my ($class, $value, $index, $output) = @_;
27362             croak "Missing required input 'int' value"
27363 0 0         unless defined $_[1]->{reason};
27364             die "Out of bounds 'int': $_[1]->{reason}"
27365 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
27366             die "Non-integer 'int' value given: $_[1]->{reason}"
27367 0 0         unless int($_[1]->{reason}) == $_[1]->{reason};
27368 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{reason});
27369 0           $_[2] += 4;
27370             }
27371             # @_: ($class, $value, $index, $input) = @_;
27372             sub deserialize_connect_get_cpu_model_names_args {
27373 0     0 0   my $input_length = length $_[3];
27374 0           $_[1] = {};
27375             # Deserializing field: 'arch'
27376             # my ($class, $value, $index, $input) = @_;
27377 0           $_[0]->deserialize_nonnull_string( $_[1]->{arch}, $_[2], $_[3] );
27378              
27379             # Deserializing field: 'need_results'
27380             # my ($class, $value, $index, $input) = @_;
27381 0 0         die "Input buffer too short"
27382             if ($input_length - $_[2]) < 4;
27383 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
27384 0           $_[2] += 4;
27385             die "Out of bounds 'int': $_[1]->{need_results}"
27386 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
27387              
27388             # Deserializing field: 'flags'
27389             # my ($class, $value, $index, $input) = @_;
27390 0 0         die "Input buffer too short"
27391             if ($input_length - $_[2]) < 4;
27392 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
27393 0           $_[2] += 4;
27394             die "Out of bounds 'unsigned int': $_[1]->{flags}"
27395 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
27396             }
27397             # @_: ($class, $value, $index, $output) = @_;
27398             sub serialize_connect_get_cpu_model_names_args {
27399 0 0   0 0   croak "Missing required input 'struct' value"
27400             unless defined $_[1];
27401              
27402             # Serializing field: 'arch'
27403             croak "Missing required input value 'arch'"
27404 0 0         unless exists $_[1]->{arch};
27405             # my ($class, $value, $index, $output) = @_;
27406 0           $_[0]->serialize_nonnull_string( $_[1]->{arch}, $_[2], $_[3] );
27407              
27408             # Serializing field: 'need_results'
27409             croak "Missing required input value 'need_results'"
27410 0 0         unless exists $_[1]->{need_results};
27411             # my ($class, $value, $index, $output) = @_;
27412             croak "Missing required input 'int' value"
27413 0 0         unless defined $_[1]->{need_results};
27414             die "Out of bounds 'int': $_[1]->{need_results}"
27415 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
27416             die "Non-integer 'int' value given: $_[1]->{need_results}"
27417 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
27418 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
27419 0           $_[2] += 4;
27420              
27421             # Serializing field: 'flags'
27422             croak "Missing required input value 'flags'"
27423 0 0         unless exists $_[1]->{flags};
27424             # my ($class, $value, $index, $output) = @_;
27425             croak "Missing required input 'unsigned int' value"
27426 0 0         unless defined $_[1]->{flags};
27427             die "Out of bounds 'unsigned int': $_[1]->{flags}"
27428 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
27429             die "Non-integer 'int' value given: $_[1]->{flags}"
27430 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
27431 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
27432 0           $_[2] += 4;
27433             }
27434             # @_: ($class, $value, $index, $input) = @_;
27435             sub deserialize_connect_get_cpu_model_names_ret {
27436 0     0 0   my $input_length = length $_[3];
27437 0           $_[1] = {};
27438             # Deserializing field: 'models'
27439             # my ($class, $value, $index, $input) = @_;
27440 0           do {
27441 0 0         die "Input buffer too short"
27442             if ($input_length - $_[2]) < 4;
27443 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
27444 0           $_[2] += 4;
27445              
27446 0 0         die "Array too long (max: 8192): $len"
27447             unless ($len <= 8192);
27448 0           $_[1]->{models} = [];
27449 0           for my $i1 ( 0 .. ($len - 1) ) {
27450             # my ($class, $value, $index, $input) = @_;
27451 0           $_[0]->deserialize_nonnull_string( $_[1]->{models}->[$i1], $_[2], $_[3] );
27452             }
27453             };
27454              
27455             # Deserializing field: 'ret'
27456             # my ($class, $value, $index, $input) = @_;
27457 0 0         die "Input buffer too short"
27458             if ($input_length - $_[2]) < 4;
27459 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
27460 0           $_[2] += 4;
27461             die "Out of bounds 'int': $_[1]->{ret}"
27462 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
27463             }
27464             # @_: ($class, $value, $index, $output) = @_;
27465             sub serialize_connect_get_cpu_model_names_ret {
27466 0 0   0 0   croak "Missing required input 'struct' value"
27467             unless defined $_[1];
27468              
27469             # Serializing field: 'models'
27470             croak "Missing required input value 'models'"
27471 0 0         unless exists $_[1]->{models};
27472             # my ($class, $value, $index, $output) = @_;
27473             croak "Missing required input 'array' value"
27474 0 0         unless defined $_[1]->{models};
27475 0           do {
27476 0           my $len = scalar @{ $_[1]->{models} };
  0            
27477 0 0         die "Array too long (max: 8192): $len"
27478             unless ($len <= 8192);
27479              
27480 0           substr( $_[3], $_[2] ) = pack("L>", $len);
27481 0           $_[2] += 4;
27482 0           for my $i1 ( 0 .. ($len - 1) ) {
27483             # my ($class, $value, $index, $output) = @_;
27484 0           $_[0]->serialize_nonnull_string( $_[1]->{models}->[$i1], $_[2], $_[3] );
27485             }
27486             };
27487              
27488             # Serializing field: 'ret'
27489             croak "Missing required input value 'ret'"
27490 0 0         unless exists $_[1]->{ret};
27491             # my ($class, $value, $index, $output) = @_;
27492             croak "Missing required input 'int' value"
27493 0 0         unless defined $_[1]->{ret};
27494             die "Out of bounds 'int': $_[1]->{ret}"
27495 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
27496             die "Non-integer 'int' value given: $_[1]->{ret}"
27497 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
27498 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
27499 0           $_[2] += 4;
27500             }
27501             # @_: ($class, $value, $index, $input) = @_;
27502             sub deserialize_connect_network_event_register_any_args {
27503 0     0 0   my $input_length = length $_[3];
27504 0           $_[1] = {};
27505             # Deserializing field: 'eventID'
27506             # my ($class, $value, $index, $input) = @_;
27507 0 0         die "Input buffer too short"
27508             if ($input_length - $_[2]) < 4;
27509 0           $_[1]->{eventID} = unpack("l>", substr( $_[3], $_[2] ));
27510 0           $_[2] += 4;
27511             die "Out of bounds 'int': $_[1]->{eventID}"
27512 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
27513              
27514             # Deserializing field: 'net'
27515             # my ($class, $value, $index, $input) = @_;
27516 0           $_[0]->deserialize_network( $_[1]->{net}, $_[2], $_[3] );
27517             }
27518             # @_: ($class, $value, $index, $output) = @_;
27519             sub serialize_connect_network_event_register_any_args {
27520 0 0   0 0   croak "Missing required input 'struct' value"
27521             unless defined $_[1];
27522              
27523             # Serializing field: 'eventID'
27524             croak "Missing required input value 'eventID'"
27525 0 0         unless exists $_[1]->{eventID};
27526             # my ($class, $value, $index, $output) = @_;
27527             croak "Missing required input 'int' value"
27528 0 0         unless defined $_[1]->{eventID};
27529             die "Out of bounds 'int': $_[1]->{eventID}"
27530 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
27531             die "Non-integer 'int' value given: $_[1]->{eventID}"
27532 0 0         unless int($_[1]->{eventID}) == $_[1]->{eventID};
27533 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{eventID});
27534 0           $_[2] += 4;
27535              
27536             # Serializing field: 'net'
27537             croak "Missing required input value 'net'"
27538 0 0         unless exists $_[1]->{net};
27539             # my ($class, $value, $index, $output) = @_;
27540 0           $_[0]->serialize_network( $_[1]->{net}, $_[2], $_[3] );
27541             }
27542             # @_: ($class, $value, $index, $input) = @_;
27543             sub deserialize_connect_network_event_register_any_ret {
27544 0     0 0   my $input_length = length $_[3];
27545 0           $_[1] = {};
27546             # Deserializing field: 'callbackID'
27547             # my ($class, $value, $index, $input) = @_;
27548 0 0         die "Input buffer too short"
27549             if ($input_length - $_[2]) < 4;
27550 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27551 0           $_[2] += 4;
27552             die "Out of bounds 'int': $_[1]->{callbackID}"
27553 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27554             }
27555             # @_: ($class, $value, $index, $output) = @_;
27556             sub serialize_connect_network_event_register_any_ret {
27557 0 0   0 0   croak "Missing required input 'struct' value"
27558             unless defined $_[1];
27559              
27560             # Serializing field: 'callbackID'
27561             croak "Missing required input value 'callbackID'"
27562 0 0         unless exists $_[1]->{callbackID};
27563             # my ($class, $value, $index, $output) = @_;
27564             croak "Missing required input 'int' value"
27565 0 0         unless defined $_[1]->{callbackID};
27566             die "Out of bounds 'int': $_[1]->{callbackID}"
27567 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27568             die "Non-integer 'int' value given: $_[1]->{callbackID}"
27569 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
27570 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
27571 0           $_[2] += 4;
27572             }
27573             # @_: ($class, $value, $index, $input) = @_;
27574             sub deserialize_connect_network_event_deregister_any_args {
27575 0     0 0   my $input_length = length $_[3];
27576 0           $_[1] = {};
27577             # Deserializing field: 'callbackID'
27578             # my ($class, $value, $index, $input) = @_;
27579 0 0         die "Input buffer too short"
27580             if ($input_length - $_[2]) < 4;
27581 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27582 0           $_[2] += 4;
27583             die "Out of bounds 'int': $_[1]->{callbackID}"
27584 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27585             }
27586             # @_: ($class, $value, $index, $output) = @_;
27587             sub serialize_connect_network_event_deregister_any_args {
27588 0 0   0 0   croak "Missing required input 'struct' value"
27589             unless defined $_[1];
27590              
27591             # Serializing field: 'callbackID'
27592             croak "Missing required input value 'callbackID'"
27593 0 0         unless exists $_[1]->{callbackID};
27594             # my ($class, $value, $index, $output) = @_;
27595             croak "Missing required input 'int' value"
27596 0 0         unless defined $_[1]->{callbackID};
27597             die "Out of bounds 'int': $_[1]->{callbackID}"
27598 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27599             die "Non-integer 'int' value given: $_[1]->{callbackID}"
27600 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
27601 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
27602 0           $_[2] += 4;
27603             }
27604             # @_: ($class, $value, $index, $input) = @_;
27605             sub deserialize_network_event_lifecycle_msg {
27606 0     0 0   my $input_length = length $_[3];
27607 0           $_[1] = {};
27608             # Deserializing field: 'callbackID'
27609             # my ($class, $value, $index, $input) = @_;
27610 0 0         die "Input buffer too short"
27611             if ($input_length - $_[2]) < 4;
27612 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27613 0           $_[2] += 4;
27614             die "Out of bounds 'int': $_[1]->{callbackID}"
27615 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27616              
27617             # Deserializing field: 'net'
27618             # my ($class, $value, $index, $input) = @_;
27619 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
27620              
27621             # Deserializing field: 'event'
27622             # my ($class, $value, $index, $input) = @_;
27623 0 0         die "Input buffer too short"
27624             if ($input_length - $_[2]) < 4;
27625 0           $_[1]->{event} = unpack("l>", substr( $_[3], $_[2] ));
27626 0           $_[2] += 4;
27627             die "Out of bounds 'int': $_[1]->{event}"
27628 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
27629              
27630             # Deserializing field: 'detail'
27631             # my ($class, $value, $index, $input) = @_;
27632 0 0         die "Input buffer too short"
27633             if ($input_length - $_[2]) < 4;
27634 0           $_[1]->{detail} = unpack("l>", substr( $_[3], $_[2] ));
27635 0           $_[2] += 4;
27636             die "Out of bounds 'int': $_[1]->{detail}"
27637 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
27638             }
27639             # @_: ($class, $value, $index, $output) = @_;
27640             sub serialize_network_event_lifecycle_msg {
27641 0 0   0 0   croak "Missing required input 'struct' value"
27642             unless defined $_[1];
27643              
27644             # Serializing field: 'callbackID'
27645             croak "Missing required input value 'callbackID'"
27646 0 0         unless exists $_[1]->{callbackID};
27647             # my ($class, $value, $index, $output) = @_;
27648             croak "Missing required input 'int' value"
27649 0 0         unless defined $_[1]->{callbackID};
27650             die "Out of bounds 'int': $_[1]->{callbackID}"
27651 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27652             die "Non-integer 'int' value given: $_[1]->{callbackID}"
27653 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
27654 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
27655 0           $_[2] += 4;
27656              
27657             # Serializing field: 'net'
27658             croak "Missing required input value 'net'"
27659 0 0         unless exists $_[1]->{net};
27660             # my ($class, $value, $index, $output) = @_;
27661 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
27662              
27663             # Serializing field: 'event'
27664             croak "Missing required input value 'event'"
27665 0 0         unless exists $_[1]->{event};
27666             # my ($class, $value, $index, $output) = @_;
27667             croak "Missing required input 'int' value"
27668 0 0         unless defined $_[1]->{event};
27669             die "Out of bounds 'int': $_[1]->{event}"
27670 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
27671             die "Non-integer 'int' value given: $_[1]->{event}"
27672 0 0         unless int($_[1]->{event}) == $_[1]->{event};
27673 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{event});
27674 0           $_[2] += 4;
27675              
27676             # Serializing field: 'detail'
27677             croak "Missing required input value 'detail'"
27678 0 0         unless exists $_[1]->{detail};
27679             # my ($class, $value, $index, $output) = @_;
27680             croak "Missing required input 'int' value"
27681 0 0         unless defined $_[1]->{detail};
27682             die "Out of bounds 'int': $_[1]->{detail}"
27683 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
27684             die "Non-integer 'int' value given: $_[1]->{detail}"
27685 0 0         unless int($_[1]->{detail}) == $_[1]->{detail};
27686 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{detail});
27687 0           $_[2] += 4;
27688             }
27689             # @_: ($class, $value, $index, $input) = @_;
27690             sub deserialize_network_event_callback_metadata_change_msg {
27691 0     0 0   my $input_length = length $_[3];
27692 0           $_[1] = {};
27693             # Deserializing field: 'callbackID'
27694             # my ($class, $value, $index, $input) = @_;
27695 0 0         die "Input buffer too short"
27696             if ($input_length - $_[2]) < 4;
27697 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27698 0           $_[2] += 4;
27699             die "Out of bounds 'int': $_[1]->{callbackID}"
27700 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27701              
27702             # Deserializing field: 'net'
27703             # my ($class, $value, $index, $input) = @_;
27704 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
27705              
27706             # Deserializing field: 'type'
27707             # my ($class, $value, $index, $input) = @_;
27708 0 0         die "Input buffer too short"
27709             if ($input_length - $_[2]) < 4;
27710 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
27711 0           $_[2] += 4;
27712             die "Out of bounds 'int': $_[1]->{type}"
27713 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
27714              
27715             # Deserializing field: 'nsuri'
27716             # my ($class, $value, $index, $input) = @_;
27717 0           $_[0]->deserialize_string( $_[1]->{nsuri}, $_[2], $_[3] );
27718             }
27719             # @_: ($class, $value, $index, $output) = @_;
27720             sub serialize_network_event_callback_metadata_change_msg {
27721 0 0   0 0   croak "Missing required input 'struct' value"
27722             unless defined $_[1];
27723              
27724             # Serializing field: 'callbackID'
27725             croak "Missing required input value 'callbackID'"
27726 0 0         unless exists $_[1]->{callbackID};
27727             # my ($class, $value, $index, $output) = @_;
27728             croak "Missing required input 'int' value"
27729 0 0         unless defined $_[1]->{callbackID};
27730             die "Out of bounds 'int': $_[1]->{callbackID}"
27731 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27732             die "Non-integer 'int' value given: $_[1]->{callbackID}"
27733 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
27734 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
27735 0           $_[2] += 4;
27736              
27737             # Serializing field: 'net'
27738             croak "Missing required input value 'net'"
27739 0 0         unless exists $_[1]->{net};
27740             # my ($class, $value, $index, $output) = @_;
27741 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
27742              
27743             # Serializing field: 'type'
27744             croak "Missing required input value 'type'"
27745 0 0         unless exists $_[1]->{type};
27746             # my ($class, $value, $index, $output) = @_;
27747             croak "Missing required input 'int' value"
27748 0 0         unless defined $_[1]->{type};
27749             die "Out of bounds 'int': $_[1]->{type}"
27750 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
27751             die "Non-integer 'int' value given: $_[1]->{type}"
27752 0 0         unless int($_[1]->{type}) == $_[1]->{type};
27753 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
27754 0           $_[2] += 4;
27755              
27756             # Serializing field: 'nsuri'
27757             croak "Missing required input value 'nsuri'"
27758 0 0         unless exists $_[1]->{nsuri};
27759             # my ($class, $value, $index, $output) = @_;
27760 0           $_[0]->serialize_string( $_[1]->{nsuri}, $_[2], $_[3] );
27761             }
27762             # @_: ($class, $value, $index, $input) = @_;
27763             sub deserialize_network_set_metadata_args {
27764 0     0 0   my $input_length = length $_[3];
27765 0           $_[1] = {};
27766             # Deserializing field: 'network'
27767             # my ($class, $value, $index, $input) = @_;
27768 0           $_[0]->deserialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
27769              
27770             # Deserializing field: 'type'
27771             # my ($class, $value, $index, $input) = @_;
27772 0 0         die "Input buffer too short"
27773             if ($input_length - $_[2]) < 4;
27774 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
27775 0           $_[2] += 4;
27776             die "Out of bounds 'int': $_[1]->{type}"
27777 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
27778              
27779             # Deserializing field: 'metadata'
27780             # my ($class, $value, $index, $input) = @_;
27781 0           $_[0]->deserialize_string( $_[1]->{metadata}, $_[2], $_[3] );
27782              
27783             # Deserializing field: 'key'
27784             # my ($class, $value, $index, $input) = @_;
27785 0           $_[0]->deserialize_string( $_[1]->{key}, $_[2], $_[3] );
27786              
27787             # Deserializing field: 'uri'
27788             # my ($class, $value, $index, $input) = @_;
27789 0           $_[0]->deserialize_string( $_[1]->{uri}, $_[2], $_[3] );
27790              
27791             # Deserializing field: 'flags'
27792             # my ($class, $value, $index, $input) = @_;
27793 0 0         die "Input buffer too short"
27794             if ($input_length - $_[2]) < 4;
27795 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
27796 0           $_[2] += 4;
27797             die "Out of bounds 'unsigned int': $_[1]->{flags}"
27798 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
27799             }
27800             # @_: ($class, $value, $index, $output) = @_;
27801             sub serialize_network_set_metadata_args {
27802 0 0   0 0   croak "Missing required input 'struct' value"
27803             unless defined $_[1];
27804              
27805             # Serializing field: 'network'
27806             croak "Missing required input value 'network'"
27807 0 0         unless exists $_[1]->{network};
27808             # my ($class, $value, $index, $output) = @_;
27809 0           $_[0]->serialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
27810              
27811             # Serializing field: 'type'
27812             croak "Missing required input value 'type'"
27813 0 0         unless exists $_[1]->{type};
27814             # my ($class, $value, $index, $output) = @_;
27815             croak "Missing required input 'int' value"
27816 0 0         unless defined $_[1]->{type};
27817             die "Out of bounds 'int': $_[1]->{type}"
27818 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
27819             die "Non-integer 'int' value given: $_[1]->{type}"
27820 0 0         unless int($_[1]->{type}) == $_[1]->{type};
27821 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
27822 0           $_[2] += 4;
27823              
27824             # Serializing field: 'metadata'
27825             croak "Missing required input value 'metadata'"
27826 0 0         unless exists $_[1]->{metadata};
27827             # my ($class, $value, $index, $output) = @_;
27828 0           $_[0]->serialize_string( $_[1]->{metadata}, $_[2], $_[3] );
27829              
27830             # Serializing field: 'key'
27831             croak "Missing required input value 'key'"
27832 0 0         unless exists $_[1]->{key};
27833             # my ($class, $value, $index, $output) = @_;
27834 0           $_[0]->serialize_string( $_[1]->{key}, $_[2], $_[3] );
27835              
27836             # Serializing field: 'uri'
27837             croak "Missing required input value 'uri'"
27838 0 0         unless exists $_[1]->{uri};
27839             # my ($class, $value, $index, $output) = @_;
27840 0           $_[0]->serialize_string( $_[1]->{uri}, $_[2], $_[3] );
27841              
27842             # Serializing field: 'flags'
27843             croak "Missing required input value 'flags'"
27844 0 0         unless exists $_[1]->{flags};
27845             # my ($class, $value, $index, $output) = @_;
27846             croak "Missing required input 'unsigned int' value"
27847 0 0         unless defined $_[1]->{flags};
27848             die "Out of bounds 'unsigned int': $_[1]->{flags}"
27849 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
27850             die "Non-integer 'int' value given: $_[1]->{flags}"
27851 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
27852 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
27853 0           $_[2] += 4;
27854             }
27855             # @_: ($class, $value, $index, $input) = @_;
27856             sub deserialize_network_get_metadata_args {
27857 0     0 0   my $input_length = length $_[3];
27858 0           $_[1] = {};
27859             # Deserializing field: 'network'
27860             # my ($class, $value, $index, $input) = @_;
27861 0           $_[0]->deserialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
27862              
27863             # Deserializing field: 'type'
27864             # my ($class, $value, $index, $input) = @_;
27865 0 0         die "Input buffer too short"
27866             if ($input_length - $_[2]) < 4;
27867 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
27868 0           $_[2] += 4;
27869             die "Out of bounds 'int': $_[1]->{type}"
27870 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
27871              
27872             # Deserializing field: 'uri'
27873             # my ($class, $value, $index, $input) = @_;
27874 0           $_[0]->deserialize_string( $_[1]->{uri}, $_[2], $_[3] );
27875              
27876             # Deserializing field: 'flags'
27877             # my ($class, $value, $index, $input) = @_;
27878 0 0         die "Input buffer too short"
27879             if ($input_length - $_[2]) < 4;
27880 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
27881 0           $_[2] += 4;
27882             die "Out of bounds 'unsigned int': $_[1]->{flags}"
27883 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
27884             }
27885             # @_: ($class, $value, $index, $output) = @_;
27886             sub serialize_network_get_metadata_args {
27887 0 0   0 0   croak "Missing required input 'struct' value"
27888             unless defined $_[1];
27889              
27890             # Serializing field: 'network'
27891             croak "Missing required input value 'network'"
27892 0 0         unless exists $_[1]->{network};
27893             # my ($class, $value, $index, $output) = @_;
27894 0           $_[0]->serialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
27895              
27896             # Serializing field: 'type'
27897             croak "Missing required input value 'type'"
27898 0 0         unless exists $_[1]->{type};
27899             # my ($class, $value, $index, $output) = @_;
27900             croak "Missing required input 'int' value"
27901 0 0         unless defined $_[1]->{type};
27902             die "Out of bounds 'int': $_[1]->{type}"
27903 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
27904             die "Non-integer 'int' value given: $_[1]->{type}"
27905 0 0         unless int($_[1]->{type}) == $_[1]->{type};
27906 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
27907 0           $_[2] += 4;
27908              
27909             # Serializing field: 'uri'
27910             croak "Missing required input value 'uri'"
27911 0 0         unless exists $_[1]->{uri};
27912             # my ($class, $value, $index, $output) = @_;
27913 0           $_[0]->serialize_string( $_[1]->{uri}, $_[2], $_[3] );
27914              
27915             # Serializing field: 'flags'
27916             croak "Missing required input value 'flags'"
27917 0 0         unless exists $_[1]->{flags};
27918             # my ($class, $value, $index, $output) = @_;
27919             croak "Missing required input 'unsigned int' value"
27920 0 0         unless defined $_[1]->{flags};
27921             die "Out of bounds 'unsigned int': $_[1]->{flags}"
27922 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
27923             die "Non-integer 'int' value given: $_[1]->{flags}"
27924 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
27925 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
27926 0           $_[2] += 4;
27927             }
27928             # @_: ($class, $value, $index, $input) = @_;
27929             sub deserialize_network_get_metadata_ret {
27930 0     0 0   my $input_length = length $_[3];
27931 0           $_[1] = {};
27932             # Deserializing field: 'metadata'
27933             # my ($class, $value, $index, $input) = @_;
27934 0           $_[0]->deserialize_nonnull_string( $_[1]->{metadata}, $_[2], $_[3] );
27935             }
27936             # @_: ($class, $value, $index, $output) = @_;
27937             sub serialize_network_get_metadata_ret {
27938 0 0   0 0   croak "Missing required input 'struct' value"
27939             unless defined $_[1];
27940              
27941             # Serializing field: 'metadata'
27942             croak "Missing required input value 'metadata'"
27943 0 0         unless exists $_[1]->{metadata};
27944             # my ($class, $value, $index, $output) = @_;
27945 0           $_[0]->serialize_nonnull_string( $_[1]->{metadata}, $_[2], $_[3] );
27946             }
27947             # @_: ($class, $value, $index, $input) = @_;
27948             sub deserialize_connect_storage_pool_event_register_any_args {
27949 0     0 0   my $input_length = length $_[3];
27950 0           $_[1] = {};
27951             # Deserializing field: 'eventID'
27952             # my ($class, $value, $index, $input) = @_;
27953 0 0         die "Input buffer too short"
27954             if ($input_length - $_[2]) < 4;
27955 0           $_[1]->{eventID} = unpack("l>", substr( $_[3], $_[2] ));
27956 0           $_[2] += 4;
27957             die "Out of bounds 'int': $_[1]->{eventID}"
27958 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
27959              
27960             # Deserializing field: 'pool'
27961             # my ($class, $value, $index, $input) = @_;
27962 0           $_[0]->deserialize_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
27963             }
27964             # @_: ($class, $value, $index, $output) = @_;
27965             sub serialize_connect_storage_pool_event_register_any_args {
27966 0 0   0 0   croak "Missing required input 'struct' value"
27967             unless defined $_[1];
27968              
27969             # Serializing field: 'eventID'
27970             croak "Missing required input value 'eventID'"
27971 0 0         unless exists $_[1]->{eventID};
27972             # my ($class, $value, $index, $output) = @_;
27973             croak "Missing required input 'int' value"
27974 0 0         unless defined $_[1]->{eventID};
27975             die "Out of bounds 'int': $_[1]->{eventID}"
27976 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
27977             die "Non-integer 'int' value given: $_[1]->{eventID}"
27978 0 0         unless int($_[1]->{eventID}) == $_[1]->{eventID};
27979 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{eventID});
27980 0           $_[2] += 4;
27981              
27982             # Serializing field: 'pool'
27983             croak "Missing required input value 'pool'"
27984 0 0         unless exists $_[1]->{pool};
27985             # my ($class, $value, $index, $output) = @_;
27986 0           $_[0]->serialize_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
27987             }
27988             # @_: ($class, $value, $index, $input) = @_;
27989             sub deserialize_connect_storage_pool_event_register_any_ret {
27990 0     0 0   my $input_length = length $_[3];
27991 0           $_[1] = {};
27992             # Deserializing field: 'callbackID'
27993             # my ($class, $value, $index, $input) = @_;
27994 0 0         die "Input buffer too short"
27995             if ($input_length - $_[2]) < 4;
27996 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27997 0           $_[2] += 4;
27998             die "Out of bounds 'int': $_[1]->{callbackID}"
27999 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28000             }
28001             # @_: ($class, $value, $index, $output) = @_;
28002             sub serialize_connect_storage_pool_event_register_any_ret {
28003 0 0   0 0   croak "Missing required input 'struct' value"
28004             unless defined $_[1];
28005              
28006             # Serializing field: 'callbackID'
28007             croak "Missing required input value 'callbackID'"
28008 0 0         unless exists $_[1]->{callbackID};
28009             # my ($class, $value, $index, $output) = @_;
28010             croak "Missing required input 'int' value"
28011 0 0         unless defined $_[1]->{callbackID};
28012             die "Out of bounds 'int': $_[1]->{callbackID}"
28013 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28014             die "Non-integer 'int' value given: $_[1]->{callbackID}"
28015 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
28016 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
28017 0           $_[2] += 4;
28018             }
28019             # @_: ($class, $value, $index, $input) = @_;
28020             sub deserialize_connect_storage_pool_event_deregister_any_args {
28021 0     0 0   my $input_length = length $_[3];
28022 0           $_[1] = {};
28023             # Deserializing field: 'callbackID'
28024             # my ($class, $value, $index, $input) = @_;
28025 0 0         die "Input buffer too short"
28026             if ($input_length - $_[2]) < 4;
28027 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
28028 0           $_[2] += 4;
28029             die "Out of bounds 'int': $_[1]->{callbackID}"
28030 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28031             }
28032             # @_: ($class, $value, $index, $output) = @_;
28033             sub serialize_connect_storage_pool_event_deregister_any_args {
28034 0 0   0 0   croak "Missing required input 'struct' value"
28035             unless defined $_[1];
28036              
28037             # Serializing field: 'callbackID'
28038             croak "Missing required input value 'callbackID'"
28039 0 0         unless exists $_[1]->{callbackID};
28040             # my ($class, $value, $index, $output) = @_;
28041             croak "Missing required input 'int' value"
28042 0 0         unless defined $_[1]->{callbackID};
28043             die "Out of bounds 'int': $_[1]->{callbackID}"
28044 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28045             die "Non-integer 'int' value given: $_[1]->{callbackID}"
28046 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
28047 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
28048 0           $_[2] += 4;
28049             }
28050             # @_: ($class, $value, $index, $input) = @_;
28051             sub deserialize_storage_pool_event_lifecycle_msg {
28052 0     0 0   my $input_length = length $_[3];
28053 0           $_[1] = {};
28054             # Deserializing field: 'callbackID'
28055             # my ($class, $value, $index, $input) = @_;
28056 0 0         die "Input buffer too short"
28057             if ($input_length - $_[2]) < 4;
28058 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
28059 0           $_[2] += 4;
28060             die "Out of bounds 'int': $_[1]->{callbackID}"
28061 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28062              
28063             # Deserializing field: 'pool'
28064             # my ($class, $value, $index, $input) = @_;
28065 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
28066              
28067             # Deserializing field: 'event'
28068             # my ($class, $value, $index, $input) = @_;
28069 0 0         die "Input buffer too short"
28070             if ($input_length - $_[2]) < 4;
28071 0           $_[1]->{event} = unpack("l>", substr( $_[3], $_[2] ));
28072 0           $_[2] += 4;
28073             die "Out of bounds 'int': $_[1]->{event}"
28074 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
28075              
28076             # Deserializing field: 'detail'
28077             # my ($class, $value, $index, $input) = @_;
28078 0 0         die "Input buffer too short"
28079             if ($input_length - $_[2]) < 4;
28080 0           $_[1]->{detail} = unpack("l>", substr( $_[3], $_[2] ));
28081 0           $_[2] += 4;
28082             die "Out of bounds 'int': $_[1]->{detail}"
28083 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
28084             }
28085             # @_: ($class, $value, $index, $output) = @_;
28086             sub serialize_storage_pool_event_lifecycle_msg {
28087 0 0   0 0   croak "Missing required input 'struct' value"
28088             unless defined $_[1];
28089              
28090             # Serializing field: 'callbackID'
28091             croak "Missing required input value 'callbackID'"
28092 0 0         unless exists $_[1]->{callbackID};
28093             # my ($class, $value, $index, $output) = @_;
28094             croak "Missing required input 'int' value"
28095 0 0         unless defined $_[1]->{callbackID};
28096             die "Out of bounds 'int': $_[1]->{callbackID}"
28097 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28098             die "Non-integer 'int' value given: $_[1]->{callbackID}"
28099 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
28100 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
28101 0           $_[2] += 4;
28102              
28103             # Serializing field: 'pool'
28104             croak "Missing required input value 'pool'"
28105 0 0         unless exists $_[1]->{pool};
28106             # my ($class, $value, $index, $output) = @_;
28107 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
28108              
28109             # Serializing field: 'event'
28110             croak "Missing required input value 'event'"
28111 0 0         unless exists $_[1]->{event};
28112             # my ($class, $value, $index, $output) = @_;
28113             croak "Missing required input 'int' value"
28114 0 0         unless defined $_[1]->{event};
28115             die "Out of bounds 'int': $_[1]->{event}"
28116 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
28117             die "Non-integer 'int' value given: $_[1]->{event}"
28118 0 0         unless int($_[1]->{event}) == $_[1]->{event};
28119 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{event});
28120 0           $_[2] += 4;
28121              
28122             # Serializing field: 'detail'
28123             croak "Missing required input value 'detail'"
28124 0 0         unless exists $_[1]->{detail};
28125             # my ($class, $value, $index, $output) = @_;
28126             croak "Missing required input 'int' value"
28127 0 0         unless defined $_[1]->{detail};
28128             die "Out of bounds 'int': $_[1]->{detail}"
28129 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
28130             die "Non-integer 'int' value given: $_[1]->{detail}"
28131 0 0         unless int($_[1]->{detail}) == $_[1]->{detail};
28132 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{detail});
28133 0           $_[2] += 4;
28134             }
28135             # @_: ($class, $value, $index, $input) = @_;
28136             sub deserialize_storage_pool_event_refresh_msg {
28137 0     0 0   my $input_length = length $_[3];
28138 0           $_[1] = {};
28139             # Deserializing field: 'callbackID'
28140             # my ($class, $value, $index, $input) = @_;
28141 0 0         die "Input buffer too short"
28142             if ($input_length - $_[2]) < 4;
28143 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
28144 0           $_[2] += 4;
28145             die "Out of bounds 'int': $_[1]->{callbackID}"
28146 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28147              
28148             # Deserializing field: 'pool'
28149             # my ($class, $value, $index, $input) = @_;
28150 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
28151             }
28152             # @_: ($class, $value, $index, $output) = @_;
28153             sub serialize_storage_pool_event_refresh_msg {
28154 0 0   0 0   croak "Missing required input 'struct' value"
28155             unless defined $_[1];
28156              
28157             # Serializing field: 'callbackID'
28158             croak "Missing required input value 'callbackID'"
28159 0 0         unless exists $_[1]->{callbackID};
28160             # my ($class, $value, $index, $output) = @_;
28161             croak "Missing required input 'int' value"
28162 0 0         unless defined $_[1]->{callbackID};
28163             die "Out of bounds 'int': $_[1]->{callbackID}"
28164 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28165             die "Non-integer 'int' value given: $_[1]->{callbackID}"
28166 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
28167 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
28168 0           $_[2] += 4;
28169              
28170             # Serializing field: 'pool'
28171             croak "Missing required input value 'pool'"
28172 0 0         unless exists $_[1]->{pool};
28173             # my ($class, $value, $index, $output) = @_;
28174 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
28175             }
28176             # @_: ($class, $value, $index, $input) = @_;
28177             sub deserialize_connect_node_device_event_register_any_args {
28178 0     0 0   my $input_length = length $_[3];
28179 0           $_[1] = {};
28180             # Deserializing field: 'eventID'
28181             # my ($class, $value, $index, $input) = @_;
28182 0 0         die "Input buffer too short"
28183             if ($input_length - $_[2]) < 4;
28184 0           $_[1]->{eventID} = unpack("l>", substr( $_[3], $_[2] ));
28185 0           $_[2] += 4;
28186             die "Out of bounds 'int': $_[1]->{eventID}"
28187 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
28188              
28189             # Deserializing field: 'dev'
28190             # my ($class, $value, $index, $input) = @_;
28191 0           $_[0]->deserialize_node_device( $_[1]->{dev}, $_[2], $_[3] );
28192             }
28193             # @_: ($class, $value, $index, $output) = @_;
28194             sub serialize_connect_node_device_event_register_any_args {
28195 0 0   0 0   croak "Missing required input 'struct' value"
28196             unless defined $_[1];
28197              
28198             # Serializing field: 'eventID'
28199             croak "Missing required input value 'eventID'"
28200 0 0         unless exists $_[1]->{eventID};
28201             # my ($class, $value, $index, $output) = @_;
28202             croak "Missing required input 'int' value"
28203 0 0         unless defined $_[1]->{eventID};
28204             die "Out of bounds 'int': $_[1]->{eventID}"
28205 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
28206             die "Non-integer 'int' value given: $_[1]->{eventID}"
28207 0 0         unless int($_[1]->{eventID}) == $_[1]->{eventID};
28208 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{eventID});
28209 0           $_[2] += 4;
28210              
28211             # Serializing field: 'dev'
28212             croak "Missing required input value 'dev'"
28213 0 0         unless exists $_[1]->{dev};
28214             # my ($class, $value, $index, $output) = @_;
28215 0           $_[0]->serialize_node_device( $_[1]->{dev}, $_[2], $_[3] );
28216             }
28217             # @_: ($class, $value, $index, $input) = @_;
28218             sub deserialize_connect_node_device_event_register_any_ret {
28219 0     0 0   my $input_length = length $_[3];
28220 0           $_[1] = {};
28221             # Deserializing field: 'callbackID'
28222             # my ($class, $value, $index, $input) = @_;
28223 0 0         die "Input buffer too short"
28224             if ($input_length - $_[2]) < 4;
28225 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
28226 0           $_[2] += 4;
28227             die "Out of bounds 'int': $_[1]->{callbackID}"
28228 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28229             }
28230             # @_: ($class, $value, $index, $output) = @_;
28231             sub serialize_connect_node_device_event_register_any_ret {
28232 0 0   0 0   croak "Missing required input 'struct' value"
28233             unless defined $_[1];
28234              
28235             # Serializing field: 'callbackID'
28236             croak "Missing required input value 'callbackID'"
28237 0 0         unless exists $_[1]->{callbackID};
28238             # my ($class, $value, $index, $output) = @_;
28239             croak "Missing required input 'int' value"
28240 0 0         unless defined $_[1]->{callbackID};
28241             die "Out of bounds 'int': $_[1]->{callbackID}"
28242 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28243             die "Non-integer 'int' value given: $_[1]->{callbackID}"
28244 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
28245 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
28246 0           $_[2] += 4;
28247             }
28248             # @_: ($class, $value, $index, $input) = @_;
28249             sub deserialize_connect_node_device_event_deregister_any_args {
28250 0     0 0   my $input_length = length $_[3];
28251 0           $_[1] = {};
28252             # Deserializing field: 'callbackID'
28253             # my ($class, $value, $index, $input) = @_;
28254 0 0         die "Input buffer too short"
28255             if ($input_length - $_[2]) < 4;
28256 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
28257 0           $_[2] += 4;
28258             die "Out of bounds 'int': $_[1]->{callbackID}"
28259 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28260             }
28261             # @_: ($class, $value, $index, $output) = @_;
28262             sub serialize_connect_node_device_event_deregister_any_args {
28263 0 0   0 0   croak "Missing required input 'struct' value"
28264             unless defined $_[1];
28265              
28266             # Serializing field: 'callbackID'
28267             croak "Missing required input value 'callbackID'"
28268 0 0         unless exists $_[1]->{callbackID};
28269             # my ($class, $value, $index, $output) = @_;
28270             croak "Missing required input 'int' value"
28271 0 0         unless defined $_[1]->{callbackID};
28272             die "Out of bounds 'int': $_[1]->{callbackID}"
28273 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28274             die "Non-integer 'int' value given: $_[1]->{callbackID}"
28275 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
28276 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
28277 0           $_[2] += 4;
28278             }
28279             # @_: ($class, $value, $index, $input) = @_;
28280             sub deserialize_node_device_event_lifecycle_msg {
28281 0     0 0   my $input_length = length $_[3];
28282 0           $_[1] = {};
28283             # Deserializing field: 'callbackID'
28284             # my ($class, $value, $index, $input) = @_;
28285 0 0         die "Input buffer too short"
28286             if ($input_length - $_[2]) < 4;
28287 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
28288 0           $_[2] += 4;
28289             die "Out of bounds 'int': $_[1]->{callbackID}"
28290 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28291              
28292             # Deserializing field: 'dev'
28293             # my ($class, $value, $index, $input) = @_;
28294 0           $_[0]->deserialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
28295              
28296             # Deserializing field: 'event'
28297             # my ($class, $value, $index, $input) = @_;
28298 0 0         die "Input buffer too short"
28299             if ($input_length - $_[2]) < 4;
28300 0           $_[1]->{event} = unpack("l>", substr( $_[3], $_[2] ));
28301 0           $_[2] += 4;
28302             die "Out of bounds 'int': $_[1]->{event}"
28303 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
28304              
28305             # Deserializing field: 'detail'
28306             # my ($class, $value, $index, $input) = @_;
28307 0 0         die "Input buffer too short"
28308             if ($input_length - $_[2]) < 4;
28309 0           $_[1]->{detail} = unpack("l>", substr( $_[3], $_[2] ));
28310 0           $_[2] += 4;
28311             die "Out of bounds 'int': $_[1]->{detail}"
28312 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
28313             }
28314             # @_: ($class, $value, $index, $output) = @_;
28315             sub serialize_node_device_event_lifecycle_msg {
28316 0 0   0 0   croak "Missing required input 'struct' value"
28317             unless defined $_[1];
28318              
28319             # Serializing field: 'callbackID'
28320             croak "Missing required input value 'callbackID'"
28321 0 0         unless exists $_[1]->{callbackID};
28322             # my ($class, $value, $index, $output) = @_;
28323             croak "Missing required input 'int' value"
28324 0 0         unless defined $_[1]->{callbackID};
28325             die "Out of bounds 'int': $_[1]->{callbackID}"
28326 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28327             die "Non-integer 'int' value given: $_[1]->{callbackID}"
28328 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
28329 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
28330 0           $_[2] += 4;
28331              
28332             # Serializing field: 'dev'
28333             croak "Missing required input value 'dev'"
28334 0 0         unless exists $_[1]->{dev};
28335             # my ($class, $value, $index, $output) = @_;
28336 0           $_[0]->serialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
28337              
28338             # Serializing field: 'event'
28339             croak "Missing required input value 'event'"
28340 0 0         unless exists $_[1]->{event};
28341             # my ($class, $value, $index, $output) = @_;
28342             croak "Missing required input 'int' value"
28343 0 0         unless defined $_[1]->{event};
28344             die "Out of bounds 'int': $_[1]->{event}"
28345 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
28346             die "Non-integer 'int' value given: $_[1]->{event}"
28347 0 0         unless int($_[1]->{event}) == $_[1]->{event};
28348 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{event});
28349 0           $_[2] += 4;
28350              
28351             # Serializing field: 'detail'
28352             croak "Missing required input value 'detail'"
28353 0 0         unless exists $_[1]->{detail};
28354             # my ($class, $value, $index, $output) = @_;
28355             croak "Missing required input 'int' value"
28356 0 0         unless defined $_[1]->{detail};
28357             die "Out of bounds 'int': $_[1]->{detail}"
28358 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
28359             die "Non-integer 'int' value given: $_[1]->{detail}"
28360 0 0         unless int($_[1]->{detail}) == $_[1]->{detail};
28361 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{detail});
28362 0           $_[2] += 4;
28363             }
28364             # @_: ($class, $value, $index, $input) = @_;
28365             sub deserialize_node_device_event_update_msg {
28366 0     0 0   my $input_length = length $_[3];
28367 0           $_[1] = {};
28368             # Deserializing field: 'callbackID'
28369             # my ($class, $value, $index, $input) = @_;
28370 0 0         die "Input buffer too short"
28371             if ($input_length - $_[2]) < 4;
28372 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
28373 0           $_[2] += 4;
28374             die "Out of bounds 'int': $_[1]->{callbackID}"
28375 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28376              
28377             # Deserializing field: 'dev'
28378             # my ($class, $value, $index, $input) = @_;
28379 0           $_[0]->deserialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
28380             }
28381             # @_: ($class, $value, $index, $output) = @_;
28382             sub serialize_node_device_event_update_msg {
28383 0 0   0 0   croak "Missing required input 'struct' value"
28384             unless defined $_[1];
28385              
28386             # Serializing field: 'callbackID'
28387             croak "Missing required input value 'callbackID'"
28388 0 0         unless exists $_[1]->{callbackID};
28389             # my ($class, $value, $index, $output) = @_;
28390             croak "Missing required input 'int' value"
28391 0 0         unless defined $_[1]->{callbackID};
28392             die "Out of bounds 'int': $_[1]->{callbackID}"
28393 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28394             die "Non-integer 'int' value given: $_[1]->{callbackID}"
28395 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
28396 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
28397 0           $_[2] += 4;
28398              
28399             # Serializing field: 'dev'
28400             croak "Missing required input value 'dev'"
28401 0 0         unless exists $_[1]->{dev};
28402             # my ($class, $value, $index, $output) = @_;
28403 0           $_[0]->serialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
28404             }
28405             # @_: ($class, $value, $index, $input) = @_;
28406             sub deserialize_domain_fsfreeze_args {
28407 0     0 0   my $input_length = length $_[3];
28408 0           $_[1] = {};
28409             # Deserializing field: 'dom'
28410             # my ($class, $value, $index, $input) = @_;
28411 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
28412              
28413             # Deserializing field: 'mountpoints'
28414             # my ($class, $value, $index, $input) = @_;
28415 0           do {
28416 0 0         die "Input buffer too short"
28417             if ($input_length - $_[2]) < 4;
28418 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
28419 0           $_[2] += 4;
28420              
28421 0 0         die "Array too long (max: 256): $len"
28422             unless ($len <= 256);
28423 0           $_[1]->{mountpoints} = [];
28424 0           for my $i1 ( 0 .. ($len - 1) ) {
28425             # my ($class, $value, $index, $input) = @_;
28426 0           $_[0]->deserialize_nonnull_string( $_[1]->{mountpoints}->[$i1], $_[2], $_[3] );
28427             }
28428             };
28429              
28430             # Deserializing field: 'flags'
28431             # my ($class, $value, $index, $input) = @_;
28432 0 0         die "Input buffer too short"
28433             if ($input_length - $_[2]) < 4;
28434 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
28435 0           $_[2] += 4;
28436             die "Out of bounds 'unsigned int': $_[1]->{flags}"
28437 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
28438             }
28439             # @_: ($class, $value, $index, $output) = @_;
28440             sub serialize_domain_fsfreeze_args {
28441 0 0   0 0   croak "Missing required input 'struct' value"
28442             unless defined $_[1];
28443              
28444             # Serializing field: 'dom'
28445             croak "Missing required input value 'dom'"
28446 0 0         unless exists $_[1]->{dom};
28447             # my ($class, $value, $index, $output) = @_;
28448 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
28449              
28450             # Serializing field: 'mountpoints'
28451             croak "Missing required input value 'mountpoints'"
28452 0 0         unless exists $_[1]->{mountpoints};
28453             # my ($class, $value, $index, $output) = @_;
28454             croak "Missing required input 'array' value"
28455 0 0         unless defined $_[1]->{mountpoints};
28456 0           do {
28457 0           my $len = scalar @{ $_[1]->{mountpoints} };
  0            
28458 0 0         die "Array too long (max: 256): $len"
28459             unless ($len <= 256);
28460              
28461 0           substr( $_[3], $_[2] ) = pack("L>", $len);
28462 0           $_[2] += 4;
28463 0           for my $i1 ( 0 .. ($len - 1) ) {
28464             # my ($class, $value, $index, $output) = @_;
28465 0           $_[0]->serialize_nonnull_string( $_[1]->{mountpoints}->[$i1], $_[2], $_[3] );
28466             }
28467             };
28468              
28469             # Serializing field: 'flags'
28470             croak "Missing required input value 'flags'"
28471 0 0         unless exists $_[1]->{flags};
28472             # my ($class, $value, $index, $output) = @_;
28473             croak "Missing required input 'unsigned int' value"
28474 0 0         unless defined $_[1]->{flags};
28475             die "Out of bounds 'unsigned int': $_[1]->{flags}"
28476 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
28477             die "Non-integer 'int' value given: $_[1]->{flags}"
28478 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
28479 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
28480 0           $_[2] += 4;
28481             }
28482             # @_: ($class, $value, $index, $input) = @_;
28483             sub deserialize_domain_fsfreeze_ret {
28484 0     0 0   my $input_length = length $_[3];
28485 0           $_[1] = {};
28486             # Deserializing field: 'filesystems'
28487             # my ($class, $value, $index, $input) = @_;
28488 0 0         die "Input buffer too short"
28489             if ($input_length - $_[2]) < 4;
28490 0           $_[1]->{filesystems} = unpack("l>", substr( $_[3], $_[2] ));
28491 0           $_[2] += 4;
28492             die "Out of bounds 'int': $_[1]->{filesystems}"
28493 0 0 0       unless (-2147483648 <= $_[1]->{filesystems} and $_[1]->{filesystems} < 2147483648);
28494             }
28495             # @_: ($class, $value, $index, $output) = @_;
28496             sub serialize_domain_fsfreeze_ret {
28497 0 0   0 0   croak "Missing required input 'struct' value"
28498             unless defined $_[1];
28499              
28500             # Serializing field: 'filesystems'
28501             croak "Missing required input value 'filesystems'"
28502 0 0         unless exists $_[1]->{filesystems};
28503             # my ($class, $value, $index, $output) = @_;
28504             croak "Missing required input 'int' value"
28505 0 0         unless defined $_[1]->{filesystems};
28506             die "Out of bounds 'int': $_[1]->{filesystems}"
28507 0 0 0       unless (-2147483648 <= $_[1]->{filesystems} and $_[1]->{filesystems} < 2147483648);
28508             die "Non-integer 'int' value given: $_[1]->{filesystems}"
28509 0 0         unless int($_[1]->{filesystems}) == $_[1]->{filesystems};
28510 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{filesystems});
28511 0           $_[2] += 4;
28512             }
28513             # @_: ($class, $value, $index, $input) = @_;
28514             sub deserialize_domain_fsthaw_args {
28515 0     0 0   my $input_length = length $_[3];
28516 0           $_[1] = {};
28517             # Deserializing field: 'dom'
28518             # my ($class, $value, $index, $input) = @_;
28519 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
28520              
28521             # Deserializing field: 'mountpoints'
28522             # my ($class, $value, $index, $input) = @_;
28523 0           do {
28524 0 0         die "Input buffer too short"
28525             if ($input_length - $_[2]) < 4;
28526 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
28527 0           $_[2] += 4;
28528              
28529 0 0         die "Array too long (max: 256): $len"
28530             unless ($len <= 256);
28531 0           $_[1]->{mountpoints} = [];
28532 0           for my $i1 ( 0 .. ($len - 1) ) {
28533             # my ($class, $value, $index, $input) = @_;
28534 0           $_[0]->deserialize_nonnull_string( $_[1]->{mountpoints}->[$i1], $_[2], $_[3] );
28535             }
28536             };
28537              
28538             # Deserializing field: 'flags'
28539             # my ($class, $value, $index, $input) = @_;
28540 0 0         die "Input buffer too short"
28541             if ($input_length - $_[2]) < 4;
28542 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
28543 0           $_[2] += 4;
28544             die "Out of bounds 'unsigned int': $_[1]->{flags}"
28545 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
28546             }
28547             # @_: ($class, $value, $index, $output) = @_;
28548             sub serialize_domain_fsthaw_args {
28549 0 0   0 0   croak "Missing required input 'struct' value"
28550             unless defined $_[1];
28551              
28552             # Serializing field: 'dom'
28553             croak "Missing required input value 'dom'"
28554 0 0         unless exists $_[1]->{dom};
28555             # my ($class, $value, $index, $output) = @_;
28556 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
28557              
28558             # Serializing field: 'mountpoints'
28559             croak "Missing required input value 'mountpoints'"
28560 0 0         unless exists $_[1]->{mountpoints};
28561             # my ($class, $value, $index, $output) = @_;
28562             croak "Missing required input 'array' value"
28563 0 0         unless defined $_[1]->{mountpoints};
28564 0           do {
28565 0           my $len = scalar @{ $_[1]->{mountpoints} };
  0            
28566 0 0         die "Array too long (max: 256): $len"
28567             unless ($len <= 256);
28568              
28569 0           substr( $_[3], $_[2] ) = pack("L>", $len);
28570 0           $_[2] += 4;
28571 0           for my $i1 ( 0 .. ($len - 1) ) {
28572             # my ($class, $value, $index, $output) = @_;
28573 0           $_[0]->serialize_nonnull_string( $_[1]->{mountpoints}->[$i1], $_[2], $_[3] );
28574             }
28575             };
28576              
28577             # Serializing field: 'flags'
28578             croak "Missing required input value 'flags'"
28579 0 0         unless exists $_[1]->{flags};
28580             # my ($class, $value, $index, $output) = @_;
28581             croak "Missing required input 'unsigned int' value"
28582 0 0         unless defined $_[1]->{flags};
28583             die "Out of bounds 'unsigned int': $_[1]->{flags}"
28584 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
28585             die "Non-integer 'int' value given: $_[1]->{flags}"
28586 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
28587 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
28588 0           $_[2] += 4;
28589             }
28590             # @_: ($class, $value, $index, $input) = @_;
28591             sub deserialize_domain_fsthaw_ret {
28592 0     0 0   my $input_length = length $_[3];
28593 0           $_[1] = {};
28594             # Deserializing field: 'filesystems'
28595             # my ($class, $value, $index, $input) = @_;
28596 0 0         die "Input buffer too short"
28597             if ($input_length - $_[2]) < 4;
28598 0           $_[1]->{filesystems} = unpack("l>", substr( $_[3], $_[2] ));
28599 0           $_[2] += 4;
28600             die "Out of bounds 'int': $_[1]->{filesystems}"
28601 0 0 0       unless (-2147483648 <= $_[1]->{filesystems} and $_[1]->{filesystems} < 2147483648);
28602             }
28603             # @_: ($class, $value, $index, $output) = @_;
28604             sub serialize_domain_fsthaw_ret {
28605 0 0   0 0   croak "Missing required input 'struct' value"
28606             unless defined $_[1];
28607              
28608             # Serializing field: 'filesystems'
28609             croak "Missing required input value 'filesystems'"
28610 0 0         unless exists $_[1]->{filesystems};
28611             # my ($class, $value, $index, $output) = @_;
28612             croak "Missing required input 'int' value"
28613 0 0         unless defined $_[1]->{filesystems};
28614             die "Out of bounds 'int': $_[1]->{filesystems}"
28615 0 0 0       unless (-2147483648 <= $_[1]->{filesystems} and $_[1]->{filesystems} < 2147483648);
28616             die "Non-integer 'int' value given: $_[1]->{filesystems}"
28617 0 0         unless int($_[1]->{filesystems}) == $_[1]->{filesystems};
28618 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{filesystems});
28619 0           $_[2] += 4;
28620             }
28621             # @_: ($class, $value, $index, $input) = @_;
28622             sub deserialize_node_get_free_pages_args {
28623 0     0 0   my $input_length = length $_[3];
28624 0           $_[1] = {};
28625             # Deserializing field: 'pages'
28626             # my ($class, $value, $index, $input) = @_;
28627 0           do {
28628 0 0         die "Input buffer too short"
28629             if ($input_length - $_[2]) < 4;
28630 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
28631 0           $_[2] += 4;
28632              
28633 0 0         die "Array too long (max: 1024): $len"
28634             unless ($len <= 1024);
28635 0           $_[1]->{pages} = [];
28636 0           for my $i1 ( 0 .. ($len - 1) ) {
28637             # my ($class, $value, $index, $input) = @_;
28638 0 0         die "Input buffer too short"
28639             if ($input_length - $_[2]) < 4;
28640 0           $_[1]->{pages}->[$i1] = unpack("L>", substr( $_[3], $_[2] ));
28641 0           $_[2] += 4;
28642             die "Out of bounds 'unsigned int': $_[1]->{pages}->[$i1]"
28643 0 0 0       unless (0 <= $_[1]->{pages}->[$i1] and $_[1]->{pages}->[$i1] <= 4294967295);
28644             }
28645             };
28646              
28647             # Deserializing field: 'startCell'
28648             # my ($class, $value, $index, $input) = @_;
28649 0 0         die "Input buffer too short"
28650             if ($input_length - $_[2]) < 4;
28651 0           $_[1]->{startCell} = unpack("l>", substr( $_[3], $_[2] ));
28652 0           $_[2] += 4;
28653             die "Out of bounds 'int': $_[1]->{startCell}"
28654 0 0 0       unless (-2147483648 <= $_[1]->{startCell} and $_[1]->{startCell} < 2147483648);
28655              
28656             # Deserializing field: 'cellCount'
28657             # my ($class, $value, $index, $input) = @_;
28658 0 0         die "Input buffer too short"
28659             if ($input_length - $_[2]) < 4;
28660 0           $_[1]->{cellCount} = unpack("L>", substr( $_[3], $_[2] ));
28661 0           $_[2] += 4;
28662             die "Out of bounds 'unsigned int': $_[1]->{cellCount}"
28663 0 0 0       unless (0 <= $_[1]->{cellCount} and $_[1]->{cellCount} <= 4294967295);
28664              
28665             # Deserializing field: 'flags'
28666             # my ($class, $value, $index, $input) = @_;
28667 0 0         die "Input buffer too short"
28668             if ($input_length - $_[2]) < 4;
28669 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
28670 0           $_[2] += 4;
28671             die "Out of bounds 'unsigned int': $_[1]->{flags}"
28672 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
28673             }
28674             # @_: ($class, $value, $index, $output) = @_;
28675             sub serialize_node_get_free_pages_args {
28676 0 0   0 0   croak "Missing required input 'struct' value"
28677             unless defined $_[1];
28678              
28679             # Serializing field: 'pages'
28680             croak "Missing required input value 'pages'"
28681 0 0         unless exists $_[1]->{pages};
28682             # my ($class, $value, $index, $output) = @_;
28683             croak "Missing required input 'array' value"
28684 0 0         unless defined $_[1]->{pages};
28685 0           do {
28686 0           my $len = scalar @{ $_[1]->{pages} };
  0            
28687 0 0         die "Array too long (max: 1024): $len"
28688             unless ($len <= 1024);
28689              
28690 0           substr( $_[3], $_[2] ) = pack("L>", $len);
28691 0           $_[2] += 4;
28692 0           for my $i1 ( 0 .. ($len - 1) ) {
28693             # my ($class, $value, $index, $output) = @_;
28694             croak "Missing required input 'unsigned int' value"
28695 0 0         unless defined $_[1]->{pages}->[$i1];
28696             die "Out of bounds 'unsigned int': $_[1]->{pages}->[$i1]"
28697 0 0 0       unless (0 <= $_[1]->{pages}->[$i1] and $_[1]->{pages}->[$i1] <= 4294967295);
28698             die "Non-integer 'int' value given: $_[1]->{pages}->[$i1]"
28699 0 0         unless int($_[1]->{pages}->[$i1]) == $_[1]->{pages}->[$i1];
28700 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{pages}->[$i1]);
28701 0           $_[2] += 4;
28702             }
28703             };
28704              
28705             # Serializing field: 'startCell'
28706             croak "Missing required input value 'startCell'"
28707 0 0         unless exists $_[1]->{startCell};
28708             # my ($class, $value, $index, $output) = @_;
28709             croak "Missing required input 'int' value"
28710 0 0         unless defined $_[1]->{startCell};
28711             die "Out of bounds 'int': $_[1]->{startCell}"
28712 0 0 0       unless (-2147483648 <= $_[1]->{startCell} and $_[1]->{startCell} < 2147483648);
28713             die "Non-integer 'int' value given: $_[1]->{startCell}"
28714 0 0         unless int($_[1]->{startCell}) == $_[1]->{startCell};
28715 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{startCell});
28716 0           $_[2] += 4;
28717              
28718             # Serializing field: 'cellCount'
28719             croak "Missing required input value 'cellCount'"
28720 0 0         unless exists $_[1]->{cellCount};
28721             # my ($class, $value, $index, $output) = @_;
28722             croak "Missing required input 'unsigned int' value"
28723 0 0         unless defined $_[1]->{cellCount};
28724             die "Out of bounds 'unsigned int': $_[1]->{cellCount}"
28725 0 0 0       unless (0 <= $_[1]->{cellCount} and $_[1]->{cellCount} <= 4294967295);
28726             die "Non-integer 'int' value given: $_[1]->{cellCount}"
28727 0 0         unless int($_[1]->{cellCount}) == $_[1]->{cellCount};
28728 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{cellCount});
28729 0           $_[2] += 4;
28730              
28731             # Serializing field: 'flags'
28732             croak "Missing required input value 'flags'"
28733 0 0         unless exists $_[1]->{flags};
28734             # my ($class, $value, $index, $output) = @_;
28735             croak "Missing required input 'unsigned int' value"
28736 0 0         unless defined $_[1]->{flags};
28737             die "Out of bounds 'unsigned int': $_[1]->{flags}"
28738 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
28739             die "Non-integer 'int' value given: $_[1]->{flags}"
28740 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
28741 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
28742 0           $_[2] += 4;
28743             }
28744             # @_: ($class, $value, $index, $input) = @_;
28745             sub deserialize_node_get_free_pages_ret {
28746 0     0 0   my $input_length = length $_[3];
28747 0           $_[1] = {};
28748             # Deserializing field: 'counts'
28749             # my ($class, $value, $index, $input) = @_;
28750 0           do {
28751 0 0         die "Input buffer too short"
28752             if ($input_length - $_[2]) < 4;
28753 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
28754 0           $_[2] += 4;
28755              
28756 0 0         die "Array too long (max: 1024): $len"
28757             unless ($len <= 1024);
28758 0           $_[1]->{counts} = [];
28759 0           for my $i1 ( 0 .. ($len - 1) ) {
28760             # my ($class, $value, $index, $input) = @_;
28761 0 0         die "Input buffer too short"
28762             if ($input_length - $_[2]) < 8;
28763 0           $_[1]->{counts}->[$i1] = unpack("Q>", substr( $_[3], $_[2] ));
28764 0           $_[2] += 8;
28765             die "Out of bounds 'unsigned hyper': $_[1]->{counts}->[$i1]"
28766             unless (0 <= $_[1]->{counts}->[$i1]
28767 0 0 0       and $_[1]->{counts}->[$i1] <= 18446744073709551615);
28768             }
28769             };
28770             }
28771             # @_: ($class, $value, $index, $output) = @_;
28772             sub serialize_node_get_free_pages_ret {
28773 0 0   0 0   croak "Missing required input 'struct' value"
28774             unless defined $_[1];
28775              
28776             # Serializing field: 'counts'
28777             croak "Missing required input value 'counts'"
28778 0 0         unless exists $_[1]->{counts};
28779             # my ($class, $value, $index, $output) = @_;
28780             croak "Missing required input 'array' value"
28781 0 0         unless defined $_[1]->{counts};
28782 0           do {
28783 0           my $len = scalar @{ $_[1]->{counts} };
  0            
28784 0 0         die "Array too long (max: 1024): $len"
28785             unless ($len <= 1024);
28786              
28787 0           substr( $_[3], $_[2] ) = pack("L>", $len);
28788 0           $_[2] += 4;
28789 0           for my $i1 ( 0 .. ($len - 1) ) {
28790             # my ($class, $value, $index, $output) = @_;
28791             croak "Missing required input 'unsigned long' value"
28792 0 0         unless defined $_[1]->{counts}->[$i1];
28793             die "Out of bounds 'unsigned hyper': $_[1]->{counts}->[$i1]"
28794             unless (0 <= $_[1]->{counts}->[$i1]
28795 0 0 0       and $_[1]->{counts}->[$i1] <= 18446744073709551615);
28796             die "Non-integer 'long' value given: $_[1]->{counts}->[$i1]"
28797 0 0         unless int($_[1]->{counts}->[$i1]) == $_[1]->{counts}->[$i1];
28798 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{counts}->[$i1]);
28799 0           $_[2] += 8;
28800             }
28801             };
28802             }
28803             # @_: ($class, $value, $index, $input) = @_;
28804             sub deserialize_node_alloc_pages_args {
28805 0     0 0   my $input_length = length $_[3];
28806 0           $_[1] = {};
28807             # Deserializing field: 'pageSizes'
28808             # my ($class, $value, $index, $input) = @_;
28809 0           do {
28810 0 0         die "Input buffer too short"
28811             if ($input_length - $_[2]) < 4;
28812 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
28813 0           $_[2] += 4;
28814              
28815 0 0         die "Array too long (max: 1024): $len"
28816             unless ($len <= 1024);
28817 0           $_[1]->{pageSizes} = [];
28818 0           for my $i1 ( 0 .. ($len - 1) ) {
28819             # my ($class, $value, $index, $input) = @_;
28820 0 0         die "Input buffer too short"
28821             if ($input_length - $_[2]) < 4;
28822 0           $_[1]->{pageSizes}->[$i1] = unpack("L>", substr( $_[3], $_[2] ));
28823 0           $_[2] += 4;
28824             die "Out of bounds 'unsigned int': $_[1]->{pageSizes}->[$i1]"
28825 0 0 0       unless (0 <= $_[1]->{pageSizes}->[$i1] and $_[1]->{pageSizes}->[$i1] <= 4294967295);
28826             }
28827             };
28828              
28829             # Deserializing field: 'pageCounts'
28830             # my ($class, $value, $index, $input) = @_;
28831 0           do {
28832 0 0         die "Input buffer too short"
28833             if ($input_length - $_[2]) < 4;
28834 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
28835 0           $_[2] += 4;
28836              
28837 0 0         die "Array too long (max: 1024): $len"
28838             unless ($len <= 1024);
28839 0           $_[1]->{pageCounts} = [];
28840 0           for my $i1 ( 0 .. ($len - 1) ) {
28841             # my ($class, $value, $index, $input) = @_;
28842 0 0         die "Input buffer too short"
28843             if ($input_length - $_[2]) < 8;
28844 0           $_[1]->{pageCounts}->[$i1] = unpack("Q>", substr( $_[3], $_[2] ));
28845 0           $_[2] += 8;
28846             die "Out of bounds 'unsigned hyper': $_[1]->{pageCounts}->[$i1]"
28847             unless (0 <= $_[1]->{pageCounts}->[$i1]
28848 0 0 0       and $_[1]->{pageCounts}->[$i1] <= 18446744073709551615);
28849             }
28850             };
28851              
28852             # Deserializing field: 'startCell'
28853             # my ($class, $value, $index, $input) = @_;
28854 0 0         die "Input buffer too short"
28855             if ($input_length - $_[2]) < 4;
28856 0           $_[1]->{startCell} = unpack("l>", substr( $_[3], $_[2] ));
28857 0           $_[2] += 4;
28858             die "Out of bounds 'int': $_[1]->{startCell}"
28859 0 0 0       unless (-2147483648 <= $_[1]->{startCell} and $_[1]->{startCell} < 2147483648);
28860              
28861             # Deserializing field: 'cellCount'
28862             # my ($class, $value, $index, $input) = @_;
28863 0 0         die "Input buffer too short"
28864             if ($input_length - $_[2]) < 4;
28865 0           $_[1]->{cellCount} = unpack("L>", substr( $_[3], $_[2] ));
28866 0           $_[2] += 4;
28867             die "Out of bounds 'unsigned int': $_[1]->{cellCount}"
28868 0 0 0       unless (0 <= $_[1]->{cellCount} and $_[1]->{cellCount} <= 4294967295);
28869              
28870             # Deserializing field: 'flags'
28871             # my ($class, $value, $index, $input) = @_;
28872 0 0         die "Input buffer too short"
28873             if ($input_length - $_[2]) < 4;
28874 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
28875 0           $_[2] += 4;
28876             die "Out of bounds 'unsigned int': $_[1]->{flags}"
28877 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
28878             }
28879             # @_: ($class, $value, $index, $output) = @_;
28880             sub serialize_node_alloc_pages_args {
28881 0 0   0 0   croak "Missing required input 'struct' value"
28882             unless defined $_[1];
28883              
28884             # Serializing field: 'pageSizes'
28885             croak "Missing required input value 'pageSizes'"
28886 0 0         unless exists $_[1]->{pageSizes};
28887             # my ($class, $value, $index, $output) = @_;
28888             croak "Missing required input 'array' value"
28889 0 0         unless defined $_[1]->{pageSizes};
28890 0           do {
28891 0           my $len = scalar @{ $_[1]->{pageSizes} };
  0            
28892 0 0         die "Array too long (max: 1024): $len"
28893             unless ($len <= 1024);
28894              
28895 0           substr( $_[3], $_[2] ) = pack("L>", $len);
28896 0           $_[2] += 4;
28897 0           for my $i1 ( 0 .. ($len - 1) ) {
28898             # my ($class, $value, $index, $output) = @_;
28899             croak "Missing required input 'unsigned int' value"
28900 0 0         unless defined $_[1]->{pageSizes}->[$i1];
28901             die "Out of bounds 'unsigned int': $_[1]->{pageSizes}->[$i1]"
28902 0 0 0       unless (0 <= $_[1]->{pageSizes}->[$i1] and $_[1]->{pageSizes}->[$i1] <= 4294967295);
28903             die "Non-integer 'int' value given: $_[1]->{pageSizes}->[$i1]"
28904 0 0         unless int($_[1]->{pageSizes}->[$i1]) == $_[1]->{pageSizes}->[$i1];
28905 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{pageSizes}->[$i1]);
28906 0           $_[2] += 4;
28907             }
28908             };
28909              
28910             # Serializing field: 'pageCounts'
28911             croak "Missing required input value 'pageCounts'"
28912 0 0         unless exists $_[1]->{pageCounts};
28913             # my ($class, $value, $index, $output) = @_;
28914             croak "Missing required input 'array' value"
28915 0 0         unless defined $_[1]->{pageCounts};
28916 0           do {
28917 0           my $len = scalar @{ $_[1]->{pageCounts} };
  0            
28918 0 0         die "Array too long (max: 1024): $len"
28919             unless ($len <= 1024);
28920              
28921 0           substr( $_[3], $_[2] ) = pack("L>", $len);
28922 0           $_[2] += 4;
28923 0           for my $i1 ( 0 .. ($len - 1) ) {
28924             # my ($class, $value, $index, $output) = @_;
28925             croak "Missing required input 'unsigned long' value"
28926 0 0         unless defined $_[1]->{pageCounts}->[$i1];
28927             die "Out of bounds 'unsigned hyper': $_[1]->{pageCounts}->[$i1]"
28928             unless (0 <= $_[1]->{pageCounts}->[$i1]
28929 0 0 0       and $_[1]->{pageCounts}->[$i1] <= 18446744073709551615);
28930             die "Non-integer 'long' value given: $_[1]->{pageCounts}->[$i1]"
28931 0 0         unless int($_[1]->{pageCounts}->[$i1]) == $_[1]->{pageCounts}->[$i1];
28932 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{pageCounts}->[$i1]);
28933 0           $_[2] += 8;
28934             }
28935             };
28936              
28937             # Serializing field: 'startCell'
28938             croak "Missing required input value 'startCell'"
28939 0 0         unless exists $_[1]->{startCell};
28940             # my ($class, $value, $index, $output) = @_;
28941             croak "Missing required input 'int' value"
28942 0 0         unless defined $_[1]->{startCell};
28943             die "Out of bounds 'int': $_[1]->{startCell}"
28944 0 0 0       unless (-2147483648 <= $_[1]->{startCell} and $_[1]->{startCell} < 2147483648);
28945             die "Non-integer 'int' value given: $_[1]->{startCell}"
28946 0 0         unless int($_[1]->{startCell}) == $_[1]->{startCell};
28947 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{startCell});
28948 0           $_[2] += 4;
28949              
28950             # Serializing field: 'cellCount'
28951             croak "Missing required input value 'cellCount'"
28952 0 0         unless exists $_[1]->{cellCount};
28953             # my ($class, $value, $index, $output) = @_;
28954             croak "Missing required input 'unsigned int' value"
28955 0 0         unless defined $_[1]->{cellCount};
28956             die "Out of bounds 'unsigned int': $_[1]->{cellCount}"
28957 0 0 0       unless (0 <= $_[1]->{cellCount} and $_[1]->{cellCount} <= 4294967295);
28958             die "Non-integer 'int' value given: $_[1]->{cellCount}"
28959 0 0         unless int($_[1]->{cellCount}) == $_[1]->{cellCount};
28960 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{cellCount});
28961 0           $_[2] += 4;
28962              
28963             # Serializing field: 'flags'
28964             croak "Missing required input value 'flags'"
28965 0 0         unless exists $_[1]->{flags};
28966             # my ($class, $value, $index, $output) = @_;
28967             croak "Missing required input 'unsigned int' value"
28968 0 0         unless defined $_[1]->{flags};
28969             die "Out of bounds 'unsigned int': $_[1]->{flags}"
28970 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
28971             die "Non-integer 'int' value given: $_[1]->{flags}"
28972 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
28973 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
28974 0           $_[2] += 4;
28975             }
28976             # @_: ($class, $value, $index, $input) = @_;
28977             sub deserialize_node_alloc_pages_ret {
28978 0     0 0   my $input_length = length $_[3];
28979 0           $_[1] = {};
28980             # Deserializing field: 'ret'
28981             # my ($class, $value, $index, $input) = @_;
28982 0 0         die "Input buffer too short"
28983             if ($input_length - $_[2]) < 4;
28984 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
28985 0           $_[2] += 4;
28986             die "Out of bounds 'int': $_[1]->{ret}"
28987 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
28988             }
28989             # @_: ($class, $value, $index, $output) = @_;
28990             sub serialize_node_alloc_pages_ret {
28991 0 0   0 0   croak "Missing required input 'struct' value"
28992             unless defined $_[1];
28993              
28994             # Serializing field: 'ret'
28995             croak "Missing required input value 'ret'"
28996 0 0         unless exists $_[1]->{ret};
28997             # my ($class, $value, $index, $output) = @_;
28998             croak "Missing required input 'int' value"
28999 0 0         unless defined $_[1]->{ret};
29000             die "Out of bounds 'int': $_[1]->{ret}"
29001 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
29002             die "Non-integer 'int' value given: $_[1]->{ret}"
29003 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
29004 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
29005 0           $_[2] += 4;
29006             }
29007             # @_: ($class, $value, $index, $input) = @_;
29008             sub deserialize_network_dhcp_lease {
29009 0     0 0   my $input_length = length $_[3];
29010 0           $_[1] = {};
29011             # Deserializing field: 'iface'
29012             # my ($class, $value, $index, $input) = @_;
29013 0           $_[0]->deserialize_nonnull_string( $_[1]->{iface}, $_[2], $_[3] );
29014              
29015             # Deserializing field: 'expirytime'
29016             # my ($class, $value, $index, $input) = @_;
29017 0 0         die "Input buffer too short"
29018             if ($input_length - $_[2]) < 8;
29019 0           $_[1]->{expirytime} = unpack("q>", substr( $_[3], $_[2] ));
29020 0           $_[2] += 8;
29021             die "Out of bounds 'hyper': $_[1]->{expirytime}"
29022             unless (-9223372036854775808 <= $_[1]->{expirytime}
29023 0 0 0       and $_[1]->{expirytime} < 9223372036854775808);
29024              
29025             # Deserializing field: 'type'
29026             # my ($class, $value, $index, $input) = @_;
29027 0 0         die "Input buffer too short"
29028             if ($input_length - $_[2]) < 4;
29029 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
29030 0           $_[2] += 4;
29031             die "Out of bounds 'int': $_[1]->{type}"
29032 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
29033              
29034             # Deserializing field: 'mac'
29035             # my ($class, $value, $index, $input) = @_;
29036 0           $_[0]->deserialize_string( $_[1]->{mac}, $_[2], $_[3] );
29037              
29038             # Deserializing field: 'iaid'
29039             # my ($class, $value, $index, $input) = @_;
29040 0           $_[0]->deserialize_string( $_[1]->{iaid}, $_[2], $_[3] );
29041              
29042             # Deserializing field: 'ipaddr'
29043             # my ($class, $value, $index, $input) = @_;
29044 0           $_[0]->deserialize_nonnull_string( $_[1]->{ipaddr}, $_[2], $_[3] );
29045              
29046             # Deserializing field: 'prefix'
29047             # my ($class, $value, $index, $input) = @_;
29048 0 0         die "Input buffer too short"
29049             if ($input_length - $_[2]) < 4;
29050 0           $_[1]->{prefix} = unpack("L>", substr( $_[3], $_[2] ));
29051 0           $_[2] += 4;
29052             die "Out of bounds 'unsigned int': $_[1]->{prefix}"
29053 0 0 0       unless (0 <= $_[1]->{prefix} and $_[1]->{prefix} <= 4294967295);
29054              
29055             # Deserializing field: 'hostname'
29056             # my ($class, $value, $index, $input) = @_;
29057 0           $_[0]->deserialize_string( $_[1]->{hostname}, $_[2], $_[3] );
29058              
29059             # Deserializing field: 'clientid'
29060             # my ($class, $value, $index, $input) = @_;
29061 0           $_[0]->deserialize_string( $_[1]->{clientid}, $_[2], $_[3] );
29062             }
29063             # @_: ($class, $value, $index, $output) = @_;
29064             sub serialize_network_dhcp_lease {
29065 0 0   0 0   croak "Missing required input 'struct' value"
29066             unless defined $_[1];
29067              
29068             # Serializing field: 'iface'
29069             croak "Missing required input value 'iface'"
29070 0 0         unless exists $_[1]->{iface};
29071             # my ($class, $value, $index, $output) = @_;
29072 0           $_[0]->serialize_nonnull_string( $_[1]->{iface}, $_[2], $_[3] );
29073              
29074             # Serializing field: 'expirytime'
29075             croak "Missing required input value 'expirytime'"
29076 0 0         unless exists $_[1]->{expirytime};
29077             # my ($class, $value, $index, $output) = @_;
29078             croak "Missing required input 'long' value"
29079 0 0         unless defined $_[1]->{expirytime};
29080             die "Out of bounds 'hyper': $_[1]->{expirytime}"
29081             unless (-9223372036854775808 <= $_[1]->{expirytime}
29082 0 0 0       and $_[1]->{expirytime} < 9223372036854775808);
29083             die "Non-integer 'long' value given: $_[1]->{expirytime}"
29084 0 0         unless int($_[1]->{expirytime}) == $_[1]->{expirytime};
29085 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{expirytime});
29086 0           $_[2] += 8;
29087              
29088             # Serializing field: 'type'
29089             croak "Missing required input value 'type'"
29090 0 0         unless exists $_[1]->{type};
29091             # my ($class, $value, $index, $output) = @_;
29092             croak "Missing required input 'int' value"
29093 0 0         unless defined $_[1]->{type};
29094             die "Out of bounds 'int': $_[1]->{type}"
29095 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
29096             die "Non-integer 'int' value given: $_[1]->{type}"
29097 0 0         unless int($_[1]->{type}) == $_[1]->{type};
29098 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
29099 0           $_[2] += 4;
29100              
29101             # Serializing field: 'mac'
29102             croak "Missing required input value 'mac'"
29103 0 0         unless exists $_[1]->{mac};
29104             # my ($class, $value, $index, $output) = @_;
29105 0           $_[0]->serialize_string( $_[1]->{mac}, $_[2], $_[3] );
29106              
29107             # Serializing field: 'iaid'
29108             croak "Missing required input value 'iaid'"
29109 0 0         unless exists $_[1]->{iaid};
29110             # my ($class, $value, $index, $output) = @_;
29111 0           $_[0]->serialize_string( $_[1]->{iaid}, $_[2], $_[3] );
29112              
29113             # Serializing field: 'ipaddr'
29114             croak "Missing required input value 'ipaddr'"
29115 0 0         unless exists $_[1]->{ipaddr};
29116             # my ($class, $value, $index, $output) = @_;
29117 0           $_[0]->serialize_nonnull_string( $_[1]->{ipaddr}, $_[2], $_[3] );
29118              
29119             # Serializing field: 'prefix'
29120             croak "Missing required input value 'prefix'"
29121 0 0         unless exists $_[1]->{prefix};
29122             # my ($class, $value, $index, $output) = @_;
29123             croak "Missing required input 'unsigned int' value"
29124 0 0         unless defined $_[1]->{prefix};
29125             die "Out of bounds 'unsigned int': $_[1]->{prefix}"
29126 0 0 0       unless (0 <= $_[1]->{prefix} and $_[1]->{prefix} <= 4294967295);
29127             die "Non-integer 'int' value given: $_[1]->{prefix}"
29128 0 0         unless int($_[1]->{prefix}) == $_[1]->{prefix};
29129 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{prefix});
29130 0           $_[2] += 4;
29131              
29132             # Serializing field: 'hostname'
29133             croak "Missing required input value 'hostname'"
29134 0 0         unless exists $_[1]->{hostname};
29135             # my ($class, $value, $index, $output) = @_;
29136 0           $_[0]->serialize_string( $_[1]->{hostname}, $_[2], $_[3] );
29137              
29138             # Serializing field: 'clientid'
29139             croak "Missing required input value 'clientid'"
29140 0 0         unless exists $_[1]->{clientid};
29141             # my ($class, $value, $index, $output) = @_;
29142 0           $_[0]->serialize_string( $_[1]->{clientid}, $_[2], $_[3] );
29143             }
29144             # @_: ($class, $value, $index, $input) = @_;
29145             sub deserialize_network_get_dhcp_leases_args {
29146 0     0 0   my $input_length = length $_[3];
29147 0           $_[1] = {};
29148             # Deserializing field: 'net'
29149             # my ($class, $value, $index, $input) = @_;
29150 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
29151              
29152             # Deserializing field: 'mac'
29153             # my ($class, $value, $index, $input) = @_;
29154 0           $_[0]->deserialize_string( $_[1]->{mac}, $_[2], $_[3] );
29155              
29156             # Deserializing field: 'need_results'
29157             # my ($class, $value, $index, $input) = @_;
29158 0 0         die "Input buffer too short"
29159             if ($input_length - $_[2]) < 4;
29160 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
29161 0           $_[2] += 4;
29162             die "Out of bounds 'int': $_[1]->{need_results}"
29163 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
29164              
29165             # Deserializing field: 'flags'
29166             # my ($class, $value, $index, $input) = @_;
29167 0 0         die "Input buffer too short"
29168             if ($input_length - $_[2]) < 4;
29169 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
29170 0           $_[2] += 4;
29171             die "Out of bounds 'unsigned int': $_[1]->{flags}"
29172 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
29173             }
29174             # @_: ($class, $value, $index, $output) = @_;
29175             sub serialize_network_get_dhcp_leases_args {
29176 0 0   0 0   croak "Missing required input 'struct' value"
29177             unless defined $_[1];
29178              
29179             # Serializing field: 'net'
29180             croak "Missing required input value 'net'"
29181 0 0         unless exists $_[1]->{net};
29182             # my ($class, $value, $index, $output) = @_;
29183 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
29184              
29185             # Serializing field: 'mac'
29186             croak "Missing required input value 'mac'"
29187 0 0         unless exists $_[1]->{mac};
29188             # my ($class, $value, $index, $output) = @_;
29189 0           $_[0]->serialize_string( $_[1]->{mac}, $_[2], $_[3] );
29190              
29191             # Serializing field: 'need_results'
29192             croak "Missing required input value 'need_results'"
29193 0 0         unless exists $_[1]->{need_results};
29194             # my ($class, $value, $index, $output) = @_;
29195             croak "Missing required input 'int' value"
29196 0 0         unless defined $_[1]->{need_results};
29197             die "Out of bounds 'int': $_[1]->{need_results}"
29198 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
29199             die "Non-integer 'int' value given: $_[1]->{need_results}"
29200 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
29201 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
29202 0           $_[2] += 4;
29203              
29204             # Serializing field: 'flags'
29205             croak "Missing required input value 'flags'"
29206 0 0         unless exists $_[1]->{flags};
29207             # my ($class, $value, $index, $output) = @_;
29208             croak "Missing required input 'unsigned int' value"
29209 0 0         unless defined $_[1]->{flags};
29210             die "Out of bounds 'unsigned int': $_[1]->{flags}"
29211 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
29212             die "Non-integer 'int' value given: $_[1]->{flags}"
29213 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
29214 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
29215 0           $_[2] += 4;
29216             }
29217             # @_: ($class, $value, $index, $input) = @_;
29218             sub deserialize_network_get_dhcp_leases_ret {
29219 0     0 0   my $input_length = length $_[3];
29220 0           $_[1] = {};
29221             # Deserializing field: 'leases'
29222             # my ($class, $value, $index, $input) = @_;
29223 0           do {
29224 0 0         die "Input buffer too short"
29225             if ($input_length - $_[2]) < 4;
29226 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
29227 0           $_[2] += 4;
29228              
29229 0 0         die "Array too long (max: 65536): $len"
29230             unless ($len <= 65536);
29231 0           $_[1]->{leases} = [];
29232 0           for my $i1 ( 0 .. ($len - 1) ) {
29233             # my ($class, $value, $index, $input) = @_;
29234 0           $_[0]->deserialize_network_dhcp_lease( $_[1]->{leases}->[$i1], $_[2], $_[3] );
29235             }
29236             };
29237              
29238             # Deserializing field: 'ret'
29239             # my ($class, $value, $index, $input) = @_;
29240 0 0         die "Input buffer too short"
29241             if ($input_length - $_[2]) < 4;
29242 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
29243 0           $_[2] += 4;
29244             die "Out of bounds 'unsigned int': $_[1]->{ret}"
29245 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
29246             }
29247             # @_: ($class, $value, $index, $output) = @_;
29248             sub serialize_network_get_dhcp_leases_ret {
29249 0 0   0 0   croak "Missing required input 'struct' value"
29250             unless defined $_[1];
29251              
29252             # Serializing field: 'leases'
29253             croak "Missing required input value 'leases'"
29254 0 0         unless exists $_[1]->{leases};
29255             # my ($class, $value, $index, $output) = @_;
29256             croak "Missing required input 'array' value"
29257 0 0         unless defined $_[1]->{leases};
29258 0           do {
29259 0           my $len = scalar @{ $_[1]->{leases} };
  0            
29260 0 0         die "Array too long (max: 65536): $len"
29261             unless ($len <= 65536);
29262              
29263 0           substr( $_[3], $_[2] ) = pack("L>", $len);
29264 0           $_[2] += 4;
29265 0           for my $i1 ( 0 .. ($len - 1) ) {
29266             # my ($class, $value, $index, $output) = @_;
29267 0           $_[0]->serialize_network_dhcp_lease( $_[1]->{leases}->[$i1], $_[2], $_[3] );
29268             }
29269             };
29270              
29271             # Serializing field: 'ret'
29272             croak "Missing required input value 'ret'"
29273 0 0         unless exists $_[1]->{ret};
29274             # my ($class, $value, $index, $output) = @_;
29275             croak "Missing required input 'unsigned int' value"
29276 0 0         unless defined $_[1]->{ret};
29277             die "Out of bounds 'unsigned int': $_[1]->{ret}"
29278 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
29279             die "Non-integer 'int' value given: $_[1]->{ret}"
29280 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
29281 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
29282 0           $_[2] += 4;
29283             }
29284             # @_: ($class, $value, $index, $input) = @_;
29285             sub deserialize_domain_stats_record {
29286 0     0 0   my $input_length = length $_[3];
29287 0           $_[1] = {};
29288             # Deserializing field: 'dom'
29289             # my ($class, $value, $index, $input) = @_;
29290 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29291              
29292             # Deserializing field: 'params'
29293             # my ($class, $value, $index, $input) = @_;
29294 0           do {
29295 0 0         die "Input buffer too short"
29296             if ($input_length - $_[2]) < 4;
29297 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
29298 0           $_[2] += 4;
29299              
29300 0 0         die "Array too long (max: 262144): $len"
29301             unless ($len <= 262144);
29302 0           $_[1]->{params} = [];
29303 0           for my $i1 ( 0 .. ($len - 1) ) {
29304             # my ($class, $value, $index, $input) = @_;
29305 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
29306             }
29307             };
29308             }
29309             # @_: ($class, $value, $index, $output) = @_;
29310             sub serialize_domain_stats_record {
29311 0 0   0 0   croak "Missing required input 'struct' value"
29312             unless defined $_[1];
29313              
29314             # Serializing field: 'dom'
29315             croak "Missing required input value 'dom'"
29316 0 0         unless exists $_[1]->{dom};
29317             # my ($class, $value, $index, $output) = @_;
29318 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29319              
29320             # Serializing field: 'params'
29321             croak "Missing required input value 'params'"
29322 0 0         unless exists $_[1]->{params};
29323             # my ($class, $value, $index, $output) = @_;
29324             croak "Missing required input 'array' value"
29325 0 0         unless defined $_[1]->{params};
29326 0           do {
29327 0           my $len = scalar @{ $_[1]->{params} };
  0            
29328 0 0         die "Array too long (max: 262144): $len"
29329             unless ($len <= 262144);
29330              
29331 0           substr( $_[3], $_[2] ) = pack("L>", $len);
29332 0           $_[2] += 4;
29333 0           for my $i1 ( 0 .. ($len - 1) ) {
29334             # my ($class, $value, $index, $output) = @_;
29335 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
29336             }
29337             };
29338             }
29339             # @_: ($class, $value, $index, $input) = @_;
29340             sub deserialize_connect_get_all_domain_stats_args {
29341 0     0 0   my $input_length = length $_[3];
29342 0           $_[1] = {};
29343             # Deserializing field: 'doms'
29344             # my ($class, $value, $index, $input) = @_;
29345 0           do {
29346 0 0         die "Input buffer too short"
29347             if ($input_length - $_[2]) < 4;
29348 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
29349 0           $_[2] += 4;
29350              
29351 0 0         die "Array too long (max: 16384): $len"
29352             unless ($len <= 16384);
29353 0           $_[1]->{doms} = [];
29354 0           for my $i1 ( 0 .. ($len - 1) ) {
29355             # my ($class, $value, $index, $input) = @_;
29356 0           $_[0]->deserialize_nonnull_domain( $_[1]->{doms}->[$i1], $_[2], $_[3] );
29357             }
29358             };
29359              
29360             # Deserializing field: 'stats'
29361             # my ($class, $value, $index, $input) = @_;
29362 0 0         die "Input buffer too short"
29363             if ($input_length - $_[2]) < 4;
29364 0           $_[1]->{stats} = unpack("L>", substr( $_[3], $_[2] ));
29365 0           $_[2] += 4;
29366             die "Out of bounds 'unsigned int': $_[1]->{stats}"
29367 0 0 0       unless (0 <= $_[1]->{stats} and $_[1]->{stats} <= 4294967295);
29368              
29369             # Deserializing field: 'flags'
29370             # my ($class, $value, $index, $input) = @_;
29371 0 0         die "Input buffer too short"
29372             if ($input_length - $_[2]) < 4;
29373 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
29374 0           $_[2] += 4;
29375             die "Out of bounds 'unsigned int': $_[1]->{flags}"
29376 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
29377             }
29378             # @_: ($class, $value, $index, $output) = @_;
29379             sub serialize_connect_get_all_domain_stats_args {
29380 0 0   0 0   croak "Missing required input 'struct' value"
29381             unless defined $_[1];
29382              
29383             # Serializing field: 'doms'
29384             croak "Missing required input value 'doms'"
29385 0 0         unless exists $_[1]->{doms};
29386             # my ($class, $value, $index, $output) = @_;
29387             croak "Missing required input 'array' value"
29388 0 0         unless defined $_[1]->{doms};
29389 0           do {
29390 0           my $len = scalar @{ $_[1]->{doms} };
  0            
29391 0 0         die "Array too long (max: 16384): $len"
29392             unless ($len <= 16384);
29393              
29394 0           substr( $_[3], $_[2] ) = pack("L>", $len);
29395 0           $_[2] += 4;
29396 0           for my $i1 ( 0 .. ($len - 1) ) {
29397             # my ($class, $value, $index, $output) = @_;
29398 0           $_[0]->serialize_nonnull_domain( $_[1]->{doms}->[$i1], $_[2], $_[3] );
29399             }
29400             };
29401              
29402             # Serializing field: 'stats'
29403             croak "Missing required input value 'stats'"
29404 0 0         unless exists $_[1]->{stats};
29405             # my ($class, $value, $index, $output) = @_;
29406             croak "Missing required input 'unsigned int' value"
29407 0 0         unless defined $_[1]->{stats};
29408             die "Out of bounds 'unsigned int': $_[1]->{stats}"
29409 0 0 0       unless (0 <= $_[1]->{stats} and $_[1]->{stats} <= 4294967295);
29410             die "Non-integer 'int' value given: $_[1]->{stats}"
29411 0 0         unless int($_[1]->{stats}) == $_[1]->{stats};
29412 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{stats});
29413 0           $_[2] += 4;
29414              
29415             # Serializing field: 'flags'
29416             croak "Missing required input value 'flags'"
29417 0 0         unless exists $_[1]->{flags};
29418             # my ($class, $value, $index, $output) = @_;
29419             croak "Missing required input 'unsigned int' value"
29420 0 0         unless defined $_[1]->{flags};
29421             die "Out of bounds 'unsigned int': $_[1]->{flags}"
29422 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
29423             die "Non-integer 'int' value given: $_[1]->{flags}"
29424 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
29425 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
29426 0           $_[2] += 4;
29427             }
29428             # @_: ($class, $value, $index, $input) = @_;
29429             sub deserialize_domain_event_callback_agent_lifecycle_msg {
29430 0     0 0   my $input_length = length $_[3];
29431 0           $_[1] = {};
29432             # Deserializing field: 'callbackID'
29433             # my ($class, $value, $index, $input) = @_;
29434 0 0         die "Input buffer too short"
29435             if ($input_length - $_[2]) < 4;
29436 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
29437 0           $_[2] += 4;
29438             die "Out of bounds 'int': $_[1]->{callbackID}"
29439 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
29440              
29441             # Deserializing field: 'dom'
29442             # my ($class, $value, $index, $input) = @_;
29443 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29444              
29445             # Deserializing field: 'state'
29446             # my ($class, $value, $index, $input) = @_;
29447 0 0         die "Input buffer too short"
29448             if ($input_length - $_[2]) < 4;
29449 0           $_[1]->{state} = unpack("l>", substr( $_[3], $_[2] ));
29450 0           $_[2] += 4;
29451             die "Out of bounds 'int': $_[1]->{state}"
29452 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
29453              
29454             # Deserializing field: 'reason'
29455             # my ($class, $value, $index, $input) = @_;
29456 0 0         die "Input buffer too short"
29457             if ($input_length - $_[2]) < 4;
29458 0           $_[1]->{reason} = unpack("l>", substr( $_[3], $_[2] ));
29459 0           $_[2] += 4;
29460             die "Out of bounds 'int': $_[1]->{reason}"
29461 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
29462             }
29463             # @_: ($class, $value, $index, $output) = @_;
29464             sub serialize_domain_event_callback_agent_lifecycle_msg {
29465 0 0   0 0   croak "Missing required input 'struct' value"
29466             unless defined $_[1];
29467              
29468             # Serializing field: 'callbackID'
29469             croak "Missing required input value 'callbackID'"
29470 0 0         unless exists $_[1]->{callbackID};
29471             # my ($class, $value, $index, $output) = @_;
29472             croak "Missing required input 'int' value"
29473 0 0         unless defined $_[1]->{callbackID};
29474             die "Out of bounds 'int': $_[1]->{callbackID}"
29475 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
29476             die "Non-integer 'int' value given: $_[1]->{callbackID}"
29477 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
29478 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
29479 0           $_[2] += 4;
29480              
29481             # Serializing field: 'dom'
29482             croak "Missing required input value 'dom'"
29483 0 0         unless exists $_[1]->{dom};
29484             # my ($class, $value, $index, $output) = @_;
29485 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29486              
29487             # Serializing field: 'state'
29488             croak "Missing required input value 'state'"
29489 0 0         unless exists $_[1]->{state};
29490             # my ($class, $value, $index, $output) = @_;
29491             croak "Missing required input 'int' value"
29492 0 0         unless defined $_[1]->{state};
29493             die "Out of bounds 'int': $_[1]->{state}"
29494 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
29495             die "Non-integer 'int' value given: $_[1]->{state}"
29496 0 0         unless int($_[1]->{state}) == $_[1]->{state};
29497 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{state});
29498 0           $_[2] += 4;
29499              
29500             # Serializing field: 'reason'
29501             croak "Missing required input value 'reason'"
29502 0 0         unless exists $_[1]->{reason};
29503             # my ($class, $value, $index, $output) = @_;
29504             croak "Missing required input 'int' value"
29505 0 0         unless defined $_[1]->{reason};
29506             die "Out of bounds 'int': $_[1]->{reason}"
29507 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
29508             die "Non-integer 'int' value given: $_[1]->{reason}"
29509 0 0         unless int($_[1]->{reason}) == $_[1]->{reason};
29510 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{reason});
29511 0           $_[2] += 4;
29512             }
29513             # @_: ($class, $value, $index, $input) = @_;
29514             sub deserialize_connect_get_all_domain_stats_ret {
29515 0     0 0   my $input_length = length $_[3];
29516 0           $_[1] = {};
29517             # Deserializing field: 'retStats'
29518             # my ($class, $value, $index, $input) = @_;
29519 0           do {
29520 0 0         die "Input buffer too short"
29521             if ($input_length - $_[2]) < 4;
29522 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
29523 0           $_[2] += 4;
29524              
29525 0 0         die "Array too long (max: 16384): $len"
29526             unless ($len <= 16384);
29527 0           $_[1]->{retStats} = [];
29528 0           for my $i1 ( 0 .. ($len - 1) ) {
29529             # my ($class, $value, $index, $input) = @_;
29530 0           $_[0]->deserialize_domain_stats_record( $_[1]->{retStats}->[$i1], $_[2], $_[3] );
29531             }
29532             };
29533             }
29534             # @_: ($class, $value, $index, $output) = @_;
29535             sub serialize_connect_get_all_domain_stats_ret {
29536 0 0   0 0   croak "Missing required input 'struct' value"
29537             unless defined $_[1];
29538              
29539             # Serializing field: 'retStats'
29540             croak "Missing required input value 'retStats'"
29541 0 0         unless exists $_[1]->{retStats};
29542             # my ($class, $value, $index, $output) = @_;
29543             croak "Missing required input 'array' value"
29544 0 0         unless defined $_[1]->{retStats};
29545 0           do {
29546 0           my $len = scalar @{ $_[1]->{retStats} };
  0            
29547 0 0         die "Array too long (max: 16384): $len"
29548             unless ($len <= 16384);
29549              
29550 0           substr( $_[3], $_[2] ) = pack("L>", $len);
29551 0           $_[2] += 4;
29552 0           for my $i1 ( 0 .. ($len - 1) ) {
29553             # my ($class, $value, $index, $output) = @_;
29554 0           $_[0]->serialize_domain_stats_record( $_[1]->{retStats}->[$i1], $_[2], $_[3] );
29555             }
29556             };
29557             }
29558             # @_: ($class, $value, $index, $input) = @_;
29559             sub deserialize_domain_fsinfo {
29560 0     0 0   my $input_length = length $_[3];
29561 0           $_[1] = {};
29562             # Deserializing field: 'mountpoint'
29563             # my ($class, $value, $index, $input) = @_;
29564 0           $_[0]->deserialize_nonnull_string( $_[1]->{mountpoint}, $_[2], $_[3] );
29565              
29566             # Deserializing field: 'name'
29567             # my ($class, $value, $index, $input) = @_;
29568 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
29569              
29570             # Deserializing field: 'fstype'
29571             # my ($class, $value, $index, $input) = @_;
29572 0           $_[0]->deserialize_nonnull_string( $_[1]->{fstype}, $_[2], $_[3] );
29573              
29574             # Deserializing field: 'dev_aliases'
29575             # my ($class, $value, $index, $input) = @_;
29576 0           do {
29577 0 0         die "Input buffer too short"
29578             if ($input_length - $_[2]) < 4;
29579 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
29580 0           $_[2] += 4;
29581              
29582 0 0         die "Array too long (max: 256): $len"
29583             unless ($len <= 256);
29584 0           $_[1]->{dev_aliases} = [];
29585 0           for my $i1 ( 0 .. ($len - 1) ) {
29586             # my ($class, $value, $index, $input) = @_;
29587 0           $_[0]->deserialize_nonnull_string( $_[1]->{dev_aliases}->[$i1], $_[2], $_[3] );
29588             }
29589             };
29590             }
29591             # @_: ($class, $value, $index, $output) = @_;
29592             sub serialize_domain_fsinfo {
29593 0 0   0 0   croak "Missing required input 'struct' value"
29594             unless defined $_[1];
29595              
29596             # Serializing field: 'mountpoint'
29597             croak "Missing required input value 'mountpoint'"
29598 0 0         unless exists $_[1]->{mountpoint};
29599             # my ($class, $value, $index, $output) = @_;
29600 0           $_[0]->serialize_nonnull_string( $_[1]->{mountpoint}, $_[2], $_[3] );
29601              
29602             # Serializing field: 'name'
29603             croak "Missing required input value 'name'"
29604 0 0         unless exists $_[1]->{name};
29605             # my ($class, $value, $index, $output) = @_;
29606 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
29607              
29608             # Serializing field: 'fstype'
29609             croak "Missing required input value 'fstype'"
29610 0 0         unless exists $_[1]->{fstype};
29611             # my ($class, $value, $index, $output) = @_;
29612 0           $_[0]->serialize_nonnull_string( $_[1]->{fstype}, $_[2], $_[3] );
29613              
29614             # Serializing field: 'dev_aliases'
29615             croak "Missing required input value 'dev_aliases'"
29616 0 0         unless exists $_[1]->{dev_aliases};
29617             # my ($class, $value, $index, $output) = @_;
29618             croak "Missing required input 'array' value"
29619 0 0         unless defined $_[1]->{dev_aliases};
29620 0           do {
29621 0           my $len = scalar @{ $_[1]->{dev_aliases} };
  0            
29622 0 0         die "Array too long (max: 256): $len"
29623             unless ($len <= 256);
29624              
29625 0           substr( $_[3], $_[2] ) = pack("L>", $len);
29626 0           $_[2] += 4;
29627 0           for my $i1 ( 0 .. ($len - 1) ) {
29628             # my ($class, $value, $index, $output) = @_;
29629 0           $_[0]->serialize_nonnull_string( $_[1]->{dev_aliases}->[$i1], $_[2], $_[3] );
29630             }
29631             };
29632             }
29633             # @_: ($class, $value, $index, $input) = @_;
29634             sub deserialize_domain_get_fsinfo_args {
29635 0     0 0   my $input_length = length $_[3];
29636 0           $_[1] = {};
29637             # Deserializing field: 'dom'
29638             # my ($class, $value, $index, $input) = @_;
29639 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29640              
29641             # Deserializing field: 'flags'
29642             # my ($class, $value, $index, $input) = @_;
29643 0 0         die "Input buffer too short"
29644             if ($input_length - $_[2]) < 4;
29645 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
29646 0           $_[2] += 4;
29647             die "Out of bounds 'unsigned int': $_[1]->{flags}"
29648 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
29649             }
29650             # @_: ($class, $value, $index, $output) = @_;
29651             sub serialize_domain_get_fsinfo_args {
29652 0 0   0 0   croak "Missing required input 'struct' value"
29653             unless defined $_[1];
29654              
29655             # Serializing field: 'dom'
29656             croak "Missing required input value 'dom'"
29657 0 0         unless exists $_[1]->{dom};
29658             # my ($class, $value, $index, $output) = @_;
29659 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29660              
29661             # Serializing field: 'flags'
29662             croak "Missing required input value 'flags'"
29663 0 0         unless exists $_[1]->{flags};
29664             # my ($class, $value, $index, $output) = @_;
29665             croak "Missing required input 'unsigned int' value"
29666 0 0         unless defined $_[1]->{flags};
29667             die "Out of bounds 'unsigned int': $_[1]->{flags}"
29668 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
29669             die "Non-integer 'int' value given: $_[1]->{flags}"
29670 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
29671 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
29672 0           $_[2] += 4;
29673             }
29674             # @_: ($class, $value, $index, $input) = @_;
29675             sub deserialize_domain_get_fsinfo_ret {
29676 0     0 0   my $input_length = length $_[3];
29677 0           $_[1] = {};
29678             # Deserializing field: 'info'
29679             # my ($class, $value, $index, $input) = @_;
29680 0           do {
29681 0 0         die "Input buffer too short"
29682             if ($input_length - $_[2]) < 4;
29683 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
29684 0           $_[2] += 4;
29685              
29686 0 0         die "Array too long (max: 256): $len"
29687             unless ($len <= 256);
29688 0           $_[1]->{info} = [];
29689 0           for my $i1 ( 0 .. ($len - 1) ) {
29690             # my ($class, $value, $index, $input) = @_;
29691 0           $_[0]->deserialize_domain_fsinfo( $_[1]->{info}->[$i1], $_[2], $_[3] );
29692             }
29693             };
29694              
29695             # Deserializing field: 'ret'
29696             # my ($class, $value, $index, $input) = @_;
29697 0 0         die "Input buffer too short"
29698             if ($input_length - $_[2]) < 4;
29699 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
29700 0           $_[2] += 4;
29701             die "Out of bounds 'unsigned int': $_[1]->{ret}"
29702 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
29703             }
29704             # @_: ($class, $value, $index, $output) = @_;
29705             sub serialize_domain_get_fsinfo_ret {
29706 0 0   0 0   croak "Missing required input 'struct' value"
29707             unless defined $_[1];
29708              
29709             # Serializing field: 'info'
29710             croak "Missing required input value 'info'"
29711 0 0         unless exists $_[1]->{info};
29712             # my ($class, $value, $index, $output) = @_;
29713             croak "Missing required input 'array' value"
29714 0 0         unless defined $_[1]->{info};
29715 0           do {
29716 0           my $len = scalar @{ $_[1]->{info} };
  0            
29717 0 0         die "Array too long (max: 256): $len"
29718             unless ($len <= 256);
29719              
29720 0           substr( $_[3], $_[2] ) = pack("L>", $len);
29721 0           $_[2] += 4;
29722 0           for my $i1 ( 0 .. ($len - 1) ) {
29723             # my ($class, $value, $index, $output) = @_;
29724 0           $_[0]->serialize_domain_fsinfo( $_[1]->{info}->[$i1], $_[2], $_[3] );
29725             }
29726             };
29727              
29728             # Serializing field: 'ret'
29729             croak "Missing required input value 'ret'"
29730 0 0         unless exists $_[1]->{ret};
29731             # my ($class, $value, $index, $output) = @_;
29732             croak "Missing required input 'unsigned int' value"
29733 0 0         unless defined $_[1]->{ret};
29734             die "Out of bounds 'unsigned int': $_[1]->{ret}"
29735 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
29736             die "Non-integer 'int' value given: $_[1]->{ret}"
29737 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
29738 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
29739 0           $_[2] += 4;
29740             }
29741             # @_: ($class, $value, $index, $input) = @_;
29742             sub deserialize_domain_ip_addr {
29743 0     0 0   my $input_length = length $_[3];
29744 0           $_[1] = {};
29745             # Deserializing field: 'type'
29746             # my ($class, $value, $index, $input) = @_;
29747 0 0         die "Input buffer too short"
29748             if ($input_length - $_[2]) < 4;
29749 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
29750 0           $_[2] += 4;
29751             die "Out of bounds 'int': $_[1]->{type}"
29752 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
29753              
29754             # Deserializing field: 'addr'
29755             # my ($class, $value, $index, $input) = @_;
29756 0           $_[0]->deserialize_nonnull_string( $_[1]->{addr}, $_[2], $_[3] );
29757              
29758             # Deserializing field: 'prefix'
29759             # my ($class, $value, $index, $input) = @_;
29760 0 0         die "Input buffer too short"
29761             if ($input_length - $_[2]) < 4;
29762 0           $_[1]->{prefix} = unpack("L>", substr( $_[3], $_[2] ));
29763 0           $_[2] += 4;
29764             die "Out of bounds 'unsigned int': $_[1]->{prefix}"
29765 0 0 0       unless (0 <= $_[1]->{prefix} and $_[1]->{prefix} <= 4294967295);
29766             }
29767             # @_: ($class, $value, $index, $output) = @_;
29768             sub serialize_domain_ip_addr {
29769 0 0   0 0   croak "Missing required input 'struct' value"
29770             unless defined $_[1];
29771              
29772             # Serializing field: 'type'
29773             croak "Missing required input value 'type'"
29774 0 0         unless exists $_[1]->{type};
29775             # my ($class, $value, $index, $output) = @_;
29776             croak "Missing required input 'int' value"
29777 0 0         unless defined $_[1]->{type};
29778             die "Out of bounds 'int': $_[1]->{type}"
29779 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
29780             die "Non-integer 'int' value given: $_[1]->{type}"
29781 0 0         unless int($_[1]->{type}) == $_[1]->{type};
29782 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
29783 0           $_[2] += 4;
29784              
29785             # Serializing field: 'addr'
29786             croak "Missing required input value 'addr'"
29787 0 0         unless exists $_[1]->{addr};
29788             # my ($class, $value, $index, $output) = @_;
29789 0           $_[0]->serialize_nonnull_string( $_[1]->{addr}, $_[2], $_[3] );
29790              
29791             # Serializing field: 'prefix'
29792             croak "Missing required input value 'prefix'"
29793 0 0         unless exists $_[1]->{prefix};
29794             # my ($class, $value, $index, $output) = @_;
29795             croak "Missing required input 'unsigned int' value"
29796 0 0         unless defined $_[1]->{prefix};
29797             die "Out of bounds 'unsigned int': $_[1]->{prefix}"
29798 0 0 0       unless (0 <= $_[1]->{prefix} and $_[1]->{prefix} <= 4294967295);
29799             die "Non-integer 'int' value given: $_[1]->{prefix}"
29800 0 0         unless int($_[1]->{prefix}) == $_[1]->{prefix};
29801 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{prefix});
29802 0           $_[2] += 4;
29803             }
29804             # @_: ($class, $value, $index, $input) = @_;
29805             sub deserialize_domain_interface {
29806 0     0 0   my $input_length = length $_[3];
29807 0           $_[1] = {};
29808             # Deserializing field: 'name'
29809             # my ($class, $value, $index, $input) = @_;
29810 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
29811              
29812             # Deserializing field: 'hwaddr'
29813             # my ($class, $value, $index, $input) = @_;
29814 0           $_[0]->deserialize_string( $_[1]->{hwaddr}, $_[2], $_[3] );
29815              
29816             # Deserializing field: 'addrs'
29817             # my ($class, $value, $index, $input) = @_;
29818 0           do {
29819 0 0         die "Input buffer too short"
29820             if ($input_length - $_[2]) < 4;
29821 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
29822 0           $_[2] += 4;
29823              
29824 0 0         die "Array too long (max: 2048): $len"
29825             unless ($len <= 2048);
29826 0           $_[1]->{addrs} = [];
29827 0           for my $i1 ( 0 .. ($len - 1) ) {
29828             # my ($class, $value, $index, $input) = @_;
29829 0           $_[0]->deserialize_domain_ip_addr( $_[1]->{addrs}->[$i1], $_[2], $_[3] );
29830             }
29831             };
29832             }
29833             # @_: ($class, $value, $index, $output) = @_;
29834             sub serialize_domain_interface {
29835 0 0   0 0   croak "Missing required input 'struct' value"
29836             unless defined $_[1];
29837              
29838             # Serializing field: 'name'
29839             croak "Missing required input value 'name'"
29840 0 0         unless exists $_[1]->{name};
29841             # my ($class, $value, $index, $output) = @_;
29842 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
29843              
29844             # Serializing field: 'hwaddr'
29845             croak "Missing required input value 'hwaddr'"
29846 0 0         unless exists $_[1]->{hwaddr};
29847             # my ($class, $value, $index, $output) = @_;
29848 0           $_[0]->serialize_string( $_[1]->{hwaddr}, $_[2], $_[3] );
29849              
29850             # Serializing field: 'addrs'
29851             croak "Missing required input value 'addrs'"
29852 0 0         unless exists $_[1]->{addrs};
29853             # my ($class, $value, $index, $output) = @_;
29854             croak "Missing required input 'array' value"
29855 0 0         unless defined $_[1]->{addrs};
29856 0           do {
29857 0           my $len = scalar @{ $_[1]->{addrs} };
  0            
29858 0 0         die "Array too long (max: 2048): $len"
29859             unless ($len <= 2048);
29860              
29861 0           substr( $_[3], $_[2] ) = pack("L>", $len);
29862 0           $_[2] += 4;
29863 0           for my $i1 ( 0 .. ($len - 1) ) {
29864             # my ($class, $value, $index, $output) = @_;
29865 0           $_[0]->serialize_domain_ip_addr( $_[1]->{addrs}->[$i1], $_[2], $_[3] );
29866             }
29867             };
29868             }
29869             # @_: ($class, $value, $index, $input) = @_;
29870             sub deserialize_domain_interface_addresses_args {
29871 0     0 0   my $input_length = length $_[3];
29872 0           $_[1] = {};
29873             # Deserializing field: 'dom'
29874             # my ($class, $value, $index, $input) = @_;
29875 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29876              
29877             # Deserializing field: 'source'
29878             # my ($class, $value, $index, $input) = @_;
29879 0 0         die "Input buffer too short"
29880             if ($input_length - $_[2]) < 4;
29881 0           $_[1]->{source} = unpack("L>", substr( $_[3], $_[2] ));
29882 0           $_[2] += 4;
29883             die "Out of bounds 'unsigned int': $_[1]->{source}"
29884 0 0 0       unless (0 <= $_[1]->{source} and $_[1]->{source} <= 4294967295);
29885              
29886             # Deserializing field: 'flags'
29887             # my ($class, $value, $index, $input) = @_;
29888 0 0         die "Input buffer too short"
29889             if ($input_length - $_[2]) < 4;
29890 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
29891 0           $_[2] += 4;
29892             die "Out of bounds 'unsigned int': $_[1]->{flags}"
29893 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
29894             }
29895             # @_: ($class, $value, $index, $output) = @_;
29896             sub serialize_domain_interface_addresses_args {
29897 0 0   0 0   croak "Missing required input 'struct' value"
29898             unless defined $_[1];
29899              
29900             # Serializing field: 'dom'
29901             croak "Missing required input value 'dom'"
29902 0 0         unless exists $_[1]->{dom};
29903             # my ($class, $value, $index, $output) = @_;
29904 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29905              
29906             # Serializing field: 'source'
29907             croak "Missing required input value 'source'"
29908 0 0         unless exists $_[1]->{source};
29909             # my ($class, $value, $index, $output) = @_;
29910             croak "Missing required input 'unsigned int' value"
29911 0 0         unless defined $_[1]->{source};
29912             die "Out of bounds 'unsigned int': $_[1]->{source}"
29913 0 0 0       unless (0 <= $_[1]->{source} and $_[1]->{source} <= 4294967295);
29914             die "Non-integer 'int' value given: $_[1]->{source}"
29915 0 0         unless int($_[1]->{source}) == $_[1]->{source};
29916 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{source});
29917 0           $_[2] += 4;
29918              
29919             # Serializing field: 'flags'
29920             croak "Missing required input value 'flags'"
29921 0 0         unless exists $_[1]->{flags};
29922             # my ($class, $value, $index, $output) = @_;
29923             croak "Missing required input 'unsigned int' value"
29924 0 0         unless defined $_[1]->{flags};
29925             die "Out of bounds 'unsigned int': $_[1]->{flags}"
29926 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
29927             die "Non-integer 'int' value given: $_[1]->{flags}"
29928 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
29929 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
29930 0           $_[2] += 4;
29931             }
29932             # @_: ($class, $value, $index, $input) = @_;
29933             sub deserialize_domain_interface_addresses_ret {
29934 0     0 0   my $input_length = length $_[3];
29935 0           $_[1] = {};
29936             # Deserializing field: 'ifaces'
29937             # my ($class, $value, $index, $input) = @_;
29938 0           do {
29939 0 0         die "Input buffer too short"
29940             if ($input_length - $_[2]) < 4;
29941 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
29942 0           $_[2] += 4;
29943              
29944 0 0         die "Array too long (max: 2048): $len"
29945             unless ($len <= 2048);
29946 0           $_[1]->{ifaces} = [];
29947 0           for my $i1 ( 0 .. ($len - 1) ) {
29948             # my ($class, $value, $index, $input) = @_;
29949 0           $_[0]->deserialize_domain_interface( $_[1]->{ifaces}->[$i1], $_[2], $_[3] );
29950             }
29951             };
29952             }
29953             # @_: ($class, $value, $index, $output) = @_;
29954             sub serialize_domain_interface_addresses_ret {
29955 0 0   0 0   croak "Missing required input 'struct' value"
29956             unless defined $_[1];
29957              
29958             # Serializing field: 'ifaces'
29959             croak "Missing required input value 'ifaces'"
29960 0 0         unless exists $_[1]->{ifaces};
29961             # my ($class, $value, $index, $output) = @_;
29962             croak "Missing required input 'array' value"
29963 0 0         unless defined $_[1]->{ifaces};
29964 0           do {
29965 0           my $len = scalar @{ $_[1]->{ifaces} };
  0            
29966 0 0         die "Array too long (max: 2048): $len"
29967             unless ($len <= 2048);
29968              
29969 0           substr( $_[3], $_[2] ) = pack("L>", $len);
29970 0           $_[2] += 4;
29971 0           for my $i1 ( 0 .. ($len - 1) ) {
29972             # my ($class, $value, $index, $output) = @_;
29973 0           $_[0]->serialize_domain_interface( $_[1]->{ifaces}->[$i1], $_[2], $_[3] );
29974             }
29975             };
29976             }
29977             # @_: ($class, $value, $index, $input) = @_;
29978             sub deserialize_domain_set_user_password_args {
29979 0     0 0   my $input_length = length $_[3];
29980 0           $_[1] = {};
29981             # Deserializing field: 'dom'
29982             # my ($class, $value, $index, $input) = @_;
29983 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29984              
29985             # Deserializing field: 'user'
29986             # my ($class, $value, $index, $input) = @_;
29987 0           $_[0]->deserialize_string( $_[1]->{user}, $_[2], $_[3] );
29988              
29989             # Deserializing field: 'password'
29990             # my ($class, $value, $index, $input) = @_;
29991 0           $_[0]->deserialize_string( $_[1]->{password}, $_[2], $_[3] );
29992              
29993             # Deserializing field: 'flags'
29994             # my ($class, $value, $index, $input) = @_;
29995 0 0         die "Input buffer too short"
29996             if ($input_length - $_[2]) < 4;
29997 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
29998 0           $_[2] += 4;
29999             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30000 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30001             }
30002             # @_: ($class, $value, $index, $output) = @_;
30003             sub serialize_domain_set_user_password_args {
30004 0 0   0 0   croak "Missing required input 'struct' value"
30005             unless defined $_[1];
30006              
30007             # Serializing field: 'dom'
30008             croak "Missing required input value 'dom'"
30009 0 0         unless exists $_[1]->{dom};
30010             # my ($class, $value, $index, $output) = @_;
30011 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30012              
30013             # Serializing field: 'user'
30014             croak "Missing required input value 'user'"
30015 0 0         unless exists $_[1]->{user};
30016             # my ($class, $value, $index, $output) = @_;
30017 0           $_[0]->serialize_string( $_[1]->{user}, $_[2], $_[3] );
30018              
30019             # Serializing field: 'password'
30020             croak "Missing required input value 'password'"
30021 0 0         unless exists $_[1]->{password};
30022             # my ($class, $value, $index, $output) = @_;
30023 0           $_[0]->serialize_string( $_[1]->{password}, $_[2], $_[3] );
30024              
30025             # Serializing field: 'flags'
30026             croak "Missing required input value 'flags'"
30027 0 0         unless exists $_[1]->{flags};
30028             # my ($class, $value, $index, $output) = @_;
30029             croak "Missing required input 'unsigned int' value"
30030 0 0         unless defined $_[1]->{flags};
30031             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30032 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30033             die "Non-integer 'int' value given: $_[1]->{flags}"
30034 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
30035 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
30036 0           $_[2] += 4;
30037             }
30038             # @_: ($class, $value, $index, $input) = @_;
30039             sub deserialize_domain_rename_args {
30040 0     0 0   my $input_length = length $_[3];
30041 0           $_[1] = {};
30042             # Deserializing field: 'dom'
30043             # my ($class, $value, $index, $input) = @_;
30044 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30045              
30046             # Deserializing field: 'new_name'
30047             # my ($class, $value, $index, $input) = @_;
30048 0           $_[0]->deserialize_string( $_[1]->{new_name}, $_[2], $_[3] );
30049              
30050             # Deserializing field: 'flags'
30051             # my ($class, $value, $index, $input) = @_;
30052 0 0         die "Input buffer too short"
30053             if ($input_length - $_[2]) < 4;
30054 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
30055 0           $_[2] += 4;
30056             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30057 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30058             }
30059             # @_: ($class, $value, $index, $output) = @_;
30060             sub serialize_domain_rename_args {
30061 0 0   0 0   croak "Missing required input 'struct' value"
30062             unless defined $_[1];
30063              
30064             # Serializing field: 'dom'
30065             croak "Missing required input value 'dom'"
30066 0 0         unless exists $_[1]->{dom};
30067             # my ($class, $value, $index, $output) = @_;
30068 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30069              
30070             # Serializing field: 'new_name'
30071             croak "Missing required input value 'new_name'"
30072 0 0         unless exists $_[1]->{new_name};
30073             # my ($class, $value, $index, $output) = @_;
30074 0           $_[0]->serialize_string( $_[1]->{new_name}, $_[2], $_[3] );
30075              
30076             # Serializing field: 'flags'
30077             croak "Missing required input value 'flags'"
30078 0 0         unless exists $_[1]->{flags};
30079             # my ($class, $value, $index, $output) = @_;
30080             croak "Missing required input 'unsigned int' value"
30081 0 0         unless defined $_[1]->{flags};
30082             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30083 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30084             die "Non-integer 'int' value given: $_[1]->{flags}"
30085 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
30086 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
30087 0           $_[2] += 4;
30088             }
30089             # @_: ($class, $value, $index, $input) = @_;
30090             sub deserialize_domain_rename_ret {
30091 0     0 0   my $input_length = length $_[3];
30092 0           $_[1] = {};
30093             # Deserializing field: 'retcode'
30094             # my ($class, $value, $index, $input) = @_;
30095 0 0         die "Input buffer too short"
30096             if ($input_length - $_[2]) < 4;
30097 0           $_[1]->{retcode} = unpack("l>", substr( $_[3], $_[2] ));
30098 0           $_[2] += 4;
30099             die "Out of bounds 'int': $_[1]->{retcode}"
30100 0 0 0       unless (-2147483648 <= $_[1]->{retcode} and $_[1]->{retcode} < 2147483648);
30101             }
30102             # @_: ($class, $value, $index, $output) = @_;
30103             sub serialize_domain_rename_ret {
30104 0 0   0 0   croak "Missing required input 'struct' value"
30105             unless defined $_[1];
30106              
30107             # Serializing field: 'retcode'
30108             croak "Missing required input value 'retcode'"
30109 0 0         unless exists $_[1]->{retcode};
30110             # my ($class, $value, $index, $output) = @_;
30111             croak "Missing required input 'int' value"
30112 0 0         unless defined $_[1]->{retcode};
30113             die "Out of bounds 'int': $_[1]->{retcode}"
30114 0 0 0       unless (-2147483648 <= $_[1]->{retcode} and $_[1]->{retcode} < 2147483648);
30115             die "Non-integer 'int' value given: $_[1]->{retcode}"
30116 0 0         unless int($_[1]->{retcode}) == $_[1]->{retcode};
30117 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{retcode});
30118 0           $_[2] += 4;
30119             }
30120             # @_: ($class, $value, $index, $input) = @_;
30121             sub deserialize_domain_event_callback_migration_iteration_msg {
30122 0     0 0   my $input_length = length $_[3];
30123 0           $_[1] = {};
30124             # Deserializing field: 'callbackID'
30125             # my ($class, $value, $index, $input) = @_;
30126 0 0         die "Input buffer too short"
30127             if ($input_length - $_[2]) < 4;
30128 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30129 0           $_[2] += 4;
30130             die "Out of bounds 'int': $_[1]->{callbackID}"
30131 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30132              
30133             # Deserializing field: 'dom'
30134             # my ($class, $value, $index, $input) = @_;
30135 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30136              
30137             # Deserializing field: 'iteration'
30138             # my ($class, $value, $index, $input) = @_;
30139 0 0         die "Input buffer too short"
30140             if ($input_length - $_[2]) < 4;
30141 0           $_[1]->{iteration} = unpack("l>", substr( $_[3], $_[2] ));
30142 0           $_[2] += 4;
30143             die "Out of bounds 'int': $_[1]->{iteration}"
30144 0 0 0       unless (-2147483648 <= $_[1]->{iteration} and $_[1]->{iteration} < 2147483648);
30145             }
30146             # @_: ($class, $value, $index, $output) = @_;
30147             sub serialize_domain_event_callback_migration_iteration_msg {
30148 0 0   0 0   croak "Missing required input 'struct' value"
30149             unless defined $_[1];
30150              
30151             # Serializing field: 'callbackID'
30152             croak "Missing required input value 'callbackID'"
30153 0 0         unless exists $_[1]->{callbackID};
30154             # my ($class, $value, $index, $output) = @_;
30155             croak "Missing required input 'int' value"
30156 0 0         unless defined $_[1]->{callbackID};
30157             die "Out of bounds 'int': $_[1]->{callbackID}"
30158 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30159             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30160 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30161 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30162 0           $_[2] += 4;
30163              
30164             # Serializing field: 'dom'
30165             croak "Missing required input value 'dom'"
30166 0 0         unless exists $_[1]->{dom};
30167             # my ($class, $value, $index, $output) = @_;
30168 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30169              
30170             # Serializing field: 'iteration'
30171             croak "Missing required input value 'iteration'"
30172 0 0         unless exists $_[1]->{iteration};
30173             # my ($class, $value, $index, $output) = @_;
30174             croak "Missing required input 'int' value"
30175 0 0         unless defined $_[1]->{iteration};
30176             die "Out of bounds 'int': $_[1]->{iteration}"
30177 0 0 0       unless (-2147483648 <= $_[1]->{iteration} and $_[1]->{iteration} < 2147483648);
30178             die "Non-integer 'int' value given: $_[1]->{iteration}"
30179 0 0         unless int($_[1]->{iteration}) == $_[1]->{iteration};
30180 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{iteration});
30181 0           $_[2] += 4;
30182             }
30183             # @_: ($class, $value, $index, $input) = @_;
30184             sub deserialize_domain_event_callback_job_completed_msg {
30185 0     0 0   my $input_length = length $_[3];
30186 0           $_[1] = {};
30187             # Deserializing field: 'callbackID'
30188             # my ($class, $value, $index, $input) = @_;
30189 0 0         die "Input buffer too short"
30190             if ($input_length - $_[2]) < 4;
30191 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30192 0           $_[2] += 4;
30193             die "Out of bounds 'int': $_[1]->{callbackID}"
30194 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30195              
30196             # Deserializing field: 'dom'
30197             # my ($class, $value, $index, $input) = @_;
30198 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30199              
30200             # Deserializing field: 'params'
30201             # my ($class, $value, $index, $input) = @_;
30202 0           do {
30203 0 0         die "Input buffer too short"
30204             if ($input_length - $_[2]) < 4;
30205 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
30206 0           $_[2] += 4;
30207              
30208 0 0         die "Array too long (max: 64): $len"
30209             unless ($len <= 64);
30210 0           $_[1]->{params} = [];
30211 0           for my $i1 ( 0 .. ($len - 1) ) {
30212             # my ($class, $value, $index, $input) = @_;
30213 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
30214             }
30215             };
30216             }
30217             # @_: ($class, $value, $index, $output) = @_;
30218             sub serialize_domain_event_callback_job_completed_msg {
30219 0 0   0 0   croak "Missing required input 'struct' value"
30220             unless defined $_[1];
30221              
30222             # Serializing field: 'callbackID'
30223             croak "Missing required input value 'callbackID'"
30224 0 0         unless exists $_[1]->{callbackID};
30225             # my ($class, $value, $index, $output) = @_;
30226             croak "Missing required input 'int' value"
30227 0 0         unless defined $_[1]->{callbackID};
30228             die "Out of bounds 'int': $_[1]->{callbackID}"
30229 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30230             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30231 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30232 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30233 0           $_[2] += 4;
30234              
30235             # Serializing field: 'dom'
30236             croak "Missing required input value 'dom'"
30237 0 0         unless exists $_[1]->{dom};
30238             # my ($class, $value, $index, $output) = @_;
30239 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30240              
30241             # Serializing field: 'params'
30242             croak "Missing required input value 'params'"
30243 0 0         unless exists $_[1]->{params};
30244             # my ($class, $value, $index, $output) = @_;
30245             croak "Missing required input 'array' value"
30246 0 0         unless defined $_[1]->{params};
30247 0           do {
30248 0           my $len = scalar @{ $_[1]->{params} };
  0            
30249 0 0         die "Array too long (max: 64): $len"
30250             unless ($len <= 64);
30251              
30252 0           substr( $_[3], $_[2] ) = pack("L>", $len);
30253 0           $_[2] += 4;
30254 0           for my $i1 ( 0 .. ($len - 1) ) {
30255             # my ($class, $value, $index, $output) = @_;
30256 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
30257             }
30258             };
30259             }
30260             # @_: ($class, $value, $index, $input) = @_;
30261             sub deserialize_domain_migrate_start_post_copy_args {
30262 0     0 0   my $input_length = length $_[3];
30263 0           $_[1] = {};
30264             # Deserializing field: 'dom'
30265             # my ($class, $value, $index, $input) = @_;
30266 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30267              
30268             # Deserializing field: 'flags'
30269             # my ($class, $value, $index, $input) = @_;
30270 0 0         die "Input buffer too short"
30271             if ($input_length - $_[2]) < 4;
30272 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
30273 0           $_[2] += 4;
30274             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30275 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30276             }
30277             # @_: ($class, $value, $index, $output) = @_;
30278             sub serialize_domain_migrate_start_post_copy_args {
30279 0 0   0 0   croak "Missing required input 'struct' value"
30280             unless defined $_[1];
30281              
30282             # Serializing field: 'dom'
30283             croak "Missing required input value 'dom'"
30284 0 0         unless exists $_[1]->{dom};
30285             # my ($class, $value, $index, $output) = @_;
30286 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30287              
30288             # Serializing field: 'flags'
30289             croak "Missing required input value 'flags'"
30290 0 0         unless exists $_[1]->{flags};
30291             # my ($class, $value, $index, $output) = @_;
30292             croak "Missing required input 'unsigned int' value"
30293 0 0         unless defined $_[1]->{flags};
30294             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30295 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30296             die "Non-integer 'int' value given: $_[1]->{flags}"
30297 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
30298 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
30299 0           $_[2] += 4;
30300             }
30301             # @_: ($class, $value, $index, $input) = @_;
30302             sub deserialize_domain_event_callback_device_removal_failed_msg {
30303 0     0 0   my $input_length = length $_[3];
30304 0           $_[1] = {};
30305             # Deserializing field: 'callbackID'
30306             # my ($class, $value, $index, $input) = @_;
30307 0 0         die "Input buffer too short"
30308             if ($input_length - $_[2]) < 4;
30309 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30310 0           $_[2] += 4;
30311             die "Out of bounds 'int': $_[1]->{callbackID}"
30312 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30313              
30314             # Deserializing field: 'dom'
30315             # my ($class, $value, $index, $input) = @_;
30316 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30317              
30318             # Deserializing field: 'devAlias'
30319             # my ($class, $value, $index, $input) = @_;
30320 0           $_[0]->deserialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
30321             }
30322             # @_: ($class, $value, $index, $output) = @_;
30323             sub serialize_domain_event_callback_device_removal_failed_msg {
30324 0 0   0 0   croak "Missing required input 'struct' value"
30325             unless defined $_[1];
30326              
30327             # Serializing field: 'callbackID'
30328             croak "Missing required input value 'callbackID'"
30329 0 0         unless exists $_[1]->{callbackID};
30330             # my ($class, $value, $index, $output) = @_;
30331             croak "Missing required input 'int' value"
30332 0 0         unless defined $_[1]->{callbackID};
30333             die "Out of bounds 'int': $_[1]->{callbackID}"
30334 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30335             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30336 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30337 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30338 0           $_[2] += 4;
30339              
30340             # Serializing field: 'dom'
30341             croak "Missing required input value 'dom'"
30342 0 0         unless exists $_[1]->{dom};
30343             # my ($class, $value, $index, $output) = @_;
30344 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30345              
30346             # Serializing field: 'devAlias'
30347             croak "Missing required input value 'devAlias'"
30348 0 0         unless exists $_[1]->{devAlias};
30349             # my ($class, $value, $index, $output) = @_;
30350 0           $_[0]->serialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
30351             }
30352             # @_: ($class, $value, $index, $input) = @_;
30353             sub deserialize_domain_get_guest_vcpus_args {
30354 0     0 0   my $input_length = length $_[3];
30355 0           $_[1] = {};
30356             # Deserializing field: 'dom'
30357             # my ($class, $value, $index, $input) = @_;
30358 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30359              
30360             # Deserializing field: 'flags'
30361             # my ($class, $value, $index, $input) = @_;
30362 0 0         die "Input buffer too short"
30363             if ($input_length - $_[2]) < 4;
30364 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
30365 0           $_[2] += 4;
30366             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30367 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30368             }
30369             # @_: ($class, $value, $index, $output) = @_;
30370             sub serialize_domain_get_guest_vcpus_args {
30371 0 0   0 0   croak "Missing required input 'struct' value"
30372             unless defined $_[1];
30373              
30374             # Serializing field: 'dom'
30375             croak "Missing required input value 'dom'"
30376 0 0         unless exists $_[1]->{dom};
30377             # my ($class, $value, $index, $output) = @_;
30378 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30379              
30380             # Serializing field: 'flags'
30381             croak "Missing required input value 'flags'"
30382 0 0         unless exists $_[1]->{flags};
30383             # my ($class, $value, $index, $output) = @_;
30384             croak "Missing required input 'unsigned int' value"
30385 0 0         unless defined $_[1]->{flags};
30386             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30387 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30388             die "Non-integer 'int' value given: $_[1]->{flags}"
30389 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
30390 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
30391 0           $_[2] += 4;
30392             }
30393             # @_: ($class, $value, $index, $input) = @_;
30394             sub deserialize_domain_get_guest_vcpus_ret {
30395 0     0 0   my $input_length = length $_[3];
30396 0           $_[1] = {};
30397             # Deserializing field: 'params'
30398             # my ($class, $value, $index, $input) = @_;
30399 0           do {
30400 0 0         die "Input buffer too short"
30401             if ($input_length - $_[2]) < 4;
30402 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
30403 0           $_[2] += 4;
30404              
30405 0 0         die "Array too long (max: 64): $len"
30406             unless ($len <= 64);
30407 0           $_[1]->{params} = [];
30408 0           for my $i1 ( 0 .. ($len - 1) ) {
30409             # my ($class, $value, $index, $input) = @_;
30410 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
30411             }
30412             };
30413             }
30414             # @_: ($class, $value, $index, $output) = @_;
30415             sub serialize_domain_get_guest_vcpus_ret {
30416 0 0   0 0   croak "Missing required input 'struct' value"
30417             unless defined $_[1];
30418              
30419             # Serializing field: 'params'
30420             croak "Missing required input value 'params'"
30421 0 0         unless exists $_[1]->{params};
30422             # my ($class, $value, $index, $output) = @_;
30423             croak "Missing required input 'array' value"
30424 0 0         unless defined $_[1]->{params};
30425 0           do {
30426 0           my $len = scalar @{ $_[1]->{params} };
  0            
30427 0 0         die "Array too long (max: 64): $len"
30428             unless ($len <= 64);
30429              
30430 0           substr( $_[3], $_[2] ) = pack("L>", $len);
30431 0           $_[2] += 4;
30432 0           for my $i1 ( 0 .. ($len - 1) ) {
30433             # my ($class, $value, $index, $output) = @_;
30434 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
30435             }
30436             };
30437             }
30438             # @_: ($class, $value, $index, $input) = @_;
30439             sub deserialize_domain_set_guest_vcpus_args {
30440 0     0 0   my $input_length = length $_[3];
30441 0           $_[1] = {};
30442             # Deserializing field: 'dom'
30443             # my ($class, $value, $index, $input) = @_;
30444 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30445              
30446             # Deserializing field: 'cpumap'
30447             # my ($class, $value, $index, $input) = @_;
30448 0           $_[0]->deserialize_nonnull_string( $_[1]->{cpumap}, $_[2], $_[3] );
30449              
30450             # Deserializing field: 'state'
30451             # my ($class, $value, $index, $input) = @_;
30452 0 0         die "Input buffer too short"
30453             if ($input_length - $_[2]) < 4;
30454 0           $_[1]->{state} = unpack("l>", substr( $_[3], $_[2] ));
30455 0           $_[2] += 4;
30456             die "Out of bounds 'int': $_[1]->{state}"
30457 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
30458              
30459             # Deserializing field: 'flags'
30460             # my ($class, $value, $index, $input) = @_;
30461 0 0         die "Input buffer too short"
30462             if ($input_length - $_[2]) < 4;
30463 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
30464 0           $_[2] += 4;
30465             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30466 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30467             }
30468             # @_: ($class, $value, $index, $output) = @_;
30469             sub serialize_domain_set_guest_vcpus_args {
30470 0 0   0 0   croak "Missing required input 'struct' value"
30471             unless defined $_[1];
30472              
30473             # Serializing field: 'dom'
30474             croak "Missing required input value 'dom'"
30475 0 0         unless exists $_[1]->{dom};
30476             # my ($class, $value, $index, $output) = @_;
30477 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30478              
30479             # Serializing field: 'cpumap'
30480             croak "Missing required input value 'cpumap'"
30481 0 0         unless exists $_[1]->{cpumap};
30482             # my ($class, $value, $index, $output) = @_;
30483 0           $_[0]->serialize_nonnull_string( $_[1]->{cpumap}, $_[2], $_[3] );
30484              
30485             # Serializing field: 'state'
30486             croak "Missing required input value 'state'"
30487 0 0         unless exists $_[1]->{state};
30488             # my ($class, $value, $index, $output) = @_;
30489             croak "Missing required input 'int' value"
30490 0 0         unless defined $_[1]->{state};
30491             die "Out of bounds 'int': $_[1]->{state}"
30492 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
30493             die "Non-integer 'int' value given: $_[1]->{state}"
30494 0 0         unless int($_[1]->{state}) == $_[1]->{state};
30495 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{state});
30496 0           $_[2] += 4;
30497              
30498             # Serializing field: 'flags'
30499             croak "Missing required input value 'flags'"
30500 0 0         unless exists $_[1]->{flags};
30501             # my ($class, $value, $index, $output) = @_;
30502             croak "Missing required input 'unsigned int' value"
30503 0 0         unless defined $_[1]->{flags};
30504             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30505 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30506             die "Non-integer 'int' value given: $_[1]->{flags}"
30507 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
30508 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
30509 0           $_[2] += 4;
30510             }
30511             # @_: ($class, $value, $index, $input) = @_;
30512             sub deserialize_domain_set_vcpu_args {
30513 0     0 0   my $input_length = length $_[3];
30514 0           $_[1] = {};
30515             # Deserializing field: 'dom'
30516             # my ($class, $value, $index, $input) = @_;
30517 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30518              
30519             # Deserializing field: 'cpumap'
30520             # my ($class, $value, $index, $input) = @_;
30521 0           $_[0]->deserialize_nonnull_string( $_[1]->{cpumap}, $_[2], $_[3] );
30522              
30523             # Deserializing field: 'state'
30524             # my ($class, $value, $index, $input) = @_;
30525 0 0         die "Input buffer too short"
30526             if ($input_length - $_[2]) < 4;
30527 0           $_[1]->{state} = unpack("l>", substr( $_[3], $_[2] ));
30528 0           $_[2] += 4;
30529             die "Out of bounds 'int': $_[1]->{state}"
30530 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
30531              
30532             # Deserializing field: 'flags'
30533             # my ($class, $value, $index, $input) = @_;
30534 0 0         die "Input buffer too short"
30535             if ($input_length - $_[2]) < 4;
30536 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
30537 0           $_[2] += 4;
30538             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30539 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30540             }
30541             # @_: ($class, $value, $index, $output) = @_;
30542             sub serialize_domain_set_vcpu_args {
30543 0 0   0 0   croak "Missing required input 'struct' value"
30544             unless defined $_[1];
30545              
30546             # Serializing field: 'dom'
30547             croak "Missing required input value 'dom'"
30548 0 0         unless exists $_[1]->{dom};
30549             # my ($class, $value, $index, $output) = @_;
30550 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30551              
30552             # Serializing field: 'cpumap'
30553             croak "Missing required input value 'cpumap'"
30554 0 0         unless exists $_[1]->{cpumap};
30555             # my ($class, $value, $index, $output) = @_;
30556 0           $_[0]->serialize_nonnull_string( $_[1]->{cpumap}, $_[2], $_[3] );
30557              
30558             # Serializing field: 'state'
30559             croak "Missing required input value 'state'"
30560 0 0         unless exists $_[1]->{state};
30561             # my ($class, $value, $index, $output) = @_;
30562             croak "Missing required input 'int' value"
30563 0 0         unless defined $_[1]->{state};
30564             die "Out of bounds 'int': $_[1]->{state}"
30565 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
30566             die "Non-integer 'int' value given: $_[1]->{state}"
30567 0 0         unless int($_[1]->{state}) == $_[1]->{state};
30568 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{state});
30569 0           $_[2] += 4;
30570              
30571             # Serializing field: 'flags'
30572             croak "Missing required input value 'flags'"
30573 0 0         unless exists $_[1]->{flags};
30574             # my ($class, $value, $index, $output) = @_;
30575             croak "Missing required input 'unsigned int' value"
30576 0 0         unless defined $_[1]->{flags};
30577             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30578 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30579             die "Non-integer 'int' value given: $_[1]->{flags}"
30580 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
30581 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
30582 0           $_[2] += 4;
30583             }
30584             # @_: ($class, $value, $index, $input) = @_;
30585             sub deserialize_domain_event_callback_metadata_change_msg {
30586 0     0 0   my $input_length = length $_[3];
30587 0           $_[1] = {};
30588             # Deserializing field: 'callbackID'
30589             # my ($class, $value, $index, $input) = @_;
30590 0 0         die "Input buffer too short"
30591             if ($input_length - $_[2]) < 4;
30592 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30593 0           $_[2] += 4;
30594             die "Out of bounds 'int': $_[1]->{callbackID}"
30595 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30596              
30597             # Deserializing field: 'dom'
30598             # my ($class, $value, $index, $input) = @_;
30599 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30600              
30601             # Deserializing field: 'type'
30602             # my ($class, $value, $index, $input) = @_;
30603 0 0         die "Input buffer too short"
30604             if ($input_length - $_[2]) < 4;
30605 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
30606 0           $_[2] += 4;
30607             die "Out of bounds 'int': $_[1]->{type}"
30608 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
30609              
30610             # Deserializing field: 'nsuri'
30611             # my ($class, $value, $index, $input) = @_;
30612 0           $_[0]->deserialize_string( $_[1]->{nsuri}, $_[2], $_[3] );
30613             }
30614             # @_: ($class, $value, $index, $output) = @_;
30615             sub serialize_domain_event_callback_metadata_change_msg {
30616 0 0   0 0   croak "Missing required input 'struct' value"
30617             unless defined $_[1];
30618              
30619             # Serializing field: 'callbackID'
30620             croak "Missing required input value 'callbackID'"
30621 0 0         unless exists $_[1]->{callbackID};
30622             # my ($class, $value, $index, $output) = @_;
30623             croak "Missing required input 'int' value"
30624 0 0         unless defined $_[1]->{callbackID};
30625             die "Out of bounds 'int': $_[1]->{callbackID}"
30626 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30627             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30628 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30629 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30630 0           $_[2] += 4;
30631              
30632             # Serializing field: 'dom'
30633             croak "Missing required input value 'dom'"
30634 0 0         unless exists $_[1]->{dom};
30635             # my ($class, $value, $index, $output) = @_;
30636 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30637              
30638             # Serializing field: 'type'
30639             croak "Missing required input value 'type'"
30640 0 0         unless exists $_[1]->{type};
30641             # my ($class, $value, $index, $output) = @_;
30642             croak "Missing required input 'int' value"
30643 0 0         unless defined $_[1]->{type};
30644             die "Out of bounds 'int': $_[1]->{type}"
30645 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
30646             die "Non-integer 'int' value given: $_[1]->{type}"
30647 0 0         unless int($_[1]->{type}) == $_[1]->{type};
30648 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
30649 0           $_[2] += 4;
30650              
30651             # Serializing field: 'nsuri'
30652             croak "Missing required input value 'nsuri'"
30653 0 0         unless exists $_[1]->{nsuri};
30654             # my ($class, $value, $index, $output) = @_;
30655 0           $_[0]->serialize_string( $_[1]->{nsuri}, $_[2], $_[3] );
30656             }
30657             # @_: ($class, $value, $index, $input) = @_;
30658             sub deserialize_domain_event_memory_failure_msg {
30659 0     0 0   my $input_length = length $_[3];
30660 0           $_[1] = {};
30661             # Deserializing field: 'callbackID'
30662             # my ($class, $value, $index, $input) = @_;
30663 0 0         die "Input buffer too short"
30664             if ($input_length - $_[2]) < 4;
30665 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30666 0           $_[2] += 4;
30667             die "Out of bounds 'int': $_[1]->{callbackID}"
30668 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30669              
30670             # Deserializing field: 'dom'
30671             # my ($class, $value, $index, $input) = @_;
30672 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30673              
30674             # Deserializing field: 'recipient'
30675             # my ($class, $value, $index, $input) = @_;
30676 0 0         die "Input buffer too short"
30677             if ($input_length - $_[2]) < 4;
30678 0           $_[1]->{recipient} = unpack("l>", substr( $_[3], $_[2] ));
30679 0           $_[2] += 4;
30680             die "Out of bounds 'int': $_[1]->{recipient}"
30681 0 0 0       unless (-2147483648 <= $_[1]->{recipient} and $_[1]->{recipient} < 2147483648);
30682              
30683             # Deserializing field: 'action'
30684             # my ($class, $value, $index, $input) = @_;
30685 0 0         die "Input buffer too short"
30686             if ($input_length - $_[2]) < 4;
30687 0           $_[1]->{action} = unpack("l>", substr( $_[3], $_[2] ));
30688 0           $_[2] += 4;
30689             die "Out of bounds 'int': $_[1]->{action}"
30690 0 0 0       unless (-2147483648 <= $_[1]->{action} and $_[1]->{action} < 2147483648);
30691              
30692             # Deserializing field: 'flags'
30693             # my ($class, $value, $index, $input) = @_;
30694 0 0         die "Input buffer too short"
30695             if ($input_length - $_[2]) < 4;
30696 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
30697 0           $_[2] += 4;
30698             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30699 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30700             }
30701             # @_: ($class, $value, $index, $output) = @_;
30702             sub serialize_domain_event_memory_failure_msg {
30703 0 0   0 0   croak "Missing required input 'struct' value"
30704             unless defined $_[1];
30705              
30706             # Serializing field: 'callbackID'
30707             croak "Missing required input value 'callbackID'"
30708 0 0         unless exists $_[1]->{callbackID};
30709             # my ($class, $value, $index, $output) = @_;
30710             croak "Missing required input 'int' value"
30711 0 0         unless defined $_[1]->{callbackID};
30712             die "Out of bounds 'int': $_[1]->{callbackID}"
30713 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30714             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30715 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30716 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30717 0           $_[2] += 4;
30718              
30719             # Serializing field: 'dom'
30720             croak "Missing required input value 'dom'"
30721 0 0         unless exists $_[1]->{dom};
30722             # my ($class, $value, $index, $output) = @_;
30723 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30724              
30725             # Serializing field: 'recipient'
30726             croak "Missing required input value 'recipient'"
30727 0 0         unless exists $_[1]->{recipient};
30728             # my ($class, $value, $index, $output) = @_;
30729             croak "Missing required input 'int' value"
30730 0 0         unless defined $_[1]->{recipient};
30731             die "Out of bounds 'int': $_[1]->{recipient}"
30732 0 0 0       unless (-2147483648 <= $_[1]->{recipient} and $_[1]->{recipient} < 2147483648);
30733             die "Non-integer 'int' value given: $_[1]->{recipient}"
30734 0 0         unless int($_[1]->{recipient}) == $_[1]->{recipient};
30735 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{recipient});
30736 0           $_[2] += 4;
30737              
30738             # Serializing field: 'action'
30739             croak "Missing required input value 'action'"
30740 0 0         unless exists $_[1]->{action};
30741             # my ($class, $value, $index, $output) = @_;
30742             croak "Missing required input 'int' value"
30743 0 0         unless defined $_[1]->{action};
30744             die "Out of bounds 'int': $_[1]->{action}"
30745 0 0 0       unless (-2147483648 <= $_[1]->{action} and $_[1]->{action} < 2147483648);
30746             die "Non-integer 'int' value given: $_[1]->{action}"
30747 0 0         unless int($_[1]->{action}) == $_[1]->{action};
30748 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{action});
30749 0           $_[2] += 4;
30750              
30751             # Serializing field: 'flags'
30752             croak "Missing required input value 'flags'"
30753 0 0         unless exists $_[1]->{flags};
30754             # my ($class, $value, $index, $output) = @_;
30755             croak "Missing required input 'unsigned int' value"
30756 0 0         unless defined $_[1]->{flags};
30757             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30758 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30759             die "Non-integer 'int' value given: $_[1]->{flags}"
30760 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
30761 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
30762 0           $_[2] += 4;
30763             }
30764             # @_: ($class, $value, $index, $input) = @_;
30765             sub deserialize_connect_secret_event_register_any_args {
30766 0     0 0   my $input_length = length $_[3];
30767 0           $_[1] = {};
30768             # Deserializing field: 'eventID'
30769             # my ($class, $value, $index, $input) = @_;
30770 0 0         die "Input buffer too short"
30771             if ($input_length - $_[2]) < 4;
30772 0           $_[1]->{eventID} = unpack("l>", substr( $_[3], $_[2] ));
30773 0           $_[2] += 4;
30774             die "Out of bounds 'int': $_[1]->{eventID}"
30775 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
30776              
30777             # Deserializing field: 'secret'
30778             # my ($class, $value, $index, $input) = @_;
30779 0           $_[0]->deserialize_secret( $_[1]->{secret}, $_[2], $_[3] );
30780             }
30781             # @_: ($class, $value, $index, $output) = @_;
30782             sub serialize_connect_secret_event_register_any_args {
30783 0 0   0 0   croak "Missing required input 'struct' value"
30784             unless defined $_[1];
30785              
30786             # Serializing field: 'eventID'
30787             croak "Missing required input value 'eventID'"
30788 0 0         unless exists $_[1]->{eventID};
30789             # my ($class, $value, $index, $output) = @_;
30790             croak "Missing required input 'int' value"
30791 0 0         unless defined $_[1]->{eventID};
30792             die "Out of bounds 'int': $_[1]->{eventID}"
30793 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
30794             die "Non-integer 'int' value given: $_[1]->{eventID}"
30795 0 0         unless int($_[1]->{eventID}) == $_[1]->{eventID};
30796 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{eventID});
30797 0           $_[2] += 4;
30798              
30799             # Serializing field: 'secret'
30800             croak "Missing required input value 'secret'"
30801 0 0         unless exists $_[1]->{secret};
30802             # my ($class, $value, $index, $output) = @_;
30803 0           $_[0]->serialize_secret( $_[1]->{secret}, $_[2], $_[3] );
30804             }
30805             # @_: ($class, $value, $index, $input) = @_;
30806             sub deserialize_connect_secret_event_register_any_ret {
30807 0     0 0   my $input_length = length $_[3];
30808 0           $_[1] = {};
30809             # Deserializing field: 'callbackID'
30810             # my ($class, $value, $index, $input) = @_;
30811 0 0         die "Input buffer too short"
30812             if ($input_length - $_[2]) < 4;
30813 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30814 0           $_[2] += 4;
30815             die "Out of bounds 'int': $_[1]->{callbackID}"
30816 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30817             }
30818             # @_: ($class, $value, $index, $output) = @_;
30819             sub serialize_connect_secret_event_register_any_ret {
30820 0 0   0 0   croak "Missing required input 'struct' value"
30821             unless defined $_[1];
30822              
30823             # Serializing field: 'callbackID'
30824             croak "Missing required input value 'callbackID'"
30825 0 0         unless exists $_[1]->{callbackID};
30826             # my ($class, $value, $index, $output) = @_;
30827             croak "Missing required input 'int' value"
30828 0 0         unless defined $_[1]->{callbackID};
30829             die "Out of bounds 'int': $_[1]->{callbackID}"
30830 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30831             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30832 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30833 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30834 0           $_[2] += 4;
30835             }
30836             # @_: ($class, $value, $index, $input) = @_;
30837             sub deserialize_connect_secret_event_deregister_any_args {
30838 0     0 0   my $input_length = length $_[3];
30839 0           $_[1] = {};
30840             # Deserializing field: 'callbackID'
30841             # my ($class, $value, $index, $input) = @_;
30842 0 0         die "Input buffer too short"
30843             if ($input_length - $_[2]) < 4;
30844 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30845 0           $_[2] += 4;
30846             die "Out of bounds 'int': $_[1]->{callbackID}"
30847 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30848             }
30849             # @_: ($class, $value, $index, $output) = @_;
30850             sub serialize_connect_secret_event_deregister_any_args {
30851 0 0   0 0   croak "Missing required input 'struct' value"
30852             unless defined $_[1];
30853              
30854             # Serializing field: 'callbackID'
30855             croak "Missing required input value 'callbackID'"
30856 0 0         unless exists $_[1]->{callbackID};
30857             # my ($class, $value, $index, $output) = @_;
30858             croak "Missing required input 'int' value"
30859 0 0         unless defined $_[1]->{callbackID};
30860             die "Out of bounds 'int': $_[1]->{callbackID}"
30861 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30862             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30863 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30864 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30865 0           $_[2] += 4;
30866             }
30867             # @_: ($class, $value, $index, $input) = @_;
30868             sub deserialize_secret_event_lifecycle_msg {
30869 0     0 0   my $input_length = length $_[3];
30870 0           $_[1] = {};
30871             # Deserializing field: 'callbackID'
30872             # my ($class, $value, $index, $input) = @_;
30873 0 0         die "Input buffer too short"
30874             if ($input_length - $_[2]) < 4;
30875 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30876 0           $_[2] += 4;
30877             die "Out of bounds 'int': $_[1]->{callbackID}"
30878 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30879              
30880             # Deserializing field: 'secret'
30881             # my ($class, $value, $index, $input) = @_;
30882 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
30883              
30884             # Deserializing field: 'event'
30885             # my ($class, $value, $index, $input) = @_;
30886 0 0         die "Input buffer too short"
30887             if ($input_length - $_[2]) < 4;
30888 0           $_[1]->{event} = unpack("l>", substr( $_[3], $_[2] ));
30889 0           $_[2] += 4;
30890             die "Out of bounds 'int': $_[1]->{event}"
30891 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
30892              
30893             # Deserializing field: 'detail'
30894             # my ($class, $value, $index, $input) = @_;
30895 0 0         die "Input buffer too short"
30896             if ($input_length - $_[2]) < 4;
30897 0           $_[1]->{detail} = unpack("l>", substr( $_[3], $_[2] ));
30898 0           $_[2] += 4;
30899             die "Out of bounds 'int': $_[1]->{detail}"
30900 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
30901             }
30902             # @_: ($class, $value, $index, $output) = @_;
30903             sub serialize_secret_event_lifecycle_msg {
30904 0 0   0 0   croak "Missing required input 'struct' value"
30905             unless defined $_[1];
30906              
30907             # Serializing field: 'callbackID'
30908             croak "Missing required input value 'callbackID'"
30909 0 0         unless exists $_[1]->{callbackID};
30910             # my ($class, $value, $index, $output) = @_;
30911             croak "Missing required input 'int' value"
30912 0 0         unless defined $_[1]->{callbackID};
30913             die "Out of bounds 'int': $_[1]->{callbackID}"
30914 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30915             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30916 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30917 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30918 0           $_[2] += 4;
30919              
30920             # Serializing field: 'secret'
30921             croak "Missing required input value 'secret'"
30922 0 0         unless exists $_[1]->{secret};
30923             # my ($class, $value, $index, $output) = @_;
30924 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
30925              
30926             # Serializing field: 'event'
30927             croak "Missing required input value 'event'"
30928 0 0         unless exists $_[1]->{event};
30929             # my ($class, $value, $index, $output) = @_;
30930             croak "Missing required input 'int' value"
30931 0 0         unless defined $_[1]->{event};
30932             die "Out of bounds 'int': $_[1]->{event}"
30933 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
30934             die "Non-integer 'int' value given: $_[1]->{event}"
30935 0 0         unless int($_[1]->{event}) == $_[1]->{event};
30936 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{event});
30937 0           $_[2] += 4;
30938              
30939             # Serializing field: 'detail'
30940             croak "Missing required input value 'detail'"
30941 0 0         unless exists $_[1]->{detail};
30942             # my ($class, $value, $index, $output) = @_;
30943             croak "Missing required input 'int' value"
30944 0 0         unless defined $_[1]->{detail};
30945             die "Out of bounds 'int': $_[1]->{detail}"
30946 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
30947             die "Non-integer 'int' value given: $_[1]->{detail}"
30948 0 0         unless int($_[1]->{detail}) == $_[1]->{detail};
30949 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{detail});
30950 0           $_[2] += 4;
30951             }
30952             # @_: ($class, $value, $index, $input) = @_;
30953             sub deserialize_secret_event_value_changed_msg {
30954 0     0 0   my $input_length = length $_[3];
30955 0           $_[1] = {};
30956             # Deserializing field: 'callbackID'
30957             # my ($class, $value, $index, $input) = @_;
30958 0 0         die "Input buffer too short"
30959             if ($input_length - $_[2]) < 4;
30960 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30961 0           $_[2] += 4;
30962             die "Out of bounds 'int': $_[1]->{callbackID}"
30963 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30964              
30965             # Deserializing field: 'secret'
30966             # my ($class, $value, $index, $input) = @_;
30967 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
30968             }
30969             # @_: ($class, $value, $index, $output) = @_;
30970             sub serialize_secret_event_value_changed_msg {
30971 0 0   0 0   croak "Missing required input 'struct' value"
30972             unless defined $_[1];
30973              
30974             # Serializing field: 'callbackID'
30975             croak "Missing required input value 'callbackID'"
30976 0 0         unless exists $_[1]->{callbackID};
30977             # my ($class, $value, $index, $output) = @_;
30978             croak "Missing required input 'int' value"
30979 0 0         unless defined $_[1]->{callbackID};
30980             die "Out of bounds 'int': $_[1]->{callbackID}"
30981 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30982             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30983 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30984 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30985 0           $_[2] += 4;
30986              
30987             # Serializing field: 'secret'
30988             croak "Missing required input value 'secret'"
30989 0 0         unless exists $_[1]->{secret};
30990             # my ($class, $value, $index, $output) = @_;
30991 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
30992             }
30993             # @_: ($class, $value, $index, $input) = @_;
30994             sub deserialize_domain_set_block_threshold_args {
30995 0     0 0   my $input_length = length $_[3];
30996 0           $_[1] = {};
30997             # Deserializing field: 'dom'
30998             # my ($class, $value, $index, $input) = @_;
30999 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
31000              
31001             # Deserializing field: 'dev'
31002             # my ($class, $value, $index, $input) = @_;
31003 0           $_[0]->deserialize_nonnull_string( $_[1]->{dev}, $_[2], $_[3] );
31004              
31005             # Deserializing field: 'threshold'
31006             # my ($class, $value, $index, $input) = @_;
31007 0 0         die "Input buffer too short"
31008             if ($input_length - $_[2]) < 8;
31009 0           $_[1]->{threshold} = unpack("Q>", substr( $_[3], $_[2] ));
31010 0           $_[2] += 8;
31011             die "Out of bounds 'unsigned hyper': $_[1]->{threshold}"
31012             unless (0 <= $_[1]->{threshold}
31013 0 0 0       and $_[1]->{threshold} <= 18446744073709551615);
31014              
31015             # Deserializing field: 'flags'
31016             # my ($class, $value, $index, $input) = @_;
31017 0 0         die "Input buffer too short"
31018             if ($input_length - $_[2]) < 4;
31019 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31020 0           $_[2] += 4;
31021             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31022 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31023             }
31024             # @_: ($class, $value, $index, $output) = @_;
31025             sub serialize_domain_set_block_threshold_args {
31026 0 0   0 0   croak "Missing required input 'struct' value"
31027             unless defined $_[1];
31028              
31029             # Serializing field: 'dom'
31030             croak "Missing required input value 'dom'"
31031 0 0         unless exists $_[1]->{dom};
31032             # my ($class, $value, $index, $output) = @_;
31033 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
31034              
31035             # Serializing field: 'dev'
31036             croak "Missing required input value 'dev'"
31037 0 0         unless exists $_[1]->{dev};
31038             # my ($class, $value, $index, $output) = @_;
31039 0           $_[0]->serialize_nonnull_string( $_[1]->{dev}, $_[2], $_[3] );
31040              
31041             # Serializing field: 'threshold'
31042             croak "Missing required input value 'threshold'"
31043 0 0         unless exists $_[1]->{threshold};
31044             # my ($class, $value, $index, $output) = @_;
31045             croak "Missing required input 'unsigned long' value"
31046 0 0         unless defined $_[1]->{threshold};
31047             die "Out of bounds 'unsigned hyper': $_[1]->{threshold}"
31048             unless (0 <= $_[1]->{threshold}
31049 0 0 0       and $_[1]->{threshold} <= 18446744073709551615);
31050             die "Non-integer 'long' value given: $_[1]->{threshold}"
31051 0 0         unless int($_[1]->{threshold}) == $_[1]->{threshold};
31052 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{threshold});
31053 0           $_[2] += 8;
31054              
31055             # Serializing field: 'flags'
31056             croak "Missing required input value 'flags'"
31057 0 0         unless exists $_[1]->{flags};
31058             # my ($class, $value, $index, $output) = @_;
31059             croak "Missing required input 'unsigned int' value"
31060 0 0         unless defined $_[1]->{flags};
31061             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31062 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31063             die "Non-integer 'int' value given: $_[1]->{flags}"
31064 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31065 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31066 0           $_[2] += 4;
31067             }
31068             # @_: ($class, $value, $index, $input) = @_;
31069             sub deserialize_domain_set_lifecycle_action_args {
31070 0     0 0   my $input_length = length $_[3];
31071 0           $_[1] = {};
31072             # Deserializing field: 'dom'
31073             # my ($class, $value, $index, $input) = @_;
31074 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
31075              
31076             # Deserializing field: 'type'
31077             # my ($class, $value, $index, $input) = @_;
31078 0 0         die "Input buffer too short"
31079             if ($input_length - $_[2]) < 4;
31080 0           $_[1]->{type} = unpack("L>", substr( $_[3], $_[2] ));
31081 0           $_[2] += 4;
31082             die "Out of bounds 'unsigned int': $_[1]->{type}"
31083 0 0 0       unless (0 <= $_[1]->{type} and $_[1]->{type} <= 4294967295);
31084              
31085             # Deserializing field: 'action'
31086             # my ($class, $value, $index, $input) = @_;
31087 0 0         die "Input buffer too short"
31088             if ($input_length - $_[2]) < 4;
31089 0           $_[1]->{action} = unpack("L>", substr( $_[3], $_[2] ));
31090 0           $_[2] += 4;
31091             die "Out of bounds 'unsigned int': $_[1]->{action}"
31092 0 0 0       unless (0 <= $_[1]->{action} and $_[1]->{action} <= 4294967295);
31093              
31094             # Deserializing field: 'flags'
31095             # my ($class, $value, $index, $input) = @_;
31096 0 0         die "Input buffer too short"
31097             if ($input_length - $_[2]) < 4;
31098 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31099 0           $_[2] += 4;
31100             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31101 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31102             }
31103             # @_: ($class, $value, $index, $output) = @_;
31104             sub serialize_domain_set_lifecycle_action_args {
31105 0 0   0 0   croak "Missing required input 'struct' value"
31106             unless defined $_[1];
31107              
31108             # Serializing field: 'dom'
31109             croak "Missing required input value 'dom'"
31110 0 0         unless exists $_[1]->{dom};
31111             # my ($class, $value, $index, $output) = @_;
31112 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
31113              
31114             # Serializing field: 'type'
31115             croak "Missing required input value 'type'"
31116 0 0         unless exists $_[1]->{type};
31117             # my ($class, $value, $index, $output) = @_;
31118             croak "Missing required input 'unsigned int' value"
31119 0 0         unless defined $_[1]->{type};
31120             die "Out of bounds 'unsigned int': $_[1]->{type}"
31121 0 0 0       unless (0 <= $_[1]->{type} and $_[1]->{type} <= 4294967295);
31122             die "Non-integer 'int' value given: $_[1]->{type}"
31123 0 0         unless int($_[1]->{type}) == $_[1]->{type};
31124 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{type});
31125 0           $_[2] += 4;
31126              
31127             # Serializing field: 'action'
31128             croak "Missing required input value 'action'"
31129 0 0         unless exists $_[1]->{action};
31130             # my ($class, $value, $index, $output) = @_;
31131             croak "Missing required input 'unsigned int' value"
31132 0 0         unless defined $_[1]->{action};
31133             die "Out of bounds 'unsigned int': $_[1]->{action}"
31134 0 0 0       unless (0 <= $_[1]->{action} and $_[1]->{action} <= 4294967295);
31135             die "Non-integer 'int' value given: $_[1]->{action}"
31136 0 0         unless int($_[1]->{action}) == $_[1]->{action};
31137 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{action});
31138 0           $_[2] += 4;
31139              
31140             # Serializing field: 'flags'
31141             croak "Missing required input value 'flags'"
31142 0 0         unless exists $_[1]->{flags};
31143             # my ($class, $value, $index, $output) = @_;
31144             croak "Missing required input 'unsigned int' value"
31145 0 0         unless defined $_[1]->{flags};
31146             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31147 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31148             die "Non-integer 'int' value given: $_[1]->{flags}"
31149 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31150 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31151 0           $_[2] += 4;
31152             }
31153             # @_: ($class, $value, $index, $input) = @_;
31154             sub deserialize_connect_compare_hypervisor_cpu_args {
31155 0     0 0   my $input_length = length $_[3];
31156 0           $_[1] = {};
31157             # Deserializing field: 'emulator'
31158             # my ($class, $value, $index, $input) = @_;
31159 0           $_[0]->deserialize_string( $_[1]->{emulator}, $_[2], $_[3] );
31160              
31161             # Deserializing field: 'arch'
31162             # my ($class, $value, $index, $input) = @_;
31163 0           $_[0]->deserialize_string( $_[1]->{arch}, $_[2], $_[3] );
31164              
31165             # Deserializing field: 'machine'
31166             # my ($class, $value, $index, $input) = @_;
31167 0           $_[0]->deserialize_string( $_[1]->{machine}, $_[2], $_[3] );
31168              
31169             # Deserializing field: 'virttype'
31170             # my ($class, $value, $index, $input) = @_;
31171 0           $_[0]->deserialize_string( $_[1]->{virttype}, $_[2], $_[3] );
31172              
31173             # Deserializing field: 'xmlCPU'
31174             # my ($class, $value, $index, $input) = @_;
31175 0           $_[0]->deserialize_nonnull_string( $_[1]->{xmlCPU}, $_[2], $_[3] );
31176              
31177             # Deserializing field: 'flags'
31178             # my ($class, $value, $index, $input) = @_;
31179 0 0         die "Input buffer too short"
31180             if ($input_length - $_[2]) < 4;
31181 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31182 0           $_[2] += 4;
31183             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31184 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31185             }
31186             # @_: ($class, $value, $index, $output) = @_;
31187             sub serialize_connect_compare_hypervisor_cpu_args {
31188 0 0   0 0   croak "Missing required input 'struct' value"
31189             unless defined $_[1];
31190              
31191             # Serializing field: 'emulator'
31192             croak "Missing required input value 'emulator'"
31193 0 0         unless exists $_[1]->{emulator};
31194             # my ($class, $value, $index, $output) = @_;
31195 0           $_[0]->serialize_string( $_[1]->{emulator}, $_[2], $_[3] );
31196              
31197             # Serializing field: 'arch'
31198             croak "Missing required input value 'arch'"
31199 0 0         unless exists $_[1]->{arch};
31200             # my ($class, $value, $index, $output) = @_;
31201 0           $_[0]->serialize_string( $_[1]->{arch}, $_[2], $_[3] );
31202              
31203             # Serializing field: 'machine'
31204             croak "Missing required input value 'machine'"
31205 0 0         unless exists $_[1]->{machine};
31206             # my ($class, $value, $index, $output) = @_;
31207 0           $_[0]->serialize_string( $_[1]->{machine}, $_[2], $_[3] );
31208              
31209             # Serializing field: 'virttype'
31210             croak "Missing required input value 'virttype'"
31211 0 0         unless exists $_[1]->{virttype};
31212             # my ($class, $value, $index, $output) = @_;
31213 0           $_[0]->serialize_string( $_[1]->{virttype}, $_[2], $_[3] );
31214              
31215             # Serializing field: 'xmlCPU'
31216             croak "Missing required input value 'xmlCPU'"
31217 0 0         unless exists $_[1]->{xmlCPU};
31218             # my ($class, $value, $index, $output) = @_;
31219 0           $_[0]->serialize_nonnull_string( $_[1]->{xmlCPU}, $_[2], $_[3] );
31220              
31221             # Serializing field: 'flags'
31222             croak "Missing required input value 'flags'"
31223 0 0         unless exists $_[1]->{flags};
31224             # my ($class, $value, $index, $output) = @_;
31225             croak "Missing required input 'unsigned int' value"
31226 0 0         unless defined $_[1]->{flags};
31227             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31228 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31229             die "Non-integer 'int' value given: $_[1]->{flags}"
31230 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31231 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31232 0           $_[2] += 4;
31233             }
31234             # @_: ($class, $value, $index, $input) = @_;
31235             sub deserialize_connect_compare_hypervisor_cpu_ret {
31236 0     0 0   my $input_length = length $_[3];
31237 0           $_[1] = {};
31238             # Deserializing field: 'result'
31239             # my ($class, $value, $index, $input) = @_;
31240 0 0         die "Input buffer too short"
31241             if ($input_length - $_[2]) < 4;
31242 0           $_[1]->{result} = unpack("l>", substr( $_[3], $_[2] ));
31243 0           $_[2] += 4;
31244             die "Out of bounds 'int': $_[1]->{result}"
31245 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
31246             }
31247             # @_: ($class, $value, $index, $output) = @_;
31248             sub serialize_connect_compare_hypervisor_cpu_ret {
31249 0 0   0 0   croak "Missing required input 'struct' value"
31250             unless defined $_[1];
31251              
31252             # Serializing field: 'result'
31253             croak "Missing required input value 'result'"
31254 0 0         unless exists $_[1]->{result};
31255             # my ($class, $value, $index, $output) = @_;
31256             croak "Missing required input 'int' value"
31257 0 0         unless defined $_[1]->{result};
31258             die "Out of bounds 'int': $_[1]->{result}"
31259 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
31260             die "Non-integer 'int' value given: $_[1]->{result}"
31261 0 0         unless int($_[1]->{result}) == $_[1]->{result};
31262 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{result});
31263 0           $_[2] += 4;
31264             }
31265             # @_: ($class, $value, $index, $input) = @_;
31266             sub deserialize_connect_baseline_hypervisor_cpu_args {
31267 0     0 0   my $input_length = length $_[3];
31268 0           $_[1] = {};
31269             # Deserializing field: 'emulator'
31270             # my ($class, $value, $index, $input) = @_;
31271 0           $_[0]->deserialize_string( $_[1]->{emulator}, $_[2], $_[3] );
31272              
31273             # Deserializing field: 'arch'
31274             # my ($class, $value, $index, $input) = @_;
31275 0           $_[0]->deserialize_string( $_[1]->{arch}, $_[2], $_[3] );
31276              
31277             # Deserializing field: 'machine'
31278             # my ($class, $value, $index, $input) = @_;
31279 0           $_[0]->deserialize_string( $_[1]->{machine}, $_[2], $_[3] );
31280              
31281             # Deserializing field: 'virttype'
31282             # my ($class, $value, $index, $input) = @_;
31283 0           $_[0]->deserialize_string( $_[1]->{virttype}, $_[2], $_[3] );
31284              
31285             # Deserializing field: 'xmlCPUs'
31286             # my ($class, $value, $index, $input) = @_;
31287 0           do {
31288 0 0         die "Input buffer too short"
31289             if ($input_length - $_[2]) < 4;
31290 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
31291 0           $_[2] += 4;
31292              
31293 0 0         die "Array too long (max: 256): $len"
31294             unless ($len <= 256);
31295 0           $_[1]->{xmlCPUs} = [];
31296 0           for my $i1 ( 0 .. ($len - 1) ) {
31297             # my ($class, $value, $index, $input) = @_;
31298 0           $_[0]->deserialize_nonnull_string( $_[1]->{xmlCPUs}->[$i1], $_[2], $_[3] );
31299             }
31300             };
31301              
31302             # Deserializing field: 'flags'
31303             # my ($class, $value, $index, $input) = @_;
31304 0 0         die "Input buffer too short"
31305             if ($input_length - $_[2]) < 4;
31306 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31307 0           $_[2] += 4;
31308             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31309 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31310             }
31311             # @_: ($class, $value, $index, $output) = @_;
31312             sub serialize_connect_baseline_hypervisor_cpu_args {
31313 0 0   0 0   croak "Missing required input 'struct' value"
31314             unless defined $_[1];
31315              
31316             # Serializing field: 'emulator'
31317             croak "Missing required input value 'emulator'"
31318 0 0         unless exists $_[1]->{emulator};
31319             # my ($class, $value, $index, $output) = @_;
31320 0           $_[0]->serialize_string( $_[1]->{emulator}, $_[2], $_[3] );
31321              
31322             # Serializing field: 'arch'
31323             croak "Missing required input value 'arch'"
31324 0 0         unless exists $_[1]->{arch};
31325             # my ($class, $value, $index, $output) = @_;
31326 0           $_[0]->serialize_string( $_[1]->{arch}, $_[2], $_[3] );
31327              
31328             # Serializing field: 'machine'
31329             croak "Missing required input value 'machine'"
31330 0 0         unless exists $_[1]->{machine};
31331             # my ($class, $value, $index, $output) = @_;
31332 0           $_[0]->serialize_string( $_[1]->{machine}, $_[2], $_[3] );
31333              
31334             # Serializing field: 'virttype'
31335             croak "Missing required input value 'virttype'"
31336 0 0         unless exists $_[1]->{virttype};
31337             # my ($class, $value, $index, $output) = @_;
31338 0           $_[0]->serialize_string( $_[1]->{virttype}, $_[2], $_[3] );
31339              
31340             # Serializing field: 'xmlCPUs'
31341             croak "Missing required input value 'xmlCPUs'"
31342 0 0         unless exists $_[1]->{xmlCPUs};
31343             # my ($class, $value, $index, $output) = @_;
31344             croak "Missing required input 'array' value"
31345 0 0         unless defined $_[1]->{xmlCPUs};
31346 0           do {
31347 0           my $len = scalar @{ $_[1]->{xmlCPUs} };
  0            
31348 0 0         die "Array too long (max: 256): $len"
31349             unless ($len <= 256);
31350              
31351 0           substr( $_[3], $_[2] ) = pack("L>", $len);
31352 0           $_[2] += 4;
31353 0           for my $i1 ( 0 .. ($len - 1) ) {
31354             # my ($class, $value, $index, $output) = @_;
31355 0           $_[0]->serialize_nonnull_string( $_[1]->{xmlCPUs}->[$i1], $_[2], $_[3] );
31356             }
31357             };
31358              
31359             # Serializing field: 'flags'
31360             croak "Missing required input value 'flags'"
31361 0 0         unless exists $_[1]->{flags};
31362             # my ($class, $value, $index, $output) = @_;
31363             croak "Missing required input 'unsigned int' value"
31364 0 0         unless defined $_[1]->{flags};
31365             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31366 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31367             die "Non-integer 'int' value given: $_[1]->{flags}"
31368 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31369 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31370 0           $_[2] += 4;
31371             }
31372             # @_: ($class, $value, $index, $input) = @_;
31373             sub deserialize_connect_baseline_hypervisor_cpu_ret {
31374 0     0 0   my $input_length = length $_[3];
31375 0           $_[1] = {};
31376             # Deserializing field: 'cpu'
31377             # my ($class, $value, $index, $input) = @_;
31378 0           $_[0]->deserialize_nonnull_string( $_[1]->{cpu}, $_[2], $_[3] );
31379             }
31380             # @_: ($class, $value, $index, $output) = @_;
31381             sub serialize_connect_baseline_hypervisor_cpu_ret {
31382 0 0   0 0   croak "Missing required input 'struct' value"
31383             unless defined $_[1];
31384              
31385             # Serializing field: 'cpu'
31386             croak "Missing required input value 'cpu'"
31387 0 0         unless exists $_[1]->{cpu};
31388             # my ($class, $value, $index, $output) = @_;
31389 0           $_[0]->serialize_nonnull_string( $_[1]->{cpu}, $_[2], $_[3] );
31390             }
31391             # @_: ($class, $value, $index, $input) = @_;
31392             sub deserialize_node_get_sev_info_args {
31393 0     0 0   my $input_length = length $_[3];
31394 0           $_[1] = {};
31395             # Deserializing field: 'nparams'
31396             # my ($class, $value, $index, $input) = @_;
31397 0 0         die "Input buffer too short"
31398             if ($input_length - $_[2]) < 4;
31399 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
31400 0           $_[2] += 4;
31401             die "Out of bounds 'int': $_[1]->{nparams}"
31402 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
31403              
31404             # Deserializing field: 'flags'
31405             # my ($class, $value, $index, $input) = @_;
31406 0 0         die "Input buffer too short"
31407             if ($input_length - $_[2]) < 4;
31408 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31409 0           $_[2] += 4;
31410             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31411 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31412             }
31413             # @_: ($class, $value, $index, $output) = @_;
31414             sub serialize_node_get_sev_info_args {
31415 0 0   0 0   croak "Missing required input 'struct' value"
31416             unless defined $_[1];
31417              
31418             # Serializing field: 'nparams'
31419             croak "Missing required input value 'nparams'"
31420 0 0         unless exists $_[1]->{nparams};
31421             # my ($class, $value, $index, $output) = @_;
31422             croak "Missing required input 'int' value"
31423 0 0         unless defined $_[1]->{nparams};
31424             die "Out of bounds 'int': $_[1]->{nparams}"
31425 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
31426             die "Non-integer 'int' value given: $_[1]->{nparams}"
31427 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
31428 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
31429 0           $_[2] += 4;
31430              
31431             # Serializing field: 'flags'
31432             croak "Missing required input value 'flags'"
31433 0 0         unless exists $_[1]->{flags};
31434             # my ($class, $value, $index, $output) = @_;
31435             croak "Missing required input 'unsigned int' value"
31436 0 0         unless defined $_[1]->{flags};
31437             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31438 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31439             die "Non-integer 'int' value given: $_[1]->{flags}"
31440 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31441 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31442 0           $_[2] += 4;
31443             }
31444             # @_: ($class, $value, $index, $input) = @_;
31445             sub deserialize_node_get_sev_info_ret {
31446 0     0 0   my $input_length = length $_[3];
31447 0           $_[1] = {};
31448             # Deserializing field: 'params'
31449             # my ($class, $value, $index, $input) = @_;
31450 0           do {
31451 0 0         die "Input buffer too short"
31452             if ($input_length - $_[2]) < 4;
31453 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
31454 0           $_[2] += 4;
31455              
31456 0 0         die "Array too long (max: 64): $len"
31457             unless ($len <= 64);
31458 0           $_[1]->{params} = [];
31459 0           for my $i1 ( 0 .. ($len - 1) ) {
31460             # my ($class, $value, $index, $input) = @_;
31461 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
31462             }
31463             };
31464              
31465             # Deserializing field: 'nparams'
31466             # my ($class, $value, $index, $input) = @_;
31467 0 0         die "Input buffer too short"
31468             if ($input_length - $_[2]) < 4;
31469 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
31470 0           $_[2] += 4;
31471             die "Out of bounds 'int': $_[1]->{nparams}"
31472 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
31473             }
31474             # @_: ($class, $value, $index, $output) = @_;
31475             sub serialize_node_get_sev_info_ret {
31476 0 0   0 0   croak "Missing required input 'struct' value"
31477             unless defined $_[1];
31478              
31479             # Serializing field: 'params'
31480             croak "Missing required input value 'params'"
31481 0 0         unless exists $_[1]->{params};
31482             # my ($class, $value, $index, $output) = @_;
31483             croak "Missing required input 'array' value"
31484 0 0         unless defined $_[1]->{params};
31485 0           do {
31486 0           my $len = scalar @{ $_[1]->{params} };
  0            
31487 0 0         die "Array too long (max: 64): $len"
31488             unless ($len <= 64);
31489              
31490 0           substr( $_[3], $_[2] ) = pack("L>", $len);
31491 0           $_[2] += 4;
31492 0           for my $i1 ( 0 .. ($len - 1) ) {
31493             # my ($class, $value, $index, $output) = @_;
31494 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
31495             }
31496             };
31497              
31498             # Serializing field: 'nparams'
31499             croak "Missing required input value 'nparams'"
31500 0 0         unless exists $_[1]->{nparams};
31501             # my ($class, $value, $index, $output) = @_;
31502             croak "Missing required input 'int' value"
31503 0 0         unless defined $_[1]->{nparams};
31504             die "Out of bounds 'int': $_[1]->{nparams}"
31505 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
31506             die "Non-integer 'int' value given: $_[1]->{nparams}"
31507 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
31508 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
31509 0           $_[2] += 4;
31510             }
31511             # @_: ($class, $value, $index, $input) = @_;
31512             sub deserialize_domain_get_launch_security_info_args {
31513 0     0 0   my $input_length = length $_[3];
31514 0           $_[1] = {};
31515             # Deserializing field: 'dom'
31516             # my ($class, $value, $index, $input) = @_;
31517 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
31518              
31519             # Deserializing field: 'flags'
31520             # my ($class, $value, $index, $input) = @_;
31521 0 0         die "Input buffer too short"
31522             if ($input_length - $_[2]) < 4;
31523 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31524 0           $_[2] += 4;
31525             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31526 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31527             }
31528             # @_: ($class, $value, $index, $output) = @_;
31529             sub serialize_domain_get_launch_security_info_args {
31530 0 0   0 0   croak "Missing required input 'struct' value"
31531             unless defined $_[1];
31532              
31533             # Serializing field: 'dom'
31534             croak "Missing required input value 'dom'"
31535 0 0         unless exists $_[1]->{dom};
31536             # my ($class, $value, $index, $output) = @_;
31537 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
31538              
31539             # Serializing field: 'flags'
31540             croak "Missing required input value 'flags'"
31541 0 0         unless exists $_[1]->{flags};
31542             # my ($class, $value, $index, $output) = @_;
31543             croak "Missing required input 'unsigned int' value"
31544 0 0         unless defined $_[1]->{flags};
31545             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31546 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31547             die "Non-integer 'int' value given: $_[1]->{flags}"
31548 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31549 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31550 0           $_[2] += 4;
31551             }
31552             # @_: ($class, $value, $index, $input) = @_;
31553             sub deserialize_domain_get_launch_security_info_ret {
31554 0     0 0   my $input_length = length $_[3];
31555 0           $_[1] = {};
31556             # Deserializing field: 'params'
31557             # my ($class, $value, $index, $input) = @_;
31558 0           do {
31559 0 0         die "Input buffer too short"
31560             if ($input_length - $_[2]) < 4;
31561 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
31562 0           $_[2] += 4;
31563              
31564 0 0         die "Array too long (max: 64): $len"
31565             unless ($len <= 64);
31566 0           $_[1]->{params} = [];
31567 0           for my $i1 ( 0 .. ($len - 1) ) {
31568             # my ($class, $value, $index, $input) = @_;
31569 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
31570             }
31571             };
31572             }
31573             # @_: ($class, $value, $index, $output) = @_;
31574             sub serialize_domain_get_launch_security_info_ret {
31575 0 0   0 0   croak "Missing required input 'struct' value"
31576             unless defined $_[1];
31577              
31578             # Serializing field: 'params'
31579             croak "Missing required input value 'params'"
31580 0 0         unless exists $_[1]->{params};
31581             # my ($class, $value, $index, $output) = @_;
31582             croak "Missing required input 'array' value"
31583 0 0         unless defined $_[1]->{params};
31584 0           do {
31585 0           my $len = scalar @{ $_[1]->{params} };
  0            
31586 0 0         die "Array too long (max: 64): $len"
31587             unless ($len <= 64);
31588              
31589 0           substr( $_[3], $_[2] ) = pack("L>", $len);
31590 0           $_[2] += 4;
31591 0           for my $i1 ( 0 .. ($len - 1) ) {
31592             # my ($class, $value, $index, $output) = @_;
31593 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
31594             }
31595             };
31596             }
31597             # @_: ($class, $value, $index, $input) = @_;
31598             sub deserialize_domain_set_launch_security_state_args {
31599 0     0 0   my $input_length = length $_[3];
31600 0           $_[1] = {};
31601             # Deserializing field: 'dom'
31602             # my ($class, $value, $index, $input) = @_;
31603 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
31604              
31605             # Deserializing field: 'params'
31606             # my ($class, $value, $index, $input) = @_;
31607 0           do {
31608 0 0         die "Input buffer too short"
31609             if ($input_length - $_[2]) < 4;
31610 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
31611 0           $_[2] += 4;
31612              
31613 0 0         die "Array too long (max: 64): $len"
31614             unless ($len <= 64);
31615 0           $_[1]->{params} = [];
31616 0           for my $i1 ( 0 .. ($len - 1) ) {
31617             # my ($class, $value, $index, $input) = @_;
31618 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
31619             }
31620             };
31621              
31622             # Deserializing field: 'flags'
31623             # my ($class, $value, $index, $input) = @_;
31624 0 0         die "Input buffer too short"
31625             if ($input_length - $_[2]) < 4;
31626 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31627 0           $_[2] += 4;
31628             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31629 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31630             }
31631             # @_: ($class, $value, $index, $output) = @_;
31632             sub serialize_domain_set_launch_security_state_args {
31633 0 0   0 0   croak "Missing required input 'struct' value"
31634             unless defined $_[1];
31635              
31636             # Serializing field: 'dom'
31637             croak "Missing required input value 'dom'"
31638 0 0         unless exists $_[1]->{dom};
31639             # my ($class, $value, $index, $output) = @_;
31640 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
31641              
31642             # Serializing field: 'params'
31643             croak "Missing required input value 'params'"
31644 0 0         unless exists $_[1]->{params};
31645             # my ($class, $value, $index, $output) = @_;
31646             croak "Missing required input 'array' value"
31647 0 0         unless defined $_[1]->{params};
31648 0           do {
31649 0           my $len = scalar @{ $_[1]->{params} };
  0            
31650 0 0         die "Array too long (max: 64): $len"
31651             unless ($len <= 64);
31652              
31653 0           substr( $_[3], $_[2] ) = pack("L>", $len);
31654 0           $_[2] += 4;
31655 0           for my $i1 ( 0 .. ($len - 1) ) {
31656             # my ($class, $value, $index, $output) = @_;
31657 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
31658             }
31659             };
31660              
31661             # Serializing field: 'flags'
31662             croak "Missing required input value 'flags'"
31663 0 0         unless exists $_[1]->{flags};
31664             # my ($class, $value, $index, $output) = @_;
31665             croak "Missing required input 'unsigned int' value"
31666 0 0         unless defined $_[1]->{flags};
31667             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31668 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31669             die "Non-integer 'int' value given: $_[1]->{flags}"
31670 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31671 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31672 0           $_[2] += 4;
31673             }
31674             # @_: ($class, $value, $index, $input) = @_;
31675             sub deserialize_nwfilter_binding_lookup_by_port_dev_args {
31676 0     0 0   my $input_length = length $_[3];
31677 0           $_[1] = {};
31678             # Deserializing field: 'name'
31679             # my ($class, $value, $index, $input) = @_;
31680 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
31681             }
31682             # @_: ($class, $value, $index, $output) = @_;
31683             sub serialize_nwfilter_binding_lookup_by_port_dev_args {
31684 0 0   0 0   croak "Missing required input 'struct' value"
31685             unless defined $_[1];
31686              
31687             # Serializing field: 'name'
31688             croak "Missing required input value 'name'"
31689 0 0         unless exists $_[1]->{name};
31690             # my ($class, $value, $index, $output) = @_;
31691 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
31692             }
31693             # @_: ($class, $value, $index, $input) = @_;
31694             sub deserialize_nwfilter_binding_lookup_by_port_dev_ret {
31695 0     0 0   my $input_length = length $_[3];
31696 0           $_[1] = {};
31697             # Deserializing field: 'nwfilter'
31698             # my ($class, $value, $index, $input) = @_;
31699 0           $_[0]->deserialize_nonnull_nwfilter_binding( $_[1]->{nwfilter}, $_[2], $_[3] );
31700             }
31701             # @_: ($class, $value, $index, $output) = @_;
31702             sub serialize_nwfilter_binding_lookup_by_port_dev_ret {
31703 0 0   0 0   croak "Missing required input 'struct' value"
31704             unless defined $_[1];
31705              
31706             # Serializing field: 'nwfilter'
31707             croak "Missing required input value 'nwfilter'"
31708 0 0         unless exists $_[1]->{nwfilter};
31709             # my ($class, $value, $index, $output) = @_;
31710 0           $_[0]->serialize_nonnull_nwfilter_binding( $_[1]->{nwfilter}, $_[2], $_[3] );
31711             }
31712             # @_: ($class, $value, $index, $input) = @_;
31713             sub deserialize_nwfilter_binding_create_xml_args {
31714 0     0 0   my $input_length = length $_[3];
31715 0           $_[1] = {};
31716             # Deserializing field: 'xml'
31717             # my ($class, $value, $index, $input) = @_;
31718 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
31719              
31720             # Deserializing field: 'flags'
31721             # my ($class, $value, $index, $input) = @_;
31722 0 0         die "Input buffer too short"
31723             if ($input_length - $_[2]) < 4;
31724 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31725 0           $_[2] += 4;
31726             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31727 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31728             }
31729             # @_: ($class, $value, $index, $output) = @_;
31730             sub serialize_nwfilter_binding_create_xml_args {
31731 0 0   0 0   croak "Missing required input 'struct' value"
31732             unless defined $_[1];
31733              
31734             # Serializing field: 'xml'
31735             croak "Missing required input value 'xml'"
31736 0 0         unless exists $_[1]->{xml};
31737             # my ($class, $value, $index, $output) = @_;
31738 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
31739              
31740             # Serializing field: 'flags'
31741             croak "Missing required input value 'flags'"
31742 0 0         unless exists $_[1]->{flags};
31743             # my ($class, $value, $index, $output) = @_;
31744             croak "Missing required input 'unsigned int' value"
31745 0 0         unless defined $_[1]->{flags};
31746             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31747 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31748             die "Non-integer 'int' value given: $_[1]->{flags}"
31749 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31750 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31751 0           $_[2] += 4;
31752             }
31753             # @_: ($class, $value, $index, $input) = @_;
31754             sub deserialize_nwfilter_binding_create_xml_ret {
31755 0     0 0   my $input_length = length $_[3];
31756 0           $_[1] = {};
31757             # Deserializing field: 'nwfilter'
31758             # my ($class, $value, $index, $input) = @_;
31759 0           $_[0]->deserialize_nonnull_nwfilter_binding( $_[1]->{nwfilter}, $_[2], $_[3] );
31760             }
31761             # @_: ($class, $value, $index, $output) = @_;
31762             sub serialize_nwfilter_binding_create_xml_ret {
31763 0 0   0 0   croak "Missing required input 'struct' value"
31764             unless defined $_[1];
31765              
31766             # Serializing field: 'nwfilter'
31767             croak "Missing required input value 'nwfilter'"
31768 0 0         unless exists $_[1]->{nwfilter};
31769             # my ($class, $value, $index, $output) = @_;
31770 0           $_[0]->serialize_nonnull_nwfilter_binding( $_[1]->{nwfilter}, $_[2], $_[3] );
31771             }
31772             # @_: ($class, $value, $index, $input) = @_;
31773             sub deserialize_nwfilter_binding_delete_args {
31774 0     0 0   my $input_length = length $_[3];
31775 0           $_[1] = {};
31776             # Deserializing field: 'nwfilter'
31777             # my ($class, $value, $index, $input) = @_;
31778 0           $_[0]->deserialize_nonnull_nwfilter_binding( $_[1]->{nwfilter}, $_[2], $_[3] );
31779             }
31780             # @_: ($class, $value, $index, $output) = @_;
31781             sub serialize_nwfilter_binding_delete_args {
31782 0 0   0 0   croak "Missing required input 'struct' value"
31783             unless defined $_[1];
31784              
31785             # Serializing field: 'nwfilter'
31786             croak "Missing required input value 'nwfilter'"
31787 0 0         unless exists $_[1]->{nwfilter};
31788             # my ($class, $value, $index, $output) = @_;
31789 0           $_[0]->serialize_nonnull_nwfilter_binding( $_[1]->{nwfilter}, $_[2], $_[3] );
31790             }
31791             # @_: ($class, $value, $index, $input) = @_;
31792             sub deserialize_nwfilter_binding_get_xml_desc_args {
31793 0     0 0   my $input_length = length $_[3];
31794 0           $_[1] = {};
31795             # Deserializing field: 'nwfilter'
31796             # my ($class, $value, $index, $input) = @_;
31797 0           $_[0]->deserialize_nonnull_nwfilter_binding( $_[1]->{nwfilter}, $_[2], $_[3] );
31798              
31799             # Deserializing field: 'flags'
31800             # my ($class, $value, $index, $input) = @_;
31801 0 0         die "Input buffer too short"
31802             if ($input_length - $_[2]) < 4;
31803 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31804 0           $_[2] += 4;
31805             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31806 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31807             }
31808             # @_: ($class, $value, $index, $output) = @_;
31809             sub serialize_nwfilter_binding_get_xml_desc_args {
31810 0 0   0 0   croak "Missing required input 'struct' value"
31811             unless defined $_[1];
31812              
31813             # Serializing field: 'nwfilter'
31814             croak "Missing required input value 'nwfilter'"
31815 0 0         unless exists $_[1]->{nwfilter};
31816             # my ($class, $value, $index, $output) = @_;
31817 0           $_[0]->serialize_nonnull_nwfilter_binding( $_[1]->{nwfilter}, $_[2], $_[3] );
31818              
31819             # Serializing field: 'flags'
31820             croak "Missing required input value 'flags'"
31821 0 0         unless exists $_[1]->{flags};
31822             # my ($class, $value, $index, $output) = @_;
31823             croak "Missing required input 'unsigned int' value"
31824 0 0         unless defined $_[1]->{flags};
31825             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31826 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31827             die "Non-integer 'int' value given: $_[1]->{flags}"
31828 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31829 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31830 0           $_[2] += 4;
31831             }
31832             # @_: ($class, $value, $index, $input) = @_;
31833             sub deserialize_nwfilter_binding_get_xml_desc_ret {
31834 0     0 0   my $input_length = length $_[3];
31835 0           $_[1] = {};
31836             # Deserializing field: 'xml'
31837             # my ($class, $value, $index, $input) = @_;
31838 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
31839             }
31840             # @_: ($class, $value, $index, $output) = @_;
31841             sub serialize_nwfilter_binding_get_xml_desc_ret {
31842 0 0   0 0   croak "Missing required input 'struct' value"
31843             unless defined $_[1];
31844              
31845             # Serializing field: 'xml'
31846             croak "Missing required input value 'xml'"
31847 0 0         unless exists $_[1]->{xml};
31848             # my ($class, $value, $index, $output) = @_;
31849 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
31850             }
31851             # @_: ($class, $value, $index, $input) = @_;
31852             sub deserialize_connect_list_all_nwfilter_bindings_args {
31853 0     0 0   my $input_length = length $_[3];
31854 0           $_[1] = {};
31855             # Deserializing field: 'need_results'
31856             # my ($class, $value, $index, $input) = @_;
31857 0 0         die "Input buffer too short"
31858             if ($input_length - $_[2]) < 4;
31859 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
31860 0           $_[2] += 4;
31861             die "Out of bounds 'int': $_[1]->{need_results}"
31862 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
31863              
31864             # Deserializing field: 'flags'
31865             # my ($class, $value, $index, $input) = @_;
31866 0 0         die "Input buffer too short"
31867             if ($input_length - $_[2]) < 4;
31868 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31869 0           $_[2] += 4;
31870             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31871 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31872             }
31873             # @_: ($class, $value, $index, $output) = @_;
31874             sub serialize_connect_list_all_nwfilter_bindings_args {
31875 0 0   0 0   croak "Missing required input 'struct' value"
31876             unless defined $_[1];
31877              
31878             # Serializing field: 'need_results'
31879             croak "Missing required input value 'need_results'"
31880 0 0         unless exists $_[1]->{need_results};
31881             # my ($class, $value, $index, $output) = @_;
31882             croak "Missing required input 'int' value"
31883 0 0         unless defined $_[1]->{need_results};
31884             die "Out of bounds 'int': $_[1]->{need_results}"
31885 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
31886             die "Non-integer 'int' value given: $_[1]->{need_results}"
31887 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
31888 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
31889 0           $_[2] += 4;
31890              
31891             # Serializing field: 'flags'
31892             croak "Missing required input value 'flags'"
31893 0 0         unless exists $_[1]->{flags};
31894             # my ($class, $value, $index, $output) = @_;
31895             croak "Missing required input 'unsigned int' value"
31896 0 0         unless defined $_[1]->{flags};
31897             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31898 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31899             die "Non-integer 'int' value given: $_[1]->{flags}"
31900 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31901 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31902 0           $_[2] += 4;
31903             }
31904             # @_: ($class, $value, $index, $input) = @_;
31905             sub deserialize_connect_list_all_nwfilter_bindings_ret {
31906 0     0 0   my $input_length = length $_[3];
31907 0           $_[1] = {};
31908             # Deserializing field: 'bindings'
31909             # my ($class, $value, $index, $input) = @_;
31910 0           do {
31911 0 0         die "Input buffer too short"
31912             if ($input_length - $_[2]) < 4;
31913 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
31914 0           $_[2] += 4;
31915              
31916 0 0         die "Array too long (max: 16384): $len"
31917             unless ($len <= 16384);
31918 0           $_[1]->{bindings} = [];
31919 0           for my $i1 ( 0 .. ($len - 1) ) {
31920             # my ($class, $value, $index, $input) = @_;
31921 0           $_[0]->deserialize_nonnull_nwfilter_binding( $_[1]->{bindings}->[$i1], $_[2], $_[3] );
31922             }
31923             };
31924              
31925             # Deserializing field: 'ret'
31926             # my ($class, $value, $index, $input) = @_;
31927 0 0         die "Input buffer too short"
31928             if ($input_length - $_[2]) < 4;
31929 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
31930 0           $_[2] += 4;
31931             die "Out of bounds 'unsigned int': $_[1]->{ret}"
31932 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
31933             }
31934             # @_: ($class, $value, $index, $output) = @_;
31935             sub serialize_connect_list_all_nwfilter_bindings_ret {
31936 0 0   0 0   croak "Missing required input 'struct' value"
31937             unless defined $_[1];
31938              
31939             # Serializing field: 'bindings'
31940             croak "Missing required input value 'bindings'"
31941 0 0         unless exists $_[1]->{bindings};
31942             # my ($class, $value, $index, $output) = @_;
31943             croak "Missing required input 'array' value"
31944 0 0         unless defined $_[1]->{bindings};
31945 0           do {
31946 0           my $len = scalar @{ $_[1]->{bindings} };
  0            
31947 0 0         die "Array too long (max: 16384): $len"
31948             unless ($len <= 16384);
31949              
31950 0           substr( $_[3], $_[2] ) = pack("L>", $len);
31951 0           $_[2] += 4;
31952 0           for my $i1 ( 0 .. ($len - 1) ) {
31953             # my ($class, $value, $index, $output) = @_;
31954 0           $_[0]->serialize_nonnull_nwfilter_binding( $_[1]->{bindings}->[$i1], $_[2], $_[3] );
31955             }
31956             };
31957              
31958             # Serializing field: 'ret'
31959             croak "Missing required input value 'ret'"
31960 0 0         unless exists $_[1]->{ret};
31961             # my ($class, $value, $index, $output) = @_;
31962             croak "Missing required input 'unsigned int' value"
31963 0 0         unless defined $_[1]->{ret};
31964             die "Out of bounds 'unsigned int': $_[1]->{ret}"
31965 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
31966             die "Non-integer 'int' value given: $_[1]->{ret}"
31967 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
31968 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
31969 0           $_[2] += 4;
31970             }
31971             # @_: ($class, $value, $index, $input) = @_;
31972             sub deserialize_connect_get_storage_pool_capabilities_args {
31973 0     0 0   my $input_length = length $_[3];
31974 0           $_[1] = {};
31975             # Deserializing field: 'flags'
31976             # my ($class, $value, $index, $input) = @_;
31977 0 0         die "Input buffer too short"
31978             if ($input_length - $_[2]) < 4;
31979 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31980 0           $_[2] += 4;
31981             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31982 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31983             }
31984             # @_: ($class, $value, $index, $output) = @_;
31985             sub serialize_connect_get_storage_pool_capabilities_args {
31986 0 0   0 0   croak "Missing required input 'struct' value"
31987             unless defined $_[1];
31988              
31989             # Serializing field: 'flags'
31990             croak "Missing required input value 'flags'"
31991 0 0         unless exists $_[1]->{flags};
31992             # my ($class, $value, $index, $output) = @_;
31993             croak "Missing required input 'unsigned int' value"
31994 0 0         unless defined $_[1]->{flags};
31995             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31996 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31997             die "Non-integer 'int' value given: $_[1]->{flags}"
31998 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31999 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32000 0           $_[2] += 4;
32001             }
32002             # @_: ($class, $value, $index, $input) = @_;
32003             sub deserialize_connect_get_storage_pool_capabilities_ret {
32004 0     0 0   my $input_length = length $_[3];
32005 0           $_[1] = {};
32006             # Deserializing field: 'capabilities'
32007             # my ($class, $value, $index, $input) = @_;
32008 0           $_[0]->deserialize_nonnull_string( $_[1]->{capabilities}, $_[2], $_[3] );
32009             }
32010             # @_: ($class, $value, $index, $output) = @_;
32011             sub serialize_connect_get_storage_pool_capabilities_ret {
32012 0 0   0 0   croak "Missing required input 'struct' value"
32013             unless defined $_[1];
32014              
32015             # Serializing field: 'capabilities'
32016             croak "Missing required input value 'capabilities'"
32017 0 0         unless exists $_[1]->{capabilities};
32018             # my ($class, $value, $index, $output) = @_;
32019 0           $_[0]->serialize_nonnull_string( $_[1]->{capabilities}, $_[2], $_[3] );
32020             }
32021             # @_: ($class, $value, $index, $input) = @_;
32022             sub deserialize_network_list_all_ports_args {
32023 0     0 0   my $input_length = length $_[3];
32024 0           $_[1] = {};
32025             # Deserializing field: 'network'
32026             # my ($class, $value, $index, $input) = @_;
32027 0           $_[0]->deserialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
32028              
32029             # Deserializing field: 'need_results'
32030             # my ($class, $value, $index, $input) = @_;
32031 0 0         die "Input buffer too short"
32032             if ($input_length - $_[2]) < 4;
32033 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
32034 0           $_[2] += 4;
32035             die "Out of bounds 'int': $_[1]->{need_results}"
32036 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
32037              
32038             # Deserializing field: 'flags'
32039             # my ($class, $value, $index, $input) = @_;
32040 0 0         die "Input buffer too short"
32041             if ($input_length - $_[2]) < 4;
32042 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32043 0           $_[2] += 4;
32044             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32045 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32046             }
32047             # @_: ($class, $value, $index, $output) = @_;
32048             sub serialize_network_list_all_ports_args {
32049 0 0   0 0   croak "Missing required input 'struct' value"
32050             unless defined $_[1];
32051              
32052             # Serializing field: 'network'
32053             croak "Missing required input value 'network'"
32054 0 0         unless exists $_[1]->{network};
32055             # my ($class, $value, $index, $output) = @_;
32056 0           $_[0]->serialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
32057              
32058             # Serializing field: 'need_results'
32059             croak "Missing required input value 'need_results'"
32060 0 0         unless exists $_[1]->{need_results};
32061             # my ($class, $value, $index, $output) = @_;
32062             croak "Missing required input 'int' value"
32063 0 0         unless defined $_[1]->{need_results};
32064             die "Out of bounds 'int': $_[1]->{need_results}"
32065 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
32066             die "Non-integer 'int' value given: $_[1]->{need_results}"
32067 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
32068 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
32069 0           $_[2] += 4;
32070              
32071             # Serializing field: 'flags'
32072             croak "Missing required input value 'flags'"
32073 0 0         unless exists $_[1]->{flags};
32074             # my ($class, $value, $index, $output) = @_;
32075             croak "Missing required input 'unsigned int' value"
32076 0 0         unless defined $_[1]->{flags};
32077             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32078 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32079             die "Non-integer 'int' value given: $_[1]->{flags}"
32080 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32081 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32082 0           $_[2] += 4;
32083             }
32084             # @_: ($class, $value, $index, $input) = @_;
32085             sub deserialize_network_list_all_ports_ret {
32086 0     0 0   my $input_length = length $_[3];
32087 0           $_[1] = {};
32088             # Deserializing field: 'ports'
32089             # my ($class, $value, $index, $input) = @_;
32090 0           do {
32091 0 0         die "Input buffer too short"
32092             if ($input_length - $_[2]) < 4;
32093 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
32094 0           $_[2] += 4;
32095              
32096 0 0         die "Array too long (max: 16384): $len"
32097             unless ($len <= 16384);
32098 0           $_[1]->{ports} = [];
32099 0           for my $i1 ( 0 .. ($len - 1) ) {
32100             # my ($class, $value, $index, $input) = @_;
32101 0           $_[0]->deserialize_nonnull_network_port( $_[1]->{ports}->[$i1], $_[2], $_[3] );
32102             }
32103             };
32104              
32105             # Deserializing field: 'ret'
32106             # my ($class, $value, $index, $input) = @_;
32107 0 0         die "Input buffer too short"
32108             if ($input_length - $_[2]) < 4;
32109 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
32110 0           $_[2] += 4;
32111             die "Out of bounds 'unsigned int': $_[1]->{ret}"
32112 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
32113             }
32114             # @_: ($class, $value, $index, $output) = @_;
32115             sub serialize_network_list_all_ports_ret {
32116 0 0   0 0   croak "Missing required input 'struct' value"
32117             unless defined $_[1];
32118              
32119             # Serializing field: 'ports'
32120             croak "Missing required input value 'ports'"
32121 0 0         unless exists $_[1]->{ports};
32122             # my ($class, $value, $index, $output) = @_;
32123             croak "Missing required input 'array' value"
32124 0 0         unless defined $_[1]->{ports};
32125 0           do {
32126 0           my $len = scalar @{ $_[1]->{ports} };
  0            
32127 0 0         die "Array too long (max: 16384): $len"
32128             unless ($len <= 16384);
32129              
32130 0           substr( $_[3], $_[2] ) = pack("L>", $len);
32131 0           $_[2] += 4;
32132 0           for my $i1 ( 0 .. ($len - 1) ) {
32133             # my ($class, $value, $index, $output) = @_;
32134 0           $_[0]->serialize_nonnull_network_port( $_[1]->{ports}->[$i1], $_[2], $_[3] );
32135             }
32136             };
32137              
32138             # Serializing field: 'ret'
32139             croak "Missing required input value 'ret'"
32140 0 0         unless exists $_[1]->{ret};
32141             # my ($class, $value, $index, $output) = @_;
32142             croak "Missing required input 'unsigned int' value"
32143 0 0         unless defined $_[1]->{ret};
32144             die "Out of bounds 'unsigned int': $_[1]->{ret}"
32145 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
32146             die "Non-integer 'int' value given: $_[1]->{ret}"
32147 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
32148 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
32149 0           $_[2] += 4;
32150             }
32151             # @_: ($class, $value, $index, $input) = @_;
32152             sub deserialize_network_port_lookup_by_uuid_args {
32153 0     0 0   my $input_length = length $_[3];
32154 0           $_[1] = {};
32155             # Deserializing field: 'network'
32156             # my ($class, $value, $index, $input) = @_;
32157 0           $_[0]->deserialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
32158              
32159             # Deserializing field: 'uuid'
32160             # my ($class, $value, $index, $input) = @_;
32161 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
32162             }
32163             # @_: ($class, $value, $index, $output) = @_;
32164             sub serialize_network_port_lookup_by_uuid_args {
32165 0 0   0 0   croak "Missing required input 'struct' value"
32166             unless defined $_[1];
32167              
32168             # Serializing field: 'network'
32169             croak "Missing required input value 'network'"
32170 0 0         unless exists $_[1]->{network};
32171             # my ($class, $value, $index, $output) = @_;
32172 0           $_[0]->serialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
32173              
32174             # Serializing field: 'uuid'
32175             croak "Missing required input value 'uuid'"
32176 0 0         unless exists $_[1]->{uuid};
32177             # my ($class, $value, $index, $output) = @_;
32178 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
32179             }
32180             # @_: ($class, $value, $index, $input) = @_;
32181             sub deserialize_network_port_lookup_by_uuid_ret {
32182 0     0 0   my $input_length = length $_[3];
32183 0           $_[1] = {};
32184             # Deserializing field: 'port'
32185             # my ($class, $value, $index, $input) = @_;
32186 0           $_[0]->deserialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32187             }
32188             # @_: ($class, $value, $index, $output) = @_;
32189             sub serialize_network_port_lookup_by_uuid_ret {
32190 0 0   0 0   croak "Missing required input 'struct' value"
32191             unless defined $_[1];
32192              
32193             # Serializing field: 'port'
32194             croak "Missing required input value 'port'"
32195 0 0         unless exists $_[1]->{port};
32196             # my ($class, $value, $index, $output) = @_;
32197 0           $_[0]->serialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32198             }
32199             # @_: ($class, $value, $index, $input) = @_;
32200             sub deserialize_network_port_create_xml_args {
32201 0     0 0   my $input_length = length $_[3];
32202 0           $_[1] = {};
32203             # Deserializing field: 'network'
32204             # my ($class, $value, $index, $input) = @_;
32205 0           $_[0]->deserialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
32206              
32207             # Deserializing field: 'xml'
32208             # my ($class, $value, $index, $input) = @_;
32209 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
32210              
32211             # Deserializing field: 'flags'
32212             # my ($class, $value, $index, $input) = @_;
32213 0 0         die "Input buffer too short"
32214             if ($input_length - $_[2]) < 4;
32215 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32216 0           $_[2] += 4;
32217             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32218 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32219             }
32220             # @_: ($class, $value, $index, $output) = @_;
32221             sub serialize_network_port_create_xml_args {
32222 0 0   0 0   croak "Missing required input 'struct' value"
32223             unless defined $_[1];
32224              
32225             # Serializing field: 'network'
32226             croak "Missing required input value 'network'"
32227 0 0         unless exists $_[1]->{network};
32228             # my ($class, $value, $index, $output) = @_;
32229 0           $_[0]->serialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
32230              
32231             # Serializing field: 'xml'
32232             croak "Missing required input value 'xml'"
32233 0 0         unless exists $_[1]->{xml};
32234             # my ($class, $value, $index, $output) = @_;
32235 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
32236              
32237             # Serializing field: 'flags'
32238             croak "Missing required input value 'flags'"
32239 0 0         unless exists $_[1]->{flags};
32240             # my ($class, $value, $index, $output) = @_;
32241             croak "Missing required input 'unsigned int' value"
32242 0 0         unless defined $_[1]->{flags};
32243             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32244 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32245             die "Non-integer 'int' value given: $_[1]->{flags}"
32246 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32247 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32248 0           $_[2] += 4;
32249             }
32250             # @_: ($class, $value, $index, $input) = @_;
32251             sub deserialize_network_port_create_xml_ret {
32252 0     0 0   my $input_length = length $_[3];
32253 0           $_[1] = {};
32254             # Deserializing field: 'port'
32255             # my ($class, $value, $index, $input) = @_;
32256 0           $_[0]->deserialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32257             }
32258             # @_: ($class, $value, $index, $output) = @_;
32259             sub serialize_network_port_create_xml_ret {
32260 0 0   0 0   croak "Missing required input 'struct' value"
32261             unless defined $_[1];
32262              
32263             # Serializing field: 'port'
32264             croak "Missing required input value 'port'"
32265 0 0         unless exists $_[1]->{port};
32266             # my ($class, $value, $index, $output) = @_;
32267 0           $_[0]->serialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32268             }
32269             # @_: ($class, $value, $index, $input) = @_;
32270             sub deserialize_network_port_set_parameters_args {
32271 0     0 0   my $input_length = length $_[3];
32272 0           $_[1] = {};
32273             # Deserializing field: 'port'
32274             # my ($class, $value, $index, $input) = @_;
32275 0           $_[0]->deserialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32276              
32277             # Deserializing field: 'params'
32278             # my ($class, $value, $index, $input) = @_;
32279 0           do {
32280 0 0         die "Input buffer too short"
32281             if ($input_length - $_[2]) < 4;
32282 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
32283 0           $_[2] += 4;
32284              
32285 0 0         die "Array too long (max: 16): $len"
32286             unless ($len <= 16);
32287 0           $_[1]->{params} = [];
32288 0           for my $i1 ( 0 .. ($len - 1) ) {
32289             # my ($class, $value, $index, $input) = @_;
32290 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
32291             }
32292             };
32293              
32294             # Deserializing field: 'flags'
32295             # my ($class, $value, $index, $input) = @_;
32296 0 0         die "Input buffer too short"
32297             if ($input_length - $_[2]) < 4;
32298 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32299 0           $_[2] += 4;
32300             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32301 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32302             }
32303             # @_: ($class, $value, $index, $output) = @_;
32304             sub serialize_network_port_set_parameters_args {
32305 0 0   0 0   croak "Missing required input 'struct' value"
32306             unless defined $_[1];
32307              
32308             # Serializing field: 'port'
32309             croak "Missing required input value 'port'"
32310 0 0         unless exists $_[1]->{port};
32311             # my ($class, $value, $index, $output) = @_;
32312 0           $_[0]->serialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32313              
32314             # Serializing field: 'params'
32315             croak "Missing required input value 'params'"
32316 0 0         unless exists $_[1]->{params};
32317             # my ($class, $value, $index, $output) = @_;
32318             croak "Missing required input 'array' value"
32319 0 0         unless defined $_[1]->{params};
32320 0           do {
32321 0           my $len = scalar @{ $_[1]->{params} };
  0            
32322 0 0         die "Array too long (max: 16): $len"
32323             unless ($len <= 16);
32324              
32325 0           substr( $_[3], $_[2] ) = pack("L>", $len);
32326 0           $_[2] += 4;
32327 0           for my $i1 ( 0 .. ($len - 1) ) {
32328             # my ($class, $value, $index, $output) = @_;
32329 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
32330             }
32331             };
32332              
32333             # Serializing field: 'flags'
32334             croak "Missing required input value 'flags'"
32335 0 0         unless exists $_[1]->{flags};
32336             # my ($class, $value, $index, $output) = @_;
32337             croak "Missing required input 'unsigned int' value"
32338 0 0         unless defined $_[1]->{flags};
32339             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32340 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32341             die "Non-integer 'int' value given: $_[1]->{flags}"
32342 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32343 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32344 0           $_[2] += 4;
32345             }
32346             # @_: ($class, $value, $index, $input) = @_;
32347             sub deserialize_network_port_get_parameters_args {
32348 0     0 0   my $input_length = length $_[3];
32349 0           $_[1] = {};
32350             # Deserializing field: 'port'
32351             # my ($class, $value, $index, $input) = @_;
32352 0           $_[0]->deserialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32353              
32354             # Deserializing field: 'nparams'
32355             # my ($class, $value, $index, $input) = @_;
32356 0 0         die "Input buffer too short"
32357             if ($input_length - $_[2]) < 4;
32358 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
32359 0           $_[2] += 4;
32360             die "Out of bounds 'int': $_[1]->{nparams}"
32361 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
32362              
32363             # Deserializing field: 'flags'
32364             # my ($class, $value, $index, $input) = @_;
32365 0 0         die "Input buffer too short"
32366             if ($input_length - $_[2]) < 4;
32367 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32368 0           $_[2] += 4;
32369             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32370 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32371             }
32372             # @_: ($class, $value, $index, $output) = @_;
32373             sub serialize_network_port_get_parameters_args {
32374 0 0   0 0   croak "Missing required input 'struct' value"
32375             unless defined $_[1];
32376              
32377             # Serializing field: 'port'
32378             croak "Missing required input value 'port'"
32379 0 0         unless exists $_[1]->{port};
32380             # my ($class, $value, $index, $output) = @_;
32381 0           $_[0]->serialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32382              
32383             # Serializing field: 'nparams'
32384             croak "Missing required input value 'nparams'"
32385 0 0         unless exists $_[1]->{nparams};
32386             # my ($class, $value, $index, $output) = @_;
32387             croak "Missing required input 'int' value"
32388 0 0         unless defined $_[1]->{nparams};
32389             die "Out of bounds 'int': $_[1]->{nparams}"
32390 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
32391             die "Non-integer 'int' value given: $_[1]->{nparams}"
32392 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
32393 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
32394 0           $_[2] += 4;
32395              
32396             # Serializing field: 'flags'
32397             croak "Missing required input value 'flags'"
32398 0 0         unless exists $_[1]->{flags};
32399             # my ($class, $value, $index, $output) = @_;
32400             croak "Missing required input 'unsigned int' value"
32401 0 0         unless defined $_[1]->{flags};
32402             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32403 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32404             die "Non-integer 'int' value given: $_[1]->{flags}"
32405 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32406 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32407 0           $_[2] += 4;
32408             }
32409             # @_: ($class, $value, $index, $input) = @_;
32410             sub deserialize_network_port_get_parameters_ret {
32411 0     0 0   my $input_length = length $_[3];
32412 0           $_[1] = {};
32413             # Deserializing field: 'params'
32414             # my ($class, $value, $index, $input) = @_;
32415 0           do {
32416 0 0         die "Input buffer too short"
32417             if ($input_length - $_[2]) < 4;
32418 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
32419 0           $_[2] += 4;
32420              
32421 0 0         die "Array too long (max: 16): $len"
32422             unless ($len <= 16);
32423 0           $_[1]->{params} = [];
32424 0           for my $i1 ( 0 .. ($len - 1) ) {
32425             # my ($class, $value, $index, $input) = @_;
32426 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
32427             }
32428             };
32429              
32430             # Deserializing field: 'nparams'
32431             # my ($class, $value, $index, $input) = @_;
32432 0 0         die "Input buffer too short"
32433             if ($input_length - $_[2]) < 4;
32434 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
32435 0           $_[2] += 4;
32436             die "Out of bounds 'int': $_[1]->{nparams}"
32437 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
32438             }
32439             # @_: ($class, $value, $index, $output) = @_;
32440             sub serialize_network_port_get_parameters_ret {
32441 0 0   0 0   croak "Missing required input 'struct' value"
32442             unless defined $_[1];
32443              
32444             # Serializing field: 'params'
32445             croak "Missing required input value 'params'"
32446 0 0         unless exists $_[1]->{params};
32447             # my ($class, $value, $index, $output) = @_;
32448             croak "Missing required input 'array' value"
32449 0 0         unless defined $_[1]->{params};
32450 0           do {
32451 0           my $len = scalar @{ $_[1]->{params} };
  0            
32452 0 0         die "Array too long (max: 16): $len"
32453             unless ($len <= 16);
32454              
32455 0           substr( $_[3], $_[2] ) = pack("L>", $len);
32456 0           $_[2] += 4;
32457 0           for my $i1 ( 0 .. ($len - 1) ) {
32458             # my ($class, $value, $index, $output) = @_;
32459 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
32460             }
32461             };
32462              
32463             # Serializing field: 'nparams'
32464             croak "Missing required input value 'nparams'"
32465 0 0         unless exists $_[1]->{nparams};
32466             # my ($class, $value, $index, $output) = @_;
32467             croak "Missing required input 'int' value"
32468 0 0         unless defined $_[1]->{nparams};
32469             die "Out of bounds 'int': $_[1]->{nparams}"
32470 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
32471             die "Non-integer 'int' value given: $_[1]->{nparams}"
32472 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
32473 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
32474 0           $_[2] += 4;
32475             }
32476             # @_: ($class, $value, $index, $input) = @_;
32477             sub deserialize_network_port_get_xml_desc_args {
32478 0     0 0   my $input_length = length $_[3];
32479 0           $_[1] = {};
32480             # Deserializing field: 'port'
32481             # my ($class, $value, $index, $input) = @_;
32482 0           $_[0]->deserialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32483              
32484             # Deserializing field: 'flags'
32485             # my ($class, $value, $index, $input) = @_;
32486 0 0         die "Input buffer too short"
32487             if ($input_length - $_[2]) < 4;
32488 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32489 0           $_[2] += 4;
32490             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32491 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32492             }
32493             # @_: ($class, $value, $index, $output) = @_;
32494             sub serialize_network_port_get_xml_desc_args {
32495 0 0   0 0   croak "Missing required input 'struct' value"
32496             unless defined $_[1];
32497              
32498             # Serializing field: 'port'
32499             croak "Missing required input value 'port'"
32500 0 0         unless exists $_[1]->{port};
32501             # my ($class, $value, $index, $output) = @_;
32502 0           $_[0]->serialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32503              
32504             # Serializing field: 'flags'
32505             croak "Missing required input value 'flags'"
32506 0 0         unless exists $_[1]->{flags};
32507             # my ($class, $value, $index, $output) = @_;
32508             croak "Missing required input 'unsigned int' value"
32509 0 0         unless defined $_[1]->{flags};
32510             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32511 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32512             die "Non-integer 'int' value given: $_[1]->{flags}"
32513 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32514 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32515 0           $_[2] += 4;
32516             }
32517             # @_: ($class, $value, $index, $input) = @_;
32518             sub deserialize_network_port_get_xml_desc_ret {
32519 0     0 0   my $input_length = length $_[3];
32520 0           $_[1] = {};
32521             # Deserializing field: 'xml'
32522             # my ($class, $value, $index, $input) = @_;
32523 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
32524             }
32525             # @_: ($class, $value, $index, $output) = @_;
32526             sub serialize_network_port_get_xml_desc_ret {
32527 0 0   0 0   croak "Missing required input 'struct' value"
32528             unless defined $_[1];
32529              
32530             # Serializing field: 'xml'
32531             croak "Missing required input value 'xml'"
32532 0 0         unless exists $_[1]->{xml};
32533             # my ($class, $value, $index, $output) = @_;
32534 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
32535             }
32536             # @_: ($class, $value, $index, $input) = @_;
32537             sub deserialize_network_port_delete_args {
32538 0     0 0   my $input_length = length $_[3];
32539 0           $_[1] = {};
32540             # Deserializing field: 'port'
32541             # my ($class, $value, $index, $input) = @_;
32542 0           $_[0]->deserialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32543              
32544             # Deserializing field: 'flags'
32545             # my ($class, $value, $index, $input) = @_;
32546 0 0         die "Input buffer too short"
32547             if ($input_length - $_[2]) < 4;
32548 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32549 0           $_[2] += 4;
32550             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32551 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32552             }
32553             # @_: ($class, $value, $index, $output) = @_;
32554             sub serialize_network_port_delete_args {
32555 0 0   0 0   croak "Missing required input 'struct' value"
32556             unless defined $_[1];
32557              
32558             # Serializing field: 'port'
32559             croak "Missing required input value 'port'"
32560 0 0         unless exists $_[1]->{port};
32561             # my ($class, $value, $index, $output) = @_;
32562 0           $_[0]->serialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32563              
32564             # Serializing field: 'flags'
32565             croak "Missing required input value 'flags'"
32566 0 0         unless exists $_[1]->{flags};
32567             # my ($class, $value, $index, $output) = @_;
32568             croak "Missing required input 'unsigned int' value"
32569 0 0         unless defined $_[1]->{flags};
32570             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32571 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32572             die "Non-integer 'int' value given: $_[1]->{flags}"
32573 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32574 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32575 0           $_[2] += 4;
32576             }
32577             # @_: ($class, $value, $index, $input) = @_;
32578             sub deserialize_domain_checkpoint_create_xml_args {
32579 0     0 0   my $input_length = length $_[3];
32580 0           $_[1] = {};
32581             # Deserializing field: 'dom'
32582             # my ($class, $value, $index, $input) = @_;
32583 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
32584              
32585             # Deserializing field: 'xml_desc'
32586             # my ($class, $value, $index, $input) = @_;
32587 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
32588              
32589             # Deserializing field: 'flags'
32590             # my ($class, $value, $index, $input) = @_;
32591 0 0         die "Input buffer too short"
32592             if ($input_length - $_[2]) < 4;
32593 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32594 0           $_[2] += 4;
32595             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32596 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32597             }
32598             # @_: ($class, $value, $index, $output) = @_;
32599             sub serialize_domain_checkpoint_create_xml_args {
32600 0 0   0 0   croak "Missing required input 'struct' value"
32601             unless defined $_[1];
32602              
32603             # Serializing field: 'dom'
32604             croak "Missing required input value 'dom'"
32605 0 0         unless exists $_[1]->{dom};
32606             # my ($class, $value, $index, $output) = @_;
32607 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
32608              
32609             # Serializing field: 'xml_desc'
32610             croak "Missing required input value 'xml_desc'"
32611 0 0         unless exists $_[1]->{xml_desc};
32612             # my ($class, $value, $index, $output) = @_;
32613 0           $_[0]->serialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
32614              
32615             # Serializing field: 'flags'
32616             croak "Missing required input value 'flags'"
32617 0 0         unless exists $_[1]->{flags};
32618             # my ($class, $value, $index, $output) = @_;
32619             croak "Missing required input 'unsigned int' value"
32620 0 0         unless defined $_[1]->{flags};
32621             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32622 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32623             die "Non-integer 'int' value given: $_[1]->{flags}"
32624 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32625 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32626 0           $_[2] += 4;
32627             }
32628             # @_: ($class, $value, $index, $input) = @_;
32629             sub deserialize_domain_checkpoint_create_xml_ret {
32630 0     0 0   my $input_length = length $_[3];
32631 0           $_[1] = {};
32632             # Deserializing field: 'checkpoint'
32633             # my ($class, $value, $index, $input) = @_;
32634 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
32635             }
32636             # @_: ($class, $value, $index, $output) = @_;
32637             sub serialize_domain_checkpoint_create_xml_ret {
32638 0 0   0 0   croak "Missing required input 'struct' value"
32639             unless defined $_[1];
32640              
32641             # Serializing field: 'checkpoint'
32642             croak "Missing required input value 'checkpoint'"
32643 0 0         unless exists $_[1]->{checkpoint};
32644             # my ($class, $value, $index, $output) = @_;
32645 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
32646             }
32647             # @_: ($class, $value, $index, $input) = @_;
32648             sub deserialize_domain_checkpoint_get_xml_desc_args {
32649 0     0 0   my $input_length = length $_[3];
32650 0           $_[1] = {};
32651             # Deserializing field: 'checkpoint'
32652             # my ($class, $value, $index, $input) = @_;
32653 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
32654              
32655             # Deserializing field: 'flags'
32656             # my ($class, $value, $index, $input) = @_;
32657 0 0         die "Input buffer too short"
32658             if ($input_length - $_[2]) < 4;
32659 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32660 0           $_[2] += 4;
32661             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32662 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32663             }
32664             # @_: ($class, $value, $index, $output) = @_;
32665             sub serialize_domain_checkpoint_get_xml_desc_args {
32666 0 0   0 0   croak "Missing required input 'struct' value"
32667             unless defined $_[1];
32668              
32669             # Serializing field: 'checkpoint'
32670             croak "Missing required input value 'checkpoint'"
32671 0 0         unless exists $_[1]->{checkpoint};
32672             # my ($class, $value, $index, $output) = @_;
32673 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
32674              
32675             # Serializing field: 'flags'
32676             croak "Missing required input value 'flags'"
32677 0 0         unless exists $_[1]->{flags};
32678             # my ($class, $value, $index, $output) = @_;
32679             croak "Missing required input 'unsigned int' value"
32680 0 0         unless defined $_[1]->{flags};
32681             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32682 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32683             die "Non-integer 'int' value given: $_[1]->{flags}"
32684 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32685 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32686 0           $_[2] += 4;
32687             }
32688             # @_: ($class, $value, $index, $input) = @_;
32689             sub deserialize_domain_checkpoint_get_xml_desc_ret {
32690 0     0 0   my $input_length = length $_[3];
32691 0           $_[1] = {};
32692             # Deserializing field: 'xml'
32693             # my ($class, $value, $index, $input) = @_;
32694 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
32695             }
32696             # @_: ($class, $value, $index, $output) = @_;
32697             sub serialize_domain_checkpoint_get_xml_desc_ret {
32698 0 0   0 0   croak "Missing required input 'struct' value"
32699             unless defined $_[1];
32700              
32701             # Serializing field: 'xml'
32702             croak "Missing required input value 'xml'"
32703 0 0         unless exists $_[1]->{xml};
32704             # my ($class, $value, $index, $output) = @_;
32705 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
32706             }
32707             # @_: ($class, $value, $index, $input) = @_;
32708             sub deserialize_domain_list_all_checkpoints_args {
32709 0     0 0   my $input_length = length $_[3];
32710 0           $_[1] = {};
32711             # Deserializing field: 'dom'
32712             # my ($class, $value, $index, $input) = @_;
32713 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
32714              
32715             # Deserializing field: 'need_results'
32716             # my ($class, $value, $index, $input) = @_;
32717 0 0         die "Input buffer too short"
32718             if ($input_length - $_[2]) < 4;
32719 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
32720 0           $_[2] += 4;
32721             die "Out of bounds 'int': $_[1]->{need_results}"
32722 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
32723              
32724             # Deserializing field: 'flags'
32725             # my ($class, $value, $index, $input) = @_;
32726 0 0         die "Input buffer too short"
32727             if ($input_length - $_[2]) < 4;
32728 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32729 0           $_[2] += 4;
32730             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32731 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32732             }
32733             # @_: ($class, $value, $index, $output) = @_;
32734             sub serialize_domain_list_all_checkpoints_args {
32735 0 0   0 0   croak "Missing required input 'struct' value"
32736             unless defined $_[1];
32737              
32738             # Serializing field: 'dom'
32739             croak "Missing required input value 'dom'"
32740 0 0         unless exists $_[1]->{dom};
32741             # my ($class, $value, $index, $output) = @_;
32742 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
32743              
32744             # Serializing field: 'need_results'
32745             croak "Missing required input value 'need_results'"
32746 0 0         unless exists $_[1]->{need_results};
32747             # my ($class, $value, $index, $output) = @_;
32748             croak "Missing required input 'int' value"
32749 0 0         unless defined $_[1]->{need_results};
32750             die "Out of bounds 'int': $_[1]->{need_results}"
32751 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
32752             die "Non-integer 'int' value given: $_[1]->{need_results}"
32753 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
32754 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
32755 0           $_[2] += 4;
32756              
32757             # Serializing field: 'flags'
32758             croak "Missing required input value 'flags'"
32759 0 0         unless exists $_[1]->{flags};
32760             # my ($class, $value, $index, $output) = @_;
32761             croak "Missing required input 'unsigned int' value"
32762 0 0         unless defined $_[1]->{flags};
32763             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32764 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32765             die "Non-integer 'int' value given: $_[1]->{flags}"
32766 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32767 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32768 0           $_[2] += 4;
32769             }
32770             # @_: ($class, $value, $index, $input) = @_;
32771             sub deserialize_domain_list_all_checkpoints_ret {
32772 0     0 0   my $input_length = length $_[3];
32773 0           $_[1] = {};
32774             # Deserializing field: 'checkpoints'
32775             # my ($class, $value, $index, $input) = @_;
32776 0           do {
32777 0 0         die "Input buffer too short"
32778             if ($input_length - $_[2]) < 4;
32779 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
32780 0           $_[2] += 4;
32781              
32782 0 0         die "Array too long (max: 16384): $len"
32783             unless ($len <= 16384);
32784 0           $_[1]->{checkpoints} = [];
32785 0           for my $i1 ( 0 .. ($len - 1) ) {
32786             # my ($class, $value, $index, $input) = @_;
32787 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{checkpoints}->[$i1], $_[2], $_[3] );
32788             }
32789             };
32790              
32791             # Deserializing field: 'ret'
32792             # my ($class, $value, $index, $input) = @_;
32793 0 0         die "Input buffer too short"
32794             if ($input_length - $_[2]) < 4;
32795 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
32796 0           $_[2] += 4;
32797             die "Out of bounds 'int': $_[1]->{ret}"
32798 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
32799             }
32800             # @_: ($class, $value, $index, $output) = @_;
32801             sub serialize_domain_list_all_checkpoints_ret {
32802 0 0   0 0   croak "Missing required input 'struct' value"
32803             unless defined $_[1];
32804              
32805             # Serializing field: 'checkpoints'
32806             croak "Missing required input value 'checkpoints'"
32807 0 0         unless exists $_[1]->{checkpoints};
32808             # my ($class, $value, $index, $output) = @_;
32809             croak "Missing required input 'array' value"
32810 0 0         unless defined $_[1]->{checkpoints};
32811 0           do {
32812 0           my $len = scalar @{ $_[1]->{checkpoints} };
  0            
32813 0 0         die "Array too long (max: 16384): $len"
32814             unless ($len <= 16384);
32815              
32816 0           substr( $_[3], $_[2] ) = pack("L>", $len);
32817 0           $_[2] += 4;
32818 0           for my $i1 ( 0 .. ($len - 1) ) {
32819             # my ($class, $value, $index, $output) = @_;
32820 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{checkpoints}->[$i1], $_[2], $_[3] );
32821             }
32822             };
32823              
32824             # Serializing field: 'ret'
32825             croak "Missing required input value 'ret'"
32826 0 0         unless exists $_[1]->{ret};
32827             # my ($class, $value, $index, $output) = @_;
32828             croak "Missing required input 'int' value"
32829 0 0         unless defined $_[1]->{ret};
32830             die "Out of bounds 'int': $_[1]->{ret}"
32831 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
32832             die "Non-integer 'int' value given: $_[1]->{ret}"
32833 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
32834 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
32835 0           $_[2] += 4;
32836             }
32837             # @_: ($class, $value, $index, $input) = @_;
32838             sub deserialize_domain_checkpoint_list_all_children_args {
32839 0     0 0   my $input_length = length $_[3];
32840 0           $_[1] = {};
32841             # Deserializing field: 'checkpoint'
32842             # my ($class, $value, $index, $input) = @_;
32843 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
32844              
32845             # Deserializing field: 'need_results'
32846             # my ($class, $value, $index, $input) = @_;
32847 0 0         die "Input buffer too short"
32848             if ($input_length - $_[2]) < 4;
32849 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
32850 0           $_[2] += 4;
32851             die "Out of bounds 'int': $_[1]->{need_results}"
32852 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
32853              
32854             # Deserializing field: 'flags'
32855             # my ($class, $value, $index, $input) = @_;
32856 0 0         die "Input buffer too short"
32857             if ($input_length - $_[2]) < 4;
32858 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32859 0           $_[2] += 4;
32860             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32861 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32862             }
32863             # @_: ($class, $value, $index, $output) = @_;
32864             sub serialize_domain_checkpoint_list_all_children_args {
32865 0 0   0 0   croak "Missing required input 'struct' value"
32866             unless defined $_[1];
32867              
32868             # Serializing field: 'checkpoint'
32869             croak "Missing required input value 'checkpoint'"
32870 0 0         unless exists $_[1]->{checkpoint};
32871             # my ($class, $value, $index, $output) = @_;
32872 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
32873              
32874             # Serializing field: 'need_results'
32875             croak "Missing required input value 'need_results'"
32876 0 0         unless exists $_[1]->{need_results};
32877             # my ($class, $value, $index, $output) = @_;
32878             croak "Missing required input 'int' value"
32879 0 0         unless defined $_[1]->{need_results};
32880             die "Out of bounds 'int': $_[1]->{need_results}"
32881 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
32882             die "Non-integer 'int' value given: $_[1]->{need_results}"
32883 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
32884 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
32885 0           $_[2] += 4;
32886              
32887             # Serializing field: 'flags'
32888             croak "Missing required input value 'flags'"
32889 0 0         unless exists $_[1]->{flags};
32890             # my ($class, $value, $index, $output) = @_;
32891             croak "Missing required input 'unsigned int' value"
32892 0 0         unless defined $_[1]->{flags};
32893             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32894 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32895             die "Non-integer 'int' value given: $_[1]->{flags}"
32896 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32897 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32898 0           $_[2] += 4;
32899             }
32900             # @_: ($class, $value, $index, $input) = @_;
32901             sub deserialize_domain_checkpoint_list_all_children_ret {
32902 0     0 0   my $input_length = length $_[3];
32903 0           $_[1] = {};
32904             # Deserializing field: 'checkpoints'
32905             # my ($class, $value, $index, $input) = @_;
32906 0           do {
32907 0 0         die "Input buffer too short"
32908             if ($input_length - $_[2]) < 4;
32909 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
32910 0           $_[2] += 4;
32911              
32912 0 0         die "Array too long (max: 16384): $len"
32913             unless ($len <= 16384);
32914 0           $_[1]->{checkpoints} = [];
32915 0           for my $i1 ( 0 .. ($len - 1) ) {
32916             # my ($class, $value, $index, $input) = @_;
32917 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{checkpoints}->[$i1], $_[2], $_[3] );
32918             }
32919             };
32920              
32921             # Deserializing field: 'ret'
32922             # my ($class, $value, $index, $input) = @_;
32923 0 0         die "Input buffer too short"
32924             if ($input_length - $_[2]) < 4;
32925 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
32926 0           $_[2] += 4;
32927             die "Out of bounds 'int': $_[1]->{ret}"
32928 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
32929             }
32930             # @_: ($class, $value, $index, $output) = @_;
32931             sub serialize_domain_checkpoint_list_all_children_ret {
32932 0 0   0 0   croak "Missing required input 'struct' value"
32933             unless defined $_[1];
32934              
32935             # Serializing field: 'checkpoints'
32936             croak "Missing required input value 'checkpoints'"
32937 0 0         unless exists $_[1]->{checkpoints};
32938             # my ($class, $value, $index, $output) = @_;
32939             croak "Missing required input 'array' value"
32940 0 0         unless defined $_[1]->{checkpoints};
32941 0           do {
32942 0           my $len = scalar @{ $_[1]->{checkpoints} };
  0            
32943 0 0         die "Array too long (max: 16384): $len"
32944             unless ($len <= 16384);
32945              
32946 0           substr( $_[3], $_[2] ) = pack("L>", $len);
32947 0           $_[2] += 4;
32948 0           for my $i1 ( 0 .. ($len - 1) ) {
32949             # my ($class, $value, $index, $output) = @_;
32950 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{checkpoints}->[$i1], $_[2], $_[3] );
32951             }
32952             };
32953              
32954             # Serializing field: 'ret'
32955             croak "Missing required input value 'ret'"
32956 0 0         unless exists $_[1]->{ret};
32957             # my ($class, $value, $index, $output) = @_;
32958             croak "Missing required input 'int' value"
32959 0 0         unless defined $_[1]->{ret};
32960             die "Out of bounds 'int': $_[1]->{ret}"
32961 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
32962             die "Non-integer 'int' value given: $_[1]->{ret}"
32963 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
32964 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
32965 0           $_[2] += 4;
32966             }
32967             # @_: ($class, $value, $index, $input) = @_;
32968             sub deserialize_domain_checkpoint_lookup_by_name_args {
32969 0     0 0   my $input_length = length $_[3];
32970 0           $_[1] = {};
32971             # Deserializing field: 'dom'
32972             # my ($class, $value, $index, $input) = @_;
32973 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
32974              
32975             # Deserializing field: 'name'
32976             # my ($class, $value, $index, $input) = @_;
32977 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
32978              
32979             # Deserializing field: 'flags'
32980             # my ($class, $value, $index, $input) = @_;
32981 0 0         die "Input buffer too short"
32982             if ($input_length - $_[2]) < 4;
32983 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32984 0           $_[2] += 4;
32985             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32986 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32987             }
32988             # @_: ($class, $value, $index, $output) = @_;
32989             sub serialize_domain_checkpoint_lookup_by_name_args {
32990 0 0   0 0   croak "Missing required input 'struct' value"
32991             unless defined $_[1];
32992              
32993             # Serializing field: 'dom'
32994             croak "Missing required input value 'dom'"
32995 0 0         unless exists $_[1]->{dom};
32996             # my ($class, $value, $index, $output) = @_;
32997 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
32998              
32999             # Serializing field: 'name'
33000             croak "Missing required input value 'name'"
33001 0 0         unless exists $_[1]->{name};
33002             # my ($class, $value, $index, $output) = @_;
33003 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
33004              
33005             # Serializing field: 'flags'
33006             croak "Missing required input value 'flags'"
33007 0 0         unless exists $_[1]->{flags};
33008             # my ($class, $value, $index, $output) = @_;
33009             croak "Missing required input 'unsigned int' value"
33010 0 0         unless defined $_[1]->{flags};
33011             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33012 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33013             die "Non-integer 'int' value given: $_[1]->{flags}"
33014 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33015 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33016 0           $_[2] += 4;
33017             }
33018             # @_: ($class, $value, $index, $input) = @_;
33019             sub deserialize_domain_checkpoint_lookup_by_name_ret {
33020 0     0 0   my $input_length = length $_[3];
33021 0           $_[1] = {};
33022             # Deserializing field: 'checkpoint'
33023             # my ($class, $value, $index, $input) = @_;
33024 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
33025             }
33026             # @_: ($class, $value, $index, $output) = @_;
33027             sub serialize_domain_checkpoint_lookup_by_name_ret {
33028 0 0   0 0   croak "Missing required input 'struct' value"
33029             unless defined $_[1];
33030              
33031             # Serializing field: 'checkpoint'
33032             croak "Missing required input value 'checkpoint'"
33033 0 0         unless exists $_[1]->{checkpoint};
33034             # my ($class, $value, $index, $output) = @_;
33035 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
33036             }
33037             # @_: ($class, $value, $index, $input) = @_;
33038             sub deserialize_domain_checkpoint_get_parent_args {
33039 0     0 0   my $input_length = length $_[3];
33040 0           $_[1] = {};
33041             # Deserializing field: 'checkpoint'
33042             # my ($class, $value, $index, $input) = @_;
33043 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
33044              
33045             # Deserializing field: 'flags'
33046             # my ($class, $value, $index, $input) = @_;
33047 0 0         die "Input buffer too short"
33048             if ($input_length - $_[2]) < 4;
33049 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33050 0           $_[2] += 4;
33051             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33052 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33053             }
33054             # @_: ($class, $value, $index, $output) = @_;
33055             sub serialize_domain_checkpoint_get_parent_args {
33056 0 0   0 0   croak "Missing required input 'struct' value"
33057             unless defined $_[1];
33058              
33059             # Serializing field: 'checkpoint'
33060             croak "Missing required input value 'checkpoint'"
33061 0 0         unless exists $_[1]->{checkpoint};
33062             # my ($class, $value, $index, $output) = @_;
33063 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
33064              
33065             # Serializing field: 'flags'
33066             croak "Missing required input value 'flags'"
33067 0 0         unless exists $_[1]->{flags};
33068             # my ($class, $value, $index, $output) = @_;
33069             croak "Missing required input 'unsigned int' value"
33070 0 0         unless defined $_[1]->{flags};
33071             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33072 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33073             die "Non-integer 'int' value given: $_[1]->{flags}"
33074 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33075 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33076 0           $_[2] += 4;
33077             }
33078             # @_: ($class, $value, $index, $input) = @_;
33079             sub deserialize_domain_checkpoint_get_parent_ret {
33080 0     0 0   my $input_length = length $_[3];
33081 0           $_[1] = {};
33082             # Deserializing field: 'parent'
33083             # my ($class, $value, $index, $input) = @_;
33084 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{parent}, $_[2], $_[3] );
33085             }
33086             # @_: ($class, $value, $index, $output) = @_;
33087             sub serialize_domain_checkpoint_get_parent_ret {
33088 0 0   0 0   croak "Missing required input 'struct' value"
33089             unless defined $_[1];
33090              
33091             # Serializing field: 'parent'
33092             croak "Missing required input value 'parent'"
33093 0 0         unless exists $_[1]->{parent};
33094             # my ($class, $value, $index, $output) = @_;
33095 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{parent}, $_[2], $_[3] );
33096             }
33097             # @_: ($class, $value, $index, $input) = @_;
33098             sub deserialize_domain_checkpoint_delete_args {
33099 0     0 0   my $input_length = length $_[3];
33100 0           $_[1] = {};
33101             # Deserializing field: 'checkpoint'
33102             # my ($class, $value, $index, $input) = @_;
33103 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
33104              
33105             # Deserializing field: 'flags'
33106             # my ($class, $value, $index, $input) = @_;
33107 0 0         die "Input buffer too short"
33108             if ($input_length - $_[2]) < 4;
33109 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33110 0           $_[2] += 4;
33111             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33112 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33113             }
33114             # @_: ($class, $value, $index, $output) = @_;
33115             sub serialize_domain_checkpoint_delete_args {
33116 0 0   0 0   croak "Missing required input 'struct' value"
33117             unless defined $_[1];
33118              
33119             # Serializing field: 'checkpoint'
33120             croak "Missing required input value 'checkpoint'"
33121 0 0         unless exists $_[1]->{checkpoint};
33122             # my ($class, $value, $index, $output) = @_;
33123 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
33124              
33125             # Serializing field: 'flags'
33126             croak "Missing required input value 'flags'"
33127 0 0         unless exists $_[1]->{flags};
33128             # my ($class, $value, $index, $output) = @_;
33129             croak "Missing required input 'unsigned int' value"
33130 0 0         unless defined $_[1]->{flags};
33131             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33132 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33133             die "Non-integer 'int' value given: $_[1]->{flags}"
33134 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33135 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33136 0           $_[2] += 4;
33137             }
33138             # @_: ($class, $value, $index, $input) = @_;
33139             sub deserialize_domain_get_guest_info_args {
33140 0     0 0   my $input_length = length $_[3];
33141 0           $_[1] = {};
33142             # Deserializing field: 'dom'
33143             # my ($class, $value, $index, $input) = @_;
33144 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33145              
33146             # Deserializing field: 'types'
33147             # my ($class, $value, $index, $input) = @_;
33148 0 0         die "Input buffer too short"
33149             if ($input_length - $_[2]) < 4;
33150 0           $_[1]->{types} = unpack("L>", substr( $_[3], $_[2] ));
33151 0           $_[2] += 4;
33152             die "Out of bounds 'unsigned int': $_[1]->{types}"
33153 0 0 0       unless (0 <= $_[1]->{types} and $_[1]->{types} <= 4294967295);
33154              
33155             # Deserializing field: 'flags'
33156             # my ($class, $value, $index, $input) = @_;
33157 0 0         die "Input buffer too short"
33158             if ($input_length - $_[2]) < 4;
33159 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33160 0           $_[2] += 4;
33161             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33162 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33163             }
33164             # @_: ($class, $value, $index, $output) = @_;
33165             sub serialize_domain_get_guest_info_args {
33166 0 0   0 0   croak "Missing required input 'struct' value"
33167             unless defined $_[1];
33168              
33169             # Serializing field: 'dom'
33170             croak "Missing required input value 'dom'"
33171 0 0         unless exists $_[1]->{dom};
33172             # my ($class, $value, $index, $output) = @_;
33173 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33174              
33175             # Serializing field: 'types'
33176             croak "Missing required input value 'types'"
33177 0 0         unless exists $_[1]->{types};
33178             # my ($class, $value, $index, $output) = @_;
33179             croak "Missing required input 'unsigned int' value"
33180 0 0         unless defined $_[1]->{types};
33181             die "Out of bounds 'unsigned int': $_[1]->{types}"
33182 0 0 0       unless (0 <= $_[1]->{types} and $_[1]->{types} <= 4294967295);
33183             die "Non-integer 'int' value given: $_[1]->{types}"
33184 0 0         unless int($_[1]->{types}) == $_[1]->{types};
33185 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{types});
33186 0           $_[2] += 4;
33187              
33188             # Serializing field: 'flags'
33189             croak "Missing required input value 'flags'"
33190 0 0         unless exists $_[1]->{flags};
33191             # my ($class, $value, $index, $output) = @_;
33192             croak "Missing required input 'unsigned int' value"
33193 0 0         unless defined $_[1]->{flags};
33194             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33195 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33196             die "Non-integer 'int' value given: $_[1]->{flags}"
33197 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33198 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33199 0           $_[2] += 4;
33200             }
33201             # @_: ($class, $value, $index, $input) = @_;
33202             sub deserialize_domain_get_guest_info_ret {
33203 0     0 0   my $input_length = length $_[3];
33204 0           $_[1] = {};
33205             # Deserializing field: 'params'
33206             # my ($class, $value, $index, $input) = @_;
33207 0           do {
33208 0 0         die "Input buffer too short"
33209             if ($input_length - $_[2]) < 4;
33210 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
33211 0           $_[2] += 4;
33212              
33213 0 0         die "Array too long (max: 2048): $len"
33214             unless ($len <= 2048);
33215 0           $_[1]->{params} = [];
33216 0           for my $i1 ( 0 .. ($len - 1) ) {
33217             # my ($class, $value, $index, $input) = @_;
33218 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
33219             }
33220             };
33221             }
33222             # @_: ($class, $value, $index, $output) = @_;
33223             sub serialize_domain_get_guest_info_ret {
33224 0 0   0 0   croak "Missing required input 'struct' value"
33225             unless defined $_[1];
33226              
33227             # Serializing field: 'params'
33228             croak "Missing required input value 'params'"
33229 0 0         unless exists $_[1]->{params};
33230             # my ($class, $value, $index, $output) = @_;
33231             croak "Missing required input 'array' value"
33232 0 0         unless defined $_[1]->{params};
33233 0           do {
33234 0           my $len = scalar @{ $_[1]->{params} };
  0            
33235 0 0         die "Array too long (max: 2048): $len"
33236             unless ($len <= 2048);
33237              
33238 0           substr( $_[3], $_[2] ) = pack("L>", $len);
33239 0           $_[2] += 4;
33240 0           for my $i1 ( 0 .. ($len - 1) ) {
33241             # my ($class, $value, $index, $output) = @_;
33242 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
33243             }
33244             };
33245             }
33246             # @_: ($class, $value, $index, $input) = @_;
33247             sub deserialize_connect_set_identity_args {
33248 0     0 0   my $input_length = length $_[3];
33249 0           $_[1] = {};
33250             # Deserializing field: 'params'
33251             # my ($class, $value, $index, $input) = @_;
33252 0           do {
33253 0 0         die "Input buffer too short"
33254             if ($input_length - $_[2]) < 4;
33255 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
33256 0           $_[2] += 4;
33257              
33258 0 0         die "Array too long (max: 20): $len"
33259             unless ($len <= 20);
33260 0           $_[1]->{params} = [];
33261 0           for my $i1 ( 0 .. ($len - 1) ) {
33262             # my ($class, $value, $index, $input) = @_;
33263 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
33264             }
33265             };
33266              
33267             # Deserializing field: 'flags'
33268             # my ($class, $value, $index, $input) = @_;
33269 0 0         die "Input buffer too short"
33270             if ($input_length - $_[2]) < 4;
33271 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33272 0           $_[2] += 4;
33273             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33274 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33275             }
33276             # @_: ($class, $value, $index, $output) = @_;
33277             sub serialize_connect_set_identity_args {
33278 0 0   0 0   croak "Missing required input 'struct' value"
33279             unless defined $_[1];
33280              
33281             # Serializing field: 'params'
33282             croak "Missing required input value 'params'"
33283 0 0         unless exists $_[1]->{params};
33284             # my ($class, $value, $index, $output) = @_;
33285             croak "Missing required input 'array' value"
33286 0 0         unless defined $_[1]->{params};
33287 0           do {
33288 0           my $len = scalar @{ $_[1]->{params} };
  0            
33289 0 0         die "Array too long (max: 20): $len"
33290             unless ($len <= 20);
33291              
33292 0           substr( $_[3], $_[2] ) = pack("L>", $len);
33293 0           $_[2] += 4;
33294 0           for my $i1 ( 0 .. ($len - 1) ) {
33295             # my ($class, $value, $index, $output) = @_;
33296 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
33297             }
33298             };
33299              
33300             # Serializing field: 'flags'
33301             croak "Missing required input value 'flags'"
33302 0 0         unless exists $_[1]->{flags};
33303             # my ($class, $value, $index, $output) = @_;
33304             croak "Missing required input 'unsigned int' value"
33305 0 0         unless defined $_[1]->{flags};
33306             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33307 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33308             die "Non-integer 'int' value given: $_[1]->{flags}"
33309 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33310 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33311 0           $_[2] += 4;
33312             }
33313             # @_: ($class, $value, $index, $input) = @_;
33314             sub deserialize_domain_agent_set_response_timeout_args {
33315 0     0 0   my $input_length = length $_[3];
33316 0           $_[1] = {};
33317             # Deserializing field: 'dom'
33318             # my ($class, $value, $index, $input) = @_;
33319 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33320              
33321             # Deserializing field: 'timeout'
33322             # my ($class, $value, $index, $input) = @_;
33323 0 0         die "Input buffer too short"
33324             if ($input_length - $_[2]) < 4;
33325 0           $_[1]->{timeout} = unpack("l>", substr( $_[3], $_[2] ));
33326 0           $_[2] += 4;
33327             die "Out of bounds 'int': $_[1]->{timeout}"
33328 0 0 0       unless (-2147483648 <= $_[1]->{timeout} and $_[1]->{timeout} < 2147483648);
33329              
33330             # Deserializing field: 'flags'
33331             # my ($class, $value, $index, $input) = @_;
33332 0 0         die "Input buffer too short"
33333             if ($input_length - $_[2]) < 4;
33334 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33335 0           $_[2] += 4;
33336             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33337 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33338             }
33339             # @_: ($class, $value, $index, $output) = @_;
33340             sub serialize_domain_agent_set_response_timeout_args {
33341 0 0   0 0   croak "Missing required input 'struct' value"
33342             unless defined $_[1];
33343              
33344             # Serializing field: 'dom'
33345             croak "Missing required input value 'dom'"
33346 0 0         unless exists $_[1]->{dom};
33347             # my ($class, $value, $index, $output) = @_;
33348 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33349              
33350             # Serializing field: 'timeout'
33351             croak "Missing required input value 'timeout'"
33352 0 0         unless exists $_[1]->{timeout};
33353             # my ($class, $value, $index, $output) = @_;
33354             croak "Missing required input 'int' value"
33355 0 0         unless defined $_[1]->{timeout};
33356             die "Out of bounds 'int': $_[1]->{timeout}"
33357 0 0 0       unless (-2147483648 <= $_[1]->{timeout} and $_[1]->{timeout} < 2147483648);
33358             die "Non-integer 'int' value given: $_[1]->{timeout}"
33359 0 0         unless int($_[1]->{timeout}) == $_[1]->{timeout};
33360 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{timeout});
33361 0           $_[2] += 4;
33362              
33363             # Serializing field: 'flags'
33364             croak "Missing required input value 'flags'"
33365 0 0         unless exists $_[1]->{flags};
33366             # my ($class, $value, $index, $output) = @_;
33367             croak "Missing required input 'unsigned int' value"
33368 0 0         unless defined $_[1]->{flags};
33369             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33370 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33371             die "Non-integer 'int' value given: $_[1]->{flags}"
33372 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33373 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33374 0           $_[2] += 4;
33375             }
33376             # @_: ($class, $value, $index, $input) = @_;
33377             sub deserialize_domain_agent_set_response_timeout_ret {
33378 0     0 0   my $input_length = length $_[3];
33379 0           $_[1] = {};
33380             # Deserializing field: 'result'
33381             # my ($class, $value, $index, $input) = @_;
33382 0 0         die "Input buffer too short"
33383             if ($input_length - $_[2]) < 4;
33384 0           $_[1]->{result} = unpack("l>", substr( $_[3], $_[2] ));
33385 0           $_[2] += 4;
33386             die "Out of bounds 'int': $_[1]->{result}"
33387 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
33388             }
33389             # @_: ($class, $value, $index, $output) = @_;
33390             sub serialize_domain_agent_set_response_timeout_ret {
33391 0 0   0 0   croak "Missing required input 'struct' value"
33392             unless defined $_[1];
33393              
33394             # Serializing field: 'result'
33395             croak "Missing required input value 'result'"
33396 0 0         unless exists $_[1]->{result};
33397             # my ($class, $value, $index, $output) = @_;
33398             croak "Missing required input 'int' value"
33399 0 0         unless defined $_[1]->{result};
33400             die "Out of bounds 'int': $_[1]->{result}"
33401 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
33402             die "Non-integer 'int' value given: $_[1]->{result}"
33403 0 0         unless int($_[1]->{result}) == $_[1]->{result};
33404 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{result});
33405 0           $_[2] += 4;
33406             }
33407             # @_: ($class, $value, $index, $input) = @_;
33408             sub deserialize_domain_backup_begin_args {
33409 0     0 0   my $input_length = length $_[3];
33410 0           $_[1] = {};
33411             # Deserializing field: 'dom'
33412             # my ($class, $value, $index, $input) = @_;
33413 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33414              
33415             # Deserializing field: 'backup_xml'
33416             # my ($class, $value, $index, $input) = @_;
33417 0           $_[0]->deserialize_nonnull_string( $_[1]->{backup_xml}, $_[2], $_[3] );
33418              
33419             # Deserializing field: 'checkpoint_xml'
33420             # my ($class, $value, $index, $input) = @_;
33421 0           $_[0]->deserialize_string( $_[1]->{checkpoint_xml}, $_[2], $_[3] );
33422              
33423             # Deserializing field: 'flags'
33424             # my ($class, $value, $index, $input) = @_;
33425 0 0         die "Input buffer too short"
33426             if ($input_length - $_[2]) < 4;
33427 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33428 0           $_[2] += 4;
33429             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33430 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33431             }
33432             # @_: ($class, $value, $index, $output) = @_;
33433             sub serialize_domain_backup_begin_args {
33434 0 0   0 0   croak "Missing required input 'struct' value"
33435             unless defined $_[1];
33436              
33437             # Serializing field: 'dom'
33438             croak "Missing required input value 'dom'"
33439 0 0         unless exists $_[1]->{dom};
33440             # my ($class, $value, $index, $output) = @_;
33441 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33442              
33443             # Serializing field: 'backup_xml'
33444             croak "Missing required input value 'backup_xml'"
33445 0 0         unless exists $_[1]->{backup_xml};
33446             # my ($class, $value, $index, $output) = @_;
33447 0           $_[0]->serialize_nonnull_string( $_[1]->{backup_xml}, $_[2], $_[3] );
33448              
33449             # Serializing field: 'checkpoint_xml'
33450             croak "Missing required input value 'checkpoint_xml'"
33451 0 0         unless exists $_[1]->{checkpoint_xml};
33452             # my ($class, $value, $index, $output) = @_;
33453 0           $_[0]->serialize_string( $_[1]->{checkpoint_xml}, $_[2], $_[3] );
33454              
33455             # Serializing field: 'flags'
33456             croak "Missing required input value 'flags'"
33457 0 0         unless exists $_[1]->{flags};
33458             # my ($class, $value, $index, $output) = @_;
33459             croak "Missing required input 'unsigned int' value"
33460 0 0         unless defined $_[1]->{flags};
33461             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33462 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33463             die "Non-integer 'int' value given: $_[1]->{flags}"
33464 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33465 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33466 0           $_[2] += 4;
33467             }
33468             # @_: ($class, $value, $index, $input) = @_;
33469             sub deserialize_domain_backup_get_xml_desc_args {
33470 0     0 0   my $input_length = length $_[3];
33471 0           $_[1] = {};
33472             # Deserializing field: 'dom'
33473             # my ($class, $value, $index, $input) = @_;
33474 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33475              
33476             # Deserializing field: 'flags'
33477             # my ($class, $value, $index, $input) = @_;
33478 0 0         die "Input buffer too short"
33479             if ($input_length - $_[2]) < 4;
33480 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33481 0           $_[2] += 4;
33482             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33483 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33484             }
33485             # @_: ($class, $value, $index, $output) = @_;
33486             sub serialize_domain_backup_get_xml_desc_args {
33487 0 0   0 0   croak "Missing required input 'struct' value"
33488             unless defined $_[1];
33489              
33490             # Serializing field: 'dom'
33491             croak "Missing required input value 'dom'"
33492 0 0         unless exists $_[1]->{dom};
33493             # my ($class, $value, $index, $output) = @_;
33494 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33495              
33496             # Serializing field: 'flags'
33497             croak "Missing required input value 'flags'"
33498 0 0         unless exists $_[1]->{flags};
33499             # my ($class, $value, $index, $output) = @_;
33500             croak "Missing required input 'unsigned int' value"
33501 0 0         unless defined $_[1]->{flags};
33502             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33503 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33504             die "Non-integer 'int' value given: $_[1]->{flags}"
33505 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33506 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33507 0           $_[2] += 4;
33508             }
33509             # @_: ($class, $value, $index, $input) = @_;
33510             sub deserialize_domain_backup_get_xml_desc_ret {
33511 0     0 0   my $input_length = length $_[3];
33512 0           $_[1] = {};
33513             # Deserializing field: 'xml'
33514             # my ($class, $value, $index, $input) = @_;
33515 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
33516             }
33517             # @_: ($class, $value, $index, $output) = @_;
33518             sub serialize_domain_backup_get_xml_desc_ret {
33519 0 0   0 0   croak "Missing required input 'struct' value"
33520             unless defined $_[1];
33521              
33522             # Serializing field: 'xml'
33523             croak "Missing required input value 'xml'"
33524 0 0         unless exists $_[1]->{xml};
33525             # my ($class, $value, $index, $output) = @_;
33526 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
33527             }
33528             # @_: ($class, $value, $index, $input) = @_;
33529             sub deserialize_domain_authorized_ssh_keys_get_args {
33530 0     0 0   my $input_length = length $_[3];
33531 0           $_[1] = {};
33532             # Deserializing field: 'dom'
33533             # my ($class, $value, $index, $input) = @_;
33534 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33535              
33536             # Deserializing field: 'user'
33537             # my ($class, $value, $index, $input) = @_;
33538 0           $_[0]->deserialize_nonnull_string( $_[1]->{user}, $_[2], $_[3] );
33539              
33540             # Deserializing field: 'flags'
33541             # my ($class, $value, $index, $input) = @_;
33542 0 0         die "Input buffer too short"
33543             if ($input_length - $_[2]) < 4;
33544 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33545 0           $_[2] += 4;
33546             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33547 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33548             }
33549             # @_: ($class, $value, $index, $output) = @_;
33550             sub serialize_domain_authorized_ssh_keys_get_args {
33551 0 0   0 0   croak "Missing required input 'struct' value"
33552             unless defined $_[1];
33553              
33554             # Serializing field: 'dom'
33555             croak "Missing required input value 'dom'"
33556 0 0         unless exists $_[1]->{dom};
33557             # my ($class, $value, $index, $output) = @_;
33558 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33559              
33560             # Serializing field: 'user'
33561             croak "Missing required input value 'user'"
33562 0 0         unless exists $_[1]->{user};
33563             # my ($class, $value, $index, $output) = @_;
33564 0           $_[0]->serialize_nonnull_string( $_[1]->{user}, $_[2], $_[3] );
33565              
33566             # Serializing field: 'flags'
33567             croak "Missing required input value 'flags'"
33568 0 0         unless exists $_[1]->{flags};
33569             # my ($class, $value, $index, $output) = @_;
33570             croak "Missing required input 'unsigned int' value"
33571 0 0         unless defined $_[1]->{flags};
33572             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33573 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33574             die "Non-integer 'int' value given: $_[1]->{flags}"
33575 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33576 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33577 0           $_[2] += 4;
33578             }
33579             # @_: ($class, $value, $index, $input) = @_;
33580             sub deserialize_domain_authorized_ssh_keys_get_ret {
33581 0     0 0   my $input_length = length $_[3];
33582 0           $_[1] = {};
33583             # Deserializing field: 'keys'
33584             # my ($class, $value, $index, $input) = @_;
33585 0           do {
33586 0 0         die "Input buffer too short"
33587             if ($input_length - $_[2]) < 4;
33588 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
33589 0           $_[2] += 4;
33590              
33591 0 0         die "Array too long (max: 2048): $len"
33592             unless ($len <= 2048);
33593 0           $_[1]->{keys} = [];
33594 0           for my $i1 ( 0 .. ($len - 1) ) {
33595             # my ($class, $value, $index, $input) = @_;
33596 0           $_[0]->deserialize_nonnull_string( $_[1]->{keys}->[$i1], $_[2], $_[3] );
33597             }
33598             };
33599             }
33600             # @_: ($class, $value, $index, $output) = @_;
33601             sub serialize_domain_authorized_ssh_keys_get_ret {
33602 0 0   0 0   croak "Missing required input 'struct' value"
33603             unless defined $_[1];
33604              
33605             # Serializing field: 'keys'
33606             croak "Missing required input value 'keys'"
33607 0 0         unless exists $_[1]->{keys};
33608             # my ($class, $value, $index, $output) = @_;
33609             croak "Missing required input 'array' value"
33610 0 0         unless defined $_[1]->{keys};
33611 0           do {
33612 0           my $len = scalar @{ $_[1]->{keys} };
  0            
33613 0 0         die "Array too long (max: 2048): $len"
33614             unless ($len <= 2048);
33615              
33616 0           substr( $_[3], $_[2] ) = pack("L>", $len);
33617 0           $_[2] += 4;
33618 0           for my $i1 ( 0 .. ($len - 1) ) {
33619             # my ($class, $value, $index, $output) = @_;
33620 0           $_[0]->serialize_nonnull_string( $_[1]->{keys}->[$i1], $_[2], $_[3] );
33621             }
33622             };
33623             }
33624             # @_: ($class, $value, $index, $input) = @_;
33625             sub deserialize_domain_authorized_ssh_keys_set_args {
33626 0     0 0   my $input_length = length $_[3];
33627 0           $_[1] = {};
33628             # Deserializing field: 'dom'
33629             # my ($class, $value, $index, $input) = @_;
33630 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33631              
33632             # Deserializing field: 'user'
33633             # my ($class, $value, $index, $input) = @_;
33634 0           $_[0]->deserialize_nonnull_string( $_[1]->{user}, $_[2], $_[3] );
33635              
33636             # Deserializing field: 'keys'
33637             # my ($class, $value, $index, $input) = @_;
33638 0           do {
33639 0 0         die "Input buffer too short"
33640             if ($input_length - $_[2]) < 4;
33641 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
33642 0           $_[2] += 4;
33643              
33644 0 0         die "Array too long (max: 2048): $len"
33645             unless ($len <= 2048);
33646 0           $_[1]->{keys} = [];
33647 0           for my $i1 ( 0 .. ($len - 1) ) {
33648             # my ($class, $value, $index, $input) = @_;
33649 0           $_[0]->deserialize_nonnull_string( $_[1]->{keys}->[$i1], $_[2], $_[3] );
33650             }
33651             };
33652              
33653             # Deserializing field: 'flags'
33654             # my ($class, $value, $index, $input) = @_;
33655 0 0         die "Input buffer too short"
33656             if ($input_length - $_[2]) < 4;
33657 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33658 0           $_[2] += 4;
33659             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33660 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33661             }
33662             # @_: ($class, $value, $index, $output) = @_;
33663             sub serialize_domain_authorized_ssh_keys_set_args {
33664 0 0   0 0   croak "Missing required input 'struct' value"
33665             unless defined $_[1];
33666              
33667             # Serializing field: 'dom'
33668             croak "Missing required input value 'dom'"
33669 0 0         unless exists $_[1]->{dom};
33670             # my ($class, $value, $index, $output) = @_;
33671 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33672              
33673             # Serializing field: 'user'
33674             croak "Missing required input value 'user'"
33675 0 0         unless exists $_[1]->{user};
33676             # my ($class, $value, $index, $output) = @_;
33677 0           $_[0]->serialize_nonnull_string( $_[1]->{user}, $_[2], $_[3] );
33678              
33679             # Serializing field: 'keys'
33680             croak "Missing required input value 'keys'"
33681 0 0         unless exists $_[1]->{keys};
33682             # my ($class, $value, $index, $output) = @_;
33683             croak "Missing required input 'array' value"
33684 0 0         unless defined $_[1]->{keys};
33685 0           do {
33686 0           my $len = scalar @{ $_[1]->{keys} };
  0            
33687 0 0         die "Array too long (max: 2048): $len"
33688             unless ($len <= 2048);
33689              
33690 0           substr( $_[3], $_[2] ) = pack("L>", $len);
33691 0           $_[2] += 4;
33692 0           for my $i1 ( 0 .. ($len - 1) ) {
33693             # my ($class, $value, $index, $output) = @_;
33694 0           $_[0]->serialize_nonnull_string( $_[1]->{keys}->[$i1], $_[2], $_[3] );
33695             }
33696             };
33697              
33698             # Serializing field: 'flags'
33699             croak "Missing required input value 'flags'"
33700 0 0         unless exists $_[1]->{flags};
33701             # my ($class, $value, $index, $output) = @_;
33702             croak "Missing required input 'unsigned int' value"
33703 0 0         unless defined $_[1]->{flags};
33704             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33705 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33706             die "Non-integer 'int' value given: $_[1]->{flags}"
33707 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33708 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33709 0           $_[2] += 4;
33710             }
33711             # @_: ($class, $value, $index, $input) = @_;
33712             sub deserialize_domain_get_messages_args {
33713 0     0 0   my $input_length = length $_[3];
33714 0           $_[1] = {};
33715             # Deserializing field: 'dom'
33716             # my ($class, $value, $index, $input) = @_;
33717 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33718              
33719             # Deserializing field: 'flags'
33720             # my ($class, $value, $index, $input) = @_;
33721 0 0         die "Input buffer too short"
33722             if ($input_length - $_[2]) < 4;
33723 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33724 0           $_[2] += 4;
33725             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33726 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33727             }
33728             # @_: ($class, $value, $index, $output) = @_;
33729             sub serialize_domain_get_messages_args {
33730 0 0   0 0   croak "Missing required input 'struct' value"
33731             unless defined $_[1];
33732              
33733             # Serializing field: 'dom'
33734             croak "Missing required input value 'dom'"
33735 0 0         unless exists $_[1]->{dom};
33736             # my ($class, $value, $index, $output) = @_;
33737 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33738              
33739             # Serializing field: 'flags'
33740             croak "Missing required input value 'flags'"
33741 0 0         unless exists $_[1]->{flags};
33742             # my ($class, $value, $index, $output) = @_;
33743             croak "Missing required input 'unsigned int' value"
33744 0 0         unless defined $_[1]->{flags};
33745             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33746 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33747             die "Non-integer 'int' value given: $_[1]->{flags}"
33748 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33749 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33750 0           $_[2] += 4;
33751             }
33752             # @_: ($class, $value, $index, $input) = @_;
33753             sub deserialize_domain_get_messages_ret {
33754 0     0 0   my $input_length = length $_[3];
33755 0           $_[1] = {};
33756             # Deserializing field: 'msgs'
33757             # my ($class, $value, $index, $input) = @_;
33758 0           do {
33759 0 0         die "Input buffer too short"
33760             if ($input_length - $_[2]) < 4;
33761 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
33762 0           $_[2] += 4;
33763              
33764 0 0         die "Array too long (max: 2048): $len"
33765             unless ($len <= 2048);
33766 0           $_[1]->{msgs} = [];
33767 0           for my $i1 ( 0 .. ($len - 1) ) {
33768             # my ($class, $value, $index, $input) = @_;
33769 0           $_[0]->deserialize_nonnull_string( $_[1]->{msgs}->[$i1], $_[2], $_[3] );
33770             }
33771             };
33772             }
33773             # @_: ($class, $value, $index, $output) = @_;
33774             sub serialize_domain_get_messages_ret {
33775 0 0   0 0   croak "Missing required input 'struct' value"
33776             unless defined $_[1];
33777              
33778             # Serializing field: 'msgs'
33779             croak "Missing required input value 'msgs'"
33780 0 0         unless exists $_[1]->{msgs};
33781             # my ($class, $value, $index, $output) = @_;
33782             croak "Missing required input 'array' value"
33783 0 0         unless defined $_[1]->{msgs};
33784 0           do {
33785 0           my $len = scalar @{ $_[1]->{msgs} };
  0            
33786 0 0         die "Array too long (max: 2048): $len"
33787             unless ($len <= 2048);
33788              
33789 0           substr( $_[3], $_[2] ) = pack("L>", $len);
33790 0           $_[2] += 4;
33791 0           for my $i1 ( 0 .. ($len - 1) ) {
33792             # my ($class, $value, $index, $output) = @_;
33793 0           $_[0]->serialize_nonnull_string( $_[1]->{msgs}->[$i1], $_[2], $_[3] );
33794             }
33795             };
33796             }
33797             # @_: ($class, $value, $index, $input) = @_;
33798             sub deserialize_domain_start_dirty_rate_calc_args {
33799 0     0 0   my $input_length = length $_[3];
33800 0           $_[1] = {};
33801             # Deserializing field: 'dom'
33802             # my ($class, $value, $index, $input) = @_;
33803 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33804              
33805             # Deserializing field: 'seconds'
33806             # my ($class, $value, $index, $input) = @_;
33807 0 0         die "Input buffer too short"
33808             if ($input_length - $_[2]) < 4;
33809 0           $_[1]->{seconds} = unpack("l>", substr( $_[3], $_[2] ));
33810 0           $_[2] += 4;
33811             die "Out of bounds 'int': $_[1]->{seconds}"
33812 0 0 0       unless (-2147483648 <= $_[1]->{seconds} and $_[1]->{seconds} < 2147483648);
33813              
33814             # Deserializing field: 'flags'
33815             # my ($class, $value, $index, $input) = @_;
33816 0 0         die "Input buffer too short"
33817             if ($input_length - $_[2]) < 4;
33818 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33819 0           $_[2] += 4;
33820             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33821 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33822             }
33823             # @_: ($class, $value, $index, $output) = @_;
33824             sub serialize_domain_start_dirty_rate_calc_args {
33825 0 0   0 0   croak "Missing required input 'struct' value"
33826             unless defined $_[1];
33827              
33828             # Serializing field: 'dom'
33829             croak "Missing required input value 'dom'"
33830 0 0         unless exists $_[1]->{dom};
33831             # my ($class, $value, $index, $output) = @_;
33832 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33833              
33834             # Serializing field: 'seconds'
33835             croak "Missing required input value 'seconds'"
33836 0 0         unless exists $_[1]->{seconds};
33837             # my ($class, $value, $index, $output) = @_;
33838             croak "Missing required input 'int' value"
33839 0 0         unless defined $_[1]->{seconds};
33840             die "Out of bounds 'int': $_[1]->{seconds}"
33841 0 0 0       unless (-2147483648 <= $_[1]->{seconds} and $_[1]->{seconds} < 2147483648);
33842             die "Non-integer 'int' value given: $_[1]->{seconds}"
33843 0 0         unless int($_[1]->{seconds}) == $_[1]->{seconds};
33844 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{seconds});
33845 0           $_[2] += 4;
33846              
33847             # Serializing field: 'flags'
33848             croak "Missing required input value 'flags'"
33849 0 0         unless exists $_[1]->{flags};
33850             # my ($class, $value, $index, $output) = @_;
33851             croak "Missing required input 'unsigned int' value"
33852 0 0         unless defined $_[1]->{flags};
33853             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33854 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33855             die "Non-integer 'int' value given: $_[1]->{flags}"
33856 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33857 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33858 0           $_[2] += 4;
33859             }
33860             # @_: ($class, $value, $index, $input) = @_;
33861             sub deserialize_domain_graphics_reload_args {
33862 0     0 0   my $input_length = length $_[3];
33863 0           $_[1] = {};
33864             # Deserializing field: 'dom'
33865             # my ($class, $value, $index, $input) = @_;
33866 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33867              
33868             # Deserializing field: 'type'
33869             # my ($class, $value, $index, $input) = @_;
33870 0 0         die "Input buffer too short"
33871             if ($input_length - $_[2]) < 4;
33872 0           $_[1]->{type} = unpack("L>", substr( $_[3], $_[2] ));
33873 0           $_[2] += 4;
33874             die "Out of bounds 'unsigned int': $_[1]->{type}"
33875 0 0 0       unless (0 <= $_[1]->{type} and $_[1]->{type} <= 4294967295);
33876              
33877             # Deserializing field: 'flags'
33878             # my ($class, $value, $index, $input) = @_;
33879 0 0         die "Input buffer too short"
33880             if ($input_length - $_[2]) < 4;
33881 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33882 0           $_[2] += 4;
33883             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33884 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33885             }
33886             # @_: ($class, $value, $index, $output) = @_;
33887             sub serialize_domain_graphics_reload_args {
33888 0 0   0 0   croak "Missing required input 'struct' value"
33889             unless defined $_[1];
33890              
33891             # Serializing field: 'dom'
33892             croak "Missing required input value 'dom'"
33893 0 0         unless exists $_[1]->{dom};
33894             # my ($class, $value, $index, $output) = @_;
33895 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33896              
33897             # Serializing field: 'type'
33898             croak "Missing required input value 'type'"
33899 0 0         unless exists $_[1]->{type};
33900             # my ($class, $value, $index, $output) = @_;
33901             croak "Missing required input 'unsigned int' value"
33902 0 0         unless defined $_[1]->{type};
33903             die "Out of bounds 'unsigned int': $_[1]->{type}"
33904 0 0 0       unless (0 <= $_[1]->{type} and $_[1]->{type} <= 4294967295);
33905             die "Non-integer 'int' value given: $_[1]->{type}"
33906 0 0         unless int($_[1]->{type}) == $_[1]->{type};
33907 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{type});
33908 0           $_[2] += 4;
33909              
33910             # Serializing field: 'flags'
33911             croak "Missing required input value 'flags'"
33912 0 0         unless exists $_[1]->{flags};
33913             # my ($class, $value, $index, $output) = @_;
33914             croak "Missing required input 'unsigned int' value"
33915 0 0         unless defined $_[1]->{flags};
33916             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33917 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33918             die "Non-integer 'int' value given: $_[1]->{flags}"
33919 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33920 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33921 0           $_[2] += 4;
33922             }
33923             # @_: ($class, $value, $index, $input) = @_;
33924             sub deserialize_domain_event_memory_device_size_change_msg {
33925 0     0 0   my $input_length = length $_[3];
33926 0           $_[1] = {};
33927             # Deserializing field: 'callbackID'
33928             # my ($class, $value, $index, $input) = @_;
33929 0 0         die "Input buffer too short"
33930             if ($input_length - $_[2]) < 4;
33931 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
33932 0           $_[2] += 4;
33933             die "Out of bounds 'int': $_[1]->{callbackID}"
33934 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
33935              
33936             # Deserializing field: 'dom'
33937             # my ($class, $value, $index, $input) = @_;
33938 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33939              
33940             # Deserializing field: 'alias'
33941             # my ($class, $value, $index, $input) = @_;
33942 0           $_[0]->deserialize_nonnull_string( $_[1]->{alias}, $_[2], $_[3] );
33943              
33944             # Deserializing field: 'size'
33945             # my ($class, $value, $index, $input) = @_;
33946 0 0         die "Input buffer too short"
33947             if ($input_length - $_[2]) < 8;
33948 0           $_[1]->{size} = unpack("Q>", substr( $_[3], $_[2] ));
33949 0           $_[2] += 8;
33950             die "Out of bounds 'unsigned hyper': $_[1]->{size}"
33951             unless (0 <= $_[1]->{size}
33952 0 0 0       and $_[1]->{size} <= 18446744073709551615);
33953             }
33954             # @_: ($class, $value, $index, $output) = @_;
33955             sub serialize_domain_event_memory_device_size_change_msg {
33956 0 0   0 0   croak "Missing required input 'struct' value"
33957             unless defined $_[1];
33958              
33959             # Serializing field: 'callbackID'
33960             croak "Missing required input value 'callbackID'"
33961 0 0         unless exists $_[1]->{callbackID};
33962             # my ($class, $value, $index, $output) = @_;
33963             croak "Missing required input 'int' value"
33964 0 0         unless defined $_[1]->{callbackID};
33965             die "Out of bounds 'int': $_[1]->{callbackID}"
33966 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
33967             die "Non-integer 'int' value given: $_[1]->{callbackID}"
33968 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
33969 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
33970 0           $_[2] += 4;
33971              
33972             # Serializing field: 'dom'
33973             croak "Missing required input value 'dom'"
33974 0 0         unless exists $_[1]->{dom};
33975             # my ($class, $value, $index, $output) = @_;
33976 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33977              
33978             # Serializing field: 'alias'
33979             croak "Missing required input value 'alias'"
33980 0 0         unless exists $_[1]->{alias};
33981             # my ($class, $value, $index, $output) = @_;
33982 0           $_[0]->serialize_nonnull_string( $_[1]->{alias}, $_[2], $_[3] );
33983              
33984             # Serializing field: 'size'
33985             croak "Missing required input value 'size'"
33986 0 0         unless exists $_[1]->{size};
33987             # my ($class, $value, $index, $output) = @_;
33988             croak "Missing required input 'unsigned long' value"
33989 0 0         unless defined $_[1]->{size};
33990             die "Out of bounds 'unsigned hyper': $_[1]->{size}"
33991             unless (0 <= $_[1]->{size}
33992 0 0 0       and $_[1]->{size} <= 18446744073709551615);
33993             die "Non-integer 'long' value given: $_[1]->{size}"
33994 0 0         unless int($_[1]->{size}) == $_[1]->{size};
33995 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{size});
33996 0           $_[2] += 8;
33997             }
33998             # @_: ($class, $value, $index, $input) = @_;
33999             sub deserialize_domain_event_vcpu_removed_msg {
34000 0     0 0   my $input_length = length $_[3];
34001 0           $_[1] = {};
34002             # Deserializing field: 'callbackID'
34003             # my ($class, $value, $index, $input) = @_;
34004 0 0         die "Input buffer too short"
34005             if ($input_length - $_[2]) < 4;
34006 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
34007 0           $_[2] += 4;
34008             die "Out of bounds 'int': $_[1]->{callbackID}"
34009 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
34010              
34011             # Deserializing field: 'dom'
34012             # my ($class, $value, $index, $input) = @_;
34013 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34014              
34015             # Deserializing field: 'vcpuid'
34016             # my ($class, $value, $index, $input) = @_;
34017 0 0         die "Input buffer too short"
34018             if ($input_length - $_[2]) < 4;
34019 0           $_[1]->{vcpuid} = unpack("L>", substr( $_[3], $_[2] ));
34020 0           $_[2] += 4;
34021             die "Out of bounds 'unsigned int': $_[1]->{vcpuid}"
34022 0 0 0       unless (0 <= $_[1]->{vcpuid} and $_[1]->{vcpuid} <= 4294967295);
34023             }
34024             # @_: ($class, $value, $index, $output) = @_;
34025             sub serialize_domain_event_vcpu_removed_msg {
34026 0 0   0 0   croak "Missing required input 'struct' value"
34027             unless defined $_[1];
34028              
34029             # Serializing field: 'callbackID'
34030             croak "Missing required input value 'callbackID'"
34031 0 0         unless exists $_[1]->{callbackID};
34032             # my ($class, $value, $index, $output) = @_;
34033             croak "Missing required input 'int' value"
34034 0 0         unless defined $_[1]->{callbackID};
34035             die "Out of bounds 'int': $_[1]->{callbackID}"
34036 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
34037             die "Non-integer 'int' value given: $_[1]->{callbackID}"
34038 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
34039 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
34040 0           $_[2] += 4;
34041              
34042             # Serializing field: 'dom'
34043             croak "Missing required input value 'dom'"
34044 0 0         unless exists $_[1]->{dom};
34045             # my ($class, $value, $index, $output) = @_;
34046 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34047              
34048             # Serializing field: 'vcpuid'
34049             croak "Missing required input value 'vcpuid'"
34050 0 0         unless exists $_[1]->{vcpuid};
34051             # my ($class, $value, $index, $output) = @_;
34052             croak "Missing required input 'unsigned int' value"
34053 0 0         unless defined $_[1]->{vcpuid};
34054             die "Out of bounds 'unsigned int': $_[1]->{vcpuid}"
34055 0 0 0       unless (0 <= $_[1]->{vcpuid} and $_[1]->{vcpuid} <= 4294967295);
34056             die "Non-integer 'int' value given: $_[1]->{vcpuid}"
34057 0 0         unless int($_[1]->{vcpuid}) == $_[1]->{vcpuid};
34058 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{vcpuid});
34059 0           $_[2] += 4;
34060             }
34061             # @_: ($class, $value, $index, $input) = @_;
34062             sub deserialize_domain_fd_associate_args {
34063 0     0 0   my $input_length = length $_[3];
34064 0           $_[1] = {};
34065             # Deserializing field: 'dom'
34066             # my ($class, $value, $index, $input) = @_;
34067 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34068              
34069             # Deserializing field: 'name'
34070             # my ($class, $value, $index, $input) = @_;
34071 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
34072              
34073             # Deserializing field: 'flags'
34074             # my ($class, $value, $index, $input) = @_;
34075 0 0         die "Input buffer too short"
34076             if ($input_length - $_[2]) < 4;
34077 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
34078 0           $_[2] += 4;
34079             die "Out of bounds 'unsigned int': $_[1]->{flags}"
34080 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
34081             }
34082             # @_: ($class, $value, $index, $output) = @_;
34083             sub serialize_domain_fd_associate_args {
34084 0 0   0 0   croak "Missing required input 'struct' value"
34085             unless defined $_[1];
34086              
34087             # Serializing field: 'dom'
34088             croak "Missing required input value 'dom'"
34089 0 0         unless exists $_[1]->{dom};
34090             # my ($class, $value, $index, $output) = @_;
34091 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34092              
34093             # Serializing field: 'name'
34094             croak "Missing required input value 'name'"
34095 0 0         unless exists $_[1]->{name};
34096             # my ($class, $value, $index, $output) = @_;
34097 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
34098              
34099             # Serializing field: 'flags'
34100             croak "Missing required input value 'flags'"
34101 0 0         unless exists $_[1]->{flags};
34102             # my ($class, $value, $index, $output) = @_;
34103             croak "Missing required input 'unsigned int' value"
34104 0 0         unless defined $_[1]->{flags};
34105             die "Out of bounds 'unsigned int': $_[1]->{flags}"
34106 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
34107             die "Non-integer 'int' value given: $_[1]->{flags}"
34108 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
34109 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
34110 0           $_[2] += 4;
34111             }
34112             # @_: ($class, $value, $index, $input) = @_;
34113             sub deserialize_domain_get_autostart_once_args {
34114 0     0 0   my $input_length = length $_[3];
34115 0           $_[1] = {};
34116             # Deserializing field: 'dom'
34117             # my ($class, $value, $index, $input) = @_;
34118 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34119             }
34120             # @_: ($class, $value, $index, $output) = @_;
34121             sub serialize_domain_get_autostart_once_args {
34122 0 0   0 0   croak "Missing required input 'struct' value"
34123             unless defined $_[1];
34124              
34125             # Serializing field: 'dom'
34126             croak "Missing required input value 'dom'"
34127 0 0         unless exists $_[1]->{dom};
34128             # my ($class, $value, $index, $output) = @_;
34129 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34130             }
34131             # @_: ($class, $value, $index, $input) = @_;
34132             sub deserialize_domain_get_autostart_once_ret {
34133 0     0 0   my $input_length = length $_[3];
34134 0           $_[1] = {};
34135             # Deserializing field: 'autostart'
34136             # my ($class, $value, $index, $input) = @_;
34137 0 0         die "Input buffer too short"
34138             if ($input_length - $_[2]) < 4;
34139 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
34140 0           $_[2] += 4;
34141             die "Out of bounds 'int': $_[1]->{autostart}"
34142 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
34143             }
34144             # @_: ($class, $value, $index, $output) = @_;
34145             sub serialize_domain_get_autostart_once_ret {
34146 0 0   0 0   croak "Missing required input 'struct' value"
34147             unless defined $_[1];
34148              
34149             # Serializing field: 'autostart'
34150             croak "Missing required input value 'autostart'"
34151 0 0         unless exists $_[1]->{autostart};
34152             # my ($class, $value, $index, $output) = @_;
34153             croak "Missing required input 'int' value"
34154 0 0         unless defined $_[1]->{autostart};
34155             die "Out of bounds 'int': $_[1]->{autostart}"
34156 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
34157             die "Non-integer 'int' value given: $_[1]->{autostart}"
34158 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
34159 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
34160 0           $_[2] += 4;
34161             }
34162             # @_: ($class, $value, $index, $input) = @_;
34163             sub deserialize_domain_set_autostart_once_args {
34164 0     0 0   my $input_length = length $_[3];
34165 0           $_[1] = {};
34166             # Deserializing field: 'dom'
34167             # my ($class, $value, $index, $input) = @_;
34168 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34169              
34170             # Deserializing field: 'autostart'
34171             # my ($class, $value, $index, $input) = @_;
34172 0 0         die "Input buffer too short"
34173             if ($input_length - $_[2]) < 4;
34174 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
34175 0           $_[2] += 4;
34176             die "Out of bounds 'int': $_[1]->{autostart}"
34177 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
34178             }
34179             # @_: ($class, $value, $index, $output) = @_;
34180             sub serialize_domain_set_autostart_once_args {
34181 0 0   0 0   croak "Missing required input 'struct' value"
34182             unless defined $_[1];
34183              
34184             # Serializing field: 'dom'
34185             croak "Missing required input value 'dom'"
34186 0 0         unless exists $_[1]->{dom};
34187             # my ($class, $value, $index, $output) = @_;
34188 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34189              
34190             # Serializing field: 'autostart'
34191             croak "Missing required input value 'autostart'"
34192 0 0         unless exists $_[1]->{autostart};
34193             # my ($class, $value, $index, $output) = @_;
34194             croak "Missing required input 'int' value"
34195 0 0         unless defined $_[1]->{autostart};
34196             die "Out of bounds 'int': $_[1]->{autostart}"
34197 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
34198             die "Non-integer 'int' value given: $_[1]->{autostart}"
34199 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
34200 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
34201 0           $_[2] += 4;
34202             }
34203             # @_: ($class, $value, $index, $input) = @_;
34204             sub deserialize_domain_event_nic_mac_change_msg {
34205 0     0 0   my $input_length = length $_[3];
34206 0           $_[1] = {};
34207             # Deserializing field: 'callbackID'
34208             # my ($class, $value, $index, $input) = @_;
34209 0 0         die "Input buffer too short"
34210             if ($input_length - $_[2]) < 4;
34211 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
34212 0           $_[2] += 4;
34213             die "Out of bounds 'int': $_[1]->{callbackID}"
34214 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
34215              
34216             # Deserializing field: 'dom'
34217             # my ($class, $value, $index, $input) = @_;
34218 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34219              
34220             # Deserializing field: 'alias'
34221             # my ($class, $value, $index, $input) = @_;
34222 0           $_[0]->deserialize_nonnull_string( $_[1]->{alias}, $_[2], $_[3] );
34223              
34224             # Deserializing field: 'oldMAC'
34225             # my ($class, $value, $index, $input) = @_;
34226 0           $_[0]->deserialize_nonnull_string( $_[1]->{oldMAC}, $_[2], $_[3] );
34227              
34228             # Deserializing field: 'newMAC'
34229             # my ($class, $value, $index, $input) = @_;
34230 0           $_[0]->deserialize_nonnull_string( $_[1]->{newMAC}, $_[2], $_[3] );
34231             }
34232             # @_: ($class, $value, $index, $output) = @_;
34233             sub serialize_domain_event_nic_mac_change_msg {
34234 0 0   0 0   croak "Missing required input 'struct' value"
34235             unless defined $_[1];
34236              
34237             # Serializing field: 'callbackID'
34238             croak "Missing required input value 'callbackID'"
34239 0 0         unless exists $_[1]->{callbackID};
34240             # my ($class, $value, $index, $output) = @_;
34241             croak "Missing required input 'int' value"
34242 0 0         unless defined $_[1]->{callbackID};
34243             die "Out of bounds 'int': $_[1]->{callbackID}"
34244 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
34245             die "Non-integer 'int' value given: $_[1]->{callbackID}"
34246 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
34247 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
34248 0           $_[2] += 4;
34249              
34250             # Serializing field: 'dom'
34251             croak "Missing required input value 'dom'"
34252 0 0         unless exists $_[1]->{dom};
34253             # my ($class, $value, $index, $output) = @_;
34254 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34255              
34256             # Serializing field: 'alias'
34257             croak "Missing required input value 'alias'"
34258 0 0         unless exists $_[1]->{alias};
34259             # my ($class, $value, $index, $output) = @_;
34260 0           $_[0]->serialize_nonnull_string( $_[1]->{alias}, $_[2], $_[3] );
34261              
34262             # Serializing field: 'oldMAC'
34263             croak "Missing required input value 'oldMAC'"
34264 0 0         unless exists $_[1]->{oldMAC};
34265             # my ($class, $value, $index, $output) = @_;
34266 0           $_[0]->serialize_nonnull_string( $_[1]->{oldMAC}, $_[2], $_[3] );
34267              
34268             # Serializing field: 'newMAC'
34269             croak "Missing required input value 'newMAC'"
34270 0 0         unless exists $_[1]->{newMAC};
34271             # my ($class, $value, $index, $output) = @_;
34272 0           $_[0]->serialize_nonnull_string( $_[1]->{newMAC}, $_[2], $_[3] );
34273             }
34274             # @_: ($class, $value, $index, $input) = @_;
34275             sub deserialize_domain_event_callback_channel_lifecycle_msg {
34276 0     0 0   my $input_length = length $_[3];
34277 0           $_[1] = {};
34278             # Deserializing field: 'callbackID'
34279             # my ($class, $value, $index, $input) = @_;
34280 0 0         die "Input buffer too short"
34281             if ($input_length - $_[2]) < 4;
34282 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
34283 0           $_[2] += 4;
34284             die "Out of bounds 'int': $_[1]->{callbackID}"
34285 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
34286              
34287             # Deserializing field: 'dom'
34288             # my ($class, $value, $index, $input) = @_;
34289 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34290              
34291             # Deserializing field: 'channelName'
34292             # my ($class, $value, $index, $input) = @_;
34293 0           $_[0]->deserialize_nonnull_string( $_[1]->{channelName}, $_[2], $_[3] );
34294              
34295             # Deserializing field: 'state'
34296             # my ($class, $value, $index, $input) = @_;
34297 0 0         die "Input buffer too short"
34298             if ($input_length - $_[2]) < 4;
34299 0           $_[1]->{state} = unpack("l>", substr( $_[3], $_[2] ));
34300 0           $_[2] += 4;
34301             die "Out of bounds 'int': $_[1]->{state}"
34302 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
34303              
34304             # Deserializing field: 'reason'
34305             # my ($class, $value, $index, $input) = @_;
34306 0 0         die "Input buffer too short"
34307             if ($input_length - $_[2]) < 4;
34308 0           $_[1]->{reason} = unpack("l>", substr( $_[3], $_[2] ));
34309 0           $_[2] += 4;
34310             die "Out of bounds 'int': $_[1]->{reason}"
34311 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
34312             }
34313             # @_: ($class, $value, $index, $output) = @_;
34314             sub serialize_domain_event_callback_channel_lifecycle_msg {
34315 0 0   0 0   croak "Missing required input 'struct' value"
34316             unless defined $_[1];
34317              
34318             # Serializing field: 'callbackID'
34319             croak "Missing required input value 'callbackID'"
34320 0 0         unless exists $_[1]->{callbackID};
34321             # my ($class, $value, $index, $output) = @_;
34322             croak "Missing required input 'int' value"
34323 0 0         unless defined $_[1]->{callbackID};
34324             die "Out of bounds 'int': $_[1]->{callbackID}"
34325 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
34326             die "Non-integer 'int' value given: $_[1]->{callbackID}"
34327 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
34328 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
34329 0           $_[2] += 4;
34330              
34331             # Serializing field: 'dom'
34332             croak "Missing required input value 'dom'"
34333 0 0         unless exists $_[1]->{dom};
34334             # my ($class, $value, $index, $output) = @_;
34335 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34336              
34337             # Serializing field: 'channelName'
34338             croak "Missing required input value 'channelName'"
34339 0 0         unless exists $_[1]->{channelName};
34340             # my ($class, $value, $index, $output) = @_;
34341 0           $_[0]->serialize_nonnull_string( $_[1]->{channelName}, $_[2], $_[3] );
34342              
34343             # Serializing field: 'state'
34344             croak "Missing required input value 'state'"
34345 0 0         unless exists $_[1]->{state};
34346             # my ($class, $value, $index, $output) = @_;
34347             croak "Missing required input 'int' value"
34348 0 0         unless defined $_[1]->{state};
34349             die "Out of bounds 'int': $_[1]->{state}"
34350 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
34351             die "Non-integer 'int' value given: $_[1]->{state}"
34352 0 0         unless int($_[1]->{state}) == $_[1]->{state};
34353 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{state});
34354 0           $_[2] += 4;
34355              
34356             # Serializing field: 'reason'
34357             croak "Missing required input value 'reason'"
34358 0 0         unless exists $_[1]->{reason};
34359             # my ($class, $value, $index, $output) = @_;
34360             croak "Missing required input 'int' value"
34361 0 0         unless defined $_[1]->{reason};
34362             die "Out of bounds 'int': $_[1]->{reason}"
34363 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
34364             die "Non-integer 'int' value given: $_[1]->{reason}"
34365 0 0         unless int($_[1]->{reason}) == $_[1]->{reason};
34366 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{reason});
34367 0           $_[2] += 4;
34368             }
34369             # @_: ($class, $value, $index, $input) = @_;
34370             sub deserialize_domain_announce_interface_args {
34371 0     0 0   my $input_length = length $_[3];
34372 0           $_[1] = {};
34373             # Deserializing field: 'dom'
34374             # my ($class, $value, $index, $input) = @_;
34375 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34376              
34377             # Deserializing field: 'device'
34378             # my ($class, $value, $index, $input) = @_;
34379 0           $_[0]->deserialize_string( $_[1]->{device}, $_[2], $_[3] );
34380              
34381             # Deserializing field: 'params'
34382             # my ($class, $value, $index, $input) = @_;
34383 0           do {
34384 0 0         die "Input buffer too short"
34385             if ($input_length - $_[2]) < 4;
34386 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
34387 0           $_[2] += 4;
34388              
34389 0 0         die "Array too long (max: 16): $len"
34390             unless ($len <= 16);
34391 0           $_[1]->{params} = [];
34392 0           for my $i1 ( 0 .. ($len - 1) ) {
34393             # my ($class, $value, $index, $input) = @_;
34394 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
34395             }
34396             };
34397              
34398             # Deserializing field: 'flags'
34399             # my ($class, $value, $index, $input) = @_;
34400 0 0         die "Input buffer too short"
34401             if ($input_length - $_[2]) < 4;
34402 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
34403 0           $_[2] += 4;
34404             die "Out of bounds 'unsigned int': $_[1]->{flags}"
34405 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
34406             }
34407             # @_: ($class, $value, $index, $output) = @_;
34408             sub serialize_domain_announce_interface_args {
34409 0 0   0 0   croak "Missing required input 'struct' value"
34410             unless defined $_[1];
34411              
34412             # Serializing field: 'dom'
34413             croak "Missing required input value 'dom'"
34414 0 0         unless exists $_[1]->{dom};
34415             # my ($class, $value, $index, $output) = @_;
34416 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34417              
34418             # Serializing field: 'device'
34419             croak "Missing required input value 'device'"
34420 0 0         unless exists $_[1]->{device};
34421             # my ($class, $value, $index, $output) = @_;
34422 0           $_[0]->serialize_string( $_[1]->{device}, $_[2], $_[3] );
34423              
34424             # Serializing field: 'params'
34425             croak "Missing required input value 'params'"
34426 0 0         unless exists $_[1]->{params};
34427             # my ($class, $value, $index, $output) = @_;
34428             croak "Missing required input 'array' value"
34429 0 0         unless defined $_[1]->{params};
34430 0           do {
34431 0           my $len = scalar @{ $_[1]->{params} };
  0            
34432 0 0         die "Array too long (max: 16): $len"
34433             unless ($len <= 16);
34434              
34435 0           substr( $_[3], $_[2] ) = pack("L>", $len);
34436 0           $_[2] += 4;
34437 0           for my $i1 ( 0 .. ($len - 1) ) {
34438             # my ($class, $value, $index, $output) = @_;
34439 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
34440             }
34441             };
34442              
34443             # Serializing field: 'flags'
34444             croak "Missing required input value 'flags'"
34445 0 0         unless exists $_[1]->{flags};
34446             # my ($class, $value, $index, $output) = @_;
34447             croak "Missing required input 'unsigned int' value"
34448 0 0         unless defined $_[1]->{flags};
34449             die "Out of bounds 'unsigned int': $_[1]->{flags}"
34450 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
34451             die "Non-integer 'int' value given: $_[1]->{flags}"
34452 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
34453 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
34454 0           $_[2] += 4;
34455             }
34456 1     1   13 use constant PROGRAM => 536903814; # 0x20008086
  1         2  
  1         88  
34457 1     1   5 use constant PROTOCOL_VERSION => 1; # 1
  1         2  
  1         653  
34458             # Define elements from enum 'procedure'
34459             use constant {
34460 1         2609 PROC_CONNECT_OPEN => 1,
34461             PROC_CONNECT_CLOSE => 2,
34462             PROC_CONNECT_GET_TYPE => 3,
34463             PROC_CONNECT_GET_VERSION => 4,
34464             PROC_CONNECT_GET_MAX_VCPUS => 5,
34465             PROC_NODE_GET_INFO => 6,
34466             PROC_CONNECT_GET_CAPABILITIES => 7,
34467             PROC_DOMAIN_ATTACH_DEVICE => 8,
34468             PROC_DOMAIN_CREATE => 9,
34469             PROC_DOMAIN_CREATE_XML => 10,
34470             PROC_DOMAIN_DEFINE_XML => 11,
34471             PROC_DOMAIN_DESTROY => 12,
34472             PROC_DOMAIN_DETACH_DEVICE => 13,
34473             PROC_DOMAIN_GET_XML_DESC => 14,
34474             PROC_DOMAIN_GET_AUTOSTART => 15,
34475             PROC_DOMAIN_GET_INFO => 16,
34476             PROC_DOMAIN_GET_MAX_MEMORY => 17,
34477             PROC_DOMAIN_GET_MAX_VCPUS => 18,
34478             PROC_DOMAIN_GET_OS_TYPE => 19,
34479             PROC_DOMAIN_GET_VCPUS => 20,
34480             PROC_CONNECT_LIST_DEFINED_DOMAINS => 21,
34481             PROC_DOMAIN_LOOKUP_BY_ID => 22,
34482             PROC_DOMAIN_LOOKUP_BY_NAME => 23,
34483             PROC_DOMAIN_LOOKUP_BY_UUID => 24,
34484             PROC_CONNECT_NUM_OF_DEFINED_DOMAINS => 25,
34485             PROC_DOMAIN_PIN_VCPU => 26,
34486             PROC_DOMAIN_REBOOT => 27,
34487             PROC_DOMAIN_RESUME => 28,
34488             PROC_DOMAIN_SET_AUTOSTART => 29,
34489             PROC_DOMAIN_SET_MAX_MEMORY => 30,
34490             PROC_DOMAIN_SET_MEMORY => 31,
34491             PROC_DOMAIN_SET_VCPUS => 32,
34492             PROC_DOMAIN_SHUTDOWN => 33,
34493             PROC_DOMAIN_SUSPEND => 34,
34494             PROC_DOMAIN_UNDEFINE => 35,
34495             PROC_CONNECT_LIST_DEFINED_NETWORKS => 36,
34496             PROC_CONNECT_LIST_DOMAINS => 37,
34497             PROC_CONNECT_LIST_NETWORKS => 38,
34498             PROC_NETWORK_CREATE => 39,
34499             PROC_NETWORK_CREATE_XML => 40,
34500             PROC_NETWORK_DEFINE_XML => 41,
34501             PROC_NETWORK_DESTROY => 42,
34502             PROC_NETWORK_GET_XML_DESC => 43,
34503             PROC_NETWORK_GET_AUTOSTART => 44,
34504             PROC_NETWORK_GET_BRIDGE_NAME => 45,
34505             PROC_NETWORK_LOOKUP_BY_NAME => 46,
34506             PROC_NETWORK_LOOKUP_BY_UUID => 47,
34507             PROC_NETWORK_SET_AUTOSTART => 48,
34508             PROC_NETWORK_UNDEFINE => 49,
34509             PROC_CONNECT_NUM_OF_DEFINED_NETWORKS => 50,
34510             PROC_CONNECT_NUM_OF_DOMAINS => 51,
34511             PROC_CONNECT_NUM_OF_NETWORKS => 52,
34512             PROC_DOMAIN_CORE_DUMP => 53,
34513             PROC_DOMAIN_RESTORE => 54,
34514             PROC_DOMAIN_SAVE => 55,
34515             PROC_DOMAIN_GET_SCHEDULER_TYPE => 56,
34516             PROC_DOMAIN_GET_SCHEDULER_PARAMETERS => 57,
34517             PROC_DOMAIN_SET_SCHEDULER_PARAMETERS => 58,
34518             PROC_CONNECT_GET_HOSTNAME => 59,
34519             PROC_CONNECT_SUPPORTS_FEATURE => 60,
34520             PROC_DOMAIN_MIGRATE_PREPARE => 61,
34521             PROC_DOMAIN_MIGRATE_PERFORM => 62,
34522             PROC_DOMAIN_MIGRATE_FINISH => 63,
34523             PROC_DOMAIN_BLOCK_STATS => 64,
34524             PROC_DOMAIN_INTERFACE_STATS => 65,
34525             PROC_AUTH_LIST => 66,
34526             PROC_AUTH_SASL_INIT => 67,
34527             PROC_AUTH_SASL_START => 68,
34528             PROC_AUTH_SASL_STEP => 69,
34529             PROC_AUTH_POLKIT => 70,
34530             PROC_CONNECT_NUM_OF_STORAGE_POOLS => 71,
34531             PROC_CONNECT_LIST_STORAGE_POOLS => 72,
34532             PROC_CONNECT_NUM_OF_DEFINED_STORAGE_POOLS => 73,
34533             PROC_CONNECT_LIST_DEFINED_STORAGE_POOLS => 74,
34534             PROC_CONNECT_FIND_STORAGE_POOL_SOURCES => 75,
34535             PROC_STORAGE_POOL_CREATE_XML => 76,
34536             PROC_STORAGE_POOL_DEFINE_XML => 77,
34537             PROC_STORAGE_POOL_CREATE => 78,
34538             PROC_STORAGE_POOL_BUILD => 79,
34539             PROC_STORAGE_POOL_DESTROY => 80,
34540             PROC_STORAGE_POOL_DELETE => 81,
34541             PROC_STORAGE_POOL_UNDEFINE => 82,
34542             PROC_STORAGE_POOL_REFRESH => 83,
34543             PROC_STORAGE_POOL_LOOKUP_BY_NAME => 84,
34544             PROC_STORAGE_POOL_LOOKUP_BY_UUID => 85,
34545             PROC_STORAGE_POOL_LOOKUP_BY_VOLUME => 86,
34546             PROC_STORAGE_POOL_GET_INFO => 87,
34547             PROC_STORAGE_POOL_GET_XML_DESC => 88,
34548             PROC_STORAGE_POOL_GET_AUTOSTART => 89,
34549             PROC_STORAGE_POOL_SET_AUTOSTART => 90,
34550             PROC_STORAGE_POOL_NUM_OF_VOLUMES => 91,
34551             PROC_STORAGE_POOL_LIST_VOLUMES => 92,
34552             PROC_STORAGE_VOL_CREATE_XML => 93,
34553             PROC_STORAGE_VOL_DELETE => 94,
34554             PROC_STORAGE_VOL_LOOKUP_BY_NAME => 95,
34555             PROC_STORAGE_VOL_LOOKUP_BY_KEY => 96,
34556             PROC_STORAGE_VOL_LOOKUP_BY_PATH => 97,
34557             PROC_STORAGE_VOL_GET_INFO => 98,
34558             PROC_STORAGE_VOL_GET_XML_DESC => 99,
34559             PROC_STORAGE_VOL_GET_PATH => 100,
34560             PROC_NODE_GET_CELLS_FREE_MEMORY => 101,
34561             PROC_NODE_GET_FREE_MEMORY => 102,
34562             PROC_DOMAIN_BLOCK_PEEK => 103,
34563             PROC_DOMAIN_MEMORY_PEEK => 104,
34564             PROC_CONNECT_DOMAIN_EVENT_REGISTER => 105,
34565             PROC_CONNECT_DOMAIN_EVENT_DEREGISTER => 106,
34566             PROC_DOMAIN_EVENT_LIFECYCLE => 107,
34567             PROC_DOMAIN_MIGRATE_PREPARE2 => 108,
34568             PROC_DOMAIN_MIGRATE_FINISH2 => 109,
34569             PROC_CONNECT_GET_URI => 110,
34570             PROC_NODE_NUM_OF_DEVICES => 111,
34571             PROC_NODE_LIST_DEVICES => 112,
34572             PROC_NODE_DEVICE_LOOKUP_BY_NAME => 113,
34573             PROC_NODE_DEVICE_GET_XML_DESC => 114,
34574             PROC_NODE_DEVICE_GET_PARENT => 115,
34575             PROC_NODE_DEVICE_NUM_OF_CAPS => 116,
34576             PROC_NODE_DEVICE_LIST_CAPS => 117,
34577             PROC_NODE_DEVICE_DETTACH => 118,
34578             PROC_NODE_DEVICE_RE_ATTACH => 119,
34579             PROC_NODE_DEVICE_RESET => 120,
34580             PROC_DOMAIN_GET_SECURITY_LABEL => 121,
34581             PROC_NODE_GET_SECURITY_MODEL => 122,
34582             PROC_NODE_DEVICE_CREATE_XML => 123,
34583             PROC_NODE_DEVICE_DESTROY => 124,
34584             PROC_STORAGE_VOL_CREATE_XML_FROM => 125,
34585             PROC_CONNECT_NUM_OF_INTERFACES => 126,
34586             PROC_CONNECT_LIST_INTERFACES => 127,
34587             PROC_INTERFACE_LOOKUP_BY_NAME => 128,
34588             PROC_INTERFACE_LOOKUP_BY_MAC_STRING => 129,
34589             PROC_INTERFACE_GET_XML_DESC => 130,
34590             PROC_INTERFACE_DEFINE_XML => 131,
34591             PROC_INTERFACE_UNDEFINE => 132,
34592             PROC_INTERFACE_CREATE => 133,
34593             PROC_INTERFACE_DESTROY => 134,
34594             PROC_CONNECT_DOMAIN_XML_FROM_NATIVE => 135,
34595             PROC_CONNECT_DOMAIN_XML_TO_NATIVE => 136,
34596             PROC_CONNECT_NUM_OF_DEFINED_INTERFACES => 137,
34597             PROC_CONNECT_LIST_DEFINED_INTERFACES => 138,
34598             PROC_CONNECT_NUM_OF_SECRETS => 139,
34599             PROC_CONNECT_LIST_SECRETS => 140,
34600             PROC_SECRET_LOOKUP_BY_UUID => 141,
34601             PROC_SECRET_DEFINE_XML => 142,
34602             PROC_SECRET_GET_XML_DESC => 143,
34603             PROC_SECRET_SET_VALUE => 144,
34604             PROC_SECRET_GET_VALUE => 145,
34605             PROC_SECRET_UNDEFINE => 146,
34606             PROC_SECRET_LOOKUP_BY_USAGE => 147,
34607             PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL => 148,
34608             PROC_CONNECT_IS_SECURE => 149,
34609             PROC_DOMAIN_IS_ACTIVE => 150,
34610             PROC_DOMAIN_IS_PERSISTENT => 151,
34611             PROC_NETWORK_IS_ACTIVE => 152,
34612             PROC_NETWORK_IS_PERSISTENT => 153,
34613             PROC_STORAGE_POOL_IS_ACTIVE => 154,
34614             PROC_STORAGE_POOL_IS_PERSISTENT => 155,
34615             PROC_INTERFACE_IS_ACTIVE => 156,
34616             PROC_CONNECT_GET_LIB_VERSION => 157,
34617             PROC_CONNECT_COMPARE_CPU => 158,
34618             PROC_DOMAIN_MEMORY_STATS => 159,
34619             PROC_DOMAIN_ATTACH_DEVICE_FLAGS => 160,
34620             PROC_DOMAIN_DETACH_DEVICE_FLAGS => 161,
34621             PROC_CONNECT_BASELINE_CPU => 162,
34622             PROC_DOMAIN_GET_JOB_INFO => 163,
34623             PROC_DOMAIN_ABORT_JOB => 164,
34624             PROC_STORAGE_VOL_WIPE => 165,
34625             PROC_DOMAIN_MIGRATE_SET_MAX_DOWNTIME => 166,
34626             PROC_CONNECT_DOMAIN_EVENT_REGISTER_ANY => 167,
34627             PROC_CONNECT_DOMAIN_EVENT_DEREGISTER_ANY => 168,
34628             PROC_DOMAIN_EVENT_REBOOT => 169,
34629             PROC_DOMAIN_EVENT_RTC_CHANGE => 170,
34630             PROC_DOMAIN_EVENT_WATCHDOG => 171,
34631             PROC_DOMAIN_EVENT_IO_ERROR => 172,
34632             PROC_DOMAIN_EVENT_GRAPHICS => 173,
34633             PROC_DOMAIN_UPDATE_DEVICE_FLAGS => 174,
34634             PROC_NWFILTER_LOOKUP_BY_NAME => 175,
34635             PROC_NWFILTER_LOOKUP_BY_UUID => 176,
34636             PROC_NWFILTER_GET_XML_DESC => 177,
34637             PROC_CONNECT_NUM_OF_NWFILTERS => 178,
34638             PROC_CONNECT_LIST_NWFILTERS => 179,
34639             PROC_NWFILTER_DEFINE_XML => 180,
34640             PROC_NWFILTER_UNDEFINE => 181,
34641             PROC_DOMAIN_MANAGED_SAVE => 182,
34642             PROC_DOMAIN_HAS_MANAGED_SAVE_IMAGE => 183,
34643             PROC_DOMAIN_MANAGED_SAVE_REMOVE => 184,
34644             PROC_DOMAIN_SNAPSHOT_CREATE_XML => 185,
34645             PROC_DOMAIN_SNAPSHOT_GET_XML_DESC => 186,
34646             PROC_DOMAIN_SNAPSHOT_NUM => 187,
34647             PROC_DOMAIN_SNAPSHOT_LIST_NAMES => 188,
34648             PROC_DOMAIN_SNAPSHOT_LOOKUP_BY_NAME => 189,
34649             PROC_DOMAIN_HAS_CURRENT_SNAPSHOT => 190,
34650             PROC_DOMAIN_SNAPSHOT_CURRENT => 191,
34651             PROC_DOMAIN_REVERT_TO_SNAPSHOT => 192,
34652             PROC_DOMAIN_SNAPSHOT_DELETE => 193,
34653             PROC_DOMAIN_GET_BLOCK_INFO => 194,
34654             PROC_DOMAIN_EVENT_IO_ERROR_REASON => 195,
34655             PROC_DOMAIN_CREATE_WITH_FLAGS => 196,
34656             PROC_DOMAIN_SET_MEMORY_PARAMETERS => 197,
34657             PROC_DOMAIN_GET_MEMORY_PARAMETERS => 198,
34658             PROC_DOMAIN_SET_VCPUS_FLAGS => 199,
34659             PROC_DOMAIN_GET_VCPUS_FLAGS => 200,
34660             PROC_DOMAIN_OPEN_CONSOLE => 201,
34661             PROC_DOMAIN_IS_UPDATED => 202,
34662             PROC_CONNECT_GET_SYSINFO => 203,
34663             PROC_DOMAIN_SET_MEMORY_FLAGS => 204,
34664             PROC_DOMAIN_SET_BLKIO_PARAMETERS => 205,
34665             PROC_DOMAIN_GET_BLKIO_PARAMETERS => 206,
34666             PROC_DOMAIN_MIGRATE_SET_MAX_SPEED => 207,
34667             PROC_STORAGE_VOL_UPLOAD => 208,
34668             PROC_STORAGE_VOL_DOWNLOAD => 209,
34669             PROC_DOMAIN_INJECT_NMI => 210,
34670             PROC_DOMAIN_SCREENSHOT => 211,
34671             PROC_DOMAIN_GET_STATE => 212,
34672             PROC_DOMAIN_MIGRATE_BEGIN3 => 213,
34673             PROC_DOMAIN_MIGRATE_PREPARE3 => 214,
34674             PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL3 => 215,
34675             PROC_DOMAIN_MIGRATE_PERFORM3 => 216,
34676             PROC_DOMAIN_MIGRATE_FINISH3 => 217,
34677             PROC_DOMAIN_MIGRATE_CONFIRM3 => 218,
34678             PROC_DOMAIN_SET_SCHEDULER_PARAMETERS_FLAGS => 219,
34679             PROC_INTERFACE_CHANGE_BEGIN => 220,
34680             PROC_INTERFACE_CHANGE_COMMIT => 221,
34681             PROC_INTERFACE_CHANGE_ROLLBACK => 222,
34682             PROC_DOMAIN_GET_SCHEDULER_PARAMETERS_FLAGS => 223,
34683             PROC_DOMAIN_EVENT_CONTROL_ERROR => 224,
34684             PROC_DOMAIN_PIN_VCPU_FLAGS => 225,
34685             PROC_DOMAIN_SEND_KEY => 226,
34686             PROC_NODE_GET_CPU_STATS => 227,
34687             PROC_NODE_GET_MEMORY_STATS => 228,
34688             PROC_DOMAIN_GET_CONTROL_INFO => 229,
34689             PROC_DOMAIN_GET_VCPU_PIN_INFO => 230,
34690             PROC_DOMAIN_UNDEFINE_FLAGS => 231,
34691             PROC_DOMAIN_SAVE_FLAGS => 232,
34692             PROC_DOMAIN_RESTORE_FLAGS => 233,
34693             PROC_DOMAIN_DESTROY_FLAGS => 234,
34694             PROC_DOMAIN_SAVE_IMAGE_GET_XML_DESC => 235,
34695             PROC_DOMAIN_SAVE_IMAGE_DEFINE_XML => 236,
34696             PROC_DOMAIN_BLOCK_JOB_ABORT => 237,
34697             PROC_DOMAIN_GET_BLOCK_JOB_INFO => 238,
34698             PROC_DOMAIN_BLOCK_JOB_SET_SPEED => 239,
34699             PROC_DOMAIN_BLOCK_PULL => 240,
34700             PROC_DOMAIN_EVENT_BLOCK_JOB => 241,
34701             PROC_DOMAIN_MIGRATE_GET_MAX_SPEED => 242,
34702             PROC_DOMAIN_BLOCK_STATS_FLAGS => 243,
34703             PROC_DOMAIN_SNAPSHOT_GET_PARENT => 244,
34704             PROC_DOMAIN_RESET => 245,
34705             PROC_DOMAIN_SNAPSHOT_NUM_CHILDREN => 246,
34706             PROC_DOMAIN_SNAPSHOT_LIST_CHILDREN_NAMES => 247,
34707             PROC_DOMAIN_EVENT_DISK_CHANGE => 248,
34708             PROC_DOMAIN_OPEN_GRAPHICS => 249,
34709             PROC_NODE_SUSPEND_FOR_DURATION => 250,
34710             PROC_DOMAIN_BLOCK_RESIZE => 251,
34711             PROC_DOMAIN_SET_BLOCK_IO_TUNE => 252,
34712             PROC_DOMAIN_GET_BLOCK_IO_TUNE => 253,
34713             PROC_DOMAIN_SET_NUMA_PARAMETERS => 254,
34714             PROC_DOMAIN_GET_NUMA_PARAMETERS => 255,
34715             PROC_DOMAIN_SET_INTERFACE_PARAMETERS => 256,
34716             PROC_DOMAIN_GET_INTERFACE_PARAMETERS => 257,
34717             PROC_DOMAIN_SHUTDOWN_FLAGS => 258,
34718             PROC_STORAGE_VOL_WIPE_PATTERN => 259,
34719             PROC_STORAGE_VOL_RESIZE => 260,
34720             PROC_DOMAIN_PM_SUSPEND_FOR_DURATION => 261,
34721             PROC_DOMAIN_GET_CPU_STATS => 262,
34722             PROC_DOMAIN_GET_DISK_ERRORS => 263,
34723             PROC_DOMAIN_SET_METADATA => 264,
34724             PROC_DOMAIN_GET_METADATA => 265,
34725             PROC_DOMAIN_BLOCK_REBASE => 266,
34726             PROC_DOMAIN_PM_WAKEUP => 267,
34727             PROC_DOMAIN_EVENT_TRAY_CHANGE => 268,
34728             PROC_DOMAIN_EVENT_PMWAKEUP => 269,
34729             PROC_DOMAIN_EVENT_PMSUSPEND => 270,
34730             PROC_DOMAIN_SNAPSHOT_IS_CURRENT => 271,
34731             PROC_DOMAIN_SNAPSHOT_HAS_METADATA => 272,
34732             PROC_CONNECT_LIST_ALL_DOMAINS => 273,
34733             PROC_DOMAIN_LIST_ALL_SNAPSHOTS => 274,
34734             PROC_DOMAIN_SNAPSHOT_LIST_ALL_CHILDREN => 275,
34735             PROC_DOMAIN_EVENT_BALLOON_CHANGE => 276,
34736             PROC_DOMAIN_GET_HOSTNAME => 277,
34737             PROC_DOMAIN_GET_SECURITY_LABEL_LIST => 278,
34738             PROC_DOMAIN_PIN_EMULATOR => 279,
34739             PROC_DOMAIN_GET_EMULATOR_PIN_INFO => 280,
34740             PROC_CONNECT_LIST_ALL_STORAGE_POOLS => 281,
34741             PROC_STORAGE_POOL_LIST_ALL_VOLUMES => 282,
34742             PROC_CONNECT_LIST_ALL_NETWORKS => 283,
34743             PROC_CONNECT_LIST_ALL_INTERFACES => 284,
34744             PROC_CONNECT_LIST_ALL_NODE_DEVICES => 285,
34745             PROC_CONNECT_LIST_ALL_NWFILTERS => 286,
34746             PROC_CONNECT_LIST_ALL_SECRETS => 287,
34747             PROC_NODE_SET_MEMORY_PARAMETERS => 288,
34748             PROC_NODE_GET_MEMORY_PARAMETERS => 289,
34749             PROC_DOMAIN_BLOCK_COMMIT => 290,
34750             PROC_NETWORK_UPDATE => 291,
34751             PROC_DOMAIN_EVENT_PMSUSPEND_DISK => 292,
34752             PROC_NODE_GET_CPU_MAP => 293,
34753             PROC_DOMAIN_FSTRIM => 294,
34754             PROC_DOMAIN_SEND_PROCESS_SIGNAL => 295,
34755             PROC_DOMAIN_OPEN_CHANNEL => 296,
34756             PROC_NODE_DEVICE_LOOKUP_SCSI_HOST_BY_WWN => 297,
34757             PROC_DOMAIN_GET_JOB_STATS => 298,
34758             PROC_DOMAIN_MIGRATE_GET_COMPRESSION_CACHE => 299,
34759             PROC_DOMAIN_MIGRATE_SET_COMPRESSION_CACHE => 300,
34760             PROC_NODE_DEVICE_DETACH_FLAGS => 301,
34761             PROC_DOMAIN_MIGRATE_BEGIN3_PARAMS => 302,
34762             PROC_DOMAIN_MIGRATE_PREPARE3_PARAMS => 303,
34763             PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL3_PARAMS => 304,
34764             PROC_DOMAIN_MIGRATE_PERFORM3_PARAMS => 305,
34765             PROC_DOMAIN_MIGRATE_FINISH3_PARAMS => 306,
34766             PROC_DOMAIN_MIGRATE_CONFIRM3_PARAMS => 307,
34767             PROC_DOMAIN_SET_MEMORY_STATS_PERIOD => 308,
34768             PROC_DOMAIN_CREATE_XML_WITH_FILES => 309,
34769             PROC_DOMAIN_CREATE_WITH_FILES => 310,
34770             PROC_DOMAIN_EVENT_DEVICE_REMOVED => 311,
34771             PROC_CONNECT_GET_CPU_MODEL_NAMES => 312,
34772             PROC_CONNECT_NETWORK_EVENT_REGISTER_ANY => 313,
34773             PROC_CONNECT_NETWORK_EVENT_DEREGISTER_ANY => 314,
34774             PROC_NETWORK_EVENT_LIFECYCLE => 315,
34775             PROC_CONNECT_DOMAIN_EVENT_CALLBACK_REGISTER_ANY => 316,
34776             PROC_CONNECT_DOMAIN_EVENT_CALLBACK_DEREGISTER_ANY => 317,
34777             PROC_DOMAIN_EVENT_CALLBACK_LIFECYCLE => 318,
34778             PROC_DOMAIN_EVENT_CALLBACK_REBOOT => 319,
34779             PROC_DOMAIN_EVENT_CALLBACK_RTC_CHANGE => 320,
34780             PROC_DOMAIN_EVENT_CALLBACK_WATCHDOG => 321,
34781             PROC_DOMAIN_EVENT_CALLBACK_IO_ERROR => 322,
34782             PROC_DOMAIN_EVENT_CALLBACK_GRAPHICS => 323,
34783             PROC_DOMAIN_EVENT_CALLBACK_IO_ERROR_REASON => 324,
34784             PROC_DOMAIN_EVENT_CALLBACK_CONTROL_ERROR => 325,
34785             PROC_DOMAIN_EVENT_CALLBACK_BLOCK_JOB => 326,
34786             PROC_DOMAIN_EVENT_CALLBACK_DISK_CHANGE => 327,
34787             PROC_DOMAIN_EVENT_CALLBACK_TRAY_CHANGE => 328,
34788             PROC_DOMAIN_EVENT_CALLBACK_PMWAKEUP => 329,
34789             PROC_DOMAIN_EVENT_CALLBACK_PMSUSPEND => 330,
34790             PROC_DOMAIN_EVENT_CALLBACK_BALLOON_CHANGE => 331,
34791             PROC_DOMAIN_EVENT_CALLBACK_PMSUSPEND_DISK => 332,
34792             PROC_DOMAIN_EVENT_CALLBACK_DEVICE_REMOVED => 333,
34793             PROC_DOMAIN_CORE_DUMP_WITH_FORMAT => 334,
34794             PROC_DOMAIN_FSFREEZE => 335,
34795             PROC_DOMAIN_FSTHAW => 336,
34796             PROC_DOMAIN_GET_TIME => 337,
34797             PROC_DOMAIN_SET_TIME => 338,
34798             PROC_DOMAIN_EVENT_BLOCK_JOB_2 => 339,
34799             PROC_NODE_GET_FREE_PAGES => 340,
34800             PROC_NETWORK_GET_DHCP_LEASES => 341,
34801             PROC_CONNECT_GET_DOMAIN_CAPABILITIES => 342,
34802             PROC_DOMAIN_OPEN_GRAPHICS_FD => 343,
34803             PROC_CONNECT_GET_ALL_DOMAIN_STATS => 344,
34804             PROC_DOMAIN_BLOCK_COPY => 345,
34805             PROC_DOMAIN_EVENT_CALLBACK_TUNABLE => 346,
34806             PROC_NODE_ALLOC_PAGES => 347,
34807             PROC_DOMAIN_EVENT_CALLBACK_AGENT_LIFECYCLE => 348,
34808             PROC_DOMAIN_GET_FSINFO => 349,
34809             PROC_DOMAIN_DEFINE_XML_FLAGS => 350,
34810             PROC_DOMAIN_GET_IOTHREAD_INFO => 351,
34811             PROC_DOMAIN_PIN_IOTHREAD => 352,
34812             PROC_DOMAIN_INTERFACE_ADDRESSES => 353,
34813             PROC_DOMAIN_EVENT_CALLBACK_DEVICE_ADDED => 354,
34814             PROC_DOMAIN_ADD_IOTHREAD => 355,
34815             PROC_DOMAIN_DEL_IOTHREAD => 356,
34816             PROC_DOMAIN_SET_USER_PASSWORD => 357,
34817             PROC_DOMAIN_RENAME => 358,
34818             PROC_DOMAIN_EVENT_CALLBACK_MIGRATION_ITERATION => 359,
34819             PROC_CONNECT_REGISTER_CLOSE_CALLBACK => 360,
34820             PROC_CONNECT_UNREGISTER_CLOSE_CALLBACK => 361,
34821             PROC_CONNECT_EVENT_CONNECTION_CLOSED => 362,
34822             PROC_DOMAIN_EVENT_CALLBACK_JOB_COMPLETED => 363,
34823             PROC_DOMAIN_MIGRATE_START_POST_COPY => 364,
34824             PROC_DOMAIN_GET_PERF_EVENTS => 365,
34825             PROC_DOMAIN_SET_PERF_EVENTS => 366,
34826             PROC_DOMAIN_EVENT_CALLBACK_DEVICE_REMOVAL_FAILED => 367,
34827             PROC_CONNECT_STORAGE_POOL_EVENT_REGISTER_ANY => 368,
34828             PROC_CONNECT_STORAGE_POOL_EVENT_DEREGISTER_ANY => 369,
34829             PROC_STORAGE_POOL_EVENT_LIFECYCLE => 370,
34830             PROC_DOMAIN_GET_GUEST_VCPUS => 371,
34831             PROC_DOMAIN_SET_GUEST_VCPUS => 372,
34832             PROC_STORAGE_POOL_EVENT_REFRESH => 373,
34833             PROC_CONNECT_NODE_DEVICE_EVENT_REGISTER_ANY => 374,
34834             PROC_CONNECT_NODE_DEVICE_EVENT_DEREGISTER_ANY => 375,
34835             PROC_NODE_DEVICE_EVENT_LIFECYCLE => 376,
34836             PROC_NODE_DEVICE_EVENT_UPDATE => 377,
34837             PROC_STORAGE_VOL_GET_INFO_FLAGS => 378,
34838             PROC_DOMAIN_EVENT_CALLBACK_METADATA_CHANGE => 379,
34839             PROC_CONNECT_SECRET_EVENT_REGISTER_ANY => 380,
34840             PROC_CONNECT_SECRET_EVENT_DEREGISTER_ANY => 381,
34841             PROC_SECRET_EVENT_LIFECYCLE => 382,
34842             PROC_SECRET_EVENT_VALUE_CHANGED => 383,
34843             PROC_DOMAIN_SET_VCPU => 384,
34844             PROC_DOMAIN_EVENT_BLOCK_THRESHOLD => 385,
34845             PROC_DOMAIN_SET_BLOCK_THRESHOLD => 386,
34846             PROC_DOMAIN_MIGRATE_GET_MAX_DOWNTIME => 387,
34847             PROC_DOMAIN_MANAGED_SAVE_GET_XML_DESC => 388,
34848             PROC_DOMAIN_MANAGED_SAVE_DEFINE_XML => 389,
34849             PROC_DOMAIN_SET_LIFECYCLE_ACTION => 390,
34850             PROC_STORAGE_POOL_LOOKUP_BY_TARGET_PATH => 391,
34851             PROC_DOMAIN_DETACH_DEVICE_ALIAS => 392,
34852             PROC_CONNECT_COMPARE_HYPERVISOR_CPU => 393,
34853             PROC_CONNECT_BASELINE_HYPERVISOR_CPU => 394,
34854             PROC_NODE_GET_SEV_INFO => 395,
34855             PROC_DOMAIN_GET_LAUNCH_SECURITY_INFO => 396,
34856             PROC_NWFILTER_BINDING_LOOKUP_BY_PORT_DEV => 397,
34857             PROC_NWFILTER_BINDING_GET_XML_DESC => 398,
34858             PROC_NWFILTER_BINDING_CREATE_XML => 399,
34859             PROC_NWFILTER_BINDING_DELETE => 400,
34860             PROC_CONNECT_LIST_ALL_NWFILTER_BINDINGS => 401,
34861             PROC_DOMAIN_SET_IOTHREAD_PARAMS => 402,
34862             PROC_CONNECT_GET_STORAGE_POOL_CAPABILITIES => 403,
34863             PROC_NETWORK_LIST_ALL_PORTS => 404,
34864             PROC_NETWORK_PORT_LOOKUP_BY_UUID => 405,
34865             PROC_NETWORK_PORT_CREATE_XML => 406,
34866             PROC_NETWORK_PORT_GET_PARAMETERS => 407,
34867             PROC_NETWORK_PORT_SET_PARAMETERS => 408,
34868             PROC_NETWORK_PORT_GET_XML_DESC => 409,
34869             PROC_NETWORK_PORT_DELETE => 410,
34870             PROC_DOMAIN_CHECKPOINT_CREATE_XML => 411,
34871             PROC_DOMAIN_CHECKPOINT_GET_XML_DESC => 412,
34872             PROC_DOMAIN_LIST_ALL_CHECKPOINTS => 413,
34873             PROC_DOMAIN_CHECKPOINT_LIST_ALL_CHILDREN => 414,
34874             PROC_DOMAIN_CHECKPOINT_LOOKUP_BY_NAME => 415,
34875             PROC_DOMAIN_CHECKPOINT_GET_PARENT => 416,
34876             PROC_DOMAIN_CHECKPOINT_DELETE => 417,
34877             PROC_DOMAIN_GET_GUEST_INFO => 418,
34878             PROC_CONNECT_SET_IDENTITY => 419,
34879             PROC_DOMAIN_AGENT_SET_RESPONSE_TIMEOUT => 420,
34880             PROC_DOMAIN_BACKUP_BEGIN => 421,
34881             PROC_DOMAIN_BACKUP_GET_XML_DESC => 422,
34882             PROC_DOMAIN_EVENT_MEMORY_FAILURE => 423,
34883             PROC_DOMAIN_AUTHORIZED_SSH_KEYS_GET => 424,
34884             PROC_DOMAIN_AUTHORIZED_SSH_KEYS_SET => 425,
34885             PROC_DOMAIN_GET_MESSAGES => 426,
34886             PROC_DOMAIN_START_DIRTY_RATE_CALC => 427,
34887             PROC_NODE_DEVICE_DEFINE_XML => 428,
34888             PROC_NODE_DEVICE_UNDEFINE => 429,
34889             PROC_NODE_DEVICE_CREATE => 430,
34890             PROC_NWFILTER_DEFINE_XML_FLAGS => 431,
34891             PROC_NETWORK_DEFINE_XML_FLAGS => 432,
34892             PROC_NODE_DEVICE_GET_AUTOSTART => 433,
34893             PROC_NODE_DEVICE_SET_AUTOSTART => 434,
34894             PROC_NODE_DEVICE_IS_PERSISTENT => 435,
34895             PROC_NODE_DEVICE_IS_ACTIVE => 436,
34896             PROC_NETWORK_CREATE_XML_FLAGS => 437,
34897             PROC_DOMAIN_EVENT_MEMORY_DEVICE_SIZE_CHANGE => 438,
34898             PROC_DOMAIN_SET_LAUNCH_SECURITY_STATE => 439,
34899             PROC_DOMAIN_SAVE_PARAMS => 440,
34900             PROC_DOMAIN_RESTORE_PARAMS => 441,
34901             PROC_DOMAIN_ABORT_JOB_FLAGS => 442,
34902             PROC_DOMAIN_FD_ASSOCIATE => 443,
34903             PROC_NETWORK_SET_METADATA => 444,
34904             PROC_NETWORK_GET_METADATA => 445,
34905             PROC_NETWORK_EVENT_CALLBACK_METADATA_CHANGE => 446,
34906             PROC_NODE_DEVICE_UPDATE => 447,
34907             PROC_DOMAIN_GRAPHICS_RELOAD => 448,
34908             PROC_DOMAIN_GET_AUTOSTART_ONCE => 449,
34909             PROC_DOMAIN_SET_AUTOSTART_ONCE => 450,
34910             PROC_DOMAIN_SET_THROTTLE_GROUP => 451,
34911             PROC_DOMAIN_DEL_THROTTLE_GROUP => 452,
34912             PROC_DOMAIN_EVENT_NIC_MAC_CHANGE => 453,
34913             PROC_DOMAIN_EVENT_VCPU_REMOVED => 454,
34914             PROC_DOMAIN_EVENT_CALLBACK_CHANNEL_LIFECYCLE => 455,
34915             PROC_DOMAIN_ANNOUNCE_INTERFACE => 456,
34916 1     1   19 };
  1         2  
34917             # @_: ($class, $value, $index, $input) = @_;
34918             sub deserialize_procedure {
34919 0     0 0   my $input_length = length $_[3];
34920             # my ($class, $value, $index, $input) = @_;
34921 0 0         die "Input buffer too short"
34922             if ($input_length - $_[2]) < 4;
34923 0           $_[1] = unpack("l>", substr( $_[3], $_[2] ) );
34924 0 0         die "Out of range enum value supplied: $_[1]"
34925             unless vec(state $m = pack('H*', 'feffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01'),
34926             $_[1], 1);
34927 0           $_[2] += 4;
34928             }
34929             # @_: ($class, $value, $index, $output) = @_;
34930             sub serialize_procedure {
34931             # my ($class, $value, $index, $output) = @_;
34932 0 0   0 0   croak "Missing required input 'enum' value"
34933             unless defined $_[1];
34934 0 0         die "Out of range enum value: $_[1]"
34935             unless vec(state $m = pack('H*', 'feffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01'),
34936             $_[1], 1);
34937 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]);
34938 0           $_[2] += 4;
34939             }
34940              
34941              
34942             1;
34943              
34944             __END__