File Coverage

blib/lib/Protocol/Sys/Virt/Remote/XDR.pm
Criterion Covered Total %
statement 236 14192 1.6
branch 0 12794 0.0
condition 0 4203 0.0
subroutine 79 1511 5.2
pod 0 1432 0.0
total 315 34132 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.3.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.3.0;
13              
14             use constant {
15 1         162 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   19 };
  1         2  
23              
24 1     1   14 use v5.14;
  1         9  
25 1     1   8 use warnings FATAL => 'uninitialized';
  1         2  
  1         80  
26 1     1   6 use Config;
  1         20  
  1         102  
27 1     1   9 use Carp qw(croak);
  1         2  
  1         90  
28 1     1   8 use constant STRING_MAX => 4194304; # 4194304
  1         2  
  1         837  
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   36 use constant CONNECT_IDENTITY_PARAMS_MAX => 20; # 20
  1         3  
  1         74  
107 1     1   7 use constant DOMAIN_LIST_MAX => 16384; # 16384
  1         2  
  1         71  
108 1     1   8 use constant CPUMAP_MAX => 2048; # 2048
  1         2  
  1         66  
109 1     1   8 use constant VCPUINFO_MAX => 16384; # 16384
  1         2  
  1         66  
110 1     1   7 use constant CPUMAPS_MAX => 8388608; # 8388608
  1         2  
  1         51  
111 1     1   6 use constant IOTHREAD_INFO_MAX => 16384; # 16384
  1         2  
  1         68  
112 1     1   7 use constant MIGRATE_COOKIE_MAX => 4194304; # 4194304
  1         2  
  1         82  
113 1     1   8 use constant NETWORK_LIST_MAX => 16384; # 16384
  1         3  
  1         62  
114 1     1   7 use constant NETWORK_PORT_LIST_MAX => 16384; # 16384
  1         9  
  1         67  
115 1     1   20 use constant INTERFACE_LIST_MAX => 16384; # 16384
  1         3  
  1         55  
116 1     1   7 use constant STORAGE_POOL_LIST_MAX => 16384; # 16384
  1         2  
  1         68  
117 1     1   7 use constant STORAGE_VOL_LIST_MAX => 16384; # 16384
  1         2  
  1         68  
118 1     1   7 use constant NODE_DEVICE_LIST_MAX => 65536; # 65536
  1         2  
  1         103  
119 1     1   7 use constant NODE_DEVICE_CAPS_LIST_MAX => 65536; # 65536
  1         2  
  1         69  
120 1     1   6 use constant NWFILTER_LIST_MAX => 16384; # 16384
  1         1  
  1         61  
121 1     1   6 use constant NWFILTER_BINDING_LIST_MAX => 16384; # 16384
  1         2  
  1         59  
122 1     1   6 use constant DOMAIN_SCHEDULER_PARAMETERS_MAX => 16; # 16
  1         3  
  1         48  
123 1     1   6 use constant DOMAIN_BLKIO_PARAMETERS_MAX => 16; # 16
  1         1  
  1         62  
124 1     1   7 use constant DOMAIN_MEMORY_PARAMETERS_MAX => 16; # 16
  1         2  
  1         62  
125 1     1   7 use constant DOMAIN_BLOCK_IO_TUNE_PARAMETERS_MAX => 32; # 32
  1         2  
  1         75  
126 1     1   6 use constant DOMAIN_NUMA_PARAMETERS_MAX => 16; # 16
  1         2  
  1         58  
127 1     1   7 use constant DOMAIN_PERF_EVENTS_MAX => 64; # 64
  1         2  
  1         67  
128 1     1   6 use constant DOMAIN_BLOCK_COPY_PARAMETERS_MAX => 16; # 16
  1         2  
  1         51  
129 1     1   5 use constant NODE_CPU_STATS_MAX => 16; # 16
  1         2  
  1         60  
130 1     1   7 use constant NODE_MEMORY_STATS_MAX => 16; # 16
  1         2  
  1         48  
131 1     1   5 use constant DOMAIN_BLOCK_STATS_PARAMETERS_MAX => 16; # 16
  1         2  
  1         89  
132 1     1   6 use constant NODE_MAX_CELLS => 1024; # 1024
  1         2  
  1         99  
133 1     1   8 use constant AUTH_SASL_DATA_MAX => 65536; # 65536
  1         2  
  1         62  
134 1     1   7 use constant AUTH_TYPE_LIST_MAX => 20; # 20
  1         2  
  1         69  
135 1     1   6 use constant DOMAIN_MEMORY_STATS_MAX => 1024; # 1024
  1         2  
  1         63  
136 1     1   7 use constant DOMAIN_CHECKPOINT_LIST_MAX => 16384; # 16384
  1         2  
  1         64  
137 1     1   7 use constant DOMAIN_SNAPSHOT_LIST_MAX => 16384; # 16384
  1         8  
  1         51  
138 1     1   6 use constant DOMAIN_BLOCK_PEEK_BUFFER_MAX => 4194304; # 4194304
  1         2  
  1         74  
139 1     1   8 use constant DOMAIN_MEMORY_PEEK_BUFFER_MAX => 4194304; # 4194304
  1         2  
  1         49  
140 1     1   6 use constant SECURITY_LABEL_LIST_MAX => 64; # 64
  1         3  
  1         61  
141 1     1   8 use constant SECURITY_MODEL_MAX => 257; # VIR_SECURITY_MODEL_BUFLEN
  1         2  
  1         57  
142 1     1   6 use constant SECURITY_LABEL_MAX => 4097; # VIR_SECURITY_LABEL_BUFLEN
  1         2  
  1         57  
143 1     1   6 use constant SECURITY_DOI_MAX => 257; # VIR_SECURITY_DOI_BUFLEN
  1         3  
  1         105  
144 1     1   9 use constant SECRET_VALUE_MAX => 65536; # 65536
  1         1  
  1         120  
145 1     1   9 use constant SECRET_LIST_MAX => 16384; # 16384
  1         1  
  1         56  
146 1     1   5 use constant CPU_BASELINE_MAX => 256; # 256
  1         2  
  1         62  
147 1     1   7 use constant DOMAIN_SEND_KEY_MAX => 16; # 16
  1         2  
  1         52  
148 1     1   6 use constant DOMAIN_INTERFACE_PARAMETERS_MAX => 16; # 16
  1         2  
  1         63  
149 1     1   6 use constant DOMAIN_GET_CPU_STATS_NCPUS_MAX => 128; # 128
  1         3  
  1         60  
150 1     1   7 use constant DOMAIN_GET_CPU_STATS_MAX => 2048; # 2048
  1         2  
  1         65  
151 1     1   6 use constant DOMAIN_DISK_ERRORS_MAX => 256; # 256
  1         2  
  1         70  
152 1     1   7 use constant NODE_MEMORY_PARAMETERS_MAX => 64; # 64
  1         1  
  1         62  
153 1     1   7 use constant DOMAIN_MIGRATE_PARAM_LIST_MAX => 64; # 64
  1         2  
  1         56  
154 1     1   6 use constant DOMAIN_SAVE_PARAMS_MAX => 64; # 64
  1         2  
  1         65  
155 1     1   6 use constant DOMAIN_JOB_STATS_MAX => 64; # 64
  1         3  
  1         47  
156 1     1   6 use constant CONNECT_CPU_MODELS_MAX => 8192; # 8192
  1         2  
  1         60  
157 1     1   6 use constant DOMAIN_FSFREEZE_MOUNTPOINTS_MAX => 256; # 256
  1         11  
  1         81  
158 1     1   8 use constant NETWORK_DHCP_LEASES_MAX => 65536; # 65536
  1         2  
  1         122  
159 1     1   9 use constant CONNECT_GET_ALL_DOMAIN_STATS_MAX => 262144; # 262144
  1         4  
  1         57  
160 1     1   6 use constant DOMAIN_EVENT_TUNABLE_MAX => 2048; # 2048
  1         2  
  1         60  
161 1     1   7 use constant DOMAIN_FSINFO_MAX => 256; # 256
  1         2  
  1         44  
162 1     1   6 use constant DOMAIN_FSINFO_DISKS_MAX => 256; # 256
  1         13  
  1         50  
163 1     1   6 use constant DOMAIN_INTERFACE_MAX => 2048; # 2048
  1         2  
  1         59  
164 1     1   7 use constant DOMAIN_IP_ADDR_MAX => 2048; # 2048
  1         2  
  1         47  
165 1     1   6 use constant DOMAIN_GUEST_VCPU_PARAMS_MAX => 64; # 64
  1         2  
  1         61  
166 1     1   6 use constant DOMAIN_IOTHREAD_PARAMS_MAX => 64; # 64
  1         2  
  1         60  
167 1     1   6 use constant NODE_SEV_INFO_MAX => 64; # 64
  1         3  
  1         64  
168 1     1   7 use constant DOMAIN_LAUNCH_SECURITY_INFO_PARAMS_MAX => 64; # 64
  1         2  
  1         60  
169 1     1   7 use constant DOMAIN_LAUNCH_SECURITY_STATE_PARAMS_MAX => 64; # 64
  1         2  
  1         64  
170 1     1   6 use constant DOMAIN_GUEST_INFO_PARAMS_MAX => 2048; # 2048
  1         2  
  1         50  
171 1     1   7 use constant NETWORK_PORT_PARAMETERS_MAX => 16; # 16
  1         2  
  1         78  
172 1     1   8 use constant DOMAIN_AUTHORIZED_SSH_KEYS_MAX => 2048; # 2048
  1         2  
  1         86  
173 1     1   7 use constant DOMAIN_MESSAGES_MAX => 2048; # 2048
  1         2  
  1         7050  
174             # @_: ($class, $value, $index, $input) = @_;
175             sub deserialize_uuid {
176 0     0 0   my $input_length = length $_[3];
177             # my ($class, $value, $index, $input) = @_;
178 0 0         die "Input buffer too short"
179             if ($input_length - $_[2]) < 16;
180 0           $_[1] = substr( $_[3], $_[2], 16 );
181 0           $_[2] += 16;
182             }
183             # @_: ($class, $value, $index, $output) = @_;
184             sub serialize_uuid {
185             # my ($class, $value, $index, $output) = @_;
186 0 0   0 0   croak "Missing required input 'opaque data' value"
187             unless defined $_[1];
188 0           do {
189 0           my $len = length $_[1];
190 0 0         die "Opaque data length mismatch (defined: 16): $len"
191             if not $len == 16;
192              
193 0           substr( $_[3], $_[2] ) = $_[1];
194 0           $_[2] += $len;
195             };
196             }
197             # @_: ($class, $value, $index, $input) = @_;
198             sub deserialize_nonnull_domain {
199 0     0 0   my $input_length = length $_[3];
200 0           $_[1] = {};
201             # Deserializing field: 'name'
202             # my ($class, $value, $index, $input) = @_;
203 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
204              
205             # Deserializing field: 'uuid'
206             # my ($class, $value, $index, $input) = @_;
207 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
208              
209             # Deserializing field: 'id'
210             # my ($class, $value, $index, $input) = @_;
211 0 0         die "Input buffer too short"
212             if ($input_length - $_[2]) < 4;
213 0           $_[1]->{id} = unpack("l>", substr( $_[3], $_[2] ));
214 0           $_[2] += 4;
215             die "Out of bounds 'int': $_[1]->{id}"
216 0 0 0       unless (-2147483648 <= $_[1]->{id} and $_[1]->{id} < 2147483648);
217             }
218             # @_: ($class, $value, $index, $output) = @_;
219             sub serialize_nonnull_domain {
220 0 0   0 0   croak "Missing required input 'struct' value"
221             unless defined $_[1];
222              
223             # Serializing field: 'name'
224             croak "Missing required input value 'name'"
225 0 0         unless exists $_[1]->{name};
226             # my ($class, $value, $index, $output) = @_;
227 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
228              
229             # Serializing field: 'uuid'
230             croak "Missing required input value 'uuid'"
231 0 0         unless exists $_[1]->{uuid};
232             # my ($class, $value, $index, $output) = @_;
233 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
234              
235             # Serializing field: 'id'
236             croak "Missing required input value 'id'"
237 0 0         unless exists $_[1]->{id};
238             # my ($class, $value, $index, $output) = @_;
239             croak "Missing required input 'int' value"
240 0 0         unless defined $_[1]->{id};
241             die "Out of bounds 'int': $_[1]->{id}"
242 0 0 0       unless (-2147483648 <= $_[1]->{id} and $_[1]->{id} < 2147483648);
243             die "Non-integer 'int' value given: $_[1]->{id}"
244 0 0         unless int($_[1]->{id}) == $_[1]->{id};
245 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{id});
246 0           $_[2] += 4;
247             }
248             # @_: ($class, $value, $index, $input) = @_;
249             sub deserialize_nonnull_network {
250 0     0 0   my $input_length = length $_[3];
251 0           $_[1] = {};
252             # Deserializing field: 'name'
253             # my ($class, $value, $index, $input) = @_;
254 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
255              
256             # Deserializing field: 'uuid'
257             # my ($class, $value, $index, $input) = @_;
258 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
259             }
260             # @_: ($class, $value, $index, $output) = @_;
261             sub serialize_nonnull_network {
262 0 0   0 0   croak "Missing required input 'struct' value"
263             unless defined $_[1];
264              
265             # Serializing field: 'name'
266             croak "Missing required input value 'name'"
267 0 0         unless exists $_[1]->{name};
268             # my ($class, $value, $index, $output) = @_;
269 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
270              
271             # Serializing field: 'uuid'
272             croak "Missing required input value 'uuid'"
273 0 0         unless exists $_[1]->{uuid};
274             # my ($class, $value, $index, $output) = @_;
275 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
276             }
277             # @_: ($class, $value, $index, $input) = @_;
278             sub deserialize_nonnull_network_port {
279 0     0 0   my $input_length = length $_[3];
280 0           $_[1] = {};
281             # Deserializing field: 'net'
282             # my ($class, $value, $index, $input) = @_;
283 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
284              
285             # Deserializing field: 'uuid'
286             # my ($class, $value, $index, $input) = @_;
287 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
288             }
289             # @_: ($class, $value, $index, $output) = @_;
290             sub serialize_nonnull_network_port {
291 0 0   0 0   croak "Missing required input 'struct' value"
292             unless defined $_[1];
293              
294             # Serializing field: 'net'
295             croak "Missing required input value 'net'"
296 0 0         unless exists $_[1]->{net};
297             # my ($class, $value, $index, $output) = @_;
298 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
299              
300             # Serializing field: 'uuid'
301             croak "Missing required input value 'uuid'"
302 0 0         unless exists $_[1]->{uuid};
303             # my ($class, $value, $index, $output) = @_;
304 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
305             }
306             # @_: ($class, $value, $index, $input) = @_;
307             sub deserialize_nonnull_nwfilter {
308 0     0 0   my $input_length = length $_[3];
309 0           $_[1] = {};
310             # Deserializing field: 'name'
311             # my ($class, $value, $index, $input) = @_;
312 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
313              
314             # Deserializing field: 'uuid'
315             # my ($class, $value, $index, $input) = @_;
316 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
317             }
318             # @_: ($class, $value, $index, $output) = @_;
319             sub serialize_nonnull_nwfilter {
320 0 0   0 0   croak "Missing required input 'struct' value"
321             unless defined $_[1];
322              
323             # Serializing field: 'name'
324             croak "Missing required input value 'name'"
325 0 0         unless exists $_[1]->{name};
326             # my ($class, $value, $index, $output) = @_;
327 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
328              
329             # Serializing field: 'uuid'
330             croak "Missing required input value 'uuid'"
331 0 0         unless exists $_[1]->{uuid};
332             # my ($class, $value, $index, $output) = @_;
333 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
334             }
335             # @_: ($class, $value, $index, $input) = @_;
336             sub deserialize_nonnull_nwfilter_binding {
337 0     0 0   my $input_length = length $_[3];
338 0           $_[1] = {};
339             # Deserializing field: 'portdev'
340             # my ($class, $value, $index, $input) = @_;
341 0           $_[0]->deserialize_nonnull_string( $_[1]->{portdev}, $_[2], $_[3] );
342              
343             # Deserializing field: 'filtername'
344             # my ($class, $value, $index, $input) = @_;
345 0           $_[0]->deserialize_nonnull_string( $_[1]->{filtername}, $_[2], $_[3] );
346             }
347             # @_: ($class, $value, $index, $output) = @_;
348             sub serialize_nonnull_nwfilter_binding {
349 0 0   0 0   croak "Missing required input 'struct' value"
350             unless defined $_[1];
351              
352             # Serializing field: 'portdev'
353             croak "Missing required input value 'portdev'"
354 0 0         unless exists $_[1]->{portdev};
355             # my ($class, $value, $index, $output) = @_;
356 0           $_[0]->serialize_nonnull_string( $_[1]->{portdev}, $_[2], $_[3] );
357              
358             # Serializing field: 'filtername'
359             croak "Missing required input value 'filtername'"
360 0 0         unless exists $_[1]->{filtername};
361             # my ($class, $value, $index, $output) = @_;
362 0           $_[0]->serialize_nonnull_string( $_[1]->{filtername}, $_[2], $_[3] );
363             }
364             # @_: ($class, $value, $index, $input) = @_;
365             sub deserialize_nonnull_interface {
366 0     0 0   my $input_length = length $_[3];
367 0           $_[1] = {};
368             # Deserializing field: 'name'
369             # my ($class, $value, $index, $input) = @_;
370 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
371              
372             # Deserializing field: 'mac'
373             # my ($class, $value, $index, $input) = @_;
374 0           $_[0]->deserialize_nonnull_string( $_[1]->{mac}, $_[2], $_[3] );
375             }
376             # @_: ($class, $value, $index, $output) = @_;
377             sub serialize_nonnull_interface {
378 0 0   0 0   croak "Missing required input 'struct' value"
379             unless defined $_[1];
380              
381             # Serializing field: 'name'
382             croak "Missing required input value 'name'"
383 0 0         unless exists $_[1]->{name};
384             # my ($class, $value, $index, $output) = @_;
385 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
386              
387             # Serializing field: 'mac'
388             croak "Missing required input value 'mac'"
389 0 0         unless exists $_[1]->{mac};
390             # my ($class, $value, $index, $output) = @_;
391 0           $_[0]->serialize_nonnull_string( $_[1]->{mac}, $_[2], $_[3] );
392             }
393             # @_: ($class, $value, $index, $input) = @_;
394             sub deserialize_nonnull_storage_pool {
395 0     0 0   my $input_length = length $_[3];
396 0           $_[1] = {};
397             # Deserializing field: 'name'
398             # my ($class, $value, $index, $input) = @_;
399 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
400              
401             # Deserializing field: 'uuid'
402             # my ($class, $value, $index, $input) = @_;
403 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
404             }
405             # @_: ($class, $value, $index, $output) = @_;
406             sub serialize_nonnull_storage_pool {
407 0 0   0 0   croak "Missing required input 'struct' value"
408             unless defined $_[1];
409              
410             # Serializing field: 'name'
411             croak "Missing required input value 'name'"
412 0 0         unless exists $_[1]->{name};
413             # my ($class, $value, $index, $output) = @_;
414 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
415              
416             # Serializing field: 'uuid'
417             croak "Missing required input value 'uuid'"
418 0 0         unless exists $_[1]->{uuid};
419             # my ($class, $value, $index, $output) = @_;
420 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
421             }
422             # @_: ($class, $value, $index, $input) = @_;
423             sub deserialize_nonnull_storage_vol {
424 0     0 0   my $input_length = length $_[3];
425 0           $_[1] = {};
426             # Deserializing field: 'pool'
427             # my ($class, $value, $index, $input) = @_;
428 0           $_[0]->deserialize_nonnull_string( $_[1]->{pool}, $_[2], $_[3] );
429              
430             # Deserializing field: 'name'
431             # my ($class, $value, $index, $input) = @_;
432 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
433              
434             # Deserializing field: 'key'
435             # my ($class, $value, $index, $input) = @_;
436 0           $_[0]->deserialize_nonnull_string( $_[1]->{key}, $_[2], $_[3] );
437             }
438             # @_: ($class, $value, $index, $output) = @_;
439             sub serialize_nonnull_storage_vol {
440 0 0   0 0   croak "Missing required input 'struct' value"
441             unless defined $_[1];
442              
443             # Serializing field: 'pool'
444             croak "Missing required input value 'pool'"
445 0 0         unless exists $_[1]->{pool};
446             # my ($class, $value, $index, $output) = @_;
447 0           $_[0]->serialize_nonnull_string( $_[1]->{pool}, $_[2], $_[3] );
448              
449             # Serializing field: 'name'
450             croak "Missing required input value 'name'"
451 0 0         unless exists $_[1]->{name};
452             # my ($class, $value, $index, $output) = @_;
453 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
454              
455             # Serializing field: 'key'
456             croak "Missing required input value 'key'"
457 0 0         unless exists $_[1]->{key};
458             # my ($class, $value, $index, $output) = @_;
459 0           $_[0]->serialize_nonnull_string( $_[1]->{key}, $_[2], $_[3] );
460             }
461             # @_: ($class, $value, $index, $input) = @_;
462             sub deserialize_nonnull_node_device {
463 0     0 0   my $input_length = length $_[3];
464 0           $_[1] = {};
465             # Deserializing field: 'name'
466             # my ($class, $value, $index, $input) = @_;
467 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
468             }
469             # @_: ($class, $value, $index, $output) = @_;
470             sub serialize_nonnull_node_device {
471 0 0   0 0   croak "Missing required input 'struct' value"
472             unless defined $_[1];
473              
474             # Serializing field: 'name'
475             croak "Missing required input value 'name'"
476 0 0         unless exists $_[1]->{name};
477             # my ($class, $value, $index, $output) = @_;
478 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
479             }
480             # @_: ($class, $value, $index, $input) = @_;
481             sub deserialize_nonnull_secret {
482 0     0 0   my $input_length = length $_[3];
483 0           $_[1] = {};
484             # Deserializing field: 'uuid'
485             # my ($class, $value, $index, $input) = @_;
486 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
487              
488             # Deserializing field: 'usageType'
489             # my ($class, $value, $index, $input) = @_;
490 0 0         die "Input buffer too short"
491             if ($input_length - $_[2]) < 4;
492 0           $_[1]->{usageType} = unpack("l>", substr( $_[3], $_[2] ));
493 0           $_[2] += 4;
494             die "Out of bounds 'int': $_[1]->{usageType}"
495 0 0 0       unless (-2147483648 <= $_[1]->{usageType} and $_[1]->{usageType} < 2147483648);
496              
497             # Deserializing field: 'usageID'
498             # my ($class, $value, $index, $input) = @_;
499 0           $_[0]->deserialize_nonnull_string( $_[1]->{usageID}, $_[2], $_[3] );
500             }
501             # @_: ($class, $value, $index, $output) = @_;
502             sub serialize_nonnull_secret {
503 0 0   0 0   croak "Missing required input 'struct' value"
504             unless defined $_[1];
505              
506             # Serializing field: 'uuid'
507             croak "Missing required input value 'uuid'"
508 0 0         unless exists $_[1]->{uuid};
509             # my ($class, $value, $index, $output) = @_;
510 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
511              
512             # Serializing field: 'usageType'
513             croak "Missing required input value 'usageType'"
514 0 0         unless exists $_[1]->{usageType};
515             # my ($class, $value, $index, $output) = @_;
516             croak "Missing required input 'int' value"
517 0 0         unless defined $_[1]->{usageType};
518             die "Out of bounds 'int': $_[1]->{usageType}"
519 0 0 0       unless (-2147483648 <= $_[1]->{usageType} and $_[1]->{usageType} < 2147483648);
520             die "Non-integer 'int' value given: $_[1]->{usageType}"
521 0 0         unless int($_[1]->{usageType}) == $_[1]->{usageType};
522 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{usageType});
523 0           $_[2] += 4;
524              
525             # Serializing field: 'usageID'
526             croak "Missing required input value 'usageID'"
527 0 0         unless exists $_[1]->{usageID};
528             # my ($class, $value, $index, $output) = @_;
529 0           $_[0]->serialize_nonnull_string( $_[1]->{usageID}, $_[2], $_[3] );
530             }
531             # @_: ($class, $value, $index, $input) = @_;
532             sub deserialize_nonnull_domain_checkpoint {
533 0     0 0   my $input_length = length $_[3];
534 0           $_[1] = {};
535             # Deserializing field: 'name'
536             # my ($class, $value, $index, $input) = @_;
537 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
538              
539             # Deserializing field: 'dom'
540             # my ($class, $value, $index, $input) = @_;
541 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
542             }
543             # @_: ($class, $value, $index, $output) = @_;
544             sub serialize_nonnull_domain_checkpoint {
545 0 0   0 0   croak "Missing required input 'struct' value"
546             unless defined $_[1];
547              
548             # Serializing field: 'name'
549             croak "Missing required input value 'name'"
550 0 0         unless exists $_[1]->{name};
551             # my ($class, $value, $index, $output) = @_;
552 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
553              
554             # Serializing field: 'dom'
555             croak "Missing required input value 'dom'"
556 0 0         unless exists $_[1]->{dom};
557             # my ($class, $value, $index, $output) = @_;
558 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
559             }
560             # @_: ($class, $value, $index, $input) = @_;
561             sub deserialize_nonnull_domain_snapshot {
562 0     0 0   my $input_length = length $_[3];
563 0           $_[1] = {};
564             # Deserializing field: 'name'
565             # my ($class, $value, $index, $input) = @_;
566 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
567              
568             # Deserializing field: 'dom'
569             # my ($class, $value, $index, $input) = @_;
570 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
571             }
572             # @_: ($class, $value, $index, $output) = @_;
573             sub serialize_nonnull_domain_snapshot {
574 0 0   0 0   croak "Missing required input 'struct' value"
575             unless defined $_[1];
576              
577             # Serializing field: 'name'
578             croak "Missing required input value 'name'"
579 0 0         unless exists $_[1]->{name};
580             # my ($class, $value, $index, $output) = @_;
581 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
582              
583             # Serializing field: 'dom'
584             croak "Missing required input value 'dom'"
585 0 0         unless exists $_[1]->{dom};
586             # my ($class, $value, $index, $output) = @_;
587 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
588             }
589             # @_: ($class, $value, $index, $input) = @_;
590             sub deserialize_domain {
591 0     0 0   my $input_length = length $_[3];
592             # my ($class, $value, $index, $input) = @_;
593 0           do {
594 0           my $b;
595             # my ($class, $value, $index, $input) = @_;
596 0 0         die "Input buffer too short"
597             if ($input_length - $_[2]) < 4;
598 0           $b = unpack("L>", substr( $_[3], $_[2] ));
599 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
600             unless $b == 0 or $b == 1;
601 0           $_[2] += 4;
602 0 0         if ($b) {
603             # my ($class, $value, $index, $input) = @_;
604 0           $_[0]->deserialize_nonnull_domain( $_[1], $_[2], $_[3] );
605             }
606             else {
607 0           $_[1] = undef;
608             }
609             };
610             }
611             # @_: ($class, $value, $index, $output) = @_;
612             sub serialize_domain {
613             # my ($class, $value, $index, $output) = @_;
614 0 0   0 0   if (defined $_[1]) {
615             # my ($class, $value, $index, $output) = @_;
616             # Allow to model a value
617 0           substr( $_[3], $_[2] ) = pack("L>", 1);
618 0           $_[2] += 4;
619             # my ($class, $value, $index, $output) = @_;
620 0           $_[0]->serialize_nonnull_domain( $_[1], $_[2], $_[3] );
621             }
622             else {
623             # my ($class, $value, $index, $output) = @_;
624             # Allow to model a value
625 0           substr( $_[3], $_[2] ) = pack("L>", 0);
626 0           $_[2] += 4;
627             }
628             }
629             # @_: ($class, $value, $index, $input) = @_;
630             sub deserialize_network {
631 0     0 0   my $input_length = length $_[3];
632             # my ($class, $value, $index, $input) = @_;
633 0           do {
634 0           my $b;
635             # my ($class, $value, $index, $input) = @_;
636 0 0         die "Input buffer too short"
637             if ($input_length - $_[2]) < 4;
638 0           $b = unpack("L>", substr( $_[3], $_[2] ));
639 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
640             unless $b == 0 or $b == 1;
641 0           $_[2] += 4;
642 0 0         if ($b) {
643             # my ($class, $value, $index, $input) = @_;
644 0           $_[0]->deserialize_nonnull_network( $_[1], $_[2], $_[3] );
645             }
646             else {
647 0           $_[1] = undef;
648             }
649             };
650             }
651             # @_: ($class, $value, $index, $output) = @_;
652             sub serialize_network {
653             # my ($class, $value, $index, $output) = @_;
654 0 0   0 0   if (defined $_[1]) {
655             # my ($class, $value, $index, $output) = @_;
656             # Allow to model a value
657 0           substr( $_[3], $_[2] ) = pack("L>", 1);
658 0           $_[2] += 4;
659             # my ($class, $value, $index, $output) = @_;
660 0           $_[0]->serialize_nonnull_network( $_[1], $_[2], $_[3] );
661             }
662             else {
663             # my ($class, $value, $index, $output) = @_;
664             # Allow to model a value
665 0           substr( $_[3], $_[2] ) = pack("L>", 0);
666 0           $_[2] += 4;
667             }
668             }
669             # @_: ($class, $value, $index, $input) = @_;
670             sub deserialize_network_port {
671 0     0 0   my $input_length = length $_[3];
672             # my ($class, $value, $index, $input) = @_;
673 0           do {
674 0           my $b;
675             # my ($class, $value, $index, $input) = @_;
676 0 0         die "Input buffer too short"
677             if ($input_length - $_[2]) < 4;
678 0           $b = unpack("L>", substr( $_[3], $_[2] ));
679 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
680             unless $b == 0 or $b == 1;
681 0           $_[2] += 4;
682 0 0         if ($b) {
683             # my ($class, $value, $index, $input) = @_;
684 0           $_[0]->deserialize_nonnull_network_port( $_[1], $_[2], $_[3] );
685             }
686             else {
687 0           $_[1] = undef;
688             }
689             };
690             }
691             # @_: ($class, $value, $index, $output) = @_;
692             sub serialize_network_port {
693             # my ($class, $value, $index, $output) = @_;
694 0 0   0 0   if (defined $_[1]) {
695             # my ($class, $value, $index, $output) = @_;
696             # Allow to model a value
697 0           substr( $_[3], $_[2] ) = pack("L>", 1);
698 0           $_[2] += 4;
699             # my ($class, $value, $index, $output) = @_;
700 0           $_[0]->serialize_nonnull_network_port( $_[1], $_[2], $_[3] );
701             }
702             else {
703             # my ($class, $value, $index, $output) = @_;
704             # Allow to model a value
705 0           substr( $_[3], $_[2] ) = pack("L>", 0);
706 0           $_[2] += 4;
707             }
708             }
709             # @_: ($class, $value, $index, $input) = @_;
710             sub deserialize_nwfilter {
711 0     0 0   my $input_length = length $_[3];
712             # my ($class, $value, $index, $input) = @_;
713 0           do {
714 0           my $b;
715             # my ($class, $value, $index, $input) = @_;
716 0 0         die "Input buffer too short"
717             if ($input_length - $_[2]) < 4;
718 0           $b = unpack("L>", substr( $_[3], $_[2] ));
719 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
720             unless $b == 0 or $b == 1;
721 0           $_[2] += 4;
722 0 0         if ($b) {
723             # my ($class, $value, $index, $input) = @_;
724 0           $_[0]->deserialize_nonnull_nwfilter( $_[1], $_[2], $_[3] );
725             }
726             else {
727 0           $_[1] = undef;
728             }
729             };
730             }
731             # @_: ($class, $value, $index, $output) = @_;
732             sub serialize_nwfilter {
733             # my ($class, $value, $index, $output) = @_;
734 0 0   0 0   if (defined $_[1]) {
735             # my ($class, $value, $index, $output) = @_;
736             # Allow to model a value
737 0           substr( $_[3], $_[2] ) = pack("L>", 1);
738 0           $_[2] += 4;
739             # my ($class, $value, $index, $output) = @_;
740 0           $_[0]->serialize_nonnull_nwfilter( $_[1], $_[2], $_[3] );
741             }
742             else {
743             # my ($class, $value, $index, $output) = @_;
744             # Allow to model a value
745 0           substr( $_[3], $_[2] ) = pack("L>", 0);
746 0           $_[2] += 4;
747             }
748             }
749             # @_: ($class, $value, $index, $input) = @_;
750             sub deserialize_nwfilter_binding {
751 0     0 0   my $input_length = length $_[3];
752             # my ($class, $value, $index, $input) = @_;
753 0           do {
754 0           my $b;
755             # my ($class, $value, $index, $input) = @_;
756 0 0         die "Input buffer too short"
757             if ($input_length - $_[2]) < 4;
758 0           $b = unpack("L>", substr( $_[3], $_[2] ));
759 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
760             unless $b == 0 or $b == 1;
761 0           $_[2] += 4;
762 0 0         if ($b) {
763             # my ($class, $value, $index, $input) = @_;
764 0           $_[0]->deserialize_nonnull_nwfilter_binding( $_[1], $_[2], $_[3] );
765             }
766             else {
767 0           $_[1] = undef;
768             }
769             };
770             }
771             # @_: ($class, $value, $index, $output) = @_;
772             sub serialize_nwfilter_binding {
773             # my ($class, $value, $index, $output) = @_;
774 0 0   0 0   if (defined $_[1]) {
775             # my ($class, $value, $index, $output) = @_;
776             # Allow to model a value
777 0           substr( $_[3], $_[2] ) = pack("L>", 1);
778 0           $_[2] += 4;
779             # my ($class, $value, $index, $output) = @_;
780 0           $_[0]->serialize_nonnull_nwfilter_binding( $_[1], $_[2], $_[3] );
781             }
782             else {
783             # my ($class, $value, $index, $output) = @_;
784             # Allow to model a value
785 0           substr( $_[3], $_[2] ) = pack("L>", 0);
786 0           $_[2] += 4;
787             }
788             }
789             # @_: ($class, $value, $index, $input) = @_;
790             sub deserialize_storage_pool {
791 0     0 0   my $input_length = length $_[3];
792             # my ($class, $value, $index, $input) = @_;
793 0           do {
794 0           my $b;
795             # my ($class, $value, $index, $input) = @_;
796 0 0         die "Input buffer too short"
797             if ($input_length - $_[2]) < 4;
798 0           $b = unpack("L>", substr( $_[3], $_[2] ));
799 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
800             unless $b == 0 or $b == 1;
801 0           $_[2] += 4;
802 0 0         if ($b) {
803             # my ($class, $value, $index, $input) = @_;
804 0           $_[0]->deserialize_nonnull_storage_pool( $_[1], $_[2], $_[3] );
805             }
806             else {
807 0           $_[1] = undef;
808             }
809             };
810             }
811             # @_: ($class, $value, $index, $output) = @_;
812             sub serialize_storage_pool {
813             # my ($class, $value, $index, $output) = @_;
814 0 0   0 0   if (defined $_[1]) {
815             # my ($class, $value, $index, $output) = @_;
816             # Allow to model a value
817 0           substr( $_[3], $_[2] ) = pack("L>", 1);
818 0           $_[2] += 4;
819             # my ($class, $value, $index, $output) = @_;
820 0           $_[0]->serialize_nonnull_storage_pool( $_[1], $_[2], $_[3] );
821             }
822             else {
823             # my ($class, $value, $index, $output) = @_;
824             # Allow to model a value
825 0           substr( $_[3], $_[2] ) = pack("L>", 0);
826 0           $_[2] += 4;
827             }
828             }
829             # @_: ($class, $value, $index, $input) = @_;
830             sub deserialize_storage_vol {
831 0     0 0   my $input_length = length $_[3];
832             # my ($class, $value, $index, $input) = @_;
833 0           do {
834 0           my $b;
835             # my ($class, $value, $index, $input) = @_;
836 0 0         die "Input buffer too short"
837             if ($input_length - $_[2]) < 4;
838 0           $b = unpack("L>", substr( $_[3], $_[2] ));
839 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
840             unless $b == 0 or $b == 1;
841 0           $_[2] += 4;
842 0 0         if ($b) {
843             # my ($class, $value, $index, $input) = @_;
844 0           $_[0]->deserialize_nonnull_storage_vol( $_[1], $_[2], $_[3] );
845             }
846             else {
847 0           $_[1] = undef;
848             }
849             };
850             }
851             # @_: ($class, $value, $index, $output) = @_;
852             sub serialize_storage_vol {
853             # my ($class, $value, $index, $output) = @_;
854 0 0   0 0   if (defined $_[1]) {
855             # my ($class, $value, $index, $output) = @_;
856             # Allow to model a value
857 0           substr( $_[3], $_[2] ) = pack("L>", 1);
858 0           $_[2] += 4;
859             # my ($class, $value, $index, $output) = @_;
860 0           $_[0]->serialize_nonnull_storage_vol( $_[1], $_[2], $_[3] );
861             }
862             else {
863             # my ($class, $value, $index, $output) = @_;
864             # Allow to model a value
865 0           substr( $_[3], $_[2] ) = pack("L>", 0);
866 0           $_[2] += 4;
867             }
868             }
869             # @_: ($class, $value, $index, $input) = @_;
870             sub deserialize_node_device {
871 0     0 0   my $input_length = length $_[3];
872             # my ($class, $value, $index, $input) = @_;
873 0           do {
874 0           my $b;
875             # my ($class, $value, $index, $input) = @_;
876 0 0         die "Input buffer too short"
877             if ($input_length - $_[2]) < 4;
878 0           $b = unpack("L>", substr( $_[3], $_[2] ));
879 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
880             unless $b == 0 or $b == 1;
881 0           $_[2] += 4;
882 0 0         if ($b) {
883             # my ($class, $value, $index, $input) = @_;
884 0           $_[0]->deserialize_nonnull_node_device( $_[1], $_[2], $_[3] );
885             }
886             else {
887 0           $_[1] = undef;
888             }
889             };
890             }
891             # @_: ($class, $value, $index, $output) = @_;
892             sub serialize_node_device {
893             # my ($class, $value, $index, $output) = @_;
894 0 0   0 0   if (defined $_[1]) {
895             # my ($class, $value, $index, $output) = @_;
896             # Allow to model a value
897 0           substr( $_[3], $_[2] ) = pack("L>", 1);
898 0           $_[2] += 4;
899             # my ($class, $value, $index, $output) = @_;
900 0           $_[0]->serialize_nonnull_node_device( $_[1], $_[2], $_[3] );
901             }
902             else {
903             # my ($class, $value, $index, $output) = @_;
904             # Allow to model a value
905 0           substr( $_[3], $_[2] ) = pack("L>", 0);
906 0           $_[2] += 4;
907             }
908             }
909             # @_: ($class, $value, $index, $input) = @_;
910             sub deserialize_secret {
911 0     0 0   my $input_length = length $_[3];
912             # my ($class, $value, $index, $input) = @_;
913 0           do {
914 0           my $b;
915             # my ($class, $value, $index, $input) = @_;
916 0 0         die "Input buffer too short"
917             if ($input_length - $_[2]) < 4;
918 0           $b = unpack("L>", substr( $_[3], $_[2] ));
919 0 0 0       die "Incorrect bool value $b (must be 0 or 1)"
920             unless $b == 0 or $b == 1;
921 0           $_[2] += 4;
922 0 0         if ($b) {
923             # my ($class, $value, $index, $input) = @_;
924 0           $_[0]->deserialize_nonnull_secret( $_[1], $_[2], $_[3] );
925             }
926             else {
927 0           $_[1] = undef;
928             }
929             };
930             }
931             # @_: ($class, $value, $index, $output) = @_;
932             sub serialize_secret {
933             # my ($class, $value, $index, $output) = @_;
934 0 0   0 0   if (defined $_[1]) {
935             # my ($class, $value, $index, $output) = @_;
936             # Allow to model a value
937 0           substr( $_[3], $_[2] ) = pack("L>", 1);
938 0           $_[2] += 4;
939             # my ($class, $value, $index, $output) = @_;
940 0           $_[0]->serialize_nonnull_secret( $_[1], $_[2], $_[3] );
941             }
942             else {
943             # my ($class, $value, $index, $output) = @_;
944             # Allow to model a value
945 0           substr( $_[3], $_[2] ) = pack("L>", 0);
946 0           $_[2] += 4;
947             }
948             }
949             # @_: ($class, $value, $index, $input) = @_;
950             sub deserialize_error {
951 0     0 0   my $input_length = length $_[3];
952 0           $_[1] = {};
953             # Deserializing field: 'code'
954             # my ($class, $value, $index, $input) = @_;
955 0 0         die "Input buffer too short"
956             if ($input_length - $_[2]) < 4;
957 0           $_[1]->{code} = unpack("l>", substr( $_[3], $_[2] ));
958 0           $_[2] += 4;
959             die "Out of bounds 'int': $_[1]->{code}"
960 0 0 0       unless (-2147483648 <= $_[1]->{code} and $_[1]->{code} < 2147483648);
961              
962             # Deserializing field: 'domain'
963             # my ($class, $value, $index, $input) = @_;
964 0 0         die "Input buffer too short"
965             if ($input_length - $_[2]) < 4;
966 0           $_[1]->{domain} = unpack("l>", substr( $_[3], $_[2] ));
967 0           $_[2] += 4;
968             die "Out of bounds 'int': $_[1]->{domain}"
969 0 0 0       unless (-2147483648 <= $_[1]->{domain} and $_[1]->{domain} < 2147483648);
970              
971             # Deserializing field: 'message'
972             # my ($class, $value, $index, $input) = @_;
973 0           $_[0]->deserialize_string( $_[1]->{message}, $_[2], $_[3] );
974              
975             # Deserializing field: 'level'
976             # my ($class, $value, $index, $input) = @_;
977 0 0         die "Input buffer too short"
978             if ($input_length - $_[2]) < 4;
979 0           $_[1]->{level} = unpack("l>", substr( $_[3], $_[2] ));
980 0           $_[2] += 4;
981             die "Out of bounds 'int': $_[1]->{level}"
982 0 0 0       unless (-2147483648 <= $_[1]->{level} and $_[1]->{level} < 2147483648);
983              
984             # Deserializing field: 'dom'
985             # my ($class, $value, $index, $input) = @_;
986 0           $_[0]->deserialize_domain( $_[1]->{dom}, $_[2], $_[3] );
987              
988             # Deserializing field: 'str1'
989             # my ($class, $value, $index, $input) = @_;
990 0           $_[0]->deserialize_string( $_[1]->{str1}, $_[2], $_[3] );
991              
992             # Deserializing field: 'str2'
993             # my ($class, $value, $index, $input) = @_;
994 0           $_[0]->deserialize_string( $_[1]->{str2}, $_[2], $_[3] );
995              
996             # Deserializing field: 'str3'
997             # my ($class, $value, $index, $input) = @_;
998 0           $_[0]->deserialize_string( $_[1]->{str3}, $_[2], $_[3] );
999              
1000             # Deserializing field: 'int1'
1001             # my ($class, $value, $index, $input) = @_;
1002 0 0         die "Input buffer too short"
1003             if ($input_length - $_[2]) < 4;
1004 0           $_[1]->{int1} = unpack("l>", substr( $_[3], $_[2] ));
1005 0           $_[2] += 4;
1006             die "Out of bounds 'int': $_[1]->{int1}"
1007 0 0 0       unless (-2147483648 <= $_[1]->{int1} and $_[1]->{int1} < 2147483648);
1008              
1009             # Deserializing field: 'int2'
1010             # my ($class, $value, $index, $input) = @_;
1011 0 0         die "Input buffer too short"
1012             if ($input_length - $_[2]) < 4;
1013 0           $_[1]->{int2} = unpack("l>", substr( $_[3], $_[2] ));
1014 0           $_[2] += 4;
1015             die "Out of bounds 'int': $_[1]->{int2}"
1016 0 0 0       unless (-2147483648 <= $_[1]->{int2} and $_[1]->{int2} < 2147483648);
1017              
1018             # Deserializing field: 'net'
1019             # my ($class, $value, $index, $input) = @_;
1020 0           $_[0]->deserialize_network( $_[1]->{net}, $_[2], $_[3] );
1021             }
1022             # @_: ($class, $value, $index, $output) = @_;
1023             sub serialize_error {
1024 0 0   0 0   croak "Missing required input 'struct' value"
1025             unless defined $_[1];
1026              
1027             # Serializing field: 'code'
1028             croak "Missing required input value 'code'"
1029 0 0         unless exists $_[1]->{code};
1030             # my ($class, $value, $index, $output) = @_;
1031             croak "Missing required input 'int' value"
1032 0 0         unless defined $_[1]->{code};
1033             die "Out of bounds 'int': $_[1]->{code}"
1034 0 0 0       unless (-2147483648 <= $_[1]->{code} and $_[1]->{code} < 2147483648);
1035             die "Non-integer 'int' value given: $_[1]->{code}"
1036 0 0         unless int($_[1]->{code}) == $_[1]->{code};
1037 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{code});
1038 0           $_[2] += 4;
1039              
1040             # Serializing field: 'domain'
1041             croak "Missing required input value 'domain'"
1042 0 0         unless exists $_[1]->{domain};
1043             # my ($class, $value, $index, $output) = @_;
1044             croak "Missing required input 'int' value"
1045 0 0         unless defined $_[1]->{domain};
1046             die "Out of bounds 'int': $_[1]->{domain}"
1047 0 0 0       unless (-2147483648 <= $_[1]->{domain} and $_[1]->{domain} < 2147483648);
1048             die "Non-integer 'int' value given: $_[1]->{domain}"
1049 0 0         unless int($_[1]->{domain}) == $_[1]->{domain};
1050 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{domain});
1051 0           $_[2] += 4;
1052              
1053             # Serializing field: 'message'
1054             croak "Missing required input value 'message'"
1055 0 0         unless exists $_[1]->{message};
1056             # my ($class, $value, $index, $output) = @_;
1057 0           $_[0]->serialize_string( $_[1]->{message}, $_[2], $_[3] );
1058              
1059             # Serializing field: 'level'
1060             croak "Missing required input value 'level'"
1061 0 0         unless exists $_[1]->{level};
1062             # my ($class, $value, $index, $output) = @_;
1063             croak "Missing required input 'int' value"
1064 0 0         unless defined $_[1]->{level};
1065             die "Out of bounds 'int': $_[1]->{level}"
1066 0 0 0       unless (-2147483648 <= $_[1]->{level} and $_[1]->{level} < 2147483648);
1067             die "Non-integer 'int' value given: $_[1]->{level}"
1068 0 0         unless int($_[1]->{level}) == $_[1]->{level};
1069 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{level});
1070 0           $_[2] += 4;
1071              
1072             # Serializing field: 'dom'
1073             croak "Missing required input value 'dom'"
1074 0 0         unless exists $_[1]->{dom};
1075             # my ($class, $value, $index, $output) = @_;
1076 0           $_[0]->serialize_domain( $_[1]->{dom}, $_[2], $_[3] );
1077              
1078             # Serializing field: 'str1'
1079             croak "Missing required input value 'str1'"
1080 0 0         unless exists $_[1]->{str1};
1081             # my ($class, $value, $index, $output) = @_;
1082 0           $_[0]->serialize_string( $_[1]->{str1}, $_[2], $_[3] );
1083              
1084             # Serializing field: 'str2'
1085             croak "Missing required input value 'str2'"
1086 0 0         unless exists $_[1]->{str2};
1087             # my ($class, $value, $index, $output) = @_;
1088 0           $_[0]->serialize_string( $_[1]->{str2}, $_[2], $_[3] );
1089              
1090             # Serializing field: 'str3'
1091             croak "Missing required input value 'str3'"
1092 0 0         unless exists $_[1]->{str3};
1093             # my ($class, $value, $index, $output) = @_;
1094 0           $_[0]->serialize_string( $_[1]->{str3}, $_[2], $_[3] );
1095              
1096             # Serializing field: 'int1'
1097             croak "Missing required input value 'int1'"
1098 0 0         unless exists $_[1]->{int1};
1099             # my ($class, $value, $index, $output) = @_;
1100             croak "Missing required input 'int' value"
1101 0 0         unless defined $_[1]->{int1};
1102             die "Out of bounds 'int': $_[1]->{int1}"
1103 0 0 0       unless (-2147483648 <= $_[1]->{int1} and $_[1]->{int1} < 2147483648);
1104             die "Non-integer 'int' value given: $_[1]->{int1}"
1105 0 0         unless int($_[1]->{int1}) == $_[1]->{int1};
1106 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{int1});
1107 0           $_[2] += 4;
1108              
1109             # Serializing field: 'int2'
1110             croak "Missing required input value 'int2'"
1111 0 0         unless exists $_[1]->{int2};
1112             # my ($class, $value, $index, $output) = @_;
1113             croak "Missing required input 'int' value"
1114 0 0         unless defined $_[1]->{int2};
1115             die "Out of bounds 'int': $_[1]->{int2}"
1116 0 0 0       unless (-2147483648 <= $_[1]->{int2} and $_[1]->{int2} < 2147483648);
1117             die "Non-integer 'int' value given: $_[1]->{int2}"
1118 0 0         unless int($_[1]->{int2}) == $_[1]->{int2};
1119 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{int2});
1120 0           $_[2] += 4;
1121              
1122             # Serializing field: 'net'
1123             croak "Missing required input value 'net'"
1124 0 0         unless exists $_[1]->{net};
1125             # my ($class, $value, $index, $output) = @_;
1126 0           $_[0]->serialize_network( $_[1]->{net}, $_[2], $_[3] );
1127             }
1128             # Define elements from enum 'auth_type'
1129             use constant {
1130 1         125498 AUTH_NONE => 0,
1131             AUTH_SASL => 1,
1132             AUTH_POLKIT => 2,
1133 1     1   17 };
  1         2  
1134             # @_: ($class, $value, $index, $input) = @_;
1135             sub deserialize_auth_type {
1136 0     0 0   my $input_length = length $_[3];
1137             # my ($class, $value, $index, $input) = @_;
1138 0 0         die "Input buffer too short"
1139             if ($input_length - $_[2]) < 4;
1140 0           $_[1] = unpack("l>", substr( $_[3], $_[2] ) );
1141 0 0         die "Out of range enum value supplied: $_[1]"
1142             unless vec(state $m = pack('H*', '07'),
1143             $_[1], 1);
1144 0           $_[2] += 4;
1145             }
1146             # @_: ($class, $value, $index, $output) = @_;
1147             sub serialize_auth_type {
1148             # my ($class, $value, $index, $output) = @_;
1149 0 0   0 0   croak "Missing required input 'enum' value"
1150             unless defined $_[1];
1151 0 0         die "Out of range enum value: $_[1]"
1152             unless vec(state $m = pack('H*', '07'),
1153             $_[1], 1);
1154 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]);
1155 0           $_[2] += 4;
1156             }
1157             # @_: ($class, $value, $index, $input) = @_;
1158             sub deserialize_vcpu_info {
1159 0     0 0   my $input_length = length $_[3];
1160 0           $_[1] = {};
1161             # Deserializing field: 'number'
1162             # my ($class, $value, $index, $input) = @_;
1163 0 0         die "Input buffer too short"
1164             if ($input_length - $_[2]) < 4;
1165 0           $_[1]->{number} = unpack("L>", substr( $_[3], $_[2] ));
1166 0           $_[2] += 4;
1167             die "Out of bounds 'unsigned int': $_[1]->{number}"
1168 0 0 0       unless (0 <= $_[1]->{number} and $_[1]->{number} <= 4294967295);
1169              
1170             # Deserializing field: 'state'
1171             # my ($class, $value, $index, $input) = @_;
1172 0 0         die "Input buffer too short"
1173             if ($input_length - $_[2]) < 4;
1174 0           $_[1]->{state} = unpack("l>", substr( $_[3], $_[2] ));
1175 0           $_[2] += 4;
1176             die "Out of bounds 'int': $_[1]->{state}"
1177 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
1178              
1179             # Deserializing field: 'cpu_time'
1180             # my ($class, $value, $index, $input) = @_;
1181 0 0         die "Input buffer too short"
1182             if ($input_length - $_[2]) < 8;
1183 0           $_[1]->{cpu_time} = unpack("Q>", substr( $_[3], $_[2] ));
1184 0           $_[2] += 8;
1185             die "Out of bounds 'unsigned hyper': $_[1]->{cpu_time}"
1186             unless (0 <= $_[1]->{cpu_time}
1187 0 0 0       and $_[1]->{cpu_time} <= 18446744073709551615);
1188              
1189             # Deserializing field: 'cpu'
1190             # my ($class, $value, $index, $input) = @_;
1191 0 0         die "Input buffer too short"
1192             if ($input_length - $_[2]) < 4;
1193 0           $_[1]->{cpu} = unpack("l>", substr( $_[3], $_[2] ));
1194 0           $_[2] += 4;
1195             die "Out of bounds 'int': $_[1]->{cpu}"
1196 0 0 0       unless (-2147483648 <= $_[1]->{cpu} and $_[1]->{cpu} < 2147483648);
1197             }
1198             # @_: ($class, $value, $index, $output) = @_;
1199             sub serialize_vcpu_info {
1200 0 0   0 0   croak "Missing required input 'struct' value"
1201             unless defined $_[1];
1202              
1203             # Serializing field: 'number'
1204             croak "Missing required input value 'number'"
1205 0 0         unless exists $_[1]->{number};
1206             # my ($class, $value, $index, $output) = @_;
1207             croak "Missing required input 'unsigned int' value"
1208 0 0         unless defined $_[1]->{number};
1209             die "Out of bounds 'unsigned int': $_[1]->{number}"
1210 0 0 0       unless (0 <= $_[1]->{number} and $_[1]->{number} <= 4294967295);
1211             die "Non-integer 'int' value given: $_[1]->{number}"
1212 0 0         unless int($_[1]->{number}) == $_[1]->{number};
1213 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{number});
1214 0           $_[2] += 4;
1215              
1216             # Serializing field: 'state'
1217             croak "Missing required input value 'state'"
1218 0 0         unless exists $_[1]->{state};
1219             # my ($class, $value, $index, $output) = @_;
1220             croak "Missing required input 'int' value"
1221 0 0         unless defined $_[1]->{state};
1222             die "Out of bounds 'int': $_[1]->{state}"
1223 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
1224             die "Non-integer 'int' value given: $_[1]->{state}"
1225 0 0         unless int($_[1]->{state}) == $_[1]->{state};
1226 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{state});
1227 0           $_[2] += 4;
1228              
1229             # Serializing field: 'cpu_time'
1230             croak "Missing required input value 'cpu_time'"
1231 0 0         unless exists $_[1]->{cpu_time};
1232             # my ($class, $value, $index, $output) = @_;
1233             croak "Missing required input 'unsigned long' value"
1234 0 0         unless defined $_[1]->{cpu_time};
1235             die "Out of bounds 'unsigned hyper': $_[1]->{cpu_time}"
1236             unless (0 <= $_[1]->{cpu_time}
1237 0 0 0       and $_[1]->{cpu_time} <= 18446744073709551615);
1238             die "Non-integer 'long' value given: $_[1]->{cpu_time}"
1239 0 0         unless int($_[1]->{cpu_time}) == $_[1]->{cpu_time};
1240 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{cpu_time});
1241 0           $_[2] += 8;
1242              
1243             # Serializing field: 'cpu'
1244             croak "Missing required input value 'cpu'"
1245 0 0         unless exists $_[1]->{cpu};
1246             # my ($class, $value, $index, $output) = @_;
1247             croak "Missing required input 'int' value"
1248 0 0         unless defined $_[1]->{cpu};
1249             die "Out of bounds 'int': $_[1]->{cpu}"
1250 0 0 0       unless (-2147483648 <= $_[1]->{cpu} and $_[1]->{cpu} < 2147483648);
1251             die "Non-integer 'int' value given: $_[1]->{cpu}"
1252 0 0         unless int($_[1]->{cpu}) == $_[1]->{cpu};
1253 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cpu});
1254 0           $_[2] += 4;
1255             }
1256             # @_: ($class, $value, $index, $input) = @_;
1257             sub deserialize_typed_param_value {
1258 0     0 0   my $input_length = length $_[3];
1259 0           $_[1] = {};
1260 0           my $d;
1261             # my ($class, $value, $index, $input) = @_;
1262 0 0         die "Input buffer too short"
1263             if ($input_length - $_[2]) < 4;
1264 0           $d = unpack("l>", substr( $_[3], $_[2] ));
1265 0           $_[2] += 4;
1266 0 0 0       die "Out of bounds 'int': $d"
1267             unless (-2147483648 <= $d and $d < 2147483648);
1268              
1269 0           $_[1]->{type} = $d;
1270             # Deserializing member 'i' (discriminator == VIR_TYPED_PARAM_INT)
1271 0 0         if ($d == VIR_TYPED_PARAM_INT) {
    0          
    0          
    0          
    0          
    0          
    0          
1272             # my ($class, $value, $index, $input) = @_;
1273 0 0         die "Input buffer too short"
1274             if ($input_length - $_[2]) < 4;
1275 0           $_[1]->{i} = unpack("l>", substr( $_[3], $_[2] ));
1276 0           $_[2] += 4;
1277             die "Out of bounds 'int': $_[1]->{i}"
1278 0 0 0       unless (-2147483648 <= $_[1]->{i} and $_[1]->{i} < 2147483648);
1279             }
1280              
1281             # Deserializing member 'ui' (discriminator == VIR_TYPED_PARAM_UINT)
1282             elsif ($d == VIR_TYPED_PARAM_UINT) {
1283             # my ($class, $value, $index, $input) = @_;
1284 0 0         die "Input buffer too short"
1285             if ($input_length - $_[2]) < 4;
1286 0           $_[1]->{ui} = unpack("L>", substr( $_[3], $_[2] ));
1287 0           $_[2] += 4;
1288             die "Out of bounds 'unsigned int': $_[1]->{ui}"
1289 0 0 0       unless (0 <= $_[1]->{ui} and $_[1]->{ui} <= 4294967295);
1290             }
1291              
1292             # Deserializing member 'l' (discriminator == VIR_TYPED_PARAM_LLONG)
1293             elsif ($d == VIR_TYPED_PARAM_LLONG) {
1294             # my ($class, $value, $index, $input) = @_;
1295 0 0         die "Input buffer too short"
1296             if ($input_length - $_[2]) < 8;
1297 0           $_[1]->{l} = unpack("q>", substr( $_[3], $_[2] ));
1298 0           $_[2] += 8;
1299             die "Out of bounds 'hyper': $_[1]->{l}"
1300             unless (-9223372036854775808 <= $_[1]->{l}
1301 0 0 0       and $_[1]->{l} < 9223372036854775808);
1302             }
1303              
1304             # Deserializing member 'ul' (discriminator == VIR_TYPED_PARAM_ULLONG)
1305             elsif ($d == VIR_TYPED_PARAM_ULLONG) {
1306             # my ($class, $value, $index, $input) = @_;
1307 0 0         die "Input buffer too short"
1308             if ($input_length - $_[2]) < 8;
1309 0           $_[1]->{ul} = unpack("Q>", substr( $_[3], $_[2] ));
1310 0           $_[2] += 8;
1311             die "Out of bounds 'unsigned hyper': $_[1]->{ul}"
1312             unless (0 <= $_[1]->{ul}
1313 0 0 0       and $_[1]->{ul} <= 18446744073709551615);
1314             }
1315              
1316             # Deserializing member 'd' (discriminator == VIR_TYPED_PARAM_DOUBLE)
1317             elsif ($d == VIR_TYPED_PARAM_DOUBLE) {
1318             # my ($class, $value, $index, $input) = @_;
1319             die "The platform doesn't support IEEE-754 floats"
1320 0 0         unless $Config{d_double_style_ieee754};
1321 0 0         die "Input buffer too short"
1322             if ($input_length - $_[2]) < 8;
1323 0           $_[1]->{d} = unpack("d>", substr( $_[3], $_[2] ));
1324             die "Incorrect bool value $_[1]->{d} (must be 0 or 1)"
1325 0 0 0       unless $_[1]->{d} == 0 or $_[1]->{d} == 1;
1326 0           $_[2] += 8;
1327             }
1328              
1329             # Deserializing member 'b' (discriminator == VIR_TYPED_PARAM_BOOLEAN)
1330             elsif ($d == VIR_TYPED_PARAM_BOOLEAN) {
1331             # my ($class, $value, $index, $input) = @_;
1332 0 0         die "Input buffer too short"
1333             if ($input_length - $_[2]) < 4;
1334 0           $_[1]->{b} = unpack("l>", substr( $_[3], $_[2] ));
1335 0           $_[2] += 4;
1336             die "Out of bounds 'int': $_[1]->{b}"
1337 0 0 0       unless (-2147483648 <= $_[1]->{b} and $_[1]->{b} < 2147483648);
1338             }
1339              
1340             # Deserializing member 's' (discriminator == VIR_TYPED_PARAM_STRING)
1341             elsif ($d == VIR_TYPED_PARAM_STRING) {
1342             # my ($class, $value, $index, $input) = @_;
1343 0           $_[0]->deserialize_nonnull_string( $_[1]->{s}, $_[2], $_[3] );
1344             }
1345              
1346             else {
1347 0           die "Unhandled union discriminator value ($d)";
1348             }
1349             }
1350             # @_: ($class, $value, $index, $output) = @_;
1351             sub serialize_typed_param_value {
1352 0 0   0 0   croak "Missing required input 'union' value"
1353             unless defined $_[1];
1354              
1355 0           my $d = $_[1]->{type};
1356             # my ($class, $value, $index, $output) = @_;
1357 0 0         croak "Missing required input 'int' value"
1358             unless defined $d;
1359 0 0 0       die "Out of bounds 'int': $d"
1360             unless (-2147483648 <= $d and $d < 2147483648);
1361 0 0         die "Non-integer 'int' value given: $d"
1362             unless int($d) == $d;
1363 0           substr( $_[3], $_[2] ) = pack("l>", $d);
1364 0           $_[2] += 4;
1365              
1366             # Serializing member 'i' (discriminator == VIR_TYPED_PARAM_INT)
1367 0 0         if ($d == VIR_TYPED_PARAM_INT) {
    0          
    0          
    0          
    0          
    0          
    0          
1368             # my ($class, $value, $index, $output) = @_;
1369             croak "Missing required input 'int' value"
1370 0 0         unless defined $_[1]->{i};
1371             die "Out of bounds 'int': $_[1]->{i}"
1372 0 0 0       unless (-2147483648 <= $_[1]->{i} and $_[1]->{i} < 2147483648);
1373             die "Non-integer 'int' value given: $_[1]->{i}"
1374 0 0         unless int($_[1]->{i}) == $_[1]->{i};
1375 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{i});
1376 0           $_[2] += 4;
1377             }
1378              
1379             # Serializing member 'ui' (discriminator == VIR_TYPED_PARAM_UINT)
1380             elsif ($d == VIR_TYPED_PARAM_UINT) {
1381             # my ($class, $value, $index, $output) = @_;
1382             croak "Missing required input 'unsigned int' value"
1383 0 0         unless defined $_[1]->{ui};
1384             die "Out of bounds 'unsigned int': $_[1]->{ui}"
1385 0 0 0       unless (0 <= $_[1]->{ui} and $_[1]->{ui} <= 4294967295);
1386             die "Non-integer 'int' value given: $_[1]->{ui}"
1387 0 0         unless int($_[1]->{ui}) == $_[1]->{ui};
1388 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ui});
1389 0           $_[2] += 4;
1390             }
1391              
1392             # Serializing member 'l' (discriminator == VIR_TYPED_PARAM_LLONG)
1393             elsif ($d == VIR_TYPED_PARAM_LLONG) {
1394             # my ($class, $value, $index, $output) = @_;
1395             croak "Missing required input 'long' value"
1396 0 0         unless defined $_[1]->{l};
1397             die "Out of bounds 'hyper': $_[1]->{l}"
1398             unless (-9223372036854775808 <= $_[1]->{l}
1399 0 0 0       and $_[1]->{l} < 9223372036854775808);
1400             die "Non-integer 'long' value given: $_[1]->{l}"
1401 0 0         unless int($_[1]->{l}) == $_[1]->{l};
1402 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{l});
1403 0           $_[2] += 8;
1404             }
1405              
1406             # Serializing member 'ul' (discriminator == VIR_TYPED_PARAM_ULLONG)
1407             elsif ($d == VIR_TYPED_PARAM_ULLONG) {
1408             # my ($class, $value, $index, $output) = @_;
1409             croak "Missing required input 'unsigned long' value"
1410 0 0         unless defined $_[1]->{ul};
1411             die "Out of bounds 'unsigned hyper': $_[1]->{ul}"
1412             unless (0 <= $_[1]->{ul}
1413 0 0 0       and $_[1]->{ul} <= 18446744073709551615);
1414             die "Non-integer 'long' value given: $_[1]->{ul}"
1415 0 0         unless int($_[1]->{ul}) == $_[1]->{ul};
1416 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{ul});
1417 0           $_[2] += 8;
1418             }
1419              
1420             # Serializing member 'd' (discriminator == VIR_TYPED_PARAM_DOUBLE)
1421             elsif ($d == VIR_TYPED_PARAM_DOUBLE) {
1422             # my ($class, $value, $index, $output) = @_;
1423             die "The platform doesn't support IEEE-754 floats"
1424 0 0         unless $Config{d_double_style_ieee754};
1425             croak "Missing required input 'double' value"
1426 0 0         unless defined $_[1]->{d};
1427 0           substr( $_[3], $_[2] ) = pack("d>", $_[1]->{d});
1428 0           $_[2] += 8;
1429             }
1430              
1431             # Serializing member 'b' (discriminator == VIR_TYPED_PARAM_BOOLEAN)
1432             elsif ($d == VIR_TYPED_PARAM_BOOLEAN) {
1433             # my ($class, $value, $index, $output) = @_;
1434             croak "Missing required input 'int' value"
1435 0 0         unless defined $_[1]->{b};
1436             die "Out of bounds 'int': $_[1]->{b}"
1437 0 0 0       unless (-2147483648 <= $_[1]->{b} and $_[1]->{b} < 2147483648);
1438             die "Non-integer 'int' value given: $_[1]->{b}"
1439 0 0         unless int($_[1]->{b}) == $_[1]->{b};
1440 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{b});
1441 0           $_[2] += 4;
1442             }
1443              
1444             # Serializing member 's' (discriminator == VIR_TYPED_PARAM_STRING)
1445             elsif ($d == VIR_TYPED_PARAM_STRING) {
1446             # my ($class, $value, $index, $output) = @_;
1447 0           $_[0]->serialize_nonnull_string( $_[1]->{s}, $_[2], $_[3] );
1448             }
1449              
1450             else {
1451 0           die "Unhandled union discriminator value ($d)";
1452             }
1453             }
1454             # @_: ($class, $value, $index, $input) = @_;
1455             sub deserialize_typed_param {
1456 0     0 0   my $input_length = length $_[3];
1457 0           $_[1] = {};
1458             # Deserializing field: 'field'
1459             # my ($class, $value, $index, $input) = @_;
1460 0           $_[0]->deserialize_nonnull_string( $_[1]->{field}, $_[2], $_[3] );
1461              
1462             # Deserializing field: 'value'
1463             # my ($class, $value, $index, $input) = @_;
1464 0           $_[0]->deserialize_typed_param_value( $_[1]->{value}, $_[2], $_[3] );
1465             }
1466             # @_: ($class, $value, $index, $output) = @_;
1467             sub serialize_typed_param {
1468 0 0   0 0   croak "Missing required input 'struct' value"
1469             unless defined $_[1];
1470              
1471             # Serializing field: 'field'
1472             croak "Missing required input value 'field'"
1473 0 0         unless exists $_[1]->{field};
1474             # my ($class, $value, $index, $output) = @_;
1475 0           $_[0]->serialize_nonnull_string( $_[1]->{field}, $_[2], $_[3] );
1476              
1477             # Serializing field: 'value'
1478             croak "Missing required input value 'value'"
1479 0 0         unless exists $_[1]->{value};
1480             # my ($class, $value, $index, $output) = @_;
1481 0           $_[0]->serialize_typed_param_value( $_[1]->{value}, $_[2], $_[3] );
1482             }
1483             # @_: ($class, $value, $index, $input) = @_;
1484             sub deserialize_node_get_cpu_stats {
1485 0     0 0   my $input_length = length $_[3];
1486 0           $_[1] = {};
1487             # Deserializing field: 'field'
1488             # my ($class, $value, $index, $input) = @_;
1489 0           $_[0]->deserialize_nonnull_string( $_[1]->{field}, $_[2], $_[3] );
1490              
1491             # Deserializing field: 'value'
1492             # my ($class, $value, $index, $input) = @_;
1493 0 0         die "Input buffer too short"
1494             if ($input_length - $_[2]) < 8;
1495 0           $_[1]->{value} = unpack("Q>", substr( $_[3], $_[2] ));
1496 0           $_[2] += 8;
1497             die "Out of bounds 'unsigned hyper': $_[1]->{value}"
1498             unless (0 <= $_[1]->{value}
1499 0 0 0       and $_[1]->{value} <= 18446744073709551615);
1500             }
1501             # @_: ($class, $value, $index, $output) = @_;
1502             sub serialize_node_get_cpu_stats {
1503 0 0   0 0   croak "Missing required input 'struct' value"
1504             unless defined $_[1];
1505              
1506             # Serializing field: 'field'
1507             croak "Missing required input value 'field'"
1508 0 0         unless exists $_[1]->{field};
1509             # my ($class, $value, $index, $output) = @_;
1510 0           $_[0]->serialize_nonnull_string( $_[1]->{field}, $_[2], $_[3] );
1511              
1512             # Serializing field: 'value'
1513             croak "Missing required input value 'value'"
1514 0 0         unless exists $_[1]->{value};
1515             # my ($class, $value, $index, $output) = @_;
1516             croak "Missing required input 'unsigned long' value"
1517 0 0         unless defined $_[1]->{value};
1518             die "Out of bounds 'unsigned hyper': $_[1]->{value}"
1519             unless (0 <= $_[1]->{value}
1520 0 0 0       and $_[1]->{value} <= 18446744073709551615);
1521             die "Non-integer 'long' value given: $_[1]->{value}"
1522 0 0         unless int($_[1]->{value}) == $_[1]->{value};
1523 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{value});
1524 0           $_[2] += 8;
1525             }
1526             # @_: ($class, $value, $index, $input) = @_;
1527             sub deserialize_node_get_memory_stats {
1528 0     0 0   my $input_length = length $_[3];
1529 0           $_[1] = {};
1530             # Deserializing field: 'field'
1531             # my ($class, $value, $index, $input) = @_;
1532 0           $_[0]->deserialize_nonnull_string( $_[1]->{field}, $_[2], $_[3] );
1533              
1534             # Deserializing field: 'value'
1535             # my ($class, $value, $index, $input) = @_;
1536 0 0         die "Input buffer too short"
1537             if ($input_length - $_[2]) < 8;
1538 0           $_[1]->{value} = unpack("Q>", substr( $_[3], $_[2] ));
1539 0           $_[2] += 8;
1540             die "Out of bounds 'unsigned hyper': $_[1]->{value}"
1541             unless (0 <= $_[1]->{value}
1542 0 0 0       and $_[1]->{value} <= 18446744073709551615);
1543             }
1544             # @_: ($class, $value, $index, $output) = @_;
1545             sub serialize_node_get_memory_stats {
1546 0 0   0 0   croak "Missing required input 'struct' value"
1547             unless defined $_[1];
1548              
1549             # Serializing field: 'field'
1550             croak "Missing required input value 'field'"
1551 0 0         unless exists $_[1]->{field};
1552             # my ($class, $value, $index, $output) = @_;
1553 0           $_[0]->serialize_nonnull_string( $_[1]->{field}, $_[2], $_[3] );
1554              
1555             # Serializing field: 'value'
1556             croak "Missing required input value 'value'"
1557 0 0         unless exists $_[1]->{value};
1558             # my ($class, $value, $index, $output) = @_;
1559             croak "Missing required input 'unsigned long' value"
1560 0 0         unless defined $_[1]->{value};
1561             die "Out of bounds 'unsigned hyper': $_[1]->{value}"
1562             unless (0 <= $_[1]->{value}
1563 0 0 0       and $_[1]->{value} <= 18446744073709551615);
1564             die "Non-integer 'long' value given: $_[1]->{value}"
1565 0 0         unless int($_[1]->{value}) == $_[1]->{value};
1566 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{value});
1567 0           $_[2] += 8;
1568             }
1569             # @_: ($class, $value, $index, $input) = @_;
1570             sub deserialize_domain_disk_error {
1571 0     0 0   my $input_length = length $_[3];
1572 0           $_[1] = {};
1573             # Deserializing field: 'disk'
1574             # my ($class, $value, $index, $input) = @_;
1575 0           $_[0]->deserialize_nonnull_string( $_[1]->{disk}, $_[2], $_[3] );
1576              
1577             # Deserializing field: 'error'
1578             # my ($class, $value, $index, $input) = @_;
1579 0 0         die "Input buffer too short"
1580             if ($input_length - $_[2]) < 4;
1581 0           $_[1]->{error} = unpack("l>", substr( $_[3], $_[2] ));
1582 0           $_[2] += 4;
1583             die "Out of bounds 'int': $_[1]->{error}"
1584 0 0 0       unless (-2147483648 <= $_[1]->{error} and $_[1]->{error} < 2147483648);
1585             }
1586             # @_: ($class, $value, $index, $output) = @_;
1587             sub serialize_domain_disk_error {
1588 0 0   0 0   croak "Missing required input 'struct' value"
1589             unless defined $_[1];
1590              
1591             # Serializing field: 'disk'
1592             croak "Missing required input value 'disk'"
1593 0 0         unless exists $_[1]->{disk};
1594             # my ($class, $value, $index, $output) = @_;
1595 0           $_[0]->serialize_nonnull_string( $_[1]->{disk}, $_[2], $_[3] );
1596              
1597             # Serializing field: 'error'
1598             croak "Missing required input value 'error'"
1599 0 0         unless exists $_[1]->{error};
1600             # my ($class, $value, $index, $output) = @_;
1601             croak "Missing required input 'int' value"
1602 0 0         unless defined $_[1]->{error};
1603             die "Out of bounds 'int': $_[1]->{error}"
1604 0 0 0       unless (-2147483648 <= $_[1]->{error} and $_[1]->{error} < 2147483648);
1605             die "Non-integer 'int' value given: $_[1]->{error}"
1606 0 0         unless int($_[1]->{error}) == $_[1]->{error};
1607 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{error});
1608 0           $_[2] += 4;
1609             }
1610             # @_: ($class, $value, $index, $input) = @_;
1611             sub deserialize_connect_open_args {
1612 0     0 0   my $input_length = length $_[3];
1613 0           $_[1] = {};
1614             # Deserializing field: 'name'
1615             # my ($class, $value, $index, $input) = @_;
1616 0           $_[0]->deserialize_string( $_[1]->{name}, $_[2], $_[3] );
1617              
1618             # Deserializing field: 'flags'
1619             # my ($class, $value, $index, $input) = @_;
1620 0 0         die "Input buffer too short"
1621             if ($input_length - $_[2]) < 4;
1622 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
1623 0           $_[2] += 4;
1624             die "Out of bounds 'unsigned int': $_[1]->{flags}"
1625 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
1626             }
1627             # @_: ($class, $value, $index, $output) = @_;
1628             sub serialize_connect_open_args {
1629 0 0   0 0   croak "Missing required input 'struct' value"
1630             unless defined $_[1];
1631              
1632             # Serializing field: 'name'
1633             croak "Missing required input value 'name'"
1634 0 0         unless exists $_[1]->{name};
1635             # my ($class, $value, $index, $output) = @_;
1636 0           $_[0]->serialize_string( $_[1]->{name}, $_[2], $_[3] );
1637              
1638             # Serializing field: 'flags'
1639             croak "Missing required input value 'flags'"
1640 0 0         unless exists $_[1]->{flags};
1641             # my ($class, $value, $index, $output) = @_;
1642             croak "Missing required input 'unsigned int' value"
1643 0 0         unless defined $_[1]->{flags};
1644             die "Out of bounds 'unsigned int': $_[1]->{flags}"
1645 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
1646             die "Non-integer 'int' value given: $_[1]->{flags}"
1647 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
1648 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
1649 0           $_[2] += 4;
1650             }
1651             # @_: ($class, $value, $index, $input) = @_;
1652             sub deserialize_connect_supports_feature_args {
1653 0     0 0   my $input_length = length $_[3];
1654 0           $_[1] = {};
1655             # Deserializing field: 'feature'
1656             # my ($class, $value, $index, $input) = @_;
1657 0 0         die "Input buffer too short"
1658             if ($input_length - $_[2]) < 4;
1659 0           $_[1]->{feature} = unpack("l>", substr( $_[3], $_[2] ));
1660 0           $_[2] += 4;
1661             die "Out of bounds 'int': $_[1]->{feature}"
1662 0 0 0       unless (-2147483648 <= $_[1]->{feature} and $_[1]->{feature} < 2147483648);
1663             }
1664             # @_: ($class, $value, $index, $output) = @_;
1665             sub serialize_connect_supports_feature_args {
1666 0 0   0 0   croak "Missing required input 'struct' value"
1667             unless defined $_[1];
1668              
1669             # Serializing field: 'feature'
1670             croak "Missing required input value 'feature'"
1671 0 0         unless exists $_[1]->{feature};
1672             # my ($class, $value, $index, $output) = @_;
1673             croak "Missing required input 'int' value"
1674 0 0         unless defined $_[1]->{feature};
1675             die "Out of bounds 'int': $_[1]->{feature}"
1676 0 0 0       unless (-2147483648 <= $_[1]->{feature} and $_[1]->{feature} < 2147483648);
1677             die "Non-integer 'int' value given: $_[1]->{feature}"
1678 0 0         unless int($_[1]->{feature}) == $_[1]->{feature};
1679 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{feature});
1680 0           $_[2] += 4;
1681             }
1682             # @_: ($class, $value, $index, $input) = @_;
1683             sub deserialize_connect_supports_feature_ret {
1684 0     0 0   my $input_length = length $_[3];
1685 0           $_[1] = {};
1686             # Deserializing field: 'supported'
1687             # my ($class, $value, $index, $input) = @_;
1688 0 0         die "Input buffer too short"
1689             if ($input_length - $_[2]) < 4;
1690 0           $_[1]->{supported} = unpack("l>", substr( $_[3], $_[2] ));
1691 0           $_[2] += 4;
1692             die "Out of bounds 'int': $_[1]->{supported}"
1693 0 0 0       unless (-2147483648 <= $_[1]->{supported} and $_[1]->{supported} < 2147483648);
1694             }
1695             # @_: ($class, $value, $index, $output) = @_;
1696             sub serialize_connect_supports_feature_ret {
1697 0 0   0 0   croak "Missing required input 'struct' value"
1698             unless defined $_[1];
1699              
1700             # Serializing field: 'supported'
1701             croak "Missing required input value 'supported'"
1702 0 0         unless exists $_[1]->{supported};
1703             # my ($class, $value, $index, $output) = @_;
1704             croak "Missing required input 'int' value"
1705 0 0         unless defined $_[1]->{supported};
1706             die "Out of bounds 'int': $_[1]->{supported}"
1707 0 0 0       unless (-2147483648 <= $_[1]->{supported} and $_[1]->{supported} < 2147483648);
1708             die "Non-integer 'int' value given: $_[1]->{supported}"
1709 0 0         unless int($_[1]->{supported}) == $_[1]->{supported};
1710 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{supported});
1711 0           $_[2] += 4;
1712             }
1713             # @_: ($class, $value, $index, $input) = @_;
1714             sub deserialize_connect_get_type_ret {
1715 0     0 0   my $input_length = length $_[3];
1716 0           $_[1] = {};
1717             # Deserializing field: 'type'
1718             # my ($class, $value, $index, $input) = @_;
1719 0           $_[0]->deserialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
1720             }
1721             # @_: ($class, $value, $index, $output) = @_;
1722             sub serialize_connect_get_type_ret {
1723 0 0   0 0   croak "Missing required input 'struct' value"
1724             unless defined $_[1];
1725              
1726             # Serializing field: 'type'
1727             croak "Missing required input value 'type'"
1728 0 0         unless exists $_[1]->{type};
1729             # my ($class, $value, $index, $output) = @_;
1730 0           $_[0]->serialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
1731             }
1732             # @_: ($class, $value, $index, $input) = @_;
1733             sub deserialize_connect_get_version_ret {
1734 0     0 0   my $input_length = length $_[3];
1735 0           $_[1] = {};
1736             # Deserializing field: 'hv_ver'
1737             # my ($class, $value, $index, $input) = @_;
1738 0 0         die "Input buffer too short"
1739             if ($input_length - $_[2]) < 8;
1740 0           $_[1]->{hv_ver} = unpack("Q>", substr( $_[3], $_[2] ));
1741 0           $_[2] += 8;
1742             die "Out of bounds 'unsigned hyper': $_[1]->{hv_ver}"
1743             unless (0 <= $_[1]->{hv_ver}
1744 0 0 0       and $_[1]->{hv_ver} <= 18446744073709551615);
1745             }
1746             # @_: ($class, $value, $index, $output) = @_;
1747             sub serialize_connect_get_version_ret {
1748 0 0   0 0   croak "Missing required input 'struct' value"
1749             unless defined $_[1];
1750              
1751             # Serializing field: 'hv_ver'
1752             croak "Missing required input value 'hv_ver'"
1753 0 0         unless exists $_[1]->{hv_ver};
1754             # my ($class, $value, $index, $output) = @_;
1755             croak "Missing required input 'unsigned long' value"
1756 0 0         unless defined $_[1]->{hv_ver};
1757             die "Out of bounds 'unsigned hyper': $_[1]->{hv_ver}"
1758             unless (0 <= $_[1]->{hv_ver}
1759 0 0 0       and $_[1]->{hv_ver} <= 18446744073709551615);
1760             die "Non-integer 'long' value given: $_[1]->{hv_ver}"
1761 0 0         unless int($_[1]->{hv_ver}) == $_[1]->{hv_ver};
1762 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{hv_ver});
1763 0           $_[2] += 8;
1764             }
1765             # @_: ($class, $value, $index, $input) = @_;
1766             sub deserialize_connect_get_lib_version_ret {
1767 0     0 0   my $input_length = length $_[3];
1768 0           $_[1] = {};
1769             # Deserializing field: 'lib_ver'
1770             # my ($class, $value, $index, $input) = @_;
1771 0 0         die "Input buffer too short"
1772             if ($input_length - $_[2]) < 8;
1773 0           $_[1]->{lib_ver} = unpack("Q>", substr( $_[3], $_[2] ));
1774 0           $_[2] += 8;
1775             die "Out of bounds 'unsigned hyper': $_[1]->{lib_ver}"
1776             unless (0 <= $_[1]->{lib_ver}
1777 0 0 0       and $_[1]->{lib_ver} <= 18446744073709551615);
1778             }
1779             # @_: ($class, $value, $index, $output) = @_;
1780             sub serialize_connect_get_lib_version_ret {
1781 0 0   0 0   croak "Missing required input 'struct' value"
1782             unless defined $_[1];
1783              
1784             # Serializing field: 'lib_ver'
1785             croak "Missing required input value 'lib_ver'"
1786 0 0         unless exists $_[1]->{lib_ver};
1787             # my ($class, $value, $index, $output) = @_;
1788             croak "Missing required input 'unsigned long' value"
1789 0 0         unless defined $_[1]->{lib_ver};
1790             die "Out of bounds 'unsigned hyper': $_[1]->{lib_ver}"
1791             unless (0 <= $_[1]->{lib_ver}
1792 0 0 0       and $_[1]->{lib_ver} <= 18446744073709551615);
1793             die "Non-integer 'long' value given: $_[1]->{lib_ver}"
1794 0 0         unless int($_[1]->{lib_ver}) == $_[1]->{lib_ver};
1795 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{lib_ver});
1796 0           $_[2] += 8;
1797             }
1798             # @_: ($class, $value, $index, $input) = @_;
1799             sub deserialize_connect_get_hostname_ret {
1800 0     0 0   my $input_length = length $_[3];
1801 0           $_[1] = {};
1802             # Deserializing field: 'hostname'
1803             # my ($class, $value, $index, $input) = @_;
1804 0           $_[0]->deserialize_nonnull_string( $_[1]->{hostname}, $_[2], $_[3] );
1805             }
1806             # @_: ($class, $value, $index, $output) = @_;
1807             sub serialize_connect_get_hostname_ret {
1808 0 0   0 0   croak "Missing required input 'struct' value"
1809             unless defined $_[1];
1810              
1811             # Serializing field: 'hostname'
1812             croak "Missing required input value 'hostname'"
1813 0 0         unless exists $_[1]->{hostname};
1814             # my ($class, $value, $index, $output) = @_;
1815 0           $_[0]->serialize_nonnull_string( $_[1]->{hostname}, $_[2], $_[3] );
1816             }
1817             # @_: ($class, $value, $index, $input) = @_;
1818             sub deserialize_connect_get_sysinfo_args {
1819 0     0 0   my $input_length = length $_[3];
1820 0           $_[1] = {};
1821             # Deserializing field: 'flags'
1822             # my ($class, $value, $index, $input) = @_;
1823 0 0         die "Input buffer too short"
1824             if ($input_length - $_[2]) < 4;
1825 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
1826 0           $_[2] += 4;
1827             die "Out of bounds 'unsigned int': $_[1]->{flags}"
1828 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
1829             }
1830             # @_: ($class, $value, $index, $output) = @_;
1831             sub serialize_connect_get_sysinfo_args {
1832 0 0   0 0   croak "Missing required input 'struct' value"
1833             unless defined $_[1];
1834              
1835             # Serializing field: 'flags'
1836             croak "Missing required input value 'flags'"
1837 0 0         unless exists $_[1]->{flags};
1838             # my ($class, $value, $index, $output) = @_;
1839             croak "Missing required input 'unsigned int' value"
1840 0 0         unless defined $_[1]->{flags};
1841             die "Out of bounds 'unsigned int': $_[1]->{flags}"
1842 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
1843             die "Non-integer 'int' value given: $_[1]->{flags}"
1844 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
1845 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
1846 0           $_[2] += 4;
1847             }
1848             # @_: ($class, $value, $index, $input) = @_;
1849             sub deserialize_connect_get_sysinfo_ret {
1850 0     0 0   my $input_length = length $_[3];
1851 0           $_[1] = {};
1852             # Deserializing field: 'sysinfo'
1853             # my ($class, $value, $index, $input) = @_;
1854 0           $_[0]->deserialize_nonnull_string( $_[1]->{sysinfo}, $_[2], $_[3] );
1855             }
1856             # @_: ($class, $value, $index, $output) = @_;
1857             sub serialize_connect_get_sysinfo_ret {
1858 0 0   0 0   croak "Missing required input 'struct' value"
1859             unless defined $_[1];
1860              
1861             # Serializing field: 'sysinfo'
1862             croak "Missing required input value 'sysinfo'"
1863 0 0         unless exists $_[1]->{sysinfo};
1864             # my ($class, $value, $index, $output) = @_;
1865 0           $_[0]->serialize_nonnull_string( $_[1]->{sysinfo}, $_[2], $_[3] );
1866             }
1867             # @_: ($class, $value, $index, $input) = @_;
1868             sub deserialize_connect_get_uri_ret {
1869 0     0 0   my $input_length = length $_[3];
1870 0           $_[1] = {};
1871             # Deserializing field: 'uri'
1872             # my ($class, $value, $index, $input) = @_;
1873 0           $_[0]->deserialize_nonnull_string( $_[1]->{uri}, $_[2], $_[3] );
1874             }
1875             # @_: ($class, $value, $index, $output) = @_;
1876             sub serialize_connect_get_uri_ret {
1877 0 0   0 0   croak "Missing required input 'struct' value"
1878             unless defined $_[1];
1879              
1880             # Serializing field: 'uri'
1881             croak "Missing required input value 'uri'"
1882 0 0         unless exists $_[1]->{uri};
1883             # my ($class, $value, $index, $output) = @_;
1884 0           $_[0]->serialize_nonnull_string( $_[1]->{uri}, $_[2], $_[3] );
1885             }
1886             # @_: ($class, $value, $index, $input) = @_;
1887             sub deserialize_connect_get_max_vcpus_args {
1888 0     0 0   my $input_length = length $_[3];
1889 0           $_[1] = {};
1890             # Deserializing field: 'type'
1891             # my ($class, $value, $index, $input) = @_;
1892 0           $_[0]->deserialize_string( $_[1]->{type}, $_[2], $_[3] );
1893             }
1894             # @_: ($class, $value, $index, $output) = @_;
1895             sub serialize_connect_get_max_vcpus_args {
1896 0 0   0 0   croak "Missing required input 'struct' value"
1897             unless defined $_[1];
1898              
1899             # Serializing field: 'type'
1900             croak "Missing required input value 'type'"
1901 0 0         unless exists $_[1]->{type};
1902             # my ($class, $value, $index, $output) = @_;
1903 0           $_[0]->serialize_string( $_[1]->{type}, $_[2], $_[3] );
1904             }
1905             # @_: ($class, $value, $index, $input) = @_;
1906             sub deserialize_connect_get_max_vcpus_ret {
1907 0     0 0   my $input_length = length $_[3];
1908 0           $_[1] = {};
1909             # Deserializing field: 'max_vcpus'
1910             # my ($class, $value, $index, $input) = @_;
1911 0 0         die "Input buffer too short"
1912             if ($input_length - $_[2]) < 4;
1913 0           $_[1]->{max_vcpus} = unpack("l>", substr( $_[3], $_[2] ));
1914 0           $_[2] += 4;
1915             die "Out of bounds 'int': $_[1]->{max_vcpus}"
1916 0 0 0       unless (-2147483648 <= $_[1]->{max_vcpus} and $_[1]->{max_vcpus} < 2147483648);
1917             }
1918             # @_: ($class, $value, $index, $output) = @_;
1919             sub serialize_connect_get_max_vcpus_ret {
1920 0 0   0 0   croak "Missing required input 'struct' value"
1921             unless defined $_[1];
1922              
1923             # Serializing field: 'max_vcpus'
1924             croak "Missing required input value 'max_vcpus'"
1925 0 0         unless exists $_[1]->{max_vcpus};
1926             # my ($class, $value, $index, $output) = @_;
1927             croak "Missing required input 'int' value"
1928 0 0         unless defined $_[1]->{max_vcpus};
1929             die "Out of bounds 'int': $_[1]->{max_vcpus}"
1930 0 0 0       unless (-2147483648 <= $_[1]->{max_vcpus} and $_[1]->{max_vcpus} < 2147483648);
1931             die "Non-integer 'int' value given: $_[1]->{max_vcpus}"
1932 0 0         unless int($_[1]->{max_vcpus}) == $_[1]->{max_vcpus};
1933 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{max_vcpus});
1934 0           $_[2] += 4;
1935             }
1936             # @_: ($class, $value, $index, $input) = @_;
1937             sub deserialize_node_get_info_ret {
1938 0     0 0   my $input_length = length $_[3];
1939 0           $_[1] = {};
1940             # Deserializing field: 'model'
1941             # my ($class, $value, $index, $input) = @_;
1942 0           $_[1]->{model} = [];
1943 0           for my $i1 ( 0 .. (32 - 1) ) {
1944             # my ($class, $value, $index, $input) = @_;
1945 0 0         die "Input buffer too short"
1946             if ($input_length - $_[2]) < 4;
1947 0           $_[1]->{model}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
1948 0           $_[2] += 4;
1949             die "Out of bounds 'char': $_[1]->{model}->[$i1]"
1950 0 0 0       unless (-128 <= $_[1]->{model}->[$i1] and $_[1]->{model}->[$i1] < 128);
1951             }
1952 0           $_[1]->{model} = pack('c*', @{ $_[1]->{model} });
  0            
1953              
1954              
1955             # Deserializing field: 'memory'
1956             # my ($class, $value, $index, $input) = @_;
1957 0 0         die "Input buffer too short"
1958             if ($input_length - $_[2]) < 8;
1959 0           $_[1]->{memory} = unpack("Q>", substr( $_[3], $_[2] ));
1960 0           $_[2] += 8;
1961             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
1962             unless (0 <= $_[1]->{memory}
1963 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
1964              
1965             # Deserializing field: 'cpus'
1966             # my ($class, $value, $index, $input) = @_;
1967 0 0         die "Input buffer too short"
1968             if ($input_length - $_[2]) < 4;
1969 0           $_[1]->{cpus} = unpack("l>", substr( $_[3], $_[2] ));
1970 0           $_[2] += 4;
1971             die "Out of bounds 'int': $_[1]->{cpus}"
1972 0 0 0       unless (-2147483648 <= $_[1]->{cpus} and $_[1]->{cpus} < 2147483648);
1973              
1974             # Deserializing field: 'mhz'
1975             # my ($class, $value, $index, $input) = @_;
1976 0 0         die "Input buffer too short"
1977             if ($input_length - $_[2]) < 4;
1978 0           $_[1]->{mhz} = unpack("l>", substr( $_[3], $_[2] ));
1979 0           $_[2] += 4;
1980             die "Out of bounds 'int': $_[1]->{mhz}"
1981 0 0 0       unless (-2147483648 <= $_[1]->{mhz} and $_[1]->{mhz} < 2147483648);
1982              
1983             # Deserializing field: 'nodes'
1984             # my ($class, $value, $index, $input) = @_;
1985 0 0         die "Input buffer too short"
1986             if ($input_length - $_[2]) < 4;
1987 0           $_[1]->{nodes} = unpack("l>", substr( $_[3], $_[2] ));
1988 0           $_[2] += 4;
1989             die "Out of bounds 'int': $_[1]->{nodes}"
1990 0 0 0       unless (-2147483648 <= $_[1]->{nodes} and $_[1]->{nodes} < 2147483648);
1991              
1992             # Deserializing field: 'sockets'
1993             # my ($class, $value, $index, $input) = @_;
1994 0 0         die "Input buffer too short"
1995             if ($input_length - $_[2]) < 4;
1996 0           $_[1]->{sockets} = unpack("l>", substr( $_[3], $_[2] ));
1997 0           $_[2] += 4;
1998             die "Out of bounds 'int': $_[1]->{sockets}"
1999 0 0 0       unless (-2147483648 <= $_[1]->{sockets} and $_[1]->{sockets} < 2147483648);
2000              
2001             # Deserializing field: 'cores'
2002             # my ($class, $value, $index, $input) = @_;
2003 0 0         die "Input buffer too short"
2004             if ($input_length - $_[2]) < 4;
2005 0           $_[1]->{cores} = unpack("l>", substr( $_[3], $_[2] ));
2006 0           $_[2] += 4;
2007             die "Out of bounds 'int': $_[1]->{cores}"
2008 0 0 0       unless (-2147483648 <= $_[1]->{cores} and $_[1]->{cores} < 2147483648);
2009              
2010             # Deserializing field: 'threads'
2011             # my ($class, $value, $index, $input) = @_;
2012 0 0         die "Input buffer too short"
2013             if ($input_length - $_[2]) < 4;
2014 0           $_[1]->{threads} = unpack("l>", substr( $_[3], $_[2] ));
2015 0           $_[2] += 4;
2016             die "Out of bounds 'int': $_[1]->{threads}"
2017 0 0 0       unless (-2147483648 <= $_[1]->{threads} and $_[1]->{threads} < 2147483648);
2018             }
2019             # @_: ($class, $value, $index, $output) = @_;
2020             sub serialize_node_get_info_ret {
2021 0 0   0 0   croak "Missing required input 'struct' value"
2022             unless defined $_[1];
2023              
2024             # Serializing field: 'model'
2025             croak "Missing required input value 'model'"
2026 0 0         unless exists $_[1]->{model};
2027             # my ($class, $value, $index, $output) = @_;
2028             croak "Missing required input 'array' value"
2029 0 0         unless defined $_[1]->{model};
2030 0           do {
2031 0           local $_[1]->{model} = [ unpack('c*', $_[1]->{model}) ];
2032 0           my $len = scalar @{ $_[1]->{model} };
  0            
2033 0 0         die "Array length mismatch (defined: 32): $len"
2034             if not $len == 32;
2035              
2036 0           for my $i1 ( 0 .. ($len - 1) ) {
2037             # my ($class, $value, $index, $output) = @_;
2038             croak "Missing required input 'char' value"
2039 0 0         unless defined $_[1]->{model}->[$i1];
2040             die "Out of bounds 'char': $_[1]->{model}->[$i1]"
2041 0 0 0       unless (-128 <= $_[1]->{model}->[$i1] and $_[1]->{model}->[$i1] < 128);
2042             die "Non-integer 'char' value given: $_[1]->{model}->[$i1]"
2043 0 0         unless int($_[1]->{model}->[$i1]) == $_[1]->{model}->[$i1];
2044 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{model}->[$i1]);
2045 0           $_[2] += 4;
2046             }
2047             };
2048              
2049             # Serializing field: 'memory'
2050             croak "Missing required input value 'memory'"
2051 0 0         unless exists $_[1]->{memory};
2052             # my ($class, $value, $index, $output) = @_;
2053             croak "Missing required input 'unsigned long' value"
2054 0 0         unless defined $_[1]->{memory};
2055             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
2056             unless (0 <= $_[1]->{memory}
2057 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
2058             die "Non-integer 'long' value given: $_[1]->{memory}"
2059 0 0         unless int($_[1]->{memory}) == $_[1]->{memory};
2060 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memory});
2061 0           $_[2] += 8;
2062              
2063             # Serializing field: 'cpus'
2064             croak "Missing required input value 'cpus'"
2065 0 0         unless exists $_[1]->{cpus};
2066             # my ($class, $value, $index, $output) = @_;
2067             croak "Missing required input 'int' value"
2068 0 0         unless defined $_[1]->{cpus};
2069             die "Out of bounds 'int': $_[1]->{cpus}"
2070 0 0 0       unless (-2147483648 <= $_[1]->{cpus} and $_[1]->{cpus} < 2147483648);
2071             die "Non-integer 'int' value given: $_[1]->{cpus}"
2072 0 0         unless int($_[1]->{cpus}) == $_[1]->{cpus};
2073 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cpus});
2074 0           $_[2] += 4;
2075              
2076             # Serializing field: 'mhz'
2077             croak "Missing required input value 'mhz'"
2078 0 0         unless exists $_[1]->{mhz};
2079             # my ($class, $value, $index, $output) = @_;
2080             croak "Missing required input 'int' value"
2081 0 0         unless defined $_[1]->{mhz};
2082             die "Out of bounds 'int': $_[1]->{mhz}"
2083 0 0 0       unless (-2147483648 <= $_[1]->{mhz} and $_[1]->{mhz} < 2147483648);
2084             die "Non-integer 'int' value given: $_[1]->{mhz}"
2085 0 0         unless int($_[1]->{mhz}) == $_[1]->{mhz};
2086 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{mhz});
2087 0           $_[2] += 4;
2088              
2089             # Serializing field: 'nodes'
2090             croak "Missing required input value 'nodes'"
2091 0 0         unless exists $_[1]->{nodes};
2092             # my ($class, $value, $index, $output) = @_;
2093             croak "Missing required input 'int' value"
2094 0 0         unless defined $_[1]->{nodes};
2095             die "Out of bounds 'int': $_[1]->{nodes}"
2096 0 0 0       unless (-2147483648 <= $_[1]->{nodes} and $_[1]->{nodes} < 2147483648);
2097             die "Non-integer 'int' value given: $_[1]->{nodes}"
2098 0 0         unless int($_[1]->{nodes}) == $_[1]->{nodes};
2099 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nodes});
2100 0           $_[2] += 4;
2101              
2102             # Serializing field: 'sockets'
2103             croak "Missing required input value 'sockets'"
2104 0 0         unless exists $_[1]->{sockets};
2105             # my ($class, $value, $index, $output) = @_;
2106             croak "Missing required input 'int' value"
2107 0 0         unless defined $_[1]->{sockets};
2108             die "Out of bounds 'int': $_[1]->{sockets}"
2109 0 0 0       unless (-2147483648 <= $_[1]->{sockets} and $_[1]->{sockets} < 2147483648);
2110             die "Non-integer 'int' value given: $_[1]->{sockets}"
2111 0 0         unless int($_[1]->{sockets}) == $_[1]->{sockets};
2112 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{sockets});
2113 0           $_[2] += 4;
2114              
2115             # Serializing field: 'cores'
2116             croak "Missing required input value 'cores'"
2117 0 0         unless exists $_[1]->{cores};
2118             # my ($class, $value, $index, $output) = @_;
2119             croak "Missing required input 'int' value"
2120 0 0         unless defined $_[1]->{cores};
2121             die "Out of bounds 'int': $_[1]->{cores}"
2122 0 0 0       unless (-2147483648 <= $_[1]->{cores} and $_[1]->{cores} < 2147483648);
2123             die "Non-integer 'int' value given: $_[1]->{cores}"
2124 0 0         unless int($_[1]->{cores}) == $_[1]->{cores};
2125 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cores});
2126 0           $_[2] += 4;
2127              
2128             # Serializing field: 'threads'
2129             croak "Missing required input value 'threads'"
2130 0 0         unless exists $_[1]->{threads};
2131             # my ($class, $value, $index, $output) = @_;
2132             croak "Missing required input 'int' value"
2133 0 0         unless defined $_[1]->{threads};
2134             die "Out of bounds 'int': $_[1]->{threads}"
2135 0 0 0       unless (-2147483648 <= $_[1]->{threads} and $_[1]->{threads} < 2147483648);
2136             die "Non-integer 'int' value given: $_[1]->{threads}"
2137 0 0         unless int($_[1]->{threads}) == $_[1]->{threads};
2138 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{threads});
2139 0           $_[2] += 4;
2140             }
2141             # @_: ($class, $value, $index, $input) = @_;
2142             sub deserialize_connect_get_capabilities_ret {
2143 0     0 0   my $input_length = length $_[3];
2144 0           $_[1] = {};
2145             # Deserializing field: 'capabilities'
2146             # my ($class, $value, $index, $input) = @_;
2147 0           $_[0]->deserialize_nonnull_string( $_[1]->{capabilities}, $_[2], $_[3] );
2148             }
2149             # @_: ($class, $value, $index, $output) = @_;
2150             sub serialize_connect_get_capabilities_ret {
2151 0 0   0 0   croak "Missing required input 'struct' value"
2152             unless defined $_[1];
2153              
2154             # Serializing field: 'capabilities'
2155             croak "Missing required input value 'capabilities'"
2156 0 0         unless exists $_[1]->{capabilities};
2157             # my ($class, $value, $index, $output) = @_;
2158 0           $_[0]->serialize_nonnull_string( $_[1]->{capabilities}, $_[2], $_[3] );
2159             }
2160             # @_: ($class, $value, $index, $input) = @_;
2161             sub deserialize_connect_get_domain_capabilities_args {
2162 0     0 0   my $input_length = length $_[3];
2163 0           $_[1] = {};
2164             # Deserializing field: 'emulatorbin'
2165             # my ($class, $value, $index, $input) = @_;
2166 0           $_[0]->deserialize_string( $_[1]->{emulatorbin}, $_[2], $_[3] );
2167              
2168             # Deserializing field: 'arch'
2169             # my ($class, $value, $index, $input) = @_;
2170 0           $_[0]->deserialize_string( $_[1]->{arch}, $_[2], $_[3] );
2171              
2172             # Deserializing field: 'machine'
2173             # my ($class, $value, $index, $input) = @_;
2174 0           $_[0]->deserialize_string( $_[1]->{machine}, $_[2], $_[3] );
2175              
2176             # Deserializing field: 'virttype'
2177             # my ($class, $value, $index, $input) = @_;
2178 0           $_[0]->deserialize_string( $_[1]->{virttype}, $_[2], $_[3] );
2179              
2180             # Deserializing field: 'flags'
2181             # my ($class, $value, $index, $input) = @_;
2182 0 0         die "Input buffer too short"
2183             if ($input_length - $_[2]) < 4;
2184 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
2185 0           $_[2] += 4;
2186             die "Out of bounds 'unsigned int': $_[1]->{flags}"
2187 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
2188             }
2189             # @_: ($class, $value, $index, $output) = @_;
2190             sub serialize_connect_get_domain_capabilities_args {
2191 0 0   0 0   croak "Missing required input 'struct' value"
2192             unless defined $_[1];
2193              
2194             # Serializing field: 'emulatorbin'
2195             croak "Missing required input value 'emulatorbin'"
2196 0 0         unless exists $_[1]->{emulatorbin};
2197             # my ($class, $value, $index, $output) = @_;
2198 0           $_[0]->serialize_string( $_[1]->{emulatorbin}, $_[2], $_[3] );
2199              
2200             # Serializing field: 'arch'
2201             croak "Missing required input value 'arch'"
2202 0 0         unless exists $_[1]->{arch};
2203             # my ($class, $value, $index, $output) = @_;
2204 0           $_[0]->serialize_string( $_[1]->{arch}, $_[2], $_[3] );
2205              
2206             # Serializing field: 'machine'
2207             croak "Missing required input value 'machine'"
2208 0 0         unless exists $_[1]->{machine};
2209             # my ($class, $value, $index, $output) = @_;
2210 0           $_[0]->serialize_string( $_[1]->{machine}, $_[2], $_[3] );
2211              
2212             # Serializing field: 'virttype'
2213             croak "Missing required input value 'virttype'"
2214 0 0         unless exists $_[1]->{virttype};
2215             # my ($class, $value, $index, $output) = @_;
2216 0           $_[0]->serialize_string( $_[1]->{virttype}, $_[2], $_[3] );
2217              
2218             # Serializing field: 'flags'
2219             croak "Missing required input value 'flags'"
2220 0 0         unless exists $_[1]->{flags};
2221             # my ($class, $value, $index, $output) = @_;
2222             croak "Missing required input 'unsigned int' value"
2223 0 0         unless defined $_[1]->{flags};
2224             die "Out of bounds 'unsigned int': $_[1]->{flags}"
2225 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
2226             die "Non-integer 'int' value given: $_[1]->{flags}"
2227 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
2228 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
2229 0           $_[2] += 4;
2230             }
2231             # @_: ($class, $value, $index, $input) = @_;
2232             sub deserialize_connect_get_domain_capabilities_ret {
2233 0     0 0   my $input_length = length $_[3];
2234 0           $_[1] = {};
2235             # Deserializing field: 'capabilities'
2236             # my ($class, $value, $index, $input) = @_;
2237 0           $_[0]->deserialize_nonnull_string( $_[1]->{capabilities}, $_[2], $_[3] );
2238             }
2239             # @_: ($class, $value, $index, $output) = @_;
2240             sub serialize_connect_get_domain_capabilities_ret {
2241 0 0   0 0   croak "Missing required input 'struct' value"
2242             unless defined $_[1];
2243              
2244             # Serializing field: 'capabilities'
2245             croak "Missing required input value 'capabilities'"
2246 0 0         unless exists $_[1]->{capabilities};
2247             # my ($class, $value, $index, $output) = @_;
2248 0           $_[0]->serialize_nonnull_string( $_[1]->{capabilities}, $_[2], $_[3] );
2249             }
2250             # @_: ($class, $value, $index, $input) = @_;
2251             sub deserialize_node_get_cpu_stats_args {
2252 0     0 0   my $input_length = length $_[3];
2253 0           $_[1] = {};
2254             # Deserializing field: 'cpuNum'
2255             # my ($class, $value, $index, $input) = @_;
2256 0 0         die "Input buffer too short"
2257             if ($input_length - $_[2]) < 4;
2258 0           $_[1]->{cpuNum} = unpack("l>", substr( $_[3], $_[2] ));
2259 0           $_[2] += 4;
2260             die "Out of bounds 'int': $_[1]->{cpuNum}"
2261 0 0 0       unless (-2147483648 <= $_[1]->{cpuNum} and $_[1]->{cpuNum} < 2147483648);
2262              
2263             # Deserializing field: 'nparams'
2264             # my ($class, $value, $index, $input) = @_;
2265 0 0         die "Input buffer too short"
2266             if ($input_length - $_[2]) < 4;
2267 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
2268 0           $_[2] += 4;
2269             die "Out of bounds 'int': $_[1]->{nparams}"
2270 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2271              
2272             # Deserializing field: 'flags'
2273             # my ($class, $value, $index, $input) = @_;
2274 0 0         die "Input buffer too short"
2275             if ($input_length - $_[2]) < 4;
2276 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
2277 0           $_[2] += 4;
2278             die "Out of bounds 'unsigned int': $_[1]->{flags}"
2279 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
2280             }
2281             # @_: ($class, $value, $index, $output) = @_;
2282             sub serialize_node_get_cpu_stats_args {
2283 0 0   0 0   croak "Missing required input 'struct' value"
2284             unless defined $_[1];
2285              
2286             # Serializing field: 'cpuNum'
2287             croak "Missing required input value 'cpuNum'"
2288 0 0         unless exists $_[1]->{cpuNum};
2289             # my ($class, $value, $index, $output) = @_;
2290             croak "Missing required input 'int' value"
2291 0 0         unless defined $_[1]->{cpuNum};
2292             die "Out of bounds 'int': $_[1]->{cpuNum}"
2293 0 0 0       unless (-2147483648 <= $_[1]->{cpuNum} and $_[1]->{cpuNum} < 2147483648);
2294             die "Non-integer 'int' value given: $_[1]->{cpuNum}"
2295 0 0         unless int($_[1]->{cpuNum}) == $_[1]->{cpuNum};
2296 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cpuNum});
2297 0           $_[2] += 4;
2298              
2299             # Serializing field: 'nparams'
2300             croak "Missing required input value 'nparams'"
2301 0 0         unless exists $_[1]->{nparams};
2302             # my ($class, $value, $index, $output) = @_;
2303             croak "Missing required input 'int' value"
2304 0 0         unless defined $_[1]->{nparams};
2305             die "Out of bounds 'int': $_[1]->{nparams}"
2306 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2307             die "Non-integer 'int' value given: $_[1]->{nparams}"
2308 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
2309 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
2310 0           $_[2] += 4;
2311              
2312             # Serializing field: 'flags'
2313             croak "Missing required input value 'flags'"
2314 0 0         unless exists $_[1]->{flags};
2315             # my ($class, $value, $index, $output) = @_;
2316             croak "Missing required input 'unsigned int' value"
2317 0 0         unless defined $_[1]->{flags};
2318             die "Out of bounds 'unsigned int': $_[1]->{flags}"
2319 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
2320             die "Non-integer 'int' value given: $_[1]->{flags}"
2321 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
2322 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
2323 0           $_[2] += 4;
2324             }
2325             # @_: ($class, $value, $index, $input) = @_;
2326             sub deserialize_node_get_cpu_stats_ret {
2327 0     0 0   my $input_length = length $_[3];
2328 0           $_[1] = {};
2329             # Deserializing field: 'params'
2330             # my ($class, $value, $index, $input) = @_;
2331 0           do {
2332 0 0         die "Input buffer too short"
2333             if ($input_length - $_[2]) < 4;
2334 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
2335 0           $_[2] += 4;
2336              
2337 0 0         die "Array too long (max: 16): $len"
2338             unless ($len <= 16);
2339 0           $_[1]->{params} = [];
2340 0           for my $i1 ( 0 .. ($len - 1) ) {
2341             # my ($class, $value, $index, $input) = @_;
2342 0           $_[0]->deserialize_node_get_cpu_stats( $_[1]->{params}->[$i1], $_[2], $_[3] );
2343             }
2344             };
2345              
2346             # Deserializing field: 'nparams'
2347             # my ($class, $value, $index, $input) = @_;
2348 0 0         die "Input buffer too short"
2349             if ($input_length - $_[2]) < 4;
2350 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
2351 0           $_[2] += 4;
2352             die "Out of bounds 'int': $_[1]->{nparams}"
2353 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2354             }
2355             # @_: ($class, $value, $index, $output) = @_;
2356             sub serialize_node_get_cpu_stats_ret {
2357 0 0   0 0   croak "Missing required input 'struct' value"
2358             unless defined $_[1];
2359              
2360             # Serializing field: 'params'
2361             croak "Missing required input value 'params'"
2362 0 0         unless exists $_[1]->{params};
2363             # my ($class, $value, $index, $output) = @_;
2364             croak "Missing required input 'array' value"
2365 0 0         unless defined $_[1]->{params};
2366 0           do {
2367 0           my $len = scalar @{ $_[1]->{params} };
  0            
2368 0 0         die "Array too long (max: 16): $len"
2369             unless ($len <= 16);
2370              
2371 0           substr( $_[3], $_[2] ) = pack("L>", $len);
2372 0           $_[2] += 4;
2373 0           for my $i1 ( 0 .. ($len - 1) ) {
2374             # my ($class, $value, $index, $output) = @_;
2375 0           $_[0]->serialize_node_get_cpu_stats( $_[1]->{params}->[$i1], $_[2], $_[3] );
2376             }
2377             };
2378              
2379             # Serializing field: 'nparams'
2380             croak "Missing required input value 'nparams'"
2381 0 0         unless exists $_[1]->{nparams};
2382             # my ($class, $value, $index, $output) = @_;
2383             croak "Missing required input 'int' value"
2384 0 0         unless defined $_[1]->{nparams};
2385             die "Out of bounds 'int': $_[1]->{nparams}"
2386 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2387             die "Non-integer 'int' value given: $_[1]->{nparams}"
2388 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
2389 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
2390 0           $_[2] += 4;
2391             }
2392             # @_: ($class, $value, $index, $input) = @_;
2393             sub deserialize_node_get_memory_stats_args {
2394 0     0 0   my $input_length = length $_[3];
2395 0           $_[1] = {};
2396             # Deserializing field: 'nparams'
2397             # my ($class, $value, $index, $input) = @_;
2398 0 0         die "Input buffer too short"
2399             if ($input_length - $_[2]) < 4;
2400 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
2401 0           $_[2] += 4;
2402             die "Out of bounds 'int': $_[1]->{nparams}"
2403 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2404              
2405             # Deserializing field: 'cellNum'
2406             # my ($class, $value, $index, $input) = @_;
2407 0 0         die "Input buffer too short"
2408             if ($input_length - $_[2]) < 4;
2409 0           $_[1]->{cellNum} = unpack("l>", substr( $_[3], $_[2] ));
2410 0           $_[2] += 4;
2411             die "Out of bounds 'int': $_[1]->{cellNum}"
2412 0 0 0       unless (-2147483648 <= $_[1]->{cellNum} and $_[1]->{cellNum} < 2147483648);
2413              
2414             # Deserializing field: 'flags'
2415             # my ($class, $value, $index, $input) = @_;
2416 0 0         die "Input buffer too short"
2417             if ($input_length - $_[2]) < 4;
2418 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
2419 0           $_[2] += 4;
2420             die "Out of bounds 'unsigned int': $_[1]->{flags}"
2421 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
2422             }
2423             # @_: ($class, $value, $index, $output) = @_;
2424             sub serialize_node_get_memory_stats_args {
2425 0 0   0 0   croak "Missing required input 'struct' value"
2426             unless defined $_[1];
2427              
2428             # Serializing field: 'nparams'
2429             croak "Missing required input value 'nparams'"
2430 0 0         unless exists $_[1]->{nparams};
2431             # my ($class, $value, $index, $output) = @_;
2432             croak "Missing required input 'int' value"
2433 0 0         unless defined $_[1]->{nparams};
2434             die "Out of bounds 'int': $_[1]->{nparams}"
2435 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2436             die "Non-integer 'int' value given: $_[1]->{nparams}"
2437 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
2438 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
2439 0           $_[2] += 4;
2440              
2441             # Serializing field: 'cellNum'
2442             croak "Missing required input value 'cellNum'"
2443 0 0         unless exists $_[1]->{cellNum};
2444             # my ($class, $value, $index, $output) = @_;
2445             croak "Missing required input 'int' value"
2446 0 0         unless defined $_[1]->{cellNum};
2447             die "Out of bounds 'int': $_[1]->{cellNum}"
2448 0 0 0       unless (-2147483648 <= $_[1]->{cellNum} and $_[1]->{cellNum} < 2147483648);
2449             die "Non-integer 'int' value given: $_[1]->{cellNum}"
2450 0 0         unless int($_[1]->{cellNum}) == $_[1]->{cellNum};
2451 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cellNum});
2452 0           $_[2] += 4;
2453              
2454             # Serializing field: 'flags'
2455             croak "Missing required input value 'flags'"
2456 0 0         unless exists $_[1]->{flags};
2457             # my ($class, $value, $index, $output) = @_;
2458             croak "Missing required input 'unsigned int' value"
2459 0 0         unless defined $_[1]->{flags};
2460             die "Out of bounds 'unsigned int': $_[1]->{flags}"
2461 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
2462             die "Non-integer 'int' value given: $_[1]->{flags}"
2463 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
2464 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
2465 0           $_[2] += 4;
2466             }
2467             # @_: ($class, $value, $index, $input) = @_;
2468             sub deserialize_node_get_memory_stats_ret {
2469 0     0 0   my $input_length = length $_[3];
2470 0           $_[1] = {};
2471             # Deserializing field: 'params'
2472             # my ($class, $value, $index, $input) = @_;
2473 0           do {
2474 0 0         die "Input buffer too short"
2475             if ($input_length - $_[2]) < 4;
2476 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
2477 0           $_[2] += 4;
2478              
2479 0 0         die "Array too long (max: 16): $len"
2480             unless ($len <= 16);
2481 0           $_[1]->{params} = [];
2482 0           for my $i1 ( 0 .. ($len - 1) ) {
2483             # my ($class, $value, $index, $input) = @_;
2484 0           $_[0]->deserialize_node_get_memory_stats( $_[1]->{params}->[$i1], $_[2], $_[3] );
2485             }
2486             };
2487              
2488             # Deserializing field: 'nparams'
2489             # my ($class, $value, $index, $input) = @_;
2490 0 0         die "Input buffer too short"
2491             if ($input_length - $_[2]) < 4;
2492 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
2493 0           $_[2] += 4;
2494             die "Out of bounds 'int': $_[1]->{nparams}"
2495 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2496             }
2497             # @_: ($class, $value, $index, $output) = @_;
2498             sub serialize_node_get_memory_stats_ret {
2499 0 0   0 0   croak "Missing required input 'struct' value"
2500             unless defined $_[1];
2501              
2502             # Serializing field: 'params'
2503             croak "Missing required input value 'params'"
2504 0 0         unless exists $_[1]->{params};
2505             # my ($class, $value, $index, $output) = @_;
2506             croak "Missing required input 'array' value"
2507 0 0         unless defined $_[1]->{params};
2508 0           do {
2509 0           my $len = scalar @{ $_[1]->{params} };
  0            
2510 0 0         die "Array too long (max: 16): $len"
2511             unless ($len <= 16);
2512              
2513 0           substr( $_[3], $_[2] ) = pack("L>", $len);
2514 0           $_[2] += 4;
2515 0           for my $i1 ( 0 .. ($len - 1) ) {
2516             # my ($class, $value, $index, $output) = @_;
2517 0           $_[0]->serialize_node_get_memory_stats( $_[1]->{params}->[$i1], $_[2], $_[3] );
2518             }
2519             };
2520              
2521             # Serializing field: 'nparams'
2522             croak "Missing required input value 'nparams'"
2523 0 0         unless exists $_[1]->{nparams};
2524             # my ($class, $value, $index, $output) = @_;
2525             croak "Missing required input 'int' value"
2526 0 0         unless defined $_[1]->{nparams};
2527             die "Out of bounds 'int': $_[1]->{nparams}"
2528 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2529             die "Non-integer 'int' value given: $_[1]->{nparams}"
2530 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
2531 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
2532 0           $_[2] += 4;
2533             }
2534             # @_: ($class, $value, $index, $input) = @_;
2535             sub deserialize_node_get_cells_free_memory_args {
2536 0     0 0   my $input_length = length $_[3];
2537 0           $_[1] = {};
2538             # Deserializing field: 'startCell'
2539             # my ($class, $value, $index, $input) = @_;
2540 0 0         die "Input buffer too short"
2541             if ($input_length - $_[2]) < 4;
2542 0           $_[1]->{startCell} = unpack("l>", substr( $_[3], $_[2] ));
2543 0           $_[2] += 4;
2544             die "Out of bounds 'int': $_[1]->{startCell}"
2545 0 0 0       unless (-2147483648 <= $_[1]->{startCell} and $_[1]->{startCell} < 2147483648);
2546              
2547             # Deserializing field: 'maxcells'
2548             # my ($class, $value, $index, $input) = @_;
2549 0 0         die "Input buffer too short"
2550             if ($input_length - $_[2]) < 4;
2551 0           $_[1]->{maxcells} = unpack("l>", substr( $_[3], $_[2] ));
2552 0           $_[2] += 4;
2553             die "Out of bounds 'int': $_[1]->{maxcells}"
2554 0 0 0       unless (-2147483648 <= $_[1]->{maxcells} and $_[1]->{maxcells} < 2147483648);
2555             }
2556             # @_: ($class, $value, $index, $output) = @_;
2557             sub serialize_node_get_cells_free_memory_args {
2558 0 0   0 0   croak "Missing required input 'struct' value"
2559             unless defined $_[1];
2560              
2561             # Serializing field: 'startCell'
2562             croak "Missing required input value 'startCell'"
2563 0 0         unless exists $_[1]->{startCell};
2564             # my ($class, $value, $index, $output) = @_;
2565             croak "Missing required input 'int' value"
2566 0 0         unless defined $_[1]->{startCell};
2567             die "Out of bounds 'int': $_[1]->{startCell}"
2568 0 0 0       unless (-2147483648 <= $_[1]->{startCell} and $_[1]->{startCell} < 2147483648);
2569             die "Non-integer 'int' value given: $_[1]->{startCell}"
2570 0 0         unless int($_[1]->{startCell}) == $_[1]->{startCell};
2571 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{startCell});
2572 0           $_[2] += 4;
2573              
2574             # Serializing field: 'maxcells'
2575             croak "Missing required input value 'maxcells'"
2576 0 0         unless exists $_[1]->{maxcells};
2577             # my ($class, $value, $index, $output) = @_;
2578             croak "Missing required input 'int' value"
2579 0 0         unless defined $_[1]->{maxcells};
2580             die "Out of bounds 'int': $_[1]->{maxcells}"
2581 0 0 0       unless (-2147483648 <= $_[1]->{maxcells} and $_[1]->{maxcells} < 2147483648);
2582             die "Non-integer 'int' value given: $_[1]->{maxcells}"
2583 0 0         unless int($_[1]->{maxcells}) == $_[1]->{maxcells};
2584 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxcells});
2585 0           $_[2] += 4;
2586             }
2587             # @_: ($class, $value, $index, $input) = @_;
2588             sub deserialize_node_get_cells_free_memory_ret {
2589 0     0 0   my $input_length = length $_[3];
2590 0           $_[1] = {};
2591             # Deserializing field: 'cells'
2592             # my ($class, $value, $index, $input) = @_;
2593 0           do {
2594 0 0         die "Input buffer too short"
2595             if ($input_length - $_[2]) < 4;
2596 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
2597 0           $_[2] += 4;
2598              
2599 0 0         die "Array too long (max: 1024): $len"
2600             unless ($len <= 1024);
2601 0           $_[1]->{cells} = [];
2602 0           for my $i1 ( 0 .. ($len - 1) ) {
2603             # my ($class, $value, $index, $input) = @_;
2604 0 0         die "Input buffer too short"
2605             if ($input_length - $_[2]) < 8;
2606 0           $_[1]->{cells}->[$i1] = unpack("Q>", substr( $_[3], $_[2] ));
2607 0           $_[2] += 8;
2608             die "Out of bounds 'unsigned hyper': $_[1]->{cells}->[$i1]"
2609             unless (0 <= $_[1]->{cells}->[$i1]
2610 0 0 0       and $_[1]->{cells}->[$i1] <= 18446744073709551615);
2611             }
2612             };
2613             }
2614             # @_: ($class, $value, $index, $output) = @_;
2615             sub serialize_node_get_cells_free_memory_ret {
2616 0 0   0 0   croak "Missing required input 'struct' value"
2617             unless defined $_[1];
2618              
2619             # Serializing field: 'cells'
2620             croak "Missing required input value 'cells'"
2621 0 0         unless exists $_[1]->{cells};
2622             # my ($class, $value, $index, $output) = @_;
2623             croak "Missing required input 'array' value"
2624 0 0         unless defined $_[1]->{cells};
2625 0           do {
2626 0           my $len = scalar @{ $_[1]->{cells} };
  0            
2627 0 0         die "Array too long (max: 1024): $len"
2628             unless ($len <= 1024);
2629              
2630 0           substr( $_[3], $_[2] ) = pack("L>", $len);
2631 0           $_[2] += 4;
2632 0           for my $i1 ( 0 .. ($len - 1) ) {
2633             # my ($class, $value, $index, $output) = @_;
2634             croak "Missing required input 'unsigned long' value"
2635 0 0         unless defined $_[1]->{cells}->[$i1];
2636             die "Out of bounds 'unsigned hyper': $_[1]->{cells}->[$i1]"
2637             unless (0 <= $_[1]->{cells}->[$i1]
2638 0 0 0       and $_[1]->{cells}->[$i1] <= 18446744073709551615);
2639             die "Non-integer 'long' value given: $_[1]->{cells}->[$i1]"
2640 0 0         unless int($_[1]->{cells}->[$i1]) == $_[1]->{cells}->[$i1];
2641 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{cells}->[$i1]);
2642 0           $_[2] += 8;
2643             }
2644             };
2645             }
2646             # @_: ($class, $value, $index, $input) = @_;
2647             sub deserialize_node_get_free_memory_ret {
2648 0     0 0   my $input_length = length $_[3];
2649 0           $_[1] = {};
2650             # Deserializing field: 'freeMem'
2651             # my ($class, $value, $index, $input) = @_;
2652 0 0         die "Input buffer too short"
2653             if ($input_length - $_[2]) < 8;
2654 0           $_[1]->{freeMem} = unpack("Q>", substr( $_[3], $_[2] ));
2655 0           $_[2] += 8;
2656             die "Out of bounds 'unsigned hyper': $_[1]->{freeMem}"
2657             unless (0 <= $_[1]->{freeMem}
2658 0 0 0       and $_[1]->{freeMem} <= 18446744073709551615);
2659             }
2660             # @_: ($class, $value, $index, $output) = @_;
2661             sub serialize_node_get_free_memory_ret {
2662 0 0   0 0   croak "Missing required input 'struct' value"
2663             unless defined $_[1];
2664              
2665             # Serializing field: 'freeMem'
2666             croak "Missing required input value 'freeMem'"
2667 0 0         unless exists $_[1]->{freeMem};
2668             # my ($class, $value, $index, $output) = @_;
2669             croak "Missing required input 'unsigned long' value"
2670 0 0         unless defined $_[1]->{freeMem};
2671             die "Out of bounds 'unsigned hyper': $_[1]->{freeMem}"
2672             unless (0 <= $_[1]->{freeMem}
2673 0 0 0       and $_[1]->{freeMem} <= 18446744073709551615);
2674             die "Non-integer 'long' value given: $_[1]->{freeMem}"
2675 0 0         unless int($_[1]->{freeMem}) == $_[1]->{freeMem};
2676 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{freeMem});
2677 0           $_[2] += 8;
2678             }
2679             # @_: ($class, $value, $index, $input) = @_;
2680             sub deserialize_domain_get_scheduler_type_args {
2681 0     0 0   my $input_length = length $_[3];
2682 0           $_[1] = {};
2683             # Deserializing field: 'dom'
2684             # my ($class, $value, $index, $input) = @_;
2685 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2686             }
2687             # @_: ($class, $value, $index, $output) = @_;
2688             sub serialize_domain_get_scheduler_type_args {
2689 0 0   0 0   croak "Missing required input 'struct' value"
2690             unless defined $_[1];
2691              
2692             # Serializing field: 'dom'
2693             croak "Missing required input value 'dom'"
2694 0 0         unless exists $_[1]->{dom};
2695             # my ($class, $value, $index, $output) = @_;
2696 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2697             }
2698             # @_: ($class, $value, $index, $input) = @_;
2699             sub deserialize_domain_get_scheduler_type_ret {
2700 0     0 0   my $input_length = length $_[3];
2701 0           $_[1] = {};
2702             # Deserializing field: 'type'
2703             # my ($class, $value, $index, $input) = @_;
2704 0           $_[0]->deserialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
2705              
2706             # Deserializing field: 'nparams'
2707             # my ($class, $value, $index, $input) = @_;
2708 0 0         die "Input buffer too short"
2709             if ($input_length - $_[2]) < 4;
2710 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
2711 0           $_[2] += 4;
2712             die "Out of bounds 'int': $_[1]->{nparams}"
2713 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2714             }
2715             # @_: ($class, $value, $index, $output) = @_;
2716             sub serialize_domain_get_scheduler_type_ret {
2717 0 0   0 0   croak "Missing required input 'struct' value"
2718             unless defined $_[1];
2719              
2720             # Serializing field: 'type'
2721             croak "Missing required input value 'type'"
2722 0 0         unless exists $_[1]->{type};
2723             # my ($class, $value, $index, $output) = @_;
2724 0           $_[0]->serialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
2725              
2726             # Serializing field: 'nparams'
2727             croak "Missing required input value 'nparams'"
2728 0 0         unless exists $_[1]->{nparams};
2729             # my ($class, $value, $index, $output) = @_;
2730             croak "Missing required input 'int' value"
2731 0 0         unless defined $_[1]->{nparams};
2732             die "Out of bounds 'int': $_[1]->{nparams}"
2733 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2734             die "Non-integer 'int' value given: $_[1]->{nparams}"
2735 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
2736 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
2737 0           $_[2] += 4;
2738             }
2739             # @_: ($class, $value, $index, $input) = @_;
2740             sub deserialize_domain_get_scheduler_parameters_args {
2741 0     0 0   my $input_length = length $_[3];
2742 0           $_[1] = {};
2743             # Deserializing field: 'dom'
2744             # my ($class, $value, $index, $input) = @_;
2745 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2746              
2747             # Deserializing field: 'nparams'
2748             # my ($class, $value, $index, $input) = @_;
2749 0 0         die "Input buffer too short"
2750             if ($input_length - $_[2]) < 4;
2751 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
2752 0           $_[2] += 4;
2753             die "Out of bounds 'int': $_[1]->{nparams}"
2754 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2755             }
2756             # @_: ($class, $value, $index, $output) = @_;
2757             sub serialize_domain_get_scheduler_parameters_args {
2758 0 0   0 0   croak "Missing required input 'struct' value"
2759             unless defined $_[1];
2760              
2761             # Serializing field: 'dom'
2762             croak "Missing required input value 'dom'"
2763 0 0         unless exists $_[1]->{dom};
2764             # my ($class, $value, $index, $output) = @_;
2765 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2766              
2767             # Serializing field: 'nparams'
2768             croak "Missing required input value 'nparams'"
2769 0 0         unless exists $_[1]->{nparams};
2770             # my ($class, $value, $index, $output) = @_;
2771             croak "Missing required input 'int' value"
2772 0 0         unless defined $_[1]->{nparams};
2773             die "Out of bounds 'int': $_[1]->{nparams}"
2774 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2775             die "Non-integer 'int' value given: $_[1]->{nparams}"
2776 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
2777 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
2778 0           $_[2] += 4;
2779             }
2780             # @_: ($class, $value, $index, $input) = @_;
2781             sub deserialize_domain_get_scheduler_parameters_ret {
2782 0     0 0   my $input_length = length $_[3];
2783 0           $_[1] = {};
2784             # Deserializing field: 'params'
2785             # my ($class, $value, $index, $input) = @_;
2786 0           do {
2787 0 0         die "Input buffer too short"
2788             if ($input_length - $_[2]) < 4;
2789 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
2790 0           $_[2] += 4;
2791              
2792 0 0         die "Array too long (max: 16): $len"
2793             unless ($len <= 16);
2794 0           $_[1]->{params} = [];
2795 0           for my $i1 ( 0 .. ($len - 1) ) {
2796             # my ($class, $value, $index, $input) = @_;
2797 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
2798             }
2799             };
2800             }
2801             # @_: ($class, $value, $index, $output) = @_;
2802             sub serialize_domain_get_scheduler_parameters_ret {
2803 0 0   0 0   croak "Missing required input 'struct' value"
2804             unless defined $_[1];
2805              
2806             # Serializing field: 'params'
2807             croak "Missing required input value 'params'"
2808 0 0         unless exists $_[1]->{params};
2809             # my ($class, $value, $index, $output) = @_;
2810             croak "Missing required input 'array' value"
2811 0 0         unless defined $_[1]->{params};
2812 0           do {
2813 0           my $len = scalar @{ $_[1]->{params} };
  0            
2814 0 0         die "Array too long (max: 16): $len"
2815             unless ($len <= 16);
2816              
2817 0           substr( $_[3], $_[2] ) = pack("L>", $len);
2818 0           $_[2] += 4;
2819 0           for my $i1 ( 0 .. ($len - 1) ) {
2820             # my ($class, $value, $index, $output) = @_;
2821 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
2822             }
2823             };
2824             }
2825             # @_: ($class, $value, $index, $input) = @_;
2826             sub deserialize_domain_get_scheduler_parameters_flags_args {
2827 0     0 0   my $input_length = length $_[3];
2828 0           $_[1] = {};
2829             # Deserializing field: 'dom'
2830             # my ($class, $value, $index, $input) = @_;
2831 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2832              
2833             # Deserializing field: 'nparams'
2834             # my ($class, $value, $index, $input) = @_;
2835 0 0         die "Input buffer too short"
2836             if ($input_length - $_[2]) < 4;
2837 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
2838 0           $_[2] += 4;
2839             die "Out of bounds 'int': $_[1]->{nparams}"
2840 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2841              
2842             # Deserializing field: 'flags'
2843             # my ($class, $value, $index, $input) = @_;
2844 0 0         die "Input buffer too short"
2845             if ($input_length - $_[2]) < 4;
2846 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
2847 0           $_[2] += 4;
2848             die "Out of bounds 'unsigned int': $_[1]->{flags}"
2849 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
2850             }
2851             # @_: ($class, $value, $index, $output) = @_;
2852             sub serialize_domain_get_scheduler_parameters_flags_args {
2853 0 0   0 0   croak "Missing required input 'struct' value"
2854             unless defined $_[1];
2855              
2856             # Serializing field: 'dom'
2857             croak "Missing required input value 'dom'"
2858 0 0         unless exists $_[1]->{dom};
2859             # my ($class, $value, $index, $output) = @_;
2860 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2861              
2862             # Serializing field: 'nparams'
2863             croak "Missing required input value 'nparams'"
2864 0 0         unless exists $_[1]->{nparams};
2865             # my ($class, $value, $index, $output) = @_;
2866             croak "Missing required input 'int' value"
2867 0 0         unless defined $_[1]->{nparams};
2868             die "Out of bounds 'int': $_[1]->{nparams}"
2869 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
2870             die "Non-integer 'int' value given: $_[1]->{nparams}"
2871 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
2872 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
2873 0           $_[2] += 4;
2874              
2875             # Serializing field: 'flags'
2876             croak "Missing required input value 'flags'"
2877 0 0         unless exists $_[1]->{flags};
2878             # my ($class, $value, $index, $output) = @_;
2879             croak "Missing required input 'unsigned int' value"
2880 0 0         unless defined $_[1]->{flags};
2881             die "Out of bounds 'unsigned int': $_[1]->{flags}"
2882 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
2883             die "Non-integer 'int' value given: $_[1]->{flags}"
2884 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
2885 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
2886 0           $_[2] += 4;
2887             }
2888             # @_: ($class, $value, $index, $input) = @_;
2889             sub deserialize_domain_get_scheduler_parameters_flags_ret {
2890 0     0 0   my $input_length = length $_[3];
2891 0           $_[1] = {};
2892             # Deserializing field: 'params'
2893             # my ($class, $value, $index, $input) = @_;
2894 0           do {
2895 0 0         die "Input buffer too short"
2896             if ($input_length - $_[2]) < 4;
2897 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
2898 0           $_[2] += 4;
2899              
2900 0 0         die "Array too long (max: 16): $len"
2901             unless ($len <= 16);
2902 0           $_[1]->{params} = [];
2903 0           for my $i1 ( 0 .. ($len - 1) ) {
2904             # my ($class, $value, $index, $input) = @_;
2905 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
2906             }
2907             };
2908             }
2909             # @_: ($class, $value, $index, $output) = @_;
2910             sub serialize_domain_get_scheduler_parameters_flags_ret {
2911 0 0   0 0   croak "Missing required input 'struct' value"
2912             unless defined $_[1];
2913              
2914             # Serializing field: 'params'
2915             croak "Missing required input value 'params'"
2916 0 0         unless exists $_[1]->{params};
2917             # my ($class, $value, $index, $output) = @_;
2918             croak "Missing required input 'array' value"
2919 0 0         unless defined $_[1]->{params};
2920 0           do {
2921 0           my $len = scalar @{ $_[1]->{params} };
  0            
2922 0 0         die "Array too long (max: 16): $len"
2923             unless ($len <= 16);
2924              
2925 0           substr( $_[3], $_[2] ) = pack("L>", $len);
2926 0           $_[2] += 4;
2927 0           for my $i1 ( 0 .. ($len - 1) ) {
2928             # my ($class, $value, $index, $output) = @_;
2929 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
2930             }
2931             };
2932             }
2933             # @_: ($class, $value, $index, $input) = @_;
2934             sub deserialize_domain_set_scheduler_parameters_args {
2935 0     0 0   my $input_length = length $_[3];
2936 0           $_[1] = {};
2937             # Deserializing field: 'dom'
2938             # my ($class, $value, $index, $input) = @_;
2939 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2940              
2941             # Deserializing field: 'params'
2942             # my ($class, $value, $index, $input) = @_;
2943 0           do {
2944 0 0         die "Input buffer too short"
2945             if ($input_length - $_[2]) < 4;
2946 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
2947 0           $_[2] += 4;
2948              
2949 0 0         die "Array too long (max: 16): $len"
2950             unless ($len <= 16);
2951 0           $_[1]->{params} = [];
2952 0           for my $i1 ( 0 .. ($len - 1) ) {
2953             # my ($class, $value, $index, $input) = @_;
2954 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
2955             }
2956             };
2957             }
2958             # @_: ($class, $value, $index, $output) = @_;
2959             sub serialize_domain_set_scheduler_parameters_args {
2960 0 0   0 0   croak "Missing required input 'struct' value"
2961             unless defined $_[1];
2962              
2963             # Serializing field: 'dom'
2964             croak "Missing required input value 'dom'"
2965 0 0         unless exists $_[1]->{dom};
2966             # my ($class, $value, $index, $output) = @_;
2967 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2968              
2969             # Serializing field: 'params'
2970             croak "Missing required input value 'params'"
2971 0 0         unless exists $_[1]->{params};
2972             # my ($class, $value, $index, $output) = @_;
2973             croak "Missing required input 'array' value"
2974 0 0         unless defined $_[1]->{params};
2975 0           do {
2976 0           my $len = scalar @{ $_[1]->{params} };
  0            
2977 0 0         die "Array too long (max: 16): $len"
2978             unless ($len <= 16);
2979              
2980 0           substr( $_[3], $_[2] ) = pack("L>", $len);
2981 0           $_[2] += 4;
2982 0           for my $i1 ( 0 .. ($len - 1) ) {
2983             # my ($class, $value, $index, $output) = @_;
2984 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
2985             }
2986             };
2987             }
2988             # @_: ($class, $value, $index, $input) = @_;
2989             sub deserialize_domain_set_scheduler_parameters_flags_args {
2990 0     0 0   my $input_length = length $_[3];
2991 0           $_[1] = {};
2992             # Deserializing field: 'dom'
2993             # my ($class, $value, $index, $input) = @_;
2994 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
2995              
2996             # Deserializing field: 'params'
2997             # my ($class, $value, $index, $input) = @_;
2998 0           do {
2999 0 0         die "Input buffer too short"
3000             if ($input_length - $_[2]) < 4;
3001 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3002 0           $_[2] += 4;
3003              
3004 0 0         die "Array too long (max: 16): $len"
3005             unless ($len <= 16);
3006 0           $_[1]->{params} = [];
3007 0           for my $i1 ( 0 .. ($len - 1) ) {
3008             # my ($class, $value, $index, $input) = @_;
3009 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3010             }
3011             };
3012              
3013             # Deserializing field: 'flags'
3014             # my ($class, $value, $index, $input) = @_;
3015 0 0         die "Input buffer too short"
3016             if ($input_length - $_[2]) < 4;
3017 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3018 0           $_[2] += 4;
3019             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3020 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3021             }
3022             # @_: ($class, $value, $index, $output) = @_;
3023             sub serialize_domain_set_scheduler_parameters_flags_args {
3024 0 0   0 0   croak "Missing required input 'struct' value"
3025             unless defined $_[1];
3026              
3027             # Serializing field: 'dom'
3028             croak "Missing required input value 'dom'"
3029 0 0         unless exists $_[1]->{dom};
3030             # my ($class, $value, $index, $output) = @_;
3031 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3032              
3033             # Serializing field: 'params'
3034             croak "Missing required input value 'params'"
3035 0 0         unless exists $_[1]->{params};
3036             # my ($class, $value, $index, $output) = @_;
3037             croak "Missing required input 'array' value"
3038 0 0         unless defined $_[1]->{params};
3039 0           do {
3040 0           my $len = scalar @{ $_[1]->{params} };
  0            
3041 0 0         die "Array too long (max: 16): $len"
3042             unless ($len <= 16);
3043              
3044 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3045 0           $_[2] += 4;
3046 0           for my $i1 ( 0 .. ($len - 1) ) {
3047             # my ($class, $value, $index, $output) = @_;
3048 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3049             }
3050             };
3051              
3052             # Serializing field: 'flags'
3053             croak "Missing required input value 'flags'"
3054 0 0         unless exists $_[1]->{flags};
3055             # my ($class, $value, $index, $output) = @_;
3056             croak "Missing required input 'unsigned int' value"
3057 0 0         unless defined $_[1]->{flags};
3058             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3059 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3060             die "Non-integer 'int' value given: $_[1]->{flags}"
3061 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3062 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3063 0           $_[2] += 4;
3064             }
3065             # @_: ($class, $value, $index, $input) = @_;
3066             sub deserialize_domain_set_blkio_parameters_args {
3067 0     0 0   my $input_length = length $_[3];
3068 0           $_[1] = {};
3069             # Deserializing field: 'dom'
3070             # my ($class, $value, $index, $input) = @_;
3071 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3072              
3073             # Deserializing field: 'params'
3074             # my ($class, $value, $index, $input) = @_;
3075 0           do {
3076 0 0         die "Input buffer too short"
3077             if ($input_length - $_[2]) < 4;
3078 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3079 0           $_[2] += 4;
3080              
3081 0 0         die "Array too long (max: 16): $len"
3082             unless ($len <= 16);
3083 0           $_[1]->{params} = [];
3084 0           for my $i1 ( 0 .. ($len - 1) ) {
3085             # my ($class, $value, $index, $input) = @_;
3086 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3087             }
3088             };
3089              
3090             # Deserializing field: 'flags'
3091             # my ($class, $value, $index, $input) = @_;
3092 0 0         die "Input buffer too short"
3093             if ($input_length - $_[2]) < 4;
3094 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3095 0           $_[2] += 4;
3096             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3097 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3098             }
3099             # @_: ($class, $value, $index, $output) = @_;
3100             sub serialize_domain_set_blkio_parameters_args {
3101 0 0   0 0   croak "Missing required input 'struct' value"
3102             unless defined $_[1];
3103              
3104             # Serializing field: 'dom'
3105             croak "Missing required input value 'dom'"
3106 0 0         unless exists $_[1]->{dom};
3107             # my ($class, $value, $index, $output) = @_;
3108 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3109              
3110             # Serializing field: 'params'
3111             croak "Missing required input value 'params'"
3112 0 0         unless exists $_[1]->{params};
3113             # my ($class, $value, $index, $output) = @_;
3114             croak "Missing required input 'array' value"
3115 0 0         unless defined $_[1]->{params};
3116 0           do {
3117 0           my $len = scalar @{ $_[1]->{params} };
  0            
3118 0 0         die "Array too long (max: 16): $len"
3119             unless ($len <= 16);
3120              
3121 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3122 0           $_[2] += 4;
3123 0           for my $i1 ( 0 .. ($len - 1) ) {
3124             # my ($class, $value, $index, $output) = @_;
3125 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3126             }
3127             };
3128              
3129             # Serializing field: 'flags'
3130             croak "Missing required input value 'flags'"
3131 0 0         unless exists $_[1]->{flags};
3132             # my ($class, $value, $index, $output) = @_;
3133             croak "Missing required input 'unsigned int' value"
3134 0 0         unless defined $_[1]->{flags};
3135             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3136 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3137             die "Non-integer 'int' value given: $_[1]->{flags}"
3138 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3139 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3140 0           $_[2] += 4;
3141             }
3142             # @_: ($class, $value, $index, $input) = @_;
3143             sub deserialize_domain_get_blkio_parameters_args {
3144 0     0 0   my $input_length = length $_[3];
3145 0           $_[1] = {};
3146             # Deserializing field: 'dom'
3147             # my ($class, $value, $index, $input) = @_;
3148 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3149              
3150             # Deserializing field: 'nparams'
3151             # my ($class, $value, $index, $input) = @_;
3152 0 0         die "Input buffer too short"
3153             if ($input_length - $_[2]) < 4;
3154 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
3155 0           $_[2] += 4;
3156             die "Out of bounds 'int': $_[1]->{nparams}"
3157 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3158              
3159             # Deserializing field: 'flags'
3160             # my ($class, $value, $index, $input) = @_;
3161 0 0         die "Input buffer too short"
3162             if ($input_length - $_[2]) < 4;
3163 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3164 0           $_[2] += 4;
3165             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3166 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3167             }
3168             # @_: ($class, $value, $index, $output) = @_;
3169             sub serialize_domain_get_blkio_parameters_args {
3170 0 0   0 0   croak "Missing required input 'struct' value"
3171             unless defined $_[1];
3172              
3173             # Serializing field: 'dom'
3174             croak "Missing required input value 'dom'"
3175 0 0         unless exists $_[1]->{dom};
3176             # my ($class, $value, $index, $output) = @_;
3177 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3178              
3179             # Serializing field: 'nparams'
3180             croak "Missing required input value 'nparams'"
3181 0 0         unless exists $_[1]->{nparams};
3182             # my ($class, $value, $index, $output) = @_;
3183             croak "Missing required input 'int' value"
3184 0 0         unless defined $_[1]->{nparams};
3185             die "Out of bounds 'int': $_[1]->{nparams}"
3186 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3187             die "Non-integer 'int' value given: $_[1]->{nparams}"
3188 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
3189 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
3190 0           $_[2] += 4;
3191              
3192             # Serializing field: 'flags'
3193             croak "Missing required input value 'flags'"
3194 0 0         unless exists $_[1]->{flags};
3195             # my ($class, $value, $index, $output) = @_;
3196             croak "Missing required input 'unsigned int' value"
3197 0 0         unless defined $_[1]->{flags};
3198             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3199 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3200             die "Non-integer 'int' value given: $_[1]->{flags}"
3201 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3202 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3203 0           $_[2] += 4;
3204             }
3205             # @_: ($class, $value, $index, $input) = @_;
3206             sub deserialize_domain_get_blkio_parameters_ret {
3207 0     0 0   my $input_length = length $_[3];
3208 0           $_[1] = {};
3209             # Deserializing field: 'params'
3210             # my ($class, $value, $index, $input) = @_;
3211 0           do {
3212 0 0         die "Input buffer too short"
3213             if ($input_length - $_[2]) < 4;
3214 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3215 0           $_[2] += 4;
3216              
3217 0 0         die "Array too long (max: 16): $len"
3218             unless ($len <= 16);
3219 0           $_[1]->{params} = [];
3220 0           for my $i1 ( 0 .. ($len - 1) ) {
3221             # my ($class, $value, $index, $input) = @_;
3222 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3223             }
3224             };
3225              
3226             # Deserializing field: 'nparams'
3227             # my ($class, $value, $index, $input) = @_;
3228 0 0         die "Input buffer too short"
3229             if ($input_length - $_[2]) < 4;
3230 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
3231 0           $_[2] += 4;
3232             die "Out of bounds 'int': $_[1]->{nparams}"
3233 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3234             }
3235             # @_: ($class, $value, $index, $output) = @_;
3236             sub serialize_domain_get_blkio_parameters_ret {
3237 0 0   0 0   croak "Missing required input 'struct' value"
3238             unless defined $_[1];
3239              
3240             # Serializing field: 'params'
3241             croak "Missing required input value 'params'"
3242 0 0         unless exists $_[1]->{params};
3243             # my ($class, $value, $index, $output) = @_;
3244             croak "Missing required input 'array' value"
3245 0 0         unless defined $_[1]->{params};
3246 0           do {
3247 0           my $len = scalar @{ $_[1]->{params} };
  0            
3248 0 0         die "Array too long (max: 16): $len"
3249             unless ($len <= 16);
3250              
3251 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3252 0           $_[2] += 4;
3253 0           for my $i1 ( 0 .. ($len - 1) ) {
3254             # my ($class, $value, $index, $output) = @_;
3255 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3256             }
3257             };
3258              
3259             # Serializing field: 'nparams'
3260             croak "Missing required input value 'nparams'"
3261 0 0         unless exists $_[1]->{nparams};
3262             # my ($class, $value, $index, $output) = @_;
3263             croak "Missing required input 'int' value"
3264 0 0         unless defined $_[1]->{nparams};
3265             die "Out of bounds 'int': $_[1]->{nparams}"
3266 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3267             die "Non-integer 'int' value given: $_[1]->{nparams}"
3268 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
3269 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
3270 0           $_[2] += 4;
3271             }
3272             # @_: ($class, $value, $index, $input) = @_;
3273             sub deserialize_domain_set_memory_parameters_args {
3274 0     0 0   my $input_length = length $_[3];
3275 0           $_[1] = {};
3276             # Deserializing field: 'dom'
3277             # my ($class, $value, $index, $input) = @_;
3278 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3279              
3280             # Deserializing field: 'params'
3281             # my ($class, $value, $index, $input) = @_;
3282 0           do {
3283 0 0         die "Input buffer too short"
3284             if ($input_length - $_[2]) < 4;
3285 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3286 0           $_[2] += 4;
3287              
3288 0 0         die "Array too long (max: 16): $len"
3289             unless ($len <= 16);
3290 0           $_[1]->{params} = [];
3291 0           for my $i1 ( 0 .. ($len - 1) ) {
3292             # my ($class, $value, $index, $input) = @_;
3293 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3294             }
3295             };
3296              
3297             # Deserializing field: 'flags'
3298             # my ($class, $value, $index, $input) = @_;
3299 0 0         die "Input buffer too short"
3300             if ($input_length - $_[2]) < 4;
3301 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3302 0           $_[2] += 4;
3303             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3304 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3305             }
3306             # @_: ($class, $value, $index, $output) = @_;
3307             sub serialize_domain_set_memory_parameters_args {
3308 0 0   0 0   croak "Missing required input 'struct' value"
3309             unless defined $_[1];
3310              
3311             # Serializing field: 'dom'
3312             croak "Missing required input value 'dom'"
3313 0 0         unless exists $_[1]->{dom};
3314             # my ($class, $value, $index, $output) = @_;
3315 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3316              
3317             # Serializing field: 'params'
3318             croak "Missing required input value 'params'"
3319 0 0         unless exists $_[1]->{params};
3320             # my ($class, $value, $index, $output) = @_;
3321             croak "Missing required input 'array' value"
3322 0 0         unless defined $_[1]->{params};
3323 0           do {
3324 0           my $len = scalar @{ $_[1]->{params} };
  0            
3325 0 0         die "Array too long (max: 16): $len"
3326             unless ($len <= 16);
3327              
3328 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3329 0           $_[2] += 4;
3330 0           for my $i1 ( 0 .. ($len - 1) ) {
3331             # my ($class, $value, $index, $output) = @_;
3332 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3333             }
3334             };
3335              
3336             # Serializing field: 'flags'
3337             croak "Missing required input value 'flags'"
3338 0 0         unless exists $_[1]->{flags};
3339             # my ($class, $value, $index, $output) = @_;
3340             croak "Missing required input 'unsigned int' value"
3341 0 0         unless defined $_[1]->{flags};
3342             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3343 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3344             die "Non-integer 'int' value given: $_[1]->{flags}"
3345 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3346 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3347 0           $_[2] += 4;
3348             }
3349             # @_: ($class, $value, $index, $input) = @_;
3350             sub deserialize_domain_get_memory_parameters_args {
3351 0     0 0   my $input_length = length $_[3];
3352 0           $_[1] = {};
3353             # Deserializing field: 'dom'
3354             # my ($class, $value, $index, $input) = @_;
3355 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3356              
3357             # Deserializing field: 'nparams'
3358             # my ($class, $value, $index, $input) = @_;
3359 0 0         die "Input buffer too short"
3360             if ($input_length - $_[2]) < 4;
3361 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
3362 0           $_[2] += 4;
3363             die "Out of bounds 'int': $_[1]->{nparams}"
3364 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3365              
3366             # Deserializing field: 'flags'
3367             # my ($class, $value, $index, $input) = @_;
3368 0 0         die "Input buffer too short"
3369             if ($input_length - $_[2]) < 4;
3370 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3371 0           $_[2] += 4;
3372             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3373 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3374             }
3375             # @_: ($class, $value, $index, $output) = @_;
3376             sub serialize_domain_get_memory_parameters_args {
3377 0 0   0 0   croak "Missing required input 'struct' value"
3378             unless defined $_[1];
3379              
3380             # Serializing field: 'dom'
3381             croak "Missing required input value 'dom'"
3382 0 0         unless exists $_[1]->{dom};
3383             # my ($class, $value, $index, $output) = @_;
3384 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3385              
3386             # Serializing field: 'nparams'
3387             croak "Missing required input value 'nparams'"
3388 0 0         unless exists $_[1]->{nparams};
3389             # my ($class, $value, $index, $output) = @_;
3390             croak "Missing required input 'int' value"
3391 0 0         unless defined $_[1]->{nparams};
3392             die "Out of bounds 'int': $_[1]->{nparams}"
3393 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3394             die "Non-integer 'int' value given: $_[1]->{nparams}"
3395 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
3396 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
3397 0           $_[2] += 4;
3398              
3399             # Serializing field: 'flags'
3400             croak "Missing required input value 'flags'"
3401 0 0         unless exists $_[1]->{flags};
3402             # my ($class, $value, $index, $output) = @_;
3403             croak "Missing required input 'unsigned int' value"
3404 0 0         unless defined $_[1]->{flags};
3405             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3406 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3407             die "Non-integer 'int' value given: $_[1]->{flags}"
3408 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3409 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3410 0           $_[2] += 4;
3411             }
3412             # @_: ($class, $value, $index, $input) = @_;
3413             sub deserialize_domain_get_memory_parameters_ret {
3414 0     0 0   my $input_length = length $_[3];
3415 0           $_[1] = {};
3416             # Deserializing field: 'params'
3417             # my ($class, $value, $index, $input) = @_;
3418 0           do {
3419 0 0         die "Input buffer too short"
3420             if ($input_length - $_[2]) < 4;
3421 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3422 0           $_[2] += 4;
3423              
3424 0 0         die "Array too long (max: 16): $len"
3425             unless ($len <= 16);
3426 0           $_[1]->{params} = [];
3427 0           for my $i1 ( 0 .. ($len - 1) ) {
3428             # my ($class, $value, $index, $input) = @_;
3429 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3430             }
3431             };
3432              
3433             # Deserializing field: 'nparams'
3434             # my ($class, $value, $index, $input) = @_;
3435 0 0         die "Input buffer too short"
3436             if ($input_length - $_[2]) < 4;
3437 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
3438 0           $_[2] += 4;
3439             die "Out of bounds 'int': $_[1]->{nparams}"
3440 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3441             }
3442             # @_: ($class, $value, $index, $output) = @_;
3443             sub serialize_domain_get_memory_parameters_ret {
3444 0 0   0 0   croak "Missing required input 'struct' value"
3445             unless defined $_[1];
3446              
3447             # Serializing field: 'params'
3448             croak "Missing required input value 'params'"
3449 0 0         unless exists $_[1]->{params};
3450             # my ($class, $value, $index, $output) = @_;
3451             croak "Missing required input 'array' value"
3452 0 0         unless defined $_[1]->{params};
3453 0           do {
3454 0           my $len = scalar @{ $_[1]->{params} };
  0            
3455 0 0         die "Array too long (max: 16): $len"
3456             unless ($len <= 16);
3457              
3458 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3459 0           $_[2] += 4;
3460 0           for my $i1 ( 0 .. ($len - 1) ) {
3461             # my ($class, $value, $index, $output) = @_;
3462 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3463             }
3464             };
3465              
3466             # Serializing field: 'nparams'
3467             croak "Missing required input value 'nparams'"
3468 0 0         unless exists $_[1]->{nparams};
3469             # my ($class, $value, $index, $output) = @_;
3470             croak "Missing required input 'int' value"
3471 0 0         unless defined $_[1]->{nparams};
3472             die "Out of bounds 'int': $_[1]->{nparams}"
3473 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3474             die "Non-integer 'int' value given: $_[1]->{nparams}"
3475 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
3476 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
3477 0           $_[2] += 4;
3478             }
3479             # @_: ($class, $value, $index, $input) = @_;
3480             sub deserialize_domain_block_resize_args {
3481 0     0 0   my $input_length = length $_[3];
3482 0           $_[1] = {};
3483             # Deserializing field: 'dom'
3484             # my ($class, $value, $index, $input) = @_;
3485 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3486              
3487             # Deserializing field: 'disk'
3488             # my ($class, $value, $index, $input) = @_;
3489 0           $_[0]->deserialize_nonnull_string( $_[1]->{disk}, $_[2], $_[3] );
3490              
3491             # Deserializing field: 'size'
3492             # my ($class, $value, $index, $input) = @_;
3493 0 0         die "Input buffer too short"
3494             if ($input_length - $_[2]) < 8;
3495 0           $_[1]->{size} = unpack("Q>", substr( $_[3], $_[2] ));
3496 0           $_[2] += 8;
3497             die "Out of bounds 'unsigned hyper': $_[1]->{size}"
3498             unless (0 <= $_[1]->{size}
3499 0 0 0       and $_[1]->{size} <= 18446744073709551615);
3500              
3501             # Deserializing field: 'flags'
3502             # my ($class, $value, $index, $input) = @_;
3503 0 0         die "Input buffer too short"
3504             if ($input_length - $_[2]) < 4;
3505 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3506 0           $_[2] += 4;
3507             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3508 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3509             }
3510             # @_: ($class, $value, $index, $output) = @_;
3511             sub serialize_domain_block_resize_args {
3512 0 0   0 0   croak "Missing required input 'struct' value"
3513             unless defined $_[1];
3514              
3515             # Serializing field: 'dom'
3516             croak "Missing required input value 'dom'"
3517 0 0         unless exists $_[1]->{dom};
3518             # my ($class, $value, $index, $output) = @_;
3519 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3520              
3521             # Serializing field: 'disk'
3522             croak "Missing required input value 'disk'"
3523 0 0         unless exists $_[1]->{disk};
3524             # my ($class, $value, $index, $output) = @_;
3525 0           $_[0]->serialize_nonnull_string( $_[1]->{disk}, $_[2], $_[3] );
3526              
3527             # Serializing field: 'size'
3528             croak "Missing required input value 'size'"
3529 0 0         unless exists $_[1]->{size};
3530             # my ($class, $value, $index, $output) = @_;
3531             croak "Missing required input 'unsigned long' value"
3532 0 0         unless defined $_[1]->{size};
3533             die "Out of bounds 'unsigned hyper': $_[1]->{size}"
3534             unless (0 <= $_[1]->{size}
3535 0 0 0       and $_[1]->{size} <= 18446744073709551615);
3536             die "Non-integer 'long' value given: $_[1]->{size}"
3537 0 0         unless int($_[1]->{size}) == $_[1]->{size};
3538 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{size});
3539 0           $_[2] += 8;
3540              
3541             # Serializing field: 'flags'
3542             croak "Missing required input value 'flags'"
3543 0 0         unless exists $_[1]->{flags};
3544             # my ($class, $value, $index, $output) = @_;
3545             croak "Missing required input 'unsigned int' value"
3546 0 0         unless defined $_[1]->{flags};
3547             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3548 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3549             die "Non-integer 'int' value given: $_[1]->{flags}"
3550 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3551 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3552 0           $_[2] += 4;
3553             }
3554             # @_: ($class, $value, $index, $input) = @_;
3555             sub deserialize_domain_set_numa_parameters_args {
3556 0     0 0   my $input_length = length $_[3];
3557 0           $_[1] = {};
3558             # Deserializing field: 'dom'
3559             # my ($class, $value, $index, $input) = @_;
3560 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3561              
3562             # Deserializing field: 'params'
3563             # my ($class, $value, $index, $input) = @_;
3564 0           do {
3565 0 0         die "Input buffer too short"
3566             if ($input_length - $_[2]) < 4;
3567 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3568 0           $_[2] += 4;
3569              
3570 0 0         die "Array too long (max: 16): $len"
3571             unless ($len <= 16);
3572 0           $_[1]->{params} = [];
3573 0           for my $i1 ( 0 .. ($len - 1) ) {
3574             # my ($class, $value, $index, $input) = @_;
3575 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3576             }
3577             };
3578              
3579             # Deserializing field: 'flags'
3580             # my ($class, $value, $index, $input) = @_;
3581 0 0         die "Input buffer too short"
3582             if ($input_length - $_[2]) < 4;
3583 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3584 0           $_[2] += 4;
3585             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3586 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3587             }
3588             # @_: ($class, $value, $index, $output) = @_;
3589             sub serialize_domain_set_numa_parameters_args {
3590 0 0   0 0   croak "Missing required input 'struct' value"
3591             unless defined $_[1];
3592              
3593             # Serializing field: 'dom'
3594             croak "Missing required input value 'dom'"
3595 0 0         unless exists $_[1]->{dom};
3596             # my ($class, $value, $index, $output) = @_;
3597 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3598              
3599             # Serializing field: 'params'
3600             croak "Missing required input value 'params'"
3601 0 0         unless exists $_[1]->{params};
3602             # my ($class, $value, $index, $output) = @_;
3603             croak "Missing required input 'array' value"
3604 0 0         unless defined $_[1]->{params};
3605 0           do {
3606 0           my $len = scalar @{ $_[1]->{params} };
  0            
3607 0 0         die "Array too long (max: 16): $len"
3608             unless ($len <= 16);
3609              
3610 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3611 0           $_[2] += 4;
3612 0           for my $i1 ( 0 .. ($len - 1) ) {
3613             # my ($class, $value, $index, $output) = @_;
3614 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3615             }
3616             };
3617              
3618             # Serializing field: 'flags'
3619             croak "Missing required input value 'flags'"
3620 0 0         unless exists $_[1]->{flags};
3621             # my ($class, $value, $index, $output) = @_;
3622             croak "Missing required input 'unsigned int' value"
3623 0 0         unless defined $_[1]->{flags};
3624             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3625 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3626             die "Non-integer 'int' value given: $_[1]->{flags}"
3627 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3628 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3629 0           $_[2] += 4;
3630             }
3631             # @_: ($class, $value, $index, $input) = @_;
3632             sub deserialize_domain_get_numa_parameters_args {
3633 0     0 0   my $input_length = length $_[3];
3634 0           $_[1] = {};
3635             # Deserializing field: 'dom'
3636             # my ($class, $value, $index, $input) = @_;
3637 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3638              
3639             # Deserializing field: 'nparams'
3640             # my ($class, $value, $index, $input) = @_;
3641 0 0         die "Input buffer too short"
3642             if ($input_length - $_[2]) < 4;
3643 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
3644 0           $_[2] += 4;
3645             die "Out of bounds 'int': $_[1]->{nparams}"
3646 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3647              
3648             # Deserializing field: 'flags'
3649             # my ($class, $value, $index, $input) = @_;
3650 0 0         die "Input buffer too short"
3651             if ($input_length - $_[2]) < 4;
3652 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3653 0           $_[2] += 4;
3654             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3655 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3656             }
3657             # @_: ($class, $value, $index, $output) = @_;
3658             sub serialize_domain_get_numa_parameters_args {
3659 0 0   0 0   croak "Missing required input 'struct' value"
3660             unless defined $_[1];
3661              
3662             # Serializing field: 'dom'
3663             croak "Missing required input value 'dom'"
3664 0 0         unless exists $_[1]->{dom};
3665             # my ($class, $value, $index, $output) = @_;
3666 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3667              
3668             # Serializing field: 'nparams'
3669             croak "Missing required input value 'nparams'"
3670 0 0         unless exists $_[1]->{nparams};
3671             # my ($class, $value, $index, $output) = @_;
3672             croak "Missing required input 'int' value"
3673 0 0         unless defined $_[1]->{nparams};
3674             die "Out of bounds 'int': $_[1]->{nparams}"
3675 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3676             die "Non-integer 'int' value given: $_[1]->{nparams}"
3677 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
3678 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
3679 0           $_[2] += 4;
3680              
3681             # Serializing field: 'flags'
3682             croak "Missing required input value 'flags'"
3683 0 0         unless exists $_[1]->{flags};
3684             # my ($class, $value, $index, $output) = @_;
3685             croak "Missing required input 'unsigned int' value"
3686 0 0         unless defined $_[1]->{flags};
3687             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3688 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3689             die "Non-integer 'int' value given: $_[1]->{flags}"
3690 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3691 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3692 0           $_[2] += 4;
3693             }
3694             # @_: ($class, $value, $index, $input) = @_;
3695             sub deserialize_domain_get_numa_parameters_ret {
3696 0     0 0   my $input_length = length $_[3];
3697 0           $_[1] = {};
3698             # Deserializing field: 'params'
3699             # my ($class, $value, $index, $input) = @_;
3700 0           do {
3701 0 0         die "Input buffer too short"
3702             if ($input_length - $_[2]) < 4;
3703 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3704 0           $_[2] += 4;
3705              
3706 0 0         die "Array too long (max: 16): $len"
3707             unless ($len <= 16);
3708 0           $_[1]->{params} = [];
3709 0           for my $i1 ( 0 .. ($len - 1) ) {
3710             # my ($class, $value, $index, $input) = @_;
3711 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3712             }
3713             };
3714              
3715             # Deserializing field: 'nparams'
3716             # my ($class, $value, $index, $input) = @_;
3717 0 0         die "Input buffer too short"
3718             if ($input_length - $_[2]) < 4;
3719 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
3720 0           $_[2] += 4;
3721             die "Out of bounds 'int': $_[1]->{nparams}"
3722 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3723             }
3724             # @_: ($class, $value, $index, $output) = @_;
3725             sub serialize_domain_get_numa_parameters_ret {
3726 0 0   0 0   croak "Missing required input 'struct' value"
3727             unless defined $_[1];
3728              
3729             # Serializing field: 'params'
3730             croak "Missing required input value 'params'"
3731 0 0         unless exists $_[1]->{params};
3732             # my ($class, $value, $index, $output) = @_;
3733             croak "Missing required input 'array' value"
3734 0 0         unless defined $_[1]->{params};
3735 0           do {
3736 0           my $len = scalar @{ $_[1]->{params} };
  0            
3737 0 0         die "Array too long (max: 16): $len"
3738             unless ($len <= 16);
3739              
3740 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3741 0           $_[2] += 4;
3742 0           for my $i1 ( 0 .. ($len - 1) ) {
3743             # my ($class, $value, $index, $output) = @_;
3744 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3745             }
3746             };
3747              
3748             # Serializing field: 'nparams'
3749             croak "Missing required input value 'nparams'"
3750 0 0         unless exists $_[1]->{nparams};
3751             # my ($class, $value, $index, $output) = @_;
3752             croak "Missing required input 'int' value"
3753 0 0         unless defined $_[1]->{nparams};
3754             die "Out of bounds 'int': $_[1]->{nparams}"
3755 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
3756             die "Non-integer 'int' value given: $_[1]->{nparams}"
3757 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
3758 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
3759 0           $_[2] += 4;
3760             }
3761             # @_: ($class, $value, $index, $input) = @_;
3762             sub deserialize_domain_set_perf_events_args {
3763 0     0 0   my $input_length = length $_[3];
3764 0           $_[1] = {};
3765             # Deserializing field: 'dom'
3766             # my ($class, $value, $index, $input) = @_;
3767 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3768              
3769             # Deserializing field: 'params'
3770             # my ($class, $value, $index, $input) = @_;
3771 0           do {
3772 0 0         die "Input buffer too short"
3773             if ($input_length - $_[2]) < 4;
3774 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3775 0           $_[2] += 4;
3776              
3777 0 0         die "Array too long (max: 64): $len"
3778             unless ($len <= 64);
3779 0           $_[1]->{params} = [];
3780 0           for my $i1 ( 0 .. ($len - 1) ) {
3781             # my ($class, $value, $index, $input) = @_;
3782 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3783             }
3784             };
3785              
3786             # Deserializing field: 'flags'
3787             # my ($class, $value, $index, $input) = @_;
3788 0 0         die "Input buffer too short"
3789             if ($input_length - $_[2]) < 4;
3790 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3791 0           $_[2] += 4;
3792             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3793 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3794             }
3795             # @_: ($class, $value, $index, $output) = @_;
3796             sub serialize_domain_set_perf_events_args {
3797 0 0   0 0   croak "Missing required input 'struct' value"
3798             unless defined $_[1];
3799              
3800             # Serializing field: 'dom'
3801             croak "Missing required input value 'dom'"
3802 0 0         unless exists $_[1]->{dom};
3803             # my ($class, $value, $index, $output) = @_;
3804 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3805              
3806             # Serializing field: 'params'
3807             croak "Missing required input value 'params'"
3808 0 0         unless exists $_[1]->{params};
3809             # my ($class, $value, $index, $output) = @_;
3810             croak "Missing required input 'array' value"
3811 0 0         unless defined $_[1]->{params};
3812 0           do {
3813 0           my $len = scalar @{ $_[1]->{params} };
  0            
3814 0 0         die "Array too long (max: 64): $len"
3815             unless ($len <= 64);
3816              
3817 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3818 0           $_[2] += 4;
3819 0           for my $i1 ( 0 .. ($len - 1) ) {
3820             # my ($class, $value, $index, $output) = @_;
3821 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3822             }
3823             };
3824              
3825             # Serializing field: 'flags'
3826             croak "Missing required input value 'flags'"
3827 0 0         unless exists $_[1]->{flags};
3828             # my ($class, $value, $index, $output) = @_;
3829             croak "Missing required input 'unsigned int' value"
3830 0 0         unless defined $_[1]->{flags};
3831             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3832 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3833             die "Non-integer 'int' value given: $_[1]->{flags}"
3834 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3835 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3836 0           $_[2] += 4;
3837             }
3838             # @_: ($class, $value, $index, $input) = @_;
3839             sub deserialize_domain_get_perf_events_args {
3840 0     0 0   my $input_length = length $_[3];
3841 0           $_[1] = {};
3842             # Deserializing field: 'dom'
3843             # my ($class, $value, $index, $input) = @_;
3844 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3845              
3846             # Deserializing field: 'flags'
3847             # my ($class, $value, $index, $input) = @_;
3848 0 0         die "Input buffer too short"
3849             if ($input_length - $_[2]) < 4;
3850 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
3851 0           $_[2] += 4;
3852             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3853 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3854             }
3855             # @_: ($class, $value, $index, $output) = @_;
3856             sub serialize_domain_get_perf_events_args {
3857 0 0   0 0   croak "Missing required input 'struct' value"
3858             unless defined $_[1];
3859              
3860             # Serializing field: 'dom'
3861             croak "Missing required input value 'dom'"
3862 0 0         unless exists $_[1]->{dom};
3863             # my ($class, $value, $index, $output) = @_;
3864 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3865              
3866             # Serializing field: 'flags'
3867             croak "Missing required input value 'flags'"
3868 0 0         unless exists $_[1]->{flags};
3869             # my ($class, $value, $index, $output) = @_;
3870             croak "Missing required input 'unsigned int' value"
3871 0 0         unless defined $_[1]->{flags};
3872             die "Out of bounds 'unsigned int': $_[1]->{flags}"
3873 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
3874             die "Non-integer 'int' value given: $_[1]->{flags}"
3875 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
3876 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
3877 0           $_[2] += 4;
3878             }
3879             # @_: ($class, $value, $index, $input) = @_;
3880             sub deserialize_domain_get_perf_events_ret {
3881 0     0 0   my $input_length = length $_[3];
3882 0           $_[1] = {};
3883             # Deserializing field: 'params'
3884             # my ($class, $value, $index, $input) = @_;
3885 0           do {
3886 0 0         die "Input buffer too short"
3887             if ($input_length - $_[2]) < 4;
3888 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
3889 0           $_[2] += 4;
3890              
3891 0 0         die "Array too long (max: 64): $len"
3892             unless ($len <= 64);
3893 0           $_[1]->{params} = [];
3894 0           for my $i1 ( 0 .. ($len - 1) ) {
3895             # my ($class, $value, $index, $input) = @_;
3896 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3897             }
3898             };
3899             }
3900             # @_: ($class, $value, $index, $output) = @_;
3901             sub serialize_domain_get_perf_events_ret {
3902 0 0   0 0   croak "Missing required input 'struct' value"
3903             unless defined $_[1];
3904              
3905             # Serializing field: 'params'
3906             croak "Missing required input value 'params'"
3907 0 0         unless exists $_[1]->{params};
3908             # my ($class, $value, $index, $output) = @_;
3909             croak "Missing required input 'array' value"
3910 0 0         unless defined $_[1]->{params};
3911 0           do {
3912 0           my $len = scalar @{ $_[1]->{params} };
  0            
3913 0 0         die "Array too long (max: 64): $len"
3914             unless ($len <= 64);
3915              
3916 0           substr( $_[3], $_[2] ) = pack("L>", $len);
3917 0           $_[2] += 4;
3918 0           for my $i1 ( 0 .. ($len - 1) ) {
3919             # my ($class, $value, $index, $output) = @_;
3920 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
3921             }
3922             };
3923             }
3924             # @_: ($class, $value, $index, $input) = @_;
3925             sub deserialize_domain_block_stats_args {
3926 0     0 0   my $input_length = length $_[3];
3927 0           $_[1] = {};
3928             # Deserializing field: 'dom'
3929             # my ($class, $value, $index, $input) = @_;
3930 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3931              
3932             # Deserializing field: 'path'
3933             # my ($class, $value, $index, $input) = @_;
3934 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
3935             }
3936             # @_: ($class, $value, $index, $output) = @_;
3937             sub serialize_domain_block_stats_args {
3938 0 0   0 0   croak "Missing required input 'struct' value"
3939             unless defined $_[1];
3940              
3941             # Serializing field: 'dom'
3942             croak "Missing required input value 'dom'"
3943 0 0         unless exists $_[1]->{dom};
3944             # my ($class, $value, $index, $output) = @_;
3945 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
3946              
3947             # Serializing field: 'path'
3948             croak "Missing required input value 'path'"
3949 0 0         unless exists $_[1]->{path};
3950             # my ($class, $value, $index, $output) = @_;
3951 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
3952             }
3953             # @_: ($class, $value, $index, $input) = @_;
3954             sub deserialize_domain_block_stats_ret {
3955 0     0 0   my $input_length = length $_[3];
3956 0           $_[1] = {};
3957             # Deserializing field: 'rd_req'
3958             # my ($class, $value, $index, $input) = @_;
3959 0 0         die "Input buffer too short"
3960             if ($input_length - $_[2]) < 8;
3961 0           $_[1]->{rd_req} = unpack("q>", substr( $_[3], $_[2] ));
3962 0           $_[2] += 8;
3963             die "Out of bounds 'hyper': $_[1]->{rd_req}"
3964             unless (-9223372036854775808 <= $_[1]->{rd_req}
3965 0 0 0       and $_[1]->{rd_req} < 9223372036854775808);
3966              
3967             # Deserializing field: 'rd_bytes'
3968             # my ($class, $value, $index, $input) = @_;
3969 0 0         die "Input buffer too short"
3970             if ($input_length - $_[2]) < 8;
3971 0           $_[1]->{rd_bytes} = unpack("q>", substr( $_[3], $_[2] ));
3972 0           $_[2] += 8;
3973             die "Out of bounds 'hyper': $_[1]->{rd_bytes}"
3974             unless (-9223372036854775808 <= $_[1]->{rd_bytes}
3975 0 0 0       and $_[1]->{rd_bytes} < 9223372036854775808);
3976              
3977             # Deserializing field: 'wr_req'
3978             # my ($class, $value, $index, $input) = @_;
3979 0 0         die "Input buffer too short"
3980             if ($input_length - $_[2]) < 8;
3981 0           $_[1]->{wr_req} = unpack("q>", substr( $_[3], $_[2] ));
3982 0           $_[2] += 8;
3983             die "Out of bounds 'hyper': $_[1]->{wr_req}"
3984             unless (-9223372036854775808 <= $_[1]->{wr_req}
3985 0 0 0       and $_[1]->{wr_req} < 9223372036854775808);
3986              
3987             # Deserializing field: 'wr_bytes'
3988             # my ($class, $value, $index, $input) = @_;
3989 0 0         die "Input buffer too short"
3990             if ($input_length - $_[2]) < 8;
3991 0           $_[1]->{wr_bytes} = unpack("q>", substr( $_[3], $_[2] ));
3992 0           $_[2] += 8;
3993             die "Out of bounds 'hyper': $_[1]->{wr_bytes}"
3994             unless (-9223372036854775808 <= $_[1]->{wr_bytes}
3995 0 0 0       and $_[1]->{wr_bytes} < 9223372036854775808);
3996              
3997             # Deserializing field: 'errs'
3998             # my ($class, $value, $index, $input) = @_;
3999 0 0         die "Input buffer too short"
4000             if ($input_length - $_[2]) < 8;
4001 0           $_[1]->{errs} = unpack("q>", substr( $_[3], $_[2] ));
4002 0           $_[2] += 8;
4003             die "Out of bounds 'hyper': $_[1]->{errs}"
4004             unless (-9223372036854775808 <= $_[1]->{errs}
4005 0 0 0       and $_[1]->{errs} < 9223372036854775808);
4006             }
4007             # @_: ($class, $value, $index, $output) = @_;
4008             sub serialize_domain_block_stats_ret {
4009 0 0   0 0   croak "Missing required input 'struct' value"
4010             unless defined $_[1];
4011              
4012             # Serializing field: 'rd_req'
4013             croak "Missing required input value 'rd_req'"
4014 0 0         unless exists $_[1]->{rd_req};
4015             # my ($class, $value, $index, $output) = @_;
4016             croak "Missing required input 'long' value"
4017 0 0         unless defined $_[1]->{rd_req};
4018             die "Out of bounds 'hyper': $_[1]->{rd_req}"
4019             unless (-9223372036854775808 <= $_[1]->{rd_req}
4020 0 0 0       and $_[1]->{rd_req} < 9223372036854775808);
4021             die "Non-integer 'long' value given: $_[1]->{rd_req}"
4022 0 0         unless int($_[1]->{rd_req}) == $_[1]->{rd_req};
4023 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{rd_req});
4024 0           $_[2] += 8;
4025              
4026             # Serializing field: 'rd_bytes'
4027             croak "Missing required input value 'rd_bytes'"
4028 0 0         unless exists $_[1]->{rd_bytes};
4029             # my ($class, $value, $index, $output) = @_;
4030             croak "Missing required input 'long' value"
4031 0 0         unless defined $_[1]->{rd_bytes};
4032             die "Out of bounds 'hyper': $_[1]->{rd_bytes}"
4033             unless (-9223372036854775808 <= $_[1]->{rd_bytes}
4034 0 0 0       and $_[1]->{rd_bytes} < 9223372036854775808);
4035             die "Non-integer 'long' value given: $_[1]->{rd_bytes}"
4036 0 0         unless int($_[1]->{rd_bytes}) == $_[1]->{rd_bytes};
4037 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{rd_bytes});
4038 0           $_[2] += 8;
4039              
4040             # Serializing field: 'wr_req'
4041             croak "Missing required input value 'wr_req'"
4042 0 0         unless exists $_[1]->{wr_req};
4043             # my ($class, $value, $index, $output) = @_;
4044             croak "Missing required input 'long' value"
4045 0 0         unless defined $_[1]->{wr_req};
4046             die "Out of bounds 'hyper': $_[1]->{wr_req}"
4047             unless (-9223372036854775808 <= $_[1]->{wr_req}
4048 0 0 0       and $_[1]->{wr_req} < 9223372036854775808);
4049             die "Non-integer 'long' value given: $_[1]->{wr_req}"
4050 0 0         unless int($_[1]->{wr_req}) == $_[1]->{wr_req};
4051 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{wr_req});
4052 0           $_[2] += 8;
4053              
4054             # Serializing field: 'wr_bytes'
4055             croak "Missing required input value 'wr_bytes'"
4056 0 0         unless exists $_[1]->{wr_bytes};
4057             # my ($class, $value, $index, $output) = @_;
4058             croak "Missing required input 'long' value"
4059 0 0         unless defined $_[1]->{wr_bytes};
4060             die "Out of bounds 'hyper': $_[1]->{wr_bytes}"
4061             unless (-9223372036854775808 <= $_[1]->{wr_bytes}
4062 0 0 0       and $_[1]->{wr_bytes} < 9223372036854775808);
4063             die "Non-integer 'long' value given: $_[1]->{wr_bytes}"
4064 0 0         unless int($_[1]->{wr_bytes}) == $_[1]->{wr_bytes};
4065 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{wr_bytes});
4066 0           $_[2] += 8;
4067              
4068             # Serializing field: 'errs'
4069             croak "Missing required input value 'errs'"
4070 0 0         unless exists $_[1]->{errs};
4071             # my ($class, $value, $index, $output) = @_;
4072             croak "Missing required input 'long' value"
4073 0 0         unless defined $_[1]->{errs};
4074             die "Out of bounds 'hyper': $_[1]->{errs}"
4075             unless (-9223372036854775808 <= $_[1]->{errs}
4076 0 0 0       and $_[1]->{errs} < 9223372036854775808);
4077             die "Non-integer 'long' value given: $_[1]->{errs}"
4078 0 0         unless int($_[1]->{errs}) == $_[1]->{errs};
4079 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{errs});
4080 0           $_[2] += 8;
4081             }
4082             # @_: ($class, $value, $index, $input) = @_;
4083             sub deserialize_domain_block_stats_flags_args {
4084 0     0 0   my $input_length = length $_[3];
4085 0           $_[1] = {};
4086             # Deserializing field: 'dom'
4087             # my ($class, $value, $index, $input) = @_;
4088 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4089              
4090             # Deserializing field: 'path'
4091             # my ($class, $value, $index, $input) = @_;
4092 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
4093              
4094             # Deserializing field: 'nparams'
4095             # my ($class, $value, $index, $input) = @_;
4096 0 0         die "Input buffer too short"
4097             if ($input_length - $_[2]) < 4;
4098 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
4099 0           $_[2] += 4;
4100             die "Out of bounds 'int': $_[1]->{nparams}"
4101 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
4102              
4103             # Deserializing field: 'flags'
4104             # my ($class, $value, $index, $input) = @_;
4105 0 0         die "Input buffer too short"
4106             if ($input_length - $_[2]) < 4;
4107 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
4108 0           $_[2] += 4;
4109             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4110 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4111             }
4112             # @_: ($class, $value, $index, $output) = @_;
4113             sub serialize_domain_block_stats_flags_args {
4114 0 0   0 0   croak "Missing required input 'struct' value"
4115             unless defined $_[1];
4116              
4117             # Serializing field: 'dom'
4118             croak "Missing required input value 'dom'"
4119 0 0         unless exists $_[1]->{dom};
4120             # my ($class, $value, $index, $output) = @_;
4121 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4122              
4123             # Serializing field: 'path'
4124             croak "Missing required input value 'path'"
4125 0 0         unless exists $_[1]->{path};
4126             # my ($class, $value, $index, $output) = @_;
4127 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
4128              
4129             # Serializing field: 'nparams'
4130             croak "Missing required input value 'nparams'"
4131 0 0         unless exists $_[1]->{nparams};
4132             # my ($class, $value, $index, $output) = @_;
4133             croak "Missing required input 'int' value"
4134 0 0         unless defined $_[1]->{nparams};
4135             die "Out of bounds 'int': $_[1]->{nparams}"
4136 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
4137             die "Non-integer 'int' value given: $_[1]->{nparams}"
4138 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
4139 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
4140 0           $_[2] += 4;
4141              
4142             # Serializing field: 'flags'
4143             croak "Missing required input value 'flags'"
4144 0 0         unless exists $_[1]->{flags};
4145             # my ($class, $value, $index, $output) = @_;
4146             croak "Missing required input 'unsigned int' value"
4147 0 0         unless defined $_[1]->{flags};
4148             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4149 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4150             die "Non-integer 'int' value given: $_[1]->{flags}"
4151 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
4152 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
4153 0           $_[2] += 4;
4154             }
4155             # @_: ($class, $value, $index, $input) = @_;
4156             sub deserialize_domain_block_stats_flags_ret {
4157 0     0 0   my $input_length = length $_[3];
4158 0           $_[1] = {};
4159             # Deserializing field: 'params'
4160             # my ($class, $value, $index, $input) = @_;
4161 0           do {
4162 0 0         die "Input buffer too short"
4163             if ($input_length - $_[2]) < 4;
4164 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
4165 0           $_[2] += 4;
4166              
4167 0 0         die "Array too long (max: 16): $len"
4168             unless ($len <= 16);
4169 0           $_[1]->{params} = [];
4170 0           for my $i1 ( 0 .. ($len - 1) ) {
4171             # my ($class, $value, $index, $input) = @_;
4172 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
4173             }
4174             };
4175              
4176             # Deserializing field: 'nparams'
4177             # my ($class, $value, $index, $input) = @_;
4178 0 0         die "Input buffer too short"
4179             if ($input_length - $_[2]) < 4;
4180 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
4181 0           $_[2] += 4;
4182             die "Out of bounds 'int': $_[1]->{nparams}"
4183 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
4184             }
4185             # @_: ($class, $value, $index, $output) = @_;
4186             sub serialize_domain_block_stats_flags_ret {
4187 0 0   0 0   croak "Missing required input 'struct' value"
4188             unless defined $_[1];
4189              
4190             # Serializing field: 'params'
4191             croak "Missing required input value 'params'"
4192 0 0         unless exists $_[1]->{params};
4193             # my ($class, $value, $index, $output) = @_;
4194             croak "Missing required input 'array' value"
4195 0 0         unless defined $_[1]->{params};
4196 0           do {
4197 0           my $len = scalar @{ $_[1]->{params} };
  0            
4198 0 0         die "Array too long (max: 16): $len"
4199             unless ($len <= 16);
4200              
4201 0           substr( $_[3], $_[2] ) = pack("L>", $len);
4202 0           $_[2] += 4;
4203 0           for my $i1 ( 0 .. ($len - 1) ) {
4204             # my ($class, $value, $index, $output) = @_;
4205 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
4206             }
4207             };
4208              
4209             # Serializing field: 'nparams'
4210             croak "Missing required input value 'nparams'"
4211 0 0         unless exists $_[1]->{nparams};
4212             # my ($class, $value, $index, $output) = @_;
4213             croak "Missing required input 'int' value"
4214 0 0         unless defined $_[1]->{nparams};
4215             die "Out of bounds 'int': $_[1]->{nparams}"
4216 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
4217             die "Non-integer 'int' value given: $_[1]->{nparams}"
4218 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
4219 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
4220 0           $_[2] += 4;
4221             }
4222             # @_: ($class, $value, $index, $input) = @_;
4223             sub deserialize_domain_interface_stats_args {
4224 0     0 0   my $input_length = length $_[3];
4225 0           $_[1] = {};
4226             # Deserializing field: 'dom'
4227             # my ($class, $value, $index, $input) = @_;
4228 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4229              
4230             # Deserializing field: 'device'
4231             # my ($class, $value, $index, $input) = @_;
4232 0           $_[0]->deserialize_nonnull_string( $_[1]->{device}, $_[2], $_[3] );
4233             }
4234             # @_: ($class, $value, $index, $output) = @_;
4235             sub serialize_domain_interface_stats_args {
4236 0 0   0 0   croak "Missing required input 'struct' value"
4237             unless defined $_[1];
4238              
4239             # Serializing field: 'dom'
4240             croak "Missing required input value 'dom'"
4241 0 0         unless exists $_[1]->{dom};
4242             # my ($class, $value, $index, $output) = @_;
4243 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4244              
4245             # Serializing field: 'device'
4246             croak "Missing required input value 'device'"
4247 0 0         unless exists $_[1]->{device};
4248             # my ($class, $value, $index, $output) = @_;
4249 0           $_[0]->serialize_nonnull_string( $_[1]->{device}, $_[2], $_[3] );
4250             }
4251             # @_: ($class, $value, $index, $input) = @_;
4252             sub deserialize_domain_interface_stats_ret {
4253 0     0 0   my $input_length = length $_[3];
4254 0           $_[1] = {};
4255             # Deserializing field: 'rx_bytes'
4256             # my ($class, $value, $index, $input) = @_;
4257 0 0         die "Input buffer too short"
4258             if ($input_length - $_[2]) < 8;
4259 0           $_[1]->{rx_bytes} = unpack("q>", substr( $_[3], $_[2] ));
4260 0           $_[2] += 8;
4261             die "Out of bounds 'hyper': $_[1]->{rx_bytes}"
4262             unless (-9223372036854775808 <= $_[1]->{rx_bytes}
4263 0 0 0       and $_[1]->{rx_bytes} < 9223372036854775808);
4264              
4265             # Deserializing field: 'rx_packets'
4266             # my ($class, $value, $index, $input) = @_;
4267 0 0         die "Input buffer too short"
4268             if ($input_length - $_[2]) < 8;
4269 0           $_[1]->{rx_packets} = unpack("q>", substr( $_[3], $_[2] ));
4270 0           $_[2] += 8;
4271             die "Out of bounds 'hyper': $_[1]->{rx_packets}"
4272             unless (-9223372036854775808 <= $_[1]->{rx_packets}
4273 0 0 0       and $_[1]->{rx_packets} < 9223372036854775808);
4274              
4275             # Deserializing field: 'rx_errs'
4276             # my ($class, $value, $index, $input) = @_;
4277 0 0         die "Input buffer too short"
4278             if ($input_length - $_[2]) < 8;
4279 0           $_[1]->{rx_errs} = unpack("q>", substr( $_[3], $_[2] ));
4280 0           $_[2] += 8;
4281             die "Out of bounds 'hyper': $_[1]->{rx_errs}"
4282             unless (-9223372036854775808 <= $_[1]->{rx_errs}
4283 0 0 0       and $_[1]->{rx_errs} < 9223372036854775808);
4284              
4285             # Deserializing field: 'rx_drop'
4286             # my ($class, $value, $index, $input) = @_;
4287 0 0         die "Input buffer too short"
4288             if ($input_length - $_[2]) < 8;
4289 0           $_[1]->{rx_drop} = unpack("q>", substr( $_[3], $_[2] ));
4290 0           $_[2] += 8;
4291             die "Out of bounds 'hyper': $_[1]->{rx_drop}"
4292             unless (-9223372036854775808 <= $_[1]->{rx_drop}
4293 0 0 0       and $_[1]->{rx_drop} < 9223372036854775808);
4294              
4295             # Deserializing field: 'tx_bytes'
4296             # my ($class, $value, $index, $input) = @_;
4297 0 0         die "Input buffer too short"
4298             if ($input_length - $_[2]) < 8;
4299 0           $_[1]->{tx_bytes} = unpack("q>", substr( $_[3], $_[2] ));
4300 0           $_[2] += 8;
4301             die "Out of bounds 'hyper': $_[1]->{tx_bytes}"
4302             unless (-9223372036854775808 <= $_[1]->{tx_bytes}
4303 0 0 0       and $_[1]->{tx_bytes} < 9223372036854775808);
4304              
4305             # Deserializing field: 'tx_packets'
4306             # my ($class, $value, $index, $input) = @_;
4307 0 0         die "Input buffer too short"
4308             if ($input_length - $_[2]) < 8;
4309 0           $_[1]->{tx_packets} = unpack("q>", substr( $_[3], $_[2] ));
4310 0           $_[2] += 8;
4311             die "Out of bounds 'hyper': $_[1]->{tx_packets}"
4312             unless (-9223372036854775808 <= $_[1]->{tx_packets}
4313 0 0 0       and $_[1]->{tx_packets} < 9223372036854775808);
4314              
4315             # Deserializing field: 'tx_errs'
4316             # my ($class, $value, $index, $input) = @_;
4317 0 0         die "Input buffer too short"
4318             if ($input_length - $_[2]) < 8;
4319 0           $_[1]->{tx_errs} = unpack("q>", substr( $_[3], $_[2] ));
4320 0           $_[2] += 8;
4321             die "Out of bounds 'hyper': $_[1]->{tx_errs}"
4322             unless (-9223372036854775808 <= $_[1]->{tx_errs}
4323 0 0 0       and $_[1]->{tx_errs} < 9223372036854775808);
4324              
4325             # Deserializing field: 'tx_drop'
4326             # my ($class, $value, $index, $input) = @_;
4327 0 0         die "Input buffer too short"
4328             if ($input_length - $_[2]) < 8;
4329 0           $_[1]->{tx_drop} = unpack("q>", substr( $_[3], $_[2] ));
4330 0           $_[2] += 8;
4331             die "Out of bounds 'hyper': $_[1]->{tx_drop}"
4332             unless (-9223372036854775808 <= $_[1]->{tx_drop}
4333 0 0 0       and $_[1]->{tx_drop} < 9223372036854775808);
4334             }
4335             # @_: ($class, $value, $index, $output) = @_;
4336             sub serialize_domain_interface_stats_ret {
4337 0 0   0 0   croak "Missing required input 'struct' value"
4338             unless defined $_[1];
4339              
4340             # Serializing field: 'rx_bytes'
4341             croak "Missing required input value 'rx_bytes'"
4342 0 0         unless exists $_[1]->{rx_bytes};
4343             # my ($class, $value, $index, $output) = @_;
4344             croak "Missing required input 'long' value"
4345 0 0         unless defined $_[1]->{rx_bytes};
4346             die "Out of bounds 'hyper': $_[1]->{rx_bytes}"
4347             unless (-9223372036854775808 <= $_[1]->{rx_bytes}
4348 0 0 0       and $_[1]->{rx_bytes} < 9223372036854775808);
4349             die "Non-integer 'long' value given: $_[1]->{rx_bytes}"
4350 0 0         unless int($_[1]->{rx_bytes}) == $_[1]->{rx_bytes};
4351 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{rx_bytes});
4352 0           $_[2] += 8;
4353              
4354             # Serializing field: 'rx_packets'
4355             croak "Missing required input value 'rx_packets'"
4356 0 0         unless exists $_[1]->{rx_packets};
4357             # my ($class, $value, $index, $output) = @_;
4358             croak "Missing required input 'long' value"
4359 0 0         unless defined $_[1]->{rx_packets};
4360             die "Out of bounds 'hyper': $_[1]->{rx_packets}"
4361             unless (-9223372036854775808 <= $_[1]->{rx_packets}
4362 0 0 0       and $_[1]->{rx_packets} < 9223372036854775808);
4363             die "Non-integer 'long' value given: $_[1]->{rx_packets}"
4364 0 0         unless int($_[1]->{rx_packets}) == $_[1]->{rx_packets};
4365 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{rx_packets});
4366 0           $_[2] += 8;
4367              
4368             # Serializing field: 'rx_errs'
4369             croak "Missing required input value 'rx_errs'"
4370 0 0         unless exists $_[1]->{rx_errs};
4371             # my ($class, $value, $index, $output) = @_;
4372             croak "Missing required input 'long' value"
4373 0 0         unless defined $_[1]->{rx_errs};
4374             die "Out of bounds 'hyper': $_[1]->{rx_errs}"
4375             unless (-9223372036854775808 <= $_[1]->{rx_errs}
4376 0 0 0       and $_[1]->{rx_errs} < 9223372036854775808);
4377             die "Non-integer 'long' value given: $_[1]->{rx_errs}"
4378 0 0         unless int($_[1]->{rx_errs}) == $_[1]->{rx_errs};
4379 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{rx_errs});
4380 0           $_[2] += 8;
4381              
4382             # Serializing field: 'rx_drop'
4383             croak "Missing required input value 'rx_drop'"
4384 0 0         unless exists $_[1]->{rx_drop};
4385             # my ($class, $value, $index, $output) = @_;
4386             croak "Missing required input 'long' value"
4387 0 0         unless defined $_[1]->{rx_drop};
4388             die "Out of bounds 'hyper': $_[1]->{rx_drop}"
4389             unless (-9223372036854775808 <= $_[1]->{rx_drop}
4390 0 0 0       and $_[1]->{rx_drop} < 9223372036854775808);
4391             die "Non-integer 'long' value given: $_[1]->{rx_drop}"
4392 0 0         unless int($_[1]->{rx_drop}) == $_[1]->{rx_drop};
4393 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{rx_drop});
4394 0           $_[2] += 8;
4395              
4396             # Serializing field: 'tx_bytes'
4397             croak "Missing required input value 'tx_bytes'"
4398 0 0         unless exists $_[1]->{tx_bytes};
4399             # my ($class, $value, $index, $output) = @_;
4400             croak "Missing required input 'long' value"
4401 0 0         unless defined $_[1]->{tx_bytes};
4402             die "Out of bounds 'hyper': $_[1]->{tx_bytes}"
4403             unless (-9223372036854775808 <= $_[1]->{tx_bytes}
4404 0 0 0       and $_[1]->{tx_bytes} < 9223372036854775808);
4405             die "Non-integer 'long' value given: $_[1]->{tx_bytes}"
4406 0 0         unless int($_[1]->{tx_bytes}) == $_[1]->{tx_bytes};
4407 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{tx_bytes});
4408 0           $_[2] += 8;
4409              
4410             # Serializing field: 'tx_packets'
4411             croak "Missing required input value 'tx_packets'"
4412 0 0         unless exists $_[1]->{tx_packets};
4413             # my ($class, $value, $index, $output) = @_;
4414             croak "Missing required input 'long' value"
4415 0 0         unless defined $_[1]->{tx_packets};
4416             die "Out of bounds 'hyper': $_[1]->{tx_packets}"
4417             unless (-9223372036854775808 <= $_[1]->{tx_packets}
4418 0 0 0       and $_[1]->{tx_packets} < 9223372036854775808);
4419             die "Non-integer 'long' value given: $_[1]->{tx_packets}"
4420 0 0         unless int($_[1]->{tx_packets}) == $_[1]->{tx_packets};
4421 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{tx_packets});
4422 0           $_[2] += 8;
4423              
4424             # Serializing field: 'tx_errs'
4425             croak "Missing required input value 'tx_errs'"
4426 0 0         unless exists $_[1]->{tx_errs};
4427             # my ($class, $value, $index, $output) = @_;
4428             croak "Missing required input 'long' value"
4429 0 0         unless defined $_[1]->{tx_errs};
4430             die "Out of bounds 'hyper': $_[1]->{tx_errs}"
4431             unless (-9223372036854775808 <= $_[1]->{tx_errs}
4432 0 0 0       and $_[1]->{tx_errs} < 9223372036854775808);
4433             die "Non-integer 'long' value given: $_[1]->{tx_errs}"
4434 0 0         unless int($_[1]->{tx_errs}) == $_[1]->{tx_errs};
4435 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{tx_errs});
4436 0           $_[2] += 8;
4437              
4438             # Serializing field: 'tx_drop'
4439             croak "Missing required input value 'tx_drop'"
4440 0 0         unless exists $_[1]->{tx_drop};
4441             # my ($class, $value, $index, $output) = @_;
4442             croak "Missing required input 'long' value"
4443 0 0         unless defined $_[1]->{tx_drop};
4444             die "Out of bounds 'hyper': $_[1]->{tx_drop}"
4445             unless (-9223372036854775808 <= $_[1]->{tx_drop}
4446 0 0 0       and $_[1]->{tx_drop} < 9223372036854775808);
4447             die "Non-integer 'long' value given: $_[1]->{tx_drop}"
4448 0 0         unless int($_[1]->{tx_drop}) == $_[1]->{tx_drop};
4449 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{tx_drop});
4450 0           $_[2] += 8;
4451             }
4452             # @_: ($class, $value, $index, $input) = @_;
4453             sub deserialize_domain_set_interface_parameters_args {
4454 0     0 0   my $input_length = length $_[3];
4455 0           $_[1] = {};
4456             # Deserializing field: 'dom'
4457             # my ($class, $value, $index, $input) = @_;
4458 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4459              
4460             # Deserializing field: 'device'
4461             # my ($class, $value, $index, $input) = @_;
4462 0           $_[0]->deserialize_nonnull_string( $_[1]->{device}, $_[2], $_[3] );
4463              
4464             # Deserializing field: 'params'
4465             # my ($class, $value, $index, $input) = @_;
4466 0           do {
4467 0 0         die "Input buffer too short"
4468             if ($input_length - $_[2]) < 4;
4469 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
4470 0           $_[2] += 4;
4471              
4472 0 0         die "Array too long (max: 16): $len"
4473             unless ($len <= 16);
4474 0           $_[1]->{params} = [];
4475 0           for my $i1 ( 0 .. ($len - 1) ) {
4476             # my ($class, $value, $index, $input) = @_;
4477 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
4478             }
4479             };
4480              
4481             # Deserializing field: 'flags'
4482             # my ($class, $value, $index, $input) = @_;
4483 0 0         die "Input buffer too short"
4484             if ($input_length - $_[2]) < 4;
4485 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
4486 0           $_[2] += 4;
4487             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4488 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4489             }
4490             # @_: ($class, $value, $index, $output) = @_;
4491             sub serialize_domain_set_interface_parameters_args {
4492 0 0   0 0   croak "Missing required input 'struct' value"
4493             unless defined $_[1];
4494              
4495             # Serializing field: 'dom'
4496             croak "Missing required input value 'dom'"
4497 0 0         unless exists $_[1]->{dom};
4498             # my ($class, $value, $index, $output) = @_;
4499 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4500              
4501             # Serializing field: 'device'
4502             croak "Missing required input value 'device'"
4503 0 0         unless exists $_[1]->{device};
4504             # my ($class, $value, $index, $output) = @_;
4505 0           $_[0]->serialize_nonnull_string( $_[1]->{device}, $_[2], $_[3] );
4506              
4507             # Serializing field: 'params'
4508             croak "Missing required input value 'params'"
4509 0 0         unless exists $_[1]->{params};
4510             # my ($class, $value, $index, $output) = @_;
4511             croak "Missing required input 'array' value"
4512 0 0         unless defined $_[1]->{params};
4513 0           do {
4514 0           my $len = scalar @{ $_[1]->{params} };
  0            
4515 0 0         die "Array too long (max: 16): $len"
4516             unless ($len <= 16);
4517              
4518 0           substr( $_[3], $_[2] ) = pack("L>", $len);
4519 0           $_[2] += 4;
4520 0           for my $i1 ( 0 .. ($len - 1) ) {
4521             # my ($class, $value, $index, $output) = @_;
4522 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
4523             }
4524             };
4525              
4526             # Serializing field: 'flags'
4527             croak "Missing required input value 'flags'"
4528 0 0         unless exists $_[1]->{flags};
4529             # my ($class, $value, $index, $output) = @_;
4530             croak "Missing required input 'unsigned int' value"
4531 0 0         unless defined $_[1]->{flags};
4532             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4533 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4534             die "Non-integer 'int' value given: $_[1]->{flags}"
4535 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
4536 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
4537 0           $_[2] += 4;
4538             }
4539             # @_: ($class, $value, $index, $input) = @_;
4540             sub deserialize_domain_get_interface_parameters_args {
4541 0     0 0   my $input_length = length $_[3];
4542 0           $_[1] = {};
4543             # Deserializing field: 'dom'
4544             # my ($class, $value, $index, $input) = @_;
4545 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4546              
4547             # Deserializing field: 'device'
4548             # my ($class, $value, $index, $input) = @_;
4549 0           $_[0]->deserialize_nonnull_string( $_[1]->{device}, $_[2], $_[3] );
4550              
4551             # Deserializing field: 'nparams'
4552             # my ($class, $value, $index, $input) = @_;
4553 0 0         die "Input buffer too short"
4554             if ($input_length - $_[2]) < 4;
4555 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
4556 0           $_[2] += 4;
4557             die "Out of bounds 'int': $_[1]->{nparams}"
4558 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
4559              
4560             # Deserializing field: 'flags'
4561             # my ($class, $value, $index, $input) = @_;
4562 0 0         die "Input buffer too short"
4563             if ($input_length - $_[2]) < 4;
4564 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
4565 0           $_[2] += 4;
4566             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4567 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4568             }
4569             # @_: ($class, $value, $index, $output) = @_;
4570             sub serialize_domain_get_interface_parameters_args {
4571 0 0   0 0   croak "Missing required input 'struct' value"
4572             unless defined $_[1];
4573              
4574             # Serializing field: 'dom'
4575             croak "Missing required input value 'dom'"
4576 0 0         unless exists $_[1]->{dom};
4577             # my ($class, $value, $index, $output) = @_;
4578 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4579              
4580             # Serializing field: 'device'
4581             croak "Missing required input value 'device'"
4582 0 0         unless exists $_[1]->{device};
4583             # my ($class, $value, $index, $output) = @_;
4584 0           $_[0]->serialize_nonnull_string( $_[1]->{device}, $_[2], $_[3] );
4585              
4586             # Serializing field: 'nparams'
4587             croak "Missing required input value 'nparams'"
4588 0 0         unless exists $_[1]->{nparams};
4589             # my ($class, $value, $index, $output) = @_;
4590             croak "Missing required input 'int' value"
4591 0 0         unless defined $_[1]->{nparams};
4592             die "Out of bounds 'int': $_[1]->{nparams}"
4593 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
4594             die "Non-integer 'int' value given: $_[1]->{nparams}"
4595 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
4596 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
4597 0           $_[2] += 4;
4598              
4599             # Serializing field: 'flags'
4600             croak "Missing required input value 'flags'"
4601 0 0         unless exists $_[1]->{flags};
4602             # my ($class, $value, $index, $output) = @_;
4603             croak "Missing required input 'unsigned int' value"
4604 0 0         unless defined $_[1]->{flags};
4605             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4606 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4607             die "Non-integer 'int' value given: $_[1]->{flags}"
4608 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
4609 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
4610 0           $_[2] += 4;
4611             }
4612             # @_: ($class, $value, $index, $input) = @_;
4613             sub deserialize_domain_get_interface_parameters_ret {
4614 0     0 0   my $input_length = length $_[3];
4615 0           $_[1] = {};
4616             # Deserializing field: 'params'
4617             # my ($class, $value, $index, $input) = @_;
4618 0           do {
4619 0 0         die "Input buffer too short"
4620             if ($input_length - $_[2]) < 4;
4621 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
4622 0           $_[2] += 4;
4623              
4624 0 0         die "Array too long (max: 16): $len"
4625             unless ($len <= 16);
4626 0           $_[1]->{params} = [];
4627 0           for my $i1 ( 0 .. ($len - 1) ) {
4628             # my ($class, $value, $index, $input) = @_;
4629 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
4630             }
4631             };
4632              
4633             # Deserializing field: 'nparams'
4634             # my ($class, $value, $index, $input) = @_;
4635 0 0         die "Input buffer too short"
4636             if ($input_length - $_[2]) < 4;
4637 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
4638 0           $_[2] += 4;
4639             die "Out of bounds 'int': $_[1]->{nparams}"
4640 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
4641             }
4642             # @_: ($class, $value, $index, $output) = @_;
4643             sub serialize_domain_get_interface_parameters_ret {
4644 0 0   0 0   croak "Missing required input 'struct' value"
4645             unless defined $_[1];
4646              
4647             # Serializing field: 'params'
4648             croak "Missing required input value 'params'"
4649 0 0         unless exists $_[1]->{params};
4650             # my ($class, $value, $index, $output) = @_;
4651             croak "Missing required input 'array' value"
4652 0 0         unless defined $_[1]->{params};
4653 0           do {
4654 0           my $len = scalar @{ $_[1]->{params} };
  0            
4655 0 0         die "Array too long (max: 16): $len"
4656             unless ($len <= 16);
4657              
4658 0           substr( $_[3], $_[2] ) = pack("L>", $len);
4659 0           $_[2] += 4;
4660 0           for my $i1 ( 0 .. ($len - 1) ) {
4661             # my ($class, $value, $index, $output) = @_;
4662 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
4663             }
4664             };
4665              
4666             # Serializing field: 'nparams'
4667             croak "Missing required input value 'nparams'"
4668 0 0         unless exists $_[1]->{nparams};
4669             # my ($class, $value, $index, $output) = @_;
4670             croak "Missing required input 'int' value"
4671 0 0         unless defined $_[1]->{nparams};
4672             die "Out of bounds 'int': $_[1]->{nparams}"
4673 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
4674             die "Non-integer 'int' value given: $_[1]->{nparams}"
4675 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
4676 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
4677 0           $_[2] += 4;
4678             }
4679             # @_: ($class, $value, $index, $input) = @_;
4680             sub deserialize_domain_memory_stats_args {
4681 0     0 0   my $input_length = length $_[3];
4682 0           $_[1] = {};
4683             # Deserializing field: 'dom'
4684             # my ($class, $value, $index, $input) = @_;
4685 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4686              
4687             # Deserializing field: 'maxStats'
4688             # my ($class, $value, $index, $input) = @_;
4689 0 0         die "Input buffer too short"
4690             if ($input_length - $_[2]) < 4;
4691 0           $_[1]->{maxStats} = unpack("L>", substr( $_[3], $_[2] ));
4692 0           $_[2] += 4;
4693             die "Out of bounds 'unsigned int': $_[1]->{maxStats}"
4694 0 0 0       unless (0 <= $_[1]->{maxStats} and $_[1]->{maxStats} <= 4294967295);
4695              
4696             # Deserializing field: 'flags'
4697             # my ($class, $value, $index, $input) = @_;
4698 0 0         die "Input buffer too short"
4699             if ($input_length - $_[2]) < 4;
4700 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
4701 0           $_[2] += 4;
4702             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4703 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4704             }
4705             # @_: ($class, $value, $index, $output) = @_;
4706             sub serialize_domain_memory_stats_args {
4707 0 0   0 0   croak "Missing required input 'struct' value"
4708             unless defined $_[1];
4709              
4710             # Serializing field: 'dom'
4711             croak "Missing required input value 'dom'"
4712 0 0         unless exists $_[1]->{dom};
4713             # my ($class, $value, $index, $output) = @_;
4714 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4715              
4716             # Serializing field: 'maxStats'
4717             croak "Missing required input value 'maxStats'"
4718 0 0         unless exists $_[1]->{maxStats};
4719             # my ($class, $value, $index, $output) = @_;
4720             croak "Missing required input 'unsigned int' value"
4721 0 0         unless defined $_[1]->{maxStats};
4722             die "Out of bounds 'unsigned int': $_[1]->{maxStats}"
4723 0 0 0       unless (0 <= $_[1]->{maxStats} and $_[1]->{maxStats} <= 4294967295);
4724             die "Non-integer 'int' value given: $_[1]->{maxStats}"
4725 0 0         unless int($_[1]->{maxStats}) == $_[1]->{maxStats};
4726 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{maxStats});
4727 0           $_[2] += 4;
4728              
4729             # Serializing field: 'flags'
4730             croak "Missing required input value 'flags'"
4731 0 0         unless exists $_[1]->{flags};
4732             # my ($class, $value, $index, $output) = @_;
4733             croak "Missing required input 'unsigned int' value"
4734 0 0         unless defined $_[1]->{flags};
4735             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4736 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4737             die "Non-integer 'int' value given: $_[1]->{flags}"
4738 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
4739 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
4740 0           $_[2] += 4;
4741             }
4742             # @_: ($class, $value, $index, $input) = @_;
4743             sub deserialize_domain_memory_stat {
4744 0     0 0   my $input_length = length $_[3];
4745 0           $_[1] = {};
4746             # Deserializing field: 'tag'
4747             # my ($class, $value, $index, $input) = @_;
4748 0 0         die "Input buffer too short"
4749             if ($input_length - $_[2]) < 4;
4750 0           $_[1]->{tag} = unpack("l>", substr( $_[3], $_[2] ));
4751 0           $_[2] += 4;
4752             die "Out of bounds 'int': $_[1]->{tag}"
4753 0 0 0       unless (-2147483648 <= $_[1]->{tag} and $_[1]->{tag} < 2147483648);
4754              
4755             # Deserializing field: 'val'
4756             # my ($class, $value, $index, $input) = @_;
4757 0 0         die "Input buffer too short"
4758             if ($input_length - $_[2]) < 8;
4759 0           $_[1]->{val} = unpack("Q>", substr( $_[3], $_[2] ));
4760 0           $_[2] += 8;
4761             die "Out of bounds 'unsigned hyper': $_[1]->{val}"
4762             unless (0 <= $_[1]->{val}
4763 0 0 0       and $_[1]->{val} <= 18446744073709551615);
4764             }
4765             # @_: ($class, $value, $index, $output) = @_;
4766             sub serialize_domain_memory_stat {
4767 0 0   0 0   croak "Missing required input 'struct' value"
4768             unless defined $_[1];
4769              
4770             # Serializing field: 'tag'
4771             croak "Missing required input value 'tag'"
4772 0 0         unless exists $_[1]->{tag};
4773             # my ($class, $value, $index, $output) = @_;
4774             croak "Missing required input 'int' value"
4775 0 0         unless defined $_[1]->{tag};
4776             die "Out of bounds 'int': $_[1]->{tag}"
4777 0 0 0       unless (-2147483648 <= $_[1]->{tag} and $_[1]->{tag} < 2147483648);
4778             die "Non-integer 'int' value given: $_[1]->{tag}"
4779 0 0         unless int($_[1]->{tag}) == $_[1]->{tag};
4780 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{tag});
4781 0           $_[2] += 4;
4782              
4783             # Serializing field: 'val'
4784             croak "Missing required input value 'val'"
4785 0 0         unless exists $_[1]->{val};
4786             # my ($class, $value, $index, $output) = @_;
4787             croak "Missing required input 'unsigned long' value"
4788 0 0         unless defined $_[1]->{val};
4789             die "Out of bounds 'unsigned hyper': $_[1]->{val}"
4790             unless (0 <= $_[1]->{val}
4791 0 0 0       and $_[1]->{val} <= 18446744073709551615);
4792             die "Non-integer 'long' value given: $_[1]->{val}"
4793 0 0         unless int($_[1]->{val}) == $_[1]->{val};
4794 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{val});
4795 0           $_[2] += 8;
4796             }
4797             # @_: ($class, $value, $index, $input) = @_;
4798             sub deserialize_domain_memory_stats_ret {
4799 0     0 0   my $input_length = length $_[3];
4800 0           $_[1] = {};
4801             # Deserializing field: 'stats'
4802             # my ($class, $value, $index, $input) = @_;
4803 0           do {
4804 0 0         die "Input buffer too short"
4805             if ($input_length - $_[2]) < 4;
4806 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
4807 0           $_[2] += 4;
4808              
4809 0 0         die "Array too long (max: 1024): $len"
4810             unless ($len <= 1024);
4811 0           $_[1]->{stats} = [];
4812 0           for my $i1 ( 0 .. ($len - 1) ) {
4813             # my ($class, $value, $index, $input) = @_;
4814 0           $_[0]->deserialize_domain_memory_stat( $_[1]->{stats}->[$i1], $_[2], $_[3] );
4815             }
4816             };
4817             }
4818             # @_: ($class, $value, $index, $output) = @_;
4819             sub serialize_domain_memory_stats_ret {
4820 0 0   0 0   croak "Missing required input 'struct' value"
4821             unless defined $_[1];
4822              
4823             # Serializing field: 'stats'
4824             croak "Missing required input value 'stats'"
4825 0 0         unless exists $_[1]->{stats};
4826             # my ($class, $value, $index, $output) = @_;
4827             croak "Missing required input 'array' value"
4828 0 0         unless defined $_[1]->{stats};
4829 0           do {
4830 0           my $len = scalar @{ $_[1]->{stats} };
  0            
4831 0 0         die "Array too long (max: 1024): $len"
4832             unless ($len <= 1024);
4833              
4834 0           substr( $_[3], $_[2] ) = pack("L>", $len);
4835 0           $_[2] += 4;
4836 0           for my $i1 ( 0 .. ($len - 1) ) {
4837             # my ($class, $value, $index, $output) = @_;
4838 0           $_[0]->serialize_domain_memory_stat( $_[1]->{stats}->[$i1], $_[2], $_[3] );
4839             }
4840             };
4841             }
4842             # @_: ($class, $value, $index, $input) = @_;
4843             sub deserialize_domain_block_peek_args {
4844 0     0 0   my $input_length = length $_[3];
4845 0           $_[1] = {};
4846             # Deserializing field: 'dom'
4847             # my ($class, $value, $index, $input) = @_;
4848 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4849              
4850             # Deserializing field: 'path'
4851             # my ($class, $value, $index, $input) = @_;
4852 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
4853              
4854             # Deserializing field: 'offset'
4855             # my ($class, $value, $index, $input) = @_;
4856 0 0         die "Input buffer too short"
4857             if ($input_length - $_[2]) < 8;
4858 0           $_[1]->{offset} = unpack("Q>", substr( $_[3], $_[2] ));
4859 0           $_[2] += 8;
4860             die "Out of bounds 'unsigned hyper': $_[1]->{offset}"
4861             unless (0 <= $_[1]->{offset}
4862 0 0 0       and $_[1]->{offset} <= 18446744073709551615);
4863              
4864             # Deserializing field: 'size'
4865             # my ($class, $value, $index, $input) = @_;
4866 0 0         die "Input buffer too short"
4867             if ($input_length - $_[2]) < 4;
4868 0           $_[1]->{size} = unpack("L>", substr( $_[3], $_[2] ));
4869 0           $_[2] += 4;
4870             die "Out of bounds 'unsigned int': $_[1]->{size}"
4871 0 0 0       unless (0 <= $_[1]->{size} and $_[1]->{size} <= 4294967295);
4872              
4873             # Deserializing field: 'flags'
4874             # my ($class, $value, $index, $input) = @_;
4875 0 0         die "Input buffer too short"
4876             if ($input_length - $_[2]) < 4;
4877 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
4878 0           $_[2] += 4;
4879             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4880 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4881             }
4882             # @_: ($class, $value, $index, $output) = @_;
4883             sub serialize_domain_block_peek_args {
4884 0 0   0 0   croak "Missing required input 'struct' value"
4885             unless defined $_[1];
4886              
4887             # Serializing field: 'dom'
4888             croak "Missing required input value 'dom'"
4889 0 0         unless exists $_[1]->{dom};
4890             # my ($class, $value, $index, $output) = @_;
4891 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4892              
4893             # Serializing field: 'path'
4894             croak "Missing required input value 'path'"
4895 0 0         unless exists $_[1]->{path};
4896             # my ($class, $value, $index, $output) = @_;
4897 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
4898              
4899             # Serializing field: 'offset'
4900             croak "Missing required input value 'offset'"
4901 0 0         unless exists $_[1]->{offset};
4902             # my ($class, $value, $index, $output) = @_;
4903             croak "Missing required input 'unsigned long' value"
4904 0 0         unless defined $_[1]->{offset};
4905             die "Out of bounds 'unsigned hyper': $_[1]->{offset}"
4906             unless (0 <= $_[1]->{offset}
4907 0 0 0       and $_[1]->{offset} <= 18446744073709551615);
4908             die "Non-integer 'long' value given: $_[1]->{offset}"
4909 0 0         unless int($_[1]->{offset}) == $_[1]->{offset};
4910 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{offset});
4911 0           $_[2] += 8;
4912              
4913             # Serializing field: 'size'
4914             croak "Missing required input value 'size'"
4915 0 0         unless exists $_[1]->{size};
4916             # my ($class, $value, $index, $output) = @_;
4917             croak "Missing required input 'unsigned int' value"
4918 0 0         unless defined $_[1]->{size};
4919             die "Out of bounds 'unsigned int': $_[1]->{size}"
4920 0 0 0       unless (0 <= $_[1]->{size} and $_[1]->{size} <= 4294967295);
4921             die "Non-integer 'int' value given: $_[1]->{size}"
4922 0 0         unless int($_[1]->{size}) == $_[1]->{size};
4923 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{size});
4924 0           $_[2] += 4;
4925              
4926             # Serializing field: 'flags'
4927             croak "Missing required input value 'flags'"
4928 0 0         unless exists $_[1]->{flags};
4929             # my ($class, $value, $index, $output) = @_;
4930             croak "Missing required input 'unsigned int' value"
4931 0 0         unless defined $_[1]->{flags};
4932             die "Out of bounds 'unsigned int': $_[1]->{flags}"
4933 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
4934             die "Non-integer 'int' value given: $_[1]->{flags}"
4935 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
4936 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
4937 0           $_[2] += 4;
4938             }
4939             # @_: ($class, $value, $index, $input) = @_;
4940             sub deserialize_domain_block_peek_ret {
4941 0     0 0   my $input_length = length $_[3];
4942 0           $_[1] = {};
4943             # Deserializing field: 'buffer'
4944             # my ($class, $value, $index, $input) = @_;
4945 0           do {
4946 0 0         die "Input buffer too short"
4947             if ($input_length - $_[2]) < 4;
4948 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
4949 0           $_[2] += 4;
4950 0 0         die "Opaque data too long (max: 4194304): $len"
4951             unless ($len <= 4194304);
4952 0 0         die "Input buffer too short"
4953             if ($input_length - $_[2]) < $len;
4954 0           $_[1]->{buffer} = substr( $_[3], $_[2], $len );
4955 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
4956             };
4957             }
4958             # @_: ($class, $value, $index, $output) = @_;
4959             sub serialize_domain_block_peek_ret {
4960 0 0   0 0   croak "Missing required input 'struct' value"
4961             unless defined $_[1];
4962              
4963             # Serializing field: 'buffer'
4964             croak "Missing required input value 'buffer'"
4965 0 0         unless exists $_[1]->{buffer};
4966             # my ($class, $value, $index, $output) = @_;
4967             croak "Missing required input 'opaque data' value"
4968 0 0         unless defined $_[1]->{buffer};
4969 0           do {
4970 0           my $len = length $_[1]->{buffer};
4971 0 0         die "Opaque data too long (max: 4194304): $len"
4972             unless ($len <= 4194304);
4973              
4974 0           substr( $_[3], $_[2] ) = pack("L>", $len);
4975 0           $_[2] += 4;
4976 0           substr( $_[3], $_[2] ) = $_[1]->{buffer};
4977 0           $_[2] += $len;
4978 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
4979 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
4980 0           $_[2] += $pad;
4981             }
4982             };
4983             }
4984             # @_: ($class, $value, $index, $input) = @_;
4985             sub deserialize_domain_memory_peek_args {
4986 0     0 0   my $input_length = length $_[3];
4987 0           $_[1] = {};
4988             # Deserializing field: 'dom'
4989             # my ($class, $value, $index, $input) = @_;
4990 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
4991              
4992             # Deserializing field: 'offset'
4993             # my ($class, $value, $index, $input) = @_;
4994 0 0         die "Input buffer too short"
4995             if ($input_length - $_[2]) < 8;
4996 0           $_[1]->{offset} = unpack("Q>", substr( $_[3], $_[2] ));
4997 0           $_[2] += 8;
4998             die "Out of bounds 'unsigned hyper': $_[1]->{offset}"
4999             unless (0 <= $_[1]->{offset}
5000 0 0 0       and $_[1]->{offset} <= 18446744073709551615);
5001              
5002             # Deserializing field: 'size'
5003             # my ($class, $value, $index, $input) = @_;
5004 0 0         die "Input buffer too short"
5005             if ($input_length - $_[2]) < 4;
5006 0           $_[1]->{size} = unpack("L>", substr( $_[3], $_[2] ));
5007 0           $_[2] += 4;
5008             die "Out of bounds 'unsigned int': $_[1]->{size}"
5009 0 0 0       unless (0 <= $_[1]->{size} and $_[1]->{size} <= 4294967295);
5010              
5011             # Deserializing field: 'flags'
5012             # my ($class, $value, $index, $input) = @_;
5013 0 0         die "Input buffer too short"
5014             if ($input_length - $_[2]) < 4;
5015 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5016 0           $_[2] += 4;
5017             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5018 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5019             }
5020             # @_: ($class, $value, $index, $output) = @_;
5021             sub serialize_domain_memory_peek_args {
5022 0 0   0 0   croak "Missing required input 'struct' value"
5023             unless defined $_[1];
5024              
5025             # Serializing field: 'dom'
5026             croak "Missing required input value 'dom'"
5027 0 0         unless exists $_[1]->{dom};
5028             # my ($class, $value, $index, $output) = @_;
5029 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5030              
5031             # Serializing field: 'offset'
5032             croak "Missing required input value 'offset'"
5033 0 0         unless exists $_[1]->{offset};
5034             # my ($class, $value, $index, $output) = @_;
5035             croak "Missing required input 'unsigned long' value"
5036 0 0         unless defined $_[1]->{offset};
5037             die "Out of bounds 'unsigned hyper': $_[1]->{offset}"
5038             unless (0 <= $_[1]->{offset}
5039 0 0 0       and $_[1]->{offset} <= 18446744073709551615);
5040             die "Non-integer 'long' value given: $_[1]->{offset}"
5041 0 0         unless int($_[1]->{offset}) == $_[1]->{offset};
5042 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{offset});
5043 0           $_[2] += 8;
5044              
5045             # Serializing field: 'size'
5046             croak "Missing required input value 'size'"
5047 0 0         unless exists $_[1]->{size};
5048             # my ($class, $value, $index, $output) = @_;
5049             croak "Missing required input 'unsigned int' value"
5050 0 0         unless defined $_[1]->{size};
5051             die "Out of bounds 'unsigned int': $_[1]->{size}"
5052 0 0 0       unless (0 <= $_[1]->{size} and $_[1]->{size} <= 4294967295);
5053             die "Non-integer 'int' value given: $_[1]->{size}"
5054 0 0         unless int($_[1]->{size}) == $_[1]->{size};
5055 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{size});
5056 0           $_[2] += 4;
5057              
5058             # Serializing field: 'flags'
5059             croak "Missing required input value 'flags'"
5060 0 0         unless exists $_[1]->{flags};
5061             # my ($class, $value, $index, $output) = @_;
5062             croak "Missing required input 'unsigned int' value"
5063 0 0         unless defined $_[1]->{flags};
5064             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5065 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5066             die "Non-integer 'int' value given: $_[1]->{flags}"
5067 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5068 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5069 0           $_[2] += 4;
5070             }
5071             # @_: ($class, $value, $index, $input) = @_;
5072             sub deserialize_domain_memory_peek_ret {
5073 0     0 0   my $input_length = length $_[3];
5074 0           $_[1] = {};
5075             # Deserializing field: 'buffer'
5076             # my ($class, $value, $index, $input) = @_;
5077 0           do {
5078 0 0         die "Input buffer too short"
5079             if ($input_length - $_[2]) < 4;
5080 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
5081 0           $_[2] += 4;
5082 0 0         die "Opaque data too long (max: 4194304): $len"
5083             unless ($len <= 4194304);
5084 0 0         die "Input buffer too short"
5085             if ($input_length - $_[2]) < $len;
5086 0           $_[1]->{buffer} = substr( $_[3], $_[2], $len );
5087 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
5088             };
5089             }
5090             # @_: ($class, $value, $index, $output) = @_;
5091             sub serialize_domain_memory_peek_ret {
5092 0 0   0 0   croak "Missing required input 'struct' value"
5093             unless defined $_[1];
5094              
5095             # Serializing field: 'buffer'
5096             croak "Missing required input value 'buffer'"
5097 0 0         unless exists $_[1]->{buffer};
5098             # my ($class, $value, $index, $output) = @_;
5099             croak "Missing required input 'opaque data' value"
5100 0 0         unless defined $_[1]->{buffer};
5101 0           do {
5102 0           my $len = length $_[1]->{buffer};
5103 0 0         die "Opaque data too long (max: 4194304): $len"
5104             unless ($len <= 4194304);
5105              
5106 0           substr( $_[3], $_[2] ) = pack("L>", $len);
5107 0           $_[2] += 4;
5108 0           substr( $_[3], $_[2] ) = $_[1]->{buffer};
5109 0           $_[2] += $len;
5110 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
5111 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
5112 0           $_[2] += $pad;
5113             }
5114             };
5115             }
5116             # @_: ($class, $value, $index, $input) = @_;
5117             sub deserialize_domain_get_block_info_args {
5118 0     0 0   my $input_length = length $_[3];
5119 0           $_[1] = {};
5120             # Deserializing field: 'dom'
5121             # my ($class, $value, $index, $input) = @_;
5122 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5123              
5124             # Deserializing field: 'path'
5125             # my ($class, $value, $index, $input) = @_;
5126 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
5127              
5128             # Deserializing field: 'flags'
5129             # my ($class, $value, $index, $input) = @_;
5130 0 0         die "Input buffer too short"
5131             if ($input_length - $_[2]) < 4;
5132 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5133 0           $_[2] += 4;
5134             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5135 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5136             }
5137             # @_: ($class, $value, $index, $output) = @_;
5138             sub serialize_domain_get_block_info_args {
5139 0 0   0 0   croak "Missing required input 'struct' value"
5140             unless defined $_[1];
5141              
5142             # Serializing field: 'dom'
5143             croak "Missing required input value 'dom'"
5144 0 0         unless exists $_[1]->{dom};
5145             # my ($class, $value, $index, $output) = @_;
5146 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5147              
5148             # Serializing field: 'path'
5149             croak "Missing required input value 'path'"
5150 0 0         unless exists $_[1]->{path};
5151             # my ($class, $value, $index, $output) = @_;
5152 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
5153              
5154             # Serializing field: 'flags'
5155             croak "Missing required input value 'flags'"
5156 0 0         unless exists $_[1]->{flags};
5157             # my ($class, $value, $index, $output) = @_;
5158             croak "Missing required input 'unsigned int' value"
5159 0 0         unless defined $_[1]->{flags};
5160             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5161 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5162             die "Non-integer 'int' value given: $_[1]->{flags}"
5163 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5164 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5165 0           $_[2] += 4;
5166             }
5167             # @_: ($class, $value, $index, $input) = @_;
5168             sub deserialize_domain_get_block_info_ret {
5169 0     0 0   my $input_length = length $_[3];
5170 0           $_[1] = {};
5171             # Deserializing field: 'allocation'
5172             # my ($class, $value, $index, $input) = @_;
5173 0 0         die "Input buffer too short"
5174             if ($input_length - $_[2]) < 8;
5175 0           $_[1]->{allocation} = unpack("Q>", substr( $_[3], $_[2] ));
5176 0           $_[2] += 8;
5177             die "Out of bounds 'unsigned hyper': $_[1]->{allocation}"
5178             unless (0 <= $_[1]->{allocation}
5179 0 0 0       and $_[1]->{allocation} <= 18446744073709551615);
5180              
5181             # Deserializing field: 'capacity'
5182             # my ($class, $value, $index, $input) = @_;
5183 0 0         die "Input buffer too short"
5184             if ($input_length - $_[2]) < 8;
5185 0           $_[1]->{capacity} = unpack("Q>", substr( $_[3], $_[2] ));
5186 0           $_[2] += 8;
5187             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
5188             unless (0 <= $_[1]->{capacity}
5189 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
5190              
5191             # Deserializing field: 'physical'
5192             # my ($class, $value, $index, $input) = @_;
5193 0 0         die "Input buffer too short"
5194             if ($input_length - $_[2]) < 8;
5195 0           $_[1]->{physical} = unpack("Q>", substr( $_[3], $_[2] ));
5196 0           $_[2] += 8;
5197             die "Out of bounds 'unsigned hyper': $_[1]->{physical}"
5198             unless (0 <= $_[1]->{physical}
5199 0 0 0       and $_[1]->{physical} <= 18446744073709551615);
5200             }
5201             # @_: ($class, $value, $index, $output) = @_;
5202             sub serialize_domain_get_block_info_ret {
5203 0 0   0 0   croak "Missing required input 'struct' value"
5204             unless defined $_[1];
5205              
5206             # Serializing field: 'allocation'
5207             croak "Missing required input value 'allocation'"
5208 0 0         unless exists $_[1]->{allocation};
5209             # my ($class, $value, $index, $output) = @_;
5210             croak "Missing required input 'unsigned long' value"
5211 0 0         unless defined $_[1]->{allocation};
5212             die "Out of bounds 'unsigned hyper': $_[1]->{allocation}"
5213             unless (0 <= $_[1]->{allocation}
5214 0 0 0       and $_[1]->{allocation} <= 18446744073709551615);
5215             die "Non-integer 'long' value given: $_[1]->{allocation}"
5216 0 0         unless int($_[1]->{allocation}) == $_[1]->{allocation};
5217 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{allocation});
5218 0           $_[2] += 8;
5219              
5220             # Serializing field: 'capacity'
5221             croak "Missing required input value 'capacity'"
5222 0 0         unless exists $_[1]->{capacity};
5223             # my ($class, $value, $index, $output) = @_;
5224             croak "Missing required input 'unsigned long' value"
5225 0 0         unless defined $_[1]->{capacity};
5226             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
5227             unless (0 <= $_[1]->{capacity}
5228 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
5229             die "Non-integer 'long' value given: $_[1]->{capacity}"
5230 0 0         unless int($_[1]->{capacity}) == $_[1]->{capacity};
5231 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{capacity});
5232 0           $_[2] += 8;
5233              
5234             # Serializing field: 'physical'
5235             croak "Missing required input value 'physical'"
5236 0 0         unless exists $_[1]->{physical};
5237             # my ($class, $value, $index, $output) = @_;
5238             croak "Missing required input 'unsigned long' value"
5239 0 0         unless defined $_[1]->{physical};
5240             die "Out of bounds 'unsigned hyper': $_[1]->{physical}"
5241             unless (0 <= $_[1]->{physical}
5242 0 0 0       and $_[1]->{physical} <= 18446744073709551615);
5243             die "Non-integer 'long' value given: $_[1]->{physical}"
5244 0 0         unless int($_[1]->{physical}) == $_[1]->{physical};
5245 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{physical});
5246 0           $_[2] += 8;
5247             }
5248             # @_: ($class, $value, $index, $input) = @_;
5249             sub deserialize_connect_list_domains_args {
5250 0     0 0   my $input_length = length $_[3];
5251 0           $_[1] = {};
5252             # Deserializing field: 'maxids'
5253             # my ($class, $value, $index, $input) = @_;
5254 0 0         die "Input buffer too short"
5255             if ($input_length - $_[2]) < 4;
5256 0           $_[1]->{maxids} = unpack("l>", substr( $_[3], $_[2] ));
5257 0           $_[2] += 4;
5258             die "Out of bounds 'int': $_[1]->{maxids}"
5259 0 0 0       unless (-2147483648 <= $_[1]->{maxids} and $_[1]->{maxids} < 2147483648);
5260             }
5261             # @_: ($class, $value, $index, $output) = @_;
5262             sub serialize_connect_list_domains_args {
5263 0 0   0 0   croak "Missing required input 'struct' value"
5264             unless defined $_[1];
5265              
5266             # Serializing field: 'maxids'
5267             croak "Missing required input value 'maxids'"
5268 0 0         unless exists $_[1]->{maxids};
5269             # my ($class, $value, $index, $output) = @_;
5270             croak "Missing required input 'int' value"
5271 0 0         unless defined $_[1]->{maxids};
5272             die "Out of bounds 'int': $_[1]->{maxids}"
5273 0 0 0       unless (-2147483648 <= $_[1]->{maxids} and $_[1]->{maxids} < 2147483648);
5274             die "Non-integer 'int' value given: $_[1]->{maxids}"
5275 0 0         unless int($_[1]->{maxids}) == $_[1]->{maxids};
5276 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxids});
5277 0           $_[2] += 4;
5278             }
5279             # @_: ($class, $value, $index, $input) = @_;
5280             sub deserialize_connect_list_domains_ret {
5281 0     0 0   my $input_length = length $_[3];
5282 0           $_[1] = {};
5283             # Deserializing field: 'ids'
5284             # my ($class, $value, $index, $input) = @_;
5285 0           do {
5286 0 0         die "Input buffer too short"
5287             if ($input_length - $_[2]) < 4;
5288 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
5289 0           $_[2] += 4;
5290              
5291 0 0         die "Array too long (max: 16384): $len"
5292             unless ($len <= 16384);
5293 0           $_[1]->{ids} = [];
5294 0           for my $i1 ( 0 .. ($len - 1) ) {
5295             # my ($class, $value, $index, $input) = @_;
5296 0 0         die "Input buffer too short"
5297             if ($input_length - $_[2]) < 4;
5298 0           $_[1]->{ids}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
5299 0           $_[2] += 4;
5300             die "Out of bounds 'int': $_[1]->{ids}->[$i1]"
5301 0 0 0       unless (-2147483648 <= $_[1]->{ids}->[$i1] and $_[1]->{ids}->[$i1] < 2147483648);
5302             }
5303             };
5304             }
5305             # @_: ($class, $value, $index, $output) = @_;
5306             sub serialize_connect_list_domains_ret {
5307 0 0   0 0   croak "Missing required input 'struct' value"
5308             unless defined $_[1];
5309              
5310             # Serializing field: 'ids'
5311             croak "Missing required input value 'ids'"
5312 0 0         unless exists $_[1]->{ids};
5313             # my ($class, $value, $index, $output) = @_;
5314             croak "Missing required input 'array' value"
5315 0 0         unless defined $_[1]->{ids};
5316 0           do {
5317 0           my $len = scalar @{ $_[1]->{ids} };
  0            
5318 0 0         die "Array too long (max: 16384): $len"
5319             unless ($len <= 16384);
5320              
5321 0           substr( $_[3], $_[2] ) = pack("L>", $len);
5322 0           $_[2] += 4;
5323 0           for my $i1 ( 0 .. ($len - 1) ) {
5324             # my ($class, $value, $index, $output) = @_;
5325             croak "Missing required input 'int' value"
5326 0 0         unless defined $_[1]->{ids}->[$i1];
5327             die "Out of bounds 'int': $_[1]->{ids}->[$i1]"
5328 0 0 0       unless (-2147483648 <= $_[1]->{ids}->[$i1] and $_[1]->{ids}->[$i1] < 2147483648);
5329             die "Non-integer 'int' value given: $_[1]->{ids}->[$i1]"
5330 0 0         unless int($_[1]->{ids}->[$i1]) == $_[1]->{ids}->[$i1];
5331 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ids}->[$i1]);
5332 0           $_[2] += 4;
5333             }
5334             };
5335             }
5336             # @_: ($class, $value, $index, $input) = @_;
5337             sub deserialize_connect_num_of_domains_ret {
5338 0     0 0   my $input_length = length $_[3];
5339 0           $_[1] = {};
5340             # Deserializing field: 'num'
5341             # my ($class, $value, $index, $input) = @_;
5342 0 0         die "Input buffer too short"
5343             if ($input_length - $_[2]) < 4;
5344 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
5345 0           $_[2] += 4;
5346             die "Out of bounds 'int': $_[1]->{num}"
5347 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
5348             }
5349             # @_: ($class, $value, $index, $output) = @_;
5350             sub serialize_connect_num_of_domains_ret {
5351 0 0   0 0   croak "Missing required input 'struct' value"
5352             unless defined $_[1];
5353              
5354             # Serializing field: 'num'
5355             croak "Missing required input value 'num'"
5356 0 0         unless exists $_[1]->{num};
5357             # my ($class, $value, $index, $output) = @_;
5358             croak "Missing required input 'int' value"
5359 0 0         unless defined $_[1]->{num};
5360             die "Out of bounds 'int': $_[1]->{num}"
5361 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
5362             die "Non-integer 'int' value given: $_[1]->{num}"
5363 0 0         unless int($_[1]->{num}) == $_[1]->{num};
5364 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
5365 0           $_[2] += 4;
5366             }
5367             # @_: ($class, $value, $index, $input) = @_;
5368             sub deserialize_domain_create_xml_args {
5369 0     0 0   my $input_length = length $_[3];
5370 0           $_[1] = {};
5371             # Deserializing field: 'xml_desc'
5372             # my ($class, $value, $index, $input) = @_;
5373 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
5374              
5375             # Deserializing field: 'flags'
5376             # my ($class, $value, $index, $input) = @_;
5377 0 0         die "Input buffer too short"
5378             if ($input_length - $_[2]) < 4;
5379 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5380 0           $_[2] += 4;
5381             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5382 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5383             }
5384             # @_: ($class, $value, $index, $output) = @_;
5385             sub serialize_domain_create_xml_args {
5386 0 0   0 0   croak "Missing required input 'struct' value"
5387             unless defined $_[1];
5388              
5389             # Serializing field: 'xml_desc'
5390             croak "Missing required input value 'xml_desc'"
5391 0 0         unless exists $_[1]->{xml_desc};
5392             # my ($class, $value, $index, $output) = @_;
5393 0           $_[0]->serialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
5394              
5395             # Serializing field: 'flags'
5396             croak "Missing required input value 'flags'"
5397 0 0         unless exists $_[1]->{flags};
5398             # my ($class, $value, $index, $output) = @_;
5399             croak "Missing required input 'unsigned int' value"
5400 0 0         unless defined $_[1]->{flags};
5401             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5402 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5403             die "Non-integer 'int' value given: $_[1]->{flags}"
5404 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5405 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5406 0           $_[2] += 4;
5407             }
5408             # @_: ($class, $value, $index, $input) = @_;
5409             sub deserialize_domain_create_xml_ret {
5410 0     0 0   my $input_length = length $_[3];
5411 0           $_[1] = {};
5412             # Deserializing field: 'dom'
5413             # my ($class, $value, $index, $input) = @_;
5414 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5415             }
5416             # @_: ($class, $value, $index, $output) = @_;
5417             sub serialize_domain_create_xml_ret {
5418 0 0   0 0   croak "Missing required input 'struct' value"
5419             unless defined $_[1];
5420              
5421             # Serializing field: 'dom'
5422             croak "Missing required input value 'dom'"
5423 0 0         unless exists $_[1]->{dom};
5424             # my ($class, $value, $index, $output) = @_;
5425 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5426             }
5427             # @_: ($class, $value, $index, $input) = @_;
5428             sub deserialize_domain_create_xml_with_files_args {
5429 0     0 0   my $input_length = length $_[3];
5430 0           $_[1] = {};
5431             # Deserializing field: 'xml_desc'
5432             # my ($class, $value, $index, $input) = @_;
5433 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
5434              
5435             # Deserializing field: 'flags'
5436             # my ($class, $value, $index, $input) = @_;
5437 0 0         die "Input buffer too short"
5438             if ($input_length - $_[2]) < 4;
5439 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5440 0           $_[2] += 4;
5441             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5442 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5443             }
5444             # @_: ($class, $value, $index, $output) = @_;
5445             sub serialize_domain_create_xml_with_files_args {
5446 0 0   0 0   croak "Missing required input 'struct' value"
5447             unless defined $_[1];
5448              
5449             # Serializing field: 'xml_desc'
5450             croak "Missing required input value 'xml_desc'"
5451 0 0         unless exists $_[1]->{xml_desc};
5452             # my ($class, $value, $index, $output) = @_;
5453 0           $_[0]->serialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
5454              
5455             # Serializing field: 'flags'
5456             croak "Missing required input value 'flags'"
5457 0 0         unless exists $_[1]->{flags};
5458             # my ($class, $value, $index, $output) = @_;
5459             croak "Missing required input 'unsigned int' value"
5460 0 0         unless defined $_[1]->{flags};
5461             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5462 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5463             die "Non-integer 'int' value given: $_[1]->{flags}"
5464 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5465 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5466 0           $_[2] += 4;
5467             }
5468             # @_: ($class, $value, $index, $input) = @_;
5469             sub deserialize_domain_create_xml_with_files_ret {
5470 0     0 0   my $input_length = length $_[3];
5471 0           $_[1] = {};
5472             # Deserializing field: 'dom'
5473             # my ($class, $value, $index, $input) = @_;
5474 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5475             }
5476             # @_: ($class, $value, $index, $output) = @_;
5477             sub serialize_domain_create_xml_with_files_ret {
5478 0 0   0 0   croak "Missing required input 'struct' value"
5479             unless defined $_[1];
5480              
5481             # Serializing field: 'dom'
5482             croak "Missing required input value 'dom'"
5483 0 0         unless exists $_[1]->{dom};
5484             # my ($class, $value, $index, $output) = @_;
5485 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5486             }
5487             # @_: ($class, $value, $index, $input) = @_;
5488             sub deserialize_domain_lookup_by_id_args {
5489 0     0 0   my $input_length = length $_[3];
5490 0           $_[1] = {};
5491             # Deserializing field: 'id'
5492             # my ($class, $value, $index, $input) = @_;
5493 0 0         die "Input buffer too short"
5494             if ($input_length - $_[2]) < 4;
5495 0           $_[1]->{id} = unpack("l>", substr( $_[3], $_[2] ));
5496 0           $_[2] += 4;
5497             die "Out of bounds 'int': $_[1]->{id}"
5498 0 0 0       unless (-2147483648 <= $_[1]->{id} and $_[1]->{id} < 2147483648);
5499             }
5500             # @_: ($class, $value, $index, $output) = @_;
5501             sub serialize_domain_lookup_by_id_args {
5502 0 0   0 0   croak "Missing required input 'struct' value"
5503             unless defined $_[1];
5504              
5505             # Serializing field: 'id'
5506             croak "Missing required input value 'id'"
5507 0 0         unless exists $_[1]->{id};
5508             # my ($class, $value, $index, $output) = @_;
5509             croak "Missing required input 'int' value"
5510 0 0         unless defined $_[1]->{id};
5511             die "Out of bounds 'int': $_[1]->{id}"
5512 0 0 0       unless (-2147483648 <= $_[1]->{id} and $_[1]->{id} < 2147483648);
5513             die "Non-integer 'int' value given: $_[1]->{id}"
5514 0 0         unless int($_[1]->{id}) == $_[1]->{id};
5515 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{id});
5516 0           $_[2] += 4;
5517             }
5518             # @_: ($class, $value, $index, $input) = @_;
5519             sub deserialize_domain_lookup_by_id_ret {
5520 0     0 0   my $input_length = length $_[3];
5521 0           $_[1] = {};
5522             # Deserializing field: 'dom'
5523             # my ($class, $value, $index, $input) = @_;
5524 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5525             }
5526             # @_: ($class, $value, $index, $output) = @_;
5527             sub serialize_domain_lookup_by_id_ret {
5528 0 0   0 0   croak "Missing required input 'struct' value"
5529             unless defined $_[1];
5530              
5531             # Serializing field: 'dom'
5532             croak "Missing required input value 'dom'"
5533 0 0         unless exists $_[1]->{dom};
5534             # my ($class, $value, $index, $output) = @_;
5535 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5536             }
5537             # @_: ($class, $value, $index, $input) = @_;
5538             sub deserialize_domain_lookup_by_uuid_args {
5539 0     0 0   my $input_length = length $_[3];
5540 0           $_[1] = {};
5541             # Deserializing field: 'uuid'
5542             # my ($class, $value, $index, $input) = @_;
5543 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
5544             }
5545             # @_: ($class, $value, $index, $output) = @_;
5546             sub serialize_domain_lookup_by_uuid_args {
5547 0 0   0 0   croak "Missing required input 'struct' value"
5548             unless defined $_[1];
5549              
5550             # Serializing field: 'uuid'
5551             croak "Missing required input value 'uuid'"
5552 0 0         unless exists $_[1]->{uuid};
5553             # my ($class, $value, $index, $output) = @_;
5554 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
5555             }
5556             # @_: ($class, $value, $index, $input) = @_;
5557             sub deserialize_domain_lookup_by_uuid_ret {
5558 0     0 0   my $input_length = length $_[3];
5559 0           $_[1] = {};
5560             # Deserializing field: 'dom'
5561             # my ($class, $value, $index, $input) = @_;
5562 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5563             }
5564             # @_: ($class, $value, $index, $output) = @_;
5565             sub serialize_domain_lookup_by_uuid_ret {
5566 0 0   0 0   croak "Missing required input 'struct' value"
5567             unless defined $_[1];
5568              
5569             # Serializing field: 'dom'
5570             croak "Missing required input value 'dom'"
5571 0 0         unless exists $_[1]->{dom};
5572             # my ($class, $value, $index, $output) = @_;
5573 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5574             }
5575             # @_: ($class, $value, $index, $input) = @_;
5576             sub deserialize_domain_lookup_by_name_args {
5577 0     0 0   my $input_length = length $_[3];
5578 0           $_[1] = {};
5579             # Deserializing field: 'name'
5580             # my ($class, $value, $index, $input) = @_;
5581 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
5582             }
5583             # @_: ($class, $value, $index, $output) = @_;
5584             sub serialize_domain_lookup_by_name_args {
5585 0 0   0 0   croak "Missing required input 'struct' value"
5586             unless defined $_[1];
5587              
5588             # Serializing field: 'name'
5589             croak "Missing required input value 'name'"
5590 0 0         unless exists $_[1]->{name};
5591             # my ($class, $value, $index, $output) = @_;
5592 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
5593             }
5594             # @_: ($class, $value, $index, $input) = @_;
5595             sub deserialize_domain_lookup_by_name_ret {
5596 0     0 0   my $input_length = length $_[3];
5597 0           $_[1] = {};
5598             # Deserializing field: 'dom'
5599             # my ($class, $value, $index, $input) = @_;
5600 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5601             }
5602             # @_: ($class, $value, $index, $output) = @_;
5603             sub serialize_domain_lookup_by_name_ret {
5604 0 0   0 0   croak "Missing required input 'struct' value"
5605             unless defined $_[1];
5606              
5607             # Serializing field: 'dom'
5608             croak "Missing required input value 'dom'"
5609 0 0         unless exists $_[1]->{dom};
5610             # my ($class, $value, $index, $output) = @_;
5611 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5612             }
5613             # @_: ($class, $value, $index, $input) = @_;
5614             sub deserialize_domain_suspend_args {
5615 0     0 0   my $input_length = length $_[3];
5616 0           $_[1] = {};
5617             # Deserializing field: 'dom'
5618             # my ($class, $value, $index, $input) = @_;
5619 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5620             }
5621             # @_: ($class, $value, $index, $output) = @_;
5622             sub serialize_domain_suspend_args {
5623 0 0   0 0   croak "Missing required input 'struct' value"
5624             unless defined $_[1];
5625              
5626             # Serializing field: 'dom'
5627             croak "Missing required input value 'dom'"
5628 0 0         unless exists $_[1]->{dom};
5629             # my ($class, $value, $index, $output) = @_;
5630 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5631             }
5632             # @_: ($class, $value, $index, $input) = @_;
5633             sub deserialize_domain_resume_args {
5634 0     0 0   my $input_length = length $_[3];
5635 0           $_[1] = {};
5636             # Deserializing field: 'dom'
5637             # my ($class, $value, $index, $input) = @_;
5638 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5639             }
5640             # @_: ($class, $value, $index, $output) = @_;
5641             sub serialize_domain_resume_args {
5642 0 0   0 0   croak "Missing required input 'struct' value"
5643             unless defined $_[1];
5644              
5645             # Serializing field: 'dom'
5646             croak "Missing required input value 'dom'"
5647 0 0         unless exists $_[1]->{dom};
5648             # my ($class, $value, $index, $output) = @_;
5649 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5650             }
5651             # @_: ($class, $value, $index, $input) = @_;
5652             sub deserialize_domain_pm_suspend_for_duration_args {
5653 0     0 0   my $input_length = length $_[3];
5654 0           $_[1] = {};
5655             # Deserializing field: 'dom'
5656             # my ($class, $value, $index, $input) = @_;
5657 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5658              
5659             # Deserializing field: 'target'
5660             # my ($class, $value, $index, $input) = @_;
5661 0 0         die "Input buffer too short"
5662             if ($input_length - $_[2]) < 4;
5663 0           $_[1]->{target} = unpack("L>", substr( $_[3], $_[2] ));
5664 0           $_[2] += 4;
5665             die "Out of bounds 'unsigned int': $_[1]->{target}"
5666 0 0 0       unless (0 <= $_[1]->{target} and $_[1]->{target} <= 4294967295);
5667              
5668             # Deserializing field: 'duration'
5669             # my ($class, $value, $index, $input) = @_;
5670 0 0         die "Input buffer too short"
5671             if ($input_length - $_[2]) < 8;
5672 0           $_[1]->{duration} = unpack("Q>", substr( $_[3], $_[2] ));
5673 0           $_[2] += 8;
5674             die "Out of bounds 'unsigned hyper': $_[1]->{duration}"
5675             unless (0 <= $_[1]->{duration}
5676 0 0 0       and $_[1]->{duration} <= 18446744073709551615);
5677              
5678             # Deserializing field: 'flags'
5679             # my ($class, $value, $index, $input) = @_;
5680 0 0         die "Input buffer too short"
5681             if ($input_length - $_[2]) < 4;
5682 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5683 0           $_[2] += 4;
5684             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5685 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5686             }
5687             # @_: ($class, $value, $index, $output) = @_;
5688             sub serialize_domain_pm_suspend_for_duration_args {
5689 0 0   0 0   croak "Missing required input 'struct' value"
5690             unless defined $_[1];
5691              
5692             # Serializing field: 'dom'
5693             croak "Missing required input value 'dom'"
5694 0 0         unless exists $_[1]->{dom};
5695             # my ($class, $value, $index, $output) = @_;
5696 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5697              
5698             # Serializing field: 'target'
5699             croak "Missing required input value 'target'"
5700 0 0         unless exists $_[1]->{target};
5701             # my ($class, $value, $index, $output) = @_;
5702             croak "Missing required input 'unsigned int' value"
5703 0 0         unless defined $_[1]->{target};
5704             die "Out of bounds 'unsigned int': $_[1]->{target}"
5705 0 0 0       unless (0 <= $_[1]->{target} and $_[1]->{target} <= 4294967295);
5706             die "Non-integer 'int' value given: $_[1]->{target}"
5707 0 0         unless int($_[1]->{target}) == $_[1]->{target};
5708 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{target});
5709 0           $_[2] += 4;
5710              
5711             # Serializing field: 'duration'
5712             croak "Missing required input value 'duration'"
5713 0 0         unless exists $_[1]->{duration};
5714             # my ($class, $value, $index, $output) = @_;
5715             croak "Missing required input 'unsigned long' value"
5716 0 0         unless defined $_[1]->{duration};
5717             die "Out of bounds 'unsigned hyper': $_[1]->{duration}"
5718             unless (0 <= $_[1]->{duration}
5719 0 0 0       and $_[1]->{duration} <= 18446744073709551615);
5720             die "Non-integer 'long' value given: $_[1]->{duration}"
5721 0 0         unless int($_[1]->{duration}) == $_[1]->{duration};
5722 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{duration});
5723 0           $_[2] += 8;
5724              
5725             # Serializing field: 'flags'
5726             croak "Missing required input value 'flags'"
5727 0 0         unless exists $_[1]->{flags};
5728             # my ($class, $value, $index, $output) = @_;
5729             croak "Missing required input 'unsigned int' value"
5730 0 0         unless defined $_[1]->{flags};
5731             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5732 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5733             die "Non-integer 'int' value given: $_[1]->{flags}"
5734 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5735 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5736 0           $_[2] += 4;
5737             }
5738             # @_: ($class, $value, $index, $input) = @_;
5739             sub deserialize_domain_pm_wakeup_args {
5740 0     0 0   my $input_length = length $_[3];
5741 0           $_[1] = {};
5742             # Deserializing field: 'dom'
5743             # my ($class, $value, $index, $input) = @_;
5744 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5745              
5746             # Deserializing field: 'flags'
5747             # my ($class, $value, $index, $input) = @_;
5748 0 0         die "Input buffer too short"
5749             if ($input_length - $_[2]) < 4;
5750 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5751 0           $_[2] += 4;
5752             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5753 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5754             }
5755             # @_: ($class, $value, $index, $output) = @_;
5756             sub serialize_domain_pm_wakeup_args {
5757 0 0   0 0   croak "Missing required input 'struct' value"
5758             unless defined $_[1];
5759              
5760             # Serializing field: 'dom'
5761             croak "Missing required input value 'dom'"
5762 0 0         unless exists $_[1]->{dom};
5763             # my ($class, $value, $index, $output) = @_;
5764 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5765              
5766             # Serializing field: 'flags'
5767             croak "Missing required input value 'flags'"
5768 0 0         unless exists $_[1]->{flags};
5769             # my ($class, $value, $index, $output) = @_;
5770             croak "Missing required input 'unsigned int' value"
5771 0 0         unless defined $_[1]->{flags};
5772             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5773 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5774             die "Non-integer 'int' value given: $_[1]->{flags}"
5775 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5776 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5777 0           $_[2] += 4;
5778             }
5779             # @_: ($class, $value, $index, $input) = @_;
5780             sub deserialize_domain_shutdown_args {
5781 0     0 0   my $input_length = length $_[3];
5782 0           $_[1] = {};
5783             # Deserializing field: 'dom'
5784             # my ($class, $value, $index, $input) = @_;
5785 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5786             }
5787             # @_: ($class, $value, $index, $output) = @_;
5788             sub serialize_domain_shutdown_args {
5789 0 0   0 0   croak "Missing required input 'struct' value"
5790             unless defined $_[1];
5791              
5792             # Serializing field: 'dom'
5793             croak "Missing required input value 'dom'"
5794 0 0         unless exists $_[1]->{dom};
5795             # my ($class, $value, $index, $output) = @_;
5796 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5797             }
5798             # @_: ($class, $value, $index, $input) = @_;
5799             sub deserialize_domain_reboot_args {
5800 0     0 0   my $input_length = length $_[3];
5801 0           $_[1] = {};
5802             # Deserializing field: 'dom'
5803             # my ($class, $value, $index, $input) = @_;
5804 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5805              
5806             # Deserializing field: 'flags'
5807             # my ($class, $value, $index, $input) = @_;
5808 0 0         die "Input buffer too short"
5809             if ($input_length - $_[2]) < 4;
5810 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5811 0           $_[2] += 4;
5812             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5813 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5814             }
5815             # @_: ($class, $value, $index, $output) = @_;
5816             sub serialize_domain_reboot_args {
5817 0 0   0 0   croak "Missing required input 'struct' value"
5818             unless defined $_[1];
5819              
5820             # Serializing field: 'dom'
5821             croak "Missing required input value 'dom'"
5822 0 0         unless exists $_[1]->{dom};
5823             # my ($class, $value, $index, $output) = @_;
5824 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5825              
5826             # Serializing field: 'flags'
5827             croak "Missing required input value 'flags'"
5828 0 0         unless exists $_[1]->{flags};
5829             # my ($class, $value, $index, $output) = @_;
5830             croak "Missing required input 'unsigned int' value"
5831 0 0         unless defined $_[1]->{flags};
5832             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5833 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5834             die "Non-integer 'int' value given: $_[1]->{flags}"
5835 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5836 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5837 0           $_[2] += 4;
5838             }
5839             # @_: ($class, $value, $index, $input) = @_;
5840             sub deserialize_domain_reset_args {
5841 0     0 0   my $input_length = length $_[3];
5842 0           $_[1] = {};
5843             # Deserializing field: 'dom'
5844             # my ($class, $value, $index, $input) = @_;
5845 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5846              
5847             # Deserializing field: 'flags'
5848             # my ($class, $value, $index, $input) = @_;
5849 0 0         die "Input buffer too short"
5850             if ($input_length - $_[2]) < 4;
5851 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5852 0           $_[2] += 4;
5853             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5854 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5855             }
5856             # @_: ($class, $value, $index, $output) = @_;
5857             sub serialize_domain_reset_args {
5858 0 0   0 0   croak "Missing required input 'struct' value"
5859             unless defined $_[1];
5860              
5861             # Serializing field: 'dom'
5862             croak "Missing required input value 'dom'"
5863 0 0         unless exists $_[1]->{dom};
5864             # my ($class, $value, $index, $output) = @_;
5865 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5866              
5867             # Serializing field: 'flags'
5868             croak "Missing required input value 'flags'"
5869 0 0         unless exists $_[1]->{flags};
5870             # my ($class, $value, $index, $output) = @_;
5871             croak "Missing required input 'unsigned int' value"
5872 0 0         unless defined $_[1]->{flags};
5873             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5874 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5875             die "Non-integer 'int' value given: $_[1]->{flags}"
5876 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5877 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5878 0           $_[2] += 4;
5879             }
5880             # @_: ($class, $value, $index, $input) = @_;
5881             sub deserialize_domain_destroy_args {
5882 0     0 0   my $input_length = length $_[3];
5883 0           $_[1] = {};
5884             # Deserializing field: 'dom'
5885             # my ($class, $value, $index, $input) = @_;
5886 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5887             }
5888             # @_: ($class, $value, $index, $output) = @_;
5889             sub serialize_domain_destroy_args {
5890 0 0   0 0   croak "Missing required input 'struct' value"
5891             unless defined $_[1];
5892              
5893             # Serializing field: 'dom'
5894             croak "Missing required input value 'dom'"
5895 0 0         unless exists $_[1]->{dom};
5896             # my ($class, $value, $index, $output) = @_;
5897 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5898             }
5899             # @_: ($class, $value, $index, $input) = @_;
5900             sub deserialize_domain_destroy_flags_args {
5901 0     0 0   my $input_length = length $_[3];
5902 0           $_[1] = {};
5903             # Deserializing field: 'dom'
5904             # my ($class, $value, $index, $input) = @_;
5905 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5906              
5907             # Deserializing field: 'flags'
5908             # my ($class, $value, $index, $input) = @_;
5909 0 0         die "Input buffer too short"
5910             if ($input_length - $_[2]) < 4;
5911 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
5912 0           $_[2] += 4;
5913             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5914 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5915             }
5916             # @_: ($class, $value, $index, $output) = @_;
5917             sub serialize_domain_destroy_flags_args {
5918 0 0   0 0   croak "Missing required input 'struct' value"
5919             unless defined $_[1];
5920              
5921             # Serializing field: 'dom'
5922             croak "Missing required input value 'dom'"
5923 0 0         unless exists $_[1]->{dom};
5924             # my ($class, $value, $index, $output) = @_;
5925 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5926              
5927             # Serializing field: 'flags'
5928             croak "Missing required input value 'flags'"
5929 0 0         unless exists $_[1]->{flags};
5930             # my ($class, $value, $index, $output) = @_;
5931             croak "Missing required input 'unsigned int' value"
5932 0 0         unless defined $_[1]->{flags};
5933             die "Out of bounds 'unsigned int': $_[1]->{flags}"
5934 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
5935             die "Non-integer 'int' value given: $_[1]->{flags}"
5936 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
5937 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
5938 0           $_[2] += 4;
5939             }
5940             # @_: ($class, $value, $index, $input) = @_;
5941             sub deserialize_domain_get_os_type_args {
5942 0     0 0   my $input_length = length $_[3];
5943 0           $_[1] = {};
5944             # Deserializing field: 'dom'
5945             # my ($class, $value, $index, $input) = @_;
5946 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5947             }
5948             # @_: ($class, $value, $index, $output) = @_;
5949             sub serialize_domain_get_os_type_args {
5950 0 0   0 0   croak "Missing required input 'struct' value"
5951             unless defined $_[1];
5952              
5953             # Serializing field: 'dom'
5954             croak "Missing required input value 'dom'"
5955 0 0         unless exists $_[1]->{dom};
5956             # my ($class, $value, $index, $output) = @_;
5957 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5958             }
5959             # @_: ($class, $value, $index, $input) = @_;
5960             sub deserialize_domain_get_os_type_ret {
5961 0     0 0   my $input_length = length $_[3];
5962 0           $_[1] = {};
5963             # Deserializing field: 'type'
5964             # my ($class, $value, $index, $input) = @_;
5965 0           $_[0]->deserialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
5966             }
5967             # @_: ($class, $value, $index, $output) = @_;
5968             sub serialize_domain_get_os_type_ret {
5969 0 0   0 0   croak "Missing required input 'struct' value"
5970             unless defined $_[1];
5971              
5972             # Serializing field: 'type'
5973             croak "Missing required input value 'type'"
5974 0 0         unless exists $_[1]->{type};
5975             # my ($class, $value, $index, $output) = @_;
5976 0           $_[0]->serialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
5977             }
5978             # @_: ($class, $value, $index, $input) = @_;
5979             sub deserialize_domain_get_max_memory_args {
5980 0     0 0   my $input_length = length $_[3];
5981 0           $_[1] = {};
5982             # Deserializing field: 'dom'
5983             # my ($class, $value, $index, $input) = @_;
5984 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5985             }
5986             # @_: ($class, $value, $index, $output) = @_;
5987             sub serialize_domain_get_max_memory_args {
5988 0 0   0 0   croak "Missing required input 'struct' value"
5989             unless defined $_[1];
5990              
5991             # Serializing field: 'dom'
5992             croak "Missing required input value 'dom'"
5993 0 0         unless exists $_[1]->{dom};
5994             # my ($class, $value, $index, $output) = @_;
5995 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
5996             }
5997             # @_: ($class, $value, $index, $input) = @_;
5998             sub deserialize_domain_get_max_memory_ret {
5999 0     0 0   my $input_length = length $_[3];
6000 0           $_[1] = {};
6001             # Deserializing field: 'memory'
6002             # my ($class, $value, $index, $input) = @_;
6003 0 0         die "Input buffer too short"
6004             if ($input_length - $_[2]) < 8;
6005 0           $_[1]->{memory} = unpack("Q>", substr( $_[3], $_[2] ));
6006 0           $_[2] += 8;
6007             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6008             unless (0 <= $_[1]->{memory}
6009 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6010             }
6011             # @_: ($class, $value, $index, $output) = @_;
6012             sub serialize_domain_get_max_memory_ret {
6013 0 0   0 0   croak "Missing required input 'struct' value"
6014             unless defined $_[1];
6015              
6016             # Serializing field: 'memory'
6017             croak "Missing required input value 'memory'"
6018 0 0         unless exists $_[1]->{memory};
6019             # my ($class, $value, $index, $output) = @_;
6020             croak "Missing required input 'unsigned long' value"
6021 0 0         unless defined $_[1]->{memory};
6022             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6023             unless (0 <= $_[1]->{memory}
6024 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6025             die "Non-integer 'long' value given: $_[1]->{memory}"
6026 0 0         unless int($_[1]->{memory}) == $_[1]->{memory};
6027 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memory});
6028 0           $_[2] += 8;
6029             }
6030             # @_: ($class, $value, $index, $input) = @_;
6031             sub deserialize_domain_set_max_memory_args {
6032 0     0 0   my $input_length = length $_[3];
6033 0           $_[1] = {};
6034             # Deserializing field: 'dom'
6035             # my ($class, $value, $index, $input) = @_;
6036 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6037              
6038             # Deserializing field: 'memory'
6039             # my ($class, $value, $index, $input) = @_;
6040 0 0         die "Input buffer too short"
6041             if ($input_length - $_[2]) < 8;
6042 0           $_[1]->{memory} = unpack("Q>", substr( $_[3], $_[2] ));
6043 0           $_[2] += 8;
6044             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6045             unless (0 <= $_[1]->{memory}
6046 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6047             }
6048             # @_: ($class, $value, $index, $output) = @_;
6049             sub serialize_domain_set_max_memory_args {
6050 0 0   0 0   croak "Missing required input 'struct' value"
6051             unless defined $_[1];
6052              
6053             # Serializing field: 'dom'
6054             croak "Missing required input value 'dom'"
6055 0 0         unless exists $_[1]->{dom};
6056             # my ($class, $value, $index, $output) = @_;
6057 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6058              
6059             # Serializing field: 'memory'
6060             croak "Missing required input value 'memory'"
6061 0 0         unless exists $_[1]->{memory};
6062             # my ($class, $value, $index, $output) = @_;
6063             croak "Missing required input 'unsigned long' value"
6064 0 0         unless defined $_[1]->{memory};
6065             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6066             unless (0 <= $_[1]->{memory}
6067 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6068             die "Non-integer 'long' value given: $_[1]->{memory}"
6069 0 0         unless int($_[1]->{memory}) == $_[1]->{memory};
6070 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memory});
6071 0           $_[2] += 8;
6072             }
6073             # @_: ($class, $value, $index, $input) = @_;
6074             sub deserialize_domain_set_memory_args {
6075 0     0 0   my $input_length = length $_[3];
6076 0           $_[1] = {};
6077             # Deserializing field: 'dom'
6078             # my ($class, $value, $index, $input) = @_;
6079 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6080              
6081             # Deserializing field: 'memory'
6082             # my ($class, $value, $index, $input) = @_;
6083 0 0         die "Input buffer too short"
6084             if ($input_length - $_[2]) < 8;
6085 0           $_[1]->{memory} = unpack("Q>", substr( $_[3], $_[2] ));
6086 0           $_[2] += 8;
6087             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6088             unless (0 <= $_[1]->{memory}
6089 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6090             }
6091             # @_: ($class, $value, $index, $output) = @_;
6092             sub serialize_domain_set_memory_args {
6093 0 0   0 0   croak "Missing required input 'struct' value"
6094             unless defined $_[1];
6095              
6096             # Serializing field: 'dom'
6097             croak "Missing required input value 'dom'"
6098 0 0         unless exists $_[1]->{dom};
6099             # my ($class, $value, $index, $output) = @_;
6100 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6101              
6102             # Serializing field: 'memory'
6103             croak "Missing required input value 'memory'"
6104 0 0         unless exists $_[1]->{memory};
6105             # my ($class, $value, $index, $output) = @_;
6106             croak "Missing required input 'unsigned long' value"
6107 0 0         unless defined $_[1]->{memory};
6108             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6109             unless (0 <= $_[1]->{memory}
6110 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6111             die "Non-integer 'long' value given: $_[1]->{memory}"
6112 0 0         unless int($_[1]->{memory}) == $_[1]->{memory};
6113 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memory});
6114 0           $_[2] += 8;
6115             }
6116             # @_: ($class, $value, $index, $input) = @_;
6117             sub deserialize_domain_set_memory_flags_args {
6118 0     0 0   my $input_length = length $_[3];
6119 0           $_[1] = {};
6120             # Deserializing field: 'dom'
6121             # my ($class, $value, $index, $input) = @_;
6122 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6123              
6124             # Deserializing field: 'memory'
6125             # my ($class, $value, $index, $input) = @_;
6126 0 0         die "Input buffer too short"
6127             if ($input_length - $_[2]) < 8;
6128 0           $_[1]->{memory} = unpack("Q>", substr( $_[3], $_[2] ));
6129 0           $_[2] += 8;
6130             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6131             unless (0 <= $_[1]->{memory}
6132 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6133              
6134             # Deserializing field: 'flags'
6135             # my ($class, $value, $index, $input) = @_;
6136 0 0         die "Input buffer too short"
6137             if ($input_length - $_[2]) < 4;
6138 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6139 0           $_[2] += 4;
6140             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6141 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6142             }
6143             # @_: ($class, $value, $index, $output) = @_;
6144             sub serialize_domain_set_memory_flags_args {
6145 0 0   0 0   croak "Missing required input 'struct' value"
6146             unless defined $_[1];
6147              
6148             # Serializing field: 'dom'
6149             croak "Missing required input value 'dom'"
6150 0 0         unless exists $_[1]->{dom};
6151             # my ($class, $value, $index, $output) = @_;
6152 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6153              
6154             # Serializing field: 'memory'
6155             croak "Missing required input value 'memory'"
6156 0 0         unless exists $_[1]->{memory};
6157             # my ($class, $value, $index, $output) = @_;
6158             croak "Missing required input 'unsigned long' value"
6159 0 0         unless defined $_[1]->{memory};
6160             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6161             unless (0 <= $_[1]->{memory}
6162 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6163             die "Non-integer 'long' value given: $_[1]->{memory}"
6164 0 0         unless int($_[1]->{memory}) == $_[1]->{memory};
6165 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memory});
6166 0           $_[2] += 8;
6167              
6168             # Serializing field: 'flags'
6169             croak "Missing required input value 'flags'"
6170 0 0         unless exists $_[1]->{flags};
6171             # my ($class, $value, $index, $output) = @_;
6172             croak "Missing required input 'unsigned int' value"
6173 0 0         unless defined $_[1]->{flags};
6174             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6175 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6176             die "Non-integer 'int' value given: $_[1]->{flags}"
6177 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6178 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6179 0           $_[2] += 4;
6180             }
6181             # @_: ($class, $value, $index, $input) = @_;
6182             sub deserialize_domain_set_memory_stats_period_args {
6183 0     0 0   my $input_length = length $_[3];
6184 0           $_[1] = {};
6185             # Deserializing field: 'dom'
6186             # my ($class, $value, $index, $input) = @_;
6187 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6188              
6189             # Deserializing field: 'period'
6190             # my ($class, $value, $index, $input) = @_;
6191 0 0         die "Input buffer too short"
6192             if ($input_length - $_[2]) < 4;
6193 0           $_[1]->{period} = unpack("l>", substr( $_[3], $_[2] ));
6194 0           $_[2] += 4;
6195             die "Out of bounds 'int': $_[1]->{period}"
6196 0 0 0       unless (-2147483648 <= $_[1]->{period} and $_[1]->{period} < 2147483648);
6197              
6198             # Deserializing field: 'flags'
6199             # my ($class, $value, $index, $input) = @_;
6200 0 0         die "Input buffer too short"
6201             if ($input_length - $_[2]) < 4;
6202 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6203 0           $_[2] += 4;
6204             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6205 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6206             }
6207             # @_: ($class, $value, $index, $output) = @_;
6208             sub serialize_domain_set_memory_stats_period_args {
6209 0 0   0 0   croak "Missing required input 'struct' value"
6210             unless defined $_[1];
6211              
6212             # Serializing field: 'dom'
6213             croak "Missing required input value 'dom'"
6214 0 0         unless exists $_[1]->{dom};
6215             # my ($class, $value, $index, $output) = @_;
6216 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6217              
6218             # Serializing field: 'period'
6219             croak "Missing required input value 'period'"
6220 0 0         unless exists $_[1]->{period};
6221             # my ($class, $value, $index, $output) = @_;
6222             croak "Missing required input 'int' value"
6223 0 0         unless defined $_[1]->{period};
6224             die "Out of bounds 'int': $_[1]->{period}"
6225 0 0 0       unless (-2147483648 <= $_[1]->{period} and $_[1]->{period} < 2147483648);
6226             die "Non-integer 'int' value given: $_[1]->{period}"
6227 0 0         unless int($_[1]->{period}) == $_[1]->{period};
6228 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{period});
6229 0           $_[2] += 4;
6230              
6231             # Serializing field: 'flags'
6232             croak "Missing required input value 'flags'"
6233 0 0         unless exists $_[1]->{flags};
6234             # my ($class, $value, $index, $output) = @_;
6235             croak "Missing required input 'unsigned int' value"
6236 0 0         unless defined $_[1]->{flags};
6237             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6238 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6239             die "Non-integer 'int' value given: $_[1]->{flags}"
6240 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6241 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6242 0           $_[2] += 4;
6243             }
6244             # @_: ($class, $value, $index, $input) = @_;
6245             sub deserialize_domain_get_info_args {
6246 0     0 0   my $input_length = length $_[3];
6247 0           $_[1] = {};
6248             # Deserializing field: 'dom'
6249             # my ($class, $value, $index, $input) = @_;
6250 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6251             }
6252             # @_: ($class, $value, $index, $output) = @_;
6253             sub serialize_domain_get_info_args {
6254 0 0   0 0   croak "Missing required input 'struct' value"
6255             unless defined $_[1];
6256              
6257             # Serializing field: 'dom'
6258             croak "Missing required input value 'dom'"
6259 0 0         unless exists $_[1]->{dom};
6260             # my ($class, $value, $index, $output) = @_;
6261 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6262             }
6263             # @_: ($class, $value, $index, $input) = @_;
6264             sub deserialize_domain_get_info_ret {
6265 0     0 0   my $input_length = length $_[3];
6266 0           $_[1] = {};
6267             # Deserializing field: 'state'
6268             # my ($class, $value, $index, $input) = @_;
6269 0 0         die "Input buffer too short"
6270             if ($input_length - $_[2]) < 4;
6271 0           $_[1]->{state} = unpack("L>", substr( $_[3], $_[2] ));
6272 0           $_[2] += 4;
6273             die "Out of bounds 'unsigned char': $_[1]->{state}"
6274 0 0 0       unless (0 <= $_[1]->{state} and $_[1]->{state} <= 255);
6275              
6276             # Deserializing field: 'maxMem'
6277             # my ($class, $value, $index, $input) = @_;
6278 0 0         die "Input buffer too short"
6279             if ($input_length - $_[2]) < 8;
6280 0           $_[1]->{maxMem} = unpack("Q>", substr( $_[3], $_[2] ));
6281 0           $_[2] += 8;
6282             die "Out of bounds 'unsigned hyper': $_[1]->{maxMem}"
6283             unless (0 <= $_[1]->{maxMem}
6284 0 0 0       and $_[1]->{maxMem} <= 18446744073709551615);
6285              
6286             # Deserializing field: 'memory'
6287             # my ($class, $value, $index, $input) = @_;
6288 0 0         die "Input buffer too short"
6289             if ($input_length - $_[2]) < 8;
6290 0           $_[1]->{memory} = unpack("Q>", substr( $_[3], $_[2] ));
6291 0           $_[2] += 8;
6292             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6293             unless (0 <= $_[1]->{memory}
6294 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6295              
6296             # Deserializing field: 'nrVirtCpu'
6297             # my ($class, $value, $index, $input) = @_;
6298 0 0         die "Input buffer too short"
6299             if ($input_length - $_[2]) < 4;
6300 0           $_[1]->{nrVirtCpu} = unpack("L>", substr( $_[3], $_[2] ));
6301 0           $_[2] += 4;
6302             die "Out of bounds 'unsigned short': $_[1]->{nrVirtCpu}"
6303 0 0 0       unless (0 <= $_[1]->{nrVirtCpu} and $_[1]->{nrVirtCpu} <= 65535);
6304              
6305             # Deserializing field: 'cpuTime'
6306             # my ($class, $value, $index, $input) = @_;
6307 0 0         die "Input buffer too short"
6308             if ($input_length - $_[2]) < 8;
6309 0           $_[1]->{cpuTime} = unpack("Q>", substr( $_[3], $_[2] ));
6310 0           $_[2] += 8;
6311             die "Out of bounds 'unsigned hyper': $_[1]->{cpuTime}"
6312             unless (0 <= $_[1]->{cpuTime}
6313 0 0 0       and $_[1]->{cpuTime} <= 18446744073709551615);
6314             }
6315             # @_: ($class, $value, $index, $output) = @_;
6316             sub serialize_domain_get_info_ret {
6317 0 0   0 0   croak "Missing required input 'struct' value"
6318             unless defined $_[1];
6319              
6320             # Serializing field: 'state'
6321             croak "Missing required input value 'state'"
6322 0 0         unless exists $_[1]->{state};
6323             # my ($class, $value, $index, $output) = @_;
6324             croak "Missing required input 'char' value"
6325 0 0         unless defined $_[1]->{state};
6326             die "Out of bounds 'unsigned char': $_[1]->{state}"
6327 0 0 0       unless (0 <= $_[1]->{state} and $_[1]->{state} <= 255);
6328             die "Non-integer 'char' value given: $_[1]->{state}"
6329 0 0         unless int($_[1]->{state}) == $_[1]->{state};
6330 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{state});
6331 0           $_[2] += 4;
6332              
6333             # Serializing field: 'maxMem'
6334             croak "Missing required input value 'maxMem'"
6335 0 0         unless exists $_[1]->{maxMem};
6336             # my ($class, $value, $index, $output) = @_;
6337             croak "Missing required input 'unsigned long' value"
6338 0 0         unless defined $_[1]->{maxMem};
6339             die "Out of bounds 'unsigned hyper': $_[1]->{maxMem}"
6340             unless (0 <= $_[1]->{maxMem}
6341 0 0 0       and $_[1]->{maxMem} <= 18446744073709551615);
6342             die "Non-integer 'long' value given: $_[1]->{maxMem}"
6343 0 0         unless int($_[1]->{maxMem}) == $_[1]->{maxMem};
6344 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{maxMem});
6345 0           $_[2] += 8;
6346              
6347             # Serializing field: 'memory'
6348             croak "Missing required input value 'memory'"
6349 0 0         unless exists $_[1]->{memory};
6350             # my ($class, $value, $index, $output) = @_;
6351             croak "Missing required input 'unsigned long' value"
6352 0 0         unless defined $_[1]->{memory};
6353             die "Out of bounds 'unsigned hyper': $_[1]->{memory}"
6354             unless (0 <= $_[1]->{memory}
6355 0 0 0       and $_[1]->{memory} <= 18446744073709551615);
6356             die "Non-integer 'long' value given: $_[1]->{memory}"
6357 0 0         unless int($_[1]->{memory}) == $_[1]->{memory};
6358 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memory});
6359 0           $_[2] += 8;
6360              
6361             # Serializing field: 'nrVirtCpu'
6362             croak "Missing required input value 'nrVirtCpu'"
6363 0 0         unless exists $_[1]->{nrVirtCpu};
6364             # my ($class, $value, $index, $output) = @_;
6365             croak "Missing required input 'short' value"
6366 0 0         unless defined $_[1]->{nrVirtCpu};
6367             die "Out of bounds 'unsigned short': $_[1]->{nrVirtCpu}"
6368 0 0 0       unless (0 <= $_[1]->{nrVirtCpu} and $_[1]->{nrVirtCpu} <= 65535);
6369             die "Non-integer 'short' value given: $_[1]->{nrVirtCpu}"
6370 0 0         unless int($_[1]->{nrVirtCpu}) == $_[1]->{nrVirtCpu};
6371 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{nrVirtCpu});
6372 0           $_[2] += 4;
6373              
6374             # Serializing field: 'cpuTime'
6375             croak "Missing required input value 'cpuTime'"
6376 0 0         unless exists $_[1]->{cpuTime};
6377             # my ($class, $value, $index, $output) = @_;
6378             croak "Missing required input 'unsigned long' value"
6379 0 0         unless defined $_[1]->{cpuTime};
6380             die "Out of bounds 'unsigned hyper': $_[1]->{cpuTime}"
6381             unless (0 <= $_[1]->{cpuTime}
6382 0 0 0       and $_[1]->{cpuTime} <= 18446744073709551615);
6383             die "Non-integer 'long' value given: $_[1]->{cpuTime}"
6384 0 0         unless int($_[1]->{cpuTime}) == $_[1]->{cpuTime};
6385 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{cpuTime});
6386 0           $_[2] += 8;
6387             }
6388             # @_: ($class, $value, $index, $input) = @_;
6389             sub deserialize_domain_save_args {
6390 0     0 0   my $input_length = length $_[3];
6391 0           $_[1] = {};
6392             # Deserializing field: 'dom'
6393             # my ($class, $value, $index, $input) = @_;
6394 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6395              
6396             # Deserializing field: 'to'
6397             # my ($class, $value, $index, $input) = @_;
6398 0           $_[0]->deserialize_nonnull_string( $_[1]->{to}, $_[2], $_[3] );
6399             }
6400             # @_: ($class, $value, $index, $output) = @_;
6401             sub serialize_domain_save_args {
6402 0 0   0 0   croak "Missing required input 'struct' value"
6403             unless defined $_[1];
6404              
6405             # Serializing field: 'dom'
6406             croak "Missing required input value 'dom'"
6407 0 0         unless exists $_[1]->{dom};
6408             # my ($class, $value, $index, $output) = @_;
6409 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6410              
6411             # Serializing field: 'to'
6412             croak "Missing required input value 'to'"
6413 0 0         unless exists $_[1]->{to};
6414             # my ($class, $value, $index, $output) = @_;
6415 0           $_[0]->serialize_nonnull_string( $_[1]->{to}, $_[2], $_[3] );
6416             }
6417             # @_: ($class, $value, $index, $input) = @_;
6418             sub deserialize_domain_save_flags_args {
6419 0     0 0   my $input_length = length $_[3];
6420 0           $_[1] = {};
6421             # Deserializing field: 'dom'
6422             # my ($class, $value, $index, $input) = @_;
6423 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6424              
6425             # Deserializing field: 'to'
6426             # my ($class, $value, $index, $input) = @_;
6427 0           $_[0]->deserialize_nonnull_string( $_[1]->{to}, $_[2], $_[3] );
6428              
6429             # Deserializing field: 'dxml'
6430             # my ($class, $value, $index, $input) = @_;
6431 0           $_[0]->deserialize_string( $_[1]->{dxml}, $_[2], $_[3] );
6432              
6433             # Deserializing field: 'flags'
6434             # my ($class, $value, $index, $input) = @_;
6435 0 0         die "Input buffer too short"
6436             if ($input_length - $_[2]) < 4;
6437 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6438 0           $_[2] += 4;
6439             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6440 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6441             }
6442             # @_: ($class, $value, $index, $output) = @_;
6443             sub serialize_domain_save_flags_args {
6444 0 0   0 0   croak "Missing required input 'struct' value"
6445             unless defined $_[1];
6446              
6447             # Serializing field: 'dom'
6448             croak "Missing required input value 'dom'"
6449 0 0         unless exists $_[1]->{dom};
6450             # my ($class, $value, $index, $output) = @_;
6451 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6452              
6453             # Serializing field: 'to'
6454             croak "Missing required input value 'to'"
6455 0 0         unless exists $_[1]->{to};
6456             # my ($class, $value, $index, $output) = @_;
6457 0           $_[0]->serialize_nonnull_string( $_[1]->{to}, $_[2], $_[3] );
6458              
6459             # Serializing field: 'dxml'
6460             croak "Missing required input value 'dxml'"
6461 0 0         unless exists $_[1]->{dxml};
6462             # my ($class, $value, $index, $output) = @_;
6463 0           $_[0]->serialize_string( $_[1]->{dxml}, $_[2], $_[3] );
6464              
6465             # Serializing field: 'flags'
6466             croak "Missing required input value 'flags'"
6467 0 0         unless exists $_[1]->{flags};
6468             # my ($class, $value, $index, $output) = @_;
6469             croak "Missing required input 'unsigned int' value"
6470 0 0         unless defined $_[1]->{flags};
6471             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6472 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6473             die "Non-integer 'int' value given: $_[1]->{flags}"
6474 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6475 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6476 0           $_[2] += 4;
6477             }
6478             # @_: ($class, $value, $index, $input) = @_;
6479             sub deserialize_domain_save_params_args {
6480 0     0 0   my $input_length = length $_[3];
6481 0           $_[1] = {};
6482             # Deserializing field: 'dom'
6483             # my ($class, $value, $index, $input) = @_;
6484 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6485              
6486             # Deserializing field: 'params'
6487             # my ($class, $value, $index, $input) = @_;
6488 0           do {
6489 0 0         die "Input buffer too short"
6490             if ($input_length - $_[2]) < 4;
6491 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
6492 0           $_[2] += 4;
6493              
6494 0 0         die "Array too long (max: 64): $len"
6495             unless ($len <= 64);
6496 0           $_[1]->{params} = [];
6497 0           for my $i1 ( 0 .. ($len - 1) ) {
6498             # my ($class, $value, $index, $input) = @_;
6499 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
6500             }
6501             };
6502              
6503             # Deserializing field: 'flags'
6504             # my ($class, $value, $index, $input) = @_;
6505 0 0         die "Input buffer too short"
6506             if ($input_length - $_[2]) < 4;
6507 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6508 0           $_[2] += 4;
6509             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6510 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6511             }
6512             # @_: ($class, $value, $index, $output) = @_;
6513             sub serialize_domain_save_params_args {
6514 0 0   0 0   croak "Missing required input 'struct' value"
6515             unless defined $_[1];
6516              
6517             # Serializing field: 'dom'
6518             croak "Missing required input value 'dom'"
6519 0 0         unless exists $_[1]->{dom};
6520             # my ($class, $value, $index, $output) = @_;
6521 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6522              
6523             # Serializing field: 'params'
6524             croak "Missing required input value 'params'"
6525 0 0         unless exists $_[1]->{params};
6526             # my ($class, $value, $index, $output) = @_;
6527             croak "Missing required input 'array' value"
6528 0 0         unless defined $_[1]->{params};
6529 0           do {
6530 0           my $len = scalar @{ $_[1]->{params} };
  0            
6531 0 0         die "Array too long (max: 64): $len"
6532             unless ($len <= 64);
6533              
6534 0           substr( $_[3], $_[2] ) = pack("L>", $len);
6535 0           $_[2] += 4;
6536 0           for my $i1 ( 0 .. ($len - 1) ) {
6537             # my ($class, $value, $index, $output) = @_;
6538 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
6539             }
6540             };
6541              
6542             # Serializing field: 'flags'
6543             croak "Missing required input value 'flags'"
6544 0 0         unless exists $_[1]->{flags};
6545             # my ($class, $value, $index, $output) = @_;
6546             croak "Missing required input 'unsigned int' value"
6547 0 0         unless defined $_[1]->{flags};
6548             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6549 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6550             die "Non-integer 'int' value given: $_[1]->{flags}"
6551 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6552 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6553 0           $_[2] += 4;
6554             }
6555             # @_: ($class, $value, $index, $input) = @_;
6556             sub deserialize_domain_restore_args {
6557 0     0 0   my $input_length = length $_[3];
6558 0           $_[1] = {};
6559             # Deserializing field: 'from'
6560             # my ($class, $value, $index, $input) = @_;
6561 0           $_[0]->deserialize_nonnull_string( $_[1]->{from}, $_[2], $_[3] );
6562             }
6563             # @_: ($class, $value, $index, $output) = @_;
6564             sub serialize_domain_restore_args {
6565 0 0   0 0   croak "Missing required input 'struct' value"
6566             unless defined $_[1];
6567              
6568             # Serializing field: 'from'
6569             croak "Missing required input value 'from'"
6570 0 0         unless exists $_[1]->{from};
6571             # my ($class, $value, $index, $output) = @_;
6572 0           $_[0]->serialize_nonnull_string( $_[1]->{from}, $_[2], $_[3] );
6573             }
6574             # @_: ($class, $value, $index, $input) = @_;
6575             sub deserialize_domain_restore_flags_args {
6576 0     0 0   my $input_length = length $_[3];
6577 0           $_[1] = {};
6578             # Deserializing field: 'from'
6579             # my ($class, $value, $index, $input) = @_;
6580 0           $_[0]->deserialize_nonnull_string( $_[1]->{from}, $_[2], $_[3] );
6581              
6582             # Deserializing field: 'dxml'
6583             # my ($class, $value, $index, $input) = @_;
6584 0           $_[0]->deserialize_string( $_[1]->{dxml}, $_[2], $_[3] );
6585              
6586             # Deserializing field: 'flags'
6587             # my ($class, $value, $index, $input) = @_;
6588 0 0         die "Input buffer too short"
6589             if ($input_length - $_[2]) < 4;
6590 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6591 0           $_[2] += 4;
6592             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6593 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6594             }
6595             # @_: ($class, $value, $index, $output) = @_;
6596             sub serialize_domain_restore_flags_args {
6597 0 0   0 0   croak "Missing required input 'struct' value"
6598             unless defined $_[1];
6599              
6600             # Serializing field: 'from'
6601             croak "Missing required input value 'from'"
6602 0 0         unless exists $_[1]->{from};
6603             # my ($class, $value, $index, $output) = @_;
6604 0           $_[0]->serialize_nonnull_string( $_[1]->{from}, $_[2], $_[3] );
6605              
6606             # Serializing field: 'dxml'
6607             croak "Missing required input value 'dxml'"
6608 0 0         unless exists $_[1]->{dxml};
6609             # my ($class, $value, $index, $output) = @_;
6610 0           $_[0]->serialize_string( $_[1]->{dxml}, $_[2], $_[3] );
6611              
6612             # Serializing field: 'flags'
6613             croak "Missing required input value 'flags'"
6614 0 0         unless exists $_[1]->{flags};
6615             # my ($class, $value, $index, $output) = @_;
6616             croak "Missing required input 'unsigned int' value"
6617 0 0         unless defined $_[1]->{flags};
6618             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6619 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6620             die "Non-integer 'int' value given: $_[1]->{flags}"
6621 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6622 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6623 0           $_[2] += 4;
6624             }
6625             # @_: ($class, $value, $index, $input) = @_;
6626             sub deserialize_domain_restore_params_args {
6627 0     0 0   my $input_length = length $_[3];
6628 0           $_[1] = {};
6629             # Deserializing field: 'params'
6630             # my ($class, $value, $index, $input) = @_;
6631 0           do {
6632 0 0         die "Input buffer too short"
6633             if ($input_length - $_[2]) < 4;
6634 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
6635 0           $_[2] += 4;
6636              
6637 0 0         die "Array too long (max: 64): $len"
6638             unless ($len <= 64);
6639 0           $_[1]->{params} = [];
6640 0           for my $i1 ( 0 .. ($len - 1) ) {
6641             # my ($class, $value, $index, $input) = @_;
6642 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
6643             }
6644             };
6645              
6646             # Deserializing field: 'flags'
6647             # my ($class, $value, $index, $input) = @_;
6648 0 0         die "Input buffer too short"
6649             if ($input_length - $_[2]) < 4;
6650 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6651 0           $_[2] += 4;
6652             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6653 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6654             }
6655             # @_: ($class, $value, $index, $output) = @_;
6656             sub serialize_domain_restore_params_args {
6657 0 0   0 0   croak "Missing required input 'struct' value"
6658             unless defined $_[1];
6659              
6660             # Serializing field: 'params'
6661             croak "Missing required input value 'params'"
6662 0 0         unless exists $_[1]->{params};
6663             # my ($class, $value, $index, $output) = @_;
6664             croak "Missing required input 'array' value"
6665 0 0         unless defined $_[1]->{params};
6666 0           do {
6667 0           my $len = scalar @{ $_[1]->{params} };
  0            
6668 0 0         die "Array too long (max: 64): $len"
6669             unless ($len <= 64);
6670              
6671 0           substr( $_[3], $_[2] ) = pack("L>", $len);
6672 0           $_[2] += 4;
6673 0           for my $i1 ( 0 .. ($len - 1) ) {
6674             # my ($class, $value, $index, $output) = @_;
6675 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
6676             }
6677             };
6678              
6679             # Serializing field: 'flags'
6680             croak "Missing required input value 'flags'"
6681 0 0         unless exists $_[1]->{flags};
6682             # my ($class, $value, $index, $output) = @_;
6683             croak "Missing required input 'unsigned int' value"
6684 0 0         unless defined $_[1]->{flags};
6685             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6686 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6687             die "Non-integer 'int' value given: $_[1]->{flags}"
6688 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6689 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6690 0           $_[2] += 4;
6691             }
6692             # @_: ($class, $value, $index, $input) = @_;
6693             sub deserialize_domain_save_image_get_xml_desc_args {
6694 0     0 0   my $input_length = length $_[3];
6695 0           $_[1] = {};
6696             # Deserializing field: 'file'
6697             # my ($class, $value, $index, $input) = @_;
6698 0           $_[0]->deserialize_nonnull_string( $_[1]->{file}, $_[2], $_[3] );
6699              
6700             # Deserializing field: 'flags'
6701             # my ($class, $value, $index, $input) = @_;
6702 0 0         die "Input buffer too short"
6703             if ($input_length - $_[2]) < 4;
6704 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6705 0           $_[2] += 4;
6706             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6707 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6708             }
6709             # @_: ($class, $value, $index, $output) = @_;
6710             sub serialize_domain_save_image_get_xml_desc_args {
6711 0 0   0 0   croak "Missing required input 'struct' value"
6712             unless defined $_[1];
6713              
6714             # Serializing field: 'file'
6715             croak "Missing required input value 'file'"
6716 0 0         unless exists $_[1]->{file};
6717             # my ($class, $value, $index, $output) = @_;
6718 0           $_[0]->serialize_nonnull_string( $_[1]->{file}, $_[2], $_[3] );
6719              
6720             # Serializing field: 'flags'
6721             croak "Missing required input value 'flags'"
6722 0 0         unless exists $_[1]->{flags};
6723             # my ($class, $value, $index, $output) = @_;
6724             croak "Missing required input 'unsigned int' value"
6725 0 0         unless defined $_[1]->{flags};
6726             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6727 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6728             die "Non-integer 'int' value given: $_[1]->{flags}"
6729 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6730 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6731 0           $_[2] += 4;
6732             }
6733             # @_: ($class, $value, $index, $input) = @_;
6734             sub deserialize_domain_save_image_get_xml_desc_ret {
6735 0     0 0   my $input_length = length $_[3];
6736 0           $_[1] = {};
6737             # Deserializing field: 'xml'
6738             # my ($class, $value, $index, $input) = @_;
6739 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
6740             }
6741             # @_: ($class, $value, $index, $output) = @_;
6742             sub serialize_domain_save_image_get_xml_desc_ret {
6743 0 0   0 0   croak "Missing required input 'struct' value"
6744             unless defined $_[1];
6745              
6746             # Serializing field: 'xml'
6747             croak "Missing required input value 'xml'"
6748 0 0         unless exists $_[1]->{xml};
6749             # my ($class, $value, $index, $output) = @_;
6750 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
6751             }
6752             # @_: ($class, $value, $index, $input) = @_;
6753             sub deserialize_domain_save_image_define_xml_args {
6754 0     0 0   my $input_length = length $_[3];
6755 0           $_[1] = {};
6756             # Deserializing field: 'file'
6757             # my ($class, $value, $index, $input) = @_;
6758 0           $_[0]->deserialize_nonnull_string( $_[1]->{file}, $_[2], $_[3] );
6759              
6760             # Deserializing field: 'dxml'
6761             # my ($class, $value, $index, $input) = @_;
6762 0           $_[0]->deserialize_nonnull_string( $_[1]->{dxml}, $_[2], $_[3] );
6763              
6764             # Deserializing field: 'flags'
6765             # my ($class, $value, $index, $input) = @_;
6766 0 0         die "Input buffer too short"
6767             if ($input_length - $_[2]) < 4;
6768 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6769 0           $_[2] += 4;
6770             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6771 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6772             }
6773             # @_: ($class, $value, $index, $output) = @_;
6774             sub serialize_domain_save_image_define_xml_args {
6775 0 0   0 0   croak "Missing required input 'struct' value"
6776             unless defined $_[1];
6777              
6778             # Serializing field: 'file'
6779             croak "Missing required input value 'file'"
6780 0 0         unless exists $_[1]->{file};
6781             # my ($class, $value, $index, $output) = @_;
6782 0           $_[0]->serialize_nonnull_string( $_[1]->{file}, $_[2], $_[3] );
6783              
6784             # Serializing field: 'dxml'
6785             croak "Missing required input value 'dxml'"
6786 0 0         unless exists $_[1]->{dxml};
6787             # my ($class, $value, $index, $output) = @_;
6788 0           $_[0]->serialize_nonnull_string( $_[1]->{dxml}, $_[2], $_[3] );
6789              
6790             # Serializing field: 'flags'
6791             croak "Missing required input value 'flags'"
6792 0 0         unless exists $_[1]->{flags};
6793             # my ($class, $value, $index, $output) = @_;
6794             croak "Missing required input 'unsigned int' value"
6795 0 0         unless defined $_[1]->{flags};
6796             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6797 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6798             die "Non-integer 'int' value given: $_[1]->{flags}"
6799 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6800 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6801 0           $_[2] += 4;
6802             }
6803             # @_: ($class, $value, $index, $input) = @_;
6804             sub deserialize_domain_core_dump_args {
6805 0     0 0   my $input_length = length $_[3];
6806 0           $_[1] = {};
6807             # Deserializing field: 'dom'
6808             # my ($class, $value, $index, $input) = @_;
6809 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6810              
6811             # Deserializing field: 'to'
6812             # my ($class, $value, $index, $input) = @_;
6813 0           $_[0]->deserialize_nonnull_string( $_[1]->{to}, $_[2], $_[3] );
6814              
6815             # Deserializing field: 'flags'
6816             # my ($class, $value, $index, $input) = @_;
6817 0 0         die "Input buffer too short"
6818             if ($input_length - $_[2]) < 4;
6819 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6820 0           $_[2] += 4;
6821             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6822 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6823             }
6824             # @_: ($class, $value, $index, $output) = @_;
6825             sub serialize_domain_core_dump_args {
6826 0 0   0 0   croak "Missing required input 'struct' value"
6827             unless defined $_[1];
6828              
6829             # Serializing field: 'dom'
6830             croak "Missing required input value 'dom'"
6831 0 0         unless exists $_[1]->{dom};
6832             # my ($class, $value, $index, $output) = @_;
6833 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6834              
6835             # Serializing field: 'to'
6836             croak "Missing required input value 'to'"
6837 0 0         unless exists $_[1]->{to};
6838             # my ($class, $value, $index, $output) = @_;
6839 0           $_[0]->serialize_nonnull_string( $_[1]->{to}, $_[2], $_[3] );
6840              
6841             # Serializing field: 'flags'
6842             croak "Missing required input value 'flags'"
6843 0 0         unless exists $_[1]->{flags};
6844             # my ($class, $value, $index, $output) = @_;
6845             croak "Missing required input 'unsigned int' value"
6846 0 0         unless defined $_[1]->{flags};
6847             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6848 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6849             die "Non-integer 'int' value given: $_[1]->{flags}"
6850 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6851 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6852 0           $_[2] += 4;
6853             }
6854             # @_: ($class, $value, $index, $input) = @_;
6855             sub deserialize_domain_core_dump_with_format_args {
6856 0     0 0   my $input_length = length $_[3];
6857 0           $_[1] = {};
6858             # Deserializing field: 'dom'
6859             # my ($class, $value, $index, $input) = @_;
6860 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6861              
6862             # Deserializing field: 'to'
6863             # my ($class, $value, $index, $input) = @_;
6864 0           $_[0]->deserialize_nonnull_string( $_[1]->{to}, $_[2], $_[3] );
6865              
6866             # Deserializing field: 'dumpformat'
6867             # my ($class, $value, $index, $input) = @_;
6868 0 0         die "Input buffer too short"
6869             if ($input_length - $_[2]) < 4;
6870 0           $_[1]->{dumpformat} = unpack("L>", substr( $_[3], $_[2] ));
6871 0           $_[2] += 4;
6872             die "Out of bounds 'unsigned int': $_[1]->{dumpformat}"
6873 0 0 0       unless (0 <= $_[1]->{dumpformat} and $_[1]->{dumpformat} <= 4294967295);
6874              
6875             # Deserializing field: 'flags'
6876             # my ($class, $value, $index, $input) = @_;
6877 0 0         die "Input buffer too short"
6878             if ($input_length - $_[2]) < 4;
6879 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6880 0           $_[2] += 4;
6881             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6882 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6883             }
6884             # @_: ($class, $value, $index, $output) = @_;
6885             sub serialize_domain_core_dump_with_format_args {
6886 0 0   0 0   croak "Missing required input 'struct' value"
6887             unless defined $_[1];
6888              
6889             # Serializing field: 'dom'
6890             croak "Missing required input value 'dom'"
6891 0 0         unless exists $_[1]->{dom};
6892             # my ($class, $value, $index, $output) = @_;
6893 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6894              
6895             # Serializing field: 'to'
6896             croak "Missing required input value 'to'"
6897 0 0         unless exists $_[1]->{to};
6898             # my ($class, $value, $index, $output) = @_;
6899 0           $_[0]->serialize_nonnull_string( $_[1]->{to}, $_[2], $_[3] );
6900              
6901             # Serializing field: 'dumpformat'
6902             croak "Missing required input value 'dumpformat'"
6903 0 0         unless exists $_[1]->{dumpformat};
6904             # my ($class, $value, $index, $output) = @_;
6905             croak "Missing required input 'unsigned int' value"
6906 0 0         unless defined $_[1]->{dumpformat};
6907             die "Out of bounds 'unsigned int': $_[1]->{dumpformat}"
6908 0 0 0       unless (0 <= $_[1]->{dumpformat} and $_[1]->{dumpformat} <= 4294967295);
6909             die "Non-integer 'int' value given: $_[1]->{dumpformat}"
6910 0 0         unless int($_[1]->{dumpformat}) == $_[1]->{dumpformat};
6911 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{dumpformat});
6912 0           $_[2] += 4;
6913              
6914             # Serializing field: 'flags'
6915             croak "Missing required input value 'flags'"
6916 0 0         unless exists $_[1]->{flags};
6917             # my ($class, $value, $index, $output) = @_;
6918             croak "Missing required input 'unsigned int' value"
6919 0 0         unless defined $_[1]->{flags};
6920             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6921 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6922             die "Non-integer 'int' value given: $_[1]->{flags}"
6923 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6924 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6925 0           $_[2] += 4;
6926             }
6927             # @_: ($class, $value, $index, $input) = @_;
6928             sub deserialize_domain_screenshot_args {
6929 0     0 0   my $input_length = length $_[3];
6930 0           $_[1] = {};
6931             # Deserializing field: 'dom'
6932             # my ($class, $value, $index, $input) = @_;
6933 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6934              
6935             # Deserializing field: 'screen'
6936             # my ($class, $value, $index, $input) = @_;
6937 0 0         die "Input buffer too short"
6938             if ($input_length - $_[2]) < 4;
6939 0           $_[1]->{screen} = unpack("L>", substr( $_[3], $_[2] ));
6940 0           $_[2] += 4;
6941             die "Out of bounds 'unsigned int': $_[1]->{screen}"
6942 0 0 0       unless (0 <= $_[1]->{screen} and $_[1]->{screen} <= 4294967295);
6943              
6944             # Deserializing field: 'flags'
6945             # my ($class, $value, $index, $input) = @_;
6946 0 0         die "Input buffer too short"
6947             if ($input_length - $_[2]) < 4;
6948 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
6949 0           $_[2] += 4;
6950             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6951 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6952             }
6953             # @_: ($class, $value, $index, $output) = @_;
6954             sub serialize_domain_screenshot_args {
6955 0 0   0 0   croak "Missing required input 'struct' value"
6956             unless defined $_[1];
6957              
6958             # Serializing field: 'dom'
6959             croak "Missing required input value 'dom'"
6960 0 0         unless exists $_[1]->{dom};
6961             # my ($class, $value, $index, $output) = @_;
6962 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
6963              
6964             # Serializing field: 'screen'
6965             croak "Missing required input value 'screen'"
6966 0 0         unless exists $_[1]->{screen};
6967             # my ($class, $value, $index, $output) = @_;
6968             croak "Missing required input 'unsigned int' value"
6969 0 0         unless defined $_[1]->{screen};
6970             die "Out of bounds 'unsigned int': $_[1]->{screen}"
6971 0 0 0       unless (0 <= $_[1]->{screen} and $_[1]->{screen} <= 4294967295);
6972             die "Non-integer 'int' value given: $_[1]->{screen}"
6973 0 0         unless int($_[1]->{screen}) == $_[1]->{screen};
6974 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{screen});
6975 0           $_[2] += 4;
6976              
6977             # Serializing field: 'flags'
6978             croak "Missing required input value 'flags'"
6979 0 0         unless exists $_[1]->{flags};
6980             # my ($class, $value, $index, $output) = @_;
6981             croak "Missing required input 'unsigned int' value"
6982 0 0         unless defined $_[1]->{flags};
6983             die "Out of bounds 'unsigned int': $_[1]->{flags}"
6984 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
6985             die "Non-integer 'int' value given: $_[1]->{flags}"
6986 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
6987 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
6988 0           $_[2] += 4;
6989             }
6990             # @_: ($class, $value, $index, $input) = @_;
6991             sub deserialize_domain_screenshot_ret {
6992 0     0 0   my $input_length = length $_[3];
6993 0           $_[1] = {};
6994             # Deserializing field: 'mime'
6995             # my ($class, $value, $index, $input) = @_;
6996 0           $_[0]->deserialize_string( $_[1]->{mime}, $_[2], $_[3] );
6997             }
6998             # @_: ($class, $value, $index, $output) = @_;
6999             sub serialize_domain_screenshot_ret {
7000 0 0   0 0   croak "Missing required input 'struct' value"
7001             unless defined $_[1];
7002              
7003             # Serializing field: 'mime'
7004             croak "Missing required input value 'mime'"
7005 0 0         unless exists $_[1]->{mime};
7006             # my ($class, $value, $index, $output) = @_;
7007 0           $_[0]->serialize_string( $_[1]->{mime}, $_[2], $_[3] );
7008             }
7009             # @_: ($class, $value, $index, $input) = @_;
7010             sub deserialize_domain_get_xml_desc_args {
7011 0     0 0   my $input_length = length $_[3];
7012 0           $_[1] = {};
7013             # Deserializing field: 'dom'
7014             # my ($class, $value, $index, $input) = @_;
7015 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7016              
7017             # Deserializing field: 'flags'
7018             # my ($class, $value, $index, $input) = @_;
7019 0 0         die "Input buffer too short"
7020             if ($input_length - $_[2]) < 4;
7021 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
7022 0           $_[2] += 4;
7023             die "Out of bounds 'unsigned int': $_[1]->{flags}"
7024 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
7025             }
7026             # @_: ($class, $value, $index, $output) = @_;
7027             sub serialize_domain_get_xml_desc_args {
7028 0 0   0 0   croak "Missing required input 'struct' value"
7029             unless defined $_[1];
7030              
7031             # Serializing field: 'dom'
7032             croak "Missing required input value 'dom'"
7033 0 0         unless exists $_[1]->{dom};
7034             # my ($class, $value, $index, $output) = @_;
7035 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7036              
7037             # Serializing field: 'flags'
7038             croak "Missing required input value 'flags'"
7039 0 0         unless exists $_[1]->{flags};
7040             # my ($class, $value, $index, $output) = @_;
7041             croak "Missing required input 'unsigned int' value"
7042 0 0         unless defined $_[1]->{flags};
7043             die "Out of bounds 'unsigned int': $_[1]->{flags}"
7044 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
7045             die "Non-integer 'int' value given: $_[1]->{flags}"
7046 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
7047 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
7048 0           $_[2] += 4;
7049             }
7050             # @_: ($class, $value, $index, $input) = @_;
7051             sub deserialize_domain_get_xml_desc_ret {
7052 0     0 0   my $input_length = length $_[3];
7053 0           $_[1] = {};
7054             # Deserializing field: 'xml'
7055             # my ($class, $value, $index, $input) = @_;
7056 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
7057             }
7058             # @_: ($class, $value, $index, $output) = @_;
7059             sub serialize_domain_get_xml_desc_ret {
7060 0 0   0 0   croak "Missing required input 'struct' value"
7061             unless defined $_[1];
7062              
7063             # Serializing field: 'xml'
7064             croak "Missing required input value 'xml'"
7065 0 0         unless exists $_[1]->{xml};
7066             # my ($class, $value, $index, $output) = @_;
7067 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
7068             }
7069             # @_: ($class, $value, $index, $input) = @_;
7070             sub deserialize_domain_migrate_prepare_args {
7071 0     0 0   my $input_length = length $_[3];
7072 0           $_[1] = {};
7073             # Deserializing field: 'uri_in'
7074             # my ($class, $value, $index, $input) = @_;
7075 0           $_[0]->deserialize_string( $_[1]->{uri_in}, $_[2], $_[3] );
7076              
7077             # Deserializing field: 'flags'
7078             # my ($class, $value, $index, $input) = @_;
7079 0 0         die "Input buffer too short"
7080             if ($input_length - $_[2]) < 8;
7081 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
7082 0           $_[2] += 8;
7083             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7084             unless (0 <= $_[1]->{flags}
7085 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7086              
7087             # Deserializing field: 'dname'
7088             # my ($class, $value, $index, $input) = @_;
7089 0           $_[0]->deserialize_string( $_[1]->{dname}, $_[2], $_[3] );
7090              
7091             # Deserializing field: 'bandwidth'
7092             # my ($class, $value, $index, $input) = @_;
7093 0 0         die "Input buffer too short"
7094             if ($input_length - $_[2]) < 8;
7095 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
7096 0           $_[2] += 8;
7097             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
7098             unless (0 <= $_[1]->{bandwidth}
7099 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
7100             }
7101             # @_: ($class, $value, $index, $output) = @_;
7102             sub serialize_domain_migrate_prepare_args {
7103 0 0   0 0   croak "Missing required input 'struct' value"
7104             unless defined $_[1];
7105              
7106             # Serializing field: 'uri_in'
7107             croak "Missing required input value 'uri_in'"
7108 0 0         unless exists $_[1]->{uri_in};
7109             # my ($class, $value, $index, $output) = @_;
7110 0           $_[0]->serialize_string( $_[1]->{uri_in}, $_[2], $_[3] );
7111              
7112             # Serializing field: 'flags'
7113             croak "Missing required input value 'flags'"
7114 0 0         unless exists $_[1]->{flags};
7115             # my ($class, $value, $index, $output) = @_;
7116             croak "Missing required input 'unsigned long' value"
7117 0 0         unless defined $_[1]->{flags};
7118             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7119             unless (0 <= $_[1]->{flags}
7120 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7121             die "Non-integer 'long' value given: $_[1]->{flags}"
7122 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
7123 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
7124 0           $_[2] += 8;
7125              
7126             # Serializing field: 'dname'
7127             croak "Missing required input value 'dname'"
7128 0 0         unless exists $_[1]->{dname};
7129             # my ($class, $value, $index, $output) = @_;
7130 0           $_[0]->serialize_string( $_[1]->{dname}, $_[2], $_[3] );
7131              
7132             # Serializing field: 'bandwidth'
7133             croak "Missing required input value 'bandwidth'"
7134 0 0         unless exists $_[1]->{bandwidth};
7135             # my ($class, $value, $index, $output) = @_;
7136             croak "Missing required input 'unsigned long' value"
7137 0 0         unless defined $_[1]->{bandwidth};
7138             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
7139             unless (0 <= $_[1]->{bandwidth}
7140 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
7141             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
7142 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
7143 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
7144 0           $_[2] += 8;
7145             }
7146             # @_: ($class, $value, $index, $input) = @_;
7147             sub deserialize_domain_migrate_prepare_ret {
7148 0     0 0   my $input_length = length $_[3];
7149 0           $_[1] = {};
7150             # Deserializing field: 'cookie'
7151             # my ($class, $value, $index, $input) = @_;
7152 0           do {
7153 0 0         die "Input buffer too short"
7154             if ($input_length - $_[2]) < 4;
7155 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
7156 0           $_[2] += 4;
7157 0 0         die "Opaque data too long (max: 4194304): $len"
7158             unless ($len <= 4194304);
7159 0 0         die "Input buffer too short"
7160             if ($input_length - $_[2]) < $len;
7161 0           $_[1]->{cookie} = substr( $_[3], $_[2], $len );
7162 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
7163             };
7164              
7165             # Deserializing field: 'uri_out'
7166             # my ($class, $value, $index, $input) = @_;
7167 0           $_[0]->deserialize_string( $_[1]->{uri_out}, $_[2], $_[3] );
7168             }
7169             # @_: ($class, $value, $index, $output) = @_;
7170             sub serialize_domain_migrate_prepare_ret {
7171 0 0   0 0   croak "Missing required input 'struct' value"
7172             unless defined $_[1];
7173              
7174             # Serializing field: 'cookie'
7175             croak "Missing required input value 'cookie'"
7176 0 0         unless exists $_[1]->{cookie};
7177             # my ($class, $value, $index, $output) = @_;
7178             croak "Missing required input 'opaque data' value"
7179 0 0         unless defined $_[1]->{cookie};
7180 0           do {
7181 0           my $len = length $_[1]->{cookie};
7182 0 0         die "Opaque data too long (max: 4194304): $len"
7183             unless ($len <= 4194304);
7184              
7185 0           substr( $_[3], $_[2] ) = pack("L>", $len);
7186 0           $_[2] += 4;
7187 0           substr( $_[3], $_[2] ) = $_[1]->{cookie};
7188 0           $_[2] += $len;
7189 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
7190 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
7191 0           $_[2] += $pad;
7192             }
7193             };
7194              
7195             # Serializing field: 'uri_out'
7196             croak "Missing required input value 'uri_out'"
7197 0 0         unless exists $_[1]->{uri_out};
7198             # my ($class, $value, $index, $output) = @_;
7199 0           $_[0]->serialize_string( $_[1]->{uri_out}, $_[2], $_[3] );
7200             }
7201             # @_: ($class, $value, $index, $input) = @_;
7202             sub deserialize_domain_migrate_perform_args {
7203 0     0 0   my $input_length = length $_[3];
7204 0           $_[1] = {};
7205             # Deserializing field: 'dom'
7206             # my ($class, $value, $index, $input) = @_;
7207 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7208              
7209             # Deserializing field: 'cookie'
7210             # my ($class, $value, $index, $input) = @_;
7211 0           do {
7212 0 0         die "Input buffer too short"
7213             if ($input_length - $_[2]) < 4;
7214 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
7215 0           $_[2] += 4;
7216 0 0         die "Opaque data too long (max: 4194304): $len"
7217             unless ($len <= 4194304);
7218 0 0         die "Input buffer too short"
7219             if ($input_length - $_[2]) < $len;
7220 0           $_[1]->{cookie} = substr( $_[3], $_[2], $len );
7221 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
7222             };
7223              
7224             # Deserializing field: 'uri'
7225             # my ($class, $value, $index, $input) = @_;
7226 0           $_[0]->deserialize_nonnull_string( $_[1]->{uri}, $_[2], $_[3] );
7227              
7228             # Deserializing field: 'flags'
7229             # my ($class, $value, $index, $input) = @_;
7230 0 0         die "Input buffer too short"
7231             if ($input_length - $_[2]) < 8;
7232 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
7233 0           $_[2] += 8;
7234             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7235             unless (0 <= $_[1]->{flags}
7236 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7237              
7238             # Deserializing field: 'dname'
7239             # my ($class, $value, $index, $input) = @_;
7240 0           $_[0]->deserialize_string( $_[1]->{dname}, $_[2], $_[3] );
7241              
7242             # Deserializing field: 'bandwidth'
7243             # my ($class, $value, $index, $input) = @_;
7244 0 0         die "Input buffer too short"
7245             if ($input_length - $_[2]) < 8;
7246 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
7247 0           $_[2] += 8;
7248             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
7249             unless (0 <= $_[1]->{bandwidth}
7250 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
7251             }
7252             # @_: ($class, $value, $index, $output) = @_;
7253             sub serialize_domain_migrate_perform_args {
7254 0 0   0 0   croak "Missing required input 'struct' value"
7255             unless defined $_[1];
7256              
7257             # Serializing field: 'dom'
7258             croak "Missing required input value 'dom'"
7259 0 0         unless exists $_[1]->{dom};
7260             # my ($class, $value, $index, $output) = @_;
7261 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7262              
7263             # Serializing field: 'cookie'
7264             croak "Missing required input value 'cookie'"
7265 0 0         unless exists $_[1]->{cookie};
7266             # my ($class, $value, $index, $output) = @_;
7267             croak "Missing required input 'opaque data' value"
7268 0 0         unless defined $_[1]->{cookie};
7269 0           do {
7270 0           my $len = length $_[1]->{cookie};
7271 0 0         die "Opaque data too long (max: 4194304): $len"
7272             unless ($len <= 4194304);
7273              
7274 0           substr( $_[3], $_[2] ) = pack("L>", $len);
7275 0           $_[2] += 4;
7276 0           substr( $_[3], $_[2] ) = $_[1]->{cookie};
7277 0           $_[2] += $len;
7278 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
7279 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
7280 0           $_[2] += $pad;
7281             }
7282             };
7283              
7284             # Serializing field: 'uri'
7285             croak "Missing required input value 'uri'"
7286 0 0         unless exists $_[1]->{uri};
7287             # my ($class, $value, $index, $output) = @_;
7288 0           $_[0]->serialize_nonnull_string( $_[1]->{uri}, $_[2], $_[3] );
7289              
7290             # Serializing field: 'flags'
7291             croak "Missing required input value 'flags'"
7292 0 0         unless exists $_[1]->{flags};
7293             # my ($class, $value, $index, $output) = @_;
7294             croak "Missing required input 'unsigned long' value"
7295 0 0         unless defined $_[1]->{flags};
7296             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7297             unless (0 <= $_[1]->{flags}
7298 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7299             die "Non-integer 'long' value given: $_[1]->{flags}"
7300 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
7301 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
7302 0           $_[2] += 8;
7303              
7304             # Serializing field: 'dname'
7305             croak "Missing required input value 'dname'"
7306 0 0         unless exists $_[1]->{dname};
7307             # my ($class, $value, $index, $output) = @_;
7308 0           $_[0]->serialize_string( $_[1]->{dname}, $_[2], $_[3] );
7309              
7310             # Serializing field: 'bandwidth'
7311             croak "Missing required input value 'bandwidth'"
7312 0 0         unless exists $_[1]->{bandwidth};
7313             # my ($class, $value, $index, $output) = @_;
7314             croak "Missing required input 'unsigned long' value"
7315 0 0         unless defined $_[1]->{bandwidth};
7316             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
7317             unless (0 <= $_[1]->{bandwidth}
7318 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
7319             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
7320 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
7321 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
7322 0           $_[2] += 8;
7323             }
7324             # @_: ($class, $value, $index, $input) = @_;
7325             sub deserialize_domain_migrate_finish_args {
7326 0     0 0   my $input_length = length $_[3];
7327 0           $_[1] = {};
7328             # Deserializing field: 'dname'
7329             # my ($class, $value, $index, $input) = @_;
7330 0           $_[0]->deserialize_nonnull_string( $_[1]->{dname}, $_[2], $_[3] );
7331              
7332             # Deserializing field: 'cookie'
7333             # my ($class, $value, $index, $input) = @_;
7334 0           do {
7335 0 0         die "Input buffer too short"
7336             if ($input_length - $_[2]) < 4;
7337 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
7338 0           $_[2] += 4;
7339 0 0         die "Opaque data too long (max: 4194304): $len"
7340             unless ($len <= 4194304);
7341 0 0         die "Input buffer too short"
7342             if ($input_length - $_[2]) < $len;
7343 0           $_[1]->{cookie} = substr( $_[3], $_[2], $len );
7344 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
7345             };
7346              
7347             # Deserializing field: 'uri'
7348             # my ($class, $value, $index, $input) = @_;
7349 0           $_[0]->deserialize_nonnull_string( $_[1]->{uri}, $_[2], $_[3] );
7350              
7351             # Deserializing field: 'flags'
7352             # my ($class, $value, $index, $input) = @_;
7353 0 0         die "Input buffer too short"
7354             if ($input_length - $_[2]) < 8;
7355 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
7356 0           $_[2] += 8;
7357             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7358             unless (0 <= $_[1]->{flags}
7359 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7360             }
7361             # @_: ($class, $value, $index, $output) = @_;
7362             sub serialize_domain_migrate_finish_args {
7363 0 0   0 0   croak "Missing required input 'struct' value"
7364             unless defined $_[1];
7365              
7366             # Serializing field: 'dname'
7367             croak "Missing required input value 'dname'"
7368 0 0         unless exists $_[1]->{dname};
7369             # my ($class, $value, $index, $output) = @_;
7370 0           $_[0]->serialize_nonnull_string( $_[1]->{dname}, $_[2], $_[3] );
7371              
7372             # Serializing field: 'cookie'
7373             croak "Missing required input value 'cookie'"
7374 0 0         unless exists $_[1]->{cookie};
7375             # my ($class, $value, $index, $output) = @_;
7376             croak "Missing required input 'opaque data' value"
7377 0 0         unless defined $_[1]->{cookie};
7378 0           do {
7379 0           my $len = length $_[1]->{cookie};
7380 0 0         die "Opaque data too long (max: 4194304): $len"
7381             unless ($len <= 4194304);
7382              
7383 0           substr( $_[3], $_[2] ) = pack("L>", $len);
7384 0           $_[2] += 4;
7385 0           substr( $_[3], $_[2] ) = $_[1]->{cookie};
7386 0           $_[2] += $len;
7387 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
7388 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
7389 0           $_[2] += $pad;
7390             }
7391             };
7392              
7393             # Serializing field: 'uri'
7394             croak "Missing required input value 'uri'"
7395 0 0         unless exists $_[1]->{uri};
7396             # my ($class, $value, $index, $output) = @_;
7397 0           $_[0]->serialize_nonnull_string( $_[1]->{uri}, $_[2], $_[3] );
7398              
7399             # Serializing field: 'flags'
7400             croak "Missing required input value 'flags'"
7401 0 0         unless exists $_[1]->{flags};
7402             # my ($class, $value, $index, $output) = @_;
7403             croak "Missing required input 'unsigned long' value"
7404 0 0         unless defined $_[1]->{flags};
7405             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7406             unless (0 <= $_[1]->{flags}
7407 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7408             die "Non-integer 'long' value given: $_[1]->{flags}"
7409 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
7410 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
7411 0           $_[2] += 8;
7412             }
7413             # @_: ($class, $value, $index, $input) = @_;
7414             sub deserialize_domain_migrate_finish_ret {
7415 0     0 0   my $input_length = length $_[3];
7416 0           $_[1] = {};
7417             # Deserializing field: 'ddom'
7418             # my ($class, $value, $index, $input) = @_;
7419 0           $_[0]->deserialize_nonnull_domain( $_[1]->{ddom}, $_[2], $_[3] );
7420             }
7421             # @_: ($class, $value, $index, $output) = @_;
7422             sub serialize_domain_migrate_finish_ret {
7423 0 0   0 0   croak "Missing required input 'struct' value"
7424             unless defined $_[1];
7425              
7426             # Serializing field: 'ddom'
7427             croak "Missing required input value 'ddom'"
7428 0 0         unless exists $_[1]->{ddom};
7429             # my ($class, $value, $index, $output) = @_;
7430 0           $_[0]->serialize_nonnull_domain( $_[1]->{ddom}, $_[2], $_[3] );
7431             }
7432             # @_: ($class, $value, $index, $input) = @_;
7433             sub deserialize_domain_migrate_prepare2_args {
7434 0     0 0   my $input_length = length $_[3];
7435 0           $_[1] = {};
7436             # Deserializing field: 'uri_in'
7437             # my ($class, $value, $index, $input) = @_;
7438 0           $_[0]->deserialize_string( $_[1]->{uri_in}, $_[2], $_[3] );
7439              
7440             # Deserializing field: 'flags'
7441             # my ($class, $value, $index, $input) = @_;
7442 0 0         die "Input buffer too short"
7443             if ($input_length - $_[2]) < 8;
7444 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
7445 0           $_[2] += 8;
7446             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7447             unless (0 <= $_[1]->{flags}
7448 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7449              
7450             # Deserializing field: 'dname'
7451             # my ($class, $value, $index, $input) = @_;
7452 0           $_[0]->deserialize_string( $_[1]->{dname}, $_[2], $_[3] );
7453              
7454             # Deserializing field: 'bandwidth'
7455             # my ($class, $value, $index, $input) = @_;
7456 0 0         die "Input buffer too short"
7457             if ($input_length - $_[2]) < 8;
7458 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
7459 0           $_[2] += 8;
7460             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
7461             unless (0 <= $_[1]->{bandwidth}
7462 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
7463              
7464             # Deserializing field: 'dom_xml'
7465             # my ($class, $value, $index, $input) = @_;
7466 0           $_[0]->deserialize_nonnull_string( $_[1]->{dom_xml}, $_[2], $_[3] );
7467             }
7468             # @_: ($class, $value, $index, $output) = @_;
7469             sub serialize_domain_migrate_prepare2_args {
7470 0 0   0 0   croak "Missing required input 'struct' value"
7471             unless defined $_[1];
7472              
7473             # Serializing field: 'uri_in'
7474             croak "Missing required input value 'uri_in'"
7475 0 0         unless exists $_[1]->{uri_in};
7476             # my ($class, $value, $index, $output) = @_;
7477 0           $_[0]->serialize_string( $_[1]->{uri_in}, $_[2], $_[3] );
7478              
7479             # Serializing field: 'flags'
7480             croak "Missing required input value 'flags'"
7481 0 0         unless exists $_[1]->{flags};
7482             # my ($class, $value, $index, $output) = @_;
7483             croak "Missing required input 'unsigned long' value"
7484 0 0         unless defined $_[1]->{flags};
7485             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7486             unless (0 <= $_[1]->{flags}
7487 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7488             die "Non-integer 'long' value given: $_[1]->{flags}"
7489 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
7490 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
7491 0           $_[2] += 8;
7492              
7493             # Serializing field: 'dname'
7494             croak "Missing required input value 'dname'"
7495 0 0         unless exists $_[1]->{dname};
7496             # my ($class, $value, $index, $output) = @_;
7497 0           $_[0]->serialize_string( $_[1]->{dname}, $_[2], $_[3] );
7498              
7499             # Serializing field: 'bandwidth'
7500             croak "Missing required input value 'bandwidth'"
7501 0 0         unless exists $_[1]->{bandwidth};
7502             # my ($class, $value, $index, $output) = @_;
7503             croak "Missing required input 'unsigned long' value"
7504 0 0         unless defined $_[1]->{bandwidth};
7505             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
7506             unless (0 <= $_[1]->{bandwidth}
7507 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
7508             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
7509 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
7510 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
7511 0           $_[2] += 8;
7512              
7513             # Serializing field: 'dom_xml'
7514             croak "Missing required input value 'dom_xml'"
7515 0 0         unless exists $_[1]->{dom_xml};
7516             # my ($class, $value, $index, $output) = @_;
7517 0           $_[0]->serialize_nonnull_string( $_[1]->{dom_xml}, $_[2], $_[3] );
7518             }
7519             # @_: ($class, $value, $index, $input) = @_;
7520             sub deserialize_domain_migrate_prepare2_ret {
7521 0     0 0   my $input_length = length $_[3];
7522 0           $_[1] = {};
7523             # Deserializing field: 'cookie'
7524             # my ($class, $value, $index, $input) = @_;
7525 0           do {
7526 0 0         die "Input buffer too short"
7527             if ($input_length - $_[2]) < 4;
7528 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
7529 0           $_[2] += 4;
7530 0 0         die "Opaque data too long (max: 4194304): $len"
7531             unless ($len <= 4194304);
7532 0 0         die "Input buffer too short"
7533             if ($input_length - $_[2]) < $len;
7534 0           $_[1]->{cookie} = substr( $_[3], $_[2], $len );
7535 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
7536             };
7537              
7538             # Deserializing field: 'uri_out'
7539             # my ($class, $value, $index, $input) = @_;
7540 0           $_[0]->deserialize_string( $_[1]->{uri_out}, $_[2], $_[3] );
7541             }
7542             # @_: ($class, $value, $index, $output) = @_;
7543             sub serialize_domain_migrate_prepare2_ret {
7544 0 0   0 0   croak "Missing required input 'struct' value"
7545             unless defined $_[1];
7546              
7547             # Serializing field: 'cookie'
7548             croak "Missing required input value 'cookie'"
7549 0 0         unless exists $_[1]->{cookie};
7550             # my ($class, $value, $index, $output) = @_;
7551             croak "Missing required input 'opaque data' value"
7552 0 0         unless defined $_[1]->{cookie};
7553 0           do {
7554 0           my $len = length $_[1]->{cookie};
7555 0 0         die "Opaque data too long (max: 4194304): $len"
7556             unless ($len <= 4194304);
7557              
7558 0           substr( $_[3], $_[2] ) = pack("L>", $len);
7559 0           $_[2] += 4;
7560 0           substr( $_[3], $_[2] ) = $_[1]->{cookie};
7561 0           $_[2] += $len;
7562 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
7563 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
7564 0           $_[2] += $pad;
7565             }
7566             };
7567              
7568             # Serializing field: 'uri_out'
7569             croak "Missing required input value 'uri_out'"
7570 0 0         unless exists $_[1]->{uri_out};
7571             # my ($class, $value, $index, $output) = @_;
7572 0           $_[0]->serialize_string( $_[1]->{uri_out}, $_[2], $_[3] );
7573             }
7574             # @_: ($class, $value, $index, $input) = @_;
7575             sub deserialize_domain_migrate_finish2_args {
7576 0     0 0   my $input_length = length $_[3];
7577 0           $_[1] = {};
7578             # Deserializing field: 'dname'
7579             # my ($class, $value, $index, $input) = @_;
7580 0           $_[0]->deserialize_nonnull_string( $_[1]->{dname}, $_[2], $_[3] );
7581              
7582             # Deserializing field: 'cookie'
7583             # my ($class, $value, $index, $input) = @_;
7584 0           do {
7585 0 0         die "Input buffer too short"
7586             if ($input_length - $_[2]) < 4;
7587 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
7588 0           $_[2] += 4;
7589 0 0         die "Opaque data too long (max: 4194304): $len"
7590             unless ($len <= 4194304);
7591 0 0         die "Input buffer too short"
7592             if ($input_length - $_[2]) < $len;
7593 0           $_[1]->{cookie} = substr( $_[3], $_[2], $len );
7594 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
7595             };
7596              
7597             # Deserializing field: 'uri'
7598             # my ($class, $value, $index, $input) = @_;
7599 0           $_[0]->deserialize_nonnull_string( $_[1]->{uri}, $_[2], $_[3] );
7600              
7601             # Deserializing field: 'flags'
7602             # my ($class, $value, $index, $input) = @_;
7603 0 0         die "Input buffer too short"
7604             if ($input_length - $_[2]) < 8;
7605 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
7606 0           $_[2] += 8;
7607             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7608             unless (0 <= $_[1]->{flags}
7609 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7610              
7611             # Deserializing field: 'retcode'
7612             # my ($class, $value, $index, $input) = @_;
7613 0 0         die "Input buffer too short"
7614             if ($input_length - $_[2]) < 4;
7615 0           $_[1]->{retcode} = unpack("l>", substr( $_[3], $_[2] ));
7616 0           $_[2] += 4;
7617             die "Out of bounds 'int': $_[1]->{retcode}"
7618 0 0 0       unless (-2147483648 <= $_[1]->{retcode} and $_[1]->{retcode} < 2147483648);
7619             }
7620             # @_: ($class, $value, $index, $output) = @_;
7621             sub serialize_domain_migrate_finish2_args {
7622 0 0   0 0   croak "Missing required input 'struct' value"
7623             unless defined $_[1];
7624              
7625             # Serializing field: 'dname'
7626             croak "Missing required input value 'dname'"
7627 0 0         unless exists $_[1]->{dname};
7628             # my ($class, $value, $index, $output) = @_;
7629 0           $_[0]->serialize_nonnull_string( $_[1]->{dname}, $_[2], $_[3] );
7630              
7631             # Serializing field: 'cookie'
7632             croak "Missing required input value 'cookie'"
7633 0 0         unless exists $_[1]->{cookie};
7634             # my ($class, $value, $index, $output) = @_;
7635             croak "Missing required input 'opaque data' value"
7636 0 0         unless defined $_[1]->{cookie};
7637 0           do {
7638 0           my $len = length $_[1]->{cookie};
7639 0 0         die "Opaque data too long (max: 4194304): $len"
7640             unless ($len <= 4194304);
7641              
7642 0           substr( $_[3], $_[2] ) = pack("L>", $len);
7643 0           $_[2] += 4;
7644 0           substr( $_[3], $_[2] ) = $_[1]->{cookie};
7645 0           $_[2] += $len;
7646 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
7647 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
7648 0           $_[2] += $pad;
7649             }
7650             };
7651              
7652             # Serializing field: 'uri'
7653             croak "Missing required input value 'uri'"
7654 0 0         unless exists $_[1]->{uri};
7655             # my ($class, $value, $index, $output) = @_;
7656 0           $_[0]->serialize_nonnull_string( $_[1]->{uri}, $_[2], $_[3] );
7657              
7658             # Serializing field: 'flags'
7659             croak "Missing required input value 'flags'"
7660 0 0         unless exists $_[1]->{flags};
7661             # my ($class, $value, $index, $output) = @_;
7662             croak "Missing required input 'unsigned long' value"
7663 0 0         unless defined $_[1]->{flags};
7664             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
7665             unless (0 <= $_[1]->{flags}
7666 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
7667             die "Non-integer 'long' value given: $_[1]->{flags}"
7668 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
7669 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
7670 0           $_[2] += 8;
7671              
7672             # Serializing field: 'retcode'
7673             croak "Missing required input value 'retcode'"
7674 0 0         unless exists $_[1]->{retcode};
7675             # my ($class, $value, $index, $output) = @_;
7676             croak "Missing required input 'int' value"
7677 0 0         unless defined $_[1]->{retcode};
7678             die "Out of bounds 'int': $_[1]->{retcode}"
7679 0 0 0       unless (-2147483648 <= $_[1]->{retcode} and $_[1]->{retcode} < 2147483648);
7680             die "Non-integer 'int' value given: $_[1]->{retcode}"
7681 0 0         unless int($_[1]->{retcode}) == $_[1]->{retcode};
7682 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{retcode});
7683 0           $_[2] += 4;
7684             }
7685             # @_: ($class, $value, $index, $input) = @_;
7686             sub deserialize_domain_migrate_finish2_ret {
7687 0     0 0   my $input_length = length $_[3];
7688 0           $_[1] = {};
7689             # Deserializing field: 'ddom'
7690             # my ($class, $value, $index, $input) = @_;
7691 0           $_[0]->deserialize_nonnull_domain( $_[1]->{ddom}, $_[2], $_[3] );
7692             }
7693             # @_: ($class, $value, $index, $output) = @_;
7694             sub serialize_domain_migrate_finish2_ret {
7695 0 0   0 0   croak "Missing required input 'struct' value"
7696             unless defined $_[1];
7697              
7698             # Serializing field: 'ddom'
7699             croak "Missing required input value 'ddom'"
7700 0 0         unless exists $_[1]->{ddom};
7701             # my ($class, $value, $index, $output) = @_;
7702 0           $_[0]->serialize_nonnull_domain( $_[1]->{ddom}, $_[2], $_[3] );
7703             }
7704             # @_: ($class, $value, $index, $input) = @_;
7705             sub deserialize_connect_list_defined_domains_args {
7706 0     0 0   my $input_length = length $_[3];
7707 0           $_[1] = {};
7708             # Deserializing field: 'maxnames'
7709             # my ($class, $value, $index, $input) = @_;
7710 0 0         die "Input buffer too short"
7711             if ($input_length - $_[2]) < 4;
7712 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
7713 0           $_[2] += 4;
7714             die "Out of bounds 'int': $_[1]->{maxnames}"
7715 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
7716             }
7717             # @_: ($class, $value, $index, $output) = @_;
7718             sub serialize_connect_list_defined_domains_args {
7719 0 0   0 0   croak "Missing required input 'struct' value"
7720             unless defined $_[1];
7721              
7722             # Serializing field: 'maxnames'
7723             croak "Missing required input value 'maxnames'"
7724 0 0         unless exists $_[1]->{maxnames};
7725             # my ($class, $value, $index, $output) = @_;
7726             croak "Missing required input 'int' value"
7727 0 0         unless defined $_[1]->{maxnames};
7728             die "Out of bounds 'int': $_[1]->{maxnames}"
7729 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
7730             die "Non-integer 'int' value given: $_[1]->{maxnames}"
7731 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
7732 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
7733 0           $_[2] += 4;
7734             }
7735             # @_: ($class, $value, $index, $input) = @_;
7736             sub deserialize_connect_list_defined_domains_ret {
7737 0     0 0   my $input_length = length $_[3];
7738 0           $_[1] = {};
7739             # Deserializing field: 'names'
7740             # my ($class, $value, $index, $input) = @_;
7741 0           do {
7742 0 0         die "Input buffer too short"
7743             if ($input_length - $_[2]) < 4;
7744 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
7745 0           $_[2] += 4;
7746              
7747 0 0         die "Array too long (max: 16384): $len"
7748             unless ($len <= 16384);
7749 0           $_[1]->{names} = [];
7750 0           for my $i1 ( 0 .. ($len - 1) ) {
7751             # my ($class, $value, $index, $input) = @_;
7752 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
7753             }
7754             };
7755             }
7756             # @_: ($class, $value, $index, $output) = @_;
7757             sub serialize_connect_list_defined_domains_ret {
7758 0 0   0 0   croak "Missing required input 'struct' value"
7759             unless defined $_[1];
7760              
7761             # Serializing field: 'names'
7762             croak "Missing required input value 'names'"
7763 0 0         unless exists $_[1]->{names};
7764             # my ($class, $value, $index, $output) = @_;
7765             croak "Missing required input 'array' value"
7766 0 0         unless defined $_[1]->{names};
7767 0           do {
7768 0           my $len = scalar @{ $_[1]->{names} };
  0            
7769 0 0         die "Array too long (max: 16384): $len"
7770             unless ($len <= 16384);
7771              
7772 0           substr( $_[3], $_[2] ) = pack("L>", $len);
7773 0           $_[2] += 4;
7774 0           for my $i1 ( 0 .. ($len - 1) ) {
7775             # my ($class, $value, $index, $output) = @_;
7776 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
7777             }
7778             };
7779             }
7780             # @_: ($class, $value, $index, $input) = @_;
7781             sub deserialize_connect_num_of_defined_domains_ret {
7782 0     0 0   my $input_length = length $_[3];
7783 0           $_[1] = {};
7784             # Deserializing field: 'num'
7785             # my ($class, $value, $index, $input) = @_;
7786 0 0         die "Input buffer too short"
7787             if ($input_length - $_[2]) < 4;
7788 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
7789 0           $_[2] += 4;
7790             die "Out of bounds 'int': $_[1]->{num}"
7791 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
7792             }
7793             # @_: ($class, $value, $index, $output) = @_;
7794             sub serialize_connect_num_of_defined_domains_ret {
7795 0 0   0 0   croak "Missing required input 'struct' value"
7796             unless defined $_[1];
7797              
7798             # Serializing field: 'num'
7799             croak "Missing required input value 'num'"
7800 0 0         unless exists $_[1]->{num};
7801             # my ($class, $value, $index, $output) = @_;
7802             croak "Missing required input 'int' value"
7803 0 0         unless defined $_[1]->{num};
7804             die "Out of bounds 'int': $_[1]->{num}"
7805 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
7806             die "Non-integer 'int' value given: $_[1]->{num}"
7807 0 0         unless int($_[1]->{num}) == $_[1]->{num};
7808 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
7809 0           $_[2] += 4;
7810             }
7811             # @_: ($class, $value, $index, $input) = @_;
7812             sub deserialize_domain_create_args {
7813 0     0 0   my $input_length = length $_[3];
7814 0           $_[1] = {};
7815             # Deserializing field: 'dom'
7816             # my ($class, $value, $index, $input) = @_;
7817 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7818             }
7819             # @_: ($class, $value, $index, $output) = @_;
7820             sub serialize_domain_create_args {
7821 0 0   0 0   croak "Missing required input 'struct' value"
7822             unless defined $_[1];
7823              
7824             # Serializing field: 'dom'
7825             croak "Missing required input value 'dom'"
7826 0 0         unless exists $_[1]->{dom};
7827             # my ($class, $value, $index, $output) = @_;
7828 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7829             }
7830             # @_: ($class, $value, $index, $input) = @_;
7831             sub deserialize_domain_create_with_flags_args {
7832 0     0 0   my $input_length = length $_[3];
7833 0           $_[1] = {};
7834             # Deserializing field: 'dom'
7835             # my ($class, $value, $index, $input) = @_;
7836 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7837              
7838             # Deserializing field: 'flags'
7839             # my ($class, $value, $index, $input) = @_;
7840 0 0         die "Input buffer too short"
7841             if ($input_length - $_[2]) < 4;
7842 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
7843 0           $_[2] += 4;
7844             die "Out of bounds 'unsigned int': $_[1]->{flags}"
7845 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
7846             }
7847             # @_: ($class, $value, $index, $output) = @_;
7848             sub serialize_domain_create_with_flags_args {
7849 0 0   0 0   croak "Missing required input 'struct' value"
7850             unless defined $_[1];
7851              
7852             # Serializing field: 'dom'
7853             croak "Missing required input value 'dom'"
7854 0 0         unless exists $_[1]->{dom};
7855             # my ($class, $value, $index, $output) = @_;
7856 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7857              
7858             # Serializing field: 'flags'
7859             croak "Missing required input value 'flags'"
7860 0 0         unless exists $_[1]->{flags};
7861             # my ($class, $value, $index, $output) = @_;
7862             croak "Missing required input 'unsigned int' value"
7863 0 0         unless defined $_[1]->{flags};
7864             die "Out of bounds 'unsigned int': $_[1]->{flags}"
7865 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
7866             die "Non-integer 'int' value given: $_[1]->{flags}"
7867 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
7868 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
7869 0           $_[2] += 4;
7870             }
7871             # @_: ($class, $value, $index, $input) = @_;
7872             sub deserialize_domain_create_with_flags_ret {
7873 0     0 0   my $input_length = length $_[3];
7874 0           $_[1] = {};
7875             # Deserializing field: 'dom'
7876             # my ($class, $value, $index, $input) = @_;
7877 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7878             }
7879             # @_: ($class, $value, $index, $output) = @_;
7880             sub serialize_domain_create_with_flags_ret {
7881 0 0   0 0   croak "Missing required input 'struct' value"
7882             unless defined $_[1];
7883              
7884             # Serializing field: 'dom'
7885             croak "Missing required input value 'dom'"
7886 0 0         unless exists $_[1]->{dom};
7887             # my ($class, $value, $index, $output) = @_;
7888 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7889             }
7890             # @_: ($class, $value, $index, $input) = @_;
7891             sub deserialize_domain_create_with_files_args {
7892 0     0 0   my $input_length = length $_[3];
7893 0           $_[1] = {};
7894             # Deserializing field: 'dom'
7895             # my ($class, $value, $index, $input) = @_;
7896 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7897              
7898             # Deserializing field: 'flags'
7899             # my ($class, $value, $index, $input) = @_;
7900 0 0         die "Input buffer too short"
7901             if ($input_length - $_[2]) < 4;
7902 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
7903 0           $_[2] += 4;
7904             die "Out of bounds 'unsigned int': $_[1]->{flags}"
7905 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
7906             }
7907             # @_: ($class, $value, $index, $output) = @_;
7908             sub serialize_domain_create_with_files_args {
7909 0 0   0 0   croak "Missing required input 'struct' value"
7910             unless defined $_[1];
7911              
7912             # Serializing field: 'dom'
7913             croak "Missing required input value 'dom'"
7914 0 0         unless exists $_[1]->{dom};
7915             # my ($class, $value, $index, $output) = @_;
7916 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7917              
7918             # Serializing field: 'flags'
7919             croak "Missing required input value 'flags'"
7920 0 0         unless exists $_[1]->{flags};
7921             # my ($class, $value, $index, $output) = @_;
7922             croak "Missing required input 'unsigned int' value"
7923 0 0         unless defined $_[1]->{flags};
7924             die "Out of bounds 'unsigned int': $_[1]->{flags}"
7925 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
7926             die "Non-integer 'int' value given: $_[1]->{flags}"
7927 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
7928 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
7929 0           $_[2] += 4;
7930             }
7931             # @_: ($class, $value, $index, $input) = @_;
7932             sub deserialize_domain_create_with_files_ret {
7933 0     0 0   my $input_length = length $_[3];
7934 0           $_[1] = {};
7935             # Deserializing field: 'dom'
7936             # my ($class, $value, $index, $input) = @_;
7937 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7938             }
7939             # @_: ($class, $value, $index, $output) = @_;
7940             sub serialize_domain_create_with_files_ret {
7941 0 0   0 0   croak "Missing required input 'struct' value"
7942             unless defined $_[1];
7943              
7944             # Serializing field: 'dom'
7945             croak "Missing required input value 'dom'"
7946 0 0         unless exists $_[1]->{dom};
7947             # my ($class, $value, $index, $output) = @_;
7948 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7949             }
7950             # @_: ($class, $value, $index, $input) = @_;
7951             sub deserialize_domain_define_xml_args {
7952 0     0 0   my $input_length = length $_[3];
7953 0           $_[1] = {};
7954             # Deserializing field: 'xml'
7955             # my ($class, $value, $index, $input) = @_;
7956 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
7957             }
7958             # @_: ($class, $value, $index, $output) = @_;
7959             sub serialize_domain_define_xml_args {
7960 0 0   0 0   croak "Missing required input 'struct' value"
7961             unless defined $_[1];
7962              
7963             # Serializing field: 'xml'
7964             croak "Missing required input value 'xml'"
7965 0 0         unless exists $_[1]->{xml};
7966             # my ($class, $value, $index, $output) = @_;
7967 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
7968             }
7969             # @_: ($class, $value, $index, $input) = @_;
7970             sub deserialize_domain_define_xml_ret {
7971 0     0 0   my $input_length = length $_[3];
7972 0           $_[1] = {};
7973             # Deserializing field: 'dom'
7974             # my ($class, $value, $index, $input) = @_;
7975 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7976             }
7977             # @_: ($class, $value, $index, $output) = @_;
7978             sub serialize_domain_define_xml_ret {
7979 0 0   0 0   croak "Missing required input 'struct' value"
7980             unless defined $_[1];
7981              
7982             # Serializing field: 'dom'
7983             croak "Missing required input value 'dom'"
7984 0 0         unless exists $_[1]->{dom};
7985             # my ($class, $value, $index, $output) = @_;
7986 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
7987             }
7988             # @_: ($class, $value, $index, $input) = @_;
7989             sub deserialize_domain_define_xml_flags_args {
7990 0     0 0   my $input_length = length $_[3];
7991 0           $_[1] = {};
7992             # Deserializing field: 'xml'
7993             # my ($class, $value, $index, $input) = @_;
7994 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
7995              
7996             # Deserializing field: 'flags'
7997             # my ($class, $value, $index, $input) = @_;
7998 0 0         die "Input buffer too short"
7999             if ($input_length - $_[2]) < 4;
8000 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8001 0           $_[2] += 4;
8002             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8003 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8004             }
8005             # @_: ($class, $value, $index, $output) = @_;
8006             sub serialize_domain_define_xml_flags_args {
8007 0 0   0 0   croak "Missing required input 'struct' value"
8008             unless defined $_[1];
8009              
8010             # Serializing field: 'xml'
8011             croak "Missing required input value 'xml'"
8012 0 0         unless exists $_[1]->{xml};
8013             # my ($class, $value, $index, $output) = @_;
8014 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
8015              
8016             # Serializing field: 'flags'
8017             croak "Missing required input value 'flags'"
8018 0 0         unless exists $_[1]->{flags};
8019             # my ($class, $value, $index, $output) = @_;
8020             croak "Missing required input 'unsigned int' value"
8021 0 0         unless defined $_[1]->{flags};
8022             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8023 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8024             die "Non-integer 'int' value given: $_[1]->{flags}"
8025 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8026 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8027 0           $_[2] += 4;
8028             }
8029             # @_: ($class, $value, $index, $input) = @_;
8030             sub deserialize_domain_define_xml_flags_ret {
8031 0     0 0   my $input_length = length $_[3];
8032 0           $_[1] = {};
8033             # Deserializing field: 'dom'
8034             # my ($class, $value, $index, $input) = @_;
8035 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8036             }
8037             # @_: ($class, $value, $index, $output) = @_;
8038             sub serialize_domain_define_xml_flags_ret {
8039 0 0   0 0   croak "Missing required input 'struct' value"
8040             unless defined $_[1];
8041              
8042             # Serializing field: 'dom'
8043             croak "Missing required input value 'dom'"
8044 0 0         unless exists $_[1]->{dom};
8045             # my ($class, $value, $index, $output) = @_;
8046 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8047             }
8048             # @_: ($class, $value, $index, $input) = @_;
8049             sub deserialize_domain_undefine_args {
8050 0     0 0   my $input_length = length $_[3];
8051 0           $_[1] = {};
8052             # Deserializing field: 'dom'
8053             # my ($class, $value, $index, $input) = @_;
8054 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8055             }
8056             # @_: ($class, $value, $index, $output) = @_;
8057             sub serialize_domain_undefine_args {
8058 0 0   0 0   croak "Missing required input 'struct' value"
8059             unless defined $_[1];
8060              
8061             # Serializing field: 'dom'
8062             croak "Missing required input value 'dom'"
8063 0 0         unless exists $_[1]->{dom};
8064             # my ($class, $value, $index, $output) = @_;
8065 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8066             }
8067             # @_: ($class, $value, $index, $input) = @_;
8068             sub deserialize_domain_undefine_flags_args {
8069 0     0 0   my $input_length = length $_[3];
8070 0           $_[1] = {};
8071             # Deserializing field: 'dom'
8072             # my ($class, $value, $index, $input) = @_;
8073 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8074              
8075             # Deserializing field: 'flags'
8076             # my ($class, $value, $index, $input) = @_;
8077 0 0         die "Input buffer too short"
8078             if ($input_length - $_[2]) < 4;
8079 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8080 0           $_[2] += 4;
8081             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8082 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8083             }
8084             # @_: ($class, $value, $index, $output) = @_;
8085             sub serialize_domain_undefine_flags_args {
8086 0 0   0 0   croak "Missing required input 'struct' value"
8087             unless defined $_[1];
8088              
8089             # Serializing field: 'dom'
8090             croak "Missing required input value 'dom'"
8091 0 0         unless exists $_[1]->{dom};
8092             # my ($class, $value, $index, $output) = @_;
8093 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8094              
8095             # Serializing field: 'flags'
8096             croak "Missing required input value 'flags'"
8097 0 0         unless exists $_[1]->{flags};
8098             # my ($class, $value, $index, $output) = @_;
8099             croak "Missing required input 'unsigned int' value"
8100 0 0         unless defined $_[1]->{flags};
8101             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8102 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8103             die "Non-integer 'int' value given: $_[1]->{flags}"
8104 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8105 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8106 0           $_[2] += 4;
8107             }
8108             # @_: ($class, $value, $index, $input) = @_;
8109             sub deserialize_domain_inject_nmi_args {
8110 0     0 0   my $input_length = length $_[3];
8111 0           $_[1] = {};
8112             # Deserializing field: 'dom'
8113             # my ($class, $value, $index, $input) = @_;
8114 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8115              
8116             # Deserializing field: 'flags'
8117             # my ($class, $value, $index, $input) = @_;
8118 0 0         die "Input buffer too short"
8119             if ($input_length - $_[2]) < 4;
8120 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8121 0           $_[2] += 4;
8122             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8123 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8124             }
8125             # @_: ($class, $value, $index, $output) = @_;
8126             sub serialize_domain_inject_nmi_args {
8127 0 0   0 0   croak "Missing required input 'struct' value"
8128             unless defined $_[1];
8129              
8130             # Serializing field: 'dom'
8131             croak "Missing required input value 'dom'"
8132 0 0         unless exists $_[1]->{dom};
8133             # my ($class, $value, $index, $output) = @_;
8134 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8135              
8136             # Serializing field: 'flags'
8137             croak "Missing required input value 'flags'"
8138 0 0         unless exists $_[1]->{flags};
8139             # my ($class, $value, $index, $output) = @_;
8140             croak "Missing required input 'unsigned int' value"
8141 0 0         unless defined $_[1]->{flags};
8142             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8143 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8144             die "Non-integer 'int' value given: $_[1]->{flags}"
8145 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8146 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8147 0           $_[2] += 4;
8148             }
8149             # @_: ($class, $value, $index, $input) = @_;
8150             sub deserialize_domain_send_key_args {
8151 0     0 0   my $input_length = length $_[3];
8152 0           $_[1] = {};
8153             # Deserializing field: 'dom'
8154             # my ($class, $value, $index, $input) = @_;
8155 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8156              
8157             # Deserializing field: 'codeset'
8158             # my ($class, $value, $index, $input) = @_;
8159 0 0         die "Input buffer too short"
8160             if ($input_length - $_[2]) < 4;
8161 0           $_[1]->{codeset} = unpack("L>", substr( $_[3], $_[2] ));
8162 0           $_[2] += 4;
8163             die "Out of bounds 'unsigned int': $_[1]->{codeset}"
8164 0 0 0       unless (0 <= $_[1]->{codeset} and $_[1]->{codeset} <= 4294967295);
8165              
8166             # Deserializing field: 'holdtime'
8167             # my ($class, $value, $index, $input) = @_;
8168 0 0         die "Input buffer too short"
8169             if ($input_length - $_[2]) < 4;
8170 0           $_[1]->{holdtime} = unpack("L>", substr( $_[3], $_[2] ));
8171 0           $_[2] += 4;
8172             die "Out of bounds 'unsigned int': $_[1]->{holdtime}"
8173 0 0 0       unless (0 <= $_[1]->{holdtime} and $_[1]->{holdtime} <= 4294967295);
8174              
8175             # Deserializing field: 'keycodes'
8176             # my ($class, $value, $index, $input) = @_;
8177 0           do {
8178 0 0         die "Input buffer too short"
8179             if ($input_length - $_[2]) < 4;
8180 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
8181 0           $_[2] += 4;
8182              
8183 0 0         die "Array too long (max: 16): $len"
8184             unless ($len <= 16);
8185 0           $_[1]->{keycodes} = [];
8186 0           for my $i1 ( 0 .. ($len - 1) ) {
8187             # my ($class, $value, $index, $input) = @_;
8188 0 0         die "Input buffer too short"
8189             if ($input_length - $_[2]) < 4;
8190 0           $_[1]->{keycodes}->[$i1] = unpack("L>", substr( $_[3], $_[2] ));
8191 0           $_[2] += 4;
8192             die "Out of bounds 'unsigned int': $_[1]->{keycodes}->[$i1]"
8193 0 0 0       unless (0 <= $_[1]->{keycodes}->[$i1] and $_[1]->{keycodes}->[$i1] <= 4294967295);
8194             }
8195             };
8196              
8197             # Deserializing field: 'flags'
8198             # my ($class, $value, $index, $input) = @_;
8199 0 0         die "Input buffer too short"
8200             if ($input_length - $_[2]) < 4;
8201 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8202 0           $_[2] += 4;
8203             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8204 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8205             }
8206             # @_: ($class, $value, $index, $output) = @_;
8207             sub serialize_domain_send_key_args {
8208 0 0   0 0   croak "Missing required input 'struct' value"
8209             unless defined $_[1];
8210              
8211             # Serializing field: 'dom'
8212             croak "Missing required input value 'dom'"
8213 0 0         unless exists $_[1]->{dom};
8214             # my ($class, $value, $index, $output) = @_;
8215 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8216              
8217             # Serializing field: 'codeset'
8218             croak "Missing required input value 'codeset'"
8219 0 0         unless exists $_[1]->{codeset};
8220             # my ($class, $value, $index, $output) = @_;
8221             croak "Missing required input 'unsigned int' value"
8222 0 0         unless defined $_[1]->{codeset};
8223             die "Out of bounds 'unsigned int': $_[1]->{codeset}"
8224 0 0 0       unless (0 <= $_[1]->{codeset} and $_[1]->{codeset} <= 4294967295);
8225             die "Non-integer 'int' value given: $_[1]->{codeset}"
8226 0 0         unless int($_[1]->{codeset}) == $_[1]->{codeset};
8227 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{codeset});
8228 0           $_[2] += 4;
8229              
8230             # Serializing field: 'holdtime'
8231             croak "Missing required input value 'holdtime'"
8232 0 0         unless exists $_[1]->{holdtime};
8233             # my ($class, $value, $index, $output) = @_;
8234             croak "Missing required input 'unsigned int' value"
8235 0 0         unless defined $_[1]->{holdtime};
8236             die "Out of bounds 'unsigned int': $_[1]->{holdtime}"
8237 0 0 0       unless (0 <= $_[1]->{holdtime} and $_[1]->{holdtime} <= 4294967295);
8238             die "Non-integer 'int' value given: $_[1]->{holdtime}"
8239 0 0         unless int($_[1]->{holdtime}) == $_[1]->{holdtime};
8240 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{holdtime});
8241 0           $_[2] += 4;
8242              
8243             # Serializing field: 'keycodes'
8244             croak "Missing required input value 'keycodes'"
8245 0 0         unless exists $_[1]->{keycodes};
8246             # my ($class, $value, $index, $output) = @_;
8247             croak "Missing required input 'array' value"
8248 0 0         unless defined $_[1]->{keycodes};
8249 0           do {
8250 0           my $len = scalar @{ $_[1]->{keycodes} };
  0            
8251 0 0         die "Array too long (max: 16): $len"
8252             unless ($len <= 16);
8253              
8254 0           substr( $_[3], $_[2] ) = pack("L>", $len);
8255 0           $_[2] += 4;
8256 0           for my $i1 ( 0 .. ($len - 1) ) {
8257             # my ($class, $value, $index, $output) = @_;
8258             croak "Missing required input 'unsigned int' value"
8259 0 0         unless defined $_[1]->{keycodes}->[$i1];
8260             die "Out of bounds 'unsigned int': $_[1]->{keycodes}->[$i1]"
8261 0 0 0       unless (0 <= $_[1]->{keycodes}->[$i1] and $_[1]->{keycodes}->[$i1] <= 4294967295);
8262             die "Non-integer 'int' value given: $_[1]->{keycodes}->[$i1]"
8263 0 0         unless int($_[1]->{keycodes}->[$i1]) == $_[1]->{keycodes}->[$i1];
8264 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{keycodes}->[$i1]);
8265 0           $_[2] += 4;
8266             }
8267             };
8268              
8269             # Serializing field: 'flags'
8270             croak "Missing required input value 'flags'"
8271 0 0         unless exists $_[1]->{flags};
8272             # my ($class, $value, $index, $output) = @_;
8273             croak "Missing required input 'unsigned int' value"
8274 0 0         unless defined $_[1]->{flags};
8275             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8276 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8277             die "Non-integer 'int' value given: $_[1]->{flags}"
8278 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8279 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8280 0           $_[2] += 4;
8281             }
8282             # @_: ($class, $value, $index, $input) = @_;
8283             sub deserialize_domain_send_process_signal_args {
8284 0     0 0   my $input_length = length $_[3];
8285 0           $_[1] = {};
8286             # Deserializing field: 'dom'
8287             # my ($class, $value, $index, $input) = @_;
8288 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8289              
8290             # Deserializing field: 'pid_value'
8291             # my ($class, $value, $index, $input) = @_;
8292 0 0         die "Input buffer too short"
8293             if ($input_length - $_[2]) < 8;
8294 0           $_[1]->{pid_value} = unpack("q>", substr( $_[3], $_[2] ));
8295 0           $_[2] += 8;
8296             die "Out of bounds 'hyper': $_[1]->{pid_value}"
8297             unless (-9223372036854775808 <= $_[1]->{pid_value}
8298 0 0 0       and $_[1]->{pid_value} < 9223372036854775808);
8299              
8300             # Deserializing field: 'signum'
8301             # my ($class, $value, $index, $input) = @_;
8302 0 0         die "Input buffer too short"
8303             if ($input_length - $_[2]) < 4;
8304 0           $_[1]->{signum} = unpack("L>", substr( $_[3], $_[2] ));
8305 0           $_[2] += 4;
8306             die "Out of bounds 'unsigned int': $_[1]->{signum}"
8307 0 0 0       unless (0 <= $_[1]->{signum} and $_[1]->{signum} <= 4294967295);
8308              
8309             # Deserializing field: 'flags'
8310             # my ($class, $value, $index, $input) = @_;
8311 0 0         die "Input buffer too short"
8312             if ($input_length - $_[2]) < 4;
8313 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8314 0           $_[2] += 4;
8315             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8316 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8317             }
8318             # @_: ($class, $value, $index, $output) = @_;
8319             sub serialize_domain_send_process_signal_args {
8320 0 0   0 0   croak "Missing required input 'struct' value"
8321             unless defined $_[1];
8322              
8323             # Serializing field: 'dom'
8324             croak "Missing required input value 'dom'"
8325 0 0         unless exists $_[1]->{dom};
8326             # my ($class, $value, $index, $output) = @_;
8327 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8328              
8329             # Serializing field: 'pid_value'
8330             croak "Missing required input value 'pid_value'"
8331 0 0         unless exists $_[1]->{pid_value};
8332             # my ($class, $value, $index, $output) = @_;
8333             croak "Missing required input 'long' value"
8334 0 0         unless defined $_[1]->{pid_value};
8335             die "Out of bounds 'hyper': $_[1]->{pid_value}"
8336             unless (-9223372036854775808 <= $_[1]->{pid_value}
8337 0 0 0       and $_[1]->{pid_value} < 9223372036854775808);
8338             die "Non-integer 'long' value given: $_[1]->{pid_value}"
8339 0 0         unless int($_[1]->{pid_value}) == $_[1]->{pid_value};
8340 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{pid_value});
8341 0           $_[2] += 8;
8342              
8343             # Serializing field: 'signum'
8344             croak "Missing required input value 'signum'"
8345 0 0         unless exists $_[1]->{signum};
8346             # my ($class, $value, $index, $output) = @_;
8347             croak "Missing required input 'unsigned int' value"
8348 0 0         unless defined $_[1]->{signum};
8349             die "Out of bounds 'unsigned int': $_[1]->{signum}"
8350 0 0 0       unless (0 <= $_[1]->{signum} and $_[1]->{signum} <= 4294967295);
8351             die "Non-integer 'int' value given: $_[1]->{signum}"
8352 0 0         unless int($_[1]->{signum}) == $_[1]->{signum};
8353 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{signum});
8354 0           $_[2] += 4;
8355              
8356             # Serializing field: 'flags'
8357             croak "Missing required input value 'flags'"
8358 0 0         unless exists $_[1]->{flags};
8359             # my ($class, $value, $index, $output) = @_;
8360             croak "Missing required input 'unsigned int' value"
8361 0 0         unless defined $_[1]->{flags};
8362             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8363 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8364             die "Non-integer 'int' value given: $_[1]->{flags}"
8365 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8366 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8367 0           $_[2] += 4;
8368             }
8369             # @_: ($class, $value, $index, $input) = @_;
8370             sub deserialize_domain_set_vcpus_args {
8371 0     0 0   my $input_length = length $_[3];
8372 0           $_[1] = {};
8373             # Deserializing field: 'dom'
8374             # my ($class, $value, $index, $input) = @_;
8375 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8376              
8377             # Deserializing field: 'nvcpus'
8378             # my ($class, $value, $index, $input) = @_;
8379 0 0         die "Input buffer too short"
8380             if ($input_length - $_[2]) < 4;
8381 0           $_[1]->{nvcpus} = unpack("L>", substr( $_[3], $_[2] ));
8382 0           $_[2] += 4;
8383             die "Out of bounds 'unsigned int': $_[1]->{nvcpus}"
8384 0 0 0       unless (0 <= $_[1]->{nvcpus} and $_[1]->{nvcpus} <= 4294967295);
8385             }
8386             # @_: ($class, $value, $index, $output) = @_;
8387             sub serialize_domain_set_vcpus_args {
8388 0 0   0 0   croak "Missing required input 'struct' value"
8389             unless defined $_[1];
8390              
8391             # Serializing field: 'dom'
8392             croak "Missing required input value 'dom'"
8393 0 0         unless exists $_[1]->{dom};
8394             # my ($class, $value, $index, $output) = @_;
8395 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8396              
8397             # Serializing field: 'nvcpus'
8398             croak "Missing required input value 'nvcpus'"
8399 0 0         unless exists $_[1]->{nvcpus};
8400             # my ($class, $value, $index, $output) = @_;
8401             croak "Missing required input 'unsigned int' value"
8402 0 0         unless defined $_[1]->{nvcpus};
8403             die "Out of bounds 'unsigned int': $_[1]->{nvcpus}"
8404 0 0 0       unless (0 <= $_[1]->{nvcpus} and $_[1]->{nvcpus} <= 4294967295);
8405             die "Non-integer 'int' value given: $_[1]->{nvcpus}"
8406 0 0         unless int($_[1]->{nvcpus}) == $_[1]->{nvcpus};
8407 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{nvcpus});
8408 0           $_[2] += 4;
8409             }
8410             # @_: ($class, $value, $index, $input) = @_;
8411             sub deserialize_domain_set_vcpus_flags_args {
8412 0     0 0   my $input_length = length $_[3];
8413 0           $_[1] = {};
8414             # Deserializing field: 'dom'
8415             # my ($class, $value, $index, $input) = @_;
8416 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8417              
8418             # Deserializing field: 'nvcpus'
8419             # my ($class, $value, $index, $input) = @_;
8420 0 0         die "Input buffer too short"
8421             if ($input_length - $_[2]) < 4;
8422 0           $_[1]->{nvcpus} = unpack("L>", substr( $_[3], $_[2] ));
8423 0           $_[2] += 4;
8424             die "Out of bounds 'unsigned int': $_[1]->{nvcpus}"
8425 0 0 0       unless (0 <= $_[1]->{nvcpus} and $_[1]->{nvcpus} <= 4294967295);
8426              
8427             # Deserializing field: 'flags'
8428             # my ($class, $value, $index, $input) = @_;
8429 0 0         die "Input buffer too short"
8430             if ($input_length - $_[2]) < 4;
8431 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8432 0           $_[2] += 4;
8433             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8434 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8435             }
8436             # @_: ($class, $value, $index, $output) = @_;
8437             sub serialize_domain_set_vcpus_flags_args {
8438 0 0   0 0   croak "Missing required input 'struct' value"
8439             unless defined $_[1];
8440              
8441             # Serializing field: 'dom'
8442             croak "Missing required input value 'dom'"
8443 0 0         unless exists $_[1]->{dom};
8444             # my ($class, $value, $index, $output) = @_;
8445 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8446              
8447             # Serializing field: 'nvcpus'
8448             croak "Missing required input value 'nvcpus'"
8449 0 0         unless exists $_[1]->{nvcpus};
8450             # my ($class, $value, $index, $output) = @_;
8451             croak "Missing required input 'unsigned int' value"
8452 0 0         unless defined $_[1]->{nvcpus};
8453             die "Out of bounds 'unsigned int': $_[1]->{nvcpus}"
8454 0 0 0       unless (0 <= $_[1]->{nvcpus} and $_[1]->{nvcpus} <= 4294967295);
8455             die "Non-integer 'int' value given: $_[1]->{nvcpus}"
8456 0 0         unless int($_[1]->{nvcpus}) == $_[1]->{nvcpus};
8457 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{nvcpus});
8458 0           $_[2] += 4;
8459              
8460             # Serializing field: 'flags'
8461             croak "Missing required input value 'flags'"
8462 0 0         unless exists $_[1]->{flags};
8463             # my ($class, $value, $index, $output) = @_;
8464             croak "Missing required input 'unsigned int' value"
8465 0 0         unless defined $_[1]->{flags};
8466             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8467 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8468             die "Non-integer 'int' value given: $_[1]->{flags}"
8469 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8470 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8471 0           $_[2] += 4;
8472             }
8473             # @_: ($class, $value, $index, $input) = @_;
8474             sub deserialize_domain_get_vcpus_flags_args {
8475 0     0 0   my $input_length = length $_[3];
8476 0           $_[1] = {};
8477             # Deserializing field: 'dom'
8478             # my ($class, $value, $index, $input) = @_;
8479 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8480              
8481             # Deserializing field: 'flags'
8482             # my ($class, $value, $index, $input) = @_;
8483 0 0         die "Input buffer too short"
8484             if ($input_length - $_[2]) < 4;
8485 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8486 0           $_[2] += 4;
8487             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8488 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8489             }
8490             # @_: ($class, $value, $index, $output) = @_;
8491             sub serialize_domain_get_vcpus_flags_args {
8492 0 0   0 0   croak "Missing required input 'struct' value"
8493             unless defined $_[1];
8494              
8495             # Serializing field: 'dom'
8496             croak "Missing required input value 'dom'"
8497 0 0         unless exists $_[1]->{dom};
8498             # my ($class, $value, $index, $output) = @_;
8499 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8500              
8501             # Serializing field: 'flags'
8502             croak "Missing required input value 'flags'"
8503 0 0         unless exists $_[1]->{flags};
8504             # my ($class, $value, $index, $output) = @_;
8505             croak "Missing required input 'unsigned int' value"
8506 0 0         unless defined $_[1]->{flags};
8507             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8508 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8509             die "Non-integer 'int' value given: $_[1]->{flags}"
8510 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8511 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8512 0           $_[2] += 4;
8513             }
8514             # @_: ($class, $value, $index, $input) = @_;
8515             sub deserialize_domain_get_vcpus_flags_ret {
8516 0     0 0   my $input_length = length $_[3];
8517 0           $_[1] = {};
8518             # Deserializing field: 'num'
8519             # my ($class, $value, $index, $input) = @_;
8520 0 0         die "Input buffer too short"
8521             if ($input_length - $_[2]) < 4;
8522 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
8523 0           $_[2] += 4;
8524             die "Out of bounds 'int': $_[1]->{num}"
8525 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
8526             }
8527             # @_: ($class, $value, $index, $output) = @_;
8528             sub serialize_domain_get_vcpus_flags_ret {
8529 0 0   0 0   croak "Missing required input 'struct' value"
8530             unless defined $_[1];
8531              
8532             # Serializing field: 'num'
8533             croak "Missing required input value 'num'"
8534 0 0         unless exists $_[1]->{num};
8535             # my ($class, $value, $index, $output) = @_;
8536             croak "Missing required input 'int' value"
8537 0 0         unless defined $_[1]->{num};
8538             die "Out of bounds 'int': $_[1]->{num}"
8539 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
8540             die "Non-integer 'int' value given: $_[1]->{num}"
8541 0 0         unless int($_[1]->{num}) == $_[1]->{num};
8542 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
8543 0           $_[2] += 4;
8544             }
8545             # @_: ($class, $value, $index, $input) = @_;
8546             sub deserialize_domain_pin_vcpu_args {
8547 0     0 0   my $input_length = length $_[3];
8548 0           $_[1] = {};
8549             # Deserializing field: 'dom'
8550             # my ($class, $value, $index, $input) = @_;
8551 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8552              
8553             # Deserializing field: 'vcpu'
8554             # my ($class, $value, $index, $input) = @_;
8555 0 0         die "Input buffer too short"
8556             if ($input_length - $_[2]) < 4;
8557 0           $_[1]->{vcpu} = unpack("L>", substr( $_[3], $_[2] ));
8558 0           $_[2] += 4;
8559             die "Out of bounds 'unsigned int': $_[1]->{vcpu}"
8560 0 0 0       unless (0 <= $_[1]->{vcpu} and $_[1]->{vcpu} <= 4294967295);
8561              
8562             # Deserializing field: 'cpumap'
8563             # my ($class, $value, $index, $input) = @_;
8564 0           do {
8565 0 0         die "Input buffer too short"
8566             if ($input_length - $_[2]) < 4;
8567 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
8568 0           $_[2] += 4;
8569 0 0         die "Opaque data too long (max: 2048): $len"
8570             unless ($len <= 2048);
8571 0 0         die "Input buffer too short"
8572             if ($input_length - $_[2]) < $len;
8573 0           $_[1]->{cpumap} = substr( $_[3], $_[2], $len );
8574 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
8575             };
8576             }
8577             # @_: ($class, $value, $index, $output) = @_;
8578             sub serialize_domain_pin_vcpu_args {
8579 0 0   0 0   croak "Missing required input 'struct' value"
8580             unless defined $_[1];
8581              
8582             # Serializing field: 'dom'
8583             croak "Missing required input value 'dom'"
8584 0 0         unless exists $_[1]->{dom};
8585             # my ($class, $value, $index, $output) = @_;
8586 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8587              
8588             # Serializing field: 'vcpu'
8589             croak "Missing required input value 'vcpu'"
8590 0 0         unless exists $_[1]->{vcpu};
8591             # my ($class, $value, $index, $output) = @_;
8592             croak "Missing required input 'unsigned int' value"
8593 0 0         unless defined $_[1]->{vcpu};
8594             die "Out of bounds 'unsigned int': $_[1]->{vcpu}"
8595 0 0 0       unless (0 <= $_[1]->{vcpu} and $_[1]->{vcpu} <= 4294967295);
8596             die "Non-integer 'int' value given: $_[1]->{vcpu}"
8597 0 0         unless int($_[1]->{vcpu}) == $_[1]->{vcpu};
8598 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{vcpu});
8599 0           $_[2] += 4;
8600              
8601             # Serializing field: 'cpumap'
8602             croak "Missing required input value 'cpumap'"
8603 0 0         unless exists $_[1]->{cpumap};
8604             # my ($class, $value, $index, $output) = @_;
8605             croak "Missing required input 'opaque data' value"
8606 0 0         unless defined $_[1]->{cpumap};
8607 0           do {
8608 0           my $len = length $_[1]->{cpumap};
8609 0 0         die "Opaque data too long (max: 2048): $len"
8610             unless ($len <= 2048);
8611              
8612 0           substr( $_[3], $_[2] ) = pack("L>", $len);
8613 0           $_[2] += 4;
8614 0           substr( $_[3], $_[2] ) = $_[1]->{cpumap};
8615 0           $_[2] += $len;
8616 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
8617 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
8618 0           $_[2] += $pad;
8619             }
8620             };
8621             }
8622             # @_: ($class, $value, $index, $input) = @_;
8623             sub deserialize_domain_pin_vcpu_flags_args {
8624 0     0 0   my $input_length = length $_[3];
8625 0           $_[1] = {};
8626             # Deserializing field: 'dom'
8627             # my ($class, $value, $index, $input) = @_;
8628 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8629              
8630             # Deserializing field: 'vcpu'
8631             # my ($class, $value, $index, $input) = @_;
8632 0 0         die "Input buffer too short"
8633             if ($input_length - $_[2]) < 4;
8634 0           $_[1]->{vcpu} = unpack("L>", substr( $_[3], $_[2] ));
8635 0           $_[2] += 4;
8636             die "Out of bounds 'unsigned int': $_[1]->{vcpu}"
8637 0 0 0       unless (0 <= $_[1]->{vcpu} and $_[1]->{vcpu} <= 4294967295);
8638              
8639             # Deserializing field: 'cpumap'
8640             # my ($class, $value, $index, $input) = @_;
8641 0           do {
8642 0 0         die "Input buffer too short"
8643             if ($input_length - $_[2]) < 4;
8644 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
8645 0           $_[2] += 4;
8646 0 0         die "Opaque data too long (max: 2048): $len"
8647             unless ($len <= 2048);
8648 0 0         die "Input buffer too short"
8649             if ($input_length - $_[2]) < $len;
8650 0           $_[1]->{cpumap} = substr( $_[3], $_[2], $len );
8651 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
8652             };
8653              
8654             # Deserializing field: 'flags'
8655             # my ($class, $value, $index, $input) = @_;
8656 0 0         die "Input buffer too short"
8657             if ($input_length - $_[2]) < 4;
8658 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8659 0           $_[2] += 4;
8660             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8661 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8662             }
8663             # @_: ($class, $value, $index, $output) = @_;
8664             sub serialize_domain_pin_vcpu_flags_args {
8665 0 0   0 0   croak "Missing required input 'struct' value"
8666             unless defined $_[1];
8667              
8668             # Serializing field: 'dom'
8669             croak "Missing required input value 'dom'"
8670 0 0         unless exists $_[1]->{dom};
8671             # my ($class, $value, $index, $output) = @_;
8672 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8673              
8674             # Serializing field: 'vcpu'
8675             croak "Missing required input value 'vcpu'"
8676 0 0         unless exists $_[1]->{vcpu};
8677             # my ($class, $value, $index, $output) = @_;
8678             croak "Missing required input 'unsigned int' value"
8679 0 0         unless defined $_[1]->{vcpu};
8680             die "Out of bounds 'unsigned int': $_[1]->{vcpu}"
8681 0 0 0       unless (0 <= $_[1]->{vcpu} and $_[1]->{vcpu} <= 4294967295);
8682             die "Non-integer 'int' value given: $_[1]->{vcpu}"
8683 0 0         unless int($_[1]->{vcpu}) == $_[1]->{vcpu};
8684 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{vcpu});
8685 0           $_[2] += 4;
8686              
8687             # Serializing field: 'cpumap'
8688             croak "Missing required input value 'cpumap'"
8689 0 0         unless exists $_[1]->{cpumap};
8690             # my ($class, $value, $index, $output) = @_;
8691             croak "Missing required input 'opaque data' value"
8692 0 0         unless defined $_[1]->{cpumap};
8693 0           do {
8694 0           my $len = length $_[1]->{cpumap};
8695 0 0         die "Opaque data too long (max: 2048): $len"
8696             unless ($len <= 2048);
8697              
8698 0           substr( $_[3], $_[2] ) = pack("L>", $len);
8699 0           $_[2] += 4;
8700 0           substr( $_[3], $_[2] ) = $_[1]->{cpumap};
8701 0           $_[2] += $len;
8702 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
8703 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
8704 0           $_[2] += $pad;
8705             }
8706             };
8707              
8708             # Serializing field: 'flags'
8709             croak "Missing required input value 'flags'"
8710 0 0         unless exists $_[1]->{flags};
8711             # my ($class, $value, $index, $output) = @_;
8712             croak "Missing required input 'unsigned int' value"
8713 0 0         unless defined $_[1]->{flags};
8714             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8715 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8716             die "Non-integer 'int' value given: $_[1]->{flags}"
8717 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8718 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8719 0           $_[2] += 4;
8720             }
8721             # @_: ($class, $value, $index, $input) = @_;
8722             sub deserialize_domain_get_vcpu_pin_info_args {
8723 0     0 0   my $input_length = length $_[3];
8724 0           $_[1] = {};
8725             # Deserializing field: 'dom'
8726             # my ($class, $value, $index, $input) = @_;
8727 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8728              
8729             # Deserializing field: 'ncpumaps'
8730             # my ($class, $value, $index, $input) = @_;
8731 0 0         die "Input buffer too short"
8732             if ($input_length - $_[2]) < 4;
8733 0           $_[1]->{ncpumaps} = unpack("l>", substr( $_[3], $_[2] ));
8734 0           $_[2] += 4;
8735             die "Out of bounds 'int': $_[1]->{ncpumaps}"
8736 0 0 0       unless (-2147483648 <= $_[1]->{ncpumaps} and $_[1]->{ncpumaps} < 2147483648);
8737              
8738             # Deserializing field: 'maplen'
8739             # my ($class, $value, $index, $input) = @_;
8740 0 0         die "Input buffer too short"
8741             if ($input_length - $_[2]) < 4;
8742 0           $_[1]->{maplen} = unpack("l>", substr( $_[3], $_[2] ));
8743 0           $_[2] += 4;
8744             die "Out of bounds 'int': $_[1]->{maplen}"
8745 0 0 0       unless (-2147483648 <= $_[1]->{maplen} and $_[1]->{maplen} < 2147483648);
8746              
8747             # Deserializing field: 'flags'
8748             # my ($class, $value, $index, $input) = @_;
8749 0 0         die "Input buffer too short"
8750             if ($input_length - $_[2]) < 4;
8751 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8752 0           $_[2] += 4;
8753             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8754 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8755             }
8756             # @_: ($class, $value, $index, $output) = @_;
8757             sub serialize_domain_get_vcpu_pin_info_args {
8758 0 0   0 0   croak "Missing required input 'struct' value"
8759             unless defined $_[1];
8760              
8761             # Serializing field: 'dom'
8762             croak "Missing required input value 'dom'"
8763 0 0         unless exists $_[1]->{dom};
8764             # my ($class, $value, $index, $output) = @_;
8765 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8766              
8767             # Serializing field: 'ncpumaps'
8768             croak "Missing required input value 'ncpumaps'"
8769 0 0         unless exists $_[1]->{ncpumaps};
8770             # my ($class, $value, $index, $output) = @_;
8771             croak "Missing required input 'int' value"
8772 0 0         unless defined $_[1]->{ncpumaps};
8773             die "Out of bounds 'int': $_[1]->{ncpumaps}"
8774 0 0 0       unless (-2147483648 <= $_[1]->{ncpumaps} and $_[1]->{ncpumaps} < 2147483648);
8775             die "Non-integer 'int' value given: $_[1]->{ncpumaps}"
8776 0 0         unless int($_[1]->{ncpumaps}) == $_[1]->{ncpumaps};
8777 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ncpumaps});
8778 0           $_[2] += 4;
8779              
8780             # Serializing field: 'maplen'
8781             croak "Missing required input value 'maplen'"
8782 0 0         unless exists $_[1]->{maplen};
8783             # my ($class, $value, $index, $output) = @_;
8784             croak "Missing required input 'int' value"
8785 0 0         unless defined $_[1]->{maplen};
8786             die "Out of bounds 'int': $_[1]->{maplen}"
8787 0 0 0       unless (-2147483648 <= $_[1]->{maplen} and $_[1]->{maplen} < 2147483648);
8788             die "Non-integer 'int' value given: $_[1]->{maplen}"
8789 0 0         unless int($_[1]->{maplen}) == $_[1]->{maplen};
8790 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maplen});
8791 0           $_[2] += 4;
8792              
8793             # Serializing field: 'flags'
8794             croak "Missing required input value 'flags'"
8795 0 0         unless exists $_[1]->{flags};
8796             # my ($class, $value, $index, $output) = @_;
8797             croak "Missing required input 'unsigned int' value"
8798 0 0         unless defined $_[1]->{flags};
8799             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8800 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8801             die "Non-integer 'int' value given: $_[1]->{flags}"
8802 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8803 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8804 0           $_[2] += 4;
8805             }
8806             # @_: ($class, $value, $index, $input) = @_;
8807             sub deserialize_domain_get_vcpu_pin_info_ret {
8808 0     0 0   my $input_length = length $_[3];
8809 0           $_[1] = {};
8810             # Deserializing field: 'cpumaps'
8811             # my ($class, $value, $index, $input) = @_;
8812 0           do {
8813 0 0         die "Input buffer too short"
8814             if ($input_length - $_[2]) < 4;
8815 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
8816 0           $_[2] += 4;
8817 0 0         die "Opaque data too long (max: 8388608): $len"
8818             unless ($len <= 8388608);
8819 0 0         die "Input buffer too short"
8820             if ($input_length - $_[2]) < $len;
8821 0           $_[1]->{cpumaps} = substr( $_[3], $_[2], $len );
8822 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
8823             };
8824              
8825             # Deserializing field: 'num'
8826             # my ($class, $value, $index, $input) = @_;
8827 0 0         die "Input buffer too short"
8828             if ($input_length - $_[2]) < 4;
8829 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
8830 0           $_[2] += 4;
8831             die "Out of bounds 'int': $_[1]->{num}"
8832 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
8833             }
8834             # @_: ($class, $value, $index, $output) = @_;
8835             sub serialize_domain_get_vcpu_pin_info_ret {
8836 0 0   0 0   croak "Missing required input 'struct' value"
8837             unless defined $_[1];
8838              
8839             # Serializing field: 'cpumaps'
8840             croak "Missing required input value 'cpumaps'"
8841 0 0         unless exists $_[1]->{cpumaps};
8842             # my ($class, $value, $index, $output) = @_;
8843             croak "Missing required input 'opaque data' value"
8844 0 0         unless defined $_[1]->{cpumaps};
8845 0           do {
8846 0           my $len = length $_[1]->{cpumaps};
8847 0 0         die "Opaque data too long (max: 8388608): $len"
8848             unless ($len <= 8388608);
8849              
8850 0           substr( $_[3], $_[2] ) = pack("L>", $len);
8851 0           $_[2] += 4;
8852 0           substr( $_[3], $_[2] ) = $_[1]->{cpumaps};
8853 0           $_[2] += $len;
8854 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
8855 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
8856 0           $_[2] += $pad;
8857             }
8858             };
8859              
8860             # Serializing field: 'num'
8861             croak "Missing required input value 'num'"
8862 0 0         unless exists $_[1]->{num};
8863             # my ($class, $value, $index, $output) = @_;
8864             croak "Missing required input 'int' value"
8865 0 0         unless defined $_[1]->{num};
8866             die "Out of bounds 'int': $_[1]->{num}"
8867 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
8868             die "Non-integer 'int' value given: $_[1]->{num}"
8869 0 0         unless int($_[1]->{num}) == $_[1]->{num};
8870 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
8871 0           $_[2] += 4;
8872             }
8873             # @_: ($class, $value, $index, $input) = @_;
8874             sub deserialize_domain_pin_emulator_args {
8875 0     0 0   my $input_length = length $_[3];
8876 0           $_[1] = {};
8877             # Deserializing field: 'dom'
8878             # my ($class, $value, $index, $input) = @_;
8879 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8880              
8881             # Deserializing field: 'cpumap'
8882             # my ($class, $value, $index, $input) = @_;
8883 0           do {
8884 0 0         die "Input buffer too short"
8885             if ($input_length - $_[2]) < 4;
8886 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
8887 0           $_[2] += 4;
8888 0 0         die "Opaque data too long (max: 2048): $len"
8889             unless ($len <= 2048);
8890 0 0         die "Input buffer too short"
8891             if ($input_length - $_[2]) < $len;
8892 0           $_[1]->{cpumap} = substr( $_[3], $_[2], $len );
8893 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
8894             };
8895              
8896             # Deserializing field: 'flags'
8897             # my ($class, $value, $index, $input) = @_;
8898 0 0         die "Input buffer too short"
8899             if ($input_length - $_[2]) < 4;
8900 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8901 0           $_[2] += 4;
8902             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8903 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8904             }
8905             # @_: ($class, $value, $index, $output) = @_;
8906             sub serialize_domain_pin_emulator_args {
8907 0 0   0 0   croak "Missing required input 'struct' value"
8908             unless defined $_[1];
8909              
8910             # Serializing field: 'dom'
8911             croak "Missing required input value 'dom'"
8912 0 0         unless exists $_[1]->{dom};
8913             # my ($class, $value, $index, $output) = @_;
8914 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8915              
8916             # Serializing field: 'cpumap'
8917             croak "Missing required input value 'cpumap'"
8918 0 0         unless exists $_[1]->{cpumap};
8919             # my ($class, $value, $index, $output) = @_;
8920             croak "Missing required input 'opaque data' value"
8921 0 0         unless defined $_[1]->{cpumap};
8922 0           do {
8923 0           my $len = length $_[1]->{cpumap};
8924 0 0         die "Opaque data too long (max: 2048): $len"
8925             unless ($len <= 2048);
8926              
8927 0           substr( $_[3], $_[2] ) = pack("L>", $len);
8928 0           $_[2] += 4;
8929 0           substr( $_[3], $_[2] ) = $_[1]->{cpumap};
8930 0           $_[2] += $len;
8931 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
8932 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
8933 0           $_[2] += $pad;
8934             }
8935             };
8936              
8937             # Serializing field: 'flags'
8938             croak "Missing required input value 'flags'"
8939 0 0         unless exists $_[1]->{flags};
8940             # my ($class, $value, $index, $output) = @_;
8941             croak "Missing required input 'unsigned int' value"
8942 0 0         unless defined $_[1]->{flags};
8943             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8944 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8945             die "Non-integer 'int' value given: $_[1]->{flags}"
8946 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
8947 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
8948 0           $_[2] += 4;
8949             }
8950             # @_: ($class, $value, $index, $input) = @_;
8951             sub deserialize_domain_get_emulator_pin_info_args {
8952 0     0 0   my $input_length = length $_[3];
8953 0           $_[1] = {};
8954             # Deserializing field: 'dom'
8955             # my ($class, $value, $index, $input) = @_;
8956 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8957              
8958             # Deserializing field: 'maplen'
8959             # my ($class, $value, $index, $input) = @_;
8960 0 0         die "Input buffer too short"
8961             if ($input_length - $_[2]) < 4;
8962 0           $_[1]->{maplen} = unpack("l>", substr( $_[3], $_[2] ));
8963 0           $_[2] += 4;
8964             die "Out of bounds 'int': $_[1]->{maplen}"
8965 0 0 0       unless (-2147483648 <= $_[1]->{maplen} and $_[1]->{maplen} < 2147483648);
8966              
8967             # Deserializing field: 'flags'
8968             # my ($class, $value, $index, $input) = @_;
8969 0 0         die "Input buffer too short"
8970             if ($input_length - $_[2]) < 4;
8971 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
8972 0           $_[2] += 4;
8973             die "Out of bounds 'unsigned int': $_[1]->{flags}"
8974 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
8975             }
8976             # @_: ($class, $value, $index, $output) = @_;
8977             sub serialize_domain_get_emulator_pin_info_args {
8978 0 0   0 0   croak "Missing required input 'struct' value"
8979             unless defined $_[1];
8980              
8981             # Serializing field: 'dom'
8982             croak "Missing required input value 'dom'"
8983 0 0         unless exists $_[1]->{dom};
8984             # my ($class, $value, $index, $output) = @_;
8985 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
8986              
8987             # Serializing field: 'maplen'
8988             croak "Missing required input value 'maplen'"
8989 0 0         unless exists $_[1]->{maplen};
8990             # my ($class, $value, $index, $output) = @_;
8991             croak "Missing required input 'int' value"
8992 0 0         unless defined $_[1]->{maplen};
8993             die "Out of bounds 'int': $_[1]->{maplen}"
8994 0 0 0       unless (-2147483648 <= $_[1]->{maplen} and $_[1]->{maplen} < 2147483648);
8995             die "Non-integer 'int' value given: $_[1]->{maplen}"
8996 0 0         unless int($_[1]->{maplen}) == $_[1]->{maplen};
8997 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maplen});
8998 0           $_[2] += 4;
8999              
9000             # Serializing field: 'flags'
9001             croak "Missing required input value 'flags'"
9002 0 0         unless exists $_[1]->{flags};
9003             # my ($class, $value, $index, $output) = @_;
9004             croak "Missing required input 'unsigned int' value"
9005 0 0         unless defined $_[1]->{flags};
9006             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9007 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9008             die "Non-integer 'int' value given: $_[1]->{flags}"
9009 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
9010 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
9011 0           $_[2] += 4;
9012             }
9013             # @_: ($class, $value, $index, $input) = @_;
9014             sub deserialize_domain_get_emulator_pin_info_ret {
9015 0     0 0   my $input_length = length $_[3];
9016 0           $_[1] = {};
9017             # Deserializing field: 'cpumaps'
9018             # my ($class, $value, $index, $input) = @_;
9019 0           do {
9020 0 0         die "Input buffer too short"
9021             if ($input_length - $_[2]) < 4;
9022 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9023 0           $_[2] += 4;
9024 0 0         die "Opaque data too long (max: 8388608): $len"
9025             unless ($len <= 8388608);
9026 0 0         die "Input buffer too short"
9027             if ($input_length - $_[2]) < $len;
9028 0           $_[1]->{cpumaps} = substr( $_[3], $_[2], $len );
9029 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
9030             };
9031              
9032             # Deserializing field: 'ret'
9033             # my ($class, $value, $index, $input) = @_;
9034 0 0         die "Input buffer too short"
9035             if ($input_length - $_[2]) < 4;
9036 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
9037 0           $_[2] += 4;
9038             die "Out of bounds 'int': $_[1]->{ret}"
9039 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
9040             }
9041             # @_: ($class, $value, $index, $output) = @_;
9042             sub serialize_domain_get_emulator_pin_info_ret {
9043 0 0   0 0   croak "Missing required input 'struct' value"
9044             unless defined $_[1];
9045              
9046             # Serializing field: 'cpumaps'
9047             croak "Missing required input value 'cpumaps'"
9048 0 0         unless exists $_[1]->{cpumaps};
9049             # my ($class, $value, $index, $output) = @_;
9050             croak "Missing required input 'opaque data' value"
9051 0 0         unless defined $_[1]->{cpumaps};
9052 0           do {
9053 0           my $len = length $_[1]->{cpumaps};
9054 0 0         die "Opaque data too long (max: 8388608): $len"
9055             unless ($len <= 8388608);
9056              
9057 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9058 0           $_[2] += 4;
9059 0           substr( $_[3], $_[2] ) = $_[1]->{cpumaps};
9060 0           $_[2] += $len;
9061 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
9062 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
9063 0           $_[2] += $pad;
9064             }
9065             };
9066              
9067             # Serializing field: 'ret'
9068             croak "Missing required input value 'ret'"
9069 0 0         unless exists $_[1]->{ret};
9070             # my ($class, $value, $index, $output) = @_;
9071             croak "Missing required input 'int' value"
9072 0 0         unless defined $_[1]->{ret};
9073             die "Out of bounds 'int': $_[1]->{ret}"
9074 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
9075             die "Non-integer 'int' value given: $_[1]->{ret}"
9076 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
9077 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
9078 0           $_[2] += 4;
9079             }
9080             # @_: ($class, $value, $index, $input) = @_;
9081             sub deserialize_domain_get_vcpus_args {
9082 0     0 0   my $input_length = length $_[3];
9083 0           $_[1] = {};
9084             # Deserializing field: 'dom'
9085             # my ($class, $value, $index, $input) = @_;
9086 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9087              
9088             # Deserializing field: 'maxinfo'
9089             # my ($class, $value, $index, $input) = @_;
9090 0 0         die "Input buffer too short"
9091             if ($input_length - $_[2]) < 4;
9092 0           $_[1]->{maxinfo} = unpack("l>", substr( $_[3], $_[2] ));
9093 0           $_[2] += 4;
9094             die "Out of bounds 'int': $_[1]->{maxinfo}"
9095 0 0 0       unless (-2147483648 <= $_[1]->{maxinfo} and $_[1]->{maxinfo} < 2147483648);
9096              
9097             # Deserializing field: 'maplen'
9098             # my ($class, $value, $index, $input) = @_;
9099 0 0         die "Input buffer too short"
9100             if ($input_length - $_[2]) < 4;
9101 0           $_[1]->{maplen} = unpack("l>", substr( $_[3], $_[2] ));
9102 0           $_[2] += 4;
9103             die "Out of bounds 'int': $_[1]->{maplen}"
9104 0 0 0       unless (-2147483648 <= $_[1]->{maplen} and $_[1]->{maplen} < 2147483648);
9105             }
9106             # @_: ($class, $value, $index, $output) = @_;
9107             sub serialize_domain_get_vcpus_args {
9108 0 0   0 0   croak "Missing required input 'struct' value"
9109             unless defined $_[1];
9110              
9111             # Serializing field: 'dom'
9112             croak "Missing required input value 'dom'"
9113 0 0         unless exists $_[1]->{dom};
9114             # my ($class, $value, $index, $output) = @_;
9115 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9116              
9117             # Serializing field: 'maxinfo'
9118             croak "Missing required input value 'maxinfo'"
9119 0 0         unless exists $_[1]->{maxinfo};
9120             # my ($class, $value, $index, $output) = @_;
9121             croak "Missing required input 'int' value"
9122 0 0         unless defined $_[1]->{maxinfo};
9123             die "Out of bounds 'int': $_[1]->{maxinfo}"
9124 0 0 0       unless (-2147483648 <= $_[1]->{maxinfo} and $_[1]->{maxinfo} < 2147483648);
9125             die "Non-integer 'int' value given: $_[1]->{maxinfo}"
9126 0 0         unless int($_[1]->{maxinfo}) == $_[1]->{maxinfo};
9127 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxinfo});
9128 0           $_[2] += 4;
9129              
9130             # Serializing field: 'maplen'
9131             croak "Missing required input value 'maplen'"
9132 0 0         unless exists $_[1]->{maplen};
9133             # my ($class, $value, $index, $output) = @_;
9134             croak "Missing required input 'int' value"
9135 0 0         unless defined $_[1]->{maplen};
9136             die "Out of bounds 'int': $_[1]->{maplen}"
9137 0 0 0       unless (-2147483648 <= $_[1]->{maplen} and $_[1]->{maplen} < 2147483648);
9138             die "Non-integer 'int' value given: $_[1]->{maplen}"
9139 0 0         unless int($_[1]->{maplen}) == $_[1]->{maplen};
9140 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maplen});
9141 0           $_[2] += 4;
9142             }
9143             # @_: ($class, $value, $index, $input) = @_;
9144             sub deserialize_domain_get_vcpus_ret {
9145 0     0 0   my $input_length = length $_[3];
9146 0           $_[1] = {};
9147             # Deserializing field: 'info'
9148             # my ($class, $value, $index, $input) = @_;
9149 0           do {
9150 0 0         die "Input buffer too short"
9151             if ($input_length - $_[2]) < 4;
9152 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9153 0           $_[2] += 4;
9154              
9155 0 0         die "Array too long (max: 16384): $len"
9156             unless ($len <= 16384);
9157 0           $_[1]->{info} = [];
9158 0           for my $i1 ( 0 .. ($len - 1) ) {
9159             # my ($class, $value, $index, $input) = @_;
9160 0           $_[0]->deserialize_vcpu_info( $_[1]->{info}->[$i1], $_[2], $_[3] );
9161             }
9162             };
9163              
9164             # Deserializing field: 'cpumaps'
9165             # my ($class, $value, $index, $input) = @_;
9166 0           do {
9167 0 0         die "Input buffer too short"
9168             if ($input_length - $_[2]) < 4;
9169 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9170 0           $_[2] += 4;
9171 0 0         die "Opaque data too long (max: 8388608): $len"
9172             unless ($len <= 8388608);
9173 0 0         die "Input buffer too short"
9174             if ($input_length - $_[2]) < $len;
9175 0           $_[1]->{cpumaps} = substr( $_[3], $_[2], $len );
9176 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
9177             };
9178             }
9179             # @_: ($class, $value, $index, $output) = @_;
9180             sub serialize_domain_get_vcpus_ret {
9181 0 0   0 0   croak "Missing required input 'struct' value"
9182             unless defined $_[1];
9183              
9184             # Serializing field: 'info'
9185             croak "Missing required input value 'info'"
9186 0 0         unless exists $_[1]->{info};
9187             # my ($class, $value, $index, $output) = @_;
9188             croak "Missing required input 'array' value"
9189 0 0         unless defined $_[1]->{info};
9190 0           do {
9191 0           my $len = scalar @{ $_[1]->{info} };
  0            
9192 0 0         die "Array too long (max: 16384): $len"
9193             unless ($len <= 16384);
9194              
9195 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9196 0           $_[2] += 4;
9197 0           for my $i1 ( 0 .. ($len - 1) ) {
9198             # my ($class, $value, $index, $output) = @_;
9199 0           $_[0]->serialize_vcpu_info( $_[1]->{info}->[$i1], $_[2], $_[3] );
9200             }
9201             };
9202              
9203             # Serializing field: 'cpumaps'
9204             croak "Missing required input value 'cpumaps'"
9205 0 0         unless exists $_[1]->{cpumaps};
9206             # my ($class, $value, $index, $output) = @_;
9207             croak "Missing required input 'opaque data' value"
9208 0 0         unless defined $_[1]->{cpumaps};
9209 0           do {
9210 0           my $len = length $_[1]->{cpumaps};
9211 0 0         die "Opaque data too long (max: 8388608): $len"
9212             unless ($len <= 8388608);
9213              
9214 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9215 0           $_[2] += 4;
9216 0           substr( $_[3], $_[2] ) = $_[1]->{cpumaps};
9217 0           $_[2] += $len;
9218 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
9219 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
9220 0           $_[2] += $pad;
9221             }
9222             };
9223             }
9224             # @_: ($class, $value, $index, $input) = @_;
9225             sub deserialize_domain_get_max_vcpus_args {
9226 0     0 0   my $input_length = length $_[3];
9227 0           $_[1] = {};
9228             # Deserializing field: 'dom'
9229             # my ($class, $value, $index, $input) = @_;
9230 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9231             }
9232             # @_: ($class, $value, $index, $output) = @_;
9233             sub serialize_domain_get_max_vcpus_args {
9234 0 0   0 0   croak "Missing required input 'struct' value"
9235             unless defined $_[1];
9236              
9237             # Serializing field: 'dom'
9238             croak "Missing required input value 'dom'"
9239 0 0         unless exists $_[1]->{dom};
9240             # my ($class, $value, $index, $output) = @_;
9241 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9242             }
9243             # @_: ($class, $value, $index, $input) = @_;
9244             sub deserialize_domain_get_max_vcpus_ret {
9245 0     0 0   my $input_length = length $_[3];
9246 0           $_[1] = {};
9247             # Deserializing field: 'num'
9248             # my ($class, $value, $index, $input) = @_;
9249 0 0         die "Input buffer too short"
9250             if ($input_length - $_[2]) < 4;
9251 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
9252 0           $_[2] += 4;
9253             die "Out of bounds 'int': $_[1]->{num}"
9254 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
9255             }
9256             # @_: ($class, $value, $index, $output) = @_;
9257             sub serialize_domain_get_max_vcpus_ret {
9258 0 0   0 0   croak "Missing required input 'struct' value"
9259             unless defined $_[1];
9260              
9261             # Serializing field: 'num'
9262             croak "Missing required input value 'num'"
9263 0 0         unless exists $_[1]->{num};
9264             # my ($class, $value, $index, $output) = @_;
9265             croak "Missing required input 'int' value"
9266 0 0         unless defined $_[1]->{num};
9267             die "Out of bounds 'int': $_[1]->{num}"
9268 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
9269             die "Non-integer 'int' value given: $_[1]->{num}"
9270 0 0         unless int($_[1]->{num}) == $_[1]->{num};
9271 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
9272 0           $_[2] += 4;
9273             }
9274             # @_: ($class, $value, $index, $input) = @_;
9275             sub deserialize_domain_iothread_info {
9276 0     0 0   my $input_length = length $_[3];
9277 0           $_[1] = {};
9278             # Deserializing field: 'iothread_id'
9279             # my ($class, $value, $index, $input) = @_;
9280 0 0         die "Input buffer too short"
9281             if ($input_length - $_[2]) < 4;
9282 0           $_[1]->{iothread_id} = unpack("L>", substr( $_[3], $_[2] ));
9283 0           $_[2] += 4;
9284             die "Out of bounds 'unsigned int': $_[1]->{iothread_id}"
9285 0 0 0       unless (0 <= $_[1]->{iothread_id} and $_[1]->{iothread_id} <= 4294967295);
9286              
9287             # Deserializing field: 'cpumap'
9288             # my ($class, $value, $index, $input) = @_;
9289 0           do {
9290 0 0         die "Input buffer too short"
9291             if ($input_length - $_[2]) < 4;
9292 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9293 0           $_[2] += 4;
9294 0 0         die "Opaque data too long (max: 2048): $len"
9295             unless ($len <= 2048);
9296 0 0         die "Input buffer too short"
9297             if ($input_length - $_[2]) < $len;
9298 0           $_[1]->{cpumap} = substr( $_[3], $_[2], $len );
9299 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
9300             };
9301             }
9302             # @_: ($class, $value, $index, $output) = @_;
9303             sub serialize_domain_iothread_info {
9304 0 0   0 0   croak "Missing required input 'struct' value"
9305             unless defined $_[1];
9306              
9307             # Serializing field: 'iothread_id'
9308             croak "Missing required input value 'iothread_id'"
9309 0 0         unless exists $_[1]->{iothread_id};
9310             # my ($class, $value, $index, $output) = @_;
9311             croak "Missing required input 'unsigned int' value"
9312 0 0         unless defined $_[1]->{iothread_id};
9313             die "Out of bounds 'unsigned int': $_[1]->{iothread_id}"
9314 0 0 0       unless (0 <= $_[1]->{iothread_id} and $_[1]->{iothread_id} <= 4294967295);
9315             die "Non-integer 'int' value given: $_[1]->{iothread_id}"
9316 0 0         unless int($_[1]->{iothread_id}) == $_[1]->{iothread_id};
9317 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{iothread_id});
9318 0           $_[2] += 4;
9319              
9320             # Serializing field: 'cpumap'
9321             croak "Missing required input value 'cpumap'"
9322 0 0         unless exists $_[1]->{cpumap};
9323             # my ($class, $value, $index, $output) = @_;
9324             croak "Missing required input 'opaque data' value"
9325 0 0         unless defined $_[1]->{cpumap};
9326 0           do {
9327 0           my $len = length $_[1]->{cpumap};
9328 0 0         die "Opaque data too long (max: 2048): $len"
9329             unless ($len <= 2048);
9330              
9331 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9332 0           $_[2] += 4;
9333 0           substr( $_[3], $_[2] ) = $_[1]->{cpumap};
9334 0           $_[2] += $len;
9335 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
9336 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
9337 0           $_[2] += $pad;
9338             }
9339             };
9340             }
9341             # @_: ($class, $value, $index, $input) = @_;
9342             sub deserialize_domain_get_iothread_info_args {
9343 0     0 0   my $input_length = length $_[3];
9344 0           $_[1] = {};
9345             # Deserializing field: 'dom'
9346             # my ($class, $value, $index, $input) = @_;
9347 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9348              
9349             # Deserializing field: 'flags'
9350             # my ($class, $value, $index, $input) = @_;
9351 0 0         die "Input buffer too short"
9352             if ($input_length - $_[2]) < 4;
9353 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
9354 0           $_[2] += 4;
9355             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9356 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9357             }
9358             # @_: ($class, $value, $index, $output) = @_;
9359             sub serialize_domain_get_iothread_info_args {
9360 0 0   0 0   croak "Missing required input 'struct' value"
9361             unless defined $_[1];
9362              
9363             # Serializing field: 'dom'
9364             croak "Missing required input value 'dom'"
9365 0 0         unless exists $_[1]->{dom};
9366             # my ($class, $value, $index, $output) = @_;
9367 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9368              
9369             # Serializing field: 'flags'
9370             croak "Missing required input value 'flags'"
9371 0 0         unless exists $_[1]->{flags};
9372             # my ($class, $value, $index, $output) = @_;
9373             croak "Missing required input 'unsigned int' value"
9374 0 0         unless defined $_[1]->{flags};
9375             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9376 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9377             die "Non-integer 'int' value given: $_[1]->{flags}"
9378 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
9379 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
9380 0           $_[2] += 4;
9381             }
9382             # @_: ($class, $value, $index, $input) = @_;
9383             sub deserialize_domain_get_iothread_info_ret {
9384 0     0 0   my $input_length = length $_[3];
9385 0           $_[1] = {};
9386             # Deserializing field: 'info'
9387             # my ($class, $value, $index, $input) = @_;
9388 0           do {
9389 0 0         die "Input buffer too short"
9390             if ($input_length - $_[2]) < 4;
9391 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9392 0           $_[2] += 4;
9393              
9394 0 0         die "Array too long (max: 16384): $len"
9395             unless ($len <= 16384);
9396 0           $_[1]->{info} = [];
9397 0           for my $i1 ( 0 .. ($len - 1) ) {
9398             # my ($class, $value, $index, $input) = @_;
9399 0           $_[0]->deserialize_domain_iothread_info( $_[1]->{info}->[$i1], $_[2], $_[3] );
9400             }
9401             };
9402              
9403             # Deserializing field: 'ret'
9404             # my ($class, $value, $index, $input) = @_;
9405 0 0         die "Input buffer too short"
9406             if ($input_length - $_[2]) < 4;
9407 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
9408 0           $_[2] += 4;
9409             die "Out of bounds 'unsigned int': $_[1]->{ret}"
9410 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
9411             }
9412             # @_: ($class, $value, $index, $output) = @_;
9413             sub serialize_domain_get_iothread_info_ret {
9414 0 0   0 0   croak "Missing required input 'struct' value"
9415             unless defined $_[1];
9416              
9417             # Serializing field: 'info'
9418             croak "Missing required input value 'info'"
9419 0 0         unless exists $_[1]->{info};
9420             # my ($class, $value, $index, $output) = @_;
9421             croak "Missing required input 'array' value"
9422 0 0         unless defined $_[1]->{info};
9423 0           do {
9424 0           my $len = scalar @{ $_[1]->{info} };
  0            
9425 0 0         die "Array too long (max: 16384): $len"
9426             unless ($len <= 16384);
9427              
9428 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9429 0           $_[2] += 4;
9430 0           for my $i1 ( 0 .. ($len - 1) ) {
9431             # my ($class, $value, $index, $output) = @_;
9432 0           $_[0]->serialize_domain_iothread_info( $_[1]->{info}->[$i1], $_[2], $_[3] );
9433             }
9434             };
9435              
9436             # Serializing field: 'ret'
9437             croak "Missing required input value 'ret'"
9438 0 0         unless exists $_[1]->{ret};
9439             # my ($class, $value, $index, $output) = @_;
9440             croak "Missing required input 'unsigned int' value"
9441 0 0         unless defined $_[1]->{ret};
9442             die "Out of bounds 'unsigned int': $_[1]->{ret}"
9443 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
9444             die "Non-integer 'int' value given: $_[1]->{ret}"
9445 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
9446 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
9447 0           $_[2] += 4;
9448             }
9449             # @_: ($class, $value, $index, $input) = @_;
9450             sub deserialize_domain_pin_iothread_args {
9451 0     0 0   my $input_length = length $_[3];
9452 0           $_[1] = {};
9453             # Deserializing field: 'dom'
9454             # my ($class, $value, $index, $input) = @_;
9455 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9456              
9457             # Deserializing field: 'iothreads_id'
9458             # my ($class, $value, $index, $input) = @_;
9459 0 0         die "Input buffer too short"
9460             if ($input_length - $_[2]) < 4;
9461 0           $_[1]->{iothreads_id} = unpack("L>", substr( $_[3], $_[2] ));
9462 0           $_[2] += 4;
9463             die "Out of bounds 'unsigned int': $_[1]->{iothreads_id}"
9464 0 0 0       unless (0 <= $_[1]->{iothreads_id} and $_[1]->{iothreads_id} <= 4294967295);
9465              
9466             # Deserializing field: 'cpumap'
9467             # my ($class, $value, $index, $input) = @_;
9468 0           do {
9469 0 0         die "Input buffer too short"
9470             if ($input_length - $_[2]) < 4;
9471 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9472 0           $_[2] += 4;
9473 0 0         die "Opaque data too long (max: 2048): $len"
9474             unless ($len <= 2048);
9475 0 0         die "Input buffer too short"
9476             if ($input_length - $_[2]) < $len;
9477 0           $_[1]->{cpumap} = substr( $_[3], $_[2], $len );
9478 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
9479             };
9480              
9481             # Deserializing field: 'flags'
9482             # my ($class, $value, $index, $input) = @_;
9483 0 0         die "Input buffer too short"
9484             if ($input_length - $_[2]) < 4;
9485 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
9486 0           $_[2] += 4;
9487             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9488 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9489             }
9490             # @_: ($class, $value, $index, $output) = @_;
9491             sub serialize_domain_pin_iothread_args {
9492 0 0   0 0   croak "Missing required input 'struct' value"
9493             unless defined $_[1];
9494              
9495             # Serializing field: 'dom'
9496             croak "Missing required input value 'dom'"
9497 0 0         unless exists $_[1]->{dom};
9498             # my ($class, $value, $index, $output) = @_;
9499 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9500              
9501             # Serializing field: 'iothreads_id'
9502             croak "Missing required input value 'iothreads_id'"
9503 0 0         unless exists $_[1]->{iothreads_id};
9504             # my ($class, $value, $index, $output) = @_;
9505             croak "Missing required input 'unsigned int' value"
9506 0 0         unless defined $_[1]->{iothreads_id};
9507             die "Out of bounds 'unsigned int': $_[1]->{iothreads_id}"
9508 0 0 0       unless (0 <= $_[1]->{iothreads_id} and $_[1]->{iothreads_id} <= 4294967295);
9509             die "Non-integer 'int' value given: $_[1]->{iothreads_id}"
9510 0 0         unless int($_[1]->{iothreads_id}) == $_[1]->{iothreads_id};
9511 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{iothreads_id});
9512 0           $_[2] += 4;
9513              
9514             # Serializing field: 'cpumap'
9515             croak "Missing required input value 'cpumap'"
9516 0 0         unless exists $_[1]->{cpumap};
9517             # my ($class, $value, $index, $output) = @_;
9518             croak "Missing required input 'opaque data' value"
9519 0 0         unless defined $_[1]->{cpumap};
9520 0           do {
9521 0           my $len = length $_[1]->{cpumap};
9522 0 0         die "Opaque data too long (max: 2048): $len"
9523             unless ($len <= 2048);
9524              
9525 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9526 0           $_[2] += 4;
9527 0           substr( $_[3], $_[2] ) = $_[1]->{cpumap};
9528 0           $_[2] += $len;
9529 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
9530 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
9531 0           $_[2] += $pad;
9532             }
9533             };
9534              
9535             # Serializing field: 'flags'
9536             croak "Missing required input value 'flags'"
9537 0 0         unless exists $_[1]->{flags};
9538             # my ($class, $value, $index, $output) = @_;
9539             croak "Missing required input 'unsigned int' value"
9540 0 0         unless defined $_[1]->{flags};
9541             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9542 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9543             die "Non-integer 'int' value given: $_[1]->{flags}"
9544 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
9545 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
9546 0           $_[2] += 4;
9547             }
9548             # @_: ($class, $value, $index, $input) = @_;
9549             sub deserialize_domain_add_iothread_args {
9550 0     0 0   my $input_length = length $_[3];
9551 0           $_[1] = {};
9552             # Deserializing field: 'dom'
9553             # my ($class, $value, $index, $input) = @_;
9554 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9555              
9556             # Deserializing field: 'iothread_id'
9557             # my ($class, $value, $index, $input) = @_;
9558 0 0         die "Input buffer too short"
9559             if ($input_length - $_[2]) < 4;
9560 0           $_[1]->{iothread_id} = unpack("L>", substr( $_[3], $_[2] ));
9561 0           $_[2] += 4;
9562             die "Out of bounds 'unsigned int': $_[1]->{iothread_id}"
9563 0 0 0       unless (0 <= $_[1]->{iothread_id} and $_[1]->{iothread_id} <= 4294967295);
9564              
9565             # Deserializing field: 'flags'
9566             # my ($class, $value, $index, $input) = @_;
9567 0 0         die "Input buffer too short"
9568             if ($input_length - $_[2]) < 4;
9569 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
9570 0           $_[2] += 4;
9571             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9572 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9573             }
9574             # @_: ($class, $value, $index, $output) = @_;
9575             sub serialize_domain_add_iothread_args {
9576 0 0   0 0   croak "Missing required input 'struct' value"
9577             unless defined $_[1];
9578              
9579             # Serializing field: 'dom'
9580             croak "Missing required input value 'dom'"
9581 0 0         unless exists $_[1]->{dom};
9582             # my ($class, $value, $index, $output) = @_;
9583 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9584              
9585             # Serializing field: 'iothread_id'
9586             croak "Missing required input value 'iothread_id'"
9587 0 0         unless exists $_[1]->{iothread_id};
9588             # my ($class, $value, $index, $output) = @_;
9589             croak "Missing required input 'unsigned int' value"
9590 0 0         unless defined $_[1]->{iothread_id};
9591             die "Out of bounds 'unsigned int': $_[1]->{iothread_id}"
9592 0 0 0       unless (0 <= $_[1]->{iothread_id} and $_[1]->{iothread_id} <= 4294967295);
9593             die "Non-integer 'int' value given: $_[1]->{iothread_id}"
9594 0 0         unless int($_[1]->{iothread_id}) == $_[1]->{iothread_id};
9595 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{iothread_id});
9596 0           $_[2] += 4;
9597              
9598             # Serializing field: 'flags'
9599             croak "Missing required input value 'flags'"
9600 0 0         unless exists $_[1]->{flags};
9601             # my ($class, $value, $index, $output) = @_;
9602             croak "Missing required input 'unsigned int' value"
9603 0 0         unless defined $_[1]->{flags};
9604             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9605 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9606             die "Non-integer 'int' value given: $_[1]->{flags}"
9607 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
9608 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
9609 0           $_[2] += 4;
9610             }
9611             # @_: ($class, $value, $index, $input) = @_;
9612             sub deserialize_domain_del_iothread_args {
9613 0     0 0   my $input_length = length $_[3];
9614 0           $_[1] = {};
9615             # Deserializing field: 'dom'
9616             # my ($class, $value, $index, $input) = @_;
9617 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9618              
9619             # Deserializing field: 'iothread_id'
9620             # my ($class, $value, $index, $input) = @_;
9621 0 0         die "Input buffer too short"
9622             if ($input_length - $_[2]) < 4;
9623 0           $_[1]->{iothread_id} = unpack("L>", substr( $_[3], $_[2] ));
9624 0           $_[2] += 4;
9625             die "Out of bounds 'unsigned int': $_[1]->{iothread_id}"
9626 0 0 0       unless (0 <= $_[1]->{iothread_id} and $_[1]->{iothread_id} <= 4294967295);
9627              
9628             # Deserializing field: 'flags'
9629             # my ($class, $value, $index, $input) = @_;
9630 0 0         die "Input buffer too short"
9631             if ($input_length - $_[2]) < 4;
9632 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
9633 0           $_[2] += 4;
9634             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9635 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9636             }
9637             # @_: ($class, $value, $index, $output) = @_;
9638             sub serialize_domain_del_iothread_args {
9639 0 0   0 0   croak "Missing required input 'struct' value"
9640             unless defined $_[1];
9641              
9642             # Serializing field: 'dom'
9643             croak "Missing required input value 'dom'"
9644 0 0         unless exists $_[1]->{dom};
9645             # my ($class, $value, $index, $output) = @_;
9646 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9647              
9648             # Serializing field: 'iothread_id'
9649             croak "Missing required input value 'iothread_id'"
9650 0 0         unless exists $_[1]->{iothread_id};
9651             # my ($class, $value, $index, $output) = @_;
9652             croak "Missing required input 'unsigned int' value"
9653 0 0         unless defined $_[1]->{iothread_id};
9654             die "Out of bounds 'unsigned int': $_[1]->{iothread_id}"
9655 0 0 0       unless (0 <= $_[1]->{iothread_id} and $_[1]->{iothread_id} <= 4294967295);
9656             die "Non-integer 'int' value given: $_[1]->{iothread_id}"
9657 0 0         unless int($_[1]->{iothread_id}) == $_[1]->{iothread_id};
9658 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{iothread_id});
9659 0           $_[2] += 4;
9660              
9661             # Serializing field: 'flags'
9662             croak "Missing required input value 'flags'"
9663 0 0         unless exists $_[1]->{flags};
9664             # my ($class, $value, $index, $output) = @_;
9665             croak "Missing required input 'unsigned int' value"
9666 0 0         unless defined $_[1]->{flags};
9667             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9668 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9669             die "Non-integer 'int' value given: $_[1]->{flags}"
9670 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
9671 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
9672 0           $_[2] += 4;
9673             }
9674             # @_: ($class, $value, $index, $input) = @_;
9675             sub deserialize_domain_set_iothread_params_args {
9676 0     0 0   my $input_length = length $_[3];
9677 0           $_[1] = {};
9678             # Deserializing field: 'dom'
9679             # my ($class, $value, $index, $input) = @_;
9680 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9681              
9682             # Deserializing field: 'iothread_id'
9683             # my ($class, $value, $index, $input) = @_;
9684 0 0         die "Input buffer too short"
9685             if ($input_length - $_[2]) < 4;
9686 0           $_[1]->{iothread_id} = unpack("L>", substr( $_[3], $_[2] ));
9687 0           $_[2] += 4;
9688             die "Out of bounds 'unsigned int': $_[1]->{iothread_id}"
9689 0 0 0       unless (0 <= $_[1]->{iothread_id} and $_[1]->{iothread_id} <= 4294967295);
9690              
9691             # Deserializing field: 'params'
9692             # my ($class, $value, $index, $input) = @_;
9693 0           do {
9694 0 0         die "Input buffer too short"
9695             if ($input_length - $_[2]) < 4;
9696 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9697 0           $_[2] += 4;
9698              
9699 0 0         die "Array too long (max: 64): $len"
9700             unless ($len <= 64);
9701 0           $_[1]->{params} = [];
9702 0           for my $i1 ( 0 .. ($len - 1) ) {
9703             # my ($class, $value, $index, $input) = @_;
9704 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
9705             }
9706             };
9707              
9708             # Deserializing field: 'flags'
9709             # my ($class, $value, $index, $input) = @_;
9710 0 0         die "Input buffer too short"
9711             if ($input_length - $_[2]) < 4;
9712 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
9713 0           $_[2] += 4;
9714             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9715 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9716             }
9717             # @_: ($class, $value, $index, $output) = @_;
9718             sub serialize_domain_set_iothread_params_args {
9719 0 0   0 0   croak "Missing required input 'struct' value"
9720             unless defined $_[1];
9721              
9722             # Serializing field: 'dom'
9723             croak "Missing required input value 'dom'"
9724 0 0         unless exists $_[1]->{dom};
9725             # my ($class, $value, $index, $output) = @_;
9726 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9727              
9728             # Serializing field: 'iothread_id'
9729             croak "Missing required input value 'iothread_id'"
9730 0 0         unless exists $_[1]->{iothread_id};
9731             # my ($class, $value, $index, $output) = @_;
9732             croak "Missing required input 'unsigned int' value"
9733 0 0         unless defined $_[1]->{iothread_id};
9734             die "Out of bounds 'unsigned int': $_[1]->{iothread_id}"
9735 0 0 0       unless (0 <= $_[1]->{iothread_id} and $_[1]->{iothread_id} <= 4294967295);
9736             die "Non-integer 'int' value given: $_[1]->{iothread_id}"
9737 0 0         unless int($_[1]->{iothread_id}) == $_[1]->{iothread_id};
9738 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{iothread_id});
9739 0           $_[2] += 4;
9740              
9741             # Serializing field: 'params'
9742             croak "Missing required input value 'params'"
9743 0 0         unless exists $_[1]->{params};
9744             # my ($class, $value, $index, $output) = @_;
9745             croak "Missing required input 'array' value"
9746 0 0         unless defined $_[1]->{params};
9747 0           do {
9748 0           my $len = scalar @{ $_[1]->{params} };
  0            
9749 0 0         die "Array too long (max: 64): $len"
9750             unless ($len <= 64);
9751              
9752 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9753 0           $_[2] += 4;
9754 0           for my $i1 ( 0 .. ($len - 1) ) {
9755             # my ($class, $value, $index, $output) = @_;
9756 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
9757             }
9758             };
9759              
9760             # Serializing field: 'flags'
9761             croak "Missing required input value 'flags'"
9762 0 0         unless exists $_[1]->{flags};
9763             # my ($class, $value, $index, $output) = @_;
9764             croak "Missing required input 'unsigned int' value"
9765 0 0         unless defined $_[1]->{flags};
9766             die "Out of bounds 'unsigned int': $_[1]->{flags}"
9767 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
9768             die "Non-integer 'int' value given: $_[1]->{flags}"
9769 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
9770 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
9771 0           $_[2] += 4;
9772             }
9773             # @_: ($class, $value, $index, $input) = @_;
9774             sub deserialize_domain_get_security_label_args {
9775 0     0 0   my $input_length = length $_[3];
9776 0           $_[1] = {};
9777             # Deserializing field: 'dom'
9778             # my ($class, $value, $index, $input) = @_;
9779 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9780             }
9781             # @_: ($class, $value, $index, $output) = @_;
9782             sub serialize_domain_get_security_label_args {
9783 0 0   0 0   croak "Missing required input 'struct' value"
9784             unless defined $_[1];
9785              
9786             # Serializing field: 'dom'
9787             croak "Missing required input value 'dom'"
9788 0 0         unless exists $_[1]->{dom};
9789             # my ($class, $value, $index, $output) = @_;
9790 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9791             }
9792             # @_: ($class, $value, $index, $input) = @_;
9793             sub deserialize_domain_get_security_label_ret {
9794 0     0 0   my $input_length = length $_[3];
9795 0           $_[1] = {};
9796             # Deserializing field: 'label'
9797             # my ($class, $value, $index, $input) = @_;
9798 0           do {
9799 0 0         die "Input buffer too short"
9800             if ($input_length - $_[2]) < 4;
9801 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9802 0           $_[2] += 4;
9803              
9804 0 0         die "Array too long (max: 4097): $len"
9805             unless ($len <= 4097);
9806 0           $_[1]->{label} = [];
9807 0           for my $i1 ( 0 .. ($len - 1) ) {
9808             # my ($class, $value, $index, $input) = @_;
9809 0 0         die "Input buffer too short"
9810             if ($input_length - $_[2]) < 4;
9811 0           $_[1]->{label}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
9812 0           $_[2] += 4;
9813             die "Out of bounds 'char': $_[1]->{label}->[$i1]"
9814 0 0 0       unless (-128 <= $_[1]->{label}->[$i1] and $_[1]->{label}->[$i1] < 128);
9815             }
9816 0           $_[1]->{label} = pack('c*', @{ $_[1]->{label} });
  0            
9817             };
9818              
9819             # Deserializing field: 'enforcing'
9820             # my ($class, $value, $index, $input) = @_;
9821 0 0         die "Input buffer too short"
9822             if ($input_length - $_[2]) < 4;
9823 0           $_[1]->{enforcing} = unpack("l>", substr( $_[3], $_[2] ));
9824 0           $_[2] += 4;
9825             die "Out of bounds 'int': $_[1]->{enforcing}"
9826 0 0 0       unless (-2147483648 <= $_[1]->{enforcing} and $_[1]->{enforcing} < 2147483648);
9827             }
9828             # @_: ($class, $value, $index, $output) = @_;
9829             sub serialize_domain_get_security_label_ret {
9830 0 0   0 0   croak "Missing required input 'struct' value"
9831             unless defined $_[1];
9832              
9833             # Serializing field: 'label'
9834             croak "Missing required input value 'label'"
9835 0 0         unless exists $_[1]->{label};
9836             # my ($class, $value, $index, $output) = @_;
9837             croak "Missing required input 'array' value"
9838 0 0         unless defined $_[1]->{label};
9839 0           do {
9840 0           local $_[1]->{label} = [ unpack('c*', $_[1]->{label}) ];
9841 0           my $len = scalar @{ $_[1]->{label} };
  0            
9842 0 0         die "Array too long (max: 4097): $len"
9843             unless ($len <= 4097);
9844              
9845 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9846 0           $_[2] += 4;
9847 0           for my $i1 ( 0 .. ($len - 1) ) {
9848             # my ($class, $value, $index, $output) = @_;
9849             croak "Missing required input 'char' value"
9850 0 0         unless defined $_[1]->{label}->[$i1];
9851             die "Out of bounds 'char': $_[1]->{label}->[$i1]"
9852 0 0 0       unless (-128 <= $_[1]->{label}->[$i1] and $_[1]->{label}->[$i1] < 128);
9853             die "Non-integer 'char' value given: $_[1]->{label}->[$i1]"
9854 0 0         unless int($_[1]->{label}->[$i1]) == $_[1]->{label}->[$i1];
9855 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{label}->[$i1]);
9856 0           $_[2] += 4;
9857             }
9858             };
9859              
9860             # Serializing field: 'enforcing'
9861             croak "Missing required input value 'enforcing'"
9862 0 0         unless exists $_[1]->{enforcing};
9863             # my ($class, $value, $index, $output) = @_;
9864             croak "Missing required input 'int' value"
9865 0 0         unless defined $_[1]->{enforcing};
9866             die "Out of bounds 'int': $_[1]->{enforcing}"
9867 0 0 0       unless (-2147483648 <= $_[1]->{enforcing} and $_[1]->{enforcing} < 2147483648);
9868             die "Non-integer 'int' value given: $_[1]->{enforcing}"
9869 0 0         unless int($_[1]->{enforcing}) == $_[1]->{enforcing};
9870 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{enforcing});
9871 0           $_[2] += 4;
9872             }
9873             # @_: ($class, $value, $index, $input) = @_;
9874             sub deserialize_domain_get_security_label_list_args {
9875 0     0 0   my $input_length = length $_[3];
9876 0           $_[1] = {};
9877             # Deserializing field: 'dom'
9878             # my ($class, $value, $index, $input) = @_;
9879 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9880             }
9881             # @_: ($class, $value, $index, $output) = @_;
9882             sub serialize_domain_get_security_label_list_args {
9883 0 0   0 0   croak "Missing required input 'struct' value"
9884             unless defined $_[1];
9885              
9886             # Serializing field: 'dom'
9887             croak "Missing required input value 'dom'"
9888 0 0         unless exists $_[1]->{dom};
9889             # my ($class, $value, $index, $output) = @_;
9890 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
9891             }
9892             # @_: ($class, $value, $index, $input) = @_;
9893             sub deserialize_domain_get_security_label_list_ret {
9894 0     0 0   my $input_length = length $_[3];
9895 0           $_[1] = {};
9896             # Deserializing field: 'labels'
9897             # my ($class, $value, $index, $input) = @_;
9898 0           do {
9899 0 0         die "Input buffer too short"
9900             if ($input_length - $_[2]) < 4;
9901 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9902 0           $_[2] += 4;
9903              
9904 0 0         die "Array too long (max: 64): $len"
9905             unless ($len <= 64);
9906 0           $_[1]->{labels} = [];
9907 0           for my $i1 ( 0 .. ($len - 1) ) {
9908             # my ($class, $value, $index, $input) = @_;
9909 0           $_[0]->deserialize_domain_get_security_label_ret( $_[1]->{labels}->[$i1], $_[2], $_[3] );
9910             }
9911             };
9912              
9913             # Deserializing field: 'ret'
9914             # my ($class, $value, $index, $input) = @_;
9915 0 0         die "Input buffer too short"
9916             if ($input_length - $_[2]) < 4;
9917 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
9918 0           $_[2] += 4;
9919             die "Out of bounds 'int': $_[1]->{ret}"
9920 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
9921             }
9922             # @_: ($class, $value, $index, $output) = @_;
9923             sub serialize_domain_get_security_label_list_ret {
9924 0 0   0 0   croak "Missing required input 'struct' value"
9925             unless defined $_[1];
9926              
9927             # Serializing field: 'labels'
9928             croak "Missing required input value 'labels'"
9929 0 0         unless exists $_[1]->{labels};
9930             # my ($class, $value, $index, $output) = @_;
9931             croak "Missing required input 'array' value"
9932 0 0         unless defined $_[1]->{labels};
9933 0           do {
9934 0           my $len = scalar @{ $_[1]->{labels} };
  0            
9935 0 0         die "Array too long (max: 64): $len"
9936             unless ($len <= 64);
9937              
9938 0           substr( $_[3], $_[2] ) = pack("L>", $len);
9939 0           $_[2] += 4;
9940 0           for my $i1 ( 0 .. ($len - 1) ) {
9941             # my ($class, $value, $index, $output) = @_;
9942 0           $_[0]->serialize_domain_get_security_label_ret( $_[1]->{labels}->[$i1], $_[2], $_[3] );
9943             }
9944             };
9945              
9946             # Serializing field: 'ret'
9947             croak "Missing required input value 'ret'"
9948 0 0         unless exists $_[1]->{ret};
9949             # my ($class, $value, $index, $output) = @_;
9950             croak "Missing required input 'int' value"
9951 0 0         unless defined $_[1]->{ret};
9952             die "Out of bounds 'int': $_[1]->{ret}"
9953 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
9954             die "Non-integer 'int' value given: $_[1]->{ret}"
9955 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
9956 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
9957 0           $_[2] += 4;
9958             }
9959             # @_: ($class, $value, $index, $input) = @_;
9960             sub deserialize_node_get_security_model_ret {
9961 0     0 0   my $input_length = length $_[3];
9962 0           $_[1] = {};
9963             # Deserializing field: 'model'
9964             # my ($class, $value, $index, $input) = @_;
9965 0           do {
9966 0 0         die "Input buffer too short"
9967             if ($input_length - $_[2]) < 4;
9968 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9969 0           $_[2] += 4;
9970              
9971 0 0         die "Array too long (max: 257): $len"
9972             unless ($len <= 257);
9973 0           $_[1]->{model} = [];
9974 0           for my $i1 ( 0 .. ($len - 1) ) {
9975             # my ($class, $value, $index, $input) = @_;
9976 0 0         die "Input buffer too short"
9977             if ($input_length - $_[2]) < 4;
9978 0           $_[1]->{model}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
9979 0           $_[2] += 4;
9980             die "Out of bounds 'char': $_[1]->{model}->[$i1]"
9981 0 0 0       unless (-128 <= $_[1]->{model}->[$i1] and $_[1]->{model}->[$i1] < 128);
9982             }
9983 0           $_[1]->{model} = pack('c*', @{ $_[1]->{model} });
  0            
9984             };
9985              
9986             # Deserializing field: 'doi'
9987             # my ($class, $value, $index, $input) = @_;
9988 0           do {
9989 0 0         die "Input buffer too short"
9990             if ($input_length - $_[2]) < 4;
9991 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
9992 0           $_[2] += 4;
9993              
9994 0 0         die "Array too long (max: 257): $len"
9995             unless ($len <= 257);
9996 0           $_[1]->{doi} = [];
9997 0           for my $i1 ( 0 .. ($len - 1) ) {
9998             # my ($class, $value, $index, $input) = @_;
9999 0 0         die "Input buffer too short"
10000             if ($input_length - $_[2]) < 4;
10001 0           $_[1]->{doi}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
10002 0           $_[2] += 4;
10003             die "Out of bounds 'char': $_[1]->{doi}->[$i1]"
10004 0 0 0       unless (-128 <= $_[1]->{doi}->[$i1] and $_[1]->{doi}->[$i1] < 128);
10005             }
10006 0           $_[1]->{doi} = pack('c*', @{ $_[1]->{doi} });
  0            
10007             };
10008             }
10009             # @_: ($class, $value, $index, $output) = @_;
10010             sub serialize_node_get_security_model_ret {
10011 0 0   0 0   croak "Missing required input 'struct' value"
10012             unless defined $_[1];
10013              
10014             # Serializing field: 'model'
10015             croak "Missing required input value 'model'"
10016 0 0         unless exists $_[1]->{model};
10017             # my ($class, $value, $index, $output) = @_;
10018             croak "Missing required input 'array' value"
10019 0 0         unless defined $_[1]->{model};
10020 0           do {
10021 0           local $_[1]->{model} = [ unpack('c*', $_[1]->{model}) ];
10022 0           my $len = scalar @{ $_[1]->{model} };
  0            
10023 0 0         die "Array too long (max: 257): $len"
10024             unless ($len <= 257);
10025              
10026 0           substr( $_[3], $_[2] ) = pack("L>", $len);
10027 0           $_[2] += 4;
10028 0           for my $i1 ( 0 .. ($len - 1) ) {
10029             # my ($class, $value, $index, $output) = @_;
10030             croak "Missing required input 'char' value"
10031 0 0         unless defined $_[1]->{model}->[$i1];
10032             die "Out of bounds 'char': $_[1]->{model}->[$i1]"
10033 0 0 0       unless (-128 <= $_[1]->{model}->[$i1] and $_[1]->{model}->[$i1] < 128);
10034             die "Non-integer 'char' value given: $_[1]->{model}->[$i1]"
10035 0 0         unless int($_[1]->{model}->[$i1]) == $_[1]->{model}->[$i1];
10036 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{model}->[$i1]);
10037 0           $_[2] += 4;
10038             }
10039             };
10040              
10041             # Serializing field: 'doi'
10042             croak "Missing required input value 'doi'"
10043 0 0         unless exists $_[1]->{doi};
10044             # my ($class, $value, $index, $output) = @_;
10045             croak "Missing required input 'array' value"
10046 0 0         unless defined $_[1]->{doi};
10047 0           do {
10048 0           local $_[1]->{doi} = [ unpack('c*', $_[1]->{doi}) ];
10049 0           my $len = scalar @{ $_[1]->{doi} };
  0            
10050 0 0         die "Array too long (max: 257): $len"
10051             unless ($len <= 257);
10052              
10053 0           substr( $_[3], $_[2] ) = pack("L>", $len);
10054 0           $_[2] += 4;
10055 0           for my $i1 ( 0 .. ($len - 1) ) {
10056             # my ($class, $value, $index, $output) = @_;
10057             croak "Missing required input 'char' value"
10058 0 0         unless defined $_[1]->{doi}->[$i1];
10059             die "Out of bounds 'char': $_[1]->{doi}->[$i1]"
10060 0 0 0       unless (-128 <= $_[1]->{doi}->[$i1] and $_[1]->{doi}->[$i1] < 128);
10061             die "Non-integer 'char' value given: $_[1]->{doi}->[$i1]"
10062 0 0         unless int($_[1]->{doi}->[$i1]) == $_[1]->{doi}->[$i1];
10063 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{doi}->[$i1]);
10064 0           $_[2] += 4;
10065             }
10066             };
10067             }
10068             # @_: ($class, $value, $index, $input) = @_;
10069             sub deserialize_domain_attach_device_args {
10070 0     0 0   my $input_length = length $_[3];
10071 0           $_[1] = {};
10072             # Deserializing field: 'dom'
10073             # my ($class, $value, $index, $input) = @_;
10074 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10075              
10076             # Deserializing field: 'xml'
10077             # my ($class, $value, $index, $input) = @_;
10078 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10079             }
10080             # @_: ($class, $value, $index, $output) = @_;
10081             sub serialize_domain_attach_device_args {
10082 0 0   0 0   croak "Missing required input 'struct' value"
10083             unless defined $_[1];
10084              
10085             # Serializing field: 'dom'
10086             croak "Missing required input value 'dom'"
10087 0 0         unless exists $_[1]->{dom};
10088             # my ($class, $value, $index, $output) = @_;
10089 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10090              
10091             # Serializing field: 'xml'
10092             croak "Missing required input value 'xml'"
10093 0 0         unless exists $_[1]->{xml};
10094             # my ($class, $value, $index, $output) = @_;
10095 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10096             }
10097             # @_: ($class, $value, $index, $input) = @_;
10098             sub deserialize_domain_attach_device_flags_args {
10099 0     0 0   my $input_length = length $_[3];
10100 0           $_[1] = {};
10101             # Deserializing field: 'dom'
10102             # my ($class, $value, $index, $input) = @_;
10103 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10104              
10105             # Deserializing field: 'xml'
10106             # my ($class, $value, $index, $input) = @_;
10107 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10108              
10109             # Deserializing field: 'flags'
10110             # my ($class, $value, $index, $input) = @_;
10111 0 0         die "Input buffer too short"
10112             if ($input_length - $_[2]) < 4;
10113 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10114 0           $_[2] += 4;
10115             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10116 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10117             }
10118             # @_: ($class, $value, $index, $output) = @_;
10119             sub serialize_domain_attach_device_flags_args {
10120 0 0   0 0   croak "Missing required input 'struct' value"
10121             unless defined $_[1];
10122              
10123             # Serializing field: 'dom'
10124             croak "Missing required input value 'dom'"
10125 0 0         unless exists $_[1]->{dom};
10126             # my ($class, $value, $index, $output) = @_;
10127 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10128              
10129             # Serializing field: 'xml'
10130             croak "Missing required input value 'xml'"
10131 0 0         unless exists $_[1]->{xml};
10132             # my ($class, $value, $index, $output) = @_;
10133 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10134              
10135             # Serializing field: 'flags'
10136             croak "Missing required input value 'flags'"
10137 0 0         unless exists $_[1]->{flags};
10138             # my ($class, $value, $index, $output) = @_;
10139             croak "Missing required input 'unsigned int' value"
10140 0 0         unless defined $_[1]->{flags};
10141             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10142 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10143             die "Non-integer 'int' value given: $_[1]->{flags}"
10144 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10145 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10146 0           $_[2] += 4;
10147             }
10148             # @_: ($class, $value, $index, $input) = @_;
10149             sub deserialize_domain_detach_device_args {
10150 0     0 0   my $input_length = length $_[3];
10151 0           $_[1] = {};
10152             # Deserializing field: 'dom'
10153             # my ($class, $value, $index, $input) = @_;
10154 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10155              
10156             # Deserializing field: 'xml'
10157             # my ($class, $value, $index, $input) = @_;
10158 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10159             }
10160             # @_: ($class, $value, $index, $output) = @_;
10161             sub serialize_domain_detach_device_args {
10162 0 0   0 0   croak "Missing required input 'struct' value"
10163             unless defined $_[1];
10164              
10165             # Serializing field: 'dom'
10166             croak "Missing required input value 'dom'"
10167 0 0         unless exists $_[1]->{dom};
10168             # my ($class, $value, $index, $output) = @_;
10169 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10170              
10171             # Serializing field: 'xml'
10172             croak "Missing required input value 'xml'"
10173 0 0         unless exists $_[1]->{xml};
10174             # my ($class, $value, $index, $output) = @_;
10175 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10176             }
10177             # @_: ($class, $value, $index, $input) = @_;
10178             sub deserialize_domain_detach_device_flags_args {
10179 0     0 0   my $input_length = length $_[3];
10180 0           $_[1] = {};
10181             # Deserializing field: 'dom'
10182             # my ($class, $value, $index, $input) = @_;
10183 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10184              
10185             # Deserializing field: 'xml'
10186             # my ($class, $value, $index, $input) = @_;
10187 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10188              
10189             # Deserializing field: 'flags'
10190             # my ($class, $value, $index, $input) = @_;
10191 0 0         die "Input buffer too short"
10192             if ($input_length - $_[2]) < 4;
10193 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10194 0           $_[2] += 4;
10195             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10196 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10197             }
10198             # @_: ($class, $value, $index, $output) = @_;
10199             sub serialize_domain_detach_device_flags_args {
10200 0 0   0 0   croak "Missing required input 'struct' value"
10201             unless defined $_[1];
10202              
10203             # Serializing field: 'dom'
10204             croak "Missing required input value 'dom'"
10205 0 0         unless exists $_[1]->{dom};
10206             # my ($class, $value, $index, $output) = @_;
10207 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10208              
10209             # Serializing field: 'xml'
10210             croak "Missing required input value 'xml'"
10211 0 0         unless exists $_[1]->{xml};
10212             # my ($class, $value, $index, $output) = @_;
10213 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10214              
10215             # Serializing field: 'flags'
10216             croak "Missing required input value 'flags'"
10217 0 0         unless exists $_[1]->{flags};
10218             # my ($class, $value, $index, $output) = @_;
10219             croak "Missing required input 'unsigned int' value"
10220 0 0         unless defined $_[1]->{flags};
10221             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10222 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10223             die "Non-integer 'int' value given: $_[1]->{flags}"
10224 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10225 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10226 0           $_[2] += 4;
10227             }
10228             # @_: ($class, $value, $index, $input) = @_;
10229             sub deserialize_domain_update_device_flags_args {
10230 0     0 0   my $input_length = length $_[3];
10231 0           $_[1] = {};
10232             # Deserializing field: 'dom'
10233             # my ($class, $value, $index, $input) = @_;
10234 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10235              
10236             # Deserializing field: 'xml'
10237             # my ($class, $value, $index, $input) = @_;
10238 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10239              
10240             # Deserializing field: 'flags'
10241             # my ($class, $value, $index, $input) = @_;
10242 0 0         die "Input buffer too short"
10243             if ($input_length - $_[2]) < 4;
10244 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10245 0           $_[2] += 4;
10246             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10247 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10248             }
10249             # @_: ($class, $value, $index, $output) = @_;
10250             sub serialize_domain_update_device_flags_args {
10251 0 0   0 0   croak "Missing required input 'struct' value"
10252             unless defined $_[1];
10253              
10254             # Serializing field: 'dom'
10255             croak "Missing required input value 'dom'"
10256 0 0         unless exists $_[1]->{dom};
10257             # my ($class, $value, $index, $output) = @_;
10258 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10259              
10260             # Serializing field: 'xml'
10261             croak "Missing required input value 'xml'"
10262 0 0         unless exists $_[1]->{xml};
10263             # my ($class, $value, $index, $output) = @_;
10264 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
10265              
10266             # Serializing field: 'flags'
10267             croak "Missing required input value 'flags'"
10268 0 0         unless exists $_[1]->{flags};
10269             # my ($class, $value, $index, $output) = @_;
10270             croak "Missing required input 'unsigned int' value"
10271 0 0         unless defined $_[1]->{flags};
10272             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10273 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10274             die "Non-integer 'int' value given: $_[1]->{flags}"
10275 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10276 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10277 0           $_[2] += 4;
10278             }
10279             # @_: ($class, $value, $index, $input) = @_;
10280             sub deserialize_domain_detach_device_alias_args {
10281 0     0 0   my $input_length = length $_[3];
10282 0           $_[1] = {};
10283             # Deserializing field: 'dom'
10284             # my ($class, $value, $index, $input) = @_;
10285 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10286              
10287             # Deserializing field: 'alias'
10288             # my ($class, $value, $index, $input) = @_;
10289 0           $_[0]->deserialize_nonnull_string( $_[1]->{alias}, $_[2], $_[3] );
10290              
10291             # Deserializing field: 'flags'
10292             # my ($class, $value, $index, $input) = @_;
10293 0 0         die "Input buffer too short"
10294             if ($input_length - $_[2]) < 4;
10295 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10296 0           $_[2] += 4;
10297             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10298 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10299             }
10300             # @_: ($class, $value, $index, $output) = @_;
10301             sub serialize_domain_detach_device_alias_args {
10302 0 0   0 0   croak "Missing required input 'struct' value"
10303             unless defined $_[1];
10304              
10305             # Serializing field: 'dom'
10306             croak "Missing required input value 'dom'"
10307 0 0         unless exists $_[1]->{dom};
10308             # my ($class, $value, $index, $output) = @_;
10309 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10310              
10311             # Serializing field: 'alias'
10312             croak "Missing required input value 'alias'"
10313 0 0         unless exists $_[1]->{alias};
10314             # my ($class, $value, $index, $output) = @_;
10315 0           $_[0]->serialize_nonnull_string( $_[1]->{alias}, $_[2], $_[3] );
10316              
10317             # Serializing field: 'flags'
10318             croak "Missing required input value 'flags'"
10319 0 0         unless exists $_[1]->{flags};
10320             # my ($class, $value, $index, $output) = @_;
10321             croak "Missing required input 'unsigned int' value"
10322 0 0         unless defined $_[1]->{flags};
10323             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10324 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10325             die "Non-integer 'int' value given: $_[1]->{flags}"
10326 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10327 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10328 0           $_[2] += 4;
10329             }
10330             # @_: ($class, $value, $index, $input) = @_;
10331             sub deserialize_domain_get_autostart_args {
10332 0     0 0   my $input_length = length $_[3];
10333 0           $_[1] = {};
10334             # Deserializing field: 'dom'
10335             # my ($class, $value, $index, $input) = @_;
10336 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10337             }
10338             # @_: ($class, $value, $index, $output) = @_;
10339             sub serialize_domain_get_autostart_args {
10340 0 0   0 0   croak "Missing required input 'struct' value"
10341             unless defined $_[1];
10342              
10343             # Serializing field: 'dom'
10344             croak "Missing required input value 'dom'"
10345 0 0         unless exists $_[1]->{dom};
10346             # my ($class, $value, $index, $output) = @_;
10347 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10348             }
10349             # @_: ($class, $value, $index, $input) = @_;
10350             sub deserialize_domain_get_autostart_ret {
10351 0     0 0   my $input_length = length $_[3];
10352 0           $_[1] = {};
10353             # Deserializing field: 'autostart'
10354             # my ($class, $value, $index, $input) = @_;
10355 0 0         die "Input buffer too short"
10356             if ($input_length - $_[2]) < 4;
10357 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
10358 0           $_[2] += 4;
10359             die "Out of bounds 'int': $_[1]->{autostart}"
10360 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
10361             }
10362             # @_: ($class, $value, $index, $output) = @_;
10363             sub serialize_domain_get_autostart_ret {
10364 0 0   0 0   croak "Missing required input 'struct' value"
10365             unless defined $_[1];
10366              
10367             # Serializing field: 'autostart'
10368             croak "Missing required input value 'autostart'"
10369 0 0         unless exists $_[1]->{autostart};
10370             # my ($class, $value, $index, $output) = @_;
10371             croak "Missing required input 'int' value"
10372 0 0         unless defined $_[1]->{autostart};
10373             die "Out of bounds 'int': $_[1]->{autostart}"
10374 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
10375             die "Non-integer 'int' value given: $_[1]->{autostart}"
10376 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
10377 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
10378 0           $_[2] += 4;
10379             }
10380             # @_: ($class, $value, $index, $input) = @_;
10381             sub deserialize_domain_set_autostart_args {
10382 0     0 0   my $input_length = length $_[3];
10383 0           $_[1] = {};
10384             # Deserializing field: 'dom'
10385             # my ($class, $value, $index, $input) = @_;
10386 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10387              
10388             # Deserializing field: 'autostart'
10389             # my ($class, $value, $index, $input) = @_;
10390 0 0         die "Input buffer too short"
10391             if ($input_length - $_[2]) < 4;
10392 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
10393 0           $_[2] += 4;
10394             die "Out of bounds 'int': $_[1]->{autostart}"
10395 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
10396             }
10397             # @_: ($class, $value, $index, $output) = @_;
10398             sub serialize_domain_set_autostart_args {
10399 0 0   0 0   croak "Missing required input 'struct' value"
10400             unless defined $_[1];
10401              
10402             # Serializing field: 'dom'
10403             croak "Missing required input value 'dom'"
10404 0 0         unless exists $_[1]->{dom};
10405             # my ($class, $value, $index, $output) = @_;
10406 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10407              
10408             # Serializing field: 'autostart'
10409             croak "Missing required input value 'autostart'"
10410 0 0         unless exists $_[1]->{autostart};
10411             # my ($class, $value, $index, $output) = @_;
10412             croak "Missing required input 'int' value"
10413 0 0         unless defined $_[1]->{autostart};
10414             die "Out of bounds 'int': $_[1]->{autostart}"
10415 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
10416             die "Non-integer 'int' value given: $_[1]->{autostart}"
10417 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
10418 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
10419 0           $_[2] += 4;
10420             }
10421             # @_: ($class, $value, $index, $input) = @_;
10422             sub deserialize_domain_set_metadata_args {
10423 0     0 0   my $input_length = length $_[3];
10424 0           $_[1] = {};
10425             # Deserializing field: 'dom'
10426             # my ($class, $value, $index, $input) = @_;
10427 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10428              
10429             # Deserializing field: 'type'
10430             # my ($class, $value, $index, $input) = @_;
10431 0 0         die "Input buffer too short"
10432             if ($input_length - $_[2]) < 4;
10433 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
10434 0           $_[2] += 4;
10435             die "Out of bounds 'int': $_[1]->{type}"
10436 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
10437              
10438             # Deserializing field: 'metadata'
10439             # my ($class, $value, $index, $input) = @_;
10440 0           $_[0]->deserialize_string( $_[1]->{metadata}, $_[2], $_[3] );
10441              
10442             # Deserializing field: 'key'
10443             # my ($class, $value, $index, $input) = @_;
10444 0           $_[0]->deserialize_string( $_[1]->{key}, $_[2], $_[3] );
10445              
10446             # Deserializing field: 'uri'
10447             # my ($class, $value, $index, $input) = @_;
10448 0           $_[0]->deserialize_string( $_[1]->{uri}, $_[2], $_[3] );
10449              
10450             # Deserializing field: 'flags'
10451             # my ($class, $value, $index, $input) = @_;
10452 0 0         die "Input buffer too short"
10453             if ($input_length - $_[2]) < 4;
10454 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10455 0           $_[2] += 4;
10456             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10457 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10458             }
10459             # @_: ($class, $value, $index, $output) = @_;
10460             sub serialize_domain_set_metadata_args {
10461 0 0   0 0   croak "Missing required input 'struct' value"
10462             unless defined $_[1];
10463              
10464             # Serializing field: 'dom'
10465             croak "Missing required input value 'dom'"
10466 0 0         unless exists $_[1]->{dom};
10467             # my ($class, $value, $index, $output) = @_;
10468 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10469              
10470             # Serializing field: 'type'
10471             croak "Missing required input value 'type'"
10472 0 0         unless exists $_[1]->{type};
10473             # my ($class, $value, $index, $output) = @_;
10474             croak "Missing required input 'int' value"
10475 0 0         unless defined $_[1]->{type};
10476             die "Out of bounds 'int': $_[1]->{type}"
10477 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
10478             die "Non-integer 'int' value given: $_[1]->{type}"
10479 0 0         unless int($_[1]->{type}) == $_[1]->{type};
10480 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
10481 0           $_[2] += 4;
10482              
10483             # Serializing field: 'metadata'
10484             croak "Missing required input value 'metadata'"
10485 0 0         unless exists $_[1]->{metadata};
10486             # my ($class, $value, $index, $output) = @_;
10487 0           $_[0]->serialize_string( $_[1]->{metadata}, $_[2], $_[3] );
10488              
10489             # Serializing field: 'key'
10490             croak "Missing required input value 'key'"
10491 0 0         unless exists $_[1]->{key};
10492             # my ($class, $value, $index, $output) = @_;
10493 0           $_[0]->serialize_string( $_[1]->{key}, $_[2], $_[3] );
10494              
10495             # Serializing field: 'uri'
10496             croak "Missing required input value 'uri'"
10497 0 0         unless exists $_[1]->{uri};
10498             # my ($class, $value, $index, $output) = @_;
10499 0           $_[0]->serialize_string( $_[1]->{uri}, $_[2], $_[3] );
10500              
10501             # Serializing field: 'flags'
10502             croak "Missing required input value 'flags'"
10503 0 0         unless exists $_[1]->{flags};
10504             # my ($class, $value, $index, $output) = @_;
10505             croak "Missing required input 'unsigned int' value"
10506 0 0         unless defined $_[1]->{flags};
10507             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10508 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10509             die "Non-integer 'int' value given: $_[1]->{flags}"
10510 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10511 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10512 0           $_[2] += 4;
10513             }
10514             # @_: ($class, $value, $index, $input) = @_;
10515             sub deserialize_domain_get_metadata_args {
10516 0     0 0   my $input_length = length $_[3];
10517 0           $_[1] = {};
10518             # Deserializing field: 'dom'
10519             # my ($class, $value, $index, $input) = @_;
10520 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10521              
10522             # Deserializing field: 'type'
10523             # my ($class, $value, $index, $input) = @_;
10524 0 0         die "Input buffer too short"
10525             if ($input_length - $_[2]) < 4;
10526 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
10527 0           $_[2] += 4;
10528             die "Out of bounds 'int': $_[1]->{type}"
10529 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
10530              
10531             # Deserializing field: 'uri'
10532             # my ($class, $value, $index, $input) = @_;
10533 0           $_[0]->deserialize_string( $_[1]->{uri}, $_[2], $_[3] );
10534              
10535             # Deserializing field: 'flags'
10536             # my ($class, $value, $index, $input) = @_;
10537 0 0         die "Input buffer too short"
10538             if ($input_length - $_[2]) < 4;
10539 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10540 0           $_[2] += 4;
10541             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10542 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10543             }
10544             # @_: ($class, $value, $index, $output) = @_;
10545             sub serialize_domain_get_metadata_args {
10546 0 0   0 0   croak "Missing required input 'struct' value"
10547             unless defined $_[1];
10548              
10549             # Serializing field: 'dom'
10550             croak "Missing required input value 'dom'"
10551 0 0         unless exists $_[1]->{dom};
10552             # my ($class, $value, $index, $output) = @_;
10553 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10554              
10555             # Serializing field: 'type'
10556             croak "Missing required input value 'type'"
10557 0 0         unless exists $_[1]->{type};
10558             # my ($class, $value, $index, $output) = @_;
10559             croak "Missing required input 'int' value"
10560 0 0         unless defined $_[1]->{type};
10561             die "Out of bounds 'int': $_[1]->{type}"
10562 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
10563             die "Non-integer 'int' value given: $_[1]->{type}"
10564 0 0         unless int($_[1]->{type}) == $_[1]->{type};
10565 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
10566 0           $_[2] += 4;
10567              
10568             # Serializing field: 'uri'
10569             croak "Missing required input value 'uri'"
10570 0 0         unless exists $_[1]->{uri};
10571             # my ($class, $value, $index, $output) = @_;
10572 0           $_[0]->serialize_string( $_[1]->{uri}, $_[2], $_[3] );
10573              
10574             # Serializing field: 'flags'
10575             croak "Missing required input value 'flags'"
10576 0 0         unless exists $_[1]->{flags};
10577             # my ($class, $value, $index, $output) = @_;
10578             croak "Missing required input 'unsigned int' value"
10579 0 0         unless defined $_[1]->{flags};
10580             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10581 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10582             die "Non-integer 'int' value given: $_[1]->{flags}"
10583 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10584 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10585 0           $_[2] += 4;
10586             }
10587             # @_: ($class, $value, $index, $input) = @_;
10588             sub deserialize_domain_get_metadata_ret {
10589 0     0 0   my $input_length = length $_[3];
10590 0           $_[1] = {};
10591             # Deserializing field: 'metadata'
10592             # my ($class, $value, $index, $input) = @_;
10593 0           $_[0]->deserialize_nonnull_string( $_[1]->{metadata}, $_[2], $_[3] );
10594             }
10595             # @_: ($class, $value, $index, $output) = @_;
10596             sub serialize_domain_get_metadata_ret {
10597 0 0   0 0   croak "Missing required input 'struct' value"
10598             unless defined $_[1];
10599              
10600             # Serializing field: 'metadata'
10601             croak "Missing required input value 'metadata'"
10602 0 0         unless exists $_[1]->{metadata};
10603             # my ($class, $value, $index, $output) = @_;
10604 0           $_[0]->serialize_nonnull_string( $_[1]->{metadata}, $_[2], $_[3] );
10605             }
10606             # @_: ($class, $value, $index, $input) = @_;
10607             sub deserialize_domain_block_job_abort_args {
10608 0     0 0   my $input_length = length $_[3];
10609 0           $_[1] = {};
10610             # Deserializing field: 'dom'
10611             # my ($class, $value, $index, $input) = @_;
10612 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10613              
10614             # Deserializing field: 'path'
10615             # my ($class, $value, $index, $input) = @_;
10616 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10617              
10618             # Deserializing field: 'flags'
10619             # my ($class, $value, $index, $input) = @_;
10620 0 0         die "Input buffer too short"
10621             if ($input_length - $_[2]) < 4;
10622 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10623 0           $_[2] += 4;
10624             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10625 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10626             }
10627             # @_: ($class, $value, $index, $output) = @_;
10628             sub serialize_domain_block_job_abort_args {
10629 0 0   0 0   croak "Missing required input 'struct' value"
10630             unless defined $_[1];
10631              
10632             # Serializing field: 'dom'
10633             croak "Missing required input value 'dom'"
10634 0 0         unless exists $_[1]->{dom};
10635             # my ($class, $value, $index, $output) = @_;
10636 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10637              
10638             # Serializing field: 'path'
10639             croak "Missing required input value 'path'"
10640 0 0         unless exists $_[1]->{path};
10641             # my ($class, $value, $index, $output) = @_;
10642 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10643              
10644             # Serializing field: 'flags'
10645             croak "Missing required input value 'flags'"
10646 0 0         unless exists $_[1]->{flags};
10647             # my ($class, $value, $index, $output) = @_;
10648             croak "Missing required input 'unsigned int' value"
10649 0 0         unless defined $_[1]->{flags};
10650             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10651 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10652             die "Non-integer 'int' value given: $_[1]->{flags}"
10653 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10654 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10655 0           $_[2] += 4;
10656             }
10657             # @_: ($class, $value, $index, $input) = @_;
10658             sub deserialize_domain_get_block_job_info_args {
10659 0     0 0   my $input_length = length $_[3];
10660 0           $_[1] = {};
10661             # Deserializing field: 'dom'
10662             # my ($class, $value, $index, $input) = @_;
10663 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10664              
10665             # Deserializing field: 'path'
10666             # my ($class, $value, $index, $input) = @_;
10667 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10668              
10669             # Deserializing field: 'flags'
10670             # my ($class, $value, $index, $input) = @_;
10671 0 0         die "Input buffer too short"
10672             if ($input_length - $_[2]) < 4;
10673 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10674 0           $_[2] += 4;
10675             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10676 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10677             }
10678             # @_: ($class, $value, $index, $output) = @_;
10679             sub serialize_domain_get_block_job_info_args {
10680 0 0   0 0   croak "Missing required input 'struct' value"
10681             unless defined $_[1];
10682              
10683             # Serializing field: 'dom'
10684             croak "Missing required input value 'dom'"
10685 0 0         unless exists $_[1]->{dom};
10686             # my ($class, $value, $index, $output) = @_;
10687 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10688              
10689             # Serializing field: 'path'
10690             croak "Missing required input value 'path'"
10691 0 0         unless exists $_[1]->{path};
10692             # my ($class, $value, $index, $output) = @_;
10693 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10694              
10695             # Serializing field: 'flags'
10696             croak "Missing required input value 'flags'"
10697 0 0         unless exists $_[1]->{flags};
10698             # my ($class, $value, $index, $output) = @_;
10699             croak "Missing required input 'unsigned int' value"
10700 0 0         unless defined $_[1]->{flags};
10701             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10702 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10703             die "Non-integer 'int' value given: $_[1]->{flags}"
10704 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10705 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10706 0           $_[2] += 4;
10707             }
10708             # @_: ($class, $value, $index, $input) = @_;
10709             sub deserialize_domain_get_block_job_info_ret {
10710 0     0 0   my $input_length = length $_[3];
10711 0           $_[1] = {};
10712             # Deserializing field: 'found'
10713             # my ($class, $value, $index, $input) = @_;
10714 0 0         die "Input buffer too short"
10715             if ($input_length - $_[2]) < 4;
10716 0           $_[1]->{found} = unpack("l>", substr( $_[3], $_[2] ));
10717 0           $_[2] += 4;
10718             die "Out of bounds 'int': $_[1]->{found}"
10719 0 0 0       unless (-2147483648 <= $_[1]->{found} and $_[1]->{found} < 2147483648);
10720              
10721             # Deserializing field: 'type'
10722             # my ($class, $value, $index, $input) = @_;
10723 0 0         die "Input buffer too short"
10724             if ($input_length - $_[2]) < 4;
10725 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
10726 0           $_[2] += 4;
10727             die "Out of bounds 'int': $_[1]->{type}"
10728 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
10729              
10730             # Deserializing field: 'bandwidth'
10731             # my ($class, $value, $index, $input) = @_;
10732 0 0         die "Input buffer too short"
10733             if ($input_length - $_[2]) < 8;
10734 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
10735 0           $_[2] += 8;
10736             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
10737             unless (0 <= $_[1]->{bandwidth}
10738 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
10739              
10740             # Deserializing field: 'cur'
10741             # my ($class, $value, $index, $input) = @_;
10742 0 0         die "Input buffer too short"
10743             if ($input_length - $_[2]) < 8;
10744 0           $_[1]->{cur} = unpack("Q>", substr( $_[3], $_[2] ));
10745 0           $_[2] += 8;
10746             die "Out of bounds 'unsigned hyper': $_[1]->{cur}"
10747             unless (0 <= $_[1]->{cur}
10748 0 0 0       and $_[1]->{cur} <= 18446744073709551615);
10749              
10750             # Deserializing field: 'end'
10751             # my ($class, $value, $index, $input) = @_;
10752 0 0         die "Input buffer too short"
10753             if ($input_length - $_[2]) < 8;
10754 0           $_[1]->{end} = unpack("Q>", substr( $_[3], $_[2] ));
10755 0           $_[2] += 8;
10756             die "Out of bounds 'unsigned hyper': $_[1]->{end}"
10757             unless (0 <= $_[1]->{end}
10758 0 0 0       and $_[1]->{end} <= 18446744073709551615);
10759             }
10760             # @_: ($class, $value, $index, $output) = @_;
10761             sub serialize_domain_get_block_job_info_ret {
10762 0 0   0 0   croak "Missing required input 'struct' value"
10763             unless defined $_[1];
10764              
10765             # Serializing field: 'found'
10766             croak "Missing required input value 'found'"
10767 0 0         unless exists $_[1]->{found};
10768             # my ($class, $value, $index, $output) = @_;
10769             croak "Missing required input 'int' value"
10770 0 0         unless defined $_[1]->{found};
10771             die "Out of bounds 'int': $_[1]->{found}"
10772 0 0 0       unless (-2147483648 <= $_[1]->{found} and $_[1]->{found} < 2147483648);
10773             die "Non-integer 'int' value given: $_[1]->{found}"
10774 0 0         unless int($_[1]->{found}) == $_[1]->{found};
10775 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{found});
10776 0           $_[2] += 4;
10777              
10778             # Serializing field: 'type'
10779             croak "Missing required input value 'type'"
10780 0 0         unless exists $_[1]->{type};
10781             # my ($class, $value, $index, $output) = @_;
10782             croak "Missing required input 'int' value"
10783 0 0         unless defined $_[1]->{type};
10784             die "Out of bounds 'int': $_[1]->{type}"
10785 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
10786             die "Non-integer 'int' value given: $_[1]->{type}"
10787 0 0         unless int($_[1]->{type}) == $_[1]->{type};
10788 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
10789 0           $_[2] += 4;
10790              
10791             # Serializing field: 'bandwidth'
10792             croak "Missing required input value 'bandwidth'"
10793 0 0         unless exists $_[1]->{bandwidth};
10794             # my ($class, $value, $index, $output) = @_;
10795             croak "Missing required input 'unsigned long' value"
10796 0 0         unless defined $_[1]->{bandwidth};
10797             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
10798             unless (0 <= $_[1]->{bandwidth}
10799 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
10800             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
10801 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
10802 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
10803 0           $_[2] += 8;
10804              
10805             # Serializing field: 'cur'
10806             croak "Missing required input value 'cur'"
10807 0 0         unless exists $_[1]->{cur};
10808             # my ($class, $value, $index, $output) = @_;
10809             croak "Missing required input 'unsigned long' value"
10810 0 0         unless defined $_[1]->{cur};
10811             die "Out of bounds 'unsigned hyper': $_[1]->{cur}"
10812             unless (0 <= $_[1]->{cur}
10813 0 0 0       and $_[1]->{cur} <= 18446744073709551615);
10814             die "Non-integer 'long' value given: $_[1]->{cur}"
10815 0 0         unless int($_[1]->{cur}) == $_[1]->{cur};
10816 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{cur});
10817 0           $_[2] += 8;
10818              
10819             # Serializing field: 'end'
10820             croak "Missing required input value 'end'"
10821 0 0         unless exists $_[1]->{end};
10822             # my ($class, $value, $index, $output) = @_;
10823             croak "Missing required input 'unsigned long' value"
10824 0 0         unless defined $_[1]->{end};
10825             die "Out of bounds 'unsigned hyper': $_[1]->{end}"
10826             unless (0 <= $_[1]->{end}
10827 0 0 0       and $_[1]->{end} <= 18446744073709551615);
10828             die "Non-integer 'long' value given: $_[1]->{end}"
10829 0 0         unless int($_[1]->{end}) == $_[1]->{end};
10830 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{end});
10831 0           $_[2] += 8;
10832             }
10833             # @_: ($class, $value, $index, $input) = @_;
10834             sub deserialize_domain_block_job_set_speed_args {
10835 0     0 0   my $input_length = length $_[3];
10836 0           $_[1] = {};
10837             # Deserializing field: 'dom'
10838             # my ($class, $value, $index, $input) = @_;
10839 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10840              
10841             # Deserializing field: 'path'
10842             # my ($class, $value, $index, $input) = @_;
10843 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10844              
10845             # Deserializing field: 'bandwidth'
10846             # my ($class, $value, $index, $input) = @_;
10847 0 0         die "Input buffer too short"
10848             if ($input_length - $_[2]) < 8;
10849 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
10850 0           $_[2] += 8;
10851             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
10852             unless (0 <= $_[1]->{bandwidth}
10853 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
10854              
10855             # Deserializing field: 'flags'
10856             # my ($class, $value, $index, $input) = @_;
10857 0 0         die "Input buffer too short"
10858             if ($input_length - $_[2]) < 4;
10859 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10860 0           $_[2] += 4;
10861             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10862 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10863             }
10864             # @_: ($class, $value, $index, $output) = @_;
10865             sub serialize_domain_block_job_set_speed_args {
10866 0 0   0 0   croak "Missing required input 'struct' value"
10867             unless defined $_[1];
10868              
10869             # Serializing field: 'dom'
10870             croak "Missing required input value 'dom'"
10871 0 0         unless exists $_[1]->{dom};
10872             # my ($class, $value, $index, $output) = @_;
10873 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10874              
10875             # Serializing field: 'path'
10876             croak "Missing required input value 'path'"
10877 0 0         unless exists $_[1]->{path};
10878             # my ($class, $value, $index, $output) = @_;
10879 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10880              
10881             # Serializing field: 'bandwidth'
10882             croak "Missing required input value 'bandwidth'"
10883 0 0         unless exists $_[1]->{bandwidth};
10884             # my ($class, $value, $index, $output) = @_;
10885             croak "Missing required input 'unsigned long' value"
10886 0 0         unless defined $_[1]->{bandwidth};
10887             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
10888             unless (0 <= $_[1]->{bandwidth}
10889 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
10890             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
10891 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
10892 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
10893 0           $_[2] += 8;
10894              
10895             # Serializing field: 'flags'
10896             croak "Missing required input value 'flags'"
10897 0 0         unless exists $_[1]->{flags};
10898             # my ($class, $value, $index, $output) = @_;
10899             croak "Missing required input 'unsigned int' value"
10900 0 0         unless defined $_[1]->{flags};
10901             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10902 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10903             die "Non-integer 'int' value given: $_[1]->{flags}"
10904 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10905 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10906 0           $_[2] += 4;
10907             }
10908             # @_: ($class, $value, $index, $input) = @_;
10909             sub deserialize_domain_block_pull_args {
10910 0     0 0   my $input_length = length $_[3];
10911 0           $_[1] = {};
10912             # Deserializing field: 'dom'
10913             # my ($class, $value, $index, $input) = @_;
10914 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10915              
10916             # Deserializing field: 'path'
10917             # my ($class, $value, $index, $input) = @_;
10918 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10919              
10920             # Deserializing field: 'bandwidth'
10921             # my ($class, $value, $index, $input) = @_;
10922 0 0         die "Input buffer too short"
10923             if ($input_length - $_[2]) < 8;
10924 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
10925 0           $_[2] += 8;
10926             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
10927             unless (0 <= $_[1]->{bandwidth}
10928 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
10929              
10930             # Deserializing field: 'flags'
10931             # my ($class, $value, $index, $input) = @_;
10932 0 0         die "Input buffer too short"
10933             if ($input_length - $_[2]) < 4;
10934 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
10935 0           $_[2] += 4;
10936             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10937 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10938             }
10939             # @_: ($class, $value, $index, $output) = @_;
10940             sub serialize_domain_block_pull_args {
10941 0 0   0 0   croak "Missing required input 'struct' value"
10942             unless defined $_[1];
10943              
10944             # Serializing field: 'dom'
10945             croak "Missing required input value 'dom'"
10946 0 0         unless exists $_[1]->{dom};
10947             # my ($class, $value, $index, $output) = @_;
10948 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10949              
10950             # Serializing field: 'path'
10951             croak "Missing required input value 'path'"
10952 0 0         unless exists $_[1]->{path};
10953             # my ($class, $value, $index, $output) = @_;
10954 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10955              
10956             # Serializing field: 'bandwidth'
10957             croak "Missing required input value 'bandwidth'"
10958 0 0         unless exists $_[1]->{bandwidth};
10959             # my ($class, $value, $index, $output) = @_;
10960             croak "Missing required input 'unsigned long' value"
10961 0 0         unless defined $_[1]->{bandwidth};
10962             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
10963             unless (0 <= $_[1]->{bandwidth}
10964 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
10965             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
10966 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
10967 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
10968 0           $_[2] += 8;
10969              
10970             # Serializing field: 'flags'
10971             croak "Missing required input value 'flags'"
10972 0 0         unless exists $_[1]->{flags};
10973             # my ($class, $value, $index, $output) = @_;
10974             croak "Missing required input 'unsigned int' value"
10975 0 0         unless defined $_[1]->{flags};
10976             die "Out of bounds 'unsigned int': $_[1]->{flags}"
10977 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
10978             die "Non-integer 'int' value given: $_[1]->{flags}"
10979 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
10980 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
10981 0           $_[2] += 4;
10982             }
10983             # @_: ($class, $value, $index, $input) = @_;
10984             sub deserialize_domain_block_rebase_args {
10985 0     0 0   my $input_length = length $_[3];
10986 0           $_[1] = {};
10987             # Deserializing field: 'dom'
10988             # my ($class, $value, $index, $input) = @_;
10989 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
10990              
10991             # Deserializing field: 'path'
10992             # my ($class, $value, $index, $input) = @_;
10993 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
10994              
10995             # Deserializing field: 'base'
10996             # my ($class, $value, $index, $input) = @_;
10997 0           $_[0]->deserialize_string( $_[1]->{base}, $_[2], $_[3] );
10998              
10999             # Deserializing field: 'bandwidth'
11000             # my ($class, $value, $index, $input) = @_;
11001 0 0         die "Input buffer too short"
11002             if ($input_length - $_[2]) < 8;
11003 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
11004 0           $_[2] += 8;
11005             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
11006             unless (0 <= $_[1]->{bandwidth}
11007 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
11008              
11009             # Deserializing field: 'flags'
11010             # my ($class, $value, $index, $input) = @_;
11011 0 0         die "Input buffer too short"
11012             if ($input_length - $_[2]) < 4;
11013 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11014 0           $_[2] += 4;
11015             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11016 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11017             }
11018             # @_: ($class, $value, $index, $output) = @_;
11019             sub serialize_domain_block_rebase_args {
11020 0 0   0 0   croak "Missing required input 'struct' value"
11021             unless defined $_[1];
11022              
11023             # Serializing field: 'dom'
11024             croak "Missing required input value 'dom'"
11025 0 0         unless exists $_[1]->{dom};
11026             # my ($class, $value, $index, $output) = @_;
11027 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11028              
11029             # Serializing field: 'path'
11030             croak "Missing required input value 'path'"
11031 0 0         unless exists $_[1]->{path};
11032             # my ($class, $value, $index, $output) = @_;
11033 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
11034              
11035             # Serializing field: 'base'
11036             croak "Missing required input value 'base'"
11037 0 0         unless exists $_[1]->{base};
11038             # my ($class, $value, $index, $output) = @_;
11039 0           $_[0]->serialize_string( $_[1]->{base}, $_[2], $_[3] );
11040              
11041             # Serializing field: 'bandwidth'
11042             croak "Missing required input value 'bandwidth'"
11043 0 0         unless exists $_[1]->{bandwidth};
11044             # my ($class, $value, $index, $output) = @_;
11045             croak "Missing required input 'unsigned long' value"
11046 0 0         unless defined $_[1]->{bandwidth};
11047             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
11048             unless (0 <= $_[1]->{bandwidth}
11049 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
11050             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
11051 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
11052 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
11053 0           $_[2] += 8;
11054              
11055             # Serializing field: 'flags'
11056             croak "Missing required input value 'flags'"
11057 0 0         unless exists $_[1]->{flags};
11058             # my ($class, $value, $index, $output) = @_;
11059             croak "Missing required input 'unsigned int' value"
11060 0 0         unless defined $_[1]->{flags};
11061             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11062 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11063             die "Non-integer 'int' value given: $_[1]->{flags}"
11064 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11065 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11066 0           $_[2] += 4;
11067             }
11068             # @_: ($class, $value, $index, $input) = @_;
11069             sub deserialize_domain_block_copy_args {
11070 0     0 0   my $input_length = length $_[3];
11071 0           $_[1] = {};
11072             # Deserializing field: 'dom'
11073             # my ($class, $value, $index, $input) = @_;
11074 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11075              
11076             # Deserializing field: 'path'
11077             # my ($class, $value, $index, $input) = @_;
11078 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
11079              
11080             # Deserializing field: 'destxml'
11081             # my ($class, $value, $index, $input) = @_;
11082 0           $_[0]->deserialize_nonnull_string( $_[1]->{destxml}, $_[2], $_[3] );
11083              
11084             # Deserializing field: 'params'
11085             # my ($class, $value, $index, $input) = @_;
11086 0           do {
11087 0 0         die "Input buffer too short"
11088             if ($input_length - $_[2]) < 4;
11089 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
11090 0           $_[2] += 4;
11091              
11092 0 0         die "Array too long (max: 16): $len"
11093             unless ($len <= 16);
11094 0           $_[1]->{params} = [];
11095 0           for my $i1 ( 0 .. ($len - 1) ) {
11096             # my ($class, $value, $index, $input) = @_;
11097 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11098             }
11099             };
11100              
11101             # Deserializing field: 'flags'
11102             # my ($class, $value, $index, $input) = @_;
11103 0 0         die "Input buffer too short"
11104             if ($input_length - $_[2]) < 4;
11105 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11106 0           $_[2] += 4;
11107             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11108 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11109             }
11110             # @_: ($class, $value, $index, $output) = @_;
11111             sub serialize_domain_block_copy_args {
11112 0 0   0 0   croak "Missing required input 'struct' value"
11113             unless defined $_[1];
11114              
11115             # Serializing field: 'dom'
11116             croak "Missing required input value 'dom'"
11117 0 0         unless exists $_[1]->{dom};
11118             # my ($class, $value, $index, $output) = @_;
11119 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11120              
11121             # Serializing field: 'path'
11122             croak "Missing required input value 'path'"
11123 0 0         unless exists $_[1]->{path};
11124             # my ($class, $value, $index, $output) = @_;
11125 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
11126              
11127             # Serializing field: 'destxml'
11128             croak "Missing required input value 'destxml'"
11129 0 0         unless exists $_[1]->{destxml};
11130             # my ($class, $value, $index, $output) = @_;
11131 0           $_[0]->serialize_nonnull_string( $_[1]->{destxml}, $_[2], $_[3] );
11132              
11133             # Serializing field: 'params'
11134             croak "Missing required input value 'params'"
11135 0 0         unless exists $_[1]->{params};
11136             # my ($class, $value, $index, $output) = @_;
11137             croak "Missing required input 'array' value"
11138 0 0         unless defined $_[1]->{params};
11139 0           do {
11140 0           my $len = scalar @{ $_[1]->{params} };
  0            
11141 0 0         die "Array too long (max: 16): $len"
11142             unless ($len <= 16);
11143              
11144 0           substr( $_[3], $_[2] ) = pack("L>", $len);
11145 0           $_[2] += 4;
11146 0           for my $i1 ( 0 .. ($len - 1) ) {
11147             # my ($class, $value, $index, $output) = @_;
11148 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11149             }
11150             };
11151              
11152             # Serializing field: 'flags'
11153             croak "Missing required input value 'flags'"
11154 0 0         unless exists $_[1]->{flags};
11155             # my ($class, $value, $index, $output) = @_;
11156             croak "Missing required input 'unsigned int' value"
11157 0 0         unless defined $_[1]->{flags};
11158             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11159 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11160             die "Non-integer 'int' value given: $_[1]->{flags}"
11161 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11162 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11163 0           $_[2] += 4;
11164             }
11165             # @_: ($class, $value, $index, $input) = @_;
11166             sub deserialize_domain_block_commit_args {
11167 0     0 0   my $input_length = length $_[3];
11168 0           $_[1] = {};
11169             # Deserializing field: 'dom'
11170             # my ($class, $value, $index, $input) = @_;
11171 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11172              
11173             # Deserializing field: 'disk'
11174             # my ($class, $value, $index, $input) = @_;
11175 0           $_[0]->deserialize_nonnull_string( $_[1]->{disk}, $_[2], $_[3] );
11176              
11177             # Deserializing field: 'base'
11178             # my ($class, $value, $index, $input) = @_;
11179 0           $_[0]->deserialize_string( $_[1]->{base}, $_[2], $_[3] );
11180              
11181             # Deserializing field: 'top'
11182             # my ($class, $value, $index, $input) = @_;
11183 0           $_[0]->deserialize_string( $_[1]->{top}, $_[2], $_[3] );
11184              
11185             # Deserializing field: 'bandwidth'
11186             # my ($class, $value, $index, $input) = @_;
11187 0 0         die "Input buffer too short"
11188             if ($input_length - $_[2]) < 8;
11189 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
11190 0           $_[2] += 8;
11191             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
11192             unless (0 <= $_[1]->{bandwidth}
11193 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
11194              
11195             # Deserializing field: 'flags'
11196             # my ($class, $value, $index, $input) = @_;
11197 0 0         die "Input buffer too short"
11198             if ($input_length - $_[2]) < 4;
11199 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11200 0           $_[2] += 4;
11201             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11202 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11203             }
11204             # @_: ($class, $value, $index, $output) = @_;
11205             sub serialize_domain_block_commit_args {
11206 0 0   0 0   croak "Missing required input 'struct' value"
11207             unless defined $_[1];
11208              
11209             # Serializing field: 'dom'
11210             croak "Missing required input value 'dom'"
11211 0 0         unless exists $_[1]->{dom};
11212             # my ($class, $value, $index, $output) = @_;
11213 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11214              
11215             # Serializing field: 'disk'
11216             croak "Missing required input value 'disk'"
11217 0 0         unless exists $_[1]->{disk};
11218             # my ($class, $value, $index, $output) = @_;
11219 0           $_[0]->serialize_nonnull_string( $_[1]->{disk}, $_[2], $_[3] );
11220              
11221             # Serializing field: 'base'
11222             croak "Missing required input value 'base'"
11223 0 0         unless exists $_[1]->{base};
11224             # my ($class, $value, $index, $output) = @_;
11225 0           $_[0]->serialize_string( $_[1]->{base}, $_[2], $_[3] );
11226              
11227             # Serializing field: 'top'
11228             croak "Missing required input value 'top'"
11229 0 0         unless exists $_[1]->{top};
11230             # my ($class, $value, $index, $output) = @_;
11231 0           $_[0]->serialize_string( $_[1]->{top}, $_[2], $_[3] );
11232              
11233             # Serializing field: 'bandwidth'
11234             croak "Missing required input value 'bandwidth'"
11235 0 0         unless exists $_[1]->{bandwidth};
11236             # my ($class, $value, $index, $output) = @_;
11237             croak "Missing required input 'unsigned long' value"
11238 0 0         unless defined $_[1]->{bandwidth};
11239             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
11240             unless (0 <= $_[1]->{bandwidth}
11241 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
11242             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
11243 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
11244 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
11245 0           $_[2] += 8;
11246              
11247             # Serializing field: 'flags'
11248             croak "Missing required input value 'flags'"
11249 0 0         unless exists $_[1]->{flags};
11250             # my ($class, $value, $index, $output) = @_;
11251             croak "Missing required input 'unsigned int' value"
11252 0 0         unless defined $_[1]->{flags};
11253             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11254 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11255             die "Non-integer 'int' value given: $_[1]->{flags}"
11256 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11257 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11258 0           $_[2] += 4;
11259             }
11260             # @_: ($class, $value, $index, $input) = @_;
11261             sub deserialize_domain_set_block_io_tune_args {
11262 0     0 0   my $input_length = length $_[3];
11263 0           $_[1] = {};
11264             # Deserializing field: 'dom'
11265             # my ($class, $value, $index, $input) = @_;
11266 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11267              
11268             # Deserializing field: 'disk'
11269             # my ($class, $value, $index, $input) = @_;
11270 0           $_[0]->deserialize_nonnull_string( $_[1]->{disk}, $_[2], $_[3] );
11271              
11272             # Deserializing field: 'params'
11273             # my ($class, $value, $index, $input) = @_;
11274 0           do {
11275 0 0         die "Input buffer too short"
11276             if ($input_length - $_[2]) < 4;
11277 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
11278 0           $_[2] += 4;
11279              
11280 0 0         die "Array too long (max: 32): $len"
11281             unless ($len <= 32);
11282 0           $_[1]->{params} = [];
11283 0           for my $i1 ( 0 .. ($len - 1) ) {
11284             # my ($class, $value, $index, $input) = @_;
11285 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11286             }
11287             };
11288              
11289             # Deserializing field: 'flags'
11290             # my ($class, $value, $index, $input) = @_;
11291 0 0         die "Input buffer too short"
11292             if ($input_length - $_[2]) < 4;
11293 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11294 0           $_[2] += 4;
11295             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11296 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11297             }
11298             # @_: ($class, $value, $index, $output) = @_;
11299             sub serialize_domain_set_block_io_tune_args {
11300 0 0   0 0   croak "Missing required input 'struct' value"
11301             unless defined $_[1];
11302              
11303             # Serializing field: 'dom'
11304             croak "Missing required input value 'dom'"
11305 0 0         unless exists $_[1]->{dom};
11306             # my ($class, $value, $index, $output) = @_;
11307 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11308              
11309             # Serializing field: 'disk'
11310             croak "Missing required input value 'disk'"
11311 0 0         unless exists $_[1]->{disk};
11312             # my ($class, $value, $index, $output) = @_;
11313 0           $_[0]->serialize_nonnull_string( $_[1]->{disk}, $_[2], $_[3] );
11314              
11315             # Serializing field: 'params'
11316             croak "Missing required input value 'params'"
11317 0 0         unless exists $_[1]->{params};
11318             # my ($class, $value, $index, $output) = @_;
11319             croak "Missing required input 'array' value"
11320 0 0         unless defined $_[1]->{params};
11321 0           do {
11322 0           my $len = scalar @{ $_[1]->{params} };
  0            
11323 0 0         die "Array too long (max: 32): $len"
11324             unless ($len <= 32);
11325              
11326 0           substr( $_[3], $_[2] ) = pack("L>", $len);
11327 0           $_[2] += 4;
11328 0           for my $i1 ( 0 .. ($len - 1) ) {
11329             # my ($class, $value, $index, $output) = @_;
11330 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11331             }
11332             };
11333              
11334             # Serializing field: 'flags'
11335             croak "Missing required input value 'flags'"
11336 0 0         unless exists $_[1]->{flags};
11337             # my ($class, $value, $index, $output) = @_;
11338             croak "Missing required input 'unsigned int' value"
11339 0 0         unless defined $_[1]->{flags};
11340             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11341 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11342             die "Non-integer 'int' value given: $_[1]->{flags}"
11343 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11344 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11345 0           $_[2] += 4;
11346             }
11347             # @_: ($class, $value, $index, $input) = @_;
11348             sub deserialize_domain_get_block_io_tune_args {
11349 0     0 0   my $input_length = length $_[3];
11350 0           $_[1] = {};
11351             # Deserializing field: 'dom'
11352             # my ($class, $value, $index, $input) = @_;
11353 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11354              
11355             # Deserializing field: 'disk'
11356             # my ($class, $value, $index, $input) = @_;
11357 0           $_[0]->deserialize_string( $_[1]->{disk}, $_[2], $_[3] );
11358              
11359             # Deserializing field: 'nparams'
11360             # my ($class, $value, $index, $input) = @_;
11361 0 0         die "Input buffer too short"
11362             if ($input_length - $_[2]) < 4;
11363 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
11364 0           $_[2] += 4;
11365             die "Out of bounds 'int': $_[1]->{nparams}"
11366 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
11367              
11368             # Deserializing field: 'flags'
11369             # my ($class, $value, $index, $input) = @_;
11370 0 0         die "Input buffer too short"
11371             if ($input_length - $_[2]) < 4;
11372 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11373 0           $_[2] += 4;
11374             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11375 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11376             }
11377             # @_: ($class, $value, $index, $output) = @_;
11378             sub serialize_domain_get_block_io_tune_args {
11379 0 0   0 0   croak "Missing required input 'struct' value"
11380             unless defined $_[1];
11381              
11382             # Serializing field: 'dom'
11383             croak "Missing required input value 'dom'"
11384 0 0         unless exists $_[1]->{dom};
11385             # my ($class, $value, $index, $output) = @_;
11386 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11387              
11388             # Serializing field: 'disk'
11389             croak "Missing required input value 'disk'"
11390 0 0         unless exists $_[1]->{disk};
11391             # my ($class, $value, $index, $output) = @_;
11392 0           $_[0]->serialize_string( $_[1]->{disk}, $_[2], $_[3] );
11393              
11394             # Serializing field: 'nparams'
11395             croak "Missing required input value 'nparams'"
11396 0 0         unless exists $_[1]->{nparams};
11397             # my ($class, $value, $index, $output) = @_;
11398             croak "Missing required input 'int' value"
11399 0 0         unless defined $_[1]->{nparams};
11400             die "Out of bounds 'int': $_[1]->{nparams}"
11401 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
11402             die "Non-integer 'int' value given: $_[1]->{nparams}"
11403 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
11404 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
11405 0           $_[2] += 4;
11406              
11407             # Serializing field: 'flags'
11408             croak "Missing required input value 'flags'"
11409 0 0         unless exists $_[1]->{flags};
11410             # my ($class, $value, $index, $output) = @_;
11411             croak "Missing required input 'unsigned int' value"
11412 0 0         unless defined $_[1]->{flags};
11413             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11414 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11415             die "Non-integer 'int' value given: $_[1]->{flags}"
11416 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11417 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11418 0           $_[2] += 4;
11419             }
11420             # @_: ($class, $value, $index, $input) = @_;
11421             sub deserialize_domain_get_block_io_tune_ret {
11422 0     0 0   my $input_length = length $_[3];
11423 0           $_[1] = {};
11424             # Deserializing field: 'params'
11425             # my ($class, $value, $index, $input) = @_;
11426 0           do {
11427 0 0         die "Input buffer too short"
11428             if ($input_length - $_[2]) < 4;
11429 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
11430 0           $_[2] += 4;
11431              
11432 0 0         die "Array too long (max: 32): $len"
11433             unless ($len <= 32);
11434 0           $_[1]->{params} = [];
11435 0           for my $i1 ( 0 .. ($len - 1) ) {
11436             # my ($class, $value, $index, $input) = @_;
11437 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11438             }
11439             };
11440              
11441             # Deserializing field: 'nparams'
11442             # my ($class, $value, $index, $input) = @_;
11443 0 0         die "Input buffer too short"
11444             if ($input_length - $_[2]) < 4;
11445 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
11446 0           $_[2] += 4;
11447             die "Out of bounds 'int': $_[1]->{nparams}"
11448 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
11449             }
11450             # @_: ($class, $value, $index, $output) = @_;
11451             sub serialize_domain_get_block_io_tune_ret {
11452 0 0   0 0   croak "Missing required input 'struct' value"
11453             unless defined $_[1];
11454              
11455             # Serializing field: 'params'
11456             croak "Missing required input value 'params'"
11457 0 0         unless exists $_[1]->{params};
11458             # my ($class, $value, $index, $output) = @_;
11459             croak "Missing required input 'array' value"
11460 0 0         unless defined $_[1]->{params};
11461 0           do {
11462 0           my $len = scalar @{ $_[1]->{params} };
  0            
11463 0 0         die "Array too long (max: 32): $len"
11464             unless ($len <= 32);
11465              
11466 0           substr( $_[3], $_[2] ) = pack("L>", $len);
11467 0           $_[2] += 4;
11468 0           for my $i1 ( 0 .. ($len - 1) ) {
11469             # my ($class, $value, $index, $output) = @_;
11470 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11471             }
11472             };
11473              
11474             # Serializing field: 'nparams'
11475             croak "Missing required input value 'nparams'"
11476 0 0         unless exists $_[1]->{nparams};
11477             # my ($class, $value, $index, $output) = @_;
11478             croak "Missing required input 'int' value"
11479 0 0         unless defined $_[1]->{nparams};
11480             die "Out of bounds 'int': $_[1]->{nparams}"
11481 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
11482             die "Non-integer 'int' value given: $_[1]->{nparams}"
11483 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
11484 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
11485 0           $_[2] += 4;
11486             }
11487             # @_: ($class, $value, $index, $input) = @_;
11488             sub deserialize_domain_set_throttle_group_args {
11489 0     0 0   my $input_length = length $_[3];
11490 0           $_[1] = {};
11491             # Deserializing field: 'dom'
11492             # my ($class, $value, $index, $input) = @_;
11493 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11494              
11495             # Deserializing field: 'group'
11496             # my ($class, $value, $index, $input) = @_;
11497 0           $_[0]->deserialize_nonnull_string( $_[1]->{group}, $_[2], $_[3] );
11498              
11499             # Deserializing field: 'params'
11500             # my ($class, $value, $index, $input) = @_;
11501 0           do {
11502 0 0         die "Input buffer too short"
11503             if ($input_length - $_[2]) < 4;
11504 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
11505 0           $_[2] += 4;
11506              
11507 0 0         die "Array too long (max: 32): $len"
11508             unless ($len <= 32);
11509 0           $_[1]->{params} = [];
11510 0           for my $i1 ( 0 .. ($len - 1) ) {
11511             # my ($class, $value, $index, $input) = @_;
11512 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11513             }
11514             };
11515              
11516             # Deserializing field: 'flags'
11517             # my ($class, $value, $index, $input) = @_;
11518 0 0         die "Input buffer too short"
11519             if ($input_length - $_[2]) < 4;
11520 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11521 0           $_[2] += 4;
11522             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11523 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11524             }
11525             # @_: ($class, $value, $index, $output) = @_;
11526             sub serialize_domain_set_throttle_group_args {
11527 0 0   0 0   croak "Missing required input 'struct' value"
11528             unless defined $_[1];
11529              
11530             # Serializing field: 'dom'
11531             croak "Missing required input value 'dom'"
11532 0 0         unless exists $_[1]->{dom};
11533             # my ($class, $value, $index, $output) = @_;
11534 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11535              
11536             # Serializing field: 'group'
11537             croak "Missing required input value 'group'"
11538 0 0         unless exists $_[1]->{group};
11539             # my ($class, $value, $index, $output) = @_;
11540 0           $_[0]->serialize_nonnull_string( $_[1]->{group}, $_[2], $_[3] );
11541              
11542             # Serializing field: 'params'
11543             croak "Missing required input value 'params'"
11544 0 0         unless exists $_[1]->{params};
11545             # my ($class, $value, $index, $output) = @_;
11546             croak "Missing required input 'array' value"
11547 0 0         unless defined $_[1]->{params};
11548 0           do {
11549 0           my $len = scalar @{ $_[1]->{params} };
  0            
11550 0 0         die "Array too long (max: 32): $len"
11551             unless ($len <= 32);
11552              
11553 0           substr( $_[3], $_[2] ) = pack("L>", $len);
11554 0           $_[2] += 4;
11555 0           for my $i1 ( 0 .. ($len - 1) ) {
11556             # my ($class, $value, $index, $output) = @_;
11557 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11558             }
11559             };
11560              
11561             # Serializing field: 'flags'
11562             croak "Missing required input value 'flags'"
11563 0 0         unless exists $_[1]->{flags};
11564             # my ($class, $value, $index, $output) = @_;
11565             croak "Missing required input 'unsigned int' value"
11566 0 0         unless defined $_[1]->{flags};
11567             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11568 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11569             die "Non-integer 'int' value given: $_[1]->{flags}"
11570 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11571 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11572 0           $_[2] += 4;
11573             }
11574             # @_: ($class, $value, $index, $input) = @_;
11575             sub deserialize_domain_del_throttle_group_args {
11576 0     0 0   my $input_length = length $_[3];
11577 0           $_[1] = {};
11578             # Deserializing field: 'dom'
11579             # my ($class, $value, $index, $input) = @_;
11580 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11581              
11582             # Deserializing field: 'group'
11583             # my ($class, $value, $index, $input) = @_;
11584 0           $_[0]->deserialize_string( $_[1]->{group}, $_[2], $_[3] );
11585              
11586             # Deserializing field: 'flags'
11587             # my ($class, $value, $index, $input) = @_;
11588 0 0         die "Input buffer too short"
11589             if ($input_length - $_[2]) < 4;
11590 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11591 0           $_[2] += 4;
11592             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11593 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11594             }
11595             # @_: ($class, $value, $index, $output) = @_;
11596             sub serialize_domain_del_throttle_group_args {
11597 0 0   0 0   croak "Missing required input 'struct' value"
11598             unless defined $_[1];
11599              
11600             # Serializing field: 'dom'
11601             croak "Missing required input value 'dom'"
11602 0 0         unless exists $_[1]->{dom};
11603             # my ($class, $value, $index, $output) = @_;
11604 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11605              
11606             # Serializing field: 'group'
11607             croak "Missing required input value 'group'"
11608 0 0         unless exists $_[1]->{group};
11609             # my ($class, $value, $index, $output) = @_;
11610 0           $_[0]->serialize_string( $_[1]->{group}, $_[2], $_[3] );
11611              
11612             # Serializing field: 'flags'
11613             croak "Missing required input value 'flags'"
11614 0 0         unless exists $_[1]->{flags};
11615             # my ($class, $value, $index, $output) = @_;
11616             croak "Missing required input 'unsigned int' value"
11617 0 0         unless defined $_[1]->{flags};
11618             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11619 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11620             die "Non-integer 'int' value given: $_[1]->{flags}"
11621 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11622 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11623 0           $_[2] += 4;
11624             }
11625             # @_: ($class, $value, $index, $input) = @_;
11626             sub deserialize_domain_get_cpu_stats_args {
11627 0     0 0   my $input_length = length $_[3];
11628 0           $_[1] = {};
11629             # Deserializing field: 'dom'
11630             # my ($class, $value, $index, $input) = @_;
11631 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11632              
11633             # Deserializing field: 'nparams'
11634             # my ($class, $value, $index, $input) = @_;
11635 0 0         die "Input buffer too short"
11636             if ($input_length - $_[2]) < 4;
11637 0           $_[1]->{nparams} = unpack("L>", substr( $_[3], $_[2] ));
11638 0           $_[2] += 4;
11639             die "Out of bounds 'unsigned int': $_[1]->{nparams}"
11640 0 0 0       unless (0 <= $_[1]->{nparams} and $_[1]->{nparams} <= 4294967295);
11641              
11642             # Deserializing field: 'start_cpu'
11643             # my ($class, $value, $index, $input) = @_;
11644 0 0         die "Input buffer too short"
11645             if ($input_length - $_[2]) < 4;
11646 0           $_[1]->{start_cpu} = unpack("l>", substr( $_[3], $_[2] ));
11647 0           $_[2] += 4;
11648             die "Out of bounds 'int': $_[1]->{start_cpu}"
11649 0 0 0       unless (-2147483648 <= $_[1]->{start_cpu} and $_[1]->{start_cpu} < 2147483648);
11650              
11651             # Deserializing field: 'ncpus'
11652             # my ($class, $value, $index, $input) = @_;
11653 0 0         die "Input buffer too short"
11654             if ($input_length - $_[2]) < 4;
11655 0           $_[1]->{ncpus} = unpack("L>", substr( $_[3], $_[2] ));
11656 0           $_[2] += 4;
11657             die "Out of bounds 'unsigned int': $_[1]->{ncpus}"
11658 0 0 0       unless (0 <= $_[1]->{ncpus} and $_[1]->{ncpus} <= 4294967295);
11659              
11660             # Deserializing field: 'flags'
11661             # my ($class, $value, $index, $input) = @_;
11662 0 0         die "Input buffer too short"
11663             if ($input_length - $_[2]) < 4;
11664 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11665 0           $_[2] += 4;
11666             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11667 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11668             }
11669             # @_: ($class, $value, $index, $output) = @_;
11670             sub serialize_domain_get_cpu_stats_args {
11671 0 0   0 0   croak "Missing required input 'struct' value"
11672             unless defined $_[1];
11673              
11674             # Serializing field: 'dom'
11675             croak "Missing required input value 'dom'"
11676 0 0         unless exists $_[1]->{dom};
11677             # my ($class, $value, $index, $output) = @_;
11678 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11679              
11680             # Serializing field: 'nparams'
11681             croak "Missing required input value 'nparams'"
11682 0 0         unless exists $_[1]->{nparams};
11683             # my ($class, $value, $index, $output) = @_;
11684             croak "Missing required input 'unsigned int' value"
11685 0 0         unless defined $_[1]->{nparams};
11686             die "Out of bounds 'unsigned int': $_[1]->{nparams}"
11687 0 0 0       unless (0 <= $_[1]->{nparams} and $_[1]->{nparams} <= 4294967295);
11688             die "Non-integer 'int' value given: $_[1]->{nparams}"
11689 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
11690 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{nparams});
11691 0           $_[2] += 4;
11692              
11693             # Serializing field: 'start_cpu'
11694             croak "Missing required input value 'start_cpu'"
11695 0 0         unless exists $_[1]->{start_cpu};
11696             # my ($class, $value, $index, $output) = @_;
11697             croak "Missing required input 'int' value"
11698 0 0         unless defined $_[1]->{start_cpu};
11699             die "Out of bounds 'int': $_[1]->{start_cpu}"
11700 0 0 0       unless (-2147483648 <= $_[1]->{start_cpu} and $_[1]->{start_cpu} < 2147483648);
11701             die "Non-integer 'int' value given: $_[1]->{start_cpu}"
11702 0 0         unless int($_[1]->{start_cpu}) == $_[1]->{start_cpu};
11703 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{start_cpu});
11704 0           $_[2] += 4;
11705              
11706             # Serializing field: 'ncpus'
11707             croak "Missing required input value 'ncpus'"
11708 0 0         unless exists $_[1]->{ncpus};
11709             # my ($class, $value, $index, $output) = @_;
11710             croak "Missing required input 'unsigned int' value"
11711 0 0         unless defined $_[1]->{ncpus};
11712             die "Out of bounds 'unsigned int': $_[1]->{ncpus}"
11713 0 0 0       unless (0 <= $_[1]->{ncpus} and $_[1]->{ncpus} <= 4294967295);
11714             die "Non-integer 'int' value given: $_[1]->{ncpus}"
11715 0 0         unless int($_[1]->{ncpus}) == $_[1]->{ncpus};
11716 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ncpus});
11717 0           $_[2] += 4;
11718              
11719             # Serializing field: 'flags'
11720             croak "Missing required input value 'flags'"
11721 0 0         unless exists $_[1]->{flags};
11722             # my ($class, $value, $index, $output) = @_;
11723             croak "Missing required input 'unsigned int' value"
11724 0 0         unless defined $_[1]->{flags};
11725             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11726 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11727             die "Non-integer 'int' value given: $_[1]->{flags}"
11728 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11729 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11730 0           $_[2] += 4;
11731             }
11732             # @_: ($class, $value, $index, $input) = @_;
11733             sub deserialize_domain_get_cpu_stats_ret {
11734 0     0 0   my $input_length = length $_[3];
11735 0           $_[1] = {};
11736             # Deserializing field: 'params'
11737             # my ($class, $value, $index, $input) = @_;
11738 0           do {
11739 0 0         die "Input buffer too short"
11740             if ($input_length - $_[2]) < 4;
11741 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
11742 0           $_[2] += 4;
11743              
11744 0 0         die "Array too long (max: 2048): $len"
11745             unless ($len <= 2048);
11746 0           $_[1]->{params} = [];
11747 0           for my $i1 ( 0 .. ($len - 1) ) {
11748             # my ($class, $value, $index, $input) = @_;
11749 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11750             }
11751             };
11752              
11753             # Deserializing field: 'nparams'
11754             # my ($class, $value, $index, $input) = @_;
11755 0 0         die "Input buffer too short"
11756             if ($input_length - $_[2]) < 4;
11757 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
11758 0           $_[2] += 4;
11759             die "Out of bounds 'int': $_[1]->{nparams}"
11760 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
11761             }
11762             # @_: ($class, $value, $index, $output) = @_;
11763             sub serialize_domain_get_cpu_stats_ret {
11764 0 0   0 0   croak "Missing required input 'struct' value"
11765             unless defined $_[1];
11766              
11767             # Serializing field: 'params'
11768             croak "Missing required input value 'params'"
11769 0 0         unless exists $_[1]->{params};
11770             # my ($class, $value, $index, $output) = @_;
11771             croak "Missing required input 'array' value"
11772 0 0         unless defined $_[1]->{params};
11773 0           do {
11774 0           my $len = scalar @{ $_[1]->{params} };
  0            
11775 0 0         die "Array too long (max: 2048): $len"
11776             unless ($len <= 2048);
11777              
11778 0           substr( $_[3], $_[2] ) = pack("L>", $len);
11779 0           $_[2] += 4;
11780 0           for my $i1 ( 0 .. ($len - 1) ) {
11781             # my ($class, $value, $index, $output) = @_;
11782 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
11783             }
11784             };
11785              
11786             # Serializing field: 'nparams'
11787             croak "Missing required input value 'nparams'"
11788 0 0         unless exists $_[1]->{nparams};
11789             # my ($class, $value, $index, $output) = @_;
11790             croak "Missing required input 'int' value"
11791 0 0         unless defined $_[1]->{nparams};
11792             die "Out of bounds 'int': $_[1]->{nparams}"
11793 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
11794             die "Non-integer 'int' value given: $_[1]->{nparams}"
11795 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
11796 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
11797 0           $_[2] += 4;
11798             }
11799             # @_: ($class, $value, $index, $input) = @_;
11800             sub deserialize_domain_get_hostname_args {
11801 0     0 0   my $input_length = length $_[3];
11802 0           $_[1] = {};
11803             # Deserializing field: 'dom'
11804             # my ($class, $value, $index, $input) = @_;
11805 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11806              
11807             # Deserializing field: 'flags'
11808             # my ($class, $value, $index, $input) = @_;
11809 0 0         die "Input buffer too short"
11810             if ($input_length - $_[2]) < 4;
11811 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
11812 0           $_[2] += 4;
11813             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11814 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11815             }
11816             # @_: ($class, $value, $index, $output) = @_;
11817             sub serialize_domain_get_hostname_args {
11818 0 0   0 0   croak "Missing required input 'struct' value"
11819             unless defined $_[1];
11820              
11821             # Serializing field: 'dom'
11822             croak "Missing required input value 'dom'"
11823 0 0         unless exists $_[1]->{dom};
11824             # my ($class, $value, $index, $output) = @_;
11825 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
11826              
11827             # Serializing field: 'flags'
11828             croak "Missing required input value 'flags'"
11829 0 0         unless exists $_[1]->{flags};
11830             # my ($class, $value, $index, $output) = @_;
11831             croak "Missing required input 'unsigned int' value"
11832 0 0         unless defined $_[1]->{flags};
11833             die "Out of bounds 'unsigned int': $_[1]->{flags}"
11834 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
11835             die "Non-integer 'int' value given: $_[1]->{flags}"
11836 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
11837 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
11838 0           $_[2] += 4;
11839             }
11840             # @_: ($class, $value, $index, $input) = @_;
11841             sub deserialize_domain_get_hostname_ret {
11842 0     0 0   my $input_length = length $_[3];
11843 0           $_[1] = {};
11844             # Deserializing field: 'hostname'
11845             # my ($class, $value, $index, $input) = @_;
11846 0           $_[0]->deserialize_nonnull_string( $_[1]->{hostname}, $_[2], $_[3] );
11847             }
11848             # @_: ($class, $value, $index, $output) = @_;
11849             sub serialize_domain_get_hostname_ret {
11850 0 0   0 0   croak "Missing required input 'struct' value"
11851             unless defined $_[1];
11852              
11853             # Serializing field: 'hostname'
11854             croak "Missing required input value 'hostname'"
11855 0 0         unless exists $_[1]->{hostname};
11856             # my ($class, $value, $index, $output) = @_;
11857 0           $_[0]->serialize_nonnull_string( $_[1]->{hostname}, $_[2], $_[3] );
11858             }
11859             # @_: ($class, $value, $index, $input) = @_;
11860             sub deserialize_connect_num_of_networks_ret {
11861 0     0 0   my $input_length = length $_[3];
11862 0           $_[1] = {};
11863             # Deserializing field: 'num'
11864             # my ($class, $value, $index, $input) = @_;
11865 0 0         die "Input buffer too short"
11866             if ($input_length - $_[2]) < 4;
11867 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
11868 0           $_[2] += 4;
11869             die "Out of bounds 'int': $_[1]->{num}"
11870 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
11871             }
11872             # @_: ($class, $value, $index, $output) = @_;
11873             sub serialize_connect_num_of_networks_ret {
11874 0 0   0 0   croak "Missing required input 'struct' value"
11875             unless defined $_[1];
11876              
11877             # Serializing field: 'num'
11878             croak "Missing required input value 'num'"
11879 0 0         unless exists $_[1]->{num};
11880             # my ($class, $value, $index, $output) = @_;
11881             croak "Missing required input 'int' value"
11882 0 0         unless defined $_[1]->{num};
11883             die "Out of bounds 'int': $_[1]->{num}"
11884 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
11885             die "Non-integer 'int' value given: $_[1]->{num}"
11886 0 0         unless int($_[1]->{num}) == $_[1]->{num};
11887 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
11888 0           $_[2] += 4;
11889             }
11890             # @_: ($class, $value, $index, $input) = @_;
11891             sub deserialize_connect_list_networks_args {
11892 0     0 0   my $input_length = length $_[3];
11893 0           $_[1] = {};
11894             # Deserializing field: 'maxnames'
11895             # my ($class, $value, $index, $input) = @_;
11896 0 0         die "Input buffer too short"
11897             if ($input_length - $_[2]) < 4;
11898 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
11899 0           $_[2] += 4;
11900             die "Out of bounds 'int': $_[1]->{maxnames}"
11901 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
11902             }
11903             # @_: ($class, $value, $index, $output) = @_;
11904             sub serialize_connect_list_networks_args {
11905 0 0   0 0   croak "Missing required input 'struct' value"
11906             unless defined $_[1];
11907              
11908             # Serializing field: 'maxnames'
11909             croak "Missing required input value 'maxnames'"
11910 0 0         unless exists $_[1]->{maxnames};
11911             # my ($class, $value, $index, $output) = @_;
11912             croak "Missing required input 'int' value"
11913 0 0         unless defined $_[1]->{maxnames};
11914             die "Out of bounds 'int': $_[1]->{maxnames}"
11915 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
11916             die "Non-integer 'int' value given: $_[1]->{maxnames}"
11917 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
11918 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
11919 0           $_[2] += 4;
11920             }
11921             # @_: ($class, $value, $index, $input) = @_;
11922             sub deserialize_connect_list_networks_ret {
11923 0     0 0   my $input_length = length $_[3];
11924 0           $_[1] = {};
11925             # Deserializing field: 'names'
11926             # my ($class, $value, $index, $input) = @_;
11927 0           do {
11928 0 0         die "Input buffer too short"
11929             if ($input_length - $_[2]) < 4;
11930 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
11931 0           $_[2] += 4;
11932              
11933 0 0         die "Array too long (max: 16384): $len"
11934             unless ($len <= 16384);
11935 0           $_[1]->{names} = [];
11936 0           for my $i1 ( 0 .. ($len - 1) ) {
11937             # my ($class, $value, $index, $input) = @_;
11938 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
11939             }
11940             };
11941             }
11942             # @_: ($class, $value, $index, $output) = @_;
11943             sub serialize_connect_list_networks_ret {
11944 0 0   0 0   croak "Missing required input 'struct' value"
11945             unless defined $_[1];
11946              
11947             # Serializing field: 'names'
11948             croak "Missing required input value 'names'"
11949 0 0         unless exists $_[1]->{names};
11950             # my ($class, $value, $index, $output) = @_;
11951             croak "Missing required input 'array' value"
11952 0 0         unless defined $_[1]->{names};
11953 0           do {
11954 0           my $len = scalar @{ $_[1]->{names} };
  0            
11955 0 0         die "Array too long (max: 16384): $len"
11956             unless ($len <= 16384);
11957              
11958 0           substr( $_[3], $_[2] ) = pack("L>", $len);
11959 0           $_[2] += 4;
11960 0           for my $i1 ( 0 .. ($len - 1) ) {
11961             # my ($class, $value, $index, $output) = @_;
11962 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
11963             }
11964             };
11965             }
11966             # @_: ($class, $value, $index, $input) = @_;
11967             sub deserialize_connect_num_of_defined_networks_ret {
11968 0     0 0   my $input_length = length $_[3];
11969 0           $_[1] = {};
11970             # Deserializing field: 'num'
11971             # my ($class, $value, $index, $input) = @_;
11972 0 0         die "Input buffer too short"
11973             if ($input_length - $_[2]) < 4;
11974 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
11975 0           $_[2] += 4;
11976             die "Out of bounds 'int': $_[1]->{num}"
11977 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
11978             }
11979             # @_: ($class, $value, $index, $output) = @_;
11980             sub serialize_connect_num_of_defined_networks_ret {
11981 0 0   0 0   croak "Missing required input 'struct' value"
11982             unless defined $_[1];
11983              
11984             # Serializing field: 'num'
11985             croak "Missing required input value 'num'"
11986 0 0         unless exists $_[1]->{num};
11987             # my ($class, $value, $index, $output) = @_;
11988             croak "Missing required input 'int' value"
11989 0 0         unless defined $_[1]->{num};
11990             die "Out of bounds 'int': $_[1]->{num}"
11991 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
11992             die "Non-integer 'int' value given: $_[1]->{num}"
11993 0 0         unless int($_[1]->{num}) == $_[1]->{num};
11994 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
11995 0           $_[2] += 4;
11996             }
11997             # @_: ($class, $value, $index, $input) = @_;
11998             sub deserialize_connect_list_defined_networks_args {
11999 0     0 0   my $input_length = length $_[3];
12000 0           $_[1] = {};
12001             # Deserializing field: 'maxnames'
12002             # my ($class, $value, $index, $input) = @_;
12003 0 0         die "Input buffer too short"
12004             if ($input_length - $_[2]) < 4;
12005 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
12006 0           $_[2] += 4;
12007             die "Out of bounds 'int': $_[1]->{maxnames}"
12008 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
12009             }
12010             # @_: ($class, $value, $index, $output) = @_;
12011             sub serialize_connect_list_defined_networks_args {
12012 0 0   0 0   croak "Missing required input 'struct' value"
12013             unless defined $_[1];
12014              
12015             # Serializing field: 'maxnames'
12016             croak "Missing required input value 'maxnames'"
12017 0 0         unless exists $_[1]->{maxnames};
12018             # my ($class, $value, $index, $output) = @_;
12019             croak "Missing required input 'int' value"
12020 0 0         unless defined $_[1]->{maxnames};
12021             die "Out of bounds 'int': $_[1]->{maxnames}"
12022 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
12023             die "Non-integer 'int' value given: $_[1]->{maxnames}"
12024 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
12025 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
12026 0           $_[2] += 4;
12027             }
12028             # @_: ($class, $value, $index, $input) = @_;
12029             sub deserialize_connect_list_defined_networks_ret {
12030 0     0 0   my $input_length = length $_[3];
12031 0           $_[1] = {};
12032             # Deserializing field: 'names'
12033             # my ($class, $value, $index, $input) = @_;
12034 0           do {
12035 0 0         die "Input buffer too short"
12036             if ($input_length - $_[2]) < 4;
12037 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
12038 0           $_[2] += 4;
12039              
12040 0 0         die "Array too long (max: 16384): $len"
12041             unless ($len <= 16384);
12042 0           $_[1]->{names} = [];
12043 0           for my $i1 ( 0 .. ($len - 1) ) {
12044             # my ($class, $value, $index, $input) = @_;
12045 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
12046             }
12047             };
12048             }
12049             # @_: ($class, $value, $index, $output) = @_;
12050             sub serialize_connect_list_defined_networks_ret {
12051 0 0   0 0   croak "Missing required input 'struct' value"
12052             unless defined $_[1];
12053              
12054             # Serializing field: 'names'
12055             croak "Missing required input value 'names'"
12056 0 0         unless exists $_[1]->{names};
12057             # my ($class, $value, $index, $output) = @_;
12058             croak "Missing required input 'array' value"
12059 0 0         unless defined $_[1]->{names};
12060 0           do {
12061 0           my $len = scalar @{ $_[1]->{names} };
  0            
12062 0 0         die "Array too long (max: 16384): $len"
12063             unless ($len <= 16384);
12064              
12065 0           substr( $_[3], $_[2] ) = pack("L>", $len);
12066 0           $_[2] += 4;
12067 0           for my $i1 ( 0 .. ($len - 1) ) {
12068             # my ($class, $value, $index, $output) = @_;
12069 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
12070             }
12071             };
12072             }
12073             # @_: ($class, $value, $index, $input) = @_;
12074             sub deserialize_network_lookup_by_uuid_args {
12075 0     0 0   my $input_length = length $_[3];
12076 0           $_[1] = {};
12077             # Deserializing field: 'uuid'
12078             # my ($class, $value, $index, $input) = @_;
12079 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
12080             }
12081             # @_: ($class, $value, $index, $output) = @_;
12082             sub serialize_network_lookup_by_uuid_args {
12083 0 0   0 0   croak "Missing required input 'struct' value"
12084             unless defined $_[1];
12085              
12086             # Serializing field: 'uuid'
12087             croak "Missing required input value 'uuid'"
12088 0 0         unless exists $_[1]->{uuid};
12089             # my ($class, $value, $index, $output) = @_;
12090 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
12091             }
12092             # @_: ($class, $value, $index, $input) = @_;
12093             sub deserialize_network_lookup_by_uuid_ret {
12094 0     0 0   my $input_length = length $_[3];
12095 0           $_[1] = {};
12096             # Deserializing field: 'net'
12097             # my ($class, $value, $index, $input) = @_;
12098 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12099             }
12100             # @_: ($class, $value, $index, $output) = @_;
12101             sub serialize_network_lookup_by_uuid_ret {
12102 0 0   0 0   croak "Missing required input 'struct' value"
12103             unless defined $_[1];
12104              
12105             # Serializing field: 'net'
12106             croak "Missing required input value 'net'"
12107 0 0         unless exists $_[1]->{net};
12108             # my ($class, $value, $index, $output) = @_;
12109 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12110             }
12111             # @_: ($class, $value, $index, $input) = @_;
12112             sub deserialize_network_lookup_by_name_args {
12113 0     0 0   my $input_length = length $_[3];
12114 0           $_[1] = {};
12115             # Deserializing field: 'name'
12116             # my ($class, $value, $index, $input) = @_;
12117 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
12118             }
12119             # @_: ($class, $value, $index, $output) = @_;
12120             sub serialize_network_lookup_by_name_args {
12121 0 0   0 0   croak "Missing required input 'struct' value"
12122             unless defined $_[1];
12123              
12124             # Serializing field: 'name'
12125             croak "Missing required input value 'name'"
12126 0 0         unless exists $_[1]->{name};
12127             # my ($class, $value, $index, $output) = @_;
12128 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
12129             }
12130             # @_: ($class, $value, $index, $input) = @_;
12131             sub deserialize_network_lookup_by_name_ret {
12132 0     0 0   my $input_length = length $_[3];
12133 0           $_[1] = {};
12134             # Deserializing field: 'net'
12135             # my ($class, $value, $index, $input) = @_;
12136 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12137             }
12138             # @_: ($class, $value, $index, $output) = @_;
12139             sub serialize_network_lookup_by_name_ret {
12140 0 0   0 0   croak "Missing required input 'struct' value"
12141             unless defined $_[1];
12142              
12143             # Serializing field: 'net'
12144             croak "Missing required input value 'net'"
12145 0 0         unless exists $_[1]->{net};
12146             # my ($class, $value, $index, $output) = @_;
12147 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12148             }
12149             # @_: ($class, $value, $index, $input) = @_;
12150             sub deserialize_network_create_xml_args {
12151 0     0 0   my $input_length = length $_[3];
12152 0           $_[1] = {};
12153             # Deserializing field: 'xml'
12154             # my ($class, $value, $index, $input) = @_;
12155 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12156             }
12157             # @_: ($class, $value, $index, $output) = @_;
12158             sub serialize_network_create_xml_args {
12159 0 0   0 0   croak "Missing required input 'struct' value"
12160             unless defined $_[1];
12161              
12162             # Serializing field: 'xml'
12163             croak "Missing required input value 'xml'"
12164 0 0         unless exists $_[1]->{xml};
12165             # my ($class, $value, $index, $output) = @_;
12166 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12167             }
12168             # @_: ($class, $value, $index, $input) = @_;
12169             sub deserialize_network_create_xml_ret {
12170 0     0 0   my $input_length = length $_[3];
12171 0           $_[1] = {};
12172             # Deserializing field: 'net'
12173             # my ($class, $value, $index, $input) = @_;
12174 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12175             }
12176             # @_: ($class, $value, $index, $output) = @_;
12177             sub serialize_network_create_xml_ret {
12178 0 0   0 0   croak "Missing required input 'struct' value"
12179             unless defined $_[1];
12180              
12181             # Serializing field: 'net'
12182             croak "Missing required input value 'net'"
12183 0 0         unless exists $_[1]->{net};
12184             # my ($class, $value, $index, $output) = @_;
12185 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12186             }
12187             # @_: ($class, $value, $index, $input) = @_;
12188             sub deserialize_network_create_xml_flags_args {
12189 0     0 0   my $input_length = length $_[3];
12190 0           $_[1] = {};
12191             # Deserializing field: 'xml'
12192             # my ($class, $value, $index, $input) = @_;
12193 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12194              
12195             # Deserializing field: 'flags'
12196             # my ($class, $value, $index, $input) = @_;
12197 0 0         die "Input buffer too short"
12198             if ($input_length - $_[2]) < 4;
12199 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
12200 0           $_[2] += 4;
12201             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12202 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12203             }
12204             # @_: ($class, $value, $index, $output) = @_;
12205             sub serialize_network_create_xml_flags_args {
12206 0 0   0 0   croak "Missing required input 'struct' value"
12207             unless defined $_[1];
12208              
12209             # Serializing field: 'xml'
12210             croak "Missing required input value 'xml'"
12211 0 0         unless exists $_[1]->{xml};
12212             # my ($class, $value, $index, $output) = @_;
12213 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12214              
12215             # Serializing field: 'flags'
12216             croak "Missing required input value 'flags'"
12217 0 0         unless exists $_[1]->{flags};
12218             # my ($class, $value, $index, $output) = @_;
12219             croak "Missing required input 'unsigned int' value"
12220 0 0         unless defined $_[1]->{flags};
12221             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12222 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12223             die "Non-integer 'int' value given: $_[1]->{flags}"
12224 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
12225 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
12226 0           $_[2] += 4;
12227             }
12228             # @_: ($class, $value, $index, $input) = @_;
12229             sub deserialize_network_create_xml_flags_ret {
12230 0     0 0   my $input_length = length $_[3];
12231 0           $_[1] = {};
12232             # Deserializing field: 'net'
12233             # my ($class, $value, $index, $input) = @_;
12234 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12235             }
12236             # @_: ($class, $value, $index, $output) = @_;
12237             sub serialize_network_create_xml_flags_ret {
12238 0 0   0 0   croak "Missing required input 'struct' value"
12239             unless defined $_[1];
12240              
12241             # Serializing field: 'net'
12242             croak "Missing required input value 'net'"
12243 0 0         unless exists $_[1]->{net};
12244             # my ($class, $value, $index, $output) = @_;
12245 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12246             }
12247             # @_: ($class, $value, $index, $input) = @_;
12248             sub deserialize_network_define_xml_args {
12249 0     0 0   my $input_length = length $_[3];
12250 0           $_[1] = {};
12251             # Deserializing field: 'xml'
12252             # my ($class, $value, $index, $input) = @_;
12253 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12254             }
12255             # @_: ($class, $value, $index, $output) = @_;
12256             sub serialize_network_define_xml_args {
12257 0 0   0 0   croak "Missing required input 'struct' value"
12258             unless defined $_[1];
12259              
12260             # Serializing field: 'xml'
12261             croak "Missing required input value 'xml'"
12262 0 0         unless exists $_[1]->{xml};
12263             # my ($class, $value, $index, $output) = @_;
12264 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12265             }
12266             # @_: ($class, $value, $index, $input) = @_;
12267             sub deserialize_network_define_xml_ret {
12268 0     0 0   my $input_length = length $_[3];
12269 0           $_[1] = {};
12270             # Deserializing field: 'net'
12271             # my ($class, $value, $index, $input) = @_;
12272 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12273             }
12274             # @_: ($class, $value, $index, $output) = @_;
12275             sub serialize_network_define_xml_ret {
12276 0 0   0 0   croak "Missing required input 'struct' value"
12277             unless defined $_[1];
12278              
12279             # Serializing field: 'net'
12280             croak "Missing required input value 'net'"
12281 0 0         unless exists $_[1]->{net};
12282             # my ($class, $value, $index, $output) = @_;
12283 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12284             }
12285             # @_: ($class, $value, $index, $input) = @_;
12286             sub deserialize_network_define_xml_flags_args {
12287 0     0 0   my $input_length = length $_[3];
12288 0           $_[1] = {};
12289             # Deserializing field: 'xml'
12290             # my ($class, $value, $index, $input) = @_;
12291 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12292              
12293             # Deserializing field: 'flags'
12294             # my ($class, $value, $index, $input) = @_;
12295 0 0         die "Input buffer too short"
12296             if ($input_length - $_[2]) < 4;
12297 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
12298 0           $_[2] += 4;
12299             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12300 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12301             }
12302             # @_: ($class, $value, $index, $output) = @_;
12303             sub serialize_network_define_xml_flags_args {
12304 0 0   0 0   croak "Missing required input 'struct' value"
12305             unless defined $_[1];
12306              
12307             # Serializing field: 'xml'
12308             croak "Missing required input value 'xml'"
12309 0 0         unless exists $_[1]->{xml};
12310             # my ($class, $value, $index, $output) = @_;
12311 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12312              
12313             # Serializing field: 'flags'
12314             croak "Missing required input value 'flags'"
12315 0 0         unless exists $_[1]->{flags};
12316             # my ($class, $value, $index, $output) = @_;
12317             croak "Missing required input 'unsigned int' value"
12318 0 0         unless defined $_[1]->{flags};
12319             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12320 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12321             die "Non-integer 'int' value given: $_[1]->{flags}"
12322 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
12323 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
12324 0           $_[2] += 4;
12325             }
12326             # @_: ($class, $value, $index, $input) = @_;
12327             sub deserialize_network_define_xml_flags_ret {
12328 0     0 0   my $input_length = length $_[3];
12329 0           $_[1] = {};
12330             # Deserializing field: 'net'
12331             # my ($class, $value, $index, $input) = @_;
12332 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12333             }
12334             # @_: ($class, $value, $index, $output) = @_;
12335             sub serialize_network_define_xml_flags_ret {
12336 0 0   0 0   croak "Missing required input 'struct' value"
12337             unless defined $_[1];
12338              
12339             # Serializing field: 'net'
12340             croak "Missing required input value 'net'"
12341 0 0         unless exists $_[1]->{net};
12342             # my ($class, $value, $index, $output) = @_;
12343 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12344             }
12345             # @_: ($class, $value, $index, $input) = @_;
12346             sub deserialize_network_undefine_args {
12347 0     0 0   my $input_length = length $_[3];
12348 0           $_[1] = {};
12349             # Deserializing field: 'net'
12350             # my ($class, $value, $index, $input) = @_;
12351 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12352             }
12353             # @_: ($class, $value, $index, $output) = @_;
12354             sub serialize_network_undefine_args {
12355 0 0   0 0   croak "Missing required input 'struct' value"
12356             unless defined $_[1];
12357              
12358             # Serializing field: 'net'
12359             croak "Missing required input value 'net'"
12360 0 0         unless exists $_[1]->{net};
12361             # my ($class, $value, $index, $output) = @_;
12362 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12363             }
12364             # @_: ($class, $value, $index, $input) = @_;
12365             sub deserialize_network_update_args {
12366 0     0 0   my $input_length = length $_[3];
12367 0           $_[1] = {};
12368             # Deserializing field: 'net'
12369             # my ($class, $value, $index, $input) = @_;
12370 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12371              
12372             # Deserializing field: 'command'
12373             # my ($class, $value, $index, $input) = @_;
12374 0 0         die "Input buffer too short"
12375             if ($input_length - $_[2]) < 4;
12376 0           $_[1]->{command} = unpack("L>", substr( $_[3], $_[2] ));
12377 0           $_[2] += 4;
12378             die "Out of bounds 'unsigned int': $_[1]->{command}"
12379 0 0 0       unless (0 <= $_[1]->{command} and $_[1]->{command} <= 4294967295);
12380              
12381             # Deserializing field: 'section'
12382             # my ($class, $value, $index, $input) = @_;
12383 0 0         die "Input buffer too short"
12384             if ($input_length - $_[2]) < 4;
12385 0           $_[1]->{section} = unpack("L>", substr( $_[3], $_[2] ));
12386 0           $_[2] += 4;
12387             die "Out of bounds 'unsigned int': $_[1]->{section}"
12388 0 0 0       unless (0 <= $_[1]->{section} and $_[1]->{section} <= 4294967295);
12389              
12390             # Deserializing field: 'parentIndex'
12391             # my ($class, $value, $index, $input) = @_;
12392 0 0         die "Input buffer too short"
12393             if ($input_length - $_[2]) < 4;
12394 0           $_[1]->{parentIndex} = unpack("l>", substr( $_[3], $_[2] ));
12395 0           $_[2] += 4;
12396             die "Out of bounds 'int': $_[1]->{parentIndex}"
12397 0 0 0       unless (-2147483648 <= $_[1]->{parentIndex} and $_[1]->{parentIndex} < 2147483648);
12398              
12399             # Deserializing field: 'xml'
12400             # my ($class, $value, $index, $input) = @_;
12401 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12402              
12403             # Deserializing field: 'flags'
12404             # my ($class, $value, $index, $input) = @_;
12405 0 0         die "Input buffer too short"
12406             if ($input_length - $_[2]) < 4;
12407 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
12408 0           $_[2] += 4;
12409             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12410 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12411             }
12412             # @_: ($class, $value, $index, $output) = @_;
12413             sub serialize_network_update_args {
12414 0 0   0 0   croak "Missing required input 'struct' value"
12415             unless defined $_[1];
12416              
12417             # Serializing field: 'net'
12418             croak "Missing required input value 'net'"
12419 0 0         unless exists $_[1]->{net};
12420             # my ($class, $value, $index, $output) = @_;
12421 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12422              
12423             # Serializing field: 'command'
12424             croak "Missing required input value 'command'"
12425 0 0         unless exists $_[1]->{command};
12426             # my ($class, $value, $index, $output) = @_;
12427             croak "Missing required input 'unsigned int' value"
12428 0 0         unless defined $_[1]->{command};
12429             die "Out of bounds 'unsigned int': $_[1]->{command}"
12430 0 0 0       unless (0 <= $_[1]->{command} and $_[1]->{command} <= 4294967295);
12431             die "Non-integer 'int' value given: $_[1]->{command}"
12432 0 0         unless int($_[1]->{command}) == $_[1]->{command};
12433 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{command});
12434 0           $_[2] += 4;
12435              
12436             # Serializing field: 'section'
12437             croak "Missing required input value 'section'"
12438 0 0         unless exists $_[1]->{section};
12439             # my ($class, $value, $index, $output) = @_;
12440             croak "Missing required input 'unsigned int' value"
12441 0 0         unless defined $_[1]->{section};
12442             die "Out of bounds 'unsigned int': $_[1]->{section}"
12443 0 0 0       unless (0 <= $_[1]->{section} and $_[1]->{section} <= 4294967295);
12444             die "Non-integer 'int' value given: $_[1]->{section}"
12445 0 0         unless int($_[1]->{section}) == $_[1]->{section};
12446 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{section});
12447 0           $_[2] += 4;
12448              
12449             # Serializing field: 'parentIndex'
12450             croak "Missing required input value 'parentIndex'"
12451 0 0         unless exists $_[1]->{parentIndex};
12452             # my ($class, $value, $index, $output) = @_;
12453             croak "Missing required input 'int' value"
12454 0 0         unless defined $_[1]->{parentIndex};
12455             die "Out of bounds 'int': $_[1]->{parentIndex}"
12456 0 0 0       unless (-2147483648 <= $_[1]->{parentIndex} and $_[1]->{parentIndex} < 2147483648);
12457             die "Non-integer 'int' value given: $_[1]->{parentIndex}"
12458 0 0         unless int($_[1]->{parentIndex}) == $_[1]->{parentIndex};
12459 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{parentIndex});
12460 0           $_[2] += 4;
12461              
12462             # Serializing field: 'xml'
12463             croak "Missing required input value 'xml'"
12464 0 0         unless exists $_[1]->{xml};
12465             # my ($class, $value, $index, $output) = @_;
12466 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12467              
12468             # Serializing field: 'flags'
12469             croak "Missing required input value 'flags'"
12470 0 0         unless exists $_[1]->{flags};
12471             # my ($class, $value, $index, $output) = @_;
12472             croak "Missing required input 'unsigned int' value"
12473 0 0         unless defined $_[1]->{flags};
12474             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12475 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12476             die "Non-integer 'int' value given: $_[1]->{flags}"
12477 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
12478 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
12479 0           $_[2] += 4;
12480             }
12481             # @_: ($class, $value, $index, $input) = @_;
12482             sub deserialize_network_create_args {
12483 0     0 0   my $input_length = length $_[3];
12484 0           $_[1] = {};
12485             # Deserializing field: 'net'
12486             # my ($class, $value, $index, $input) = @_;
12487 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12488             }
12489             # @_: ($class, $value, $index, $output) = @_;
12490             sub serialize_network_create_args {
12491 0 0   0 0   croak "Missing required input 'struct' value"
12492             unless defined $_[1];
12493              
12494             # Serializing field: 'net'
12495             croak "Missing required input value 'net'"
12496 0 0         unless exists $_[1]->{net};
12497             # my ($class, $value, $index, $output) = @_;
12498 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12499             }
12500             # @_: ($class, $value, $index, $input) = @_;
12501             sub deserialize_network_destroy_args {
12502 0     0 0   my $input_length = length $_[3];
12503 0           $_[1] = {};
12504             # Deserializing field: 'net'
12505             # my ($class, $value, $index, $input) = @_;
12506 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12507             }
12508             # @_: ($class, $value, $index, $output) = @_;
12509             sub serialize_network_destroy_args {
12510 0 0   0 0   croak "Missing required input 'struct' value"
12511             unless defined $_[1];
12512              
12513             # Serializing field: 'net'
12514             croak "Missing required input value 'net'"
12515 0 0         unless exists $_[1]->{net};
12516             # my ($class, $value, $index, $output) = @_;
12517 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12518             }
12519             # @_: ($class, $value, $index, $input) = @_;
12520             sub deserialize_network_get_xml_desc_args {
12521 0     0 0   my $input_length = length $_[3];
12522 0           $_[1] = {};
12523             # Deserializing field: 'net'
12524             # my ($class, $value, $index, $input) = @_;
12525 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12526              
12527             # Deserializing field: 'flags'
12528             # my ($class, $value, $index, $input) = @_;
12529 0 0         die "Input buffer too short"
12530             if ($input_length - $_[2]) < 4;
12531 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
12532 0           $_[2] += 4;
12533             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12534 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12535             }
12536             # @_: ($class, $value, $index, $output) = @_;
12537             sub serialize_network_get_xml_desc_args {
12538 0 0   0 0   croak "Missing required input 'struct' value"
12539             unless defined $_[1];
12540              
12541             # Serializing field: 'net'
12542             croak "Missing required input value 'net'"
12543 0 0         unless exists $_[1]->{net};
12544             # my ($class, $value, $index, $output) = @_;
12545 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12546              
12547             # Serializing field: 'flags'
12548             croak "Missing required input value 'flags'"
12549 0 0         unless exists $_[1]->{flags};
12550             # my ($class, $value, $index, $output) = @_;
12551             croak "Missing required input 'unsigned int' value"
12552 0 0         unless defined $_[1]->{flags};
12553             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12554 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12555             die "Non-integer 'int' value given: $_[1]->{flags}"
12556 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
12557 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
12558 0           $_[2] += 4;
12559             }
12560             # @_: ($class, $value, $index, $input) = @_;
12561             sub deserialize_network_get_xml_desc_ret {
12562 0     0 0   my $input_length = length $_[3];
12563 0           $_[1] = {};
12564             # Deserializing field: 'xml'
12565             # my ($class, $value, $index, $input) = @_;
12566 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12567             }
12568             # @_: ($class, $value, $index, $output) = @_;
12569             sub serialize_network_get_xml_desc_ret {
12570 0 0   0 0   croak "Missing required input 'struct' value"
12571             unless defined $_[1];
12572              
12573             # Serializing field: 'xml'
12574             croak "Missing required input value 'xml'"
12575 0 0         unless exists $_[1]->{xml};
12576             # my ($class, $value, $index, $output) = @_;
12577 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12578             }
12579             # @_: ($class, $value, $index, $input) = @_;
12580             sub deserialize_network_get_bridge_name_args {
12581 0     0 0   my $input_length = length $_[3];
12582 0           $_[1] = {};
12583             # Deserializing field: 'net'
12584             # my ($class, $value, $index, $input) = @_;
12585 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12586             }
12587             # @_: ($class, $value, $index, $output) = @_;
12588             sub serialize_network_get_bridge_name_args {
12589 0 0   0 0   croak "Missing required input 'struct' value"
12590             unless defined $_[1];
12591              
12592             # Serializing field: 'net'
12593             croak "Missing required input value 'net'"
12594 0 0         unless exists $_[1]->{net};
12595             # my ($class, $value, $index, $output) = @_;
12596 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12597             }
12598             # @_: ($class, $value, $index, $input) = @_;
12599             sub deserialize_network_get_bridge_name_ret {
12600 0     0 0   my $input_length = length $_[3];
12601 0           $_[1] = {};
12602             # Deserializing field: 'name'
12603             # my ($class, $value, $index, $input) = @_;
12604 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
12605             }
12606             # @_: ($class, $value, $index, $output) = @_;
12607             sub serialize_network_get_bridge_name_ret {
12608 0 0   0 0   croak "Missing required input 'struct' value"
12609             unless defined $_[1];
12610              
12611             # Serializing field: 'name'
12612             croak "Missing required input value 'name'"
12613 0 0         unless exists $_[1]->{name};
12614             # my ($class, $value, $index, $output) = @_;
12615 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
12616             }
12617             # @_: ($class, $value, $index, $input) = @_;
12618             sub deserialize_network_get_autostart_args {
12619 0     0 0   my $input_length = length $_[3];
12620 0           $_[1] = {};
12621             # Deserializing field: 'net'
12622             # my ($class, $value, $index, $input) = @_;
12623 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12624             }
12625             # @_: ($class, $value, $index, $output) = @_;
12626             sub serialize_network_get_autostart_args {
12627 0 0   0 0   croak "Missing required input 'struct' value"
12628             unless defined $_[1];
12629              
12630             # Serializing field: 'net'
12631             croak "Missing required input value 'net'"
12632 0 0         unless exists $_[1]->{net};
12633             # my ($class, $value, $index, $output) = @_;
12634 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12635             }
12636             # @_: ($class, $value, $index, $input) = @_;
12637             sub deserialize_network_get_autostart_ret {
12638 0     0 0   my $input_length = length $_[3];
12639 0           $_[1] = {};
12640             # Deserializing field: 'autostart'
12641             # my ($class, $value, $index, $input) = @_;
12642 0 0         die "Input buffer too short"
12643             if ($input_length - $_[2]) < 4;
12644 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
12645 0           $_[2] += 4;
12646             die "Out of bounds 'int': $_[1]->{autostart}"
12647 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
12648             }
12649             # @_: ($class, $value, $index, $output) = @_;
12650             sub serialize_network_get_autostart_ret {
12651 0 0   0 0   croak "Missing required input 'struct' value"
12652             unless defined $_[1];
12653              
12654             # Serializing field: 'autostart'
12655             croak "Missing required input value 'autostart'"
12656 0 0         unless exists $_[1]->{autostart};
12657             # my ($class, $value, $index, $output) = @_;
12658             croak "Missing required input 'int' value"
12659 0 0         unless defined $_[1]->{autostart};
12660             die "Out of bounds 'int': $_[1]->{autostart}"
12661 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
12662             die "Non-integer 'int' value given: $_[1]->{autostart}"
12663 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
12664 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
12665 0           $_[2] += 4;
12666             }
12667             # @_: ($class, $value, $index, $input) = @_;
12668             sub deserialize_network_set_autostart_args {
12669 0     0 0   my $input_length = length $_[3];
12670 0           $_[1] = {};
12671             # Deserializing field: 'net'
12672             # my ($class, $value, $index, $input) = @_;
12673 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12674              
12675             # Deserializing field: 'autostart'
12676             # my ($class, $value, $index, $input) = @_;
12677 0 0         die "Input buffer too short"
12678             if ($input_length - $_[2]) < 4;
12679 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
12680 0           $_[2] += 4;
12681             die "Out of bounds 'int': $_[1]->{autostart}"
12682 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
12683             }
12684             # @_: ($class, $value, $index, $output) = @_;
12685             sub serialize_network_set_autostart_args {
12686 0 0   0 0   croak "Missing required input 'struct' value"
12687             unless defined $_[1];
12688              
12689             # Serializing field: 'net'
12690             croak "Missing required input value 'net'"
12691 0 0         unless exists $_[1]->{net};
12692             # my ($class, $value, $index, $output) = @_;
12693 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
12694              
12695             # Serializing field: 'autostart'
12696             croak "Missing required input value 'autostart'"
12697 0 0         unless exists $_[1]->{autostart};
12698             # my ($class, $value, $index, $output) = @_;
12699             croak "Missing required input 'int' value"
12700 0 0         unless defined $_[1]->{autostart};
12701             die "Out of bounds 'int': $_[1]->{autostart}"
12702 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
12703             die "Non-integer 'int' value given: $_[1]->{autostart}"
12704 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
12705 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
12706 0           $_[2] += 4;
12707             }
12708             # @_: ($class, $value, $index, $input) = @_;
12709             sub deserialize_connect_num_of_nwfilters_ret {
12710 0     0 0   my $input_length = length $_[3];
12711 0           $_[1] = {};
12712             # Deserializing field: 'num'
12713             # my ($class, $value, $index, $input) = @_;
12714 0 0         die "Input buffer too short"
12715             if ($input_length - $_[2]) < 4;
12716 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
12717 0           $_[2] += 4;
12718             die "Out of bounds 'int': $_[1]->{num}"
12719 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
12720             }
12721             # @_: ($class, $value, $index, $output) = @_;
12722             sub serialize_connect_num_of_nwfilters_ret {
12723 0 0   0 0   croak "Missing required input 'struct' value"
12724             unless defined $_[1];
12725              
12726             # Serializing field: 'num'
12727             croak "Missing required input value 'num'"
12728 0 0         unless exists $_[1]->{num};
12729             # my ($class, $value, $index, $output) = @_;
12730             croak "Missing required input 'int' value"
12731 0 0         unless defined $_[1]->{num};
12732             die "Out of bounds 'int': $_[1]->{num}"
12733 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
12734             die "Non-integer 'int' value given: $_[1]->{num}"
12735 0 0         unless int($_[1]->{num}) == $_[1]->{num};
12736 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
12737 0           $_[2] += 4;
12738             }
12739             # @_: ($class, $value, $index, $input) = @_;
12740             sub deserialize_connect_list_nwfilters_args {
12741 0     0 0   my $input_length = length $_[3];
12742 0           $_[1] = {};
12743             # Deserializing field: 'maxnames'
12744             # my ($class, $value, $index, $input) = @_;
12745 0 0         die "Input buffer too short"
12746             if ($input_length - $_[2]) < 4;
12747 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
12748 0           $_[2] += 4;
12749             die "Out of bounds 'int': $_[1]->{maxnames}"
12750 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
12751             }
12752             # @_: ($class, $value, $index, $output) = @_;
12753             sub serialize_connect_list_nwfilters_args {
12754 0 0   0 0   croak "Missing required input 'struct' value"
12755             unless defined $_[1];
12756              
12757             # Serializing field: 'maxnames'
12758             croak "Missing required input value 'maxnames'"
12759 0 0         unless exists $_[1]->{maxnames};
12760             # my ($class, $value, $index, $output) = @_;
12761             croak "Missing required input 'int' value"
12762 0 0         unless defined $_[1]->{maxnames};
12763             die "Out of bounds 'int': $_[1]->{maxnames}"
12764 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
12765             die "Non-integer 'int' value given: $_[1]->{maxnames}"
12766 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
12767 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
12768 0           $_[2] += 4;
12769             }
12770             # @_: ($class, $value, $index, $input) = @_;
12771             sub deserialize_connect_list_nwfilters_ret {
12772 0     0 0   my $input_length = length $_[3];
12773 0           $_[1] = {};
12774             # Deserializing field: 'names'
12775             # my ($class, $value, $index, $input) = @_;
12776 0           do {
12777 0 0         die "Input buffer too short"
12778             if ($input_length - $_[2]) < 4;
12779 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
12780 0           $_[2] += 4;
12781              
12782 0 0         die "Array too long (max: 16384): $len"
12783             unless ($len <= 16384);
12784 0           $_[1]->{names} = [];
12785 0           for my $i1 ( 0 .. ($len - 1) ) {
12786             # my ($class, $value, $index, $input) = @_;
12787 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
12788             }
12789             };
12790             }
12791             # @_: ($class, $value, $index, $output) = @_;
12792             sub serialize_connect_list_nwfilters_ret {
12793 0 0   0 0   croak "Missing required input 'struct' value"
12794             unless defined $_[1];
12795              
12796             # Serializing field: 'names'
12797             croak "Missing required input value 'names'"
12798 0 0         unless exists $_[1]->{names};
12799             # my ($class, $value, $index, $output) = @_;
12800             croak "Missing required input 'array' value"
12801 0 0         unless defined $_[1]->{names};
12802 0           do {
12803 0           my $len = scalar @{ $_[1]->{names} };
  0            
12804 0 0         die "Array too long (max: 16384): $len"
12805             unless ($len <= 16384);
12806              
12807 0           substr( $_[3], $_[2] ) = pack("L>", $len);
12808 0           $_[2] += 4;
12809 0           for my $i1 ( 0 .. ($len - 1) ) {
12810             # my ($class, $value, $index, $output) = @_;
12811 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
12812             }
12813             };
12814             }
12815             # @_: ($class, $value, $index, $input) = @_;
12816             sub deserialize_nwfilter_lookup_by_uuid_args {
12817 0     0 0   my $input_length = length $_[3];
12818 0           $_[1] = {};
12819             # Deserializing field: 'uuid'
12820             # my ($class, $value, $index, $input) = @_;
12821 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
12822             }
12823             # @_: ($class, $value, $index, $output) = @_;
12824             sub serialize_nwfilter_lookup_by_uuid_args {
12825 0 0   0 0   croak "Missing required input 'struct' value"
12826             unless defined $_[1];
12827              
12828             # Serializing field: 'uuid'
12829             croak "Missing required input value 'uuid'"
12830 0 0         unless exists $_[1]->{uuid};
12831             # my ($class, $value, $index, $output) = @_;
12832 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
12833             }
12834             # @_: ($class, $value, $index, $input) = @_;
12835             sub deserialize_nwfilter_lookup_by_uuid_ret {
12836 0     0 0   my $input_length = length $_[3];
12837 0           $_[1] = {};
12838             # Deserializing field: 'nwfilter'
12839             # my ($class, $value, $index, $input) = @_;
12840 0           $_[0]->deserialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12841             }
12842             # @_: ($class, $value, $index, $output) = @_;
12843             sub serialize_nwfilter_lookup_by_uuid_ret {
12844 0 0   0 0   croak "Missing required input 'struct' value"
12845             unless defined $_[1];
12846              
12847             # Serializing field: 'nwfilter'
12848             croak "Missing required input value 'nwfilter'"
12849 0 0         unless exists $_[1]->{nwfilter};
12850             # my ($class, $value, $index, $output) = @_;
12851 0           $_[0]->serialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12852             }
12853             # @_: ($class, $value, $index, $input) = @_;
12854             sub deserialize_nwfilter_lookup_by_name_args {
12855 0     0 0   my $input_length = length $_[3];
12856 0           $_[1] = {};
12857             # Deserializing field: 'name'
12858             # my ($class, $value, $index, $input) = @_;
12859 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
12860             }
12861             # @_: ($class, $value, $index, $output) = @_;
12862             sub serialize_nwfilter_lookup_by_name_args {
12863 0 0   0 0   croak "Missing required input 'struct' value"
12864             unless defined $_[1];
12865              
12866             # Serializing field: 'name'
12867             croak "Missing required input value 'name'"
12868 0 0         unless exists $_[1]->{name};
12869             # my ($class, $value, $index, $output) = @_;
12870 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
12871             }
12872             # @_: ($class, $value, $index, $input) = @_;
12873             sub deserialize_nwfilter_lookup_by_name_ret {
12874 0     0 0   my $input_length = length $_[3];
12875 0           $_[1] = {};
12876             # Deserializing field: 'nwfilter'
12877             # my ($class, $value, $index, $input) = @_;
12878 0           $_[0]->deserialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12879             }
12880             # @_: ($class, $value, $index, $output) = @_;
12881             sub serialize_nwfilter_lookup_by_name_ret {
12882 0 0   0 0   croak "Missing required input 'struct' value"
12883             unless defined $_[1];
12884              
12885             # Serializing field: 'nwfilter'
12886             croak "Missing required input value 'nwfilter'"
12887 0 0         unless exists $_[1]->{nwfilter};
12888             # my ($class, $value, $index, $output) = @_;
12889 0           $_[0]->serialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12890             }
12891             # @_: ($class, $value, $index, $input) = @_;
12892             sub deserialize_nwfilter_define_xml_args {
12893 0     0 0   my $input_length = length $_[3];
12894 0           $_[1] = {};
12895             # Deserializing field: 'xml'
12896             # my ($class, $value, $index, $input) = @_;
12897 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12898             }
12899             # @_: ($class, $value, $index, $output) = @_;
12900             sub serialize_nwfilter_define_xml_args {
12901 0 0   0 0   croak "Missing required input 'struct' value"
12902             unless defined $_[1];
12903              
12904             # Serializing field: 'xml'
12905             croak "Missing required input value 'xml'"
12906 0 0         unless exists $_[1]->{xml};
12907             # my ($class, $value, $index, $output) = @_;
12908 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12909             }
12910             # @_: ($class, $value, $index, $input) = @_;
12911             sub deserialize_nwfilter_define_xml_ret {
12912 0     0 0   my $input_length = length $_[3];
12913 0           $_[1] = {};
12914             # Deserializing field: 'nwfilter'
12915             # my ($class, $value, $index, $input) = @_;
12916 0           $_[0]->deserialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12917             }
12918             # @_: ($class, $value, $index, $output) = @_;
12919             sub serialize_nwfilter_define_xml_ret {
12920 0 0   0 0   croak "Missing required input 'struct' value"
12921             unless defined $_[1];
12922              
12923             # Serializing field: 'nwfilter'
12924             croak "Missing required input value 'nwfilter'"
12925 0 0         unless exists $_[1]->{nwfilter};
12926             # my ($class, $value, $index, $output) = @_;
12927 0           $_[0]->serialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12928             }
12929             # @_: ($class, $value, $index, $input) = @_;
12930             sub deserialize_nwfilter_define_xml_flags_args {
12931 0     0 0   my $input_length = length $_[3];
12932 0           $_[1] = {};
12933             # Deserializing field: 'xml'
12934             # my ($class, $value, $index, $input) = @_;
12935 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12936              
12937             # Deserializing field: 'flags'
12938             # my ($class, $value, $index, $input) = @_;
12939 0 0         die "Input buffer too short"
12940             if ($input_length - $_[2]) < 4;
12941 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
12942 0           $_[2] += 4;
12943             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12944 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12945             }
12946             # @_: ($class, $value, $index, $output) = @_;
12947             sub serialize_nwfilter_define_xml_flags_args {
12948 0 0   0 0   croak "Missing required input 'struct' value"
12949             unless defined $_[1];
12950              
12951             # Serializing field: 'xml'
12952             croak "Missing required input value 'xml'"
12953 0 0         unless exists $_[1]->{xml};
12954             # my ($class, $value, $index, $output) = @_;
12955 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
12956              
12957             # Serializing field: 'flags'
12958             croak "Missing required input value 'flags'"
12959 0 0         unless exists $_[1]->{flags};
12960             # my ($class, $value, $index, $output) = @_;
12961             croak "Missing required input 'unsigned int' value"
12962 0 0         unless defined $_[1]->{flags};
12963             die "Out of bounds 'unsigned int': $_[1]->{flags}"
12964 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
12965             die "Non-integer 'int' value given: $_[1]->{flags}"
12966 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
12967 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
12968 0           $_[2] += 4;
12969             }
12970             # @_: ($class, $value, $index, $input) = @_;
12971             sub deserialize_nwfilter_define_xml_flags_ret {
12972 0     0 0   my $input_length = length $_[3];
12973 0           $_[1] = {};
12974             # Deserializing field: 'nwfilter'
12975             # my ($class, $value, $index, $input) = @_;
12976 0           $_[0]->deserialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12977             }
12978             # @_: ($class, $value, $index, $output) = @_;
12979             sub serialize_nwfilter_define_xml_flags_ret {
12980 0 0   0 0   croak "Missing required input 'struct' value"
12981             unless defined $_[1];
12982              
12983             # Serializing field: 'nwfilter'
12984             croak "Missing required input value 'nwfilter'"
12985 0 0         unless exists $_[1]->{nwfilter};
12986             # my ($class, $value, $index, $output) = @_;
12987 0           $_[0]->serialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12988             }
12989             # @_: ($class, $value, $index, $input) = @_;
12990             sub deserialize_nwfilter_undefine_args {
12991 0     0 0   my $input_length = length $_[3];
12992 0           $_[1] = {};
12993             # Deserializing field: 'nwfilter'
12994             # my ($class, $value, $index, $input) = @_;
12995 0           $_[0]->deserialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
12996             }
12997             # @_: ($class, $value, $index, $output) = @_;
12998             sub serialize_nwfilter_undefine_args {
12999 0 0   0 0   croak "Missing required input 'struct' value"
13000             unless defined $_[1];
13001              
13002             # Serializing field: 'nwfilter'
13003             croak "Missing required input value 'nwfilter'"
13004 0 0         unless exists $_[1]->{nwfilter};
13005             # my ($class, $value, $index, $output) = @_;
13006 0           $_[0]->serialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
13007             }
13008             # @_: ($class, $value, $index, $input) = @_;
13009             sub deserialize_nwfilter_get_xml_desc_args {
13010 0     0 0   my $input_length = length $_[3];
13011 0           $_[1] = {};
13012             # Deserializing field: 'nwfilter'
13013             # my ($class, $value, $index, $input) = @_;
13014 0           $_[0]->deserialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
13015              
13016             # Deserializing field: 'flags'
13017             # my ($class, $value, $index, $input) = @_;
13018 0 0         die "Input buffer too short"
13019             if ($input_length - $_[2]) < 4;
13020 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
13021 0           $_[2] += 4;
13022             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13023 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13024             }
13025             # @_: ($class, $value, $index, $output) = @_;
13026             sub serialize_nwfilter_get_xml_desc_args {
13027 0 0   0 0   croak "Missing required input 'struct' value"
13028             unless defined $_[1];
13029              
13030             # Serializing field: 'nwfilter'
13031             croak "Missing required input value 'nwfilter'"
13032 0 0         unless exists $_[1]->{nwfilter};
13033             # my ($class, $value, $index, $output) = @_;
13034 0           $_[0]->serialize_nonnull_nwfilter( $_[1]->{nwfilter}, $_[2], $_[3] );
13035              
13036             # Serializing field: 'flags'
13037             croak "Missing required input value 'flags'"
13038 0 0         unless exists $_[1]->{flags};
13039             # my ($class, $value, $index, $output) = @_;
13040             croak "Missing required input 'unsigned int' value"
13041 0 0         unless defined $_[1]->{flags};
13042             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13043 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13044             die "Non-integer 'int' value given: $_[1]->{flags}"
13045 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
13046 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
13047 0           $_[2] += 4;
13048             }
13049             # @_: ($class, $value, $index, $input) = @_;
13050             sub deserialize_nwfilter_get_xml_desc_ret {
13051 0     0 0   my $input_length = length $_[3];
13052 0           $_[1] = {};
13053             # Deserializing field: 'xml'
13054             # my ($class, $value, $index, $input) = @_;
13055 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
13056             }
13057             # @_: ($class, $value, $index, $output) = @_;
13058             sub serialize_nwfilter_get_xml_desc_ret {
13059 0 0   0 0   croak "Missing required input 'struct' value"
13060             unless defined $_[1];
13061              
13062             # Serializing field: 'xml'
13063             croak "Missing required input value 'xml'"
13064 0 0         unless exists $_[1]->{xml};
13065             # my ($class, $value, $index, $output) = @_;
13066 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
13067             }
13068             # @_: ($class, $value, $index, $input) = @_;
13069             sub deserialize_connect_num_of_interfaces_ret {
13070 0     0 0   my $input_length = length $_[3];
13071 0           $_[1] = {};
13072             # Deserializing field: 'num'
13073             # my ($class, $value, $index, $input) = @_;
13074 0 0         die "Input buffer too short"
13075             if ($input_length - $_[2]) < 4;
13076 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
13077 0           $_[2] += 4;
13078             die "Out of bounds 'int': $_[1]->{num}"
13079 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
13080             }
13081             # @_: ($class, $value, $index, $output) = @_;
13082             sub serialize_connect_num_of_interfaces_ret {
13083 0 0   0 0   croak "Missing required input 'struct' value"
13084             unless defined $_[1];
13085              
13086             # Serializing field: 'num'
13087             croak "Missing required input value 'num'"
13088 0 0         unless exists $_[1]->{num};
13089             # my ($class, $value, $index, $output) = @_;
13090             croak "Missing required input 'int' value"
13091 0 0         unless defined $_[1]->{num};
13092             die "Out of bounds 'int': $_[1]->{num}"
13093 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
13094             die "Non-integer 'int' value given: $_[1]->{num}"
13095 0 0         unless int($_[1]->{num}) == $_[1]->{num};
13096 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
13097 0           $_[2] += 4;
13098             }
13099             # @_: ($class, $value, $index, $input) = @_;
13100             sub deserialize_connect_list_interfaces_args {
13101 0     0 0   my $input_length = length $_[3];
13102 0           $_[1] = {};
13103             # Deserializing field: 'maxnames'
13104             # my ($class, $value, $index, $input) = @_;
13105 0 0         die "Input buffer too short"
13106             if ($input_length - $_[2]) < 4;
13107 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
13108 0           $_[2] += 4;
13109             die "Out of bounds 'int': $_[1]->{maxnames}"
13110 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
13111             }
13112             # @_: ($class, $value, $index, $output) = @_;
13113             sub serialize_connect_list_interfaces_args {
13114 0 0   0 0   croak "Missing required input 'struct' value"
13115             unless defined $_[1];
13116              
13117             # Serializing field: 'maxnames'
13118             croak "Missing required input value 'maxnames'"
13119 0 0         unless exists $_[1]->{maxnames};
13120             # my ($class, $value, $index, $output) = @_;
13121             croak "Missing required input 'int' value"
13122 0 0         unless defined $_[1]->{maxnames};
13123             die "Out of bounds 'int': $_[1]->{maxnames}"
13124 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
13125             die "Non-integer 'int' value given: $_[1]->{maxnames}"
13126 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
13127 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
13128 0           $_[2] += 4;
13129             }
13130             # @_: ($class, $value, $index, $input) = @_;
13131             sub deserialize_connect_list_interfaces_ret {
13132 0     0 0   my $input_length = length $_[3];
13133 0           $_[1] = {};
13134             # Deserializing field: 'names'
13135             # my ($class, $value, $index, $input) = @_;
13136 0           do {
13137 0 0         die "Input buffer too short"
13138             if ($input_length - $_[2]) < 4;
13139 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
13140 0           $_[2] += 4;
13141              
13142 0 0         die "Array too long (max: 16384): $len"
13143             unless ($len <= 16384);
13144 0           $_[1]->{names} = [];
13145 0           for my $i1 ( 0 .. ($len - 1) ) {
13146             # my ($class, $value, $index, $input) = @_;
13147 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
13148             }
13149             };
13150             }
13151             # @_: ($class, $value, $index, $output) = @_;
13152             sub serialize_connect_list_interfaces_ret {
13153 0 0   0 0   croak "Missing required input 'struct' value"
13154             unless defined $_[1];
13155              
13156             # Serializing field: 'names'
13157             croak "Missing required input value 'names'"
13158 0 0         unless exists $_[1]->{names};
13159             # my ($class, $value, $index, $output) = @_;
13160             croak "Missing required input 'array' value"
13161 0 0         unless defined $_[1]->{names};
13162 0           do {
13163 0           my $len = scalar @{ $_[1]->{names} };
  0            
13164 0 0         die "Array too long (max: 16384): $len"
13165             unless ($len <= 16384);
13166              
13167 0           substr( $_[3], $_[2] ) = pack("L>", $len);
13168 0           $_[2] += 4;
13169 0           for my $i1 ( 0 .. ($len - 1) ) {
13170             # my ($class, $value, $index, $output) = @_;
13171 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
13172             }
13173             };
13174             }
13175             # @_: ($class, $value, $index, $input) = @_;
13176             sub deserialize_connect_num_of_defined_interfaces_ret {
13177 0     0 0   my $input_length = length $_[3];
13178 0           $_[1] = {};
13179             # Deserializing field: 'num'
13180             # my ($class, $value, $index, $input) = @_;
13181 0 0         die "Input buffer too short"
13182             if ($input_length - $_[2]) < 4;
13183 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
13184 0           $_[2] += 4;
13185             die "Out of bounds 'int': $_[1]->{num}"
13186 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
13187             }
13188             # @_: ($class, $value, $index, $output) = @_;
13189             sub serialize_connect_num_of_defined_interfaces_ret {
13190 0 0   0 0   croak "Missing required input 'struct' value"
13191             unless defined $_[1];
13192              
13193             # Serializing field: 'num'
13194             croak "Missing required input value 'num'"
13195 0 0         unless exists $_[1]->{num};
13196             # my ($class, $value, $index, $output) = @_;
13197             croak "Missing required input 'int' value"
13198 0 0         unless defined $_[1]->{num};
13199             die "Out of bounds 'int': $_[1]->{num}"
13200 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
13201             die "Non-integer 'int' value given: $_[1]->{num}"
13202 0 0         unless int($_[1]->{num}) == $_[1]->{num};
13203 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
13204 0           $_[2] += 4;
13205             }
13206             # @_: ($class, $value, $index, $input) = @_;
13207             sub deserialize_connect_list_defined_interfaces_args {
13208 0     0 0   my $input_length = length $_[3];
13209 0           $_[1] = {};
13210             # Deserializing field: 'maxnames'
13211             # my ($class, $value, $index, $input) = @_;
13212 0 0         die "Input buffer too short"
13213             if ($input_length - $_[2]) < 4;
13214 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
13215 0           $_[2] += 4;
13216             die "Out of bounds 'int': $_[1]->{maxnames}"
13217 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
13218             }
13219             # @_: ($class, $value, $index, $output) = @_;
13220             sub serialize_connect_list_defined_interfaces_args {
13221 0 0   0 0   croak "Missing required input 'struct' value"
13222             unless defined $_[1];
13223              
13224             # Serializing field: 'maxnames'
13225             croak "Missing required input value 'maxnames'"
13226 0 0         unless exists $_[1]->{maxnames};
13227             # my ($class, $value, $index, $output) = @_;
13228             croak "Missing required input 'int' value"
13229 0 0         unless defined $_[1]->{maxnames};
13230             die "Out of bounds 'int': $_[1]->{maxnames}"
13231 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
13232             die "Non-integer 'int' value given: $_[1]->{maxnames}"
13233 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
13234 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
13235 0           $_[2] += 4;
13236             }
13237             # @_: ($class, $value, $index, $input) = @_;
13238             sub deserialize_connect_list_defined_interfaces_ret {
13239 0     0 0   my $input_length = length $_[3];
13240 0           $_[1] = {};
13241             # Deserializing field: 'names'
13242             # my ($class, $value, $index, $input) = @_;
13243 0           do {
13244 0 0         die "Input buffer too short"
13245             if ($input_length - $_[2]) < 4;
13246 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
13247 0           $_[2] += 4;
13248              
13249 0 0         die "Array too long (max: 16384): $len"
13250             unless ($len <= 16384);
13251 0           $_[1]->{names} = [];
13252 0           for my $i1 ( 0 .. ($len - 1) ) {
13253             # my ($class, $value, $index, $input) = @_;
13254 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
13255             }
13256             };
13257             }
13258             # @_: ($class, $value, $index, $output) = @_;
13259             sub serialize_connect_list_defined_interfaces_ret {
13260 0 0   0 0   croak "Missing required input 'struct' value"
13261             unless defined $_[1];
13262              
13263             # Serializing field: 'names'
13264             croak "Missing required input value 'names'"
13265 0 0         unless exists $_[1]->{names};
13266             # my ($class, $value, $index, $output) = @_;
13267             croak "Missing required input 'array' value"
13268 0 0         unless defined $_[1]->{names};
13269 0           do {
13270 0           my $len = scalar @{ $_[1]->{names} };
  0            
13271 0 0         die "Array too long (max: 16384): $len"
13272             unless ($len <= 16384);
13273              
13274 0           substr( $_[3], $_[2] ) = pack("L>", $len);
13275 0           $_[2] += 4;
13276 0           for my $i1 ( 0 .. ($len - 1) ) {
13277             # my ($class, $value, $index, $output) = @_;
13278 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
13279             }
13280             };
13281             }
13282             # @_: ($class, $value, $index, $input) = @_;
13283             sub deserialize_interface_lookup_by_name_args {
13284 0     0 0   my $input_length = length $_[3];
13285 0           $_[1] = {};
13286             # Deserializing field: 'name'
13287             # my ($class, $value, $index, $input) = @_;
13288 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
13289             }
13290             # @_: ($class, $value, $index, $output) = @_;
13291             sub serialize_interface_lookup_by_name_args {
13292 0 0   0 0   croak "Missing required input 'struct' value"
13293             unless defined $_[1];
13294              
13295             # Serializing field: 'name'
13296             croak "Missing required input value 'name'"
13297 0 0         unless exists $_[1]->{name};
13298             # my ($class, $value, $index, $output) = @_;
13299 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
13300             }
13301             # @_: ($class, $value, $index, $input) = @_;
13302             sub deserialize_interface_lookup_by_name_ret {
13303 0     0 0   my $input_length = length $_[3];
13304 0           $_[1] = {};
13305             # Deserializing field: 'iface'
13306             # my ($class, $value, $index, $input) = @_;
13307 0           $_[0]->deserialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13308             }
13309             # @_: ($class, $value, $index, $output) = @_;
13310             sub serialize_interface_lookup_by_name_ret {
13311 0 0   0 0   croak "Missing required input 'struct' value"
13312             unless defined $_[1];
13313              
13314             # Serializing field: 'iface'
13315             croak "Missing required input value 'iface'"
13316 0 0         unless exists $_[1]->{iface};
13317             # my ($class, $value, $index, $output) = @_;
13318 0           $_[0]->serialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13319             }
13320             # @_: ($class, $value, $index, $input) = @_;
13321             sub deserialize_interface_lookup_by_mac_string_args {
13322 0     0 0   my $input_length = length $_[3];
13323 0           $_[1] = {};
13324             # Deserializing field: 'mac'
13325             # my ($class, $value, $index, $input) = @_;
13326 0           $_[0]->deserialize_nonnull_string( $_[1]->{mac}, $_[2], $_[3] );
13327             }
13328             # @_: ($class, $value, $index, $output) = @_;
13329             sub serialize_interface_lookup_by_mac_string_args {
13330 0 0   0 0   croak "Missing required input 'struct' value"
13331             unless defined $_[1];
13332              
13333             # Serializing field: 'mac'
13334             croak "Missing required input value 'mac'"
13335 0 0         unless exists $_[1]->{mac};
13336             # my ($class, $value, $index, $output) = @_;
13337 0           $_[0]->serialize_nonnull_string( $_[1]->{mac}, $_[2], $_[3] );
13338             }
13339             # @_: ($class, $value, $index, $input) = @_;
13340             sub deserialize_interface_lookup_by_mac_string_ret {
13341 0     0 0   my $input_length = length $_[3];
13342 0           $_[1] = {};
13343             # Deserializing field: 'iface'
13344             # my ($class, $value, $index, $input) = @_;
13345 0           $_[0]->deserialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13346             }
13347             # @_: ($class, $value, $index, $output) = @_;
13348             sub serialize_interface_lookup_by_mac_string_ret {
13349 0 0   0 0   croak "Missing required input 'struct' value"
13350             unless defined $_[1];
13351              
13352             # Serializing field: 'iface'
13353             croak "Missing required input value 'iface'"
13354 0 0         unless exists $_[1]->{iface};
13355             # my ($class, $value, $index, $output) = @_;
13356 0           $_[0]->serialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13357             }
13358             # @_: ($class, $value, $index, $input) = @_;
13359             sub deserialize_interface_get_xml_desc_args {
13360 0     0 0   my $input_length = length $_[3];
13361 0           $_[1] = {};
13362             # Deserializing field: 'iface'
13363             # my ($class, $value, $index, $input) = @_;
13364 0           $_[0]->deserialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13365              
13366             # Deserializing field: 'flags'
13367             # my ($class, $value, $index, $input) = @_;
13368 0 0         die "Input buffer too short"
13369             if ($input_length - $_[2]) < 4;
13370 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
13371 0           $_[2] += 4;
13372             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13373 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13374             }
13375             # @_: ($class, $value, $index, $output) = @_;
13376             sub serialize_interface_get_xml_desc_args {
13377 0 0   0 0   croak "Missing required input 'struct' value"
13378             unless defined $_[1];
13379              
13380             # Serializing field: 'iface'
13381             croak "Missing required input value 'iface'"
13382 0 0         unless exists $_[1]->{iface};
13383             # my ($class, $value, $index, $output) = @_;
13384 0           $_[0]->serialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13385              
13386             # Serializing field: 'flags'
13387             croak "Missing required input value 'flags'"
13388 0 0         unless exists $_[1]->{flags};
13389             # my ($class, $value, $index, $output) = @_;
13390             croak "Missing required input 'unsigned int' value"
13391 0 0         unless defined $_[1]->{flags};
13392             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13393 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13394             die "Non-integer 'int' value given: $_[1]->{flags}"
13395 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
13396 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
13397 0           $_[2] += 4;
13398             }
13399             # @_: ($class, $value, $index, $input) = @_;
13400             sub deserialize_interface_get_xml_desc_ret {
13401 0     0 0   my $input_length = length $_[3];
13402 0           $_[1] = {};
13403             # Deserializing field: 'xml'
13404             # my ($class, $value, $index, $input) = @_;
13405 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
13406             }
13407             # @_: ($class, $value, $index, $output) = @_;
13408             sub serialize_interface_get_xml_desc_ret {
13409 0 0   0 0   croak "Missing required input 'struct' value"
13410             unless defined $_[1];
13411              
13412             # Serializing field: 'xml'
13413             croak "Missing required input value 'xml'"
13414 0 0         unless exists $_[1]->{xml};
13415             # my ($class, $value, $index, $output) = @_;
13416 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
13417             }
13418             # @_: ($class, $value, $index, $input) = @_;
13419             sub deserialize_interface_define_xml_args {
13420 0     0 0   my $input_length = length $_[3];
13421 0           $_[1] = {};
13422             # Deserializing field: 'xml'
13423             # my ($class, $value, $index, $input) = @_;
13424 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
13425              
13426             # Deserializing field: 'flags'
13427             # my ($class, $value, $index, $input) = @_;
13428 0 0         die "Input buffer too short"
13429             if ($input_length - $_[2]) < 4;
13430 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
13431 0           $_[2] += 4;
13432             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13433 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13434             }
13435             # @_: ($class, $value, $index, $output) = @_;
13436             sub serialize_interface_define_xml_args {
13437 0 0   0 0   croak "Missing required input 'struct' value"
13438             unless defined $_[1];
13439              
13440             # Serializing field: 'xml'
13441             croak "Missing required input value 'xml'"
13442 0 0         unless exists $_[1]->{xml};
13443             # my ($class, $value, $index, $output) = @_;
13444 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
13445              
13446             # Serializing field: 'flags'
13447             croak "Missing required input value 'flags'"
13448 0 0         unless exists $_[1]->{flags};
13449             # my ($class, $value, $index, $output) = @_;
13450             croak "Missing required input 'unsigned int' value"
13451 0 0         unless defined $_[1]->{flags};
13452             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13453 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13454             die "Non-integer 'int' value given: $_[1]->{flags}"
13455 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
13456 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
13457 0           $_[2] += 4;
13458             }
13459             # @_: ($class, $value, $index, $input) = @_;
13460             sub deserialize_interface_define_xml_ret {
13461 0     0 0   my $input_length = length $_[3];
13462 0           $_[1] = {};
13463             # Deserializing field: 'iface'
13464             # my ($class, $value, $index, $input) = @_;
13465 0           $_[0]->deserialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13466             }
13467             # @_: ($class, $value, $index, $output) = @_;
13468             sub serialize_interface_define_xml_ret {
13469 0 0   0 0   croak "Missing required input 'struct' value"
13470             unless defined $_[1];
13471              
13472             # Serializing field: 'iface'
13473             croak "Missing required input value 'iface'"
13474 0 0         unless exists $_[1]->{iface};
13475             # my ($class, $value, $index, $output) = @_;
13476 0           $_[0]->serialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13477             }
13478             # @_: ($class, $value, $index, $input) = @_;
13479             sub deserialize_interface_undefine_args {
13480 0     0 0   my $input_length = length $_[3];
13481 0           $_[1] = {};
13482             # Deserializing field: 'iface'
13483             # my ($class, $value, $index, $input) = @_;
13484 0           $_[0]->deserialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13485             }
13486             # @_: ($class, $value, $index, $output) = @_;
13487             sub serialize_interface_undefine_args {
13488 0 0   0 0   croak "Missing required input 'struct' value"
13489             unless defined $_[1];
13490              
13491             # Serializing field: 'iface'
13492             croak "Missing required input value 'iface'"
13493 0 0         unless exists $_[1]->{iface};
13494             # my ($class, $value, $index, $output) = @_;
13495 0           $_[0]->serialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13496             }
13497             # @_: ($class, $value, $index, $input) = @_;
13498             sub deserialize_interface_create_args {
13499 0     0 0   my $input_length = length $_[3];
13500 0           $_[1] = {};
13501             # Deserializing field: 'iface'
13502             # my ($class, $value, $index, $input) = @_;
13503 0           $_[0]->deserialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13504              
13505             # Deserializing field: 'flags'
13506             # my ($class, $value, $index, $input) = @_;
13507 0 0         die "Input buffer too short"
13508             if ($input_length - $_[2]) < 4;
13509 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
13510 0           $_[2] += 4;
13511             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13512 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13513             }
13514             # @_: ($class, $value, $index, $output) = @_;
13515             sub serialize_interface_create_args {
13516 0 0   0 0   croak "Missing required input 'struct' value"
13517             unless defined $_[1];
13518              
13519             # Serializing field: 'iface'
13520             croak "Missing required input value 'iface'"
13521 0 0         unless exists $_[1]->{iface};
13522             # my ($class, $value, $index, $output) = @_;
13523 0           $_[0]->serialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13524              
13525             # Serializing field: 'flags'
13526             croak "Missing required input value 'flags'"
13527 0 0         unless exists $_[1]->{flags};
13528             # my ($class, $value, $index, $output) = @_;
13529             croak "Missing required input 'unsigned int' value"
13530 0 0         unless defined $_[1]->{flags};
13531             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13532 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13533             die "Non-integer 'int' value given: $_[1]->{flags}"
13534 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
13535 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
13536 0           $_[2] += 4;
13537             }
13538             # @_: ($class, $value, $index, $input) = @_;
13539             sub deserialize_interface_destroy_args {
13540 0     0 0   my $input_length = length $_[3];
13541 0           $_[1] = {};
13542             # Deserializing field: 'iface'
13543             # my ($class, $value, $index, $input) = @_;
13544 0           $_[0]->deserialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13545              
13546             # Deserializing field: 'flags'
13547             # my ($class, $value, $index, $input) = @_;
13548 0 0         die "Input buffer too short"
13549             if ($input_length - $_[2]) < 4;
13550 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
13551 0           $_[2] += 4;
13552             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13553 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13554             }
13555             # @_: ($class, $value, $index, $output) = @_;
13556             sub serialize_interface_destroy_args {
13557 0 0   0 0   croak "Missing required input 'struct' value"
13558             unless defined $_[1];
13559              
13560             # Serializing field: 'iface'
13561             croak "Missing required input value 'iface'"
13562 0 0         unless exists $_[1]->{iface};
13563             # my ($class, $value, $index, $output) = @_;
13564 0           $_[0]->serialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
13565              
13566             # Serializing field: 'flags'
13567             croak "Missing required input value 'flags'"
13568 0 0         unless exists $_[1]->{flags};
13569             # my ($class, $value, $index, $output) = @_;
13570             croak "Missing required input 'unsigned int' value"
13571 0 0         unless defined $_[1]->{flags};
13572             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13573 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13574             die "Non-integer 'int' value given: $_[1]->{flags}"
13575 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
13576 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
13577 0           $_[2] += 4;
13578             }
13579             # @_: ($class, $value, $index, $input) = @_;
13580             sub deserialize_interface_change_begin_args {
13581 0     0 0   my $input_length = length $_[3];
13582 0           $_[1] = {};
13583             # Deserializing field: 'flags'
13584             # my ($class, $value, $index, $input) = @_;
13585 0 0         die "Input buffer too short"
13586             if ($input_length - $_[2]) < 4;
13587 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
13588 0           $_[2] += 4;
13589             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13590 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13591             }
13592             # @_: ($class, $value, $index, $output) = @_;
13593             sub serialize_interface_change_begin_args {
13594 0 0   0 0   croak "Missing required input 'struct' value"
13595             unless defined $_[1];
13596              
13597             # Serializing field: 'flags'
13598             croak "Missing required input value 'flags'"
13599 0 0         unless exists $_[1]->{flags};
13600             # my ($class, $value, $index, $output) = @_;
13601             croak "Missing required input 'unsigned int' value"
13602 0 0         unless defined $_[1]->{flags};
13603             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13604 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13605             die "Non-integer 'int' value given: $_[1]->{flags}"
13606 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
13607 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
13608 0           $_[2] += 4;
13609             }
13610             # @_: ($class, $value, $index, $input) = @_;
13611             sub deserialize_interface_change_commit_args {
13612 0     0 0   my $input_length = length $_[3];
13613 0           $_[1] = {};
13614             # Deserializing field: 'flags'
13615             # my ($class, $value, $index, $input) = @_;
13616 0 0         die "Input buffer too short"
13617             if ($input_length - $_[2]) < 4;
13618 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
13619 0           $_[2] += 4;
13620             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13621 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13622             }
13623             # @_: ($class, $value, $index, $output) = @_;
13624             sub serialize_interface_change_commit_args {
13625 0 0   0 0   croak "Missing required input 'struct' value"
13626             unless defined $_[1];
13627              
13628             # Serializing field: 'flags'
13629             croak "Missing required input value 'flags'"
13630 0 0         unless exists $_[1]->{flags};
13631             # my ($class, $value, $index, $output) = @_;
13632             croak "Missing required input 'unsigned int' value"
13633 0 0         unless defined $_[1]->{flags};
13634             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13635 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13636             die "Non-integer 'int' value given: $_[1]->{flags}"
13637 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
13638 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
13639 0           $_[2] += 4;
13640             }
13641             # @_: ($class, $value, $index, $input) = @_;
13642             sub deserialize_interface_change_rollback_args {
13643 0     0 0   my $input_length = length $_[3];
13644 0           $_[1] = {};
13645             # Deserializing field: 'flags'
13646             # my ($class, $value, $index, $input) = @_;
13647 0 0         die "Input buffer too short"
13648             if ($input_length - $_[2]) < 4;
13649 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
13650 0           $_[2] += 4;
13651             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13652 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13653             }
13654             # @_: ($class, $value, $index, $output) = @_;
13655             sub serialize_interface_change_rollback_args {
13656 0 0   0 0   croak "Missing required input 'struct' value"
13657             unless defined $_[1];
13658              
13659             # Serializing field: 'flags'
13660             croak "Missing required input value 'flags'"
13661 0 0         unless exists $_[1]->{flags};
13662             # my ($class, $value, $index, $output) = @_;
13663             croak "Missing required input 'unsigned int' value"
13664 0 0         unless defined $_[1]->{flags};
13665             die "Out of bounds 'unsigned int': $_[1]->{flags}"
13666 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
13667             die "Non-integer 'int' value given: $_[1]->{flags}"
13668 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
13669 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
13670 0           $_[2] += 4;
13671             }
13672             # @_: ($class, $value, $index, $input) = @_;
13673             sub deserialize_auth_list_ret {
13674 0     0 0   my $input_length = length $_[3];
13675 0           $_[1] = {};
13676             # Deserializing field: 'types'
13677             # my ($class, $value, $index, $input) = @_;
13678 0           do {
13679 0 0         die "Input buffer too short"
13680             if ($input_length - $_[2]) < 4;
13681 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
13682 0           $_[2] += 4;
13683              
13684 0 0         die "Array too long (max: 20): $len"
13685             unless ($len <= 20);
13686 0           $_[1]->{types} = [];
13687 0           for my $i1 ( 0 .. ($len - 1) ) {
13688             # my ($class, $value, $index, $input) = @_;
13689 0           $_[0]->deserialize_auth_type( $_[1]->{types}->[$i1], $_[2], $_[3] );
13690             }
13691             };
13692             }
13693             # @_: ($class, $value, $index, $output) = @_;
13694             sub serialize_auth_list_ret {
13695 0 0   0 0   croak "Missing required input 'struct' value"
13696             unless defined $_[1];
13697              
13698             # Serializing field: 'types'
13699             croak "Missing required input value 'types'"
13700 0 0         unless exists $_[1]->{types};
13701             # my ($class, $value, $index, $output) = @_;
13702             croak "Missing required input 'array' value"
13703 0 0         unless defined $_[1]->{types};
13704 0           do {
13705 0           my $len = scalar @{ $_[1]->{types} };
  0            
13706 0 0         die "Array too long (max: 20): $len"
13707             unless ($len <= 20);
13708              
13709 0           substr( $_[3], $_[2] ) = pack("L>", $len);
13710 0           $_[2] += 4;
13711 0           for my $i1 ( 0 .. ($len - 1) ) {
13712             # my ($class, $value, $index, $output) = @_;
13713 0           $_[0]->serialize_auth_type( $_[1]->{types}->[$i1], $_[2], $_[3] );
13714             }
13715             };
13716             }
13717             # @_: ($class, $value, $index, $input) = @_;
13718             sub deserialize_auth_sasl_init_ret {
13719 0     0 0   my $input_length = length $_[3];
13720 0           $_[1] = {};
13721             # Deserializing field: 'mechlist'
13722             # my ($class, $value, $index, $input) = @_;
13723 0           $_[0]->deserialize_nonnull_string( $_[1]->{mechlist}, $_[2], $_[3] );
13724             }
13725             # @_: ($class, $value, $index, $output) = @_;
13726             sub serialize_auth_sasl_init_ret {
13727 0 0   0 0   croak "Missing required input 'struct' value"
13728             unless defined $_[1];
13729              
13730             # Serializing field: 'mechlist'
13731             croak "Missing required input value 'mechlist'"
13732 0 0         unless exists $_[1]->{mechlist};
13733             # my ($class, $value, $index, $output) = @_;
13734 0           $_[0]->serialize_nonnull_string( $_[1]->{mechlist}, $_[2], $_[3] );
13735             }
13736             # @_: ($class, $value, $index, $input) = @_;
13737             sub deserialize_auth_sasl_start_args {
13738 0     0 0   my $input_length = length $_[3];
13739 0           $_[1] = {};
13740             # Deserializing field: 'mech'
13741             # my ($class, $value, $index, $input) = @_;
13742 0           $_[0]->deserialize_nonnull_string( $_[1]->{mech}, $_[2], $_[3] );
13743              
13744             # Deserializing field: 'nil'
13745             # my ($class, $value, $index, $input) = @_;
13746 0 0         die "Input buffer too short"
13747             if ($input_length - $_[2]) < 4;
13748 0           $_[1]->{nil} = unpack("l>", substr( $_[3], $_[2] ));
13749 0           $_[2] += 4;
13750             die "Out of bounds 'int': $_[1]->{nil}"
13751 0 0 0       unless (-2147483648 <= $_[1]->{nil} and $_[1]->{nil} < 2147483648);
13752              
13753             # Deserializing field: 'data'
13754             # my ($class, $value, $index, $input) = @_;
13755 0           do {
13756 0 0         die "Input buffer too short"
13757             if ($input_length - $_[2]) < 4;
13758 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
13759 0           $_[2] += 4;
13760              
13761 0 0         die "Array too long (max: 65536): $len"
13762             unless ($len <= 65536);
13763 0           $_[1]->{data} = [];
13764 0           for my $i1 ( 0 .. ($len - 1) ) {
13765             # my ($class, $value, $index, $input) = @_;
13766 0 0         die "Input buffer too short"
13767             if ($input_length - $_[2]) < 4;
13768 0           $_[1]->{data}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
13769 0           $_[2] += 4;
13770             die "Out of bounds 'char': $_[1]->{data}->[$i1]"
13771 0 0 0       unless (-128 <= $_[1]->{data}->[$i1] and $_[1]->{data}->[$i1] < 128);
13772             }
13773 0           $_[1]->{data} = pack('c*', @{ $_[1]->{data} });
  0            
13774             };
13775             }
13776             # @_: ($class, $value, $index, $output) = @_;
13777             sub serialize_auth_sasl_start_args {
13778 0 0   0 0   croak "Missing required input 'struct' value"
13779             unless defined $_[1];
13780              
13781             # Serializing field: 'mech'
13782             croak "Missing required input value 'mech'"
13783 0 0         unless exists $_[1]->{mech};
13784             # my ($class, $value, $index, $output) = @_;
13785 0           $_[0]->serialize_nonnull_string( $_[1]->{mech}, $_[2], $_[3] );
13786              
13787             # Serializing field: 'nil'
13788             croak "Missing required input value 'nil'"
13789 0 0         unless exists $_[1]->{nil};
13790             # my ($class, $value, $index, $output) = @_;
13791             croak "Missing required input 'int' value"
13792 0 0         unless defined $_[1]->{nil};
13793             die "Out of bounds 'int': $_[1]->{nil}"
13794 0 0 0       unless (-2147483648 <= $_[1]->{nil} and $_[1]->{nil} < 2147483648);
13795             die "Non-integer 'int' value given: $_[1]->{nil}"
13796 0 0         unless int($_[1]->{nil}) == $_[1]->{nil};
13797 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nil});
13798 0           $_[2] += 4;
13799              
13800             # Serializing field: 'data'
13801             croak "Missing required input value 'data'"
13802 0 0         unless exists $_[1]->{data};
13803             # my ($class, $value, $index, $output) = @_;
13804             croak "Missing required input 'array' value"
13805 0 0         unless defined $_[1]->{data};
13806 0           do {
13807 0           local $_[1]->{data} = [ unpack('c*', $_[1]->{data}) ];
13808 0           my $len = scalar @{ $_[1]->{data} };
  0            
13809 0 0         die "Array too long (max: 65536): $len"
13810             unless ($len <= 65536);
13811              
13812 0           substr( $_[3], $_[2] ) = pack("L>", $len);
13813 0           $_[2] += 4;
13814 0           for my $i1 ( 0 .. ($len - 1) ) {
13815             # my ($class, $value, $index, $output) = @_;
13816             croak "Missing required input 'char' value"
13817 0 0         unless defined $_[1]->{data}->[$i1];
13818             die "Out of bounds 'char': $_[1]->{data}->[$i1]"
13819 0 0 0       unless (-128 <= $_[1]->{data}->[$i1] and $_[1]->{data}->[$i1] < 128);
13820             die "Non-integer 'char' value given: $_[1]->{data}->[$i1]"
13821 0 0         unless int($_[1]->{data}->[$i1]) == $_[1]->{data}->[$i1];
13822 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{data}->[$i1]);
13823 0           $_[2] += 4;
13824             }
13825             };
13826             }
13827             # @_: ($class, $value, $index, $input) = @_;
13828             sub deserialize_auth_sasl_start_ret {
13829 0     0 0   my $input_length = length $_[3];
13830 0           $_[1] = {};
13831             # Deserializing field: 'complete'
13832             # my ($class, $value, $index, $input) = @_;
13833 0 0         die "Input buffer too short"
13834             if ($input_length - $_[2]) < 4;
13835 0           $_[1]->{complete} = unpack("l>", substr( $_[3], $_[2] ));
13836 0           $_[2] += 4;
13837             die "Out of bounds 'int': $_[1]->{complete}"
13838 0 0 0       unless (-2147483648 <= $_[1]->{complete} and $_[1]->{complete} < 2147483648);
13839              
13840             # Deserializing field: 'nil'
13841             # my ($class, $value, $index, $input) = @_;
13842 0 0         die "Input buffer too short"
13843             if ($input_length - $_[2]) < 4;
13844 0           $_[1]->{nil} = unpack("l>", substr( $_[3], $_[2] ));
13845 0           $_[2] += 4;
13846             die "Out of bounds 'int': $_[1]->{nil}"
13847 0 0 0       unless (-2147483648 <= $_[1]->{nil} and $_[1]->{nil} < 2147483648);
13848              
13849             # Deserializing field: 'data'
13850             # my ($class, $value, $index, $input) = @_;
13851 0           do {
13852 0 0         die "Input buffer too short"
13853             if ($input_length - $_[2]) < 4;
13854 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
13855 0           $_[2] += 4;
13856              
13857 0 0         die "Array too long (max: 65536): $len"
13858             unless ($len <= 65536);
13859 0           $_[1]->{data} = [];
13860 0           for my $i1 ( 0 .. ($len - 1) ) {
13861             # my ($class, $value, $index, $input) = @_;
13862 0 0         die "Input buffer too short"
13863             if ($input_length - $_[2]) < 4;
13864 0           $_[1]->{data}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
13865 0           $_[2] += 4;
13866             die "Out of bounds 'char': $_[1]->{data}->[$i1]"
13867 0 0 0       unless (-128 <= $_[1]->{data}->[$i1] and $_[1]->{data}->[$i1] < 128);
13868             }
13869 0           $_[1]->{data} = pack('c*', @{ $_[1]->{data} });
  0            
13870             };
13871             }
13872             # @_: ($class, $value, $index, $output) = @_;
13873             sub serialize_auth_sasl_start_ret {
13874 0 0   0 0   croak "Missing required input 'struct' value"
13875             unless defined $_[1];
13876              
13877             # Serializing field: 'complete'
13878             croak "Missing required input value 'complete'"
13879 0 0         unless exists $_[1]->{complete};
13880             # my ($class, $value, $index, $output) = @_;
13881             croak "Missing required input 'int' value"
13882 0 0         unless defined $_[1]->{complete};
13883             die "Out of bounds 'int': $_[1]->{complete}"
13884 0 0 0       unless (-2147483648 <= $_[1]->{complete} and $_[1]->{complete} < 2147483648);
13885             die "Non-integer 'int' value given: $_[1]->{complete}"
13886 0 0         unless int($_[1]->{complete}) == $_[1]->{complete};
13887 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{complete});
13888 0           $_[2] += 4;
13889              
13890             # Serializing field: 'nil'
13891             croak "Missing required input value 'nil'"
13892 0 0         unless exists $_[1]->{nil};
13893             # my ($class, $value, $index, $output) = @_;
13894             croak "Missing required input 'int' value"
13895 0 0         unless defined $_[1]->{nil};
13896             die "Out of bounds 'int': $_[1]->{nil}"
13897 0 0 0       unless (-2147483648 <= $_[1]->{nil} and $_[1]->{nil} < 2147483648);
13898             die "Non-integer 'int' value given: $_[1]->{nil}"
13899 0 0         unless int($_[1]->{nil}) == $_[1]->{nil};
13900 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nil});
13901 0           $_[2] += 4;
13902              
13903             # Serializing field: 'data'
13904             croak "Missing required input value 'data'"
13905 0 0         unless exists $_[1]->{data};
13906             # my ($class, $value, $index, $output) = @_;
13907             croak "Missing required input 'array' value"
13908 0 0         unless defined $_[1]->{data};
13909 0           do {
13910 0           local $_[1]->{data} = [ unpack('c*', $_[1]->{data}) ];
13911 0           my $len = scalar @{ $_[1]->{data} };
  0            
13912 0 0         die "Array too long (max: 65536): $len"
13913             unless ($len <= 65536);
13914              
13915 0           substr( $_[3], $_[2] ) = pack("L>", $len);
13916 0           $_[2] += 4;
13917 0           for my $i1 ( 0 .. ($len - 1) ) {
13918             # my ($class, $value, $index, $output) = @_;
13919             croak "Missing required input 'char' value"
13920 0 0         unless defined $_[1]->{data}->[$i1];
13921             die "Out of bounds 'char': $_[1]->{data}->[$i1]"
13922 0 0 0       unless (-128 <= $_[1]->{data}->[$i1] and $_[1]->{data}->[$i1] < 128);
13923             die "Non-integer 'char' value given: $_[1]->{data}->[$i1]"
13924 0 0         unless int($_[1]->{data}->[$i1]) == $_[1]->{data}->[$i1];
13925 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{data}->[$i1]);
13926 0           $_[2] += 4;
13927             }
13928             };
13929             }
13930             # @_: ($class, $value, $index, $input) = @_;
13931             sub deserialize_auth_sasl_step_args {
13932 0     0 0   my $input_length = length $_[3];
13933 0           $_[1] = {};
13934             # Deserializing field: 'nil'
13935             # my ($class, $value, $index, $input) = @_;
13936 0 0         die "Input buffer too short"
13937             if ($input_length - $_[2]) < 4;
13938 0           $_[1]->{nil} = unpack("l>", substr( $_[3], $_[2] ));
13939 0           $_[2] += 4;
13940             die "Out of bounds 'int': $_[1]->{nil}"
13941 0 0 0       unless (-2147483648 <= $_[1]->{nil} and $_[1]->{nil} < 2147483648);
13942              
13943             # Deserializing field: 'data'
13944             # my ($class, $value, $index, $input) = @_;
13945 0           do {
13946 0 0         die "Input buffer too short"
13947             if ($input_length - $_[2]) < 4;
13948 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
13949 0           $_[2] += 4;
13950              
13951 0 0         die "Array too long (max: 65536): $len"
13952             unless ($len <= 65536);
13953 0           $_[1]->{data} = [];
13954 0           for my $i1 ( 0 .. ($len - 1) ) {
13955             # my ($class, $value, $index, $input) = @_;
13956 0 0         die "Input buffer too short"
13957             if ($input_length - $_[2]) < 4;
13958 0           $_[1]->{data}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
13959 0           $_[2] += 4;
13960             die "Out of bounds 'char': $_[1]->{data}->[$i1]"
13961 0 0 0       unless (-128 <= $_[1]->{data}->[$i1] and $_[1]->{data}->[$i1] < 128);
13962             }
13963 0           $_[1]->{data} = pack('c*', @{ $_[1]->{data} });
  0            
13964             };
13965             }
13966             # @_: ($class, $value, $index, $output) = @_;
13967             sub serialize_auth_sasl_step_args {
13968 0 0   0 0   croak "Missing required input 'struct' value"
13969             unless defined $_[1];
13970              
13971             # Serializing field: 'nil'
13972             croak "Missing required input value 'nil'"
13973 0 0         unless exists $_[1]->{nil};
13974             # my ($class, $value, $index, $output) = @_;
13975             croak "Missing required input 'int' value"
13976 0 0         unless defined $_[1]->{nil};
13977             die "Out of bounds 'int': $_[1]->{nil}"
13978 0 0 0       unless (-2147483648 <= $_[1]->{nil} and $_[1]->{nil} < 2147483648);
13979             die "Non-integer 'int' value given: $_[1]->{nil}"
13980 0 0         unless int($_[1]->{nil}) == $_[1]->{nil};
13981 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nil});
13982 0           $_[2] += 4;
13983              
13984             # Serializing field: 'data'
13985             croak "Missing required input value 'data'"
13986 0 0         unless exists $_[1]->{data};
13987             # my ($class, $value, $index, $output) = @_;
13988             croak "Missing required input 'array' value"
13989 0 0         unless defined $_[1]->{data};
13990 0           do {
13991 0           local $_[1]->{data} = [ unpack('c*', $_[1]->{data}) ];
13992 0           my $len = scalar @{ $_[1]->{data} };
  0            
13993 0 0         die "Array too long (max: 65536): $len"
13994             unless ($len <= 65536);
13995              
13996 0           substr( $_[3], $_[2] ) = pack("L>", $len);
13997 0           $_[2] += 4;
13998 0           for my $i1 ( 0 .. ($len - 1) ) {
13999             # my ($class, $value, $index, $output) = @_;
14000             croak "Missing required input 'char' value"
14001 0 0         unless defined $_[1]->{data}->[$i1];
14002             die "Out of bounds 'char': $_[1]->{data}->[$i1]"
14003 0 0 0       unless (-128 <= $_[1]->{data}->[$i1] and $_[1]->{data}->[$i1] < 128);
14004             die "Non-integer 'char' value given: $_[1]->{data}->[$i1]"
14005 0 0         unless int($_[1]->{data}->[$i1]) == $_[1]->{data}->[$i1];
14006 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{data}->[$i1]);
14007 0           $_[2] += 4;
14008             }
14009             };
14010             }
14011             # @_: ($class, $value, $index, $input) = @_;
14012             sub deserialize_auth_sasl_step_ret {
14013 0     0 0   my $input_length = length $_[3];
14014 0           $_[1] = {};
14015             # Deserializing field: 'complete'
14016             # my ($class, $value, $index, $input) = @_;
14017 0 0         die "Input buffer too short"
14018             if ($input_length - $_[2]) < 4;
14019 0           $_[1]->{complete} = unpack("l>", substr( $_[3], $_[2] ));
14020 0           $_[2] += 4;
14021             die "Out of bounds 'int': $_[1]->{complete}"
14022 0 0 0       unless (-2147483648 <= $_[1]->{complete} and $_[1]->{complete} < 2147483648);
14023              
14024             # Deserializing field: 'nil'
14025             # my ($class, $value, $index, $input) = @_;
14026 0 0         die "Input buffer too short"
14027             if ($input_length - $_[2]) < 4;
14028 0           $_[1]->{nil} = unpack("l>", substr( $_[3], $_[2] ));
14029 0           $_[2] += 4;
14030             die "Out of bounds 'int': $_[1]->{nil}"
14031 0 0 0       unless (-2147483648 <= $_[1]->{nil} and $_[1]->{nil} < 2147483648);
14032              
14033             # Deserializing field: 'data'
14034             # my ($class, $value, $index, $input) = @_;
14035 0           do {
14036 0 0         die "Input buffer too short"
14037             if ($input_length - $_[2]) < 4;
14038 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
14039 0           $_[2] += 4;
14040              
14041 0 0         die "Array too long (max: 65536): $len"
14042             unless ($len <= 65536);
14043 0           $_[1]->{data} = [];
14044 0           for my $i1 ( 0 .. ($len - 1) ) {
14045             # my ($class, $value, $index, $input) = @_;
14046 0 0         die "Input buffer too short"
14047             if ($input_length - $_[2]) < 4;
14048 0           $_[1]->{data}->[$i1] = unpack("l>", substr( $_[3], $_[2] ));
14049 0           $_[2] += 4;
14050             die "Out of bounds 'char': $_[1]->{data}->[$i1]"
14051 0 0 0       unless (-128 <= $_[1]->{data}->[$i1] and $_[1]->{data}->[$i1] < 128);
14052             }
14053 0           $_[1]->{data} = pack('c*', @{ $_[1]->{data} });
  0            
14054             };
14055             }
14056             # @_: ($class, $value, $index, $output) = @_;
14057             sub serialize_auth_sasl_step_ret {
14058 0 0   0 0   croak "Missing required input 'struct' value"
14059             unless defined $_[1];
14060              
14061             # Serializing field: 'complete'
14062             croak "Missing required input value 'complete'"
14063 0 0         unless exists $_[1]->{complete};
14064             # my ($class, $value, $index, $output) = @_;
14065             croak "Missing required input 'int' value"
14066 0 0         unless defined $_[1]->{complete};
14067             die "Out of bounds 'int': $_[1]->{complete}"
14068 0 0 0       unless (-2147483648 <= $_[1]->{complete} and $_[1]->{complete} < 2147483648);
14069             die "Non-integer 'int' value given: $_[1]->{complete}"
14070 0 0         unless int($_[1]->{complete}) == $_[1]->{complete};
14071 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{complete});
14072 0           $_[2] += 4;
14073              
14074             # Serializing field: 'nil'
14075             croak "Missing required input value 'nil'"
14076 0 0         unless exists $_[1]->{nil};
14077             # my ($class, $value, $index, $output) = @_;
14078             croak "Missing required input 'int' value"
14079 0 0         unless defined $_[1]->{nil};
14080             die "Out of bounds 'int': $_[1]->{nil}"
14081 0 0 0       unless (-2147483648 <= $_[1]->{nil} and $_[1]->{nil} < 2147483648);
14082             die "Non-integer 'int' value given: $_[1]->{nil}"
14083 0 0         unless int($_[1]->{nil}) == $_[1]->{nil};
14084 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nil});
14085 0           $_[2] += 4;
14086              
14087             # Serializing field: 'data'
14088             croak "Missing required input value 'data'"
14089 0 0         unless exists $_[1]->{data};
14090             # my ($class, $value, $index, $output) = @_;
14091             croak "Missing required input 'array' value"
14092 0 0         unless defined $_[1]->{data};
14093 0           do {
14094 0           local $_[1]->{data} = [ unpack('c*', $_[1]->{data}) ];
14095 0           my $len = scalar @{ $_[1]->{data} };
  0            
14096 0 0         die "Array too long (max: 65536): $len"
14097             unless ($len <= 65536);
14098              
14099 0           substr( $_[3], $_[2] ) = pack("L>", $len);
14100 0           $_[2] += 4;
14101 0           for my $i1 ( 0 .. ($len - 1) ) {
14102             # my ($class, $value, $index, $output) = @_;
14103             croak "Missing required input 'char' value"
14104 0 0         unless defined $_[1]->{data}->[$i1];
14105             die "Out of bounds 'char': $_[1]->{data}->[$i1]"
14106 0 0 0       unless (-128 <= $_[1]->{data}->[$i1] and $_[1]->{data}->[$i1] < 128);
14107             die "Non-integer 'char' value given: $_[1]->{data}->[$i1]"
14108 0 0         unless int($_[1]->{data}->[$i1]) == $_[1]->{data}->[$i1];
14109 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{data}->[$i1]);
14110 0           $_[2] += 4;
14111             }
14112             };
14113             }
14114             # @_: ($class, $value, $index, $input) = @_;
14115             sub deserialize_auth_polkit_ret {
14116 0     0 0   my $input_length = length $_[3];
14117 0           $_[1] = {};
14118             # Deserializing field: 'complete'
14119             # my ($class, $value, $index, $input) = @_;
14120 0 0         die "Input buffer too short"
14121             if ($input_length - $_[2]) < 4;
14122 0           $_[1]->{complete} = unpack("l>", substr( $_[3], $_[2] ));
14123 0           $_[2] += 4;
14124             die "Out of bounds 'int': $_[1]->{complete}"
14125 0 0 0       unless (-2147483648 <= $_[1]->{complete} and $_[1]->{complete} < 2147483648);
14126             }
14127             # @_: ($class, $value, $index, $output) = @_;
14128             sub serialize_auth_polkit_ret {
14129 0 0   0 0   croak "Missing required input 'struct' value"
14130             unless defined $_[1];
14131              
14132             # Serializing field: 'complete'
14133             croak "Missing required input value 'complete'"
14134 0 0         unless exists $_[1]->{complete};
14135             # my ($class, $value, $index, $output) = @_;
14136             croak "Missing required input 'int' value"
14137 0 0         unless defined $_[1]->{complete};
14138             die "Out of bounds 'int': $_[1]->{complete}"
14139 0 0 0       unless (-2147483648 <= $_[1]->{complete} and $_[1]->{complete} < 2147483648);
14140             die "Non-integer 'int' value given: $_[1]->{complete}"
14141 0 0         unless int($_[1]->{complete}) == $_[1]->{complete};
14142 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{complete});
14143 0           $_[2] += 4;
14144             }
14145             # @_: ($class, $value, $index, $input) = @_;
14146             sub deserialize_connect_num_of_storage_pools_ret {
14147 0     0 0   my $input_length = length $_[3];
14148 0           $_[1] = {};
14149             # Deserializing field: 'num'
14150             # my ($class, $value, $index, $input) = @_;
14151 0 0         die "Input buffer too short"
14152             if ($input_length - $_[2]) < 4;
14153 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
14154 0           $_[2] += 4;
14155             die "Out of bounds 'int': $_[1]->{num}"
14156 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
14157             }
14158             # @_: ($class, $value, $index, $output) = @_;
14159             sub serialize_connect_num_of_storage_pools_ret {
14160 0 0   0 0   croak "Missing required input 'struct' value"
14161             unless defined $_[1];
14162              
14163             # Serializing field: 'num'
14164             croak "Missing required input value 'num'"
14165 0 0         unless exists $_[1]->{num};
14166             # my ($class, $value, $index, $output) = @_;
14167             croak "Missing required input 'int' value"
14168 0 0         unless defined $_[1]->{num};
14169             die "Out of bounds 'int': $_[1]->{num}"
14170 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
14171             die "Non-integer 'int' value given: $_[1]->{num}"
14172 0 0         unless int($_[1]->{num}) == $_[1]->{num};
14173 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
14174 0           $_[2] += 4;
14175             }
14176             # @_: ($class, $value, $index, $input) = @_;
14177             sub deserialize_connect_list_storage_pools_args {
14178 0     0 0   my $input_length = length $_[3];
14179 0           $_[1] = {};
14180             # Deserializing field: 'maxnames'
14181             # my ($class, $value, $index, $input) = @_;
14182 0 0         die "Input buffer too short"
14183             if ($input_length - $_[2]) < 4;
14184 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
14185 0           $_[2] += 4;
14186             die "Out of bounds 'int': $_[1]->{maxnames}"
14187 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
14188             }
14189             # @_: ($class, $value, $index, $output) = @_;
14190             sub serialize_connect_list_storage_pools_args {
14191 0 0   0 0   croak "Missing required input 'struct' value"
14192             unless defined $_[1];
14193              
14194             # Serializing field: 'maxnames'
14195             croak "Missing required input value 'maxnames'"
14196 0 0         unless exists $_[1]->{maxnames};
14197             # my ($class, $value, $index, $output) = @_;
14198             croak "Missing required input 'int' value"
14199 0 0         unless defined $_[1]->{maxnames};
14200             die "Out of bounds 'int': $_[1]->{maxnames}"
14201 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
14202             die "Non-integer 'int' value given: $_[1]->{maxnames}"
14203 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
14204 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
14205 0           $_[2] += 4;
14206             }
14207             # @_: ($class, $value, $index, $input) = @_;
14208             sub deserialize_connect_list_storage_pools_ret {
14209 0     0 0   my $input_length = length $_[3];
14210 0           $_[1] = {};
14211             # Deserializing field: 'names'
14212             # my ($class, $value, $index, $input) = @_;
14213 0           do {
14214 0 0         die "Input buffer too short"
14215             if ($input_length - $_[2]) < 4;
14216 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
14217 0           $_[2] += 4;
14218              
14219 0 0         die "Array too long (max: 16384): $len"
14220             unless ($len <= 16384);
14221 0           $_[1]->{names} = [];
14222 0           for my $i1 ( 0 .. ($len - 1) ) {
14223             # my ($class, $value, $index, $input) = @_;
14224 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
14225             }
14226             };
14227             }
14228             # @_: ($class, $value, $index, $output) = @_;
14229             sub serialize_connect_list_storage_pools_ret {
14230 0 0   0 0   croak "Missing required input 'struct' value"
14231             unless defined $_[1];
14232              
14233             # Serializing field: 'names'
14234             croak "Missing required input value 'names'"
14235 0 0         unless exists $_[1]->{names};
14236             # my ($class, $value, $index, $output) = @_;
14237             croak "Missing required input 'array' value"
14238 0 0         unless defined $_[1]->{names};
14239 0           do {
14240 0           my $len = scalar @{ $_[1]->{names} };
  0            
14241 0 0         die "Array too long (max: 16384): $len"
14242             unless ($len <= 16384);
14243              
14244 0           substr( $_[3], $_[2] ) = pack("L>", $len);
14245 0           $_[2] += 4;
14246 0           for my $i1 ( 0 .. ($len - 1) ) {
14247             # my ($class, $value, $index, $output) = @_;
14248 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
14249             }
14250             };
14251             }
14252             # @_: ($class, $value, $index, $input) = @_;
14253             sub deserialize_connect_num_of_defined_storage_pools_ret {
14254 0     0 0   my $input_length = length $_[3];
14255 0           $_[1] = {};
14256             # Deserializing field: 'num'
14257             # my ($class, $value, $index, $input) = @_;
14258 0 0         die "Input buffer too short"
14259             if ($input_length - $_[2]) < 4;
14260 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
14261 0           $_[2] += 4;
14262             die "Out of bounds 'int': $_[1]->{num}"
14263 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
14264             }
14265             # @_: ($class, $value, $index, $output) = @_;
14266             sub serialize_connect_num_of_defined_storage_pools_ret {
14267 0 0   0 0   croak "Missing required input 'struct' value"
14268             unless defined $_[1];
14269              
14270             # Serializing field: 'num'
14271             croak "Missing required input value 'num'"
14272 0 0         unless exists $_[1]->{num};
14273             # my ($class, $value, $index, $output) = @_;
14274             croak "Missing required input 'int' value"
14275 0 0         unless defined $_[1]->{num};
14276             die "Out of bounds 'int': $_[1]->{num}"
14277 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
14278             die "Non-integer 'int' value given: $_[1]->{num}"
14279 0 0         unless int($_[1]->{num}) == $_[1]->{num};
14280 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
14281 0           $_[2] += 4;
14282             }
14283             # @_: ($class, $value, $index, $input) = @_;
14284             sub deserialize_connect_list_defined_storage_pools_args {
14285 0     0 0   my $input_length = length $_[3];
14286 0           $_[1] = {};
14287             # Deserializing field: 'maxnames'
14288             # my ($class, $value, $index, $input) = @_;
14289 0 0         die "Input buffer too short"
14290             if ($input_length - $_[2]) < 4;
14291 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
14292 0           $_[2] += 4;
14293             die "Out of bounds 'int': $_[1]->{maxnames}"
14294 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
14295             }
14296             # @_: ($class, $value, $index, $output) = @_;
14297             sub serialize_connect_list_defined_storage_pools_args {
14298 0 0   0 0   croak "Missing required input 'struct' value"
14299             unless defined $_[1];
14300              
14301             # Serializing field: 'maxnames'
14302             croak "Missing required input value 'maxnames'"
14303 0 0         unless exists $_[1]->{maxnames};
14304             # my ($class, $value, $index, $output) = @_;
14305             croak "Missing required input 'int' value"
14306 0 0         unless defined $_[1]->{maxnames};
14307             die "Out of bounds 'int': $_[1]->{maxnames}"
14308 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
14309             die "Non-integer 'int' value given: $_[1]->{maxnames}"
14310 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
14311 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
14312 0           $_[2] += 4;
14313             }
14314             # @_: ($class, $value, $index, $input) = @_;
14315             sub deserialize_connect_list_defined_storage_pools_ret {
14316 0     0 0   my $input_length = length $_[3];
14317 0           $_[1] = {};
14318             # Deserializing field: 'names'
14319             # my ($class, $value, $index, $input) = @_;
14320 0           do {
14321 0 0         die "Input buffer too short"
14322             if ($input_length - $_[2]) < 4;
14323 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
14324 0           $_[2] += 4;
14325              
14326 0 0         die "Array too long (max: 16384): $len"
14327             unless ($len <= 16384);
14328 0           $_[1]->{names} = [];
14329 0           for my $i1 ( 0 .. ($len - 1) ) {
14330             # my ($class, $value, $index, $input) = @_;
14331 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
14332             }
14333             };
14334             }
14335             # @_: ($class, $value, $index, $output) = @_;
14336             sub serialize_connect_list_defined_storage_pools_ret {
14337 0 0   0 0   croak "Missing required input 'struct' value"
14338             unless defined $_[1];
14339              
14340             # Serializing field: 'names'
14341             croak "Missing required input value 'names'"
14342 0 0         unless exists $_[1]->{names};
14343             # my ($class, $value, $index, $output) = @_;
14344             croak "Missing required input 'array' value"
14345 0 0         unless defined $_[1]->{names};
14346 0           do {
14347 0           my $len = scalar @{ $_[1]->{names} };
  0            
14348 0 0         die "Array too long (max: 16384): $len"
14349             unless ($len <= 16384);
14350              
14351 0           substr( $_[3], $_[2] ) = pack("L>", $len);
14352 0           $_[2] += 4;
14353 0           for my $i1 ( 0 .. ($len - 1) ) {
14354             # my ($class, $value, $index, $output) = @_;
14355 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
14356             }
14357             };
14358             }
14359             # @_: ($class, $value, $index, $input) = @_;
14360             sub deserialize_connect_find_storage_pool_sources_args {
14361 0     0 0   my $input_length = length $_[3];
14362 0           $_[1] = {};
14363             # Deserializing field: 'type'
14364             # my ($class, $value, $index, $input) = @_;
14365 0           $_[0]->deserialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
14366              
14367             # Deserializing field: 'srcSpec'
14368             # my ($class, $value, $index, $input) = @_;
14369 0           $_[0]->deserialize_string( $_[1]->{srcSpec}, $_[2], $_[3] );
14370              
14371             # Deserializing field: 'flags'
14372             # my ($class, $value, $index, $input) = @_;
14373 0 0         die "Input buffer too short"
14374             if ($input_length - $_[2]) < 4;
14375 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
14376 0           $_[2] += 4;
14377             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14378 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14379             }
14380             # @_: ($class, $value, $index, $output) = @_;
14381             sub serialize_connect_find_storage_pool_sources_args {
14382 0 0   0 0   croak "Missing required input 'struct' value"
14383             unless defined $_[1];
14384              
14385             # Serializing field: 'type'
14386             croak "Missing required input value 'type'"
14387 0 0         unless exists $_[1]->{type};
14388             # my ($class, $value, $index, $output) = @_;
14389 0           $_[0]->serialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
14390              
14391             # Serializing field: 'srcSpec'
14392             croak "Missing required input value 'srcSpec'"
14393 0 0         unless exists $_[1]->{srcSpec};
14394             # my ($class, $value, $index, $output) = @_;
14395 0           $_[0]->serialize_string( $_[1]->{srcSpec}, $_[2], $_[3] );
14396              
14397             # Serializing field: 'flags'
14398             croak "Missing required input value 'flags'"
14399 0 0         unless exists $_[1]->{flags};
14400             # my ($class, $value, $index, $output) = @_;
14401             croak "Missing required input 'unsigned int' value"
14402 0 0         unless defined $_[1]->{flags};
14403             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14404 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14405             die "Non-integer 'int' value given: $_[1]->{flags}"
14406 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
14407 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
14408 0           $_[2] += 4;
14409             }
14410             # @_: ($class, $value, $index, $input) = @_;
14411             sub deserialize_connect_find_storage_pool_sources_ret {
14412 0     0 0   my $input_length = length $_[3];
14413 0           $_[1] = {};
14414             # Deserializing field: 'xml'
14415             # my ($class, $value, $index, $input) = @_;
14416 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
14417             }
14418             # @_: ($class, $value, $index, $output) = @_;
14419             sub serialize_connect_find_storage_pool_sources_ret {
14420 0 0   0 0   croak "Missing required input 'struct' value"
14421             unless defined $_[1];
14422              
14423             # Serializing field: 'xml'
14424             croak "Missing required input value 'xml'"
14425 0 0         unless exists $_[1]->{xml};
14426             # my ($class, $value, $index, $output) = @_;
14427 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
14428             }
14429             # @_: ($class, $value, $index, $input) = @_;
14430             sub deserialize_storage_pool_lookup_by_uuid_args {
14431 0     0 0   my $input_length = length $_[3];
14432 0           $_[1] = {};
14433             # Deserializing field: 'uuid'
14434             # my ($class, $value, $index, $input) = @_;
14435 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
14436             }
14437             # @_: ($class, $value, $index, $output) = @_;
14438             sub serialize_storage_pool_lookup_by_uuid_args {
14439 0 0   0 0   croak "Missing required input 'struct' value"
14440             unless defined $_[1];
14441              
14442             # Serializing field: 'uuid'
14443             croak "Missing required input value 'uuid'"
14444 0 0         unless exists $_[1]->{uuid};
14445             # my ($class, $value, $index, $output) = @_;
14446 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
14447             }
14448             # @_: ($class, $value, $index, $input) = @_;
14449             sub deserialize_storage_pool_lookup_by_uuid_ret {
14450 0     0 0   my $input_length = length $_[3];
14451 0           $_[1] = {};
14452             # Deserializing field: 'pool'
14453             # my ($class, $value, $index, $input) = @_;
14454 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14455             }
14456             # @_: ($class, $value, $index, $output) = @_;
14457             sub serialize_storage_pool_lookup_by_uuid_ret {
14458 0 0   0 0   croak "Missing required input 'struct' value"
14459             unless defined $_[1];
14460              
14461             # Serializing field: 'pool'
14462             croak "Missing required input value 'pool'"
14463 0 0         unless exists $_[1]->{pool};
14464             # my ($class, $value, $index, $output) = @_;
14465 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14466             }
14467             # @_: ($class, $value, $index, $input) = @_;
14468             sub deserialize_storage_pool_lookup_by_name_args {
14469 0     0 0   my $input_length = length $_[3];
14470 0           $_[1] = {};
14471             # Deserializing field: 'name'
14472             # my ($class, $value, $index, $input) = @_;
14473 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
14474             }
14475             # @_: ($class, $value, $index, $output) = @_;
14476             sub serialize_storage_pool_lookup_by_name_args {
14477 0 0   0 0   croak "Missing required input 'struct' value"
14478             unless defined $_[1];
14479              
14480             # Serializing field: 'name'
14481             croak "Missing required input value 'name'"
14482 0 0         unless exists $_[1]->{name};
14483             # my ($class, $value, $index, $output) = @_;
14484 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
14485             }
14486             # @_: ($class, $value, $index, $input) = @_;
14487             sub deserialize_storage_pool_lookup_by_name_ret {
14488 0     0 0   my $input_length = length $_[3];
14489 0           $_[1] = {};
14490             # Deserializing field: 'pool'
14491             # my ($class, $value, $index, $input) = @_;
14492 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14493             }
14494             # @_: ($class, $value, $index, $output) = @_;
14495             sub serialize_storage_pool_lookup_by_name_ret {
14496 0 0   0 0   croak "Missing required input 'struct' value"
14497             unless defined $_[1];
14498              
14499             # Serializing field: 'pool'
14500             croak "Missing required input value 'pool'"
14501 0 0         unless exists $_[1]->{pool};
14502             # my ($class, $value, $index, $output) = @_;
14503 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14504             }
14505             # @_: ($class, $value, $index, $input) = @_;
14506             sub deserialize_storage_pool_lookup_by_volume_args {
14507 0     0 0   my $input_length = length $_[3];
14508 0           $_[1] = {};
14509             # Deserializing field: 'vol'
14510             # my ($class, $value, $index, $input) = @_;
14511 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
14512             }
14513             # @_: ($class, $value, $index, $output) = @_;
14514             sub serialize_storage_pool_lookup_by_volume_args {
14515 0 0   0 0   croak "Missing required input 'struct' value"
14516             unless defined $_[1];
14517              
14518             # Serializing field: 'vol'
14519             croak "Missing required input value 'vol'"
14520 0 0         unless exists $_[1]->{vol};
14521             # my ($class, $value, $index, $output) = @_;
14522 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
14523             }
14524             # @_: ($class, $value, $index, $input) = @_;
14525             sub deserialize_storage_pool_lookup_by_volume_ret {
14526 0     0 0   my $input_length = length $_[3];
14527 0           $_[1] = {};
14528             # Deserializing field: 'pool'
14529             # my ($class, $value, $index, $input) = @_;
14530 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14531             }
14532             # @_: ($class, $value, $index, $output) = @_;
14533             sub serialize_storage_pool_lookup_by_volume_ret {
14534 0 0   0 0   croak "Missing required input 'struct' value"
14535             unless defined $_[1];
14536              
14537             # Serializing field: 'pool'
14538             croak "Missing required input value 'pool'"
14539 0 0         unless exists $_[1]->{pool};
14540             # my ($class, $value, $index, $output) = @_;
14541 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14542             }
14543             # @_: ($class, $value, $index, $input) = @_;
14544             sub deserialize_storage_pool_lookup_by_target_path_args {
14545 0     0 0   my $input_length = length $_[3];
14546 0           $_[1] = {};
14547             # Deserializing field: 'path'
14548             # my ($class, $value, $index, $input) = @_;
14549 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
14550             }
14551             # @_: ($class, $value, $index, $output) = @_;
14552             sub serialize_storage_pool_lookup_by_target_path_args {
14553 0 0   0 0   croak "Missing required input 'struct' value"
14554             unless defined $_[1];
14555              
14556             # Serializing field: 'path'
14557             croak "Missing required input value 'path'"
14558 0 0         unless exists $_[1]->{path};
14559             # my ($class, $value, $index, $output) = @_;
14560 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
14561             }
14562             # @_: ($class, $value, $index, $input) = @_;
14563             sub deserialize_storage_pool_lookup_by_target_path_ret {
14564 0     0 0   my $input_length = length $_[3];
14565 0           $_[1] = {};
14566             # Deserializing field: 'pool'
14567             # my ($class, $value, $index, $input) = @_;
14568 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14569             }
14570             # @_: ($class, $value, $index, $output) = @_;
14571             sub serialize_storage_pool_lookup_by_target_path_ret {
14572 0 0   0 0   croak "Missing required input 'struct' value"
14573             unless defined $_[1];
14574              
14575             # Serializing field: 'pool'
14576             croak "Missing required input value 'pool'"
14577 0 0         unless exists $_[1]->{pool};
14578             # my ($class, $value, $index, $output) = @_;
14579 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14580             }
14581             # @_: ($class, $value, $index, $input) = @_;
14582             sub deserialize_storage_pool_create_xml_args {
14583 0     0 0   my $input_length = length $_[3];
14584 0           $_[1] = {};
14585             # Deserializing field: 'xml'
14586             # my ($class, $value, $index, $input) = @_;
14587 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
14588              
14589             # Deserializing field: 'flags'
14590             # my ($class, $value, $index, $input) = @_;
14591 0 0         die "Input buffer too short"
14592             if ($input_length - $_[2]) < 4;
14593 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
14594 0           $_[2] += 4;
14595             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14596 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14597             }
14598             # @_: ($class, $value, $index, $output) = @_;
14599             sub serialize_storage_pool_create_xml_args {
14600 0 0   0 0   croak "Missing required input 'struct' value"
14601             unless defined $_[1];
14602              
14603             # Serializing field: 'xml'
14604             croak "Missing required input value 'xml'"
14605 0 0         unless exists $_[1]->{xml};
14606             # my ($class, $value, $index, $output) = @_;
14607 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
14608              
14609             # Serializing field: 'flags'
14610             croak "Missing required input value 'flags'"
14611 0 0         unless exists $_[1]->{flags};
14612             # my ($class, $value, $index, $output) = @_;
14613             croak "Missing required input 'unsigned int' value"
14614 0 0         unless defined $_[1]->{flags};
14615             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14616 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14617             die "Non-integer 'int' value given: $_[1]->{flags}"
14618 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
14619 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
14620 0           $_[2] += 4;
14621             }
14622             # @_: ($class, $value, $index, $input) = @_;
14623             sub deserialize_storage_pool_create_xml_ret {
14624 0     0 0   my $input_length = length $_[3];
14625 0           $_[1] = {};
14626             # Deserializing field: 'pool'
14627             # my ($class, $value, $index, $input) = @_;
14628 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14629             }
14630             # @_: ($class, $value, $index, $output) = @_;
14631             sub serialize_storage_pool_create_xml_ret {
14632 0 0   0 0   croak "Missing required input 'struct' value"
14633             unless defined $_[1];
14634              
14635             # Serializing field: 'pool'
14636             croak "Missing required input value 'pool'"
14637 0 0         unless exists $_[1]->{pool};
14638             # my ($class, $value, $index, $output) = @_;
14639 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14640             }
14641             # @_: ($class, $value, $index, $input) = @_;
14642             sub deserialize_storage_pool_define_xml_args {
14643 0     0 0   my $input_length = length $_[3];
14644 0           $_[1] = {};
14645             # Deserializing field: 'xml'
14646             # my ($class, $value, $index, $input) = @_;
14647 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
14648              
14649             # Deserializing field: 'flags'
14650             # my ($class, $value, $index, $input) = @_;
14651 0 0         die "Input buffer too short"
14652             if ($input_length - $_[2]) < 4;
14653 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
14654 0           $_[2] += 4;
14655             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14656 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14657             }
14658             # @_: ($class, $value, $index, $output) = @_;
14659             sub serialize_storage_pool_define_xml_args {
14660 0 0   0 0   croak "Missing required input 'struct' value"
14661             unless defined $_[1];
14662              
14663             # Serializing field: 'xml'
14664             croak "Missing required input value 'xml'"
14665 0 0         unless exists $_[1]->{xml};
14666             # my ($class, $value, $index, $output) = @_;
14667 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
14668              
14669             # Serializing field: 'flags'
14670             croak "Missing required input value 'flags'"
14671 0 0         unless exists $_[1]->{flags};
14672             # my ($class, $value, $index, $output) = @_;
14673             croak "Missing required input 'unsigned int' value"
14674 0 0         unless defined $_[1]->{flags};
14675             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14676 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14677             die "Non-integer 'int' value given: $_[1]->{flags}"
14678 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
14679 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
14680 0           $_[2] += 4;
14681             }
14682             # @_: ($class, $value, $index, $input) = @_;
14683             sub deserialize_storage_pool_define_xml_ret {
14684 0     0 0   my $input_length = length $_[3];
14685 0           $_[1] = {};
14686             # Deserializing field: 'pool'
14687             # my ($class, $value, $index, $input) = @_;
14688 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14689             }
14690             # @_: ($class, $value, $index, $output) = @_;
14691             sub serialize_storage_pool_define_xml_ret {
14692 0 0   0 0   croak "Missing required input 'struct' value"
14693             unless defined $_[1];
14694              
14695             # Serializing field: 'pool'
14696             croak "Missing required input value 'pool'"
14697 0 0         unless exists $_[1]->{pool};
14698             # my ($class, $value, $index, $output) = @_;
14699 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14700             }
14701             # @_: ($class, $value, $index, $input) = @_;
14702             sub deserialize_storage_pool_build_args {
14703 0     0 0   my $input_length = length $_[3];
14704 0           $_[1] = {};
14705             # Deserializing field: 'pool'
14706             # my ($class, $value, $index, $input) = @_;
14707 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14708              
14709             # Deserializing field: 'flags'
14710             # my ($class, $value, $index, $input) = @_;
14711 0 0         die "Input buffer too short"
14712             if ($input_length - $_[2]) < 4;
14713 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
14714 0           $_[2] += 4;
14715             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14716 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14717             }
14718             # @_: ($class, $value, $index, $output) = @_;
14719             sub serialize_storage_pool_build_args {
14720 0 0   0 0   croak "Missing required input 'struct' value"
14721             unless defined $_[1];
14722              
14723             # Serializing field: 'pool'
14724             croak "Missing required input value 'pool'"
14725 0 0         unless exists $_[1]->{pool};
14726             # my ($class, $value, $index, $output) = @_;
14727 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14728              
14729             # Serializing field: 'flags'
14730             croak "Missing required input value 'flags'"
14731 0 0         unless exists $_[1]->{flags};
14732             # my ($class, $value, $index, $output) = @_;
14733             croak "Missing required input 'unsigned int' value"
14734 0 0         unless defined $_[1]->{flags};
14735             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14736 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14737             die "Non-integer 'int' value given: $_[1]->{flags}"
14738 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
14739 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
14740 0           $_[2] += 4;
14741             }
14742             # @_: ($class, $value, $index, $input) = @_;
14743             sub deserialize_storage_pool_undefine_args {
14744 0     0 0   my $input_length = length $_[3];
14745 0           $_[1] = {};
14746             # Deserializing field: 'pool'
14747             # my ($class, $value, $index, $input) = @_;
14748 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14749             }
14750             # @_: ($class, $value, $index, $output) = @_;
14751             sub serialize_storage_pool_undefine_args {
14752 0 0   0 0   croak "Missing required input 'struct' value"
14753             unless defined $_[1];
14754              
14755             # Serializing field: 'pool'
14756             croak "Missing required input value 'pool'"
14757 0 0         unless exists $_[1]->{pool};
14758             # my ($class, $value, $index, $output) = @_;
14759 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14760             }
14761             # @_: ($class, $value, $index, $input) = @_;
14762             sub deserialize_storage_pool_create_args {
14763 0     0 0   my $input_length = length $_[3];
14764 0           $_[1] = {};
14765             # Deserializing field: 'pool'
14766             # my ($class, $value, $index, $input) = @_;
14767 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14768              
14769             # Deserializing field: 'flags'
14770             # my ($class, $value, $index, $input) = @_;
14771 0 0         die "Input buffer too short"
14772             if ($input_length - $_[2]) < 4;
14773 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
14774 0           $_[2] += 4;
14775             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14776 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14777             }
14778             # @_: ($class, $value, $index, $output) = @_;
14779             sub serialize_storage_pool_create_args {
14780 0 0   0 0   croak "Missing required input 'struct' value"
14781             unless defined $_[1];
14782              
14783             # Serializing field: 'pool'
14784             croak "Missing required input value 'pool'"
14785 0 0         unless exists $_[1]->{pool};
14786             # my ($class, $value, $index, $output) = @_;
14787 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14788              
14789             # Serializing field: 'flags'
14790             croak "Missing required input value 'flags'"
14791 0 0         unless exists $_[1]->{flags};
14792             # my ($class, $value, $index, $output) = @_;
14793             croak "Missing required input 'unsigned int' value"
14794 0 0         unless defined $_[1]->{flags};
14795             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14796 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14797             die "Non-integer 'int' value given: $_[1]->{flags}"
14798 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
14799 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
14800 0           $_[2] += 4;
14801             }
14802             # @_: ($class, $value, $index, $input) = @_;
14803             sub deserialize_storage_pool_destroy_args {
14804 0     0 0   my $input_length = length $_[3];
14805 0           $_[1] = {};
14806             # Deserializing field: 'pool'
14807             # my ($class, $value, $index, $input) = @_;
14808 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14809             }
14810             # @_: ($class, $value, $index, $output) = @_;
14811             sub serialize_storage_pool_destroy_args {
14812 0 0   0 0   croak "Missing required input 'struct' value"
14813             unless defined $_[1];
14814              
14815             # Serializing field: 'pool'
14816             croak "Missing required input value 'pool'"
14817 0 0         unless exists $_[1]->{pool};
14818             # my ($class, $value, $index, $output) = @_;
14819 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14820             }
14821             # @_: ($class, $value, $index, $input) = @_;
14822             sub deserialize_storage_pool_delete_args {
14823 0     0 0   my $input_length = length $_[3];
14824 0           $_[1] = {};
14825             # Deserializing field: 'pool'
14826             # my ($class, $value, $index, $input) = @_;
14827 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14828              
14829             # Deserializing field: 'flags'
14830             # my ($class, $value, $index, $input) = @_;
14831 0 0         die "Input buffer too short"
14832             if ($input_length - $_[2]) < 4;
14833 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
14834 0           $_[2] += 4;
14835             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14836 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14837             }
14838             # @_: ($class, $value, $index, $output) = @_;
14839             sub serialize_storage_pool_delete_args {
14840 0 0   0 0   croak "Missing required input 'struct' value"
14841             unless defined $_[1];
14842              
14843             # Serializing field: 'pool'
14844             croak "Missing required input value 'pool'"
14845 0 0         unless exists $_[1]->{pool};
14846             # my ($class, $value, $index, $output) = @_;
14847 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14848              
14849             # Serializing field: 'flags'
14850             croak "Missing required input value 'flags'"
14851 0 0         unless exists $_[1]->{flags};
14852             # my ($class, $value, $index, $output) = @_;
14853             croak "Missing required input 'unsigned int' value"
14854 0 0         unless defined $_[1]->{flags};
14855             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14856 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14857             die "Non-integer 'int' value given: $_[1]->{flags}"
14858 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
14859 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
14860 0           $_[2] += 4;
14861             }
14862             # @_: ($class, $value, $index, $input) = @_;
14863             sub deserialize_storage_pool_refresh_args {
14864 0     0 0   my $input_length = length $_[3];
14865 0           $_[1] = {};
14866             # Deserializing field: 'pool'
14867             # my ($class, $value, $index, $input) = @_;
14868 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14869              
14870             # Deserializing field: 'flags'
14871             # my ($class, $value, $index, $input) = @_;
14872 0 0         die "Input buffer too short"
14873             if ($input_length - $_[2]) < 4;
14874 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
14875 0           $_[2] += 4;
14876             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14877 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14878             }
14879             # @_: ($class, $value, $index, $output) = @_;
14880             sub serialize_storage_pool_refresh_args {
14881 0 0   0 0   croak "Missing required input 'struct' value"
14882             unless defined $_[1];
14883              
14884             # Serializing field: 'pool'
14885             croak "Missing required input value 'pool'"
14886 0 0         unless exists $_[1]->{pool};
14887             # my ($class, $value, $index, $output) = @_;
14888 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14889              
14890             # Serializing field: 'flags'
14891             croak "Missing required input value 'flags'"
14892 0 0         unless exists $_[1]->{flags};
14893             # my ($class, $value, $index, $output) = @_;
14894             croak "Missing required input 'unsigned int' value"
14895 0 0         unless defined $_[1]->{flags};
14896             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14897 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14898             die "Non-integer 'int' value given: $_[1]->{flags}"
14899 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
14900 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
14901 0           $_[2] += 4;
14902             }
14903             # @_: ($class, $value, $index, $input) = @_;
14904             sub deserialize_storage_pool_get_xml_desc_args {
14905 0     0 0   my $input_length = length $_[3];
14906 0           $_[1] = {};
14907             # Deserializing field: 'pool'
14908             # my ($class, $value, $index, $input) = @_;
14909 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14910              
14911             # Deserializing field: 'flags'
14912             # my ($class, $value, $index, $input) = @_;
14913 0 0         die "Input buffer too short"
14914             if ($input_length - $_[2]) < 4;
14915 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
14916 0           $_[2] += 4;
14917             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14918 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14919             }
14920             # @_: ($class, $value, $index, $output) = @_;
14921             sub serialize_storage_pool_get_xml_desc_args {
14922 0 0   0 0   croak "Missing required input 'struct' value"
14923             unless defined $_[1];
14924              
14925             # Serializing field: 'pool'
14926             croak "Missing required input value 'pool'"
14927 0 0         unless exists $_[1]->{pool};
14928             # my ($class, $value, $index, $output) = @_;
14929 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14930              
14931             # Serializing field: 'flags'
14932             croak "Missing required input value 'flags'"
14933 0 0         unless exists $_[1]->{flags};
14934             # my ($class, $value, $index, $output) = @_;
14935             croak "Missing required input 'unsigned int' value"
14936 0 0         unless defined $_[1]->{flags};
14937             die "Out of bounds 'unsigned int': $_[1]->{flags}"
14938 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
14939             die "Non-integer 'int' value given: $_[1]->{flags}"
14940 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
14941 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
14942 0           $_[2] += 4;
14943             }
14944             # @_: ($class, $value, $index, $input) = @_;
14945             sub deserialize_storage_pool_get_xml_desc_ret {
14946 0     0 0   my $input_length = length $_[3];
14947 0           $_[1] = {};
14948             # Deserializing field: 'xml'
14949             # my ($class, $value, $index, $input) = @_;
14950 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
14951             }
14952             # @_: ($class, $value, $index, $output) = @_;
14953             sub serialize_storage_pool_get_xml_desc_ret {
14954 0 0   0 0   croak "Missing required input 'struct' value"
14955             unless defined $_[1];
14956              
14957             # Serializing field: 'xml'
14958             croak "Missing required input value 'xml'"
14959 0 0         unless exists $_[1]->{xml};
14960             # my ($class, $value, $index, $output) = @_;
14961 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
14962             }
14963             # @_: ($class, $value, $index, $input) = @_;
14964             sub deserialize_storage_pool_get_info_args {
14965 0     0 0   my $input_length = length $_[3];
14966 0           $_[1] = {};
14967             # Deserializing field: 'pool'
14968             # my ($class, $value, $index, $input) = @_;
14969 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14970             }
14971             # @_: ($class, $value, $index, $output) = @_;
14972             sub serialize_storage_pool_get_info_args {
14973 0 0   0 0   croak "Missing required input 'struct' value"
14974             unless defined $_[1];
14975              
14976             # Serializing field: 'pool'
14977             croak "Missing required input value 'pool'"
14978 0 0         unless exists $_[1]->{pool};
14979             # my ($class, $value, $index, $output) = @_;
14980 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
14981             }
14982             # @_: ($class, $value, $index, $input) = @_;
14983             sub deserialize_storage_pool_get_info_ret {
14984 0     0 0   my $input_length = length $_[3];
14985 0           $_[1] = {};
14986             # Deserializing field: 'state'
14987             # my ($class, $value, $index, $input) = @_;
14988 0 0         die "Input buffer too short"
14989             if ($input_length - $_[2]) < 4;
14990 0           $_[1]->{state} = unpack("L>", substr( $_[3], $_[2] ));
14991 0           $_[2] += 4;
14992             die "Out of bounds 'unsigned char': $_[1]->{state}"
14993 0 0 0       unless (0 <= $_[1]->{state} and $_[1]->{state} <= 255);
14994              
14995             # Deserializing field: 'capacity'
14996             # my ($class, $value, $index, $input) = @_;
14997 0 0         die "Input buffer too short"
14998             if ($input_length - $_[2]) < 8;
14999 0           $_[1]->{capacity} = unpack("Q>", substr( $_[3], $_[2] ));
15000 0           $_[2] += 8;
15001             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
15002             unless (0 <= $_[1]->{capacity}
15003 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
15004              
15005             # Deserializing field: 'allocation'
15006             # my ($class, $value, $index, $input) = @_;
15007 0 0         die "Input buffer too short"
15008             if ($input_length - $_[2]) < 8;
15009 0           $_[1]->{allocation} = unpack("Q>", substr( $_[3], $_[2] ));
15010 0           $_[2] += 8;
15011             die "Out of bounds 'unsigned hyper': $_[1]->{allocation}"
15012             unless (0 <= $_[1]->{allocation}
15013 0 0 0       and $_[1]->{allocation} <= 18446744073709551615);
15014              
15015             # Deserializing field: 'available'
15016             # my ($class, $value, $index, $input) = @_;
15017 0 0         die "Input buffer too short"
15018             if ($input_length - $_[2]) < 8;
15019 0           $_[1]->{available} = unpack("Q>", substr( $_[3], $_[2] ));
15020 0           $_[2] += 8;
15021             die "Out of bounds 'unsigned hyper': $_[1]->{available}"
15022             unless (0 <= $_[1]->{available}
15023 0 0 0       and $_[1]->{available} <= 18446744073709551615);
15024             }
15025             # @_: ($class, $value, $index, $output) = @_;
15026             sub serialize_storage_pool_get_info_ret {
15027 0 0   0 0   croak "Missing required input 'struct' value"
15028             unless defined $_[1];
15029              
15030             # Serializing field: 'state'
15031             croak "Missing required input value 'state'"
15032 0 0         unless exists $_[1]->{state};
15033             # my ($class, $value, $index, $output) = @_;
15034             croak "Missing required input 'char' value"
15035 0 0         unless defined $_[1]->{state};
15036             die "Out of bounds 'unsigned char': $_[1]->{state}"
15037 0 0 0       unless (0 <= $_[1]->{state} and $_[1]->{state} <= 255);
15038             die "Non-integer 'char' value given: $_[1]->{state}"
15039 0 0         unless int($_[1]->{state}) == $_[1]->{state};
15040 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{state});
15041 0           $_[2] += 4;
15042              
15043             # Serializing field: 'capacity'
15044             croak "Missing required input value 'capacity'"
15045 0 0         unless exists $_[1]->{capacity};
15046             # my ($class, $value, $index, $output) = @_;
15047             croak "Missing required input 'unsigned long' value"
15048 0 0         unless defined $_[1]->{capacity};
15049             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
15050             unless (0 <= $_[1]->{capacity}
15051 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
15052             die "Non-integer 'long' value given: $_[1]->{capacity}"
15053 0 0         unless int($_[1]->{capacity}) == $_[1]->{capacity};
15054 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{capacity});
15055 0           $_[2] += 8;
15056              
15057             # Serializing field: 'allocation'
15058             croak "Missing required input value 'allocation'"
15059 0 0         unless exists $_[1]->{allocation};
15060             # my ($class, $value, $index, $output) = @_;
15061             croak "Missing required input 'unsigned long' value"
15062 0 0         unless defined $_[1]->{allocation};
15063             die "Out of bounds 'unsigned hyper': $_[1]->{allocation}"
15064             unless (0 <= $_[1]->{allocation}
15065 0 0 0       and $_[1]->{allocation} <= 18446744073709551615);
15066             die "Non-integer 'long' value given: $_[1]->{allocation}"
15067 0 0         unless int($_[1]->{allocation}) == $_[1]->{allocation};
15068 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{allocation});
15069 0           $_[2] += 8;
15070              
15071             # Serializing field: 'available'
15072             croak "Missing required input value 'available'"
15073 0 0         unless exists $_[1]->{available};
15074             # my ($class, $value, $index, $output) = @_;
15075             croak "Missing required input 'unsigned long' value"
15076 0 0         unless defined $_[1]->{available};
15077             die "Out of bounds 'unsigned hyper': $_[1]->{available}"
15078             unless (0 <= $_[1]->{available}
15079 0 0 0       and $_[1]->{available} <= 18446744073709551615);
15080             die "Non-integer 'long' value given: $_[1]->{available}"
15081 0 0         unless int($_[1]->{available}) == $_[1]->{available};
15082 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{available});
15083 0           $_[2] += 8;
15084             }
15085             # @_: ($class, $value, $index, $input) = @_;
15086             sub deserialize_storage_pool_get_autostart_args {
15087 0     0 0   my $input_length = length $_[3];
15088 0           $_[1] = {};
15089             # Deserializing field: 'pool'
15090             # my ($class, $value, $index, $input) = @_;
15091 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15092             }
15093             # @_: ($class, $value, $index, $output) = @_;
15094             sub serialize_storage_pool_get_autostart_args {
15095 0 0   0 0   croak "Missing required input 'struct' value"
15096             unless defined $_[1];
15097              
15098             # Serializing field: 'pool'
15099             croak "Missing required input value 'pool'"
15100 0 0         unless exists $_[1]->{pool};
15101             # my ($class, $value, $index, $output) = @_;
15102 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15103             }
15104             # @_: ($class, $value, $index, $input) = @_;
15105             sub deserialize_storage_pool_get_autostart_ret {
15106 0     0 0   my $input_length = length $_[3];
15107 0           $_[1] = {};
15108             # Deserializing field: 'autostart'
15109             # my ($class, $value, $index, $input) = @_;
15110 0 0         die "Input buffer too short"
15111             if ($input_length - $_[2]) < 4;
15112 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
15113 0           $_[2] += 4;
15114             die "Out of bounds 'int': $_[1]->{autostart}"
15115 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
15116             }
15117             # @_: ($class, $value, $index, $output) = @_;
15118             sub serialize_storage_pool_get_autostart_ret {
15119 0 0   0 0   croak "Missing required input 'struct' value"
15120             unless defined $_[1];
15121              
15122             # Serializing field: 'autostart'
15123             croak "Missing required input value 'autostart'"
15124 0 0         unless exists $_[1]->{autostart};
15125             # my ($class, $value, $index, $output) = @_;
15126             croak "Missing required input 'int' value"
15127 0 0         unless defined $_[1]->{autostart};
15128             die "Out of bounds 'int': $_[1]->{autostart}"
15129 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
15130             die "Non-integer 'int' value given: $_[1]->{autostart}"
15131 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
15132 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
15133 0           $_[2] += 4;
15134             }
15135             # @_: ($class, $value, $index, $input) = @_;
15136             sub deserialize_storage_pool_set_autostart_args {
15137 0     0 0   my $input_length = length $_[3];
15138 0           $_[1] = {};
15139             # Deserializing field: 'pool'
15140             # my ($class, $value, $index, $input) = @_;
15141 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15142              
15143             # Deserializing field: 'autostart'
15144             # my ($class, $value, $index, $input) = @_;
15145 0 0         die "Input buffer too short"
15146             if ($input_length - $_[2]) < 4;
15147 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
15148 0           $_[2] += 4;
15149             die "Out of bounds 'int': $_[1]->{autostart}"
15150 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
15151             }
15152             # @_: ($class, $value, $index, $output) = @_;
15153             sub serialize_storage_pool_set_autostart_args {
15154 0 0   0 0   croak "Missing required input 'struct' value"
15155             unless defined $_[1];
15156              
15157             # Serializing field: 'pool'
15158             croak "Missing required input value 'pool'"
15159 0 0         unless exists $_[1]->{pool};
15160             # my ($class, $value, $index, $output) = @_;
15161 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15162              
15163             # Serializing field: 'autostart'
15164             croak "Missing required input value 'autostart'"
15165 0 0         unless exists $_[1]->{autostart};
15166             # my ($class, $value, $index, $output) = @_;
15167             croak "Missing required input 'int' value"
15168 0 0         unless defined $_[1]->{autostart};
15169             die "Out of bounds 'int': $_[1]->{autostart}"
15170 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
15171             die "Non-integer 'int' value given: $_[1]->{autostart}"
15172 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
15173 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
15174 0           $_[2] += 4;
15175             }
15176             # @_: ($class, $value, $index, $input) = @_;
15177             sub deserialize_storage_pool_num_of_volumes_args {
15178 0     0 0   my $input_length = length $_[3];
15179 0           $_[1] = {};
15180             # Deserializing field: 'pool'
15181             # my ($class, $value, $index, $input) = @_;
15182 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15183             }
15184             # @_: ($class, $value, $index, $output) = @_;
15185             sub serialize_storage_pool_num_of_volumes_args {
15186 0 0   0 0   croak "Missing required input 'struct' value"
15187             unless defined $_[1];
15188              
15189             # Serializing field: 'pool'
15190             croak "Missing required input value 'pool'"
15191 0 0         unless exists $_[1]->{pool};
15192             # my ($class, $value, $index, $output) = @_;
15193 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15194             }
15195             # @_: ($class, $value, $index, $input) = @_;
15196             sub deserialize_storage_pool_num_of_volumes_ret {
15197 0     0 0   my $input_length = length $_[3];
15198 0           $_[1] = {};
15199             # Deserializing field: 'num'
15200             # my ($class, $value, $index, $input) = @_;
15201 0 0         die "Input buffer too short"
15202             if ($input_length - $_[2]) < 4;
15203 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
15204 0           $_[2] += 4;
15205             die "Out of bounds 'int': $_[1]->{num}"
15206 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
15207             }
15208             # @_: ($class, $value, $index, $output) = @_;
15209             sub serialize_storage_pool_num_of_volumes_ret {
15210 0 0   0 0   croak "Missing required input 'struct' value"
15211             unless defined $_[1];
15212              
15213             # Serializing field: 'num'
15214             croak "Missing required input value 'num'"
15215 0 0         unless exists $_[1]->{num};
15216             # my ($class, $value, $index, $output) = @_;
15217             croak "Missing required input 'int' value"
15218 0 0         unless defined $_[1]->{num};
15219             die "Out of bounds 'int': $_[1]->{num}"
15220 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
15221             die "Non-integer 'int' value given: $_[1]->{num}"
15222 0 0         unless int($_[1]->{num}) == $_[1]->{num};
15223 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
15224 0           $_[2] += 4;
15225             }
15226             # @_: ($class, $value, $index, $input) = @_;
15227             sub deserialize_storage_pool_list_volumes_args {
15228 0     0 0   my $input_length = length $_[3];
15229 0           $_[1] = {};
15230             # Deserializing field: 'pool'
15231             # my ($class, $value, $index, $input) = @_;
15232 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15233              
15234             # Deserializing field: 'maxnames'
15235             # my ($class, $value, $index, $input) = @_;
15236 0 0         die "Input buffer too short"
15237             if ($input_length - $_[2]) < 4;
15238 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
15239 0           $_[2] += 4;
15240             die "Out of bounds 'int': $_[1]->{maxnames}"
15241 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
15242             }
15243             # @_: ($class, $value, $index, $output) = @_;
15244             sub serialize_storage_pool_list_volumes_args {
15245 0 0   0 0   croak "Missing required input 'struct' value"
15246             unless defined $_[1];
15247              
15248             # Serializing field: 'pool'
15249             croak "Missing required input value 'pool'"
15250 0 0         unless exists $_[1]->{pool};
15251             # my ($class, $value, $index, $output) = @_;
15252 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15253              
15254             # Serializing field: 'maxnames'
15255             croak "Missing required input value 'maxnames'"
15256 0 0         unless exists $_[1]->{maxnames};
15257             # my ($class, $value, $index, $output) = @_;
15258             croak "Missing required input 'int' value"
15259 0 0         unless defined $_[1]->{maxnames};
15260             die "Out of bounds 'int': $_[1]->{maxnames}"
15261 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
15262             die "Non-integer 'int' value given: $_[1]->{maxnames}"
15263 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
15264 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
15265 0           $_[2] += 4;
15266             }
15267             # @_: ($class, $value, $index, $input) = @_;
15268             sub deserialize_storage_pool_list_volumes_ret {
15269 0     0 0   my $input_length = length $_[3];
15270 0           $_[1] = {};
15271             # Deserializing field: 'names'
15272             # my ($class, $value, $index, $input) = @_;
15273 0           do {
15274 0 0         die "Input buffer too short"
15275             if ($input_length - $_[2]) < 4;
15276 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
15277 0           $_[2] += 4;
15278              
15279 0 0         die "Array too long (max: 16384): $len"
15280             unless ($len <= 16384);
15281 0           $_[1]->{names} = [];
15282 0           for my $i1 ( 0 .. ($len - 1) ) {
15283             # my ($class, $value, $index, $input) = @_;
15284 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
15285             }
15286             };
15287             }
15288             # @_: ($class, $value, $index, $output) = @_;
15289             sub serialize_storage_pool_list_volumes_ret {
15290 0 0   0 0   croak "Missing required input 'struct' value"
15291             unless defined $_[1];
15292              
15293             # Serializing field: 'names'
15294             croak "Missing required input value 'names'"
15295 0 0         unless exists $_[1]->{names};
15296             # my ($class, $value, $index, $output) = @_;
15297             croak "Missing required input 'array' value"
15298 0 0         unless defined $_[1]->{names};
15299 0           do {
15300 0           my $len = scalar @{ $_[1]->{names} };
  0            
15301 0 0         die "Array too long (max: 16384): $len"
15302             unless ($len <= 16384);
15303              
15304 0           substr( $_[3], $_[2] ) = pack("L>", $len);
15305 0           $_[2] += 4;
15306 0           for my $i1 ( 0 .. ($len - 1) ) {
15307             # my ($class, $value, $index, $output) = @_;
15308 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
15309             }
15310             };
15311             }
15312             # @_: ($class, $value, $index, $input) = @_;
15313             sub deserialize_storage_vol_lookup_by_name_args {
15314 0     0 0   my $input_length = length $_[3];
15315 0           $_[1] = {};
15316             # Deserializing field: 'pool'
15317             # my ($class, $value, $index, $input) = @_;
15318 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15319              
15320             # Deserializing field: 'name'
15321             # my ($class, $value, $index, $input) = @_;
15322 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
15323             }
15324             # @_: ($class, $value, $index, $output) = @_;
15325             sub serialize_storage_vol_lookup_by_name_args {
15326 0 0   0 0   croak "Missing required input 'struct' value"
15327             unless defined $_[1];
15328              
15329             # Serializing field: 'pool'
15330             croak "Missing required input value 'pool'"
15331 0 0         unless exists $_[1]->{pool};
15332             # my ($class, $value, $index, $output) = @_;
15333 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15334              
15335             # Serializing field: 'name'
15336             croak "Missing required input value 'name'"
15337 0 0         unless exists $_[1]->{name};
15338             # my ($class, $value, $index, $output) = @_;
15339 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
15340             }
15341             # @_: ($class, $value, $index, $input) = @_;
15342             sub deserialize_storage_vol_lookup_by_name_ret {
15343 0     0 0   my $input_length = length $_[3];
15344 0           $_[1] = {};
15345             # Deserializing field: 'vol'
15346             # my ($class, $value, $index, $input) = @_;
15347 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15348             }
15349             # @_: ($class, $value, $index, $output) = @_;
15350             sub serialize_storage_vol_lookup_by_name_ret {
15351 0 0   0 0   croak "Missing required input 'struct' value"
15352             unless defined $_[1];
15353              
15354             # Serializing field: 'vol'
15355             croak "Missing required input value 'vol'"
15356 0 0         unless exists $_[1]->{vol};
15357             # my ($class, $value, $index, $output) = @_;
15358 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15359             }
15360             # @_: ($class, $value, $index, $input) = @_;
15361             sub deserialize_storage_vol_lookup_by_key_args {
15362 0     0 0   my $input_length = length $_[3];
15363 0           $_[1] = {};
15364             # Deserializing field: 'key'
15365             # my ($class, $value, $index, $input) = @_;
15366 0           $_[0]->deserialize_nonnull_string( $_[1]->{key}, $_[2], $_[3] );
15367             }
15368             # @_: ($class, $value, $index, $output) = @_;
15369             sub serialize_storage_vol_lookup_by_key_args {
15370 0 0   0 0   croak "Missing required input 'struct' value"
15371             unless defined $_[1];
15372              
15373             # Serializing field: 'key'
15374             croak "Missing required input value 'key'"
15375 0 0         unless exists $_[1]->{key};
15376             # my ($class, $value, $index, $output) = @_;
15377 0           $_[0]->serialize_nonnull_string( $_[1]->{key}, $_[2], $_[3] );
15378             }
15379             # @_: ($class, $value, $index, $input) = @_;
15380             sub deserialize_storage_vol_lookup_by_key_ret {
15381 0     0 0   my $input_length = length $_[3];
15382 0           $_[1] = {};
15383             # Deserializing field: 'vol'
15384             # my ($class, $value, $index, $input) = @_;
15385 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15386             }
15387             # @_: ($class, $value, $index, $output) = @_;
15388             sub serialize_storage_vol_lookup_by_key_ret {
15389 0 0   0 0   croak "Missing required input 'struct' value"
15390             unless defined $_[1];
15391              
15392             # Serializing field: 'vol'
15393             croak "Missing required input value 'vol'"
15394 0 0         unless exists $_[1]->{vol};
15395             # my ($class, $value, $index, $output) = @_;
15396 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15397             }
15398             # @_: ($class, $value, $index, $input) = @_;
15399             sub deserialize_storage_vol_lookup_by_path_args {
15400 0     0 0   my $input_length = length $_[3];
15401 0           $_[1] = {};
15402             # Deserializing field: 'path'
15403             # my ($class, $value, $index, $input) = @_;
15404 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
15405             }
15406             # @_: ($class, $value, $index, $output) = @_;
15407             sub serialize_storage_vol_lookup_by_path_args {
15408 0 0   0 0   croak "Missing required input 'struct' value"
15409             unless defined $_[1];
15410              
15411             # Serializing field: 'path'
15412             croak "Missing required input value 'path'"
15413 0 0         unless exists $_[1]->{path};
15414             # my ($class, $value, $index, $output) = @_;
15415 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
15416             }
15417             # @_: ($class, $value, $index, $input) = @_;
15418             sub deserialize_storage_vol_lookup_by_path_ret {
15419 0     0 0   my $input_length = length $_[3];
15420 0           $_[1] = {};
15421             # Deserializing field: 'vol'
15422             # my ($class, $value, $index, $input) = @_;
15423 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15424             }
15425             # @_: ($class, $value, $index, $output) = @_;
15426             sub serialize_storage_vol_lookup_by_path_ret {
15427 0 0   0 0   croak "Missing required input 'struct' value"
15428             unless defined $_[1];
15429              
15430             # Serializing field: 'vol'
15431             croak "Missing required input value 'vol'"
15432 0 0         unless exists $_[1]->{vol};
15433             # my ($class, $value, $index, $output) = @_;
15434 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15435             }
15436             # @_: ($class, $value, $index, $input) = @_;
15437             sub deserialize_storage_vol_create_xml_args {
15438 0     0 0   my $input_length = length $_[3];
15439 0           $_[1] = {};
15440             # Deserializing field: 'pool'
15441             # my ($class, $value, $index, $input) = @_;
15442 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15443              
15444             # Deserializing field: 'xml'
15445             # my ($class, $value, $index, $input) = @_;
15446 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
15447              
15448             # Deserializing field: 'flags'
15449             # my ($class, $value, $index, $input) = @_;
15450 0 0         die "Input buffer too short"
15451             if ($input_length - $_[2]) < 4;
15452 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
15453 0           $_[2] += 4;
15454             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15455 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15456             }
15457             # @_: ($class, $value, $index, $output) = @_;
15458             sub serialize_storage_vol_create_xml_args {
15459 0 0   0 0   croak "Missing required input 'struct' value"
15460             unless defined $_[1];
15461              
15462             # Serializing field: 'pool'
15463             croak "Missing required input value 'pool'"
15464 0 0         unless exists $_[1]->{pool};
15465             # my ($class, $value, $index, $output) = @_;
15466 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15467              
15468             # Serializing field: 'xml'
15469             croak "Missing required input value 'xml'"
15470 0 0         unless exists $_[1]->{xml};
15471             # my ($class, $value, $index, $output) = @_;
15472 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
15473              
15474             # Serializing field: 'flags'
15475             croak "Missing required input value 'flags'"
15476 0 0         unless exists $_[1]->{flags};
15477             # my ($class, $value, $index, $output) = @_;
15478             croak "Missing required input 'unsigned int' value"
15479 0 0         unless defined $_[1]->{flags};
15480             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15481 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15482             die "Non-integer 'int' value given: $_[1]->{flags}"
15483 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
15484 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
15485 0           $_[2] += 4;
15486             }
15487             # @_: ($class, $value, $index, $input) = @_;
15488             sub deserialize_storage_vol_create_xml_ret {
15489 0     0 0   my $input_length = length $_[3];
15490 0           $_[1] = {};
15491             # Deserializing field: 'vol'
15492             # my ($class, $value, $index, $input) = @_;
15493 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15494             }
15495             # @_: ($class, $value, $index, $output) = @_;
15496             sub serialize_storage_vol_create_xml_ret {
15497 0 0   0 0   croak "Missing required input 'struct' value"
15498             unless defined $_[1];
15499              
15500             # Serializing field: 'vol'
15501             croak "Missing required input value 'vol'"
15502 0 0         unless exists $_[1]->{vol};
15503             # my ($class, $value, $index, $output) = @_;
15504 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15505             }
15506             # @_: ($class, $value, $index, $input) = @_;
15507             sub deserialize_storage_vol_create_xml_from_args {
15508 0     0 0   my $input_length = length $_[3];
15509 0           $_[1] = {};
15510             # Deserializing field: 'pool'
15511             # my ($class, $value, $index, $input) = @_;
15512 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15513              
15514             # Deserializing field: 'xml'
15515             # my ($class, $value, $index, $input) = @_;
15516 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
15517              
15518             # Deserializing field: 'clonevol'
15519             # my ($class, $value, $index, $input) = @_;
15520 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{clonevol}, $_[2], $_[3] );
15521              
15522             # Deserializing field: 'flags'
15523             # my ($class, $value, $index, $input) = @_;
15524 0 0         die "Input buffer too short"
15525             if ($input_length - $_[2]) < 4;
15526 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
15527 0           $_[2] += 4;
15528             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15529 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15530             }
15531             # @_: ($class, $value, $index, $output) = @_;
15532             sub serialize_storage_vol_create_xml_from_args {
15533 0 0   0 0   croak "Missing required input 'struct' value"
15534             unless defined $_[1];
15535              
15536             # Serializing field: 'pool'
15537             croak "Missing required input value 'pool'"
15538 0 0         unless exists $_[1]->{pool};
15539             # my ($class, $value, $index, $output) = @_;
15540 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
15541              
15542             # Serializing field: 'xml'
15543             croak "Missing required input value 'xml'"
15544 0 0         unless exists $_[1]->{xml};
15545             # my ($class, $value, $index, $output) = @_;
15546 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
15547              
15548             # Serializing field: 'clonevol'
15549             croak "Missing required input value 'clonevol'"
15550 0 0         unless exists $_[1]->{clonevol};
15551             # my ($class, $value, $index, $output) = @_;
15552 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{clonevol}, $_[2], $_[3] );
15553              
15554             # Serializing field: 'flags'
15555             croak "Missing required input value 'flags'"
15556 0 0         unless exists $_[1]->{flags};
15557             # my ($class, $value, $index, $output) = @_;
15558             croak "Missing required input 'unsigned int' value"
15559 0 0         unless defined $_[1]->{flags};
15560             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15561 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15562             die "Non-integer 'int' value given: $_[1]->{flags}"
15563 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
15564 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
15565 0           $_[2] += 4;
15566             }
15567             # @_: ($class, $value, $index, $input) = @_;
15568             sub deserialize_storage_vol_create_xml_from_ret {
15569 0     0 0   my $input_length = length $_[3];
15570 0           $_[1] = {};
15571             # Deserializing field: 'vol'
15572             # my ($class, $value, $index, $input) = @_;
15573 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15574             }
15575             # @_: ($class, $value, $index, $output) = @_;
15576             sub serialize_storage_vol_create_xml_from_ret {
15577 0 0   0 0   croak "Missing required input 'struct' value"
15578             unless defined $_[1];
15579              
15580             # Serializing field: 'vol'
15581             croak "Missing required input value 'vol'"
15582 0 0         unless exists $_[1]->{vol};
15583             # my ($class, $value, $index, $output) = @_;
15584 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15585             }
15586             # @_: ($class, $value, $index, $input) = @_;
15587             sub deserialize_storage_vol_delete_args {
15588 0     0 0   my $input_length = length $_[3];
15589 0           $_[1] = {};
15590             # Deserializing field: 'vol'
15591             # my ($class, $value, $index, $input) = @_;
15592 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15593              
15594             # Deserializing field: 'flags'
15595             # my ($class, $value, $index, $input) = @_;
15596 0 0         die "Input buffer too short"
15597             if ($input_length - $_[2]) < 4;
15598 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
15599 0           $_[2] += 4;
15600             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15601 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15602             }
15603             # @_: ($class, $value, $index, $output) = @_;
15604             sub serialize_storage_vol_delete_args {
15605 0 0   0 0   croak "Missing required input 'struct' value"
15606             unless defined $_[1];
15607              
15608             # Serializing field: 'vol'
15609             croak "Missing required input value 'vol'"
15610 0 0         unless exists $_[1]->{vol};
15611             # my ($class, $value, $index, $output) = @_;
15612 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15613              
15614             # Serializing field: 'flags'
15615             croak "Missing required input value 'flags'"
15616 0 0         unless exists $_[1]->{flags};
15617             # my ($class, $value, $index, $output) = @_;
15618             croak "Missing required input 'unsigned int' value"
15619 0 0         unless defined $_[1]->{flags};
15620             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15621 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15622             die "Non-integer 'int' value given: $_[1]->{flags}"
15623 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
15624 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
15625 0           $_[2] += 4;
15626             }
15627             # @_: ($class, $value, $index, $input) = @_;
15628             sub deserialize_storage_vol_wipe_args {
15629 0     0 0   my $input_length = length $_[3];
15630 0           $_[1] = {};
15631             # Deserializing field: 'vol'
15632             # my ($class, $value, $index, $input) = @_;
15633 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15634              
15635             # Deserializing field: 'flags'
15636             # my ($class, $value, $index, $input) = @_;
15637 0 0         die "Input buffer too short"
15638             if ($input_length - $_[2]) < 4;
15639 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
15640 0           $_[2] += 4;
15641             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15642 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15643             }
15644             # @_: ($class, $value, $index, $output) = @_;
15645             sub serialize_storage_vol_wipe_args {
15646 0 0   0 0   croak "Missing required input 'struct' value"
15647             unless defined $_[1];
15648              
15649             # Serializing field: 'vol'
15650             croak "Missing required input value 'vol'"
15651 0 0         unless exists $_[1]->{vol};
15652             # my ($class, $value, $index, $output) = @_;
15653 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15654              
15655             # Serializing field: 'flags'
15656             croak "Missing required input value 'flags'"
15657 0 0         unless exists $_[1]->{flags};
15658             # my ($class, $value, $index, $output) = @_;
15659             croak "Missing required input 'unsigned int' value"
15660 0 0         unless defined $_[1]->{flags};
15661             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15662 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15663             die "Non-integer 'int' value given: $_[1]->{flags}"
15664 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
15665 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
15666 0           $_[2] += 4;
15667             }
15668             # @_: ($class, $value, $index, $input) = @_;
15669             sub deserialize_storage_vol_wipe_pattern_args {
15670 0     0 0   my $input_length = length $_[3];
15671 0           $_[1] = {};
15672             # Deserializing field: 'vol'
15673             # my ($class, $value, $index, $input) = @_;
15674 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15675              
15676             # Deserializing field: 'algorithm'
15677             # my ($class, $value, $index, $input) = @_;
15678 0 0         die "Input buffer too short"
15679             if ($input_length - $_[2]) < 4;
15680 0           $_[1]->{algorithm} = unpack("L>", substr( $_[3], $_[2] ));
15681 0           $_[2] += 4;
15682             die "Out of bounds 'unsigned int': $_[1]->{algorithm}"
15683 0 0 0       unless (0 <= $_[1]->{algorithm} and $_[1]->{algorithm} <= 4294967295);
15684              
15685             # Deserializing field: 'flags'
15686             # my ($class, $value, $index, $input) = @_;
15687 0 0         die "Input buffer too short"
15688             if ($input_length - $_[2]) < 4;
15689 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
15690 0           $_[2] += 4;
15691             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15692 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15693             }
15694             # @_: ($class, $value, $index, $output) = @_;
15695             sub serialize_storage_vol_wipe_pattern_args {
15696 0 0   0 0   croak "Missing required input 'struct' value"
15697             unless defined $_[1];
15698              
15699             # Serializing field: 'vol'
15700             croak "Missing required input value 'vol'"
15701 0 0         unless exists $_[1]->{vol};
15702             # my ($class, $value, $index, $output) = @_;
15703 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15704              
15705             # Serializing field: 'algorithm'
15706             croak "Missing required input value 'algorithm'"
15707 0 0         unless exists $_[1]->{algorithm};
15708             # my ($class, $value, $index, $output) = @_;
15709             croak "Missing required input 'unsigned int' value"
15710 0 0         unless defined $_[1]->{algorithm};
15711             die "Out of bounds 'unsigned int': $_[1]->{algorithm}"
15712 0 0 0       unless (0 <= $_[1]->{algorithm} and $_[1]->{algorithm} <= 4294967295);
15713             die "Non-integer 'int' value given: $_[1]->{algorithm}"
15714 0 0         unless int($_[1]->{algorithm}) == $_[1]->{algorithm};
15715 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{algorithm});
15716 0           $_[2] += 4;
15717              
15718             # Serializing field: 'flags'
15719             croak "Missing required input value 'flags'"
15720 0 0         unless exists $_[1]->{flags};
15721             # my ($class, $value, $index, $output) = @_;
15722             croak "Missing required input 'unsigned int' value"
15723 0 0         unless defined $_[1]->{flags};
15724             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15725 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15726             die "Non-integer 'int' value given: $_[1]->{flags}"
15727 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
15728 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
15729 0           $_[2] += 4;
15730             }
15731             # @_: ($class, $value, $index, $input) = @_;
15732             sub deserialize_storage_vol_get_xml_desc_args {
15733 0     0 0   my $input_length = length $_[3];
15734 0           $_[1] = {};
15735             # Deserializing field: 'vol'
15736             # my ($class, $value, $index, $input) = @_;
15737 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15738              
15739             # Deserializing field: 'flags'
15740             # my ($class, $value, $index, $input) = @_;
15741 0 0         die "Input buffer too short"
15742             if ($input_length - $_[2]) < 4;
15743 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
15744 0           $_[2] += 4;
15745             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15746 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15747             }
15748             # @_: ($class, $value, $index, $output) = @_;
15749             sub serialize_storage_vol_get_xml_desc_args {
15750 0 0   0 0   croak "Missing required input 'struct' value"
15751             unless defined $_[1];
15752              
15753             # Serializing field: 'vol'
15754             croak "Missing required input value 'vol'"
15755 0 0         unless exists $_[1]->{vol};
15756             # my ($class, $value, $index, $output) = @_;
15757 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15758              
15759             # Serializing field: 'flags'
15760             croak "Missing required input value 'flags'"
15761 0 0         unless exists $_[1]->{flags};
15762             # my ($class, $value, $index, $output) = @_;
15763             croak "Missing required input 'unsigned int' value"
15764 0 0         unless defined $_[1]->{flags};
15765             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15766 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15767             die "Non-integer 'int' value given: $_[1]->{flags}"
15768 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
15769 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
15770 0           $_[2] += 4;
15771             }
15772             # @_: ($class, $value, $index, $input) = @_;
15773             sub deserialize_storage_vol_get_xml_desc_ret {
15774 0     0 0   my $input_length = length $_[3];
15775 0           $_[1] = {};
15776             # Deserializing field: 'xml'
15777             # my ($class, $value, $index, $input) = @_;
15778 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
15779             }
15780             # @_: ($class, $value, $index, $output) = @_;
15781             sub serialize_storage_vol_get_xml_desc_ret {
15782 0 0   0 0   croak "Missing required input 'struct' value"
15783             unless defined $_[1];
15784              
15785             # Serializing field: 'xml'
15786             croak "Missing required input value 'xml'"
15787 0 0         unless exists $_[1]->{xml};
15788             # my ($class, $value, $index, $output) = @_;
15789 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
15790             }
15791             # @_: ($class, $value, $index, $input) = @_;
15792             sub deserialize_storage_vol_get_info_args {
15793 0     0 0   my $input_length = length $_[3];
15794 0           $_[1] = {};
15795             # Deserializing field: 'vol'
15796             # my ($class, $value, $index, $input) = @_;
15797 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15798             }
15799             # @_: ($class, $value, $index, $output) = @_;
15800             sub serialize_storage_vol_get_info_args {
15801 0 0   0 0   croak "Missing required input 'struct' value"
15802             unless defined $_[1];
15803              
15804             # Serializing field: 'vol'
15805             croak "Missing required input value 'vol'"
15806 0 0         unless exists $_[1]->{vol};
15807             # my ($class, $value, $index, $output) = @_;
15808 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15809             }
15810             # @_: ($class, $value, $index, $input) = @_;
15811             sub deserialize_storage_vol_get_info_ret {
15812 0     0 0   my $input_length = length $_[3];
15813 0           $_[1] = {};
15814             # Deserializing field: 'type'
15815             # my ($class, $value, $index, $input) = @_;
15816 0 0         die "Input buffer too short"
15817             if ($input_length - $_[2]) < 4;
15818 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
15819 0           $_[2] += 4;
15820             die "Out of bounds 'char': $_[1]->{type}"
15821 0 0 0       unless (-128 <= $_[1]->{type} and $_[1]->{type} < 128);
15822              
15823             # Deserializing field: 'capacity'
15824             # my ($class, $value, $index, $input) = @_;
15825 0 0         die "Input buffer too short"
15826             if ($input_length - $_[2]) < 8;
15827 0           $_[1]->{capacity} = unpack("Q>", substr( $_[3], $_[2] ));
15828 0           $_[2] += 8;
15829             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
15830             unless (0 <= $_[1]->{capacity}
15831 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
15832              
15833             # Deserializing field: 'allocation'
15834             # my ($class, $value, $index, $input) = @_;
15835 0 0         die "Input buffer too short"
15836             if ($input_length - $_[2]) < 8;
15837 0           $_[1]->{allocation} = unpack("Q>", substr( $_[3], $_[2] ));
15838 0           $_[2] += 8;
15839             die "Out of bounds 'unsigned hyper': $_[1]->{allocation}"
15840             unless (0 <= $_[1]->{allocation}
15841 0 0 0       and $_[1]->{allocation} <= 18446744073709551615);
15842             }
15843             # @_: ($class, $value, $index, $output) = @_;
15844             sub serialize_storage_vol_get_info_ret {
15845 0 0   0 0   croak "Missing required input 'struct' value"
15846             unless defined $_[1];
15847              
15848             # Serializing field: 'type'
15849             croak "Missing required input value 'type'"
15850 0 0         unless exists $_[1]->{type};
15851             # my ($class, $value, $index, $output) = @_;
15852             croak "Missing required input 'char' value"
15853 0 0         unless defined $_[1]->{type};
15854             die "Out of bounds 'char': $_[1]->{type}"
15855 0 0 0       unless (-128 <= $_[1]->{type} and $_[1]->{type} < 128);
15856             die "Non-integer 'char' value given: $_[1]->{type}"
15857 0 0         unless int($_[1]->{type}) == $_[1]->{type};
15858 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
15859 0           $_[2] += 4;
15860              
15861             # Serializing field: 'capacity'
15862             croak "Missing required input value 'capacity'"
15863 0 0         unless exists $_[1]->{capacity};
15864             # my ($class, $value, $index, $output) = @_;
15865             croak "Missing required input 'unsigned long' value"
15866 0 0         unless defined $_[1]->{capacity};
15867             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
15868             unless (0 <= $_[1]->{capacity}
15869 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
15870             die "Non-integer 'long' value given: $_[1]->{capacity}"
15871 0 0         unless int($_[1]->{capacity}) == $_[1]->{capacity};
15872 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{capacity});
15873 0           $_[2] += 8;
15874              
15875             # Serializing field: 'allocation'
15876             croak "Missing required input value 'allocation'"
15877 0 0         unless exists $_[1]->{allocation};
15878             # my ($class, $value, $index, $output) = @_;
15879             croak "Missing required input 'unsigned long' value"
15880 0 0         unless defined $_[1]->{allocation};
15881             die "Out of bounds 'unsigned hyper': $_[1]->{allocation}"
15882             unless (0 <= $_[1]->{allocation}
15883 0 0 0       and $_[1]->{allocation} <= 18446744073709551615);
15884             die "Non-integer 'long' value given: $_[1]->{allocation}"
15885 0 0         unless int($_[1]->{allocation}) == $_[1]->{allocation};
15886 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{allocation});
15887 0           $_[2] += 8;
15888             }
15889             # @_: ($class, $value, $index, $input) = @_;
15890             sub deserialize_storage_vol_get_info_flags_args {
15891 0     0 0   my $input_length = length $_[3];
15892 0           $_[1] = {};
15893             # Deserializing field: 'vol'
15894             # my ($class, $value, $index, $input) = @_;
15895 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15896              
15897             # Deserializing field: 'flags'
15898             # my ($class, $value, $index, $input) = @_;
15899 0 0         die "Input buffer too short"
15900             if ($input_length - $_[2]) < 4;
15901 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
15902 0           $_[2] += 4;
15903             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15904 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15905             }
15906             # @_: ($class, $value, $index, $output) = @_;
15907             sub serialize_storage_vol_get_info_flags_args {
15908 0 0   0 0   croak "Missing required input 'struct' value"
15909             unless defined $_[1];
15910              
15911             # Serializing field: 'vol'
15912             croak "Missing required input value 'vol'"
15913 0 0         unless exists $_[1]->{vol};
15914             # my ($class, $value, $index, $output) = @_;
15915 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
15916              
15917             # Serializing field: 'flags'
15918             croak "Missing required input value 'flags'"
15919 0 0         unless exists $_[1]->{flags};
15920             # my ($class, $value, $index, $output) = @_;
15921             croak "Missing required input 'unsigned int' value"
15922 0 0         unless defined $_[1]->{flags};
15923             die "Out of bounds 'unsigned int': $_[1]->{flags}"
15924 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
15925             die "Non-integer 'int' value given: $_[1]->{flags}"
15926 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
15927 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
15928 0           $_[2] += 4;
15929             }
15930             # @_: ($class, $value, $index, $input) = @_;
15931             sub deserialize_storage_vol_get_info_flags_ret {
15932 0     0 0   my $input_length = length $_[3];
15933 0           $_[1] = {};
15934             # Deserializing field: 'type'
15935             # my ($class, $value, $index, $input) = @_;
15936 0 0         die "Input buffer too short"
15937             if ($input_length - $_[2]) < 4;
15938 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
15939 0           $_[2] += 4;
15940             die "Out of bounds 'char': $_[1]->{type}"
15941 0 0 0       unless (-128 <= $_[1]->{type} and $_[1]->{type} < 128);
15942              
15943             # Deserializing field: 'capacity'
15944             # my ($class, $value, $index, $input) = @_;
15945 0 0         die "Input buffer too short"
15946             if ($input_length - $_[2]) < 8;
15947 0           $_[1]->{capacity} = unpack("Q>", substr( $_[3], $_[2] ));
15948 0           $_[2] += 8;
15949             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
15950             unless (0 <= $_[1]->{capacity}
15951 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
15952              
15953             # Deserializing field: 'allocation'
15954             # my ($class, $value, $index, $input) = @_;
15955 0 0         die "Input buffer too short"
15956             if ($input_length - $_[2]) < 8;
15957 0           $_[1]->{allocation} = unpack("Q>", substr( $_[3], $_[2] ));
15958 0           $_[2] += 8;
15959             die "Out of bounds 'unsigned hyper': $_[1]->{allocation}"
15960             unless (0 <= $_[1]->{allocation}
15961 0 0 0       and $_[1]->{allocation} <= 18446744073709551615);
15962             }
15963             # @_: ($class, $value, $index, $output) = @_;
15964             sub serialize_storage_vol_get_info_flags_ret {
15965 0 0   0 0   croak "Missing required input 'struct' value"
15966             unless defined $_[1];
15967              
15968             # Serializing field: 'type'
15969             croak "Missing required input value 'type'"
15970 0 0         unless exists $_[1]->{type};
15971             # my ($class, $value, $index, $output) = @_;
15972             croak "Missing required input 'char' value"
15973 0 0         unless defined $_[1]->{type};
15974             die "Out of bounds 'char': $_[1]->{type}"
15975 0 0 0       unless (-128 <= $_[1]->{type} and $_[1]->{type} < 128);
15976             die "Non-integer 'char' value given: $_[1]->{type}"
15977 0 0         unless int($_[1]->{type}) == $_[1]->{type};
15978 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
15979 0           $_[2] += 4;
15980              
15981             # Serializing field: 'capacity'
15982             croak "Missing required input value 'capacity'"
15983 0 0         unless exists $_[1]->{capacity};
15984             # my ($class, $value, $index, $output) = @_;
15985             croak "Missing required input 'unsigned long' value"
15986 0 0         unless defined $_[1]->{capacity};
15987             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
15988             unless (0 <= $_[1]->{capacity}
15989 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
15990             die "Non-integer 'long' value given: $_[1]->{capacity}"
15991 0 0         unless int($_[1]->{capacity}) == $_[1]->{capacity};
15992 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{capacity});
15993 0           $_[2] += 8;
15994              
15995             # Serializing field: 'allocation'
15996             croak "Missing required input value 'allocation'"
15997 0 0         unless exists $_[1]->{allocation};
15998             # my ($class, $value, $index, $output) = @_;
15999             croak "Missing required input 'unsigned long' value"
16000 0 0         unless defined $_[1]->{allocation};
16001             die "Out of bounds 'unsigned hyper': $_[1]->{allocation}"
16002             unless (0 <= $_[1]->{allocation}
16003 0 0 0       and $_[1]->{allocation} <= 18446744073709551615);
16004             die "Non-integer 'long' value given: $_[1]->{allocation}"
16005 0 0         unless int($_[1]->{allocation}) == $_[1]->{allocation};
16006 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{allocation});
16007 0           $_[2] += 8;
16008             }
16009             # @_: ($class, $value, $index, $input) = @_;
16010             sub deserialize_storage_vol_get_path_args {
16011 0     0 0   my $input_length = length $_[3];
16012 0           $_[1] = {};
16013             # Deserializing field: 'vol'
16014             # my ($class, $value, $index, $input) = @_;
16015 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
16016             }
16017             # @_: ($class, $value, $index, $output) = @_;
16018             sub serialize_storage_vol_get_path_args {
16019 0 0   0 0   croak "Missing required input 'struct' value"
16020             unless defined $_[1];
16021              
16022             # Serializing field: 'vol'
16023             croak "Missing required input value 'vol'"
16024 0 0         unless exists $_[1]->{vol};
16025             # my ($class, $value, $index, $output) = @_;
16026 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
16027             }
16028             # @_: ($class, $value, $index, $input) = @_;
16029             sub deserialize_storage_vol_get_path_ret {
16030 0     0 0   my $input_length = length $_[3];
16031 0           $_[1] = {};
16032             # Deserializing field: 'name'
16033             # my ($class, $value, $index, $input) = @_;
16034 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16035             }
16036             # @_: ($class, $value, $index, $output) = @_;
16037             sub serialize_storage_vol_get_path_ret {
16038 0 0   0 0   croak "Missing required input 'struct' value"
16039             unless defined $_[1];
16040              
16041             # Serializing field: 'name'
16042             croak "Missing required input value 'name'"
16043 0 0         unless exists $_[1]->{name};
16044             # my ($class, $value, $index, $output) = @_;
16045 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16046             }
16047             # @_: ($class, $value, $index, $input) = @_;
16048             sub deserialize_storage_vol_resize_args {
16049 0     0 0   my $input_length = length $_[3];
16050 0           $_[1] = {};
16051             # Deserializing field: 'vol'
16052             # my ($class, $value, $index, $input) = @_;
16053 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
16054              
16055             # Deserializing field: 'capacity'
16056             # my ($class, $value, $index, $input) = @_;
16057 0 0         die "Input buffer too short"
16058             if ($input_length - $_[2]) < 8;
16059 0           $_[1]->{capacity} = unpack("Q>", substr( $_[3], $_[2] ));
16060 0           $_[2] += 8;
16061             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
16062             unless (0 <= $_[1]->{capacity}
16063 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
16064              
16065             # Deserializing field: 'flags'
16066             # my ($class, $value, $index, $input) = @_;
16067 0 0         die "Input buffer too short"
16068             if ($input_length - $_[2]) < 4;
16069 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16070 0           $_[2] += 4;
16071             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16072 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16073             }
16074             # @_: ($class, $value, $index, $output) = @_;
16075             sub serialize_storage_vol_resize_args {
16076 0 0   0 0   croak "Missing required input 'struct' value"
16077             unless defined $_[1];
16078              
16079             # Serializing field: 'vol'
16080             croak "Missing required input value 'vol'"
16081 0 0         unless exists $_[1]->{vol};
16082             # my ($class, $value, $index, $output) = @_;
16083 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
16084              
16085             # Serializing field: 'capacity'
16086             croak "Missing required input value 'capacity'"
16087 0 0         unless exists $_[1]->{capacity};
16088             # my ($class, $value, $index, $output) = @_;
16089             croak "Missing required input 'unsigned long' value"
16090 0 0         unless defined $_[1]->{capacity};
16091             die "Out of bounds 'unsigned hyper': $_[1]->{capacity}"
16092             unless (0 <= $_[1]->{capacity}
16093 0 0 0       and $_[1]->{capacity} <= 18446744073709551615);
16094             die "Non-integer 'long' value given: $_[1]->{capacity}"
16095 0 0         unless int($_[1]->{capacity}) == $_[1]->{capacity};
16096 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{capacity});
16097 0           $_[2] += 8;
16098              
16099             # Serializing field: 'flags'
16100             croak "Missing required input value 'flags'"
16101 0 0         unless exists $_[1]->{flags};
16102             # my ($class, $value, $index, $output) = @_;
16103             croak "Missing required input 'unsigned int' value"
16104 0 0         unless defined $_[1]->{flags};
16105             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16106 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16107             die "Non-integer 'int' value given: $_[1]->{flags}"
16108 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16109 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16110 0           $_[2] += 4;
16111             }
16112             # @_: ($class, $value, $index, $input) = @_;
16113             sub deserialize_node_num_of_devices_args {
16114 0     0 0   my $input_length = length $_[3];
16115 0           $_[1] = {};
16116             # Deserializing field: 'cap'
16117             # my ($class, $value, $index, $input) = @_;
16118 0           $_[0]->deserialize_string( $_[1]->{cap}, $_[2], $_[3] );
16119              
16120             # Deserializing field: 'flags'
16121             # my ($class, $value, $index, $input) = @_;
16122 0 0         die "Input buffer too short"
16123             if ($input_length - $_[2]) < 4;
16124 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16125 0           $_[2] += 4;
16126             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16127 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16128             }
16129             # @_: ($class, $value, $index, $output) = @_;
16130             sub serialize_node_num_of_devices_args {
16131 0 0   0 0   croak "Missing required input 'struct' value"
16132             unless defined $_[1];
16133              
16134             # Serializing field: 'cap'
16135             croak "Missing required input value 'cap'"
16136 0 0         unless exists $_[1]->{cap};
16137             # my ($class, $value, $index, $output) = @_;
16138 0           $_[0]->serialize_string( $_[1]->{cap}, $_[2], $_[3] );
16139              
16140             # Serializing field: 'flags'
16141             croak "Missing required input value 'flags'"
16142 0 0         unless exists $_[1]->{flags};
16143             # my ($class, $value, $index, $output) = @_;
16144             croak "Missing required input 'unsigned int' value"
16145 0 0         unless defined $_[1]->{flags};
16146             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16147 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16148             die "Non-integer 'int' value given: $_[1]->{flags}"
16149 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16150 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16151 0           $_[2] += 4;
16152             }
16153             # @_: ($class, $value, $index, $input) = @_;
16154             sub deserialize_node_num_of_devices_ret {
16155 0     0 0   my $input_length = length $_[3];
16156 0           $_[1] = {};
16157             # Deserializing field: 'num'
16158             # my ($class, $value, $index, $input) = @_;
16159 0 0         die "Input buffer too short"
16160             if ($input_length - $_[2]) < 4;
16161 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
16162 0           $_[2] += 4;
16163             die "Out of bounds 'int': $_[1]->{num}"
16164 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
16165             }
16166             # @_: ($class, $value, $index, $output) = @_;
16167             sub serialize_node_num_of_devices_ret {
16168 0 0   0 0   croak "Missing required input 'struct' value"
16169             unless defined $_[1];
16170              
16171             # Serializing field: 'num'
16172             croak "Missing required input value 'num'"
16173 0 0         unless exists $_[1]->{num};
16174             # my ($class, $value, $index, $output) = @_;
16175             croak "Missing required input 'int' value"
16176 0 0         unless defined $_[1]->{num};
16177             die "Out of bounds 'int': $_[1]->{num}"
16178 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
16179             die "Non-integer 'int' value given: $_[1]->{num}"
16180 0 0         unless int($_[1]->{num}) == $_[1]->{num};
16181 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
16182 0           $_[2] += 4;
16183             }
16184             # @_: ($class, $value, $index, $input) = @_;
16185             sub deserialize_node_list_devices_args {
16186 0     0 0   my $input_length = length $_[3];
16187 0           $_[1] = {};
16188             # Deserializing field: 'cap'
16189             # my ($class, $value, $index, $input) = @_;
16190 0           $_[0]->deserialize_string( $_[1]->{cap}, $_[2], $_[3] );
16191              
16192             # Deserializing field: 'maxnames'
16193             # my ($class, $value, $index, $input) = @_;
16194 0 0         die "Input buffer too short"
16195             if ($input_length - $_[2]) < 4;
16196 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
16197 0           $_[2] += 4;
16198             die "Out of bounds 'int': $_[1]->{maxnames}"
16199 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
16200              
16201             # Deserializing field: 'flags'
16202             # my ($class, $value, $index, $input) = @_;
16203 0 0         die "Input buffer too short"
16204             if ($input_length - $_[2]) < 4;
16205 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16206 0           $_[2] += 4;
16207             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16208 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16209             }
16210             # @_: ($class, $value, $index, $output) = @_;
16211             sub serialize_node_list_devices_args {
16212 0 0   0 0   croak "Missing required input 'struct' value"
16213             unless defined $_[1];
16214              
16215             # Serializing field: 'cap'
16216             croak "Missing required input value 'cap'"
16217 0 0         unless exists $_[1]->{cap};
16218             # my ($class, $value, $index, $output) = @_;
16219 0           $_[0]->serialize_string( $_[1]->{cap}, $_[2], $_[3] );
16220              
16221             # Serializing field: 'maxnames'
16222             croak "Missing required input value 'maxnames'"
16223 0 0         unless exists $_[1]->{maxnames};
16224             # my ($class, $value, $index, $output) = @_;
16225             croak "Missing required input 'int' value"
16226 0 0         unless defined $_[1]->{maxnames};
16227             die "Out of bounds 'int': $_[1]->{maxnames}"
16228 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
16229             die "Non-integer 'int' value given: $_[1]->{maxnames}"
16230 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
16231 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
16232 0           $_[2] += 4;
16233              
16234             # Serializing field: 'flags'
16235             croak "Missing required input value 'flags'"
16236 0 0         unless exists $_[1]->{flags};
16237             # my ($class, $value, $index, $output) = @_;
16238             croak "Missing required input 'unsigned int' value"
16239 0 0         unless defined $_[1]->{flags};
16240             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16241 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16242             die "Non-integer 'int' value given: $_[1]->{flags}"
16243 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16244 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16245 0           $_[2] += 4;
16246             }
16247             # @_: ($class, $value, $index, $input) = @_;
16248             sub deserialize_node_list_devices_ret {
16249 0     0 0   my $input_length = length $_[3];
16250 0           $_[1] = {};
16251             # Deserializing field: 'names'
16252             # my ($class, $value, $index, $input) = @_;
16253 0           do {
16254 0 0         die "Input buffer too short"
16255             if ($input_length - $_[2]) < 4;
16256 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
16257 0           $_[2] += 4;
16258              
16259 0 0         die "Array too long (max: 65536): $len"
16260             unless ($len <= 65536);
16261 0           $_[1]->{names} = [];
16262 0           for my $i1 ( 0 .. ($len - 1) ) {
16263             # my ($class, $value, $index, $input) = @_;
16264 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
16265             }
16266             };
16267             }
16268             # @_: ($class, $value, $index, $output) = @_;
16269             sub serialize_node_list_devices_ret {
16270 0 0   0 0   croak "Missing required input 'struct' value"
16271             unless defined $_[1];
16272              
16273             # Serializing field: 'names'
16274             croak "Missing required input value 'names'"
16275 0 0         unless exists $_[1]->{names};
16276             # my ($class, $value, $index, $output) = @_;
16277             croak "Missing required input 'array' value"
16278 0 0         unless defined $_[1]->{names};
16279 0           do {
16280 0           my $len = scalar @{ $_[1]->{names} };
  0            
16281 0 0         die "Array too long (max: 65536): $len"
16282             unless ($len <= 65536);
16283              
16284 0           substr( $_[3], $_[2] ) = pack("L>", $len);
16285 0           $_[2] += 4;
16286 0           for my $i1 ( 0 .. ($len - 1) ) {
16287             # my ($class, $value, $index, $output) = @_;
16288 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
16289             }
16290             };
16291             }
16292             # @_: ($class, $value, $index, $input) = @_;
16293             sub deserialize_node_device_lookup_by_name_args {
16294 0     0 0   my $input_length = length $_[3];
16295 0           $_[1] = {};
16296             # Deserializing field: 'name'
16297             # my ($class, $value, $index, $input) = @_;
16298 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16299             }
16300             # @_: ($class, $value, $index, $output) = @_;
16301             sub serialize_node_device_lookup_by_name_args {
16302 0 0   0 0   croak "Missing required input 'struct' value"
16303             unless defined $_[1];
16304              
16305             # Serializing field: 'name'
16306             croak "Missing required input value 'name'"
16307 0 0         unless exists $_[1]->{name};
16308             # my ($class, $value, $index, $output) = @_;
16309 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16310             }
16311             # @_: ($class, $value, $index, $input) = @_;
16312             sub deserialize_node_device_lookup_by_name_ret {
16313 0     0 0   my $input_length = length $_[3];
16314 0           $_[1] = {};
16315             # Deserializing field: 'dev'
16316             # my ($class, $value, $index, $input) = @_;
16317 0           $_[0]->deserialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
16318             }
16319             # @_: ($class, $value, $index, $output) = @_;
16320             sub serialize_node_device_lookup_by_name_ret {
16321 0 0   0 0   croak "Missing required input 'struct' value"
16322             unless defined $_[1];
16323              
16324             # Serializing field: 'dev'
16325             croak "Missing required input value 'dev'"
16326 0 0         unless exists $_[1]->{dev};
16327             # my ($class, $value, $index, $output) = @_;
16328 0           $_[0]->serialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
16329             }
16330             # @_: ($class, $value, $index, $input) = @_;
16331             sub deserialize_node_device_lookup_scsi_host_by_wwn_args {
16332 0     0 0   my $input_length = length $_[3];
16333 0           $_[1] = {};
16334             # Deserializing field: 'wwnn'
16335             # my ($class, $value, $index, $input) = @_;
16336 0           $_[0]->deserialize_nonnull_string( $_[1]->{wwnn}, $_[2], $_[3] );
16337              
16338             # Deserializing field: 'wwpn'
16339             # my ($class, $value, $index, $input) = @_;
16340 0           $_[0]->deserialize_nonnull_string( $_[1]->{wwpn}, $_[2], $_[3] );
16341              
16342             # Deserializing field: 'flags'
16343             # my ($class, $value, $index, $input) = @_;
16344 0 0         die "Input buffer too short"
16345             if ($input_length - $_[2]) < 4;
16346 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16347 0           $_[2] += 4;
16348             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16349 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16350             }
16351             # @_: ($class, $value, $index, $output) = @_;
16352             sub serialize_node_device_lookup_scsi_host_by_wwn_args {
16353 0 0   0 0   croak "Missing required input 'struct' value"
16354             unless defined $_[1];
16355              
16356             # Serializing field: 'wwnn'
16357             croak "Missing required input value 'wwnn'"
16358 0 0         unless exists $_[1]->{wwnn};
16359             # my ($class, $value, $index, $output) = @_;
16360 0           $_[0]->serialize_nonnull_string( $_[1]->{wwnn}, $_[2], $_[3] );
16361              
16362             # Serializing field: 'wwpn'
16363             croak "Missing required input value 'wwpn'"
16364 0 0         unless exists $_[1]->{wwpn};
16365             # my ($class, $value, $index, $output) = @_;
16366 0           $_[0]->serialize_nonnull_string( $_[1]->{wwpn}, $_[2], $_[3] );
16367              
16368             # Serializing field: 'flags'
16369             croak "Missing required input value 'flags'"
16370 0 0         unless exists $_[1]->{flags};
16371             # my ($class, $value, $index, $output) = @_;
16372             croak "Missing required input 'unsigned int' value"
16373 0 0         unless defined $_[1]->{flags};
16374             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16375 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16376             die "Non-integer 'int' value given: $_[1]->{flags}"
16377 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16378 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16379 0           $_[2] += 4;
16380             }
16381             # @_: ($class, $value, $index, $input) = @_;
16382             sub deserialize_node_device_lookup_scsi_host_by_wwn_ret {
16383 0     0 0   my $input_length = length $_[3];
16384 0           $_[1] = {};
16385             # Deserializing field: 'dev'
16386             # my ($class, $value, $index, $input) = @_;
16387 0           $_[0]->deserialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
16388             }
16389             # @_: ($class, $value, $index, $output) = @_;
16390             sub serialize_node_device_lookup_scsi_host_by_wwn_ret {
16391 0 0   0 0   croak "Missing required input 'struct' value"
16392             unless defined $_[1];
16393              
16394             # Serializing field: 'dev'
16395             croak "Missing required input value 'dev'"
16396 0 0         unless exists $_[1]->{dev};
16397             # my ($class, $value, $index, $output) = @_;
16398 0           $_[0]->serialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
16399             }
16400             # @_: ($class, $value, $index, $input) = @_;
16401             sub deserialize_node_device_get_xml_desc_args {
16402 0     0 0   my $input_length = length $_[3];
16403 0           $_[1] = {};
16404             # Deserializing field: 'name'
16405             # my ($class, $value, $index, $input) = @_;
16406 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16407              
16408             # Deserializing field: 'flags'
16409             # my ($class, $value, $index, $input) = @_;
16410 0 0         die "Input buffer too short"
16411             if ($input_length - $_[2]) < 4;
16412 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16413 0           $_[2] += 4;
16414             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16415 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16416             }
16417             # @_: ($class, $value, $index, $output) = @_;
16418             sub serialize_node_device_get_xml_desc_args {
16419 0 0   0 0   croak "Missing required input 'struct' value"
16420             unless defined $_[1];
16421              
16422             # Serializing field: 'name'
16423             croak "Missing required input value 'name'"
16424 0 0         unless exists $_[1]->{name};
16425             # my ($class, $value, $index, $output) = @_;
16426 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16427              
16428             # Serializing field: 'flags'
16429             croak "Missing required input value 'flags'"
16430 0 0         unless exists $_[1]->{flags};
16431             # my ($class, $value, $index, $output) = @_;
16432             croak "Missing required input 'unsigned int' value"
16433 0 0         unless defined $_[1]->{flags};
16434             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16435 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16436             die "Non-integer 'int' value given: $_[1]->{flags}"
16437 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16438 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16439 0           $_[2] += 4;
16440             }
16441             # @_: ($class, $value, $index, $input) = @_;
16442             sub deserialize_node_device_get_xml_desc_ret {
16443 0     0 0   my $input_length = length $_[3];
16444 0           $_[1] = {};
16445             # Deserializing field: 'xml'
16446             # my ($class, $value, $index, $input) = @_;
16447 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
16448             }
16449             # @_: ($class, $value, $index, $output) = @_;
16450             sub serialize_node_device_get_xml_desc_ret {
16451 0 0   0 0   croak "Missing required input 'struct' value"
16452             unless defined $_[1];
16453              
16454             # Serializing field: 'xml'
16455             croak "Missing required input value 'xml'"
16456 0 0         unless exists $_[1]->{xml};
16457             # my ($class, $value, $index, $output) = @_;
16458 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
16459             }
16460             # @_: ($class, $value, $index, $input) = @_;
16461             sub deserialize_node_device_get_parent_args {
16462 0     0 0   my $input_length = length $_[3];
16463 0           $_[1] = {};
16464             # Deserializing field: 'name'
16465             # my ($class, $value, $index, $input) = @_;
16466 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16467             }
16468             # @_: ($class, $value, $index, $output) = @_;
16469             sub serialize_node_device_get_parent_args {
16470 0 0   0 0   croak "Missing required input 'struct' value"
16471             unless defined $_[1];
16472              
16473             # Serializing field: 'name'
16474             croak "Missing required input value 'name'"
16475 0 0         unless exists $_[1]->{name};
16476             # my ($class, $value, $index, $output) = @_;
16477 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16478             }
16479             # @_: ($class, $value, $index, $input) = @_;
16480             sub deserialize_node_device_get_parent_ret {
16481 0     0 0   my $input_length = length $_[3];
16482 0           $_[1] = {};
16483             # Deserializing field: 'parentName'
16484             # my ($class, $value, $index, $input) = @_;
16485 0           $_[0]->deserialize_string( $_[1]->{parentName}, $_[2], $_[3] );
16486             }
16487             # @_: ($class, $value, $index, $output) = @_;
16488             sub serialize_node_device_get_parent_ret {
16489 0 0   0 0   croak "Missing required input 'struct' value"
16490             unless defined $_[1];
16491              
16492             # Serializing field: 'parentName'
16493             croak "Missing required input value 'parentName'"
16494 0 0         unless exists $_[1]->{parentName};
16495             # my ($class, $value, $index, $output) = @_;
16496 0           $_[0]->serialize_string( $_[1]->{parentName}, $_[2], $_[3] );
16497             }
16498             # @_: ($class, $value, $index, $input) = @_;
16499             sub deserialize_node_device_num_of_caps_args {
16500 0     0 0   my $input_length = length $_[3];
16501 0           $_[1] = {};
16502             # Deserializing field: 'name'
16503             # my ($class, $value, $index, $input) = @_;
16504 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16505             }
16506             # @_: ($class, $value, $index, $output) = @_;
16507             sub serialize_node_device_num_of_caps_args {
16508 0 0   0 0   croak "Missing required input 'struct' value"
16509             unless defined $_[1];
16510              
16511             # Serializing field: 'name'
16512             croak "Missing required input value 'name'"
16513 0 0         unless exists $_[1]->{name};
16514             # my ($class, $value, $index, $output) = @_;
16515 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16516             }
16517             # @_: ($class, $value, $index, $input) = @_;
16518             sub deserialize_node_device_num_of_caps_ret {
16519 0     0 0   my $input_length = length $_[3];
16520 0           $_[1] = {};
16521             # Deserializing field: 'num'
16522             # my ($class, $value, $index, $input) = @_;
16523 0 0         die "Input buffer too short"
16524             if ($input_length - $_[2]) < 4;
16525 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
16526 0           $_[2] += 4;
16527             die "Out of bounds 'int': $_[1]->{num}"
16528 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
16529             }
16530             # @_: ($class, $value, $index, $output) = @_;
16531             sub serialize_node_device_num_of_caps_ret {
16532 0 0   0 0   croak "Missing required input 'struct' value"
16533             unless defined $_[1];
16534              
16535             # Serializing field: 'num'
16536             croak "Missing required input value 'num'"
16537 0 0         unless exists $_[1]->{num};
16538             # my ($class, $value, $index, $output) = @_;
16539             croak "Missing required input 'int' value"
16540 0 0         unless defined $_[1]->{num};
16541             die "Out of bounds 'int': $_[1]->{num}"
16542 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
16543             die "Non-integer 'int' value given: $_[1]->{num}"
16544 0 0         unless int($_[1]->{num}) == $_[1]->{num};
16545 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
16546 0           $_[2] += 4;
16547             }
16548             # @_: ($class, $value, $index, $input) = @_;
16549             sub deserialize_node_device_list_caps_args {
16550 0     0 0   my $input_length = length $_[3];
16551 0           $_[1] = {};
16552             # Deserializing field: 'name'
16553             # my ($class, $value, $index, $input) = @_;
16554 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16555              
16556             # Deserializing field: 'maxnames'
16557             # my ($class, $value, $index, $input) = @_;
16558 0 0         die "Input buffer too short"
16559             if ($input_length - $_[2]) < 4;
16560 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
16561 0           $_[2] += 4;
16562             die "Out of bounds 'int': $_[1]->{maxnames}"
16563 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
16564             }
16565             # @_: ($class, $value, $index, $output) = @_;
16566             sub serialize_node_device_list_caps_args {
16567 0 0   0 0   croak "Missing required input 'struct' value"
16568             unless defined $_[1];
16569              
16570             # Serializing field: 'name'
16571             croak "Missing required input value 'name'"
16572 0 0         unless exists $_[1]->{name};
16573             # my ($class, $value, $index, $output) = @_;
16574 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16575              
16576             # Serializing field: 'maxnames'
16577             croak "Missing required input value 'maxnames'"
16578 0 0         unless exists $_[1]->{maxnames};
16579             # my ($class, $value, $index, $output) = @_;
16580             croak "Missing required input 'int' value"
16581 0 0         unless defined $_[1]->{maxnames};
16582             die "Out of bounds 'int': $_[1]->{maxnames}"
16583 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
16584             die "Non-integer 'int' value given: $_[1]->{maxnames}"
16585 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
16586 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
16587 0           $_[2] += 4;
16588             }
16589             # @_: ($class, $value, $index, $input) = @_;
16590             sub deserialize_node_device_list_caps_ret {
16591 0     0 0   my $input_length = length $_[3];
16592 0           $_[1] = {};
16593             # Deserializing field: 'names'
16594             # my ($class, $value, $index, $input) = @_;
16595 0           do {
16596 0 0         die "Input buffer too short"
16597             if ($input_length - $_[2]) < 4;
16598 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
16599 0           $_[2] += 4;
16600              
16601 0 0         die "Array too long (max: 65536): $len"
16602             unless ($len <= 65536);
16603 0           $_[1]->{names} = [];
16604 0           for my $i1 ( 0 .. ($len - 1) ) {
16605             # my ($class, $value, $index, $input) = @_;
16606 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
16607             }
16608             };
16609             }
16610             # @_: ($class, $value, $index, $output) = @_;
16611             sub serialize_node_device_list_caps_ret {
16612 0 0   0 0   croak "Missing required input 'struct' value"
16613             unless defined $_[1];
16614              
16615             # Serializing field: 'names'
16616             croak "Missing required input value 'names'"
16617 0 0         unless exists $_[1]->{names};
16618             # my ($class, $value, $index, $output) = @_;
16619             croak "Missing required input 'array' value"
16620 0 0         unless defined $_[1]->{names};
16621 0           do {
16622 0           my $len = scalar @{ $_[1]->{names} };
  0            
16623 0 0         die "Array too long (max: 65536): $len"
16624             unless ($len <= 65536);
16625              
16626 0           substr( $_[3], $_[2] ) = pack("L>", $len);
16627 0           $_[2] += 4;
16628 0           for my $i1 ( 0 .. ($len - 1) ) {
16629             # my ($class, $value, $index, $output) = @_;
16630 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
16631             }
16632             };
16633             }
16634             # @_: ($class, $value, $index, $input) = @_;
16635             sub deserialize_node_device_dettach_args {
16636 0     0 0   my $input_length = length $_[3];
16637 0           $_[1] = {};
16638             # Deserializing field: 'name'
16639             # my ($class, $value, $index, $input) = @_;
16640 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16641             }
16642             # @_: ($class, $value, $index, $output) = @_;
16643             sub serialize_node_device_dettach_args {
16644 0 0   0 0   croak "Missing required input 'struct' value"
16645             unless defined $_[1];
16646              
16647             # Serializing field: 'name'
16648             croak "Missing required input value 'name'"
16649 0 0         unless exists $_[1]->{name};
16650             # my ($class, $value, $index, $output) = @_;
16651 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16652             }
16653             # @_: ($class, $value, $index, $input) = @_;
16654             sub deserialize_node_device_detach_flags_args {
16655 0     0 0   my $input_length = length $_[3];
16656 0           $_[1] = {};
16657             # Deserializing field: 'name'
16658             # my ($class, $value, $index, $input) = @_;
16659 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16660              
16661             # Deserializing field: 'driverName'
16662             # my ($class, $value, $index, $input) = @_;
16663 0           $_[0]->deserialize_string( $_[1]->{driverName}, $_[2], $_[3] );
16664              
16665             # Deserializing field: 'flags'
16666             # my ($class, $value, $index, $input) = @_;
16667 0 0         die "Input buffer too short"
16668             if ($input_length - $_[2]) < 4;
16669 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16670 0           $_[2] += 4;
16671             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16672 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16673             }
16674             # @_: ($class, $value, $index, $output) = @_;
16675             sub serialize_node_device_detach_flags_args {
16676 0 0   0 0   croak "Missing required input 'struct' value"
16677             unless defined $_[1];
16678              
16679             # Serializing field: 'name'
16680             croak "Missing required input value 'name'"
16681 0 0         unless exists $_[1]->{name};
16682             # my ($class, $value, $index, $output) = @_;
16683 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16684              
16685             # Serializing field: 'driverName'
16686             croak "Missing required input value 'driverName'"
16687 0 0         unless exists $_[1]->{driverName};
16688             # my ($class, $value, $index, $output) = @_;
16689 0           $_[0]->serialize_string( $_[1]->{driverName}, $_[2], $_[3] );
16690              
16691             # Serializing field: 'flags'
16692             croak "Missing required input value 'flags'"
16693 0 0         unless exists $_[1]->{flags};
16694             # my ($class, $value, $index, $output) = @_;
16695             croak "Missing required input 'unsigned int' value"
16696 0 0         unless defined $_[1]->{flags};
16697             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16698 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16699             die "Non-integer 'int' value given: $_[1]->{flags}"
16700 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16701 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16702 0           $_[2] += 4;
16703             }
16704             # @_: ($class, $value, $index, $input) = @_;
16705             sub deserialize_node_device_re_attach_args {
16706 0     0 0   my $input_length = length $_[3];
16707 0           $_[1] = {};
16708             # Deserializing field: 'name'
16709             # my ($class, $value, $index, $input) = @_;
16710 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16711             }
16712             # @_: ($class, $value, $index, $output) = @_;
16713             sub serialize_node_device_re_attach_args {
16714 0 0   0 0   croak "Missing required input 'struct' value"
16715             unless defined $_[1];
16716              
16717             # Serializing field: 'name'
16718             croak "Missing required input value 'name'"
16719 0 0         unless exists $_[1]->{name};
16720             # my ($class, $value, $index, $output) = @_;
16721 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16722             }
16723             # @_: ($class, $value, $index, $input) = @_;
16724             sub deserialize_node_device_reset_args {
16725 0     0 0   my $input_length = length $_[3];
16726 0           $_[1] = {};
16727             # Deserializing field: 'name'
16728             # my ($class, $value, $index, $input) = @_;
16729 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16730             }
16731             # @_: ($class, $value, $index, $output) = @_;
16732             sub serialize_node_device_reset_args {
16733 0 0   0 0   croak "Missing required input 'struct' value"
16734             unless defined $_[1];
16735              
16736             # Serializing field: 'name'
16737             croak "Missing required input value 'name'"
16738 0 0         unless exists $_[1]->{name};
16739             # my ($class, $value, $index, $output) = @_;
16740 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16741             }
16742             # @_: ($class, $value, $index, $input) = @_;
16743             sub deserialize_node_device_create_xml_args {
16744 0     0 0   my $input_length = length $_[3];
16745 0           $_[1] = {};
16746             # Deserializing field: 'xml_desc'
16747             # my ($class, $value, $index, $input) = @_;
16748 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
16749              
16750             # Deserializing field: 'flags'
16751             # my ($class, $value, $index, $input) = @_;
16752 0 0         die "Input buffer too short"
16753             if ($input_length - $_[2]) < 4;
16754 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16755 0           $_[2] += 4;
16756             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16757 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16758             }
16759             # @_: ($class, $value, $index, $output) = @_;
16760             sub serialize_node_device_create_xml_args {
16761 0 0   0 0   croak "Missing required input 'struct' value"
16762             unless defined $_[1];
16763              
16764             # Serializing field: 'xml_desc'
16765             croak "Missing required input value 'xml_desc'"
16766 0 0         unless exists $_[1]->{xml_desc};
16767             # my ($class, $value, $index, $output) = @_;
16768 0           $_[0]->serialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
16769              
16770             # Serializing field: 'flags'
16771             croak "Missing required input value 'flags'"
16772 0 0         unless exists $_[1]->{flags};
16773             # my ($class, $value, $index, $output) = @_;
16774             croak "Missing required input 'unsigned int' value"
16775 0 0         unless defined $_[1]->{flags};
16776             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16777 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16778             die "Non-integer 'int' value given: $_[1]->{flags}"
16779 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16780 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16781 0           $_[2] += 4;
16782             }
16783             # @_: ($class, $value, $index, $input) = @_;
16784             sub deserialize_node_device_create_xml_ret {
16785 0     0 0   my $input_length = length $_[3];
16786 0           $_[1] = {};
16787             # Deserializing field: 'dev'
16788             # my ($class, $value, $index, $input) = @_;
16789 0           $_[0]->deserialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
16790             }
16791             # @_: ($class, $value, $index, $output) = @_;
16792             sub serialize_node_device_create_xml_ret {
16793 0 0   0 0   croak "Missing required input 'struct' value"
16794             unless defined $_[1];
16795              
16796             # Serializing field: 'dev'
16797             croak "Missing required input value 'dev'"
16798 0 0         unless exists $_[1]->{dev};
16799             # my ($class, $value, $index, $output) = @_;
16800 0           $_[0]->serialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
16801             }
16802             # @_: ($class, $value, $index, $input) = @_;
16803             sub deserialize_node_device_destroy_args {
16804 0     0 0   my $input_length = length $_[3];
16805 0           $_[1] = {};
16806             # Deserializing field: 'name'
16807             # my ($class, $value, $index, $input) = @_;
16808 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16809             }
16810             # @_: ($class, $value, $index, $output) = @_;
16811             sub serialize_node_device_destroy_args {
16812 0 0   0 0   croak "Missing required input 'struct' value"
16813             unless defined $_[1];
16814              
16815             # Serializing field: 'name'
16816             croak "Missing required input value 'name'"
16817 0 0         unless exists $_[1]->{name};
16818             # my ($class, $value, $index, $output) = @_;
16819 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16820             }
16821             # @_: ($class, $value, $index, $input) = @_;
16822             sub deserialize_node_device_define_xml_args {
16823 0     0 0   my $input_length = length $_[3];
16824 0           $_[1] = {};
16825             # Deserializing field: 'xml_desc'
16826             # my ($class, $value, $index, $input) = @_;
16827 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
16828              
16829             # Deserializing field: 'flags'
16830             # my ($class, $value, $index, $input) = @_;
16831 0 0         die "Input buffer too short"
16832             if ($input_length - $_[2]) < 4;
16833 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16834 0           $_[2] += 4;
16835             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16836 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16837             }
16838             # @_: ($class, $value, $index, $output) = @_;
16839             sub serialize_node_device_define_xml_args {
16840 0 0   0 0   croak "Missing required input 'struct' value"
16841             unless defined $_[1];
16842              
16843             # Serializing field: 'xml_desc'
16844             croak "Missing required input value 'xml_desc'"
16845 0 0         unless exists $_[1]->{xml_desc};
16846             # my ($class, $value, $index, $output) = @_;
16847 0           $_[0]->serialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
16848              
16849             # Serializing field: 'flags'
16850             croak "Missing required input value 'flags'"
16851 0 0         unless exists $_[1]->{flags};
16852             # my ($class, $value, $index, $output) = @_;
16853             croak "Missing required input 'unsigned int' value"
16854 0 0         unless defined $_[1]->{flags};
16855             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16856 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16857             die "Non-integer 'int' value given: $_[1]->{flags}"
16858 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16859 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16860 0           $_[2] += 4;
16861             }
16862             # @_: ($class, $value, $index, $input) = @_;
16863             sub deserialize_node_device_define_xml_ret {
16864 0     0 0   my $input_length = length $_[3];
16865 0           $_[1] = {};
16866             # Deserializing field: 'dev'
16867             # my ($class, $value, $index, $input) = @_;
16868 0           $_[0]->deserialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
16869             }
16870             # @_: ($class, $value, $index, $output) = @_;
16871             sub serialize_node_device_define_xml_ret {
16872 0 0   0 0   croak "Missing required input 'struct' value"
16873             unless defined $_[1];
16874              
16875             # Serializing field: 'dev'
16876             croak "Missing required input value 'dev'"
16877 0 0         unless exists $_[1]->{dev};
16878             # my ($class, $value, $index, $output) = @_;
16879 0           $_[0]->serialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
16880             }
16881             # @_: ($class, $value, $index, $input) = @_;
16882             sub deserialize_node_device_undefine_args {
16883 0     0 0   my $input_length = length $_[3];
16884 0           $_[1] = {};
16885             # Deserializing field: 'name'
16886             # my ($class, $value, $index, $input) = @_;
16887 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16888              
16889             # Deserializing field: 'flags'
16890             # my ($class, $value, $index, $input) = @_;
16891 0 0         die "Input buffer too short"
16892             if ($input_length - $_[2]) < 4;
16893 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16894 0           $_[2] += 4;
16895             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16896 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16897             }
16898             # @_: ($class, $value, $index, $output) = @_;
16899             sub serialize_node_device_undefine_args {
16900 0 0   0 0   croak "Missing required input 'struct' value"
16901             unless defined $_[1];
16902              
16903             # Serializing field: 'name'
16904             croak "Missing required input value 'name'"
16905 0 0         unless exists $_[1]->{name};
16906             # my ($class, $value, $index, $output) = @_;
16907 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16908              
16909             # Serializing field: 'flags'
16910             croak "Missing required input value 'flags'"
16911 0 0         unless exists $_[1]->{flags};
16912             # my ($class, $value, $index, $output) = @_;
16913             croak "Missing required input 'unsigned int' value"
16914 0 0         unless defined $_[1]->{flags};
16915             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16916 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16917             die "Non-integer 'int' value given: $_[1]->{flags}"
16918 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16919 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16920 0           $_[2] += 4;
16921             }
16922             # @_: ($class, $value, $index, $input) = @_;
16923             sub deserialize_node_device_create_args {
16924 0     0 0   my $input_length = length $_[3];
16925 0           $_[1] = {};
16926             # Deserializing field: 'name'
16927             # my ($class, $value, $index, $input) = @_;
16928 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16929              
16930             # Deserializing field: 'flags'
16931             # my ($class, $value, $index, $input) = @_;
16932 0 0         die "Input buffer too short"
16933             if ($input_length - $_[2]) < 4;
16934 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
16935 0           $_[2] += 4;
16936             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16937 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16938             }
16939             # @_: ($class, $value, $index, $output) = @_;
16940             sub serialize_node_device_create_args {
16941 0 0   0 0   croak "Missing required input 'struct' value"
16942             unless defined $_[1];
16943              
16944             # Serializing field: 'name'
16945             croak "Missing required input value 'name'"
16946 0 0         unless exists $_[1]->{name};
16947             # my ($class, $value, $index, $output) = @_;
16948 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16949              
16950             # Serializing field: 'flags'
16951             croak "Missing required input value 'flags'"
16952 0 0         unless exists $_[1]->{flags};
16953             # my ($class, $value, $index, $output) = @_;
16954             croak "Missing required input 'unsigned int' value"
16955 0 0         unless defined $_[1]->{flags};
16956             die "Out of bounds 'unsigned int': $_[1]->{flags}"
16957 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
16958             die "Non-integer 'int' value given: $_[1]->{flags}"
16959 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
16960 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
16961 0           $_[2] += 4;
16962             }
16963             # @_: ($class, $value, $index, $input) = @_;
16964             sub deserialize_node_device_get_autostart_args {
16965 0     0 0   my $input_length = length $_[3];
16966 0           $_[1] = {};
16967             # Deserializing field: 'name'
16968             # my ($class, $value, $index, $input) = @_;
16969 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16970             }
16971             # @_: ($class, $value, $index, $output) = @_;
16972             sub serialize_node_device_get_autostart_args {
16973 0 0   0 0   croak "Missing required input 'struct' value"
16974             unless defined $_[1];
16975              
16976             # Serializing field: 'name'
16977             croak "Missing required input value 'name'"
16978 0 0         unless exists $_[1]->{name};
16979             # my ($class, $value, $index, $output) = @_;
16980 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
16981             }
16982             # @_: ($class, $value, $index, $input) = @_;
16983             sub deserialize_node_device_get_autostart_ret {
16984 0     0 0   my $input_length = length $_[3];
16985 0           $_[1] = {};
16986             # Deserializing field: 'autostart'
16987             # my ($class, $value, $index, $input) = @_;
16988 0 0         die "Input buffer too short"
16989             if ($input_length - $_[2]) < 4;
16990 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
16991 0           $_[2] += 4;
16992             die "Out of bounds 'int': $_[1]->{autostart}"
16993 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
16994             }
16995             # @_: ($class, $value, $index, $output) = @_;
16996             sub serialize_node_device_get_autostart_ret {
16997 0 0   0 0   croak "Missing required input 'struct' value"
16998             unless defined $_[1];
16999              
17000             # Serializing field: 'autostart'
17001             croak "Missing required input value 'autostart'"
17002 0 0         unless exists $_[1]->{autostart};
17003             # my ($class, $value, $index, $output) = @_;
17004             croak "Missing required input 'int' value"
17005 0 0         unless defined $_[1]->{autostart};
17006             die "Out of bounds 'int': $_[1]->{autostart}"
17007 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
17008             die "Non-integer 'int' value given: $_[1]->{autostart}"
17009 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
17010 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
17011 0           $_[2] += 4;
17012             }
17013             # @_: ($class, $value, $index, $input) = @_;
17014             sub deserialize_node_device_set_autostart_args {
17015 0     0 0   my $input_length = length $_[3];
17016 0           $_[1] = {};
17017             # Deserializing field: 'name'
17018             # my ($class, $value, $index, $input) = @_;
17019 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
17020              
17021             # Deserializing field: 'autostart'
17022             # my ($class, $value, $index, $input) = @_;
17023 0 0         die "Input buffer too short"
17024             if ($input_length - $_[2]) < 4;
17025 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
17026 0           $_[2] += 4;
17027             die "Out of bounds 'int': $_[1]->{autostart}"
17028 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
17029             }
17030             # @_: ($class, $value, $index, $output) = @_;
17031             sub serialize_node_device_set_autostart_args {
17032 0 0   0 0   croak "Missing required input 'struct' value"
17033             unless defined $_[1];
17034              
17035             # Serializing field: 'name'
17036             croak "Missing required input value 'name'"
17037 0 0         unless exists $_[1]->{name};
17038             # my ($class, $value, $index, $output) = @_;
17039 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
17040              
17041             # Serializing field: 'autostart'
17042             croak "Missing required input value 'autostart'"
17043 0 0         unless exists $_[1]->{autostart};
17044             # my ($class, $value, $index, $output) = @_;
17045             croak "Missing required input 'int' value"
17046 0 0         unless defined $_[1]->{autostart};
17047             die "Out of bounds 'int': $_[1]->{autostart}"
17048 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
17049             die "Non-integer 'int' value given: $_[1]->{autostart}"
17050 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
17051 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
17052 0           $_[2] += 4;
17053             }
17054             # @_: ($class, $value, $index, $input) = @_;
17055             sub deserialize_node_device_is_persistent_args {
17056 0     0 0   my $input_length = length $_[3];
17057 0           $_[1] = {};
17058             # Deserializing field: 'name'
17059             # my ($class, $value, $index, $input) = @_;
17060 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
17061             }
17062             # @_: ($class, $value, $index, $output) = @_;
17063             sub serialize_node_device_is_persistent_args {
17064 0 0   0 0   croak "Missing required input 'struct' value"
17065             unless defined $_[1];
17066              
17067             # Serializing field: 'name'
17068             croak "Missing required input value 'name'"
17069 0 0         unless exists $_[1]->{name};
17070             # my ($class, $value, $index, $output) = @_;
17071 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
17072             }
17073             # @_: ($class, $value, $index, $input) = @_;
17074             sub deserialize_node_device_is_persistent_ret {
17075 0     0 0   my $input_length = length $_[3];
17076 0           $_[1] = {};
17077             # Deserializing field: 'persistent'
17078             # my ($class, $value, $index, $input) = @_;
17079 0 0         die "Input buffer too short"
17080             if ($input_length - $_[2]) < 4;
17081 0           $_[1]->{persistent} = unpack("l>", substr( $_[3], $_[2] ));
17082 0           $_[2] += 4;
17083             die "Out of bounds 'int': $_[1]->{persistent}"
17084 0 0 0       unless (-2147483648 <= $_[1]->{persistent} and $_[1]->{persistent} < 2147483648);
17085             }
17086             # @_: ($class, $value, $index, $output) = @_;
17087             sub serialize_node_device_is_persistent_ret {
17088 0 0   0 0   croak "Missing required input 'struct' value"
17089             unless defined $_[1];
17090              
17091             # Serializing field: 'persistent'
17092             croak "Missing required input value 'persistent'"
17093 0 0         unless exists $_[1]->{persistent};
17094             # my ($class, $value, $index, $output) = @_;
17095             croak "Missing required input 'int' value"
17096 0 0         unless defined $_[1]->{persistent};
17097             die "Out of bounds 'int': $_[1]->{persistent}"
17098 0 0 0       unless (-2147483648 <= $_[1]->{persistent} and $_[1]->{persistent} < 2147483648);
17099             die "Non-integer 'int' value given: $_[1]->{persistent}"
17100 0 0         unless int($_[1]->{persistent}) == $_[1]->{persistent};
17101 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{persistent});
17102 0           $_[2] += 4;
17103             }
17104             # @_: ($class, $value, $index, $input) = @_;
17105             sub deserialize_node_device_is_active_args {
17106 0     0 0   my $input_length = length $_[3];
17107 0           $_[1] = {};
17108             # Deserializing field: 'name'
17109             # my ($class, $value, $index, $input) = @_;
17110 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
17111             }
17112             # @_: ($class, $value, $index, $output) = @_;
17113             sub serialize_node_device_is_active_args {
17114 0 0   0 0   croak "Missing required input 'struct' value"
17115             unless defined $_[1];
17116              
17117             # Serializing field: 'name'
17118             croak "Missing required input value 'name'"
17119 0 0         unless exists $_[1]->{name};
17120             # my ($class, $value, $index, $output) = @_;
17121 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
17122             }
17123             # @_: ($class, $value, $index, $input) = @_;
17124             sub deserialize_node_device_is_active_ret {
17125 0     0 0   my $input_length = length $_[3];
17126 0           $_[1] = {};
17127             # Deserializing field: 'active'
17128             # my ($class, $value, $index, $input) = @_;
17129 0 0         die "Input buffer too short"
17130             if ($input_length - $_[2]) < 4;
17131 0           $_[1]->{active} = unpack("l>", substr( $_[3], $_[2] ));
17132 0           $_[2] += 4;
17133             die "Out of bounds 'int': $_[1]->{active}"
17134 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
17135             }
17136             # @_: ($class, $value, $index, $output) = @_;
17137             sub serialize_node_device_is_active_ret {
17138 0 0   0 0   croak "Missing required input 'struct' value"
17139             unless defined $_[1];
17140              
17141             # Serializing field: 'active'
17142             croak "Missing required input value 'active'"
17143 0 0         unless exists $_[1]->{active};
17144             # my ($class, $value, $index, $output) = @_;
17145             croak "Missing required input 'int' value"
17146 0 0         unless defined $_[1]->{active};
17147             die "Out of bounds 'int': $_[1]->{active}"
17148 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
17149             die "Non-integer 'int' value given: $_[1]->{active}"
17150 0 0         unless int($_[1]->{active}) == $_[1]->{active};
17151 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{active});
17152 0           $_[2] += 4;
17153             }
17154             # @_: ($class, $value, $index, $input) = @_;
17155             sub deserialize_node_device_update_args {
17156 0     0 0   my $input_length = length $_[3];
17157 0           $_[1] = {};
17158             # Deserializing field: 'name'
17159             # my ($class, $value, $index, $input) = @_;
17160 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
17161              
17162             # Deserializing field: 'xml_desc'
17163             # my ($class, $value, $index, $input) = @_;
17164 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
17165              
17166             # Deserializing field: 'flags'
17167             # my ($class, $value, $index, $input) = @_;
17168 0 0         die "Input buffer too short"
17169             if ($input_length - $_[2]) < 4;
17170 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
17171 0           $_[2] += 4;
17172             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17173 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17174             }
17175             # @_: ($class, $value, $index, $output) = @_;
17176             sub serialize_node_device_update_args {
17177 0 0   0 0   croak "Missing required input 'struct' value"
17178             unless defined $_[1];
17179              
17180             # Serializing field: 'name'
17181             croak "Missing required input value 'name'"
17182 0 0         unless exists $_[1]->{name};
17183             # my ($class, $value, $index, $output) = @_;
17184 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
17185              
17186             # Serializing field: 'xml_desc'
17187             croak "Missing required input value 'xml_desc'"
17188 0 0         unless exists $_[1]->{xml_desc};
17189             # my ($class, $value, $index, $output) = @_;
17190 0           $_[0]->serialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
17191              
17192             # Serializing field: 'flags'
17193             croak "Missing required input value 'flags'"
17194 0 0         unless exists $_[1]->{flags};
17195             # my ($class, $value, $index, $output) = @_;
17196             croak "Missing required input 'unsigned int' value"
17197 0 0         unless defined $_[1]->{flags};
17198             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17199 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17200             die "Non-integer 'int' value given: $_[1]->{flags}"
17201 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
17202 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
17203 0           $_[2] += 4;
17204             }
17205             # @_: ($class, $value, $index, $input) = @_;
17206             sub deserialize_connect_domain_event_register_ret {
17207 0     0 0   my $input_length = length $_[3];
17208 0           $_[1] = {};
17209             # Deserializing field: 'cb_registered'
17210             # my ($class, $value, $index, $input) = @_;
17211 0 0         die "Input buffer too short"
17212             if ($input_length - $_[2]) < 4;
17213 0           $_[1]->{cb_registered} = unpack("l>", substr( $_[3], $_[2] ));
17214 0           $_[2] += 4;
17215             die "Out of bounds 'int': $_[1]->{cb_registered}"
17216 0 0 0       unless (-2147483648 <= $_[1]->{cb_registered} and $_[1]->{cb_registered} < 2147483648);
17217             }
17218             # @_: ($class, $value, $index, $output) = @_;
17219             sub serialize_connect_domain_event_register_ret {
17220 0 0   0 0   croak "Missing required input 'struct' value"
17221             unless defined $_[1];
17222              
17223             # Serializing field: 'cb_registered'
17224             croak "Missing required input value 'cb_registered'"
17225 0 0         unless exists $_[1]->{cb_registered};
17226             # my ($class, $value, $index, $output) = @_;
17227             croak "Missing required input 'int' value"
17228 0 0         unless defined $_[1]->{cb_registered};
17229             die "Out of bounds 'int': $_[1]->{cb_registered}"
17230 0 0 0       unless (-2147483648 <= $_[1]->{cb_registered} and $_[1]->{cb_registered} < 2147483648);
17231             die "Non-integer 'int' value given: $_[1]->{cb_registered}"
17232 0 0         unless int($_[1]->{cb_registered}) == $_[1]->{cb_registered};
17233 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cb_registered});
17234 0           $_[2] += 4;
17235             }
17236             # @_: ($class, $value, $index, $input) = @_;
17237             sub deserialize_connect_domain_event_deregister_ret {
17238 0     0 0   my $input_length = length $_[3];
17239 0           $_[1] = {};
17240             # Deserializing field: 'cb_registered'
17241             # my ($class, $value, $index, $input) = @_;
17242 0 0         die "Input buffer too short"
17243             if ($input_length - $_[2]) < 4;
17244 0           $_[1]->{cb_registered} = unpack("l>", substr( $_[3], $_[2] ));
17245 0           $_[2] += 4;
17246             die "Out of bounds 'int': $_[1]->{cb_registered}"
17247 0 0 0       unless (-2147483648 <= $_[1]->{cb_registered} and $_[1]->{cb_registered} < 2147483648);
17248             }
17249             # @_: ($class, $value, $index, $output) = @_;
17250             sub serialize_connect_domain_event_deregister_ret {
17251 0 0   0 0   croak "Missing required input 'struct' value"
17252             unless defined $_[1];
17253              
17254             # Serializing field: 'cb_registered'
17255             croak "Missing required input value 'cb_registered'"
17256 0 0         unless exists $_[1]->{cb_registered};
17257             # my ($class, $value, $index, $output) = @_;
17258             croak "Missing required input 'int' value"
17259 0 0         unless defined $_[1]->{cb_registered};
17260             die "Out of bounds 'int': $_[1]->{cb_registered}"
17261 0 0 0       unless (-2147483648 <= $_[1]->{cb_registered} and $_[1]->{cb_registered} < 2147483648);
17262             die "Non-integer 'int' value given: $_[1]->{cb_registered}"
17263 0 0         unless int($_[1]->{cb_registered}) == $_[1]->{cb_registered};
17264 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cb_registered});
17265 0           $_[2] += 4;
17266             }
17267             # @_: ($class, $value, $index, $input) = @_;
17268             sub deserialize_domain_event_lifecycle_msg {
17269 0     0 0   my $input_length = length $_[3];
17270 0           $_[1] = {};
17271             # Deserializing field: 'dom'
17272             # my ($class, $value, $index, $input) = @_;
17273 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
17274              
17275             # Deserializing field: 'event'
17276             # my ($class, $value, $index, $input) = @_;
17277 0 0         die "Input buffer too short"
17278             if ($input_length - $_[2]) < 4;
17279 0           $_[1]->{event} = unpack("l>", substr( $_[3], $_[2] ));
17280 0           $_[2] += 4;
17281             die "Out of bounds 'int': $_[1]->{event}"
17282 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
17283              
17284             # Deserializing field: 'detail'
17285             # my ($class, $value, $index, $input) = @_;
17286 0 0         die "Input buffer too short"
17287             if ($input_length - $_[2]) < 4;
17288 0           $_[1]->{detail} = unpack("l>", substr( $_[3], $_[2] ));
17289 0           $_[2] += 4;
17290             die "Out of bounds 'int': $_[1]->{detail}"
17291 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
17292             }
17293             # @_: ($class, $value, $index, $output) = @_;
17294             sub serialize_domain_event_lifecycle_msg {
17295 0 0   0 0   croak "Missing required input 'struct' value"
17296             unless defined $_[1];
17297              
17298             # Serializing field: 'dom'
17299             croak "Missing required input value 'dom'"
17300 0 0         unless exists $_[1]->{dom};
17301             # my ($class, $value, $index, $output) = @_;
17302 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
17303              
17304             # Serializing field: 'event'
17305             croak "Missing required input value 'event'"
17306 0 0         unless exists $_[1]->{event};
17307             # my ($class, $value, $index, $output) = @_;
17308             croak "Missing required input 'int' value"
17309 0 0         unless defined $_[1]->{event};
17310             die "Out of bounds 'int': $_[1]->{event}"
17311 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
17312             die "Non-integer 'int' value given: $_[1]->{event}"
17313 0 0         unless int($_[1]->{event}) == $_[1]->{event};
17314 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{event});
17315 0           $_[2] += 4;
17316              
17317             # Serializing field: 'detail'
17318             croak "Missing required input value 'detail'"
17319 0 0         unless exists $_[1]->{detail};
17320             # my ($class, $value, $index, $output) = @_;
17321             croak "Missing required input 'int' value"
17322 0 0         unless defined $_[1]->{detail};
17323             die "Out of bounds 'int': $_[1]->{detail}"
17324 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
17325             die "Non-integer 'int' value given: $_[1]->{detail}"
17326 0 0         unless int($_[1]->{detail}) == $_[1]->{detail};
17327 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{detail});
17328 0           $_[2] += 4;
17329             }
17330             # @_: ($class, $value, $index, $input) = @_;
17331             sub deserialize_domain_event_callback_lifecycle_msg {
17332 0     0 0   my $input_length = length $_[3];
17333 0           $_[1] = {};
17334             # Deserializing field: 'callbackID'
17335             # my ($class, $value, $index, $input) = @_;
17336 0 0         die "Input buffer too short"
17337             if ($input_length - $_[2]) < 4;
17338 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
17339 0           $_[2] += 4;
17340             die "Out of bounds 'int': $_[1]->{callbackID}"
17341 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
17342              
17343             # Deserializing field: 'msg'
17344             # my ($class, $value, $index, $input) = @_;
17345 0           $_[0]->deserialize_domain_event_lifecycle_msg( $_[1]->{msg}, $_[2], $_[3] );
17346             }
17347             # @_: ($class, $value, $index, $output) = @_;
17348             sub serialize_domain_event_callback_lifecycle_msg {
17349 0 0   0 0   croak "Missing required input 'struct' value"
17350             unless defined $_[1];
17351              
17352             # Serializing field: 'callbackID'
17353             croak "Missing required input value 'callbackID'"
17354 0 0         unless exists $_[1]->{callbackID};
17355             # my ($class, $value, $index, $output) = @_;
17356             croak "Missing required input 'int' value"
17357 0 0         unless defined $_[1]->{callbackID};
17358             die "Out of bounds 'int': $_[1]->{callbackID}"
17359 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
17360             die "Non-integer 'int' value given: $_[1]->{callbackID}"
17361 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
17362 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
17363 0           $_[2] += 4;
17364              
17365             # Serializing field: 'msg'
17366             croak "Missing required input value 'msg'"
17367 0 0         unless exists $_[1]->{msg};
17368             # my ($class, $value, $index, $output) = @_;
17369 0           $_[0]->serialize_domain_event_lifecycle_msg( $_[1]->{msg}, $_[2], $_[3] );
17370             }
17371             # @_: ($class, $value, $index, $input) = @_;
17372             sub deserialize_connect_domain_xml_from_native_args {
17373 0     0 0   my $input_length = length $_[3];
17374 0           $_[1] = {};
17375             # Deserializing field: 'nativeFormat'
17376             # my ($class, $value, $index, $input) = @_;
17377 0           $_[0]->deserialize_nonnull_string( $_[1]->{nativeFormat}, $_[2], $_[3] );
17378              
17379             # Deserializing field: 'nativeConfig'
17380             # my ($class, $value, $index, $input) = @_;
17381 0           $_[0]->deserialize_nonnull_string( $_[1]->{nativeConfig}, $_[2], $_[3] );
17382              
17383             # Deserializing field: 'flags'
17384             # my ($class, $value, $index, $input) = @_;
17385 0 0         die "Input buffer too short"
17386             if ($input_length - $_[2]) < 4;
17387 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
17388 0           $_[2] += 4;
17389             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17390 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17391             }
17392             # @_: ($class, $value, $index, $output) = @_;
17393             sub serialize_connect_domain_xml_from_native_args {
17394 0 0   0 0   croak "Missing required input 'struct' value"
17395             unless defined $_[1];
17396              
17397             # Serializing field: 'nativeFormat'
17398             croak "Missing required input value 'nativeFormat'"
17399 0 0         unless exists $_[1]->{nativeFormat};
17400             # my ($class, $value, $index, $output) = @_;
17401 0           $_[0]->serialize_nonnull_string( $_[1]->{nativeFormat}, $_[2], $_[3] );
17402              
17403             # Serializing field: 'nativeConfig'
17404             croak "Missing required input value 'nativeConfig'"
17405 0 0         unless exists $_[1]->{nativeConfig};
17406             # my ($class, $value, $index, $output) = @_;
17407 0           $_[0]->serialize_nonnull_string( $_[1]->{nativeConfig}, $_[2], $_[3] );
17408              
17409             # Serializing field: 'flags'
17410             croak "Missing required input value 'flags'"
17411 0 0         unless exists $_[1]->{flags};
17412             # my ($class, $value, $index, $output) = @_;
17413             croak "Missing required input 'unsigned int' value"
17414 0 0         unless defined $_[1]->{flags};
17415             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17416 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17417             die "Non-integer 'int' value given: $_[1]->{flags}"
17418 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
17419 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
17420 0           $_[2] += 4;
17421             }
17422             # @_: ($class, $value, $index, $input) = @_;
17423             sub deserialize_connect_domain_xml_from_native_ret {
17424 0     0 0   my $input_length = length $_[3];
17425 0           $_[1] = {};
17426             # Deserializing field: 'domainXml'
17427             # my ($class, $value, $index, $input) = @_;
17428 0           $_[0]->deserialize_nonnull_string( $_[1]->{domainXml}, $_[2], $_[3] );
17429             }
17430             # @_: ($class, $value, $index, $output) = @_;
17431             sub serialize_connect_domain_xml_from_native_ret {
17432 0 0   0 0   croak "Missing required input 'struct' value"
17433             unless defined $_[1];
17434              
17435             # Serializing field: 'domainXml'
17436             croak "Missing required input value 'domainXml'"
17437 0 0         unless exists $_[1]->{domainXml};
17438             # my ($class, $value, $index, $output) = @_;
17439 0           $_[0]->serialize_nonnull_string( $_[1]->{domainXml}, $_[2], $_[3] );
17440             }
17441             # @_: ($class, $value, $index, $input) = @_;
17442             sub deserialize_connect_domain_xml_to_native_args {
17443 0     0 0   my $input_length = length $_[3];
17444 0           $_[1] = {};
17445             # Deserializing field: 'nativeFormat'
17446             # my ($class, $value, $index, $input) = @_;
17447 0           $_[0]->deserialize_nonnull_string( $_[1]->{nativeFormat}, $_[2], $_[3] );
17448              
17449             # Deserializing field: 'domainXml'
17450             # my ($class, $value, $index, $input) = @_;
17451 0           $_[0]->deserialize_nonnull_string( $_[1]->{domainXml}, $_[2], $_[3] );
17452              
17453             # Deserializing field: 'flags'
17454             # my ($class, $value, $index, $input) = @_;
17455 0 0         die "Input buffer too short"
17456             if ($input_length - $_[2]) < 4;
17457 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
17458 0           $_[2] += 4;
17459             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17460 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17461             }
17462             # @_: ($class, $value, $index, $output) = @_;
17463             sub serialize_connect_domain_xml_to_native_args {
17464 0 0   0 0   croak "Missing required input 'struct' value"
17465             unless defined $_[1];
17466              
17467             # Serializing field: 'nativeFormat'
17468             croak "Missing required input value 'nativeFormat'"
17469 0 0         unless exists $_[1]->{nativeFormat};
17470             # my ($class, $value, $index, $output) = @_;
17471 0           $_[0]->serialize_nonnull_string( $_[1]->{nativeFormat}, $_[2], $_[3] );
17472              
17473             # Serializing field: 'domainXml'
17474             croak "Missing required input value 'domainXml'"
17475 0 0         unless exists $_[1]->{domainXml};
17476             # my ($class, $value, $index, $output) = @_;
17477 0           $_[0]->serialize_nonnull_string( $_[1]->{domainXml}, $_[2], $_[3] );
17478              
17479             # Serializing field: 'flags'
17480             croak "Missing required input value 'flags'"
17481 0 0         unless exists $_[1]->{flags};
17482             # my ($class, $value, $index, $output) = @_;
17483             croak "Missing required input 'unsigned int' value"
17484 0 0         unless defined $_[1]->{flags};
17485             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17486 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17487             die "Non-integer 'int' value given: $_[1]->{flags}"
17488 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
17489 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
17490 0           $_[2] += 4;
17491             }
17492             # @_: ($class, $value, $index, $input) = @_;
17493             sub deserialize_connect_domain_xml_to_native_ret {
17494 0     0 0   my $input_length = length $_[3];
17495 0           $_[1] = {};
17496             # Deserializing field: 'nativeConfig'
17497             # my ($class, $value, $index, $input) = @_;
17498 0           $_[0]->deserialize_nonnull_string( $_[1]->{nativeConfig}, $_[2], $_[3] );
17499             }
17500             # @_: ($class, $value, $index, $output) = @_;
17501             sub serialize_connect_domain_xml_to_native_ret {
17502 0 0   0 0   croak "Missing required input 'struct' value"
17503             unless defined $_[1];
17504              
17505             # Serializing field: 'nativeConfig'
17506             croak "Missing required input value 'nativeConfig'"
17507 0 0         unless exists $_[1]->{nativeConfig};
17508             # my ($class, $value, $index, $output) = @_;
17509 0           $_[0]->serialize_nonnull_string( $_[1]->{nativeConfig}, $_[2], $_[3] );
17510             }
17511             # @_: ($class, $value, $index, $input) = @_;
17512             sub deserialize_connect_num_of_secrets_ret {
17513 0     0 0   my $input_length = length $_[3];
17514 0           $_[1] = {};
17515             # Deserializing field: 'num'
17516             # my ($class, $value, $index, $input) = @_;
17517 0 0         die "Input buffer too short"
17518             if ($input_length - $_[2]) < 4;
17519 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
17520 0           $_[2] += 4;
17521             die "Out of bounds 'int': $_[1]->{num}"
17522 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
17523             }
17524             # @_: ($class, $value, $index, $output) = @_;
17525             sub serialize_connect_num_of_secrets_ret {
17526 0 0   0 0   croak "Missing required input 'struct' value"
17527             unless defined $_[1];
17528              
17529             # Serializing field: 'num'
17530             croak "Missing required input value 'num'"
17531 0 0         unless exists $_[1]->{num};
17532             # my ($class, $value, $index, $output) = @_;
17533             croak "Missing required input 'int' value"
17534 0 0         unless defined $_[1]->{num};
17535             die "Out of bounds 'int': $_[1]->{num}"
17536 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
17537             die "Non-integer 'int' value given: $_[1]->{num}"
17538 0 0         unless int($_[1]->{num}) == $_[1]->{num};
17539 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
17540 0           $_[2] += 4;
17541             }
17542             # @_: ($class, $value, $index, $input) = @_;
17543             sub deserialize_connect_list_secrets_args {
17544 0     0 0   my $input_length = length $_[3];
17545 0           $_[1] = {};
17546             # Deserializing field: 'maxuuids'
17547             # my ($class, $value, $index, $input) = @_;
17548 0 0         die "Input buffer too short"
17549             if ($input_length - $_[2]) < 4;
17550 0           $_[1]->{maxuuids} = unpack("l>", substr( $_[3], $_[2] ));
17551 0           $_[2] += 4;
17552             die "Out of bounds 'int': $_[1]->{maxuuids}"
17553 0 0 0       unless (-2147483648 <= $_[1]->{maxuuids} and $_[1]->{maxuuids} < 2147483648);
17554             }
17555             # @_: ($class, $value, $index, $output) = @_;
17556             sub serialize_connect_list_secrets_args {
17557 0 0   0 0   croak "Missing required input 'struct' value"
17558             unless defined $_[1];
17559              
17560             # Serializing field: 'maxuuids'
17561             croak "Missing required input value 'maxuuids'"
17562 0 0         unless exists $_[1]->{maxuuids};
17563             # my ($class, $value, $index, $output) = @_;
17564             croak "Missing required input 'int' value"
17565 0 0         unless defined $_[1]->{maxuuids};
17566             die "Out of bounds 'int': $_[1]->{maxuuids}"
17567 0 0 0       unless (-2147483648 <= $_[1]->{maxuuids} and $_[1]->{maxuuids} < 2147483648);
17568             die "Non-integer 'int' value given: $_[1]->{maxuuids}"
17569 0 0         unless int($_[1]->{maxuuids}) == $_[1]->{maxuuids};
17570 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxuuids});
17571 0           $_[2] += 4;
17572             }
17573             # @_: ($class, $value, $index, $input) = @_;
17574             sub deserialize_connect_list_secrets_ret {
17575 0     0 0   my $input_length = length $_[3];
17576 0           $_[1] = {};
17577             # Deserializing field: 'uuids'
17578             # my ($class, $value, $index, $input) = @_;
17579 0           do {
17580 0 0         die "Input buffer too short"
17581             if ($input_length - $_[2]) < 4;
17582 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
17583 0           $_[2] += 4;
17584              
17585 0 0         die "Array too long (max: 16384): $len"
17586             unless ($len <= 16384);
17587 0           $_[1]->{uuids} = [];
17588 0           for my $i1 ( 0 .. ($len - 1) ) {
17589             # my ($class, $value, $index, $input) = @_;
17590 0           $_[0]->deserialize_nonnull_string( $_[1]->{uuids}->[$i1], $_[2], $_[3] );
17591             }
17592             };
17593             }
17594             # @_: ($class, $value, $index, $output) = @_;
17595             sub serialize_connect_list_secrets_ret {
17596 0 0   0 0   croak "Missing required input 'struct' value"
17597             unless defined $_[1];
17598              
17599             # Serializing field: 'uuids'
17600             croak "Missing required input value 'uuids'"
17601 0 0         unless exists $_[1]->{uuids};
17602             # my ($class, $value, $index, $output) = @_;
17603             croak "Missing required input 'array' value"
17604 0 0         unless defined $_[1]->{uuids};
17605 0           do {
17606 0           my $len = scalar @{ $_[1]->{uuids} };
  0            
17607 0 0         die "Array too long (max: 16384): $len"
17608             unless ($len <= 16384);
17609              
17610 0           substr( $_[3], $_[2] ) = pack("L>", $len);
17611 0           $_[2] += 4;
17612 0           for my $i1 ( 0 .. ($len - 1) ) {
17613             # my ($class, $value, $index, $output) = @_;
17614 0           $_[0]->serialize_nonnull_string( $_[1]->{uuids}->[$i1], $_[2], $_[3] );
17615             }
17616             };
17617             }
17618             # @_: ($class, $value, $index, $input) = @_;
17619             sub deserialize_secret_lookup_by_uuid_args {
17620 0     0 0   my $input_length = length $_[3];
17621 0           $_[1] = {};
17622             # Deserializing field: 'uuid'
17623             # my ($class, $value, $index, $input) = @_;
17624 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
17625             }
17626             # @_: ($class, $value, $index, $output) = @_;
17627             sub serialize_secret_lookup_by_uuid_args {
17628 0 0   0 0   croak "Missing required input 'struct' value"
17629             unless defined $_[1];
17630              
17631             # Serializing field: 'uuid'
17632             croak "Missing required input value 'uuid'"
17633 0 0         unless exists $_[1]->{uuid};
17634             # my ($class, $value, $index, $output) = @_;
17635 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
17636             }
17637             # @_: ($class, $value, $index, $input) = @_;
17638             sub deserialize_secret_lookup_by_uuid_ret {
17639 0     0 0   my $input_length = length $_[3];
17640 0           $_[1] = {};
17641             # Deserializing field: 'secret'
17642             # my ($class, $value, $index, $input) = @_;
17643 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17644             }
17645             # @_: ($class, $value, $index, $output) = @_;
17646             sub serialize_secret_lookup_by_uuid_ret {
17647 0 0   0 0   croak "Missing required input 'struct' value"
17648             unless defined $_[1];
17649              
17650             # Serializing field: 'secret'
17651             croak "Missing required input value 'secret'"
17652 0 0         unless exists $_[1]->{secret};
17653             # my ($class, $value, $index, $output) = @_;
17654 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17655             }
17656             # @_: ($class, $value, $index, $input) = @_;
17657             sub deserialize_secret_define_xml_args {
17658 0     0 0   my $input_length = length $_[3];
17659 0           $_[1] = {};
17660             # Deserializing field: 'xml'
17661             # my ($class, $value, $index, $input) = @_;
17662 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
17663              
17664             # Deserializing field: 'flags'
17665             # my ($class, $value, $index, $input) = @_;
17666 0 0         die "Input buffer too short"
17667             if ($input_length - $_[2]) < 4;
17668 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
17669 0           $_[2] += 4;
17670             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17671 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17672             }
17673             # @_: ($class, $value, $index, $output) = @_;
17674             sub serialize_secret_define_xml_args {
17675 0 0   0 0   croak "Missing required input 'struct' value"
17676             unless defined $_[1];
17677              
17678             # Serializing field: 'xml'
17679             croak "Missing required input value 'xml'"
17680 0 0         unless exists $_[1]->{xml};
17681             # my ($class, $value, $index, $output) = @_;
17682 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
17683              
17684             # Serializing field: 'flags'
17685             croak "Missing required input value 'flags'"
17686 0 0         unless exists $_[1]->{flags};
17687             # my ($class, $value, $index, $output) = @_;
17688             croak "Missing required input 'unsigned int' value"
17689 0 0         unless defined $_[1]->{flags};
17690             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17691 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17692             die "Non-integer 'int' value given: $_[1]->{flags}"
17693 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
17694 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
17695 0           $_[2] += 4;
17696             }
17697             # @_: ($class, $value, $index, $input) = @_;
17698             sub deserialize_secret_define_xml_ret {
17699 0     0 0   my $input_length = length $_[3];
17700 0           $_[1] = {};
17701             # Deserializing field: 'secret'
17702             # my ($class, $value, $index, $input) = @_;
17703 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17704             }
17705             # @_: ($class, $value, $index, $output) = @_;
17706             sub serialize_secret_define_xml_ret {
17707 0 0   0 0   croak "Missing required input 'struct' value"
17708             unless defined $_[1];
17709              
17710             # Serializing field: 'secret'
17711             croak "Missing required input value 'secret'"
17712 0 0         unless exists $_[1]->{secret};
17713             # my ($class, $value, $index, $output) = @_;
17714 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17715             }
17716             # @_: ($class, $value, $index, $input) = @_;
17717             sub deserialize_secret_get_xml_desc_args {
17718 0     0 0   my $input_length = length $_[3];
17719 0           $_[1] = {};
17720             # Deserializing field: 'secret'
17721             # my ($class, $value, $index, $input) = @_;
17722 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17723              
17724             # Deserializing field: 'flags'
17725             # my ($class, $value, $index, $input) = @_;
17726 0 0         die "Input buffer too short"
17727             if ($input_length - $_[2]) < 4;
17728 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
17729 0           $_[2] += 4;
17730             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17731 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17732             }
17733             # @_: ($class, $value, $index, $output) = @_;
17734             sub serialize_secret_get_xml_desc_args {
17735 0 0   0 0   croak "Missing required input 'struct' value"
17736             unless defined $_[1];
17737              
17738             # Serializing field: 'secret'
17739             croak "Missing required input value 'secret'"
17740 0 0         unless exists $_[1]->{secret};
17741             # my ($class, $value, $index, $output) = @_;
17742 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17743              
17744             # Serializing field: 'flags'
17745             croak "Missing required input value 'flags'"
17746 0 0         unless exists $_[1]->{flags};
17747             # my ($class, $value, $index, $output) = @_;
17748             croak "Missing required input 'unsigned int' value"
17749 0 0         unless defined $_[1]->{flags};
17750             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17751 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17752             die "Non-integer 'int' value given: $_[1]->{flags}"
17753 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
17754 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
17755 0           $_[2] += 4;
17756             }
17757             # @_: ($class, $value, $index, $input) = @_;
17758             sub deserialize_secret_get_xml_desc_ret {
17759 0     0 0   my $input_length = length $_[3];
17760 0           $_[1] = {};
17761             # Deserializing field: 'xml'
17762             # my ($class, $value, $index, $input) = @_;
17763 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
17764             }
17765             # @_: ($class, $value, $index, $output) = @_;
17766             sub serialize_secret_get_xml_desc_ret {
17767 0 0   0 0   croak "Missing required input 'struct' value"
17768             unless defined $_[1];
17769              
17770             # Serializing field: 'xml'
17771             croak "Missing required input value 'xml'"
17772 0 0         unless exists $_[1]->{xml};
17773             # my ($class, $value, $index, $output) = @_;
17774 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
17775             }
17776             # @_: ($class, $value, $index, $input) = @_;
17777             sub deserialize_secret_set_value_args {
17778 0     0 0   my $input_length = length $_[3];
17779 0           $_[1] = {};
17780             # Deserializing field: 'secret'
17781             # my ($class, $value, $index, $input) = @_;
17782 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17783              
17784             # Deserializing field: 'value'
17785             # my ($class, $value, $index, $input) = @_;
17786 0           do {
17787 0 0         die "Input buffer too short"
17788             if ($input_length - $_[2]) < 4;
17789 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
17790 0           $_[2] += 4;
17791 0 0         die "Opaque data too long (max: 65536): $len"
17792             unless ($len <= 65536);
17793 0 0         die "Input buffer too short"
17794             if ($input_length - $_[2]) < $len;
17795 0           $_[1]->{value} = substr( $_[3], $_[2], $len );
17796 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
17797             };
17798              
17799             # Deserializing field: 'flags'
17800             # my ($class, $value, $index, $input) = @_;
17801 0 0         die "Input buffer too short"
17802             if ($input_length - $_[2]) < 4;
17803 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
17804 0           $_[2] += 4;
17805             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17806 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17807             }
17808             # @_: ($class, $value, $index, $output) = @_;
17809             sub serialize_secret_set_value_args {
17810 0 0   0 0   croak "Missing required input 'struct' value"
17811             unless defined $_[1];
17812              
17813             # Serializing field: 'secret'
17814             croak "Missing required input value 'secret'"
17815 0 0         unless exists $_[1]->{secret};
17816             # my ($class, $value, $index, $output) = @_;
17817 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17818              
17819             # Serializing field: 'value'
17820             croak "Missing required input value 'value'"
17821 0 0         unless exists $_[1]->{value};
17822             # my ($class, $value, $index, $output) = @_;
17823             croak "Missing required input 'opaque data' value"
17824 0 0         unless defined $_[1]->{value};
17825 0           do {
17826 0           my $len = length $_[1]->{value};
17827 0 0         die "Opaque data too long (max: 65536): $len"
17828             unless ($len <= 65536);
17829              
17830 0           substr( $_[3], $_[2] ) = pack("L>", $len);
17831 0           $_[2] += 4;
17832 0           substr( $_[3], $_[2] ) = $_[1]->{value};
17833 0           $_[2] += $len;
17834 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
17835 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
17836 0           $_[2] += $pad;
17837             }
17838             };
17839              
17840             # Serializing field: 'flags'
17841             croak "Missing required input value 'flags'"
17842 0 0         unless exists $_[1]->{flags};
17843             # my ($class, $value, $index, $output) = @_;
17844             croak "Missing required input 'unsigned int' value"
17845 0 0         unless defined $_[1]->{flags};
17846             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17847 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17848             die "Non-integer 'int' value given: $_[1]->{flags}"
17849 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
17850 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
17851 0           $_[2] += 4;
17852             }
17853             # @_: ($class, $value, $index, $input) = @_;
17854             sub deserialize_secret_get_value_args {
17855 0     0 0   my $input_length = length $_[3];
17856 0           $_[1] = {};
17857             # Deserializing field: 'secret'
17858             # my ($class, $value, $index, $input) = @_;
17859 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17860              
17861             # Deserializing field: 'flags'
17862             # my ($class, $value, $index, $input) = @_;
17863 0 0         die "Input buffer too short"
17864             if ($input_length - $_[2]) < 4;
17865 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
17866 0           $_[2] += 4;
17867             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17868 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17869             }
17870             # @_: ($class, $value, $index, $output) = @_;
17871             sub serialize_secret_get_value_args {
17872 0 0   0 0   croak "Missing required input 'struct' value"
17873             unless defined $_[1];
17874              
17875             # Serializing field: 'secret'
17876             croak "Missing required input value 'secret'"
17877 0 0         unless exists $_[1]->{secret};
17878             # my ($class, $value, $index, $output) = @_;
17879 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17880              
17881             # Serializing field: 'flags'
17882             croak "Missing required input value 'flags'"
17883 0 0         unless exists $_[1]->{flags};
17884             # my ($class, $value, $index, $output) = @_;
17885             croak "Missing required input 'unsigned int' value"
17886 0 0         unless defined $_[1]->{flags};
17887             die "Out of bounds 'unsigned int': $_[1]->{flags}"
17888 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
17889             die "Non-integer 'int' value given: $_[1]->{flags}"
17890 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
17891 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
17892 0           $_[2] += 4;
17893             }
17894             # @_: ($class, $value, $index, $input) = @_;
17895             sub deserialize_secret_get_value_ret {
17896 0     0 0   my $input_length = length $_[3];
17897 0           $_[1] = {};
17898             # Deserializing field: 'value'
17899             # my ($class, $value, $index, $input) = @_;
17900 0           do {
17901 0 0         die "Input buffer too short"
17902             if ($input_length - $_[2]) < 4;
17903 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
17904 0           $_[2] += 4;
17905 0 0         die "Opaque data too long (max: 65536): $len"
17906             unless ($len <= 65536);
17907 0 0         die "Input buffer too short"
17908             if ($input_length - $_[2]) < $len;
17909 0           $_[1]->{value} = substr( $_[3], $_[2], $len );
17910 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
17911             };
17912             }
17913             # @_: ($class, $value, $index, $output) = @_;
17914             sub serialize_secret_get_value_ret {
17915 0 0   0 0   croak "Missing required input 'struct' value"
17916             unless defined $_[1];
17917              
17918             # Serializing field: 'value'
17919             croak "Missing required input value 'value'"
17920 0 0         unless exists $_[1]->{value};
17921             # my ($class, $value, $index, $output) = @_;
17922             croak "Missing required input 'opaque data' value"
17923 0 0         unless defined $_[1]->{value};
17924 0           do {
17925 0           my $len = length $_[1]->{value};
17926 0 0         die "Opaque data too long (max: 65536): $len"
17927             unless ($len <= 65536);
17928              
17929 0           substr( $_[3], $_[2] ) = pack("L>", $len);
17930 0           $_[2] += 4;
17931 0           substr( $_[3], $_[2] ) = $_[1]->{value};
17932 0           $_[2] += $len;
17933 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
17934 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
17935 0           $_[2] += $pad;
17936             }
17937             };
17938             }
17939             # @_: ($class, $value, $index, $input) = @_;
17940             sub deserialize_secret_undefine_args {
17941 0     0 0   my $input_length = length $_[3];
17942 0           $_[1] = {};
17943             # Deserializing field: 'secret'
17944             # my ($class, $value, $index, $input) = @_;
17945 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17946             }
17947             # @_: ($class, $value, $index, $output) = @_;
17948             sub serialize_secret_undefine_args {
17949 0 0   0 0   croak "Missing required input 'struct' value"
17950             unless defined $_[1];
17951              
17952             # Serializing field: 'secret'
17953             croak "Missing required input value 'secret'"
17954 0 0         unless exists $_[1]->{secret};
17955             # my ($class, $value, $index, $output) = @_;
17956 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
17957             }
17958             # @_: ($class, $value, $index, $input) = @_;
17959             sub deserialize_secret_lookup_by_usage_args {
17960 0     0 0   my $input_length = length $_[3];
17961 0           $_[1] = {};
17962             # Deserializing field: 'usageType'
17963             # my ($class, $value, $index, $input) = @_;
17964 0 0         die "Input buffer too short"
17965             if ($input_length - $_[2]) < 4;
17966 0           $_[1]->{usageType} = unpack("l>", substr( $_[3], $_[2] ));
17967 0           $_[2] += 4;
17968             die "Out of bounds 'int': $_[1]->{usageType}"
17969 0 0 0       unless (-2147483648 <= $_[1]->{usageType} and $_[1]->{usageType} < 2147483648);
17970              
17971             # Deserializing field: 'usageID'
17972             # my ($class, $value, $index, $input) = @_;
17973 0           $_[0]->deserialize_nonnull_string( $_[1]->{usageID}, $_[2], $_[3] );
17974             }
17975             # @_: ($class, $value, $index, $output) = @_;
17976             sub serialize_secret_lookup_by_usage_args {
17977 0 0   0 0   croak "Missing required input 'struct' value"
17978             unless defined $_[1];
17979              
17980             # Serializing field: 'usageType'
17981             croak "Missing required input value 'usageType'"
17982 0 0         unless exists $_[1]->{usageType};
17983             # my ($class, $value, $index, $output) = @_;
17984             croak "Missing required input 'int' value"
17985 0 0         unless defined $_[1]->{usageType};
17986             die "Out of bounds 'int': $_[1]->{usageType}"
17987 0 0 0       unless (-2147483648 <= $_[1]->{usageType} and $_[1]->{usageType} < 2147483648);
17988             die "Non-integer 'int' value given: $_[1]->{usageType}"
17989 0 0         unless int($_[1]->{usageType}) == $_[1]->{usageType};
17990 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{usageType});
17991 0           $_[2] += 4;
17992              
17993             # Serializing field: 'usageID'
17994             croak "Missing required input value 'usageID'"
17995 0 0         unless exists $_[1]->{usageID};
17996             # my ($class, $value, $index, $output) = @_;
17997 0           $_[0]->serialize_nonnull_string( $_[1]->{usageID}, $_[2], $_[3] );
17998             }
17999             # @_: ($class, $value, $index, $input) = @_;
18000             sub deserialize_secret_lookup_by_usage_ret {
18001 0     0 0   my $input_length = length $_[3];
18002 0           $_[1] = {};
18003             # Deserializing field: 'secret'
18004             # my ($class, $value, $index, $input) = @_;
18005 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
18006             }
18007             # @_: ($class, $value, $index, $output) = @_;
18008             sub serialize_secret_lookup_by_usage_ret {
18009 0 0   0 0   croak "Missing required input 'struct' value"
18010             unless defined $_[1];
18011              
18012             # Serializing field: 'secret'
18013             croak "Missing required input value 'secret'"
18014 0 0         unless exists $_[1]->{secret};
18015             # my ($class, $value, $index, $output) = @_;
18016 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
18017             }
18018             # @_: ($class, $value, $index, $input) = @_;
18019             sub deserialize_domain_migrate_prepare_tunnel_args {
18020 0     0 0   my $input_length = length $_[3];
18021 0           $_[1] = {};
18022             # Deserializing field: 'flags'
18023             # my ($class, $value, $index, $input) = @_;
18024 0 0         die "Input buffer too short"
18025             if ($input_length - $_[2]) < 8;
18026 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
18027 0           $_[2] += 8;
18028             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
18029             unless (0 <= $_[1]->{flags}
18030 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
18031              
18032             # Deserializing field: 'dname'
18033             # my ($class, $value, $index, $input) = @_;
18034 0           $_[0]->deserialize_string( $_[1]->{dname}, $_[2], $_[3] );
18035              
18036             # Deserializing field: 'bandwidth'
18037             # my ($class, $value, $index, $input) = @_;
18038 0 0         die "Input buffer too short"
18039             if ($input_length - $_[2]) < 8;
18040 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
18041 0           $_[2] += 8;
18042             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
18043             unless (0 <= $_[1]->{bandwidth}
18044 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
18045              
18046             # Deserializing field: 'dom_xml'
18047             # my ($class, $value, $index, $input) = @_;
18048 0           $_[0]->deserialize_nonnull_string( $_[1]->{dom_xml}, $_[2], $_[3] );
18049             }
18050             # @_: ($class, $value, $index, $output) = @_;
18051             sub serialize_domain_migrate_prepare_tunnel_args {
18052 0 0   0 0   croak "Missing required input 'struct' value"
18053             unless defined $_[1];
18054              
18055             # Serializing field: 'flags'
18056             croak "Missing required input value 'flags'"
18057 0 0         unless exists $_[1]->{flags};
18058             # my ($class, $value, $index, $output) = @_;
18059             croak "Missing required input 'unsigned long' value"
18060 0 0         unless defined $_[1]->{flags};
18061             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
18062             unless (0 <= $_[1]->{flags}
18063 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
18064             die "Non-integer 'long' value given: $_[1]->{flags}"
18065 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
18066 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
18067 0           $_[2] += 8;
18068              
18069             # Serializing field: 'dname'
18070             croak "Missing required input value 'dname'"
18071 0 0         unless exists $_[1]->{dname};
18072             # my ($class, $value, $index, $output) = @_;
18073 0           $_[0]->serialize_string( $_[1]->{dname}, $_[2], $_[3] );
18074              
18075             # Serializing field: 'bandwidth'
18076             croak "Missing required input value 'bandwidth'"
18077 0 0         unless exists $_[1]->{bandwidth};
18078             # my ($class, $value, $index, $output) = @_;
18079             croak "Missing required input 'unsigned long' value"
18080 0 0         unless defined $_[1]->{bandwidth};
18081             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
18082             unless (0 <= $_[1]->{bandwidth}
18083 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
18084             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
18085 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
18086 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
18087 0           $_[2] += 8;
18088              
18089             # Serializing field: 'dom_xml'
18090             croak "Missing required input value 'dom_xml'"
18091 0 0         unless exists $_[1]->{dom_xml};
18092             # my ($class, $value, $index, $output) = @_;
18093 0           $_[0]->serialize_nonnull_string( $_[1]->{dom_xml}, $_[2], $_[3] );
18094             }
18095             # @_: ($class, $value, $index, $input) = @_;
18096             sub deserialize_connect_is_secure_ret {
18097 0     0 0   my $input_length = length $_[3];
18098 0           $_[1] = {};
18099             # Deserializing field: 'secure'
18100             # my ($class, $value, $index, $input) = @_;
18101 0 0         die "Input buffer too short"
18102             if ($input_length - $_[2]) < 4;
18103 0           $_[1]->{secure} = unpack("l>", substr( $_[3], $_[2] ));
18104 0           $_[2] += 4;
18105             die "Out of bounds 'int': $_[1]->{secure}"
18106 0 0 0       unless (-2147483648 <= $_[1]->{secure} and $_[1]->{secure} < 2147483648);
18107             }
18108             # @_: ($class, $value, $index, $output) = @_;
18109             sub serialize_connect_is_secure_ret {
18110 0 0   0 0   croak "Missing required input 'struct' value"
18111             unless defined $_[1];
18112              
18113             # Serializing field: 'secure'
18114             croak "Missing required input value 'secure'"
18115 0 0         unless exists $_[1]->{secure};
18116             # my ($class, $value, $index, $output) = @_;
18117             croak "Missing required input 'int' value"
18118 0 0         unless defined $_[1]->{secure};
18119             die "Out of bounds 'int': $_[1]->{secure}"
18120 0 0 0       unless (-2147483648 <= $_[1]->{secure} and $_[1]->{secure} < 2147483648);
18121             die "Non-integer 'int' value given: $_[1]->{secure}"
18122 0 0         unless int($_[1]->{secure}) == $_[1]->{secure};
18123 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{secure});
18124 0           $_[2] += 4;
18125             }
18126             # @_: ($class, $value, $index, $input) = @_;
18127             sub deserialize_domain_is_active_args {
18128 0     0 0   my $input_length = length $_[3];
18129 0           $_[1] = {};
18130             # Deserializing field: 'dom'
18131             # my ($class, $value, $index, $input) = @_;
18132 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
18133             }
18134             # @_: ($class, $value, $index, $output) = @_;
18135             sub serialize_domain_is_active_args {
18136 0 0   0 0   croak "Missing required input 'struct' value"
18137             unless defined $_[1];
18138              
18139             # Serializing field: 'dom'
18140             croak "Missing required input value 'dom'"
18141 0 0         unless exists $_[1]->{dom};
18142             # my ($class, $value, $index, $output) = @_;
18143 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
18144             }
18145             # @_: ($class, $value, $index, $input) = @_;
18146             sub deserialize_domain_is_active_ret {
18147 0     0 0   my $input_length = length $_[3];
18148 0           $_[1] = {};
18149             # Deserializing field: 'active'
18150             # my ($class, $value, $index, $input) = @_;
18151 0 0         die "Input buffer too short"
18152             if ($input_length - $_[2]) < 4;
18153 0           $_[1]->{active} = unpack("l>", substr( $_[3], $_[2] ));
18154 0           $_[2] += 4;
18155             die "Out of bounds 'int': $_[1]->{active}"
18156 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
18157             }
18158             # @_: ($class, $value, $index, $output) = @_;
18159             sub serialize_domain_is_active_ret {
18160 0 0   0 0   croak "Missing required input 'struct' value"
18161             unless defined $_[1];
18162              
18163             # Serializing field: 'active'
18164             croak "Missing required input value 'active'"
18165 0 0         unless exists $_[1]->{active};
18166             # my ($class, $value, $index, $output) = @_;
18167             croak "Missing required input 'int' value"
18168 0 0         unless defined $_[1]->{active};
18169             die "Out of bounds 'int': $_[1]->{active}"
18170 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
18171             die "Non-integer 'int' value given: $_[1]->{active}"
18172 0 0         unless int($_[1]->{active}) == $_[1]->{active};
18173 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{active});
18174 0           $_[2] += 4;
18175             }
18176             # @_: ($class, $value, $index, $input) = @_;
18177             sub deserialize_domain_is_persistent_args {
18178 0     0 0   my $input_length = length $_[3];
18179 0           $_[1] = {};
18180             # Deserializing field: 'dom'
18181             # my ($class, $value, $index, $input) = @_;
18182 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
18183             }
18184             # @_: ($class, $value, $index, $output) = @_;
18185             sub serialize_domain_is_persistent_args {
18186 0 0   0 0   croak "Missing required input 'struct' value"
18187             unless defined $_[1];
18188              
18189             # Serializing field: 'dom'
18190             croak "Missing required input value 'dom'"
18191 0 0         unless exists $_[1]->{dom};
18192             # my ($class, $value, $index, $output) = @_;
18193 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
18194             }
18195             # @_: ($class, $value, $index, $input) = @_;
18196             sub deserialize_domain_is_persistent_ret {
18197 0     0 0   my $input_length = length $_[3];
18198 0           $_[1] = {};
18199             # Deserializing field: 'persistent'
18200             # my ($class, $value, $index, $input) = @_;
18201 0 0         die "Input buffer too short"
18202             if ($input_length - $_[2]) < 4;
18203 0           $_[1]->{persistent} = unpack("l>", substr( $_[3], $_[2] ));
18204 0           $_[2] += 4;
18205             die "Out of bounds 'int': $_[1]->{persistent}"
18206 0 0 0       unless (-2147483648 <= $_[1]->{persistent} and $_[1]->{persistent} < 2147483648);
18207             }
18208             # @_: ($class, $value, $index, $output) = @_;
18209             sub serialize_domain_is_persistent_ret {
18210 0 0   0 0   croak "Missing required input 'struct' value"
18211             unless defined $_[1];
18212              
18213             # Serializing field: 'persistent'
18214             croak "Missing required input value 'persistent'"
18215 0 0         unless exists $_[1]->{persistent};
18216             # my ($class, $value, $index, $output) = @_;
18217             croak "Missing required input 'int' value"
18218 0 0         unless defined $_[1]->{persistent};
18219             die "Out of bounds 'int': $_[1]->{persistent}"
18220 0 0 0       unless (-2147483648 <= $_[1]->{persistent} and $_[1]->{persistent} < 2147483648);
18221             die "Non-integer 'int' value given: $_[1]->{persistent}"
18222 0 0         unless int($_[1]->{persistent}) == $_[1]->{persistent};
18223 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{persistent});
18224 0           $_[2] += 4;
18225             }
18226             # @_: ($class, $value, $index, $input) = @_;
18227             sub deserialize_domain_is_updated_args {
18228 0     0 0   my $input_length = length $_[3];
18229 0           $_[1] = {};
18230             # Deserializing field: 'dom'
18231             # my ($class, $value, $index, $input) = @_;
18232 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
18233             }
18234             # @_: ($class, $value, $index, $output) = @_;
18235             sub serialize_domain_is_updated_args {
18236 0 0   0 0   croak "Missing required input 'struct' value"
18237             unless defined $_[1];
18238              
18239             # Serializing field: 'dom'
18240             croak "Missing required input value 'dom'"
18241 0 0         unless exists $_[1]->{dom};
18242             # my ($class, $value, $index, $output) = @_;
18243 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
18244             }
18245             # @_: ($class, $value, $index, $input) = @_;
18246             sub deserialize_domain_is_updated_ret {
18247 0     0 0   my $input_length = length $_[3];
18248 0           $_[1] = {};
18249             # Deserializing field: 'updated'
18250             # my ($class, $value, $index, $input) = @_;
18251 0 0         die "Input buffer too short"
18252             if ($input_length - $_[2]) < 4;
18253 0           $_[1]->{updated} = unpack("l>", substr( $_[3], $_[2] ));
18254 0           $_[2] += 4;
18255             die "Out of bounds 'int': $_[1]->{updated}"
18256 0 0 0       unless (-2147483648 <= $_[1]->{updated} and $_[1]->{updated} < 2147483648);
18257             }
18258             # @_: ($class, $value, $index, $output) = @_;
18259             sub serialize_domain_is_updated_ret {
18260 0 0   0 0   croak "Missing required input 'struct' value"
18261             unless defined $_[1];
18262              
18263             # Serializing field: 'updated'
18264             croak "Missing required input value 'updated'"
18265 0 0         unless exists $_[1]->{updated};
18266             # my ($class, $value, $index, $output) = @_;
18267             croak "Missing required input 'int' value"
18268 0 0         unless defined $_[1]->{updated};
18269             die "Out of bounds 'int': $_[1]->{updated}"
18270 0 0 0       unless (-2147483648 <= $_[1]->{updated} and $_[1]->{updated} < 2147483648);
18271             die "Non-integer 'int' value given: $_[1]->{updated}"
18272 0 0         unless int($_[1]->{updated}) == $_[1]->{updated};
18273 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{updated});
18274 0           $_[2] += 4;
18275             }
18276             # @_: ($class, $value, $index, $input) = @_;
18277             sub deserialize_network_is_active_args {
18278 0     0 0   my $input_length = length $_[3];
18279 0           $_[1] = {};
18280             # Deserializing field: 'net'
18281             # my ($class, $value, $index, $input) = @_;
18282 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
18283             }
18284             # @_: ($class, $value, $index, $output) = @_;
18285             sub serialize_network_is_active_args {
18286 0 0   0 0   croak "Missing required input 'struct' value"
18287             unless defined $_[1];
18288              
18289             # Serializing field: 'net'
18290             croak "Missing required input value 'net'"
18291 0 0         unless exists $_[1]->{net};
18292             # my ($class, $value, $index, $output) = @_;
18293 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
18294             }
18295             # @_: ($class, $value, $index, $input) = @_;
18296             sub deserialize_network_is_active_ret {
18297 0     0 0   my $input_length = length $_[3];
18298 0           $_[1] = {};
18299             # Deserializing field: 'active'
18300             # my ($class, $value, $index, $input) = @_;
18301 0 0         die "Input buffer too short"
18302             if ($input_length - $_[2]) < 4;
18303 0           $_[1]->{active} = unpack("l>", substr( $_[3], $_[2] ));
18304 0           $_[2] += 4;
18305             die "Out of bounds 'int': $_[1]->{active}"
18306 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
18307             }
18308             # @_: ($class, $value, $index, $output) = @_;
18309             sub serialize_network_is_active_ret {
18310 0 0   0 0   croak "Missing required input 'struct' value"
18311             unless defined $_[1];
18312              
18313             # Serializing field: 'active'
18314             croak "Missing required input value 'active'"
18315 0 0         unless exists $_[1]->{active};
18316             # my ($class, $value, $index, $output) = @_;
18317             croak "Missing required input 'int' value"
18318 0 0         unless defined $_[1]->{active};
18319             die "Out of bounds 'int': $_[1]->{active}"
18320 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
18321             die "Non-integer 'int' value given: $_[1]->{active}"
18322 0 0         unless int($_[1]->{active}) == $_[1]->{active};
18323 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{active});
18324 0           $_[2] += 4;
18325             }
18326             # @_: ($class, $value, $index, $input) = @_;
18327             sub deserialize_network_is_persistent_args {
18328 0     0 0   my $input_length = length $_[3];
18329 0           $_[1] = {};
18330             # Deserializing field: 'net'
18331             # my ($class, $value, $index, $input) = @_;
18332 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
18333             }
18334             # @_: ($class, $value, $index, $output) = @_;
18335             sub serialize_network_is_persistent_args {
18336 0 0   0 0   croak "Missing required input 'struct' value"
18337             unless defined $_[1];
18338              
18339             # Serializing field: 'net'
18340             croak "Missing required input value 'net'"
18341 0 0         unless exists $_[1]->{net};
18342             # my ($class, $value, $index, $output) = @_;
18343 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
18344             }
18345             # @_: ($class, $value, $index, $input) = @_;
18346             sub deserialize_network_is_persistent_ret {
18347 0     0 0   my $input_length = length $_[3];
18348 0           $_[1] = {};
18349             # Deserializing field: 'persistent'
18350             # my ($class, $value, $index, $input) = @_;
18351 0 0         die "Input buffer too short"
18352             if ($input_length - $_[2]) < 4;
18353 0           $_[1]->{persistent} = unpack("l>", substr( $_[3], $_[2] ));
18354 0           $_[2] += 4;
18355             die "Out of bounds 'int': $_[1]->{persistent}"
18356 0 0 0       unless (-2147483648 <= $_[1]->{persistent} and $_[1]->{persistent} < 2147483648);
18357             }
18358             # @_: ($class, $value, $index, $output) = @_;
18359             sub serialize_network_is_persistent_ret {
18360 0 0   0 0   croak "Missing required input 'struct' value"
18361             unless defined $_[1];
18362              
18363             # Serializing field: 'persistent'
18364             croak "Missing required input value 'persistent'"
18365 0 0         unless exists $_[1]->{persistent};
18366             # my ($class, $value, $index, $output) = @_;
18367             croak "Missing required input 'int' value"
18368 0 0         unless defined $_[1]->{persistent};
18369             die "Out of bounds 'int': $_[1]->{persistent}"
18370 0 0 0       unless (-2147483648 <= $_[1]->{persistent} and $_[1]->{persistent} < 2147483648);
18371             die "Non-integer 'int' value given: $_[1]->{persistent}"
18372 0 0         unless int($_[1]->{persistent}) == $_[1]->{persistent};
18373 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{persistent});
18374 0           $_[2] += 4;
18375             }
18376             # @_: ($class, $value, $index, $input) = @_;
18377             sub deserialize_storage_pool_is_active_args {
18378 0     0 0   my $input_length = length $_[3];
18379 0           $_[1] = {};
18380             # Deserializing field: 'pool'
18381             # my ($class, $value, $index, $input) = @_;
18382 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
18383             }
18384             # @_: ($class, $value, $index, $output) = @_;
18385             sub serialize_storage_pool_is_active_args {
18386 0 0   0 0   croak "Missing required input 'struct' value"
18387             unless defined $_[1];
18388              
18389             # Serializing field: 'pool'
18390             croak "Missing required input value 'pool'"
18391 0 0         unless exists $_[1]->{pool};
18392             # my ($class, $value, $index, $output) = @_;
18393 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
18394             }
18395             # @_: ($class, $value, $index, $input) = @_;
18396             sub deserialize_storage_pool_is_active_ret {
18397 0     0 0   my $input_length = length $_[3];
18398 0           $_[1] = {};
18399             # Deserializing field: 'active'
18400             # my ($class, $value, $index, $input) = @_;
18401 0 0         die "Input buffer too short"
18402             if ($input_length - $_[2]) < 4;
18403 0           $_[1]->{active} = unpack("l>", substr( $_[3], $_[2] ));
18404 0           $_[2] += 4;
18405             die "Out of bounds 'int': $_[1]->{active}"
18406 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
18407             }
18408             # @_: ($class, $value, $index, $output) = @_;
18409             sub serialize_storage_pool_is_active_ret {
18410 0 0   0 0   croak "Missing required input 'struct' value"
18411             unless defined $_[1];
18412              
18413             # Serializing field: 'active'
18414             croak "Missing required input value 'active'"
18415 0 0         unless exists $_[1]->{active};
18416             # my ($class, $value, $index, $output) = @_;
18417             croak "Missing required input 'int' value"
18418 0 0         unless defined $_[1]->{active};
18419             die "Out of bounds 'int': $_[1]->{active}"
18420 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
18421             die "Non-integer 'int' value given: $_[1]->{active}"
18422 0 0         unless int($_[1]->{active}) == $_[1]->{active};
18423 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{active});
18424 0           $_[2] += 4;
18425             }
18426             # @_: ($class, $value, $index, $input) = @_;
18427             sub deserialize_storage_pool_is_persistent_args {
18428 0     0 0   my $input_length = length $_[3];
18429 0           $_[1] = {};
18430             # Deserializing field: 'pool'
18431             # my ($class, $value, $index, $input) = @_;
18432 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
18433             }
18434             # @_: ($class, $value, $index, $output) = @_;
18435             sub serialize_storage_pool_is_persistent_args {
18436 0 0   0 0   croak "Missing required input 'struct' value"
18437             unless defined $_[1];
18438              
18439             # Serializing field: 'pool'
18440             croak "Missing required input value 'pool'"
18441 0 0         unless exists $_[1]->{pool};
18442             # my ($class, $value, $index, $output) = @_;
18443 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
18444             }
18445             # @_: ($class, $value, $index, $input) = @_;
18446             sub deserialize_storage_pool_is_persistent_ret {
18447 0     0 0   my $input_length = length $_[3];
18448 0           $_[1] = {};
18449             # Deserializing field: 'persistent'
18450             # my ($class, $value, $index, $input) = @_;
18451 0 0         die "Input buffer too short"
18452             if ($input_length - $_[2]) < 4;
18453 0           $_[1]->{persistent} = unpack("l>", substr( $_[3], $_[2] ));
18454 0           $_[2] += 4;
18455             die "Out of bounds 'int': $_[1]->{persistent}"
18456 0 0 0       unless (-2147483648 <= $_[1]->{persistent} and $_[1]->{persistent} < 2147483648);
18457             }
18458             # @_: ($class, $value, $index, $output) = @_;
18459             sub serialize_storage_pool_is_persistent_ret {
18460 0 0   0 0   croak "Missing required input 'struct' value"
18461             unless defined $_[1];
18462              
18463             # Serializing field: 'persistent'
18464             croak "Missing required input value 'persistent'"
18465 0 0         unless exists $_[1]->{persistent};
18466             # my ($class, $value, $index, $output) = @_;
18467             croak "Missing required input 'int' value"
18468 0 0         unless defined $_[1]->{persistent};
18469             die "Out of bounds 'int': $_[1]->{persistent}"
18470 0 0 0       unless (-2147483648 <= $_[1]->{persistent} and $_[1]->{persistent} < 2147483648);
18471             die "Non-integer 'int' value given: $_[1]->{persistent}"
18472 0 0         unless int($_[1]->{persistent}) == $_[1]->{persistent};
18473 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{persistent});
18474 0           $_[2] += 4;
18475             }
18476             # @_: ($class, $value, $index, $input) = @_;
18477             sub deserialize_interface_is_active_args {
18478 0     0 0   my $input_length = length $_[3];
18479 0           $_[1] = {};
18480             # Deserializing field: 'iface'
18481             # my ($class, $value, $index, $input) = @_;
18482 0           $_[0]->deserialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
18483             }
18484             # @_: ($class, $value, $index, $output) = @_;
18485             sub serialize_interface_is_active_args {
18486 0 0   0 0   croak "Missing required input 'struct' value"
18487             unless defined $_[1];
18488              
18489             # Serializing field: 'iface'
18490             croak "Missing required input value 'iface'"
18491 0 0         unless exists $_[1]->{iface};
18492             # my ($class, $value, $index, $output) = @_;
18493 0           $_[0]->serialize_nonnull_interface( $_[1]->{iface}, $_[2], $_[3] );
18494             }
18495             # @_: ($class, $value, $index, $input) = @_;
18496             sub deserialize_interface_is_active_ret {
18497 0     0 0   my $input_length = length $_[3];
18498 0           $_[1] = {};
18499             # Deserializing field: 'active'
18500             # my ($class, $value, $index, $input) = @_;
18501 0 0         die "Input buffer too short"
18502             if ($input_length - $_[2]) < 4;
18503 0           $_[1]->{active} = unpack("l>", substr( $_[3], $_[2] ));
18504 0           $_[2] += 4;
18505             die "Out of bounds 'int': $_[1]->{active}"
18506 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
18507             }
18508             # @_: ($class, $value, $index, $output) = @_;
18509             sub serialize_interface_is_active_ret {
18510 0 0   0 0   croak "Missing required input 'struct' value"
18511             unless defined $_[1];
18512              
18513             # Serializing field: 'active'
18514             croak "Missing required input value 'active'"
18515 0 0         unless exists $_[1]->{active};
18516             # my ($class, $value, $index, $output) = @_;
18517             croak "Missing required input 'int' value"
18518 0 0         unless defined $_[1]->{active};
18519             die "Out of bounds 'int': $_[1]->{active}"
18520 0 0 0       unless (-2147483648 <= $_[1]->{active} and $_[1]->{active} < 2147483648);
18521             die "Non-integer 'int' value given: $_[1]->{active}"
18522 0 0         unless int($_[1]->{active}) == $_[1]->{active};
18523 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{active});
18524 0           $_[2] += 4;
18525             }
18526             # @_: ($class, $value, $index, $input) = @_;
18527             sub deserialize_connect_compare_cpu_args {
18528 0     0 0   my $input_length = length $_[3];
18529 0           $_[1] = {};
18530             # Deserializing field: 'xml'
18531             # my ($class, $value, $index, $input) = @_;
18532 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
18533              
18534             # Deserializing field: 'flags'
18535             # my ($class, $value, $index, $input) = @_;
18536 0 0         die "Input buffer too short"
18537             if ($input_length - $_[2]) < 4;
18538 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
18539 0           $_[2] += 4;
18540             die "Out of bounds 'unsigned int': $_[1]->{flags}"
18541 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
18542             }
18543             # @_: ($class, $value, $index, $output) = @_;
18544             sub serialize_connect_compare_cpu_args {
18545 0 0   0 0   croak "Missing required input 'struct' value"
18546             unless defined $_[1];
18547              
18548             # Serializing field: 'xml'
18549             croak "Missing required input value 'xml'"
18550 0 0         unless exists $_[1]->{xml};
18551             # my ($class, $value, $index, $output) = @_;
18552 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
18553              
18554             # Serializing field: 'flags'
18555             croak "Missing required input value 'flags'"
18556 0 0         unless exists $_[1]->{flags};
18557             # my ($class, $value, $index, $output) = @_;
18558             croak "Missing required input 'unsigned int' value"
18559 0 0         unless defined $_[1]->{flags};
18560             die "Out of bounds 'unsigned int': $_[1]->{flags}"
18561 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
18562             die "Non-integer 'int' value given: $_[1]->{flags}"
18563 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
18564 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
18565 0           $_[2] += 4;
18566             }
18567             # @_: ($class, $value, $index, $input) = @_;
18568             sub deserialize_connect_compare_cpu_ret {
18569 0     0 0   my $input_length = length $_[3];
18570 0           $_[1] = {};
18571             # Deserializing field: 'result'
18572             # my ($class, $value, $index, $input) = @_;
18573 0 0         die "Input buffer too short"
18574             if ($input_length - $_[2]) < 4;
18575 0           $_[1]->{result} = unpack("l>", substr( $_[3], $_[2] ));
18576 0           $_[2] += 4;
18577             die "Out of bounds 'int': $_[1]->{result}"
18578 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
18579             }
18580             # @_: ($class, $value, $index, $output) = @_;
18581             sub serialize_connect_compare_cpu_ret {
18582 0 0   0 0   croak "Missing required input 'struct' value"
18583             unless defined $_[1];
18584              
18585             # Serializing field: 'result'
18586             croak "Missing required input value 'result'"
18587 0 0         unless exists $_[1]->{result};
18588             # my ($class, $value, $index, $output) = @_;
18589             croak "Missing required input 'int' value"
18590 0 0         unless defined $_[1]->{result};
18591             die "Out of bounds 'int': $_[1]->{result}"
18592 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
18593             die "Non-integer 'int' value given: $_[1]->{result}"
18594 0 0         unless int($_[1]->{result}) == $_[1]->{result};
18595 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{result});
18596 0           $_[2] += 4;
18597             }
18598             # @_: ($class, $value, $index, $input) = @_;
18599             sub deserialize_connect_baseline_cpu_args {
18600 0     0 0   my $input_length = length $_[3];
18601 0           $_[1] = {};
18602             # Deserializing field: 'xmlCPUs'
18603             # my ($class, $value, $index, $input) = @_;
18604 0           do {
18605 0 0         die "Input buffer too short"
18606             if ($input_length - $_[2]) < 4;
18607 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
18608 0           $_[2] += 4;
18609              
18610 0 0         die "Array too long (max: 256): $len"
18611             unless ($len <= 256);
18612 0           $_[1]->{xmlCPUs} = [];
18613 0           for my $i1 ( 0 .. ($len - 1) ) {
18614             # my ($class, $value, $index, $input) = @_;
18615 0           $_[0]->deserialize_nonnull_string( $_[1]->{xmlCPUs}->[$i1], $_[2], $_[3] );
18616             }
18617             };
18618              
18619             # Deserializing field: 'flags'
18620             # my ($class, $value, $index, $input) = @_;
18621 0 0         die "Input buffer too short"
18622             if ($input_length - $_[2]) < 4;
18623 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
18624 0           $_[2] += 4;
18625             die "Out of bounds 'unsigned int': $_[1]->{flags}"
18626 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
18627             }
18628             # @_: ($class, $value, $index, $output) = @_;
18629             sub serialize_connect_baseline_cpu_args {
18630 0 0   0 0   croak "Missing required input 'struct' value"
18631             unless defined $_[1];
18632              
18633             # Serializing field: 'xmlCPUs'
18634             croak "Missing required input value 'xmlCPUs'"
18635 0 0         unless exists $_[1]->{xmlCPUs};
18636             # my ($class, $value, $index, $output) = @_;
18637             croak "Missing required input 'array' value"
18638 0 0         unless defined $_[1]->{xmlCPUs};
18639 0           do {
18640 0           my $len = scalar @{ $_[1]->{xmlCPUs} };
  0            
18641 0 0         die "Array too long (max: 256): $len"
18642             unless ($len <= 256);
18643              
18644 0           substr( $_[3], $_[2] ) = pack("L>", $len);
18645 0           $_[2] += 4;
18646 0           for my $i1 ( 0 .. ($len - 1) ) {
18647             # my ($class, $value, $index, $output) = @_;
18648 0           $_[0]->serialize_nonnull_string( $_[1]->{xmlCPUs}->[$i1], $_[2], $_[3] );
18649             }
18650             };
18651              
18652             # Serializing field: 'flags'
18653             croak "Missing required input value 'flags'"
18654 0 0         unless exists $_[1]->{flags};
18655             # my ($class, $value, $index, $output) = @_;
18656             croak "Missing required input 'unsigned int' value"
18657 0 0         unless defined $_[1]->{flags};
18658             die "Out of bounds 'unsigned int': $_[1]->{flags}"
18659 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
18660             die "Non-integer 'int' value given: $_[1]->{flags}"
18661 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
18662 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
18663 0           $_[2] += 4;
18664             }
18665             # @_: ($class, $value, $index, $input) = @_;
18666             sub deserialize_connect_baseline_cpu_ret {
18667 0     0 0   my $input_length = length $_[3];
18668 0           $_[1] = {};
18669             # Deserializing field: 'cpu'
18670             # my ($class, $value, $index, $input) = @_;
18671 0           $_[0]->deserialize_nonnull_string( $_[1]->{cpu}, $_[2], $_[3] );
18672             }
18673             # @_: ($class, $value, $index, $output) = @_;
18674             sub serialize_connect_baseline_cpu_ret {
18675 0 0   0 0   croak "Missing required input 'struct' value"
18676             unless defined $_[1];
18677              
18678             # Serializing field: 'cpu'
18679             croak "Missing required input value 'cpu'"
18680 0 0         unless exists $_[1]->{cpu};
18681             # my ($class, $value, $index, $output) = @_;
18682 0           $_[0]->serialize_nonnull_string( $_[1]->{cpu}, $_[2], $_[3] );
18683             }
18684             # @_: ($class, $value, $index, $input) = @_;
18685             sub deserialize_domain_get_job_info_args {
18686 0     0 0   my $input_length = length $_[3];
18687 0           $_[1] = {};
18688             # Deserializing field: 'dom'
18689             # my ($class, $value, $index, $input) = @_;
18690 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
18691             }
18692             # @_: ($class, $value, $index, $output) = @_;
18693             sub serialize_domain_get_job_info_args {
18694 0 0   0 0   croak "Missing required input 'struct' value"
18695             unless defined $_[1];
18696              
18697             # Serializing field: 'dom'
18698             croak "Missing required input value 'dom'"
18699 0 0         unless exists $_[1]->{dom};
18700             # my ($class, $value, $index, $output) = @_;
18701 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
18702             }
18703             # @_: ($class, $value, $index, $input) = @_;
18704             sub deserialize_domain_get_job_info_ret {
18705 0     0 0   my $input_length = length $_[3];
18706 0           $_[1] = {};
18707             # Deserializing field: 'type'
18708             # my ($class, $value, $index, $input) = @_;
18709 0 0         die "Input buffer too short"
18710             if ($input_length - $_[2]) < 4;
18711 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
18712 0           $_[2] += 4;
18713             die "Out of bounds 'int': $_[1]->{type}"
18714 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
18715              
18716             # Deserializing field: 'timeElapsed'
18717             # my ($class, $value, $index, $input) = @_;
18718 0 0         die "Input buffer too short"
18719             if ($input_length - $_[2]) < 8;
18720 0           $_[1]->{timeElapsed} = unpack("Q>", substr( $_[3], $_[2] ));
18721 0           $_[2] += 8;
18722             die "Out of bounds 'unsigned hyper': $_[1]->{timeElapsed}"
18723             unless (0 <= $_[1]->{timeElapsed}
18724 0 0 0       and $_[1]->{timeElapsed} <= 18446744073709551615);
18725              
18726             # Deserializing field: 'timeRemaining'
18727             # my ($class, $value, $index, $input) = @_;
18728 0 0         die "Input buffer too short"
18729             if ($input_length - $_[2]) < 8;
18730 0           $_[1]->{timeRemaining} = unpack("Q>", substr( $_[3], $_[2] ));
18731 0           $_[2] += 8;
18732             die "Out of bounds 'unsigned hyper': $_[1]->{timeRemaining}"
18733             unless (0 <= $_[1]->{timeRemaining}
18734 0 0 0       and $_[1]->{timeRemaining} <= 18446744073709551615);
18735              
18736             # Deserializing field: 'dataTotal'
18737             # my ($class, $value, $index, $input) = @_;
18738 0 0         die "Input buffer too short"
18739             if ($input_length - $_[2]) < 8;
18740 0           $_[1]->{dataTotal} = unpack("Q>", substr( $_[3], $_[2] ));
18741 0           $_[2] += 8;
18742             die "Out of bounds 'unsigned hyper': $_[1]->{dataTotal}"
18743             unless (0 <= $_[1]->{dataTotal}
18744 0 0 0       and $_[1]->{dataTotal} <= 18446744073709551615);
18745              
18746             # Deserializing field: 'dataProcessed'
18747             # my ($class, $value, $index, $input) = @_;
18748 0 0         die "Input buffer too short"
18749             if ($input_length - $_[2]) < 8;
18750 0           $_[1]->{dataProcessed} = unpack("Q>", substr( $_[3], $_[2] ));
18751 0           $_[2] += 8;
18752             die "Out of bounds 'unsigned hyper': $_[1]->{dataProcessed}"
18753             unless (0 <= $_[1]->{dataProcessed}
18754 0 0 0       and $_[1]->{dataProcessed} <= 18446744073709551615);
18755              
18756             # Deserializing field: 'dataRemaining'
18757             # my ($class, $value, $index, $input) = @_;
18758 0 0         die "Input buffer too short"
18759             if ($input_length - $_[2]) < 8;
18760 0           $_[1]->{dataRemaining} = unpack("Q>", substr( $_[3], $_[2] ));
18761 0           $_[2] += 8;
18762             die "Out of bounds 'unsigned hyper': $_[1]->{dataRemaining}"
18763             unless (0 <= $_[1]->{dataRemaining}
18764 0 0 0       and $_[1]->{dataRemaining} <= 18446744073709551615);
18765              
18766             # Deserializing field: 'memTotal'
18767             # my ($class, $value, $index, $input) = @_;
18768 0 0         die "Input buffer too short"
18769             if ($input_length - $_[2]) < 8;
18770 0           $_[1]->{memTotal} = unpack("Q>", substr( $_[3], $_[2] ));
18771 0           $_[2] += 8;
18772             die "Out of bounds 'unsigned hyper': $_[1]->{memTotal}"
18773             unless (0 <= $_[1]->{memTotal}
18774 0 0 0       and $_[1]->{memTotal} <= 18446744073709551615);
18775              
18776             # Deserializing field: 'memProcessed'
18777             # my ($class, $value, $index, $input) = @_;
18778 0 0         die "Input buffer too short"
18779             if ($input_length - $_[2]) < 8;
18780 0           $_[1]->{memProcessed} = unpack("Q>", substr( $_[3], $_[2] ));
18781 0           $_[2] += 8;
18782             die "Out of bounds 'unsigned hyper': $_[1]->{memProcessed}"
18783             unless (0 <= $_[1]->{memProcessed}
18784 0 0 0       and $_[1]->{memProcessed} <= 18446744073709551615);
18785              
18786             # Deserializing field: 'memRemaining'
18787             # my ($class, $value, $index, $input) = @_;
18788 0 0         die "Input buffer too short"
18789             if ($input_length - $_[2]) < 8;
18790 0           $_[1]->{memRemaining} = unpack("Q>", substr( $_[3], $_[2] ));
18791 0           $_[2] += 8;
18792             die "Out of bounds 'unsigned hyper': $_[1]->{memRemaining}"
18793             unless (0 <= $_[1]->{memRemaining}
18794 0 0 0       and $_[1]->{memRemaining} <= 18446744073709551615);
18795              
18796             # Deserializing field: 'fileTotal'
18797             # my ($class, $value, $index, $input) = @_;
18798 0 0         die "Input buffer too short"
18799             if ($input_length - $_[2]) < 8;
18800 0           $_[1]->{fileTotal} = unpack("Q>", substr( $_[3], $_[2] ));
18801 0           $_[2] += 8;
18802             die "Out of bounds 'unsigned hyper': $_[1]->{fileTotal}"
18803             unless (0 <= $_[1]->{fileTotal}
18804 0 0 0       and $_[1]->{fileTotal} <= 18446744073709551615);
18805              
18806             # Deserializing field: 'fileProcessed'
18807             # my ($class, $value, $index, $input) = @_;
18808 0 0         die "Input buffer too short"
18809             if ($input_length - $_[2]) < 8;
18810 0           $_[1]->{fileProcessed} = unpack("Q>", substr( $_[3], $_[2] ));
18811 0           $_[2] += 8;
18812             die "Out of bounds 'unsigned hyper': $_[1]->{fileProcessed}"
18813             unless (0 <= $_[1]->{fileProcessed}
18814 0 0 0       and $_[1]->{fileProcessed} <= 18446744073709551615);
18815              
18816             # Deserializing field: 'fileRemaining'
18817             # my ($class, $value, $index, $input) = @_;
18818 0 0         die "Input buffer too short"
18819             if ($input_length - $_[2]) < 8;
18820 0           $_[1]->{fileRemaining} = unpack("Q>", substr( $_[3], $_[2] ));
18821 0           $_[2] += 8;
18822             die "Out of bounds 'unsigned hyper': $_[1]->{fileRemaining}"
18823             unless (0 <= $_[1]->{fileRemaining}
18824 0 0 0       and $_[1]->{fileRemaining} <= 18446744073709551615);
18825             }
18826             # @_: ($class, $value, $index, $output) = @_;
18827             sub serialize_domain_get_job_info_ret {
18828 0 0   0 0   croak "Missing required input 'struct' value"
18829             unless defined $_[1];
18830              
18831             # Serializing field: 'type'
18832             croak "Missing required input value 'type'"
18833 0 0         unless exists $_[1]->{type};
18834             # my ($class, $value, $index, $output) = @_;
18835             croak "Missing required input 'int' value"
18836 0 0         unless defined $_[1]->{type};
18837             die "Out of bounds 'int': $_[1]->{type}"
18838 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
18839             die "Non-integer 'int' value given: $_[1]->{type}"
18840 0 0         unless int($_[1]->{type}) == $_[1]->{type};
18841 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
18842 0           $_[2] += 4;
18843              
18844             # Serializing field: 'timeElapsed'
18845             croak "Missing required input value 'timeElapsed'"
18846 0 0         unless exists $_[1]->{timeElapsed};
18847             # my ($class, $value, $index, $output) = @_;
18848             croak "Missing required input 'unsigned long' value"
18849 0 0         unless defined $_[1]->{timeElapsed};
18850             die "Out of bounds 'unsigned hyper': $_[1]->{timeElapsed}"
18851             unless (0 <= $_[1]->{timeElapsed}
18852 0 0 0       and $_[1]->{timeElapsed} <= 18446744073709551615);
18853             die "Non-integer 'long' value given: $_[1]->{timeElapsed}"
18854 0 0         unless int($_[1]->{timeElapsed}) == $_[1]->{timeElapsed};
18855 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{timeElapsed});
18856 0           $_[2] += 8;
18857              
18858             # Serializing field: 'timeRemaining'
18859             croak "Missing required input value 'timeRemaining'"
18860 0 0         unless exists $_[1]->{timeRemaining};
18861             # my ($class, $value, $index, $output) = @_;
18862             croak "Missing required input 'unsigned long' value"
18863 0 0         unless defined $_[1]->{timeRemaining};
18864             die "Out of bounds 'unsigned hyper': $_[1]->{timeRemaining}"
18865             unless (0 <= $_[1]->{timeRemaining}
18866 0 0 0       and $_[1]->{timeRemaining} <= 18446744073709551615);
18867             die "Non-integer 'long' value given: $_[1]->{timeRemaining}"
18868 0 0         unless int($_[1]->{timeRemaining}) == $_[1]->{timeRemaining};
18869 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{timeRemaining});
18870 0           $_[2] += 8;
18871              
18872             # Serializing field: 'dataTotal'
18873             croak "Missing required input value 'dataTotal'"
18874 0 0         unless exists $_[1]->{dataTotal};
18875             # my ($class, $value, $index, $output) = @_;
18876             croak "Missing required input 'unsigned long' value"
18877 0 0         unless defined $_[1]->{dataTotal};
18878             die "Out of bounds 'unsigned hyper': $_[1]->{dataTotal}"
18879             unless (0 <= $_[1]->{dataTotal}
18880 0 0 0       and $_[1]->{dataTotal} <= 18446744073709551615);
18881             die "Non-integer 'long' value given: $_[1]->{dataTotal}"
18882 0 0         unless int($_[1]->{dataTotal}) == $_[1]->{dataTotal};
18883 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{dataTotal});
18884 0           $_[2] += 8;
18885              
18886             # Serializing field: 'dataProcessed'
18887             croak "Missing required input value 'dataProcessed'"
18888 0 0         unless exists $_[1]->{dataProcessed};
18889             # my ($class, $value, $index, $output) = @_;
18890             croak "Missing required input 'unsigned long' value"
18891 0 0         unless defined $_[1]->{dataProcessed};
18892             die "Out of bounds 'unsigned hyper': $_[1]->{dataProcessed}"
18893             unless (0 <= $_[1]->{dataProcessed}
18894 0 0 0       and $_[1]->{dataProcessed} <= 18446744073709551615);
18895             die "Non-integer 'long' value given: $_[1]->{dataProcessed}"
18896 0 0         unless int($_[1]->{dataProcessed}) == $_[1]->{dataProcessed};
18897 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{dataProcessed});
18898 0           $_[2] += 8;
18899              
18900             # Serializing field: 'dataRemaining'
18901             croak "Missing required input value 'dataRemaining'"
18902 0 0         unless exists $_[1]->{dataRemaining};
18903             # my ($class, $value, $index, $output) = @_;
18904             croak "Missing required input 'unsigned long' value"
18905 0 0         unless defined $_[1]->{dataRemaining};
18906             die "Out of bounds 'unsigned hyper': $_[1]->{dataRemaining}"
18907             unless (0 <= $_[1]->{dataRemaining}
18908 0 0 0       and $_[1]->{dataRemaining} <= 18446744073709551615);
18909             die "Non-integer 'long' value given: $_[1]->{dataRemaining}"
18910 0 0         unless int($_[1]->{dataRemaining}) == $_[1]->{dataRemaining};
18911 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{dataRemaining});
18912 0           $_[2] += 8;
18913              
18914             # Serializing field: 'memTotal'
18915             croak "Missing required input value 'memTotal'"
18916 0 0         unless exists $_[1]->{memTotal};
18917             # my ($class, $value, $index, $output) = @_;
18918             croak "Missing required input 'unsigned long' value"
18919 0 0         unless defined $_[1]->{memTotal};
18920             die "Out of bounds 'unsigned hyper': $_[1]->{memTotal}"
18921             unless (0 <= $_[1]->{memTotal}
18922 0 0 0       and $_[1]->{memTotal} <= 18446744073709551615);
18923             die "Non-integer 'long' value given: $_[1]->{memTotal}"
18924 0 0         unless int($_[1]->{memTotal}) == $_[1]->{memTotal};
18925 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memTotal});
18926 0           $_[2] += 8;
18927              
18928             # Serializing field: 'memProcessed'
18929             croak "Missing required input value 'memProcessed'"
18930 0 0         unless exists $_[1]->{memProcessed};
18931             # my ($class, $value, $index, $output) = @_;
18932             croak "Missing required input 'unsigned long' value"
18933 0 0         unless defined $_[1]->{memProcessed};
18934             die "Out of bounds 'unsigned hyper': $_[1]->{memProcessed}"
18935             unless (0 <= $_[1]->{memProcessed}
18936 0 0 0       and $_[1]->{memProcessed} <= 18446744073709551615);
18937             die "Non-integer 'long' value given: $_[1]->{memProcessed}"
18938 0 0         unless int($_[1]->{memProcessed}) == $_[1]->{memProcessed};
18939 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memProcessed});
18940 0           $_[2] += 8;
18941              
18942             # Serializing field: 'memRemaining'
18943             croak "Missing required input value 'memRemaining'"
18944 0 0         unless exists $_[1]->{memRemaining};
18945             # my ($class, $value, $index, $output) = @_;
18946             croak "Missing required input 'unsigned long' value"
18947 0 0         unless defined $_[1]->{memRemaining};
18948             die "Out of bounds 'unsigned hyper': $_[1]->{memRemaining}"
18949             unless (0 <= $_[1]->{memRemaining}
18950 0 0 0       and $_[1]->{memRemaining} <= 18446744073709551615);
18951             die "Non-integer 'long' value given: $_[1]->{memRemaining}"
18952 0 0         unless int($_[1]->{memRemaining}) == $_[1]->{memRemaining};
18953 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{memRemaining});
18954 0           $_[2] += 8;
18955              
18956             # Serializing field: 'fileTotal'
18957             croak "Missing required input value 'fileTotal'"
18958 0 0         unless exists $_[1]->{fileTotal};
18959             # my ($class, $value, $index, $output) = @_;
18960             croak "Missing required input 'unsigned long' value"
18961 0 0         unless defined $_[1]->{fileTotal};
18962             die "Out of bounds 'unsigned hyper': $_[1]->{fileTotal}"
18963             unless (0 <= $_[1]->{fileTotal}
18964 0 0 0       and $_[1]->{fileTotal} <= 18446744073709551615);
18965             die "Non-integer 'long' value given: $_[1]->{fileTotal}"
18966 0 0         unless int($_[1]->{fileTotal}) == $_[1]->{fileTotal};
18967 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{fileTotal});
18968 0           $_[2] += 8;
18969              
18970             # Serializing field: 'fileProcessed'
18971             croak "Missing required input value 'fileProcessed'"
18972 0 0         unless exists $_[1]->{fileProcessed};
18973             # my ($class, $value, $index, $output) = @_;
18974             croak "Missing required input 'unsigned long' value"
18975 0 0         unless defined $_[1]->{fileProcessed};
18976             die "Out of bounds 'unsigned hyper': $_[1]->{fileProcessed}"
18977             unless (0 <= $_[1]->{fileProcessed}
18978 0 0 0       and $_[1]->{fileProcessed} <= 18446744073709551615);
18979             die "Non-integer 'long' value given: $_[1]->{fileProcessed}"
18980 0 0         unless int($_[1]->{fileProcessed}) == $_[1]->{fileProcessed};
18981 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{fileProcessed});
18982 0           $_[2] += 8;
18983              
18984             # Serializing field: 'fileRemaining'
18985             croak "Missing required input value 'fileRemaining'"
18986 0 0         unless exists $_[1]->{fileRemaining};
18987             # my ($class, $value, $index, $output) = @_;
18988             croak "Missing required input 'unsigned long' value"
18989 0 0         unless defined $_[1]->{fileRemaining};
18990             die "Out of bounds 'unsigned hyper': $_[1]->{fileRemaining}"
18991             unless (0 <= $_[1]->{fileRemaining}
18992 0 0 0       and $_[1]->{fileRemaining} <= 18446744073709551615);
18993             die "Non-integer 'long' value given: $_[1]->{fileRemaining}"
18994 0 0         unless int($_[1]->{fileRemaining}) == $_[1]->{fileRemaining};
18995 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{fileRemaining});
18996 0           $_[2] += 8;
18997             }
18998             # @_: ($class, $value, $index, $input) = @_;
18999             sub deserialize_domain_get_job_stats_args {
19000 0     0 0   my $input_length = length $_[3];
19001 0           $_[1] = {};
19002             # Deserializing field: 'dom'
19003             # my ($class, $value, $index, $input) = @_;
19004 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19005              
19006             # Deserializing field: 'flags'
19007             # my ($class, $value, $index, $input) = @_;
19008 0 0         die "Input buffer too short"
19009             if ($input_length - $_[2]) < 4;
19010 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
19011 0           $_[2] += 4;
19012             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19013 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19014             }
19015             # @_: ($class, $value, $index, $output) = @_;
19016             sub serialize_domain_get_job_stats_args {
19017 0 0   0 0   croak "Missing required input 'struct' value"
19018             unless defined $_[1];
19019              
19020             # Serializing field: 'dom'
19021             croak "Missing required input value 'dom'"
19022 0 0         unless exists $_[1]->{dom};
19023             # my ($class, $value, $index, $output) = @_;
19024 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19025              
19026             # Serializing field: 'flags'
19027             croak "Missing required input value 'flags'"
19028 0 0         unless exists $_[1]->{flags};
19029             # my ($class, $value, $index, $output) = @_;
19030             croak "Missing required input 'unsigned int' value"
19031 0 0         unless defined $_[1]->{flags};
19032             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19033 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19034             die "Non-integer 'int' value given: $_[1]->{flags}"
19035 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
19036 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
19037 0           $_[2] += 4;
19038             }
19039             # @_: ($class, $value, $index, $input) = @_;
19040             sub deserialize_domain_get_job_stats_ret {
19041 0     0 0   my $input_length = length $_[3];
19042 0           $_[1] = {};
19043             # Deserializing field: 'type'
19044             # my ($class, $value, $index, $input) = @_;
19045 0 0         die "Input buffer too short"
19046             if ($input_length - $_[2]) < 4;
19047 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
19048 0           $_[2] += 4;
19049             die "Out of bounds 'int': $_[1]->{type}"
19050 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
19051              
19052             # Deserializing field: 'params'
19053             # my ($class, $value, $index, $input) = @_;
19054 0           do {
19055 0 0         die "Input buffer too short"
19056             if ($input_length - $_[2]) < 4;
19057 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
19058 0           $_[2] += 4;
19059              
19060 0 0         die "Array too long (max: 64): $len"
19061             unless ($len <= 64);
19062 0           $_[1]->{params} = [];
19063 0           for my $i1 ( 0 .. ($len - 1) ) {
19064             # my ($class, $value, $index, $input) = @_;
19065 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
19066             }
19067             };
19068             }
19069             # @_: ($class, $value, $index, $output) = @_;
19070             sub serialize_domain_get_job_stats_ret {
19071 0 0   0 0   croak "Missing required input 'struct' value"
19072             unless defined $_[1];
19073              
19074             # Serializing field: 'type'
19075             croak "Missing required input value 'type'"
19076 0 0         unless exists $_[1]->{type};
19077             # my ($class, $value, $index, $output) = @_;
19078             croak "Missing required input 'int' value"
19079 0 0         unless defined $_[1]->{type};
19080             die "Out of bounds 'int': $_[1]->{type}"
19081 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
19082             die "Non-integer 'int' value given: $_[1]->{type}"
19083 0 0         unless int($_[1]->{type}) == $_[1]->{type};
19084 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
19085 0           $_[2] += 4;
19086              
19087             # Serializing field: 'params'
19088             croak "Missing required input value 'params'"
19089 0 0         unless exists $_[1]->{params};
19090             # my ($class, $value, $index, $output) = @_;
19091             croak "Missing required input 'array' value"
19092 0 0         unless defined $_[1]->{params};
19093 0           do {
19094 0           my $len = scalar @{ $_[1]->{params} };
  0            
19095 0 0         die "Array too long (max: 64): $len"
19096             unless ($len <= 64);
19097              
19098 0           substr( $_[3], $_[2] ) = pack("L>", $len);
19099 0           $_[2] += 4;
19100 0           for my $i1 ( 0 .. ($len - 1) ) {
19101             # my ($class, $value, $index, $output) = @_;
19102 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
19103             }
19104             };
19105             }
19106             # @_: ($class, $value, $index, $input) = @_;
19107             sub deserialize_domain_abort_job_args {
19108 0     0 0   my $input_length = length $_[3];
19109 0           $_[1] = {};
19110             # Deserializing field: 'dom'
19111             # my ($class, $value, $index, $input) = @_;
19112 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19113             }
19114             # @_: ($class, $value, $index, $output) = @_;
19115             sub serialize_domain_abort_job_args {
19116 0 0   0 0   croak "Missing required input 'struct' value"
19117             unless defined $_[1];
19118              
19119             # Serializing field: 'dom'
19120             croak "Missing required input value 'dom'"
19121 0 0         unless exists $_[1]->{dom};
19122             # my ($class, $value, $index, $output) = @_;
19123 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19124             }
19125             # @_: ($class, $value, $index, $input) = @_;
19126             sub deserialize_domain_abort_job_flags_args {
19127 0     0 0   my $input_length = length $_[3];
19128 0           $_[1] = {};
19129             # Deserializing field: 'dom'
19130             # my ($class, $value, $index, $input) = @_;
19131 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19132              
19133             # Deserializing field: 'flags'
19134             # my ($class, $value, $index, $input) = @_;
19135 0 0         die "Input buffer too short"
19136             if ($input_length - $_[2]) < 4;
19137 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
19138 0           $_[2] += 4;
19139             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19140 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19141             }
19142             # @_: ($class, $value, $index, $output) = @_;
19143             sub serialize_domain_abort_job_flags_args {
19144 0 0   0 0   croak "Missing required input 'struct' value"
19145             unless defined $_[1];
19146              
19147             # Serializing field: 'dom'
19148             croak "Missing required input value 'dom'"
19149 0 0         unless exists $_[1]->{dom};
19150             # my ($class, $value, $index, $output) = @_;
19151 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19152              
19153             # Serializing field: 'flags'
19154             croak "Missing required input value 'flags'"
19155 0 0         unless exists $_[1]->{flags};
19156             # my ($class, $value, $index, $output) = @_;
19157             croak "Missing required input 'unsigned int' value"
19158 0 0         unless defined $_[1]->{flags};
19159             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19160 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19161             die "Non-integer 'int' value given: $_[1]->{flags}"
19162 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
19163 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
19164 0           $_[2] += 4;
19165             }
19166             # @_: ($class, $value, $index, $input) = @_;
19167             sub deserialize_domain_migrate_get_max_downtime_args {
19168 0     0 0   my $input_length = length $_[3];
19169 0           $_[1] = {};
19170             # Deserializing field: 'dom'
19171             # my ($class, $value, $index, $input) = @_;
19172 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19173              
19174             # Deserializing field: 'flags'
19175             # my ($class, $value, $index, $input) = @_;
19176 0 0         die "Input buffer too short"
19177             if ($input_length - $_[2]) < 4;
19178 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
19179 0           $_[2] += 4;
19180             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19181 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19182             }
19183             # @_: ($class, $value, $index, $output) = @_;
19184             sub serialize_domain_migrate_get_max_downtime_args {
19185 0 0   0 0   croak "Missing required input 'struct' value"
19186             unless defined $_[1];
19187              
19188             # Serializing field: 'dom'
19189             croak "Missing required input value 'dom'"
19190 0 0         unless exists $_[1]->{dom};
19191             # my ($class, $value, $index, $output) = @_;
19192 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19193              
19194             # Serializing field: 'flags'
19195             croak "Missing required input value 'flags'"
19196 0 0         unless exists $_[1]->{flags};
19197             # my ($class, $value, $index, $output) = @_;
19198             croak "Missing required input 'unsigned int' value"
19199 0 0         unless defined $_[1]->{flags};
19200             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19201 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19202             die "Non-integer 'int' value given: $_[1]->{flags}"
19203 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
19204 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
19205 0           $_[2] += 4;
19206             }
19207             # @_: ($class, $value, $index, $input) = @_;
19208             sub deserialize_domain_migrate_get_max_downtime_ret {
19209 0     0 0   my $input_length = length $_[3];
19210 0           $_[1] = {};
19211             # Deserializing field: 'downtime'
19212             # my ($class, $value, $index, $input) = @_;
19213 0 0         die "Input buffer too short"
19214             if ($input_length - $_[2]) < 8;
19215 0           $_[1]->{downtime} = unpack("Q>", substr( $_[3], $_[2] ));
19216 0           $_[2] += 8;
19217             die "Out of bounds 'unsigned hyper': $_[1]->{downtime}"
19218             unless (0 <= $_[1]->{downtime}
19219 0 0 0       and $_[1]->{downtime} <= 18446744073709551615);
19220             }
19221             # @_: ($class, $value, $index, $output) = @_;
19222             sub serialize_domain_migrate_get_max_downtime_ret {
19223 0 0   0 0   croak "Missing required input 'struct' value"
19224             unless defined $_[1];
19225              
19226             # Serializing field: 'downtime'
19227             croak "Missing required input value 'downtime'"
19228 0 0         unless exists $_[1]->{downtime};
19229             # my ($class, $value, $index, $output) = @_;
19230             croak "Missing required input 'unsigned long' value"
19231 0 0         unless defined $_[1]->{downtime};
19232             die "Out of bounds 'unsigned hyper': $_[1]->{downtime}"
19233             unless (0 <= $_[1]->{downtime}
19234 0 0 0       and $_[1]->{downtime} <= 18446744073709551615);
19235             die "Non-integer 'long' value given: $_[1]->{downtime}"
19236 0 0         unless int($_[1]->{downtime}) == $_[1]->{downtime};
19237 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{downtime});
19238 0           $_[2] += 8;
19239             }
19240             # @_: ($class, $value, $index, $input) = @_;
19241             sub deserialize_domain_migrate_set_max_downtime_args {
19242 0     0 0   my $input_length = length $_[3];
19243 0           $_[1] = {};
19244             # Deserializing field: 'dom'
19245             # my ($class, $value, $index, $input) = @_;
19246 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19247              
19248             # Deserializing field: 'downtime'
19249             # my ($class, $value, $index, $input) = @_;
19250 0 0         die "Input buffer too short"
19251             if ($input_length - $_[2]) < 8;
19252 0           $_[1]->{downtime} = unpack("Q>", substr( $_[3], $_[2] ));
19253 0           $_[2] += 8;
19254             die "Out of bounds 'unsigned hyper': $_[1]->{downtime}"
19255             unless (0 <= $_[1]->{downtime}
19256 0 0 0       and $_[1]->{downtime} <= 18446744073709551615);
19257              
19258             # Deserializing field: 'flags'
19259             # my ($class, $value, $index, $input) = @_;
19260 0 0         die "Input buffer too short"
19261             if ($input_length - $_[2]) < 4;
19262 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
19263 0           $_[2] += 4;
19264             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19265 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19266             }
19267             # @_: ($class, $value, $index, $output) = @_;
19268             sub serialize_domain_migrate_set_max_downtime_args {
19269 0 0   0 0   croak "Missing required input 'struct' value"
19270             unless defined $_[1];
19271              
19272             # Serializing field: 'dom'
19273             croak "Missing required input value 'dom'"
19274 0 0         unless exists $_[1]->{dom};
19275             # my ($class, $value, $index, $output) = @_;
19276 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19277              
19278             # Serializing field: 'downtime'
19279             croak "Missing required input value 'downtime'"
19280 0 0         unless exists $_[1]->{downtime};
19281             # my ($class, $value, $index, $output) = @_;
19282             croak "Missing required input 'unsigned long' value"
19283 0 0         unless defined $_[1]->{downtime};
19284             die "Out of bounds 'unsigned hyper': $_[1]->{downtime}"
19285             unless (0 <= $_[1]->{downtime}
19286 0 0 0       and $_[1]->{downtime} <= 18446744073709551615);
19287             die "Non-integer 'long' value given: $_[1]->{downtime}"
19288 0 0         unless int($_[1]->{downtime}) == $_[1]->{downtime};
19289 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{downtime});
19290 0           $_[2] += 8;
19291              
19292             # Serializing field: 'flags'
19293             croak "Missing required input value 'flags'"
19294 0 0         unless exists $_[1]->{flags};
19295             # my ($class, $value, $index, $output) = @_;
19296             croak "Missing required input 'unsigned int' value"
19297 0 0         unless defined $_[1]->{flags};
19298             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19299 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19300             die "Non-integer 'int' value given: $_[1]->{flags}"
19301 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
19302 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
19303 0           $_[2] += 4;
19304             }
19305             # @_: ($class, $value, $index, $input) = @_;
19306             sub deserialize_domain_migrate_get_compression_cache_args {
19307 0     0 0   my $input_length = length $_[3];
19308 0           $_[1] = {};
19309             # Deserializing field: 'dom'
19310             # my ($class, $value, $index, $input) = @_;
19311 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19312              
19313             # Deserializing field: 'flags'
19314             # my ($class, $value, $index, $input) = @_;
19315 0 0         die "Input buffer too short"
19316             if ($input_length - $_[2]) < 4;
19317 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
19318 0           $_[2] += 4;
19319             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19320 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19321             }
19322             # @_: ($class, $value, $index, $output) = @_;
19323             sub serialize_domain_migrate_get_compression_cache_args {
19324 0 0   0 0   croak "Missing required input 'struct' value"
19325             unless defined $_[1];
19326              
19327             # Serializing field: 'dom'
19328             croak "Missing required input value 'dom'"
19329 0 0         unless exists $_[1]->{dom};
19330             # my ($class, $value, $index, $output) = @_;
19331 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19332              
19333             # Serializing field: 'flags'
19334             croak "Missing required input value 'flags'"
19335 0 0         unless exists $_[1]->{flags};
19336             # my ($class, $value, $index, $output) = @_;
19337             croak "Missing required input 'unsigned int' value"
19338 0 0         unless defined $_[1]->{flags};
19339             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19340 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19341             die "Non-integer 'int' value given: $_[1]->{flags}"
19342 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
19343 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
19344 0           $_[2] += 4;
19345             }
19346             # @_: ($class, $value, $index, $input) = @_;
19347             sub deserialize_domain_migrate_get_compression_cache_ret {
19348 0     0 0   my $input_length = length $_[3];
19349 0           $_[1] = {};
19350             # Deserializing field: 'cacheSize'
19351             # my ($class, $value, $index, $input) = @_;
19352 0 0         die "Input buffer too short"
19353             if ($input_length - $_[2]) < 8;
19354 0           $_[1]->{cacheSize} = unpack("Q>", substr( $_[3], $_[2] ));
19355 0           $_[2] += 8;
19356             die "Out of bounds 'unsigned hyper': $_[1]->{cacheSize}"
19357             unless (0 <= $_[1]->{cacheSize}
19358 0 0 0       and $_[1]->{cacheSize} <= 18446744073709551615);
19359             }
19360             # @_: ($class, $value, $index, $output) = @_;
19361             sub serialize_domain_migrate_get_compression_cache_ret {
19362 0 0   0 0   croak "Missing required input 'struct' value"
19363             unless defined $_[1];
19364              
19365             # Serializing field: 'cacheSize'
19366             croak "Missing required input value 'cacheSize'"
19367 0 0         unless exists $_[1]->{cacheSize};
19368             # my ($class, $value, $index, $output) = @_;
19369             croak "Missing required input 'unsigned long' value"
19370 0 0         unless defined $_[1]->{cacheSize};
19371             die "Out of bounds 'unsigned hyper': $_[1]->{cacheSize}"
19372             unless (0 <= $_[1]->{cacheSize}
19373 0 0 0       and $_[1]->{cacheSize} <= 18446744073709551615);
19374             die "Non-integer 'long' value given: $_[1]->{cacheSize}"
19375 0 0         unless int($_[1]->{cacheSize}) == $_[1]->{cacheSize};
19376 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{cacheSize});
19377 0           $_[2] += 8;
19378             }
19379             # @_: ($class, $value, $index, $input) = @_;
19380             sub deserialize_domain_migrate_set_compression_cache_args {
19381 0     0 0   my $input_length = length $_[3];
19382 0           $_[1] = {};
19383             # Deserializing field: 'dom'
19384             # my ($class, $value, $index, $input) = @_;
19385 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19386              
19387             # Deserializing field: 'cacheSize'
19388             # my ($class, $value, $index, $input) = @_;
19389 0 0         die "Input buffer too short"
19390             if ($input_length - $_[2]) < 8;
19391 0           $_[1]->{cacheSize} = unpack("Q>", substr( $_[3], $_[2] ));
19392 0           $_[2] += 8;
19393             die "Out of bounds 'unsigned hyper': $_[1]->{cacheSize}"
19394             unless (0 <= $_[1]->{cacheSize}
19395 0 0 0       and $_[1]->{cacheSize} <= 18446744073709551615);
19396              
19397             # Deserializing field: 'flags'
19398             # my ($class, $value, $index, $input) = @_;
19399 0 0         die "Input buffer too short"
19400             if ($input_length - $_[2]) < 4;
19401 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
19402 0           $_[2] += 4;
19403             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19404 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19405             }
19406             # @_: ($class, $value, $index, $output) = @_;
19407             sub serialize_domain_migrate_set_compression_cache_args {
19408 0 0   0 0   croak "Missing required input 'struct' value"
19409             unless defined $_[1];
19410              
19411             # Serializing field: 'dom'
19412             croak "Missing required input value 'dom'"
19413 0 0         unless exists $_[1]->{dom};
19414             # my ($class, $value, $index, $output) = @_;
19415 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19416              
19417             # Serializing field: 'cacheSize'
19418             croak "Missing required input value 'cacheSize'"
19419 0 0         unless exists $_[1]->{cacheSize};
19420             # my ($class, $value, $index, $output) = @_;
19421             croak "Missing required input 'unsigned long' value"
19422 0 0         unless defined $_[1]->{cacheSize};
19423             die "Out of bounds 'unsigned hyper': $_[1]->{cacheSize}"
19424             unless (0 <= $_[1]->{cacheSize}
19425 0 0 0       and $_[1]->{cacheSize} <= 18446744073709551615);
19426             die "Non-integer 'long' value given: $_[1]->{cacheSize}"
19427 0 0         unless int($_[1]->{cacheSize}) == $_[1]->{cacheSize};
19428 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{cacheSize});
19429 0           $_[2] += 8;
19430              
19431             # Serializing field: 'flags'
19432             croak "Missing required input value 'flags'"
19433 0 0         unless exists $_[1]->{flags};
19434             # my ($class, $value, $index, $output) = @_;
19435             croak "Missing required input 'unsigned int' value"
19436 0 0         unless defined $_[1]->{flags};
19437             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19438 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19439             die "Non-integer 'int' value given: $_[1]->{flags}"
19440 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
19441 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
19442 0           $_[2] += 4;
19443             }
19444             # @_: ($class, $value, $index, $input) = @_;
19445             sub deserialize_domain_migrate_set_max_speed_args {
19446 0     0 0   my $input_length = length $_[3];
19447 0           $_[1] = {};
19448             # Deserializing field: 'dom'
19449             # my ($class, $value, $index, $input) = @_;
19450 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19451              
19452             # Deserializing field: 'bandwidth'
19453             # my ($class, $value, $index, $input) = @_;
19454 0 0         die "Input buffer too short"
19455             if ($input_length - $_[2]) < 8;
19456 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
19457 0           $_[2] += 8;
19458             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
19459             unless (0 <= $_[1]->{bandwidth}
19460 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
19461              
19462             # Deserializing field: 'flags'
19463             # my ($class, $value, $index, $input) = @_;
19464 0 0         die "Input buffer too short"
19465             if ($input_length - $_[2]) < 4;
19466 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
19467 0           $_[2] += 4;
19468             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19469 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19470             }
19471             # @_: ($class, $value, $index, $output) = @_;
19472             sub serialize_domain_migrate_set_max_speed_args {
19473 0 0   0 0   croak "Missing required input 'struct' value"
19474             unless defined $_[1];
19475              
19476             # Serializing field: 'dom'
19477             croak "Missing required input value 'dom'"
19478 0 0         unless exists $_[1]->{dom};
19479             # my ($class, $value, $index, $output) = @_;
19480 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19481              
19482             # Serializing field: 'bandwidth'
19483             croak "Missing required input value 'bandwidth'"
19484 0 0         unless exists $_[1]->{bandwidth};
19485             # my ($class, $value, $index, $output) = @_;
19486             croak "Missing required input 'unsigned long' value"
19487 0 0         unless defined $_[1]->{bandwidth};
19488             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
19489             unless (0 <= $_[1]->{bandwidth}
19490 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
19491             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
19492 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
19493 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
19494 0           $_[2] += 8;
19495              
19496             # Serializing field: 'flags'
19497             croak "Missing required input value 'flags'"
19498 0 0         unless exists $_[1]->{flags};
19499             # my ($class, $value, $index, $output) = @_;
19500             croak "Missing required input 'unsigned int' value"
19501 0 0         unless defined $_[1]->{flags};
19502             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19503 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19504             die "Non-integer 'int' value given: $_[1]->{flags}"
19505 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
19506 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
19507 0           $_[2] += 4;
19508             }
19509             # @_: ($class, $value, $index, $input) = @_;
19510             sub deserialize_domain_migrate_get_max_speed_args {
19511 0     0 0   my $input_length = length $_[3];
19512 0           $_[1] = {};
19513             # Deserializing field: 'dom'
19514             # my ($class, $value, $index, $input) = @_;
19515 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19516              
19517             # Deserializing field: 'flags'
19518             # my ($class, $value, $index, $input) = @_;
19519 0 0         die "Input buffer too short"
19520             if ($input_length - $_[2]) < 4;
19521 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
19522 0           $_[2] += 4;
19523             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19524 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19525             }
19526             # @_: ($class, $value, $index, $output) = @_;
19527             sub serialize_domain_migrate_get_max_speed_args {
19528 0 0   0 0   croak "Missing required input 'struct' value"
19529             unless defined $_[1];
19530              
19531             # Serializing field: 'dom'
19532             croak "Missing required input value 'dom'"
19533 0 0         unless exists $_[1]->{dom};
19534             # my ($class, $value, $index, $output) = @_;
19535 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19536              
19537             # Serializing field: 'flags'
19538             croak "Missing required input value 'flags'"
19539 0 0         unless exists $_[1]->{flags};
19540             # my ($class, $value, $index, $output) = @_;
19541             croak "Missing required input 'unsigned int' value"
19542 0 0         unless defined $_[1]->{flags};
19543             die "Out of bounds 'unsigned int': $_[1]->{flags}"
19544 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
19545             die "Non-integer 'int' value given: $_[1]->{flags}"
19546 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
19547 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
19548 0           $_[2] += 4;
19549             }
19550             # @_: ($class, $value, $index, $input) = @_;
19551             sub deserialize_domain_migrate_get_max_speed_ret {
19552 0     0 0   my $input_length = length $_[3];
19553 0           $_[1] = {};
19554             # Deserializing field: 'bandwidth'
19555             # my ($class, $value, $index, $input) = @_;
19556 0 0         die "Input buffer too short"
19557             if ($input_length - $_[2]) < 8;
19558 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
19559 0           $_[2] += 8;
19560             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
19561             unless (0 <= $_[1]->{bandwidth}
19562 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
19563             }
19564             # @_: ($class, $value, $index, $output) = @_;
19565             sub serialize_domain_migrate_get_max_speed_ret {
19566 0 0   0 0   croak "Missing required input 'struct' value"
19567             unless defined $_[1];
19568              
19569             # Serializing field: 'bandwidth'
19570             croak "Missing required input value 'bandwidth'"
19571 0 0         unless exists $_[1]->{bandwidth};
19572             # my ($class, $value, $index, $output) = @_;
19573             croak "Missing required input 'unsigned long' value"
19574 0 0         unless defined $_[1]->{bandwidth};
19575             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
19576             unless (0 <= $_[1]->{bandwidth}
19577 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
19578             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
19579 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
19580 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
19581 0           $_[2] += 8;
19582             }
19583             # @_: ($class, $value, $index, $input) = @_;
19584             sub deserialize_connect_domain_event_register_any_args {
19585 0     0 0   my $input_length = length $_[3];
19586 0           $_[1] = {};
19587             # Deserializing field: 'eventID'
19588             # my ($class, $value, $index, $input) = @_;
19589 0 0         die "Input buffer too short"
19590             if ($input_length - $_[2]) < 4;
19591 0           $_[1]->{eventID} = unpack("l>", substr( $_[3], $_[2] ));
19592 0           $_[2] += 4;
19593             die "Out of bounds 'int': $_[1]->{eventID}"
19594 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
19595             }
19596             # @_: ($class, $value, $index, $output) = @_;
19597             sub serialize_connect_domain_event_register_any_args {
19598 0 0   0 0   croak "Missing required input 'struct' value"
19599             unless defined $_[1];
19600              
19601             # Serializing field: 'eventID'
19602             croak "Missing required input value 'eventID'"
19603 0 0         unless exists $_[1]->{eventID};
19604             # my ($class, $value, $index, $output) = @_;
19605             croak "Missing required input 'int' value"
19606 0 0         unless defined $_[1]->{eventID};
19607             die "Out of bounds 'int': $_[1]->{eventID}"
19608 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
19609             die "Non-integer 'int' value given: $_[1]->{eventID}"
19610 0 0         unless int($_[1]->{eventID}) == $_[1]->{eventID};
19611 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{eventID});
19612 0           $_[2] += 4;
19613             }
19614             # @_: ($class, $value, $index, $input) = @_;
19615             sub deserialize_connect_domain_event_deregister_any_args {
19616 0     0 0   my $input_length = length $_[3];
19617 0           $_[1] = {};
19618             # Deserializing field: 'eventID'
19619             # my ($class, $value, $index, $input) = @_;
19620 0 0         die "Input buffer too short"
19621             if ($input_length - $_[2]) < 4;
19622 0           $_[1]->{eventID} = unpack("l>", substr( $_[3], $_[2] ));
19623 0           $_[2] += 4;
19624             die "Out of bounds 'int': $_[1]->{eventID}"
19625 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
19626             }
19627             # @_: ($class, $value, $index, $output) = @_;
19628             sub serialize_connect_domain_event_deregister_any_args {
19629 0 0   0 0   croak "Missing required input 'struct' value"
19630             unless defined $_[1];
19631              
19632             # Serializing field: 'eventID'
19633             croak "Missing required input value 'eventID'"
19634 0 0         unless exists $_[1]->{eventID};
19635             # my ($class, $value, $index, $output) = @_;
19636             croak "Missing required input 'int' value"
19637 0 0         unless defined $_[1]->{eventID};
19638             die "Out of bounds 'int': $_[1]->{eventID}"
19639 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
19640             die "Non-integer 'int' value given: $_[1]->{eventID}"
19641 0 0         unless int($_[1]->{eventID}) == $_[1]->{eventID};
19642 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{eventID});
19643 0           $_[2] += 4;
19644             }
19645             # @_: ($class, $value, $index, $input) = @_;
19646             sub deserialize_connect_domain_event_callback_register_any_args {
19647 0     0 0   my $input_length = length $_[3];
19648 0           $_[1] = {};
19649             # Deserializing field: 'eventID'
19650             # my ($class, $value, $index, $input) = @_;
19651 0 0         die "Input buffer too short"
19652             if ($input_length - $_[2]) < 4;
19653 0           $_[1]->{eventID} = unpack("l>", substr( $_[3], $_[2] ));
19654 0           $_[2] += 4;
19655             die "Out of bounds 'int': $_[1]->{eventID}"
19656 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
19657              
19658             # Deserializing field: 'dom'
19659             # my ($class, $value, $index, $input) = @_;
19660 0           $_[0]->deserialize_domain( $_[1]->{dom}, $_[2], $_[3] );
19661             }
19662             # @_: ($class, $value, $index, $output) = @_;
19663             sub serialize_connect_domain_event_callback_register_any_args {
19664 0 0   0 0   croak "Missing required input 'struct' value"
19665             unless defined $_[1];
19666              
19667             # Serializing field: 'eventID'
19668             croak "Missing required input value 'eventID'"
19669 0 0         unless exists $_[1]->{eventID};
19670             # my ($class, $value, $index, $output) = @_;
19671             croak "Missing required input 'int' value"
19672 0 0         unless defined $_[1]->{eventID};
19673             die "Out of bounds 'int': $_[1]->{eventID}"
19674 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
19675             die "Non-integer 'int' value given: $_[1]->{eventID}"
19676 0 0         unless int($_[1]->{eventID}) == $_[1]->{eventID};
19677 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{eventID});
19678 0           $_[2] += 4;
19679              
19680             # Serializing field: 'dom'
19681             croak "Missing required input value 'dom'"
19682 0 0         unless exists $_[1]->{dom};
19683             # my ($class, $value, $index, $output) = @_;
19684 0           $_[0]->serialize_domain( $_[1]->{dom}, $_[2], $_[3] );
19685             }
19686             # @_: ($class, $value, $index, $input) = @_;
19687             sub deserialize_connect_domain_event_callback_register_any_ret {
19688 0     0 0   my $input_length = length $_[3];
19689 0           $_[1] = {};
19690             # Deserializing field: 'callbackID'
19691             # my ($class, $value, $index, $input) = @_;
19692 0 0         die "Input buffer too short"
19693             if ($input_length - $_[2]) < 4;
19694 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
19695 0           $_[2] += 4;
19696             die "Out of bounds 'int': $_[1]->{callbackID}"
19697 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19698             }
19699             # @_: ($class, $value, $index, $output) = @_;
19700             sub serialize_connect_domain_event_callback_register_any_ret {
19701 0 0   0 0   croak "Missing required input 'struct' value"
19702             unless defined $_[1];
19703              
19704             # Serializing field: 'callbackID'
19705             croak "Missing required input value 'callbackID'"
19706 0 0         unless exists $_[1]->{callbackID};
19707             # my ($class, $value, $index, $output) = @_;
19708             croak "Missing required input 'int' value"
19709 0 0         unless defined $_[1]->{callbackID};
19710             die "Out of bounds 'int': $_[1]->{callbackID}"
19711 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19712             die "Non-integer 'int' value given: $_[1]->{callbackID}"
19713 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
19714 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
19715 0           $_[2] += 4;
19716             }
19717             # @_: ($class, $value, $index, $input) = @_;
19718             sub deserialize_connect_domain_event_callback_deregister_any_args {
19719 0     0 0   my $input_length = length $_[3];
19720 0           $_[1] = {};
19721             # Deserializing field: 'callbackID'
19722             # my ($class, $value, $index, $input) = @_;
19723 0 0         die "Input buffer too short"
19724             if ($input_length - $_[2]) < 4;
19725 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
19726 0           $_[2] += 4;
19727             die "Out of bounds 'int': $_[1]->{callbackID}"
19728 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19729             }
19730             # @_: ($class, $value, $index, $output) = @_;
19731             sub serialize_connect_domain_event_callback_deregister_any_args {
19732 0 0   0 0   croak "Missing required input 'struct' value"
19733             unless defined $_[1];
19734              
19735             # Serializing field: 'callbackID'
19736             croak "Missing required input value 'callbackID'"
19737 0 0         unless exists $_[1]->{callbackID};
19738             # my ($class, $value, $index, $output) = @_;
19739             croak "Missing required input 'int' value"
19740 0 0         unless defined $_[1]->{callbackID};
19741             die "Out of bounds 'int': $_[1]->{callbackID}"
19742 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19743             die "Non-integer 'int' value given: $_[1]->{callbackID}"
19744 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
19745 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
19746 0           $_[2] += 4;
19747             }
19748             # @_: ($class, $value, $index, $input) = @_;
19749             sub deserialize_domain_event_reboot_msg {
19750 0     0 0   my $input_length = length $_[3];
19751 0           $_[1] = {};
19752             # Deserializing field: 'dom'
19753             # my ($class, $value, $index, $input) = @_;
19754 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19755             }
19756             # @_: ($class, $value, $index, $output) = @_;
19757             sub serialize_domain_event_reboot_msg {
19758 0 0   0 0   croak "Missing required input 'struct' value"
19759             unless defined $_[1];
19760              
19761             # Serializing field: 'dom'
19762             croak "Missing required input value 'dom'"
19763 0 0         unless exists $_[1]->{dom};
19764             # my ($class, $value, $index, $output) = @_;
19765 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19766             }
19767             # @_: ($class, $value, $index, $input) = @_;
19768             sub deserialize_domain_event_callback_reboot_msg {
19769 0     0 0   my $input_length = length $_[3];
19770 0           $_[1] = {};
19771             # Deserializing field: 'callbackID'
19772             # my ($class, $value, $index, $input) = @_;
19773 0 0         die "Input buffer too short"
19774             if ($input_length - $_[2]) < 4;
19775 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
19776 0           $_[2] += 4;
19777             die "Out of bounds 'int': $_[1]->{callbackID}"
19778 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19779              
19780             # Deserializing field: 'msg'
19781             # my ($class, $value, $index, $input) = @_;
19782 0           $_[0]->deserialize_domain_event_reboot_msg( $_[1]->{msg}, $_[2], $_[3] );
19783             }
19784             # @_: ($class, $value, $index, $output) = @_;
19785             sub serialize_domain_event_callback_reboot_msg {
19786 0 0   0 0   croak "Missing required input 'struct' value"
19787             unless defined $_[1];
19788              
19789             # Serializing field: 'callbackID'
19790             croak "Missing required input value 'callbackID'"
19791 0 0         unless exists $_[1]->{callbackID};
19792             # my ($class, $value, $index, $output) = @_;
19793             croak "Missing required input 'int' value"
19794 0 0         unless defined $_[1]->{callbackID};
19795             die "Out of bounds 'int': $_[1]->{callbackID}"
19796 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19797             die "Non-integer 'int' value given: $_[1]->{callbackID}"
19798 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
19799 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
19800 0           $_[2] += 4;
19801              
19802             # Serializing field: 'msg'
19803             croak "Missing required input value 'msg'"
19804 0 0         unless exists $_[1]->{msg};
19805             # my ($class, $value, $index, $output) = @_;
19806 0           $_[0]->serialize_domain_event_reboot_msg( $_[1]->{msg}, $_[2], $_[3] );
19807             }
19808             # @_: ($class, $value, $index, $input) = @_;
19809             sub deserialize_domain_event_rtc_change_msg {
19810 0     0 0   my $input_length = length $_[3];
19811 0           $_[1] = {};
19812             # Deserializing field: 'dom'
19813             # my ($class, $value, $index, $input) = @_;
19814 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19815              
19816             # Deserializing field: 'offset'
19817             # my ($class, $value, $index, $input) = @_;
19818 0 0         die "Input buffer too short"
19819             if ($input_length - $_[2]) < 8;
19820 0           $_[1]->{offset} = unpack("q>", substr( $_[3], $_[2] ));
19821 0           $_[2] += 8;
19822             die "Out of bounds 'hyper': $_[1]->{offset}"
19823             unless (-9223372036854775808 <= $_[1]->{offset}
19824 0 0 0       and $_[1]->{offset} < 9223372036854775808);
19825             }
19826             # @_: ($class, $value, $index, $output) = @_;
19827             sub serialize_domain_event_rtc_change_msg {
19828 0 0   0 0   croak "Missing required input 'struct' value"
19829             unless defined $_[1];
19830              
19831             # Serializing field: 'dom'
19832             croak "Missing required input value 'dom'"
19833 0 0         unless exists $_[1]->{dom};
19834             # my ($class, $value, $index, $output) = @_;
19835 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19836              
19837             # Serializing field: 'offset'
19838             croak "Missing required input value 'offset'"
19839 0 0         unless exists $_[1]->{offset};
19840             # my ($class, $value, $index, $output) = @_;
19841             croak "Missing required input 'long' value"
19842 0 0         unless defined $_[1]->{offset};
19843             die "Out of bounds 'hyper': $_[1]->{offset}"
19844             unless (-9223372036854775808 <= $_[1]->{offset}
19845 0 0 0       and $_[1]->{offset} < 9223372036854775808);
19846             die "Non-integer 'long' value given: $_[1]->{offset}"
19847 0 0         unless int($_[1]->{offset}) == $_[1]->{offset};
19848 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{offset});
19849 0           $_[2] += 8;
19850             }
19851             # @_: ($class, $value, $index, $input) = @_;
19852             sub deserialize_domain_event_callback_rtc_change_msg {
19853 0     0 0   my $input_length = length $_[3];
19854 0           $_[1] = {};
19855             # Deserializing field: 'callbackID'
19856             # my ($class, $value, $index, $input) = @_;
19857 0 0         die "Input buffer too short"
19858             if ($input_length - $_[2]) < 4;
19859 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
19860 0           $_[2] += 4;
19861             die "Out of bounds 'int': $_[1]->{callbackID}"
19862 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19863              
19864             # Deserializing field: 'msg'
19865             # my ($class, $value, $index, $input) = @_;
19866 0           $_[0]->deserialize_domain_event_rtc_change_msg( $_[1]->{msg}, $_[2], $_[3] );
19867             }
19868             # @_: ($class, $value, $index, $output) = @_;
19869             sub serialize_domain_event_callback_rtc_change_msg {
19870 0 0   0 0   croak "Missing required input 'struct' value"
19871             unless defined $_[1];
19872              
19873             # Serializing field: 'callbackID'
19874             croak "Missing required input value 'callbackID'"
19875 0 0         unless exists $_[1]->{callbackID};
19876             # my ($class, $value, $index, $output) = @_;
19877             croak "Missing required input 'int' value"
19878 0 0         unless defined $_[1]->{callbackID};
19879             die "Out of bounds 'int': $_[1]->{callbackID}"
19880 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19881             die "Non-integer 'int' value given: $_[1]->{callbackID}"
19882 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
19883 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
19884 0           $_[2] += 4;
19885              
19886             # Serializing field: 'msg'
19887             croak "Missing required input value 'msg'"
19888 0 0         unless exists $_[1]->{msg};
19889             # my ($class, $value, $index, $output) = @_;
19890 0           $_[0]->serialize_domain_event_rtc_change_msg( $_[1]->{msg}, $_[2], $_[3] );
19891             }
19892             # @_: ($class, $value, $index, $input) = @_;
19893             sub deserialize_domain_event_watchdog_msg {
19894 0     0 0   my $input_length = length $_[3];
19895 0           $_[1] = {};
19896             # Deserializing field: 'dom'
19897             # my ($class, $value, $index, $input) = @_;
19898 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19899              
19900             # Deserializing field: 'action'
19901             # my ($class, $value, $index, $input) = @_;
19902 0 0         die "Input buffer too short"
19903             if ($input_length - $_[2]) < 4;
19904 0           $_[1]->{action} = unpack("l>", substr( $_[3], $_[2] ));
19905 0           $_[2] += 4;
19906             die "Out of bounds 'int': $_[1]->{action}"
19907 0 0 0       unless (-2147483648 <= $_[1]->{action} and $_[1]->{action} < 2147483648);
19908             }
19909             # @_: ($class, $value, $index, $output) = @_;
19910             sub serialize_domain_event_watchdog_msg {
19911 0 0   0 0   croak "Missing required input 'struct' value"
19912             unless defined $_[1];
19913              
19914             # Serializing field: 'dom'
19915             croak "Missing required input value 'dom'"
19916 0 0         unless exists $_[1]->{dom};
19917             # my ($class, $value, $index, $output) = @_;
19918 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19919              
19920             # Serializing field: 'action'
19921             croak "Missing required input value 'action'"
19922 0 0         unless exists $_[1]->{action};
19923             # my ($class, $value, $index, $output) = @_;
19924             croak "Missing required input 'int' value"
19925 0 0         unless defined $_[1]->{action};
19926             die "Out of bounds 'int': $_[1]->{action}"
19927 0 0 0       unless (-2147483648 <= $_[1]->{action} and $_[1]->{action} < 2147483648);
19928             die "Non-integer 'int' value given: $_[1]->{action}"
19929 0 0         unless int($_[1]->{action}) == $_[1]->{action};
19930 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{action});
19931 0           $_[2] += 4;
19932             }
19933             # @_: ($class, $value, $index, $input) = @_;
19934             sub deserialize_domain_event_callback_watchdog_msg {
19935 0     0 0   my $input_length = length $_[3];
19936 0           $_[1] = {};
19937             # Deserializing field: 'callbackID'
19938             # my ($class, $value, $index, $input) = @_;
19939 0 0         die "Input buffer too short"
19940             if ($input_length - $_[2]) < 4;
19941 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
19942 0           $_[2] += 4;
19943             die "Out of bounds 'int': $_[1]->{callbackID}"
19944 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19945              
19946             # Deserializing field: 'msg'
19947             # my ($class, $value, $index, $input) = @_;
19948 0           $_[0]->deserialize_domain_event_watchdog_msg( $_[1]->{msg}, $_[2], $_[3] );
19949             }
19950             # @_: ($class, $value, $index, $output) = @_;
19951             sub serialize_domain_event_callback_watchdog_msg {
19952 0 0   0 0   croak "Missing required input 'struct' value"
19953             unless defined $_[1];
19954              
19955             # Serializing field: 'callbackID'
19956             croak "Missing required input value 'callbackID'"
19957 0 0         unless exists $_[1]->{callbackID};
19958             # my ($class, $value, $index, $output) = @_;
19959             croak "Missing required input 'int' value"
19960 0 0         unless defined $_[1]->{callbackID};
19961             die "Out of bounds 'int': $_[1]->{callbackID}"
19962 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
19963             die "Non-integer 'int' value given: $_[1]->{callbackID}"
19964 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
19965 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
19966 0           $_[2] += 4;
19967              
19968             # Serializing field: 'msg'
19969             croak "Missing required input value 'msg'"
19970 0 0         unless exists $_[1]->{msg};
19971             # my ($class, $value, $index, $output) = @_;
19972 0           $_[0]->serialize_domain_event_watchdog_msg( $_[1]->{msg}, $_[2], $_[3] );
19973             }
19974             # @_: ($class, $value, $index, $input) = @_;
19975             sub deserialize_domain_event_io_error_msg {
19976 0     0 0   my $input_length = length $_[3];
19977 0           $_[1] = {};
19978             # Deserializing field: 'dom'
19979             # my ($class, $value, $index, $input) = @_;
19980 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
19981              
19982             # Deserializing field: 'srcPath'
19983             # my ($class, $value, $index, $input) = @_;
19984 0           $_[0]->deserialize_nonnull_string( $_[1]->{srcPath}, $_[2], $_[3] );
19985              
19986             # Deserializing field: 'devAlias'
19987             # my ($class, $value, $index, $input) = @_;
19988 0           $_[0]->deserialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
19989              
19990             # Deserializing field: 'action'
19991             # my ($class, $value, $index, $input) = @_;
19992 0 0         die "Input buffer too short"
19993             if ($input_length - $_[2]) < 4;
19994 0           $_[1]->{action} = unpack("l>", substr( $_[3], $_[2] ));
19995 0           $_[2] += 4;
19996             die "Out of bounds 'int': $_[1]->{action}"
19997 0 0 0       unless (-2147483648 <= $_[1]->{action} and $_[1]->{action} < 2147483648);
19998             }
19999             # @_: ($class, $value, $index, $output) = @_;
20000             sub serialize_domain_event_io_error_msg {
20001 0 0   0 0   croak "Missing required input 'struct' value"
20002             unless defined $_[1];
20003              
20004             # Serializing field: 'dom'
20005             croak "Missing required input value 'dom'"
20006 0 0         unless exists $_[1]->{dom};
20007             # my ($class, $value, $index, $output) = @_;
20008 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20009              
20010             # Serializing field: 'srcPath'
20011             croak "Missing required input value 'srcPath'"
20012 0 0         unless exists $_[1]->{srcPath};
20013             # my ($class, $value, $index, $output) = @_;
20014 0           $_[0]->serialize_nonnull_string( $_[1]->{srcPath}, $_[2], $_[3] );
20015              
20016             # Serializing field: 'devAlias'
20017             croak "Missing required input value 'devAlias'"
20018 0 0         unless exists $_[1]->{devAlias};
20019             # my ($class, $value, $index, $output) = @_;
20020 0           $_[0]->serialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
20021              
20022             # Serializing field: 'action'
20023             croak "Missing required input value 'action'"
20024 0 0         unless exists $_[1]->{action};
20025             # my ($class, $value, $index, $output) = @_;
20026             croak "Missing required input 'int' value"
20027 0 0         unless defined $_[1]->{action};
20028             die "Out of bounds 'int': $_[1]->{action}"
20029 0 0 0       unless (-2147483648 <= $_[1]->{action} and $_[1]->{action} < 2147483648);
20030             die "Non-integer 'int' value given: $_[1]->{action}"
20031 0 0         unless int($_[1]->{action}) == $_[1]->{action};
20032 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{action});
20033 0           $_[2] += 4;
20034             }
20035             # @_: ($class, $value, $index, $input) = @_;
20036             sub deserialize_domain_event_callback_io_error_msg {
20037 0     0 0   my $input_length = length $_[3];
20038 0           $_[1] = {};
20039             # Deserializing field: 'callbackID'
20040             # my ($class, $value, $index, $input) = @_;
20041 0 0         die "Input buffer too short"
20042             if ($input_length - $_[2]) < 4;
20043 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20044 0           $_[2] += 4;
20045             die "Out of bounds 'int': $_[1]->{callbackID}"
20046 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20047              
20048             # Deserializing field: 'msg'
20049             # my ($class, $value, $index, $input) = @_;
20050 0           $_[0]->deserialize_domain_event_io_error_msg( $_[1]->{msg}, $_[2], $_[3] );
20051             }
20052             # @_: ($class, $value, $index, $output) = @_;
20053             sub serialize_domain_event_callback_io_error_msg {
20054 0 0   0 0   croak "Missing required input 'struct' value"
20055             unless defined $_[1];
20056              
20057             # Serializing field: 'callbackID'
20058             croak "Missing required input value 'callbackID'"
20059 0 0         unless exists $_[1]->{callbackID};
20060             # my ($class, $value, $index, $output) = @_;
20061             croak "Missing required input 'int' value"
20062 0 0         unless defined $_[1]->{callbackID};
20063             die "Out of bounds 'int': $_[1]->{callbackID}"
20064 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20065             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20066 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20067 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20068 0           $_[2] += 4;
20069              
20070             # Serializing field: 'msg'
20071             croak "Missing required input value 'msg'"
20072 0 0         unless exists $_[1]->{msg};
20073             # my ($class, $value, $index, $output) = @_;
20074 0           $_[0]->serialize_domain_event_io_error_msg( $_[1]->{msg}, $_[2], $_[3] );
20075             }
20076             # @_: ($class, $value, $index, $input) = @_;
20077             sub deserialize_domain_event_io_error_reason_msg {
20078 0     0 0   my $input_length = length $_[3];
20079 0           $_[1] = {};
20080             # Deserializing field: 'dom'
20081             # my ($class, $value, $index, $input) = @_;
20082 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20083              
20084             # Deserializing field: 'srcPath'
20085             # my ($class, $value, $index, $input) = @_;
20086 0           $_[0]->deserialize_nonnull_string( $_[1]->{srcPath}, $_[2], $_[3] );
20087              
20088             # Deserializing field: 'devAlias'
20089             # my ($class, $value, $index, $input) = @_;
20090 0           $_[0]->deserialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
20091              
20092             # Deserializing field: 'action'
20093             # my ($class, $value, $index, $input) = @_;
20094 0 0         die "Input buffer too short"
20095             if ($input_length - $_[2]) < 4;
20096 0           $_[1]->{action} = unpack("l>", substr( $_[3], $_[2] ));
20097 0           $_[2] += 4;
20098             die "Out of bounds 'int': $_[1]->{action}"
20099 0 0 0       unless (-2147483648 <= $_[1]->{action} and $_[1]->{action} < 2147483648);
20100              
20101             # Deserializing field: 'reason'
20102             # my ($class, $value, $index, $input) = @_;
20103 0           $_[0]->deserialize_nonnull_string( $_[1]->{reason}, $_[2], $_[3] );
20104             }
20105             # @_: ($class, $value, $index, $output) = @_;
20106             sub serialize_domain_event_io_error_reason_msg {
20107 0 0   0 0   croak "Missing required input 'struct' value"
20108             unless defined $_[1];
20109              
20110             # Serializing field: 'dom'
20111             croak "Missing required input value 'dom'"
20112 0 0         unless exists $_[1]->{dom};
20113             # my ($class, $value, $index, $output) = @_;
20114 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20115              
20116             # Serializing field: 'srcPath'
20117             croak "Missing required input value 'srcPath'"
20118 0 0         unless exists $_[1]->{srcPath};
20119             # my ($class, $value, $index, $output) = @_;
20120 0           $_[0]->serialize_nonnull_string( $_[1]->{srcPath}, $_[2], $_[3] );
20121              
20122             # Serializing field: 'devAlias'
20123             croak "Missing required input value 'devAlias'"
20124 0 0         unless exists $_[1]->{devAlias};
20125             # my ($class, $value, $index, $output) = @_;
20126 0           $_[0]->serialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
20127              
20128             # Serializing field: 'action'
20129             croak "Missing required input value 'action'"
20130 0 0         unless exists $_[1]->{action};
20131             # my ($class, $value, $index, $output) = @_;
20132             croak "Missing required input 'int' value"
20133 0 0         unless defined $_[1]->{action};
20134             die "Out of bounds 'int': $_[1]->{action}"
20135 0 0 0       unless (-2147483648 <= $_[1]->{action} and $_[1]->{action} < 2147483648);
20136             die "Non-integer 'int' value given: $_[1]->{action}"
20137 0 0         unless int($_[1]->{action}) == $_[1]->{action};
20138 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{action});
20139 0           $_[2] += 4;
20140              
20141             # Serializing field: 'reason'
20142             croak "Missing required input value 'reason'"
20143 0 0         unless exists $_[1]->{reason};
20144             # my ($class, $value, $index, $output) = @_;
20145 0           $_[0]->serialize_nonnull_string( $_[1]->{reason}, $_[2], $_[3] );
20146             }
20147             # @_: ($class, $value, $index, $input) = @_;
20148             sub deserialize_domain_event_callback_io_error_reason_msg {
20149 0     0 0   my $input_length = length $_[3];
20150 0           $_[1] = {};
20151             # Deserializing field: 'callbackID'
20152             # my ($class, $value, $index, $input) = @_;
20153 0 0         die "Input buffer too short"
20154             if ($input_length - $_[2]) < 4;
20155 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20156 0           $_[2] += 4;
20157             die "Out of bounds 'int': $_[1]->{callbackID}"
20158 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20159              
20160             # Deserializing field: 'msg'
20161             # my ($class, $value, $index, $input) = @_;
20162 0           $_[0]->deserialize_domain_event_io_error_reason_msg( $_[1]->{msg}, $_[2], $_[3] );
20163             }
20164             # @_: ($class, $value, $index, $output) = @_;
20165             sub serialize_domain_event_callback_io_error_reason_msg {
20166 0 0   0 0   croak "Missing required input 'struct' value"
20167             unless defined $_[1];
20168              
20169             # Serializing field: 'callbackID'
20170             croak "Missing required input value 'callbackID'"
20171 0 0         unless exists $_[1]->{callbackID};
20172             # my ($class, $value, $index, $output) = @_;
20173             croak "Missing required input 'int' value"
20174 0 0         unless defined $_[1]->{callbackID};
20175             die "Out of bounds 'int': $_[1]->{callbackID}"
20176 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20177             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20178 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20179 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20180 0           $_[2] += 4;
20181              
20182             # Serializing field: 'msg'
20183             croak "Missing required input value 'msg'"
20184 0 0         unless exists $_[1]->{msg};
20185             # my ($class, $value, $index, $output) = @_;
20186 0           $_[0]->serialize_domain_event_io_error_reason_msg( $_[1]->{msg}, $_[2], $_[3] );
20187             }
20188             # @_: ($class, $value, $index, $input) = @_;
20189             sub deserialize_domain_event_graphics_address {
20190 0     0 0   my $input_length = length $_[3];
20191 0           $_[1] = {};
20192             # Deserializing field: 'family'
20193             # my ($class, $value, $index, $input) = @_;
20194 0 0         die "Input buffer too short"
20195             if ($input_length - $_[2]) < 4;
20196 0           $_[1]->{family} = unpack("l>", substr( $_[3], $_[2] ));
20197 0           $_[2] += 4;
20198             die "Out of bounds 'int': $_[1]->{family}"
20199 0 0 0       unless (-2147483648 <= $_[1]->{family} and $_[1]->{family} < 2147483648);
20200              
20201             # Deserializing field: 'node'
20202             # my ($class, $value, $index, $input) = @_;
20203 0           $_[0]->deserialize_nonnull_string( $_[1]->{node}, $_[2], $_[3] );
20204              
20205             # Deserializing field: 'service'
20206             # my ($class, $value, $index, $input) = @_;
20207 0           $_[0]->deserialize_nonnull_string( $_[1]->{service}, $_[2], $_[3] );
20208             }
20209             # @_: ($class, $value, $index, $output) = @_;
20210             sub serialize_domain_event_graphics_address {
20211 0 0   0 0   croak "Missing required input 'struct' value"
20212             unless defined $_[1];
20213              
20214             # Serializing field: 'family'
20215             croak "Missing required input value 'family'"
20216 0 0         unless exists $_[1]->{family};
20217             # my ($class, $value, $index, $output) = @_;
20218             croak "Missing required input 'int' value"
20219 0 0         unless defined $_[1]->{family};
20220             die "Out of bounds 'int': $_[1]->{family}"
20221 0 0 0       unless (-2147483648 <= $_[1]->{family} and $_[1]->{family} < 2147483648);
20222             die "Non-integer 'int' value given: $_[1]->{family}"
20223 0 0         unless int($_[1]->{family}) == $_[1]->{family};
20224 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{family});
20225 0           $_[2] += 4;
20226              
20227             # Serializing field: 'node'
20228             croak "Missing required input value 'node'"
20229 0 0         unless exists $_[1]->{node};
20230             # my ($class, $value, $index, $output) = @_;
20231 0           $_[0]->serialize_nonnull_string( $_[1]->{node}, $_[2], $_[3] );
20232              
20233             # Serializing field: 'service'
20234             croak "Missing required input value 'service'"
20235 0 0         unless exists $_[1]->{service};
20236             # my ($class, $value, $index, $output) = @_;
20237 0           $_[0]->serialize_nonnull_string( $_[1]->{service}, $_[2], $_[3] );
20238             }
20239 1     1   14 use constant DOMAIN_EVENT_GRAPHICS_IDENTITY_MAX => 20; # 20
  1         3  
  1         75726  
20240             # @_: ($class, $value, $index, $input) = @_;
20241             sub deserialize_domain_event_graphics_identity {
20242 0     0 0   my $input_length = length $_[3];
20243 0           $_[1] = {};
20244             # Deserializing field: 'type'
20245             # my ($class, $value, $index, $input) = @_;
20246 0           $_[0]->deserialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
20247              
20248             # Deserializing field: 'name'
20249             # my ($class, $value, $index, $input) = @_;
20250 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
20251             }
20252             # @_: ($class, $value, $index, $output) = @_;
20253             sub serialize_domain_event_graphics_identity {
20254 0 0   0 0   croak "Missing required input 'struct' value"
20255             unless defined $_[1];
20256              
20257             # Serializing field: 'type'
20258             croak "Missing required input value 'type'"
20259 0 0         unless exists $_[1]->{type};
20260             # my ($class, $value, $index, $output) = @_;
20261 0           $_[0]->serialize_nonnull_string( $_[1]->{type}, $_[2], $_[3] );
20262              
20263             # Serializing field: 'name'
20264             croak "Missing required input value 'name'"
20265 0 0         unless exists $_[1]->{name};
20266             # my ($class, $value, $index, $output) = @_;
20267 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
20268             }
20269             # @_: ($class, $value, $index, $input) = @_;
20270             sub deserialize_domain_event_graphics_msg {
20271 0     0 0   my $input_length = length $_[3];
20272 0           $_[1] = {};
20273             # Deserializing field: 'dom'
20274             # my ($class, $value, $index, $input) = @_;
20275 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20276              
20277             # Deserializing field: 'phase'
20278             # my ($class, $value, $index, $input) = @_;
20279 0 0         die "Input buffer too short"
20280             if ($input_length - $_[2]) < 4;
20281 0           $_[1]->{phase} = unpack("l>", substr( $_[3], $_[2] ));
20282 0           $_[2] += 4;
20283             die "Out of bounds 'int': $_[1]->{phase}"
20284 0 0 0       unless (-2147483648 <= $_[1]->{phase} and $_[1]->{phase} < 2147483648);
20285              
20286             # Deserializing field: 'local'
20287             # my ($class, $value, $index, $input) = @_;
20288 0           $_[0]->deserialize_domain_event_graphics_address( $_[1]->{local}, $_[2], $_[3] );
20289              
20290             # Deserializing field: 'remote'
20291             # my ($class, $value, $index, $input) = @_;
20292 0           $_[0]->deserialize_domain_event_graphics_address( $_[1]->{remote}, $_[2], $_[3] );
20293              
20294             # Deserializing field: 'authScheme'
20295             # my ($class, $value, $index, $input) = @_;
20296 0           $_[0]->deserialize_nonnull_string( $_[1]->{authScheme}, $_[2], $_[3] );
20297              
20298             # Deserializing field: 'subject'
20299             # my ($class, $value, $index, $input) = @_;
20300 0           do {
20301 0 0         die "Input buffer too short"
20302             if ($input_length - $_[2]) < 4;
20303 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
20304 0           $_[2] += 4;
20305              
20306 0 0         die "Array too long (max: 20): $len"
20307             unless ($len <= 20);
20308 0           $_[1]->{subject} = [];
20309 0           for my $i1 ( 0 .. ($len - 1) ) {
20310             # my ($class, $value, $index, $input) = @_;
20311 0           $_[0]->deserialize_domain_event_graphics_identity( $_[1]->{subject}->[$i1], $_[2], $_[3] );
20312             }
20313             };
20314             }
20315             # @_: ($class, $value, $index, $output) = @_;
20316             sub serialize_domain_event_graphics_msg {
20317 0 0   0 0   croak "Missing required input 'struct' value"
20318             unless defined $_[1];
20319              
20320             # Serializing field: 'dom'
20321             croak "Missing required input value 'dom'"
20322 0 0         unless exists $_[1]->{dom};
20323             # my ($class, $value, $index, $output) = @_;
20324 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20325              
20326             # Serializing field: 'phase'
20327             croak "Missing required input value 'phase'"
20328 0 0         unless exists $_[1]->{phase};
20329             # my ($class, $value, $index, $output) = @_;
20330             croak "Missing required input 'int' value"
20331 0 0         unless defined $_[1]->{phase};
20332             die "Out of bounds 'int': $_[1]->{phase}"
20333 0 0 0       unless (-2147483648 <= $_[1]->{phase} and $_[1]->{phase} < 2147483648);
20334             die "Non-integer 'int' value given: $_[1]->{phase}"
20335 0 0         unless int($_[1]->{phase}) == $_[1]->{phase};
20336 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{phase});
20337 0           $_[2] += 4;
20338              
20339             # Serializing field: 'local'
20340             croak "Missing required input value 'local'"
20341 0 0         unless exists $_[1]->{local};
20342             # my ($class, $value, $index, $output) = @_;
20343 0           $_[0]->serialize_domain_event_graphics_address( $_[1]->{local}, $_[2], $_[3] );
20344              
20345             # Serializing field: 'remote'
20346             croak "Missing required input value 'remote'"
20347 0 0         unless exists $_[1]->{remote};
20348             # my ($class, $value, $index, $output) = @_;
20349 0           $_[0]->serialize_domain_event_graphics_address( $_[1]->{remote}, $_[2], $_[3] );
20350              
20351             # Serializing field: 'authScheme'
20352             croak "Missing required input value 'authScheme'"
20353 0 0         unless exists $_[1]->{authScheme};
20354             # my ($class, $value, $index, $output) = @_;
20355 0           $_[0]->serialize_nonnull_string( $_[1]->{authScheme}, $_[2], $_[3] );
20356              
20357             # Serializing field: 'subject'
20358             croak "Missing required input value 'subject'"
20359 0 0         unless exists $_[1]->{subject};
20360             # my ($class, $value, $index, $output) = @_;
20361             croak "Missing required input 'array' value"
20362 0 0         unless defined $_[1]->{subject};
20363 0           do {
20364 0           my $len = scalar @{ $_[1]->{subject} };
  0            
20365 0 0         die "Array too long (max: 20): $len"
20366             unless ($len <= 20);
20367              
20368 0           substr( $_[3], $_[2] ) = pack("L>", $len);
20369 0           $_[2] += 4;
20370 0           for my $i1 ( 0 .. ($len - 1) ) {
20371             # my ($class, $value, $index, $output) = @_;
20372 0           $_[0]->serialize_domain_event_graphics_identity( $_[1]->{subject}->[$i1], $_[2], $_[3] );
20373             }
20374             };
20375             }
20376             # @_: ($class, $value, $index, $input) = @_;
20377             sub deserialize_domain_event_callback_graphics_msg {
20378 0     0 0   my $input_length = length $_[3];
20379 0           $_[1] = {};
20380             # Deserializing field: 'callbackID'
20381             # my ($class, $value, $index, $input) = @_;
20382 0 0         die "Input buffer too short"
20383             if ($input_length - $_[2]) < 4;
20384 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20385 0           $_[2] += 4;
20386             die "Out of bounds 'int': $_[1]->{callbackID}"
20387 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20388              
20389             # Deserializing field: 'msg'
20390             # my ($class, $value, $index, $input) = @_;
20391 0           $_[0]->deserialize_domain_event_graphics_msg( $_[1]->{msg}, $_[2], $_[3] );
20392             }
20393             # @_: ($class, $value, $index, $output) = @_;
20394             sub serialize_domain_event_callback_graphics_msg {
20395 0 0   0 0   croak "Missing required input 'struct' value"
20396             unless defined $_[1];
20397              
20398             # Serializing field: 'callbackID'
20399             croak "Missing required input value 'callbackID'"
20400 0 0         unless exists $_[1]->{callbackID};
20401             # my ($class, $value, $index, $output) = @_;
20402             croak "Missing required input 'int' value"
20403 0 0         unless defined $_[1]->{callbackID};
20404             die "Out of bounds 'int': $_[1]->{callbackID}"
20405 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20406             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20407 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20408 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20409 0           $_[2] += 4;
20410              
20411             # Serializing field: 'msg'
20412             croak "Missing required input value 'msg'"
20413 0 0         unless exists $_[1]->{msg};
20414             # my ($class, $value, $index, $output) = @_;
20415 0           $_[0]->serialize_domain_event_graphics_msg( $_[1]->{msg}, $_[2], $_[3] );
20416             }
20417             # @_: ($class, $value, $index, $input) = @_;
20418             sub deserialize_domain_event_block_job_msg {
20419 0     0 0   my $input_length = length $_[3];
20420 0           $_[1] = {};
20421             # Deserializing field: 'dom'
20422             # my ($class, $value, $index, $input) = @_;
20423 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20424              
20425             # Deserializing field: 'path'
20426             # my ($class, $value, $index, $input) = @_;
20427 0           $_[0]->deserialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
20428              
20429             # Deserializing field: 'type'
20430             # my ($class, $value, $index, $input) = @_;
20431 0 0         die "Input buffer too short"
20432             if ($input_length - $_[2]) < 4;
20433 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
20434 0           $_[2] += 4;
20435             die "Out of bounds 'int': $_[1]->{type}"
20436 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
20437              
20438             # Deserializing field: 'status'
20439             # my ($class, $value, $index, $input) = @_;
20440 0 0         die "Input buffer too short"
20441             if ($input_length - $_[2]) < 4;
20442 0           $_[1]->{status} = unpack("l>", substr( $_[3], $_[2] ));
20443 0           $_[2] += 4;
20444             die "Out of bounds 'int': $_[1]->{status}"
20445 0 0 0       unless (-2147483648 <= $_[1]->{status} and $_[1]->{status} < 2147483648);
20446             }
20447             # @_: ($class, $value, $index, $output) = @_;
20448             sub serialize_domain_event_block_job_msg {
20449 0 0   0 0   croak "Missing required input 'struct' value"
20450             unless defined $_[1];
20451              
20452             # Serializing field: 'dom'
20453             croak "Missing required input value 'dom'"
20454 0 0         unless exists $_[1]->{dom};
20455             # my ($class, $value, $index, $output) = @_;
20456 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20457              
20458             # Serializing field: 'path'
20459             croak "Missing required input value 'path'"
20460 0 0         unless exists $_[1]->{path};
20461             # my ($class, $value, $index, $output) = @_;
20462 0           $_[0]->serialize_nonnull_string( $_[1]->{path}, $_[2], $_[3] );
20463              
20464             # Serializing field: 'type'
20465             croak "Missing required input value 'type'"
20466 0 0         unless exists $_[1]->{type};
20467             # my ($class, $value, $index, $output) = @_;
20468             croak "Missing required input 'int' value"
20469 0 0         unless defined $_[1]->{type};
20470             die "Out of bounds 'int': $_[1]->{type}"
20471 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
20472             die "Non-integer 'int' value given: $_[1]->{type}"
20473 0 0         unless int($_[1]->{type}) == $_[1]->{type};
20474 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
20475 0           $_[2] += 4;
20476              
20477             # Serializing field: 'status'
20478             croak "Missing required input value 'status'"
20479 0 0         unless exists $_[1]->{status};
20480             # my ($class, $value, $index, $output) = @_;
20481             croak "Missing required input 'int' value"
20482 0 0         unless defined $_[1]->{status};
20483             die "Out of bounds 'int': $_[1]->{status}"
20484 0 0 0       unless (-2147483648 <= $_[1]->{status} and $_[1]->{status} < 2147483648);
20485             die "Non-integer 'int' value given: $_[1]->{status}"
20486 0 0         unless int($_[1]->{status}) == $_[1]->{status};
20487 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{status});
20488 0           $_[2] += 4;
20489             }
20490             # @_: ($class, $value, $index, $input) = @_;
20491             sub deserialize_domain_event_callback_block_job_msg {
20492 0     0 0   my $input_length = length $_[3];
20493 0           $_[1] = {};
20494             # Deserializing field: 'callbackID'
20495             # my ($class, $value, $index, $input) = @_;
20496 0 0         die "Input buffer too short"
20497             if ($input_length - $_[2]) < 4;
20498 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20499 0           $_[2] += 4;
20500             die "Out of bounds 'int': $_[1]->{callbackID}"
20501 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20502              
20503             # Deserializing field: 'msg'
20504             # my ($class, $value, $index, $input) = @_;
20505 0           $_[0]->deserialize_domain_event_block_job_msg( $_[1]->{msg}, $_[2], $_[3] );
20506             }
20507             # @_: ($class, $value, $index, $output) = @_;
20508             sub serialize_domain_event_callback_block_job_msg {
20509 0 0   0 0   croak "Missing required input 'struct' value"
20510             unless defined $_[1];
20511              
20512             # Serializing field: 'callbackID'
20513             croak "Missing required input value 'callbackID'"
20514 0 0         unless exists $_[1]->{callbackID};
20515             # my ($class, $value, $index, $output) = @_;
20516             croak "Missing required input 'int' value"
20517 0 0         unless defined $_[1]->{callbackID};
20518             die "Out of bounds 'int': $_[1]->{callbackID}"
20519 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20520             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20521 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20522 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20523 0           $_[2] += 4;
20524              
20525             # Serializing field: 'msg'
20526             croak "Missing required input value 'msg'"
20527 0 0         unless exists $_[1]->{msg};
20528             # my ($class, $value, $index, $output) = @_;
20529 0           $_[0]->serialize_domain_event_block_job_msg( $_[1]->{msg}, $_[2], $_[3] );
20530             }
20531             # @_: ($class, $value, $index, $input) = @_;
20532             sub deserialize_domain_event_disk_change_msg {
20533 0     0 0   my $input_length = length $_[3];
20534 0           $_[1] = {};
20535             # Deserializing field: 'dom'
20536             # my ($class, $value, $index, $input) = @_;
20537 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20538              
20539             # Deserializing field: 'oldSrcPath'
20540             # my ($class, $value, $index, $input) = @_;
20541 0           $_[0]->deserialize_string( $_[1]->{oldSrcPath}, $_[2], $_[3] );
20542              
20543             # Deserializing field: 'newSrcPath'
20544             # my ($class, $value, $index, $input) = @_;
20545 0           $_[0]->deserialize_string( $_[1]->{newSrcPath}, $_[2], $_[3] );
20546              
20547             # Deserializing field: 'devAlias'
20548             # my ($class, $value, $index, $input) = @_;
20549 0           $_[0]->deserialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
20550              
20551             # Deserializing field: 'reason'
20552             # my ($class, $value, $index, $input) = @_;
20553 0 0         die "Input buffer too short"
20554             if ($input_length - $_[2]) < 4;
20555 0           $_[1]->{reason} = unpack("l>", substr( $_[3], $_[2] ));
20556 0           $_[2] += 4;
20557             die "Out of bounds 'int': $_[1]->{reason}"
20558 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
20559             }
20560             # @_: ($class, $value, $index, $output) = @_;
20561             sub serialize_domain_event_disk_change_msg {
20562 0 0   0 0   croak "Missing required input 'struct' value"
20563             unless defined $_[1];
20564              
20565             # Serializing field: 'dom'
20566             croak "Missing required input value 'dom'"
20567 0 0         unless exists $_[1]->{dom};
20568             # my ($class, $value, $index, $output) = @_;
20569 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20570              
20571             # Serializing field: 'oldSrcPath'
20572             croak "Missing required input value 'oldSrcPath'"
20573 0 0         unless exists $_[1]->{oldSrcPath};
20574             # my ($class, $value, $index, $output) = @_;
20575 0           $_[0]->serialize_string( $_[1]->{oldSrcPath}, $_[2], $_[3] );
20576              
20577             # Serializing field: 'newSrcPath'
20578             croak "Missing required input value 'newSrcPath'"
20579 0 0         unless exists $_[1]->{newSrcPath};
20580             # my ($class, $value, $index, $output) = @_;
20581 0           $_[0]->serialize_string( $_[1]->{newSrcPath}, $_[2], $_[3] );
20582              
20583             # Serializing field: 'devAlias'
20584             croak "Missing required input value 'devAlias'"
20585 0 0         unless exists $_[1]->{devAlias};
20586             # my ($class, $value, $index, $output) = @_;
20587 0           $_[0]->serialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
20588              
20589             # Serializing field: 'reason'
20590             croak "Missing required input value 'reason'"
20591 0 0         unless exists $_[1]->{reason};
20592             # my ($class, $value, $index, $output) = @_;
20593             croak "Missing required input 'int' value"
20594 0 0         unless defined $_[1]->{reason};
20595             die "Out of bounds 'int': $_[1]->{reason}"
20596 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
20597             die "Non-integer 'int' value given: $_[1]->{reason}"
20598 0 0         unless int($_[1]->{reason}) == $_[1]->{reason};
20599 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{reason});
20600 0           $_[2] += 4;
20601             }
20602             # @_: ($class, $value, $index, $input) = @_;
20603             sub deserialize_domain_event_callback_disk_change_msg {
20604 0     0 0   my $input_length = length $_[3];
20605 0           $_[1] = {};
20606             # Deserializing field: 'callbackID'
20607             # my ($class, $value, $index, $input) = @_;
20608 0 0         die "Input buffer too short"
20609             if ($input_length - $_[2]) < 4;
20610 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20611 0           $_[2] += 4;
20612             die "Out of bounds 'int': $_[1]->{callbackID}"
20613 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20614              
20615             # Deserializing field: 'msg'
20616             # my ($class, $value, $index, $input) = @_;
20617 0           $_[0]->deserialize_domain_event_disk_change_msg( $_[1]->{msg}, $_[2], $_[3] );
20618             }
20619             # @_: ($class, $value, $index, $output) = @_;
20620             sub serialize_domain_event_callback_disk_change_msg {
20621 0 0   0 0   croak "Missing required input 'struct' value"
20622             unless defined $_[1];
20623              
20624             # Serializing field: 'callbackID'
20625             croak "Missing required input value 'callbackID'"
20626 0 0         unless exists $_[1]->{callbackID};
20627             # my ($class, $value, $index, $output) = @_;
20628             croak "Missing required input 'int' value"
20629 0 0         unless defined $_[1]->{callbackID};
20630             die "Out of bounds 'int': $_[1]->{callbackID}"
20631 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20632             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20633 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20634 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20635 0           $_[2] += 4;
20636              
20637             # Serializing field: 'msg'
20638             croak "Missing required input value 'msg'"
20639 0 0         unless exists $_[1]->{msg};
20640             # my ($class, $value, $index, $output) = @_;
20641 0           $_[0]->serialize_domain_event_disk_change_msg( $_[1]->{msg}, $_[2], $_[3] );
20642             }
20643             # @_: ($class, $value, $index, $input) = @_;
20644             sub deserialize_domain_event_tray_change_msg {
20645 0     0 0   my $input_length = length $_[3];
20646 0           $_[1] = {};
20647             # Deserializing field: 'dom'
20648             # my ($class, $value, $index, $input) = @_;
20649 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20650              
20651             # Deserializing field: 'devAlias'
20652             # my ($class, $value, $index, $input) = @_;
20653 0           $_[0]->deserialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
20654              
20655             # Deserializing field: 'reason'
20656             # my ($class, $value, $index, $input) = @_;
20657 0 0         die "Input buffer too short"
20658             if ($input_length - $_[2]) < 4;
20659 0           $_[1]->{reason} = unpack("l>", substr( $_[3], $_[2] ));
20660 0           $_[2] += 4;
20661             die "Out of bounds 'int': $_[1]->{reason}"
20662 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
20663             }
20664             # @_: ($class, $value, $index, $output) = @_;
20665             sub serialize_domain_event_tray_change_msg {
20666 0 0   0 0   croak "Missing required input 'struct' value"
20667             unless defined $_[1];
20668              
20669             # Serializing field: 'dom'
20670             croak "Missing required input value 'dom'"
20671 0 0         unless exists $_[1]->{dom};
20672             # my ($class, $value, $index, $output) = @_;
20673 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20674              
20675             # Serializing field: 'devAlias'
20676             croak "Missing required input value 'devAlias'"
20677 0 0         unless exists $_[1]->{devAlias};
20678             # my ($class, $value, $index, $output) = @_;
20679 0           $_[0]->serialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
20680              
20681             # Serializing field: 'reason'
20682             croak "Missing required input value 'reason'"
20683 0 0         unless exists $_[1]->{reason};
20684             # my ($class, $value, $index, $output) = @_;
20685             croak "Missing required input 'int' value"
20686 0 0         unless defined $_[1]->{reason};
20687             die "Out of bounds 'int': $_[1]->{reason}"
20688 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
20689             die "Non-integer 'int' value given: $_[1]->{reason}"
20690 0 0         unless int($_[1]->{reason}) == $_[1]->{reason};
20691 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{reason});
20692 0           $_[2] += 4;
20693             }
20694             # @_: ($class, $value, $index, $input) = @_;
20695             sub deserialize_domain_event_callback_tray_change_msg {
20696 0     0 0   my $input_length = length $_[3];
20697 0           $_[1] = {};
20698             # Deserializing field: 'callbackID'
20699             # my ($class, $value, $index, $input) = @_;
20700 0 0         die "Input buffer too short"
20701             if ($input_length - $_[2]) < 4;
20702 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20703 0           $_[2] += 4;
20704             die "Out of bounds 'int': $_[1]->{callbackID}"
20705 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20706              
20707             # Deserializing field: 'msg'
20708             # my ($class, $value, $index, $input) = @_;
20709 0           $_[0]->deserialize_domain_event_tray_change_msg( $_[1]->{msg}, $_[2], $_[3] );
20710             }
20711             # @_: ($class, $value, $index, $output) = @_;
20712             sub serialize_domain_event_callback_tray_change_msg {
20713 0 0   0 0   croak "Missing required input 'struct' value"
20714             unless defined $_[1];
20715              
20716             # Serializing field: 'callbackID'
20717             croak "Missing required input value 'callbackID'"
20718 0 0         unless exists $_[1]->{callbackID};
20719             # my ($class, $value, $index, $output) = @_;
20720             croak "Missing required input 'int' value"
20721 0 0         unless defined $_[1]->{callbackID};
20722             die "Out of bounds 'int': $_[1]->{callbackID}"
20723 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20724             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20725 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20726 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20727 0           $_[2] += 4;
20728              
20729             # Serializing field: 'msg'
20730             croak "Missing required input value 'msg'"
20731 0 0         unless exists $_[1]->{msg};
20732             # my ($class, $value, $index, $output) = @_;
20733 0           $_[0]->serialize_domain_event_tray_change_msg( $_[1]->{msg}, $_[2], $_[3] );
20734             }
20735             # @_: ($class, $value, $index, $input) = @_;
20736             sub deserialize_domain_event_pmwakeup_msg {
20737 0     0 0   my $input_length = length $_[3];
20738 0           $_[1] = {};
20739             # Deserializing field: 'dom'
20740             # my ($class, $value, $index, $input) = @_;
20741 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20742             }
20743             # @_: ($class, $value, $index, $output) = @_;
20744             sub serialize_domain_event_pmwakeup_msg {
20745 0 0   0 0   croak "Missing required input 'struct' value"
20746             unless defined $_[1];
20747              
20748             # Serializing field: 'dom'
20749             croak "Missing required input value 'dom'"
20750 0 0         unless exists $_[1]->{dom};
20751             # my ($class, $value, $index, $output) = @_;
20752 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20753             }
20754             # @_: ($class, $value, $index, $input) = @_;
20755             sub deserialize_domain_event_callback_pmwakeup_msg {
20756 0     0 0   my $input_length = length $_[3];
20757 0           $_[1] = {};
20758             # Deserializing field: 'callbackID'
20759             # my ($class, $value, $index, $input) = @_;
20760 0 0         die "Input buffer too short"
20761             if ($input_length - $_[2]) < 4;
20762 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20763 0           $_[2] += 4;
20764             die "Out of bounds 'int': $_[1]->{callbackID}"
20765 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20766              
20767             # Deserializing field: 'reason'
20768             # my ($class, $value, $index, $input) = @_;
20769 0 0         die "Input buffer too short"
20770             if ($input_length - $_[2]) < 4;
20771 0           $_[1]->{reason} = unpack("l>", substr( $_[3], $_[2] ));
20772 0           $_[2] += 4;
20773             die "Out of bounds 'int': $_[1]->{reason}"
20774 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
20775              
20776             # Deserializing field: 'msg'
20777             # my ($class, $value, $index, $input) = @_;
20778 0           $_[0]->deserialize_domain_event_pmwakeup_msg( $_[1]->{msg}, $_[2], $_[3] );
20779             }
20780             # @_: ($class, $value, $index, $output) = @_;
20781             sub serialize_domain_event_callback_pmwakeup_msg {
20782 0 0   0 0   croak "Missing required input 'struct' value"
20783             unless defined $_[1];
20784              
20785             # Serializing field: 'callbackID'
20786             croak "Missing required input value 'callbackID'"
20787 0 0         unless exists $_[1]->{callbackID};
20788             # my ($class, $value, $index, $output) = @_;
20789             croak "Missing required input 'int' value"
20790 0 0         unless defined $_[1]->{callbackID};
20791             die "Out of bounds 'int': $_[1]->{callbackID}"
20792 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20793             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20794 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20795 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20796 0           $_[2] += 4;
20797              
20798             # Serializing field: 'reason'
20799             croak "Missing required input value 'reason'"
20800 0 0         unless exists $_[1]->{reason};
20801             # my ($class, $value, $index, $output) = @_;
20802             croak "Missing required input 'int' value"
20803 0 0         unless defined $_[1]->{reason};
20804             die "Out of bounds 'int': $_[1]->{reason}"
20805 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
20806             die "Non-integer 'int' value given: $_[1]->{reason}"
20807 0 0         unless int($_[1]->{reason}) == $_[1]->{reason};
20808 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{reason});
20809 0           $_[2] += 4;
20810              
20811             # Serializing field: 'msg'
20812             croak "Missing required input value 'msg'"
20813 0 0         unless exists $_[1]->{msg};
20814             # my ($class, $value, $index, $output) = @_;
20815 0           $_[0]->serialize_domain_event_pmwakeup_msg( $_[1]->{msg}, $_[2], $_[3] );
20816             }
20817             # @_: ($class, $value, $index, $input) = @_;
20818             sub deserialize_domain_event_pmsuspend_msg {
20819 0     0 0   my $input_length = length $_[3];
20820 0           $_[1] = {};
20821             # Deserializing field: 'dom'
20822             # my ($class, $value, $index, $input) = @_;
20823 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20824             }
20825             # @_: ($class, $value, $index, $output) = @_;
20826             sub serialize_domain_event_pmsuspend_msg {
20827 0 0   0 0   croak "Missing required input 'struct' value"
20828             unless defined $_[1];
20829              
20830             # Serializing field: 'dom'
20831             croak "Missing required input value 'dom'"
20832 0 0         unless exists $_[1]->{dom};
20833             # my ($class, $value, $index, $output) = @_;
20834 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20835             }
20836             # @_: ($class, $value, $index, $input) = @_;
20837             sub deserialize_domain_event_callback_pmsuspend_msg {
20838 0     0 0   my $input_length = length $_[3];
20839 0           $_[1] = {};
20840             # Deserializing field: 'callbackID'
20841             # my ($class, $value, $index, $input) = @_;
20842 0 0         die "Input buffer too short"
20843             if ($input_length - $_[2]) < 4;
20844 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20845 0           $_[2] += 4;
20846             die "Out of bounds 'int': $_[1]->{callbackID}"
20847 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20848              
20849             # Deserializing field: 'reason'
20850             # my ($class, $value, $index, $input) = @_;
20851 0 0         die "Input buffer too short"
20852             if ($input_length - $_[2]) < 4;
20853 0           $_[1]->{reason} = unpack("l>", substr( $_[3], $_[2] ));
20854 0           $_[2] += 4;
20855             die "Out of bounds 'int': $_[1]->{reason}"
20856 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
20857              
20858             # Deserializing field: 'msg'
20859             # my ($class, $value, $index, $input) = @_;
20860 0           $_[0]->deserialize_domain_event_pmsuspend_msg( $_[1]->{msg}, $_[2], $_[3] );
20861             }
20862             # @_: ($class, $value, $index, $output) = @_;
20863             sub serialize_domain_event_callback_pmsuspend_msg {
20864 0 0   0 0   croak "Missing required input 'struct' value"
20865             unless defined $_[1];
20866              
20867             # Serializing field: 'callbackID'
20868             croak "Missing required input value 'callbackID'"
20869 0 0         unless exists $_[1]->{callbackID};
20870             # my ($class, $value, $index, $output) = @_;
20871             croak "Missing required input 'int' value"
20872 0 0         unless defined $_[1]->{callbackID};
20873             die "Out of bounds 'int': $_[1]->{callbackID}"
20874 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20875             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20876 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20877 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20878 0           $_[2] += 4;
20879              
20880             # Serializing field: 'reason'
20881             croak "Missing required input value 'reason'"
20882 0 0         unless exists $_[1]->{reason};
20883             # my ($class, $value, $index, $output) = @_;
20884             croak "Missing required input 'int' value"
20885 0 0         unless defined $_[1]->{reason};
20886             die "Out of bounds 'int': $_[1]->{reason}"
20887 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
20888             die "Non-integer 'int' value given: $_[1]->{reason}"
20889 0 0         unless int($_[1]->{reason}) == $_[1]->{reason};
20890 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{reason});
20891 0           $_[2] += 4;
20892              
20893             # Serializing field: 'msg'
20894             croak "Missing required input value 'msg'"
20895 0 0         unless exists $_[1]->{msg};
20896             # my ($class, $value, $index, $output) = @_;
20897 0           $_[0]->serialize_domain_event_pmsuspend_msg( $_[1]->{msg}, $_[2], $_[3] );
20898             }
20899             # @_: ($class, $value, $index, $input) = @_;
20900             sub deserialize_domain_event_balloon_change_msg {
20901 0     0 0   my $input_length = length $_[3];
20902 0           $_[1] = {};
20903             # Deserializing field: 'dom'
20904             # my ($class, $value, $index, $input) = @_;
20905 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20906              
20907             # Deserializing field: 'actual'
20908             # my ($class, $value, $index, $input) = @_;
20909 0 0         die "Input buffer too short"
20910             if ($input_length - $_[2]) < 8;
20911 0           $_[1]->{actual} = unpack("Q>", substr( $_[3], $_[2] ));
20912 0           $_[2] += 8;
20913             die "Out of bounds 'unsigned hyper': $_[1]->{actual}"
20914             unless (0 <= $_[1]->{actual}
20915 0 0 0       and $_[1]->{actual} <= 18446744073709551615);
20916             }
20917             # @_: ($class, $value, $index, $output) = @_;
20918             sub serialize_domain_event_balloon_change_msg {
20919 0 0   0 0   croak "Missing required input 'struct' value"
20920             unless defined $_[1];
20921              
20922             # Serializing field: 'dom'
20923             croak "Missing required input value 'dom'"
20924 0 0         unless exists $_[1]->{dom};
20925             # my ($class, $value, $index, $output) = @_;
20926 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20927              
20928             # Serializing field: 'actual'
20929             croak "Missing required input value 'actual'"
20930 0 0         unless exists $_[1]->{actual};
20931             # my ($class, $value, $index, $output) = @_;
20932             croak "Missing required input 'unsigned long' value"
20933 0 0         unless defined $_[1]->{actual};
20934             die "Out of bounds 'unsigned hyper': $_[1]->{actual}"
20935             unless (0 <= $_[1]->{actual}
20936 0 0 0       and $_[1]->{actual} <= 18446744073709551615);
20937             die "Non-integer 'long' value given: $_[1]->{actual}"
20938 0 0         unless int($_[1]->{actual}) == $_[1]->{actual};
20939 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{actual});
20940 0           $_[2] += 8;
20941             }
20942             # @_: ($class, $value, $index, $input) = @_;
20943             sub deserialize_domain_event_callback_balloon_change_msg {
20944 0     0 0   my $input_length = length $_[3];
20945 0           $_[1] = {};
20946             # Deserializing field: 'callbackID'
20947             # my ($class, $value, $index, $input) = @_;
20948 0 0         die "Input buffer too short"
20949             if ($input_length - $_[2]) < 4;
20950 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
20951 0           $_[2] += 4;
20952             die "Out of bounds 'int': $_[1]->{callbackID}"
20953 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20954              
20955             # Deserializing field: 'msg'
20956             # my ($class, $value, $index, $input) = @_;
20957 0           $_[0]->deserialize_domain_event_balloon_change_msg( $_[1]->{msg}, $_[2], $_[3] );
20958             }
20959             # @_: ($class, $value, $index, $output) = @_;
20960             sub serialize_domain_event_callback_balloon_change_msg {
20961 0 0   0 0   croak "Missing required input 'struct' value"
20962             unless defined $_[1];
20963              
20964             # Serializing field: 'callbackID'
20965             croak "Missing required input value 'callbackID'"
20966 0 0         unless exists $_[1]->{callbackID};
20967             # my ($class, $value, $index, $output) = @_;
20968             croak "Missing required input 'int' value"
20969 0 0         unless defined $_[1]->{callbackID};
20970             die "Out of bounds 'int': $_[1]->{callbackID}"
20971 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
20972             die "Non-integer 'int' value given: $_[1]->{callbackID}"
20973 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
20974 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
20975 0           $_[2] += 4;
20976              
20977             # Serializing field: 'msg'
20978             croak "Missing required input value 'msg'"
20979 0 0         unless exists $_[1]->{msg};
20980             # my ($class, $value, $index, $output) = @_;
20981 0           $_[0]->serialize_domain_event_balloon_change_msg( $_[1]->{msg}, $_[2], $_[3] );
20982             }
20983             # @_: ($class, $value, $index, $input) = @_;
20984             sub deserialize_domain_event_pmsuspend_disk_msg {
20985 0     0 0   my $input_length = length $_[3];
20986 0           $_[1] = {};
20987             # Deserializing field: 'dom'
20988             # my ($class, $value, $index, $input) = @_;
20989 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
20990             }
20991             # @_: ($class, $value, $index, $output) = @_;
20992             sub serialize_domain_event_pmsuspend_disk_msg {
20993 0 0   0 0   croak "Missing required input 'struct' value"
20994             unless defined $_[1];
20995              
20996             # Serializing field: 'dom'
20997             croak "Missing required input value 'dom'"
20998 0 0         unless exists $_[1]->{dom};
20999             # my ($class, $value, $index, $output) = @_;
21000 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21001             }
21002             # @_: ($class, $value, $index, $input) = @_;
21003             sub deserialize_domain_event_callback_pmsuspend_disk_msg {
21004 0     0 0   my $input_length = length $_[3];
21005 0           $_[1] = {};
21006             # Deserializing field: 'callbackID'
21007             # my ($class, $value, $index, $input) = @_;
21008 0 0         die "Input buffer too short"
21009             if ($input_length - $_[2]) < 4;
21010 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
21011 0           $_[2] += 4;
21012             die "Out of bounds 'int': $_[1]->{callbackID}"
21013 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
21014              
21015             # Deserializing field: 'reason'
21016             # my ($class, $value, $index, $input) = @_;
21017 0 0         die "Input buffer too short"
21018             if ($input_length - $_[2]) < 4;
21019 0           $_[1]->{reason} = unpack("l>", substr( $_[3], $_[2] ));
21020 0           $_[2] += 4;
21021             die "Out of bounds 'int': $_[1]->{reason}"
21022 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
21023              
21024             # Deserializing field: 'msg'
21025             # my ($class, $value, $index, $input) = @_;
21026 0           $_[0]->deserialize_domain_event_pmsuspend_disk_msg( $_[1]->{msg}, $_[2], $_[3] );
21027             }
21028             # @_: ($class, $value, $index, $output) = @_;
21029             sub serialize_domain_event_callback_pmsuspend_disk_msg {
21030 0 0   0 0   croak "Missing required input 'struct' value"
21031             unless defined $_[1];
21032              
21033             # Serializing field: 'callbackID'
21034             croak "Missing required input value 'callbackID'"
21035 0 0         unless exists $_[1]->{callbackID};
21036             # my ($class, $value, $index, $output) = @_;
21037             croak "Missing required input 'int' value"
21038 0 0         unless defined $_[1]->{callbackID};
21039             die "Out of bounds 'int': $_[1]->{callbackID}"
21040 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
21041             die "Non-integer 'int' value given: $_[1]->{callbackID}"
21042 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
21043 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
21044 0           $_[2] += 4;
21045              
21046             # Serializing field: 'reason'
21047             croak "Missing required input value 'reason'"
21048 0 0         unless exists $_[1]->{reason};
21049             # my ($class, $value, $index, $output) = @_;
21050             croak "Missing required input 'int' value"
21051 0 0         unless defined $_[1]->{reason};
21052             die "Out of bounds 'int': $_[1]->{reason}"
21053 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
21054             die "Non-integer 'int' value given: $_[1]->{reason}"
21055 0 0         unless int($_[1]->{reason}) == $_[1]->{reason};
21056 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{reason});
21057 0           $_[2] += 4;
21058              
21059             # Serializing field: 'msg'
21060             croak "Missing required input value 'msg'"
21061 0 0         unless exists $_[1]->{msg};
21062             # my ($class, $value, $index, $output) = @_;
21063 0           $_[0]->serialize_domain_event_pmsuspend_disk_msg( $_[1]->{msg}, $_[2], $_[3] );
21064             }
21065             # @_: ($class, $value, $index, $input) = @_;
21066             sub deserialize_domain_managed_save_args {
21067 0     0 0   my $input_length = length $_[3];
21068 0           $_[1] = {};
21069             # Deserializing field: 'dom'
21070             # my ($class, $value, $index, $input) = @_;
21071 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21072              
21073             # Deserializing field: 'flags'
21074             # my ($class, $value, $index, $input) = @_;
21075 0 0         die "Input buffer too short"
21076             if ($input_length - $_[2]) < 4;
21077 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21078 0           $_[2] += 4;
21079             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21080 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21081             }
21082             # @_: ($class, $value, $index, $output) = @_;
21083             sub serialize_domain_managed_save_args {
21084 0 0   0 0   croak "Missing required input 'struct' value"
21085             unless defined $_[1];
21086              
21087             # Serializing field: 'dom'
21088             croak "Missing required input value 'dom'"
21089 0 0         unless exists $_[1]->{dom};
21090             # my ($class, $value, $index, $output) = @_;
21091 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21092              
21093             # Serializing field: 'flags'
21094             croak "Missing required input value 'flags'"
21095 0 0         unless exists $_[1]->{flags};
21096             # my ($class, $value, $index, $output) = @_;
21097             croak "Missing required input 'unsigned int' value"
21098 0 0         unless defined $_[1]->{flags};
21099             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21100 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21101             die "Non-integer 'int' value given: $_[1]->{flags}"
21102 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21103 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21104 0           $_[2] += 4;
21105             }
21106             # @_: ($class, $value, $index, $input) = @_;
21107             sub deserialize_domain_has_managed_save_image_args {
21108 0     0 0   my $input_length = length $_[3];
21109 0           $_[1] = {};
21110             # Deserializing field: 'dom'
21111             # my ($class, $value, $index, $input) = @_;
21112 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21113              
21114             # Deserializing field: 'flags'
21115             # my ($class, $value, $index, $input) = @_;
21116 0 0         die "Input buffer too short"
21117             if ($input_length - $_[2]) < 4;
21118 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21119 0           $_[2] += 4;
21120             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21121 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21122             }
21123             # @_: ($class, $value, $index, $output) = @_;
21124             sub serialize_domain_has_managed_save_image_args {
21125 0 0   0 0   croak "Missing required input 'struct' value"
21126             unless defined $_[1];
21127              
21128             # Serializing field: 'dom'
21129             croak "Missing required input value 'dom'"
21130 0 0         unless exists $_[1]->{dom};
21131             # my ($class, $value, $index, $output) = @_;
21132 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21133              
21134             # Serializing field: 'flags'
21135             croak "Missing required input value 'flags'"
21136 0 0         unless exists $_[1]->{flags};
21137             # my ($class, $value, $index, $output) = @_;
21138             croak "Missing required input 'unsigned int' value"
21139 0 0         unless defined $_[1]->{flags};
21140             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21141 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21142             die "Non-integer 'int' value given: $_[1]->{flags}"
21143 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21144 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21145 0           $_[2] += 4;
21146             }
21147             # @_: ($class, $value, $index, $input) = @_;
21148             sub deserialize_domain_has_managed_save_image_ret {
21149 0     0 0   my $input_length = length $_[3];
21150 0           $_[1] = {};
21151             # Deserializing field: 'result'
21152             # my ($class, $value, $index, $input) = @_;
21153 0 0         die "Input buffer too short"
21154             if ($input_length - $_[2]) < 4;
21155 0           $_[1]->{result} = unpack("l>", substr( $_[3], $_[2] ));
21156 0           $_[2] += 4;
21157             die "Out of bounds 'int': $_[1]->{result}"
21158 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
21159             }
21160             # @_: ($class, $value, $index, $output) = @_;
21161             sub serialize_domain_has_managed_save_image_ret {
21162 0 0   0 0   croak "Missing required input 'struct' value"
21163             unless defined $_[1];
21164              
21165             # Serializing field: 'result'
21166             croak "Missing required input value 'result'"
21167 0 0         unless exists $_[1]->{result};
21168             # my ($class, $value, $index, $output) = @_;
21169             croak "Missing required input 'int' value"
21170 0 0         unless defined $_[1]->{result};
21171             die "Out of bounds 'int': $_[1]->{result}"
21172 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
21173             die "Non-integer 'int' value given: $_[1]->{result}"
21174 0 0         unless int($_[1]->{result}) == $_[1]->{result};
21175 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{result});
21176 0           $_[2] += 4;
21177             }
21178             # @_: ($class, $value, $index, $input) = @_;
21179             sub deserialize_domain_managed_save_remove_args {
21180 0     0 0   my $input_length = length $_[3];
21181 0           $_[1] = {};
21182             # Deserializing field: 'dom'
21183             # my ($class, $value, $index, $input) = @_;
21184 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21185              
21186             # Deserializing field: 'flags'
21187             # my ($class, $value, $index, $input) = @_;
21188 0 0         die "Input buffer too short"
21189             if ($input_length - $_[2]) < 4;
21190 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21191 0           $_[2] += 4;
21192             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21193 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21194             }
21195             # @_: ($class, $value, $index, $output) = @_;
21196             sub serialize_domain_managed_save_remove_args {
21197 0 0   0 0   croak "Missing required input 'struct' value"
21198             unless defined $_[1];
21199              
21200             # Serializing field: 'dom'
21201             croak "Missing required input value 'dom'"
21202 0 0         unless exists $_[1]->{dom};
21203             # my ($class, $value, $index, $output) = @_;
21204 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21205              
21206             # Serializing field: 'flags'
21207             croak "Missing required input value 'flags'"
21208 0 0         unless exists $_[1]->{flags};
21209             # my ($class, $value, $index, $output) = @_;
21210             croak "Missing required input 'unsigned int' value"
21211 0 0         unless defined $_[1]->{flags};
21212             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21213 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21214             die "Non-integer 'int' value given: $_[1]->{flags}"
21215 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21216 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21217 0           $_[2] += 4;
21218             }
21219             # @_: ($class, $value, $index, $input) = @_;
21220             sub deserialize_domain_managed_save_get_xml_desc_args {
21221 0     0 0   my $input_length = length $_[3];
21222 0           $_[1] = {};
21223             # Deserializing field: 'dom'
21224             # my ($class, $value, $index, $input) = @_;
21225 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21226              
21227             # Deserializing field: 'flags'
21228             # my ($class, $value, $index, $input) = @_;
21229 0 0         die "Input buffer too short"
21230             if ($input_length - $_[2]) < 4;
21231 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21232 0           $_[2] += 4;
21233             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21234 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21235             }
21236             # @_: ($class, $value, $index, $output) = @_;
21237             sub serialize_domain_managed_save_get_xml_desc_args {
21238 0 0   0 0   croak "Missing required input 'struct' value"
21239             unless defined $_[1];
21240              
21241             # Serializing field: 'dom'
21242             croak "Missing required input value 'dom'"
21243 0 0         unless exists $_[1]->{dom};
21244             # my ($class, $value, $index, $output) = @_;
21245 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21246              
21247             # Serializing field: 'flags'
21248             croak "Missing required input value 'flags'"
21249 0 0         unless exists $_[1]->{flags};
21250             # my ($class, $value, $index, $output) = @_;
21251             croak "Missing required input 'unsigned int' value"
21252 0 0         unless defined $_[1]->{flags};
21253             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21254 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21255             die "Non-integer 'int' value given: $_[1]->{flags}"
21256 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21257 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21258 0           $_[2] += 4;
21259             }
21260             # @_: ($class, $value, $index, $input) = @_;
21261             sub deserialize_domain_managed_save_get_xml_desc_ret {
21262 0     0 0   my $input_length = length $_[3];
21263 0           $_[1] = {};
21264             # Deserializing field: 'xml'
21265             # my ($class, $value, $index, $input) = @_;
21266 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
21267             }
21268             # @_: ($class, $value, $index, $output) = @_;
21269             sub serialize_domain_managed_save_get_xml_desc_ret {
21270 0 0   0 0   croak "Missing required input 'struct' value"
21271             unless defined $_[1];
21272              
21273             # Serializing field: 'xml'
21274             croak "Missing required input value 'xml'"
21275 0 0         unless exists $_[1]->{xml};
21276             # my ($class, $value, $index, $output) = @_;
21277 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
21278             }
21279             # @_: ($class, $value, $index, $input) = @_;
21280             sub deserialize_domain_managed_save_define_xml_args {
21281 0     0 0   my $input_length = length $_[3];
21282 0           $_[1] = {};
21283             # Deserializing field: 'dom'
21284             # my ($class, $value, $index, $input) = @_;
21285 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21286              
21287             # Deserializing field: 'dxml'
21288             # my ($class, $value, $index, $input) = @_;
21289 0           $_[0]->deserialize_string( $_[1]->{dxml}, $_[2], $_[3] );
21290              
21291             # Deserializing field: 'flags'
21292             # my ($class, $value, $index, $input) = @_;
21293 0 0         die "Input buffer too short"
21294             if ($input_length - $_[2]) < 4;
21295 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21296 0           $_[2] += 4;
21297             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21298 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21299             }
21300             # @_: ($class, $value, $index, $output) = @_;
21301             sub serialize_domain_managed_save_define_xml_args {
21302 0 0   0 0   croak "Missing required input 'struct' value"
21303             unless defined $_[1];
21304              
21305             # Serializing field: 'dom'
21306             croak "Missing required input value 'dom'"
21307 0 0         unless exists $_[1]->{dom};
21308             # my ($class, $value, $index, $output) = @_;
21309 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21310              
21311             # Serializing field: 'dxml'
21312             croak "Missing required input value 'dxml'"
21313 0 0         unless exists $_[1]->{dxml};
21314             # my ($class, $value, $index, $output) = @_;
21315 0           $_[0]->serialize_string( $_[1]->{dxml}, $_[2], $_[3] );
21316              
21317             # Serializing field: 'flags'
21318             croak "Missing required input value 'flags'"
21319 0 0         unless exists $_[1]->{flags};
21320             # my ($class, $value, $index, $output) = @_;
21321             croak "Missing required input 'unsigned int' value"
21322 0 0         unless defined $_[1]->{flags};
21323             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21324 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21325             die "Non-integer 'int' value given: $_[1]->{flags}"
21326 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21327 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21328 0           $_[2] += 4;
21329             }
21330             # @_: ($class, $value, $index, $input) = @_;
21331             sub deserialize_domain_snapshot_create_xml_args {
21332 0     0 0   my $input_length = length $_[3];
21333 0           $_[1] = {};
21334             # Deserializing field: 'dom'
21335             # my ($class, $value, $index, $input) = @_;
21336 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21337              
21338             # Deserializing field: 'xml_desc'
21339             # my ($class, $value, $index, $input) = @_;
21340 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
21341              
21342             # Deserializing field: 'flags'
21343             # my ($class, $value, $index, $input) = @_;
21344 0 0         die "Input buffer too short"
21345             if ($input_length - $_[2]) < 4;
21346 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21347 0           $_[2] += 4;
21348             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21349 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21350             }
21351             # @_: ($class, $value, $index, $output) = @_;
21352             sub serialize_domain_snapshot_create_xml_args {
21353 0 0   0 0   croak "Missing required input 'struct' value"
21354             unless defined $_[1];
21355              
21356             # Serializing field: 'dom'
21357             croak "Missing required input value 'dom'"
21358 0 0         unless exists $_[1]->{dom};
21359             # my ($class, $value, $index, $output) = @_;
21360 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21361              
21362             # Serializing field: 'xml_desc'
21363             croak "Missing required input value 'xml_desc'"
21364 0 0         unless exists $_[1]->{xml_desc};
21365             # my ($class, $value, $index, $output) = @_;
21366 0           $_[0]->serialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
21367              
21368             # Serializing field: 'flags'
21369             croak "Missing required input value 'flags'"
21370 0 0         unless exists $_[1]->{flags};
21371             # my ($class, $value, $index, $output) = @_;
21372             croak "Missing required input 'unsigned int' value"
21373 0 0         unless defined $_[1]->{flags};
21374             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21375 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21376             die "Non-integer 'int' value given: $_[1]->{flags}"
21377 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21378 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21379 0           $_[2] += 4;
21380             }
21381             # @_: ($class, $value, $index, $input) = @_;
21382             sub deserialize_domain_snapshot_create_xml_ret {
21383 0     0 0   my $input_length = length $_[3];
21384 0           $_[1] = {};
21385             # Deserializing field: 'snap'
21386             # my ($class, $value, $index, $input) = @_;
21387 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
21388             }
21389             # @_: ($class, $value, $index, $output) = @_;
21390             sub serialize_domain_snapshot_create_xml_ret {
21391 0 0   0 0   croak "Missing required input 'struct' value"
21392             unless defined $_[1];
21393              
21394             # Serializing field: 'snap'
21395             croak "Missing required input value 'snap'"
21396 0 0         unless exists $_[1]->{snap};
21397             # my ($class, $value, $index, $output) = @_;
21398 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
21399             }
21400             # @_: ($class, $value, $index, $input) = @_;
21401             sub deserialize_domain_snapshot_get_xml_desc_args {
21402 0     0 0   my $input_length = length $_[3];
21403 0           $_[1] = {};
21404             # Deserializing field: 'snap'
21405             # my ($class, $value, $index, $input) = @_;
21406 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
21407              
21408             # Deserializing field: 'flags'
21409             # my ($class, $value, $index, $input) = @_;
21410 0 0         die "Input buffer too short"
21411             if ($input_length - $_[2]) < 4;
21412 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21413 0           $_[2] += 4;
21414             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21415 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21416             }
21417             # @_: ($class, $value, $index, $output) = @_;
21418             sub serialize_domain_snapshot_get_xml_desc_args {
21419 0 0   0 0   croak "Missing required input 'struct' value"
21420             unless defined $_[1];
21421              
21422             # Serializing field: 'snap'
21423             croak "Missing required input value 'snap'"
21424 0 0         unless exists $_[1]->{snap};
21425             # my ($class, $value, $index, $output) = @_;
21426 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
21427              
21428             # Serializing field: 'flags'
21429             croak "Missing required input value 'flags'"
21430 0 0         unless exists $_[1]->{flags};
21431             # my ($class, $value, $index, $output) = @_;
21432             croak "Missing required input 'unsigned int' value"
21433 0 0         unless defined $_[1]->{flags};
21434             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21435 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21436             die "Non-integer 'int' value given: $_[1]->{flags}"
21437 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21438 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21439 0           $_[2] += 4;
21440             }
21441             # @_: ($class, $value, $index, $input) = @_;
21442             sub deserialize_domain_snapshot_get_xml_desc_ret {
21443 0     0 0   my $input_length = length $_[3];
21444 0           $_[1] = {};
21445             # Deserializing field: 'xml'
21446             # my ($class, $value, $index, $input) = @_;
21447 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
21448             }
21449             # @_: ($class, $value, $index, $output) = @_;
21450             sub serialize_domain_snapshot_get_xml_desc_ret {
21451 0 0   0 0   croak "Missing required input 'struct' value"
21452             unless defined $_[1];
21453              
21454             # Serializing field: 'xml'
21455             croak "Missing required input value 'xml'"
21456 0 0         unless exists $_[1]->{xml};
21457             # my ($class, $value, $index, $output) = @_;
21458 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
21459             }
21460             # @_: ($class, $value, $index, $input) = @_;
21461             sub deserialize_domain_snapshot_num_args {
21462 0     0 0   my $input_length = length $_[3];
21463 0           $_[1] = {};
21464             # Deserializing field: 'dom'
21465             # my ($class, $value, $index, $input) = @_;
21466 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21467              
21468             # Deserializing field: 'flags'
21469             # my ($class, $value, $index, $input) = @_;
21470 0 0         die "Input buffer too short"
21471             if ($input_length - $_[2]) < 4;
21472 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21473 0           $_[2] += 4;
21474             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21475 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21476             }
21477             # @_: ($class, $value, $index, $output) = @_;
21478             sub serialize_domain_snapshot_num_args {
21479 0 0   0 0   croak "Missing required input 'struct' value"
21480             unless defined $_[1];
21481              
21482             # Serializing field: 'dom'
21483             croak "Missing required input value 'dom'"
21484 0 0         unless exists $_[1]->{dom};
21485             # my ($class, $value, $index, $output) = @_;
21486 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21487              
21488             # Serializing field: 'flags'
21489             croak "Missing required input value 'flags'"
21490 0 0         unless exists $_[1]->{flags};
21491             # my ($class, $value, $index, $output) = @_;
21492             croak "Missing required input 'unsigned int' value"
21493 0 0         unless defined $_[1]->{flags};
21494             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21495 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21496             die "Non-integer 'int' value given: $_[1]->{flags}"
21497 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21498 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21499 0           $_[2] += 4;
21500             }
21501             # @_: ($class, $value, $index, $input) = @_;
21502             sub deserialize_domain_snapshot_num_ret {
21503 0     0 0   my $input_length = length $_[3];
21504 0           $_[1] = {};
21505             # Deserializing field: 'num'
21506             # my ($class, $value, $index, $input) = @_;
21507 0 0         die "Input buffer too short"
21508             if ($input_length - $_[2]) < 4;
21509 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
21510 0           $_[2] += 4;
21511             die "Out of bounds 'int': $_[1]->{num}"
21512 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
21513             }
21514             # @_: ($class, $value, $index, $output) = @_;
21515             sub serialize_domain_snapshot_num_ret {
21516 0 0   0 0   croak "Missing required input 'struct' value"
21517             unless defined $_[1];
21518              
21519             # Serializing field: 'num'
21520             croak "Missing required input value 'num'"
21521 0 0         unless exists $_[1]->{num};
21522             # my ($class, $value, $index, $output) = @_;
21523             croak "Missing required input 'int' value"
21524 0 0         unless defined $_[1]->{num};
21525             die "Out of bounds 'int': $_[1]->{num}"
21526 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
21527             die "Non-integer 'int' value given: $_[1]->{num}"
21528 0 0         unless int($_[1]->{num}) == $_[1]->{num};
21529 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
21530 0           $_[2] += 4;
21531             }
21532             # @_: ($class, $value, $index, $input) = @_;
21533             sub deserialize_domain_snapshot_list_names_args {
21534 0     0 0   my $input_length = length $_[3];
21535 0           $_[1] = {};
21536             # Deserializing field: 'dom'
21537             # my ($class, $value, $index, $input) = @_;
21538 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21539              
21540             # Deserializing field: 'maxnames'
21541             # my ($class, $value, $index, $input) = @_;
21542 0 0         die "Input buffer too short"
21543             if ($input_length - $_[2]) < 4;
21544 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
21545 0           $_[2] += 4;
21546             die "Out of bounds 'int': $_[1]->{maxnames}"
21547 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
21548              
21549             # Deserializing field: 'flags'
21550             # my ($class, $value, $index, $input) = @_;
21551 0 0         die "Input buffer too short"
21552             if ($input_length - $_[2]) < 4;
21553 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21554 0           $_[2] += 4;
21555             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21556 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21557             }
21558             # @_: ($class, $value, $index, $output) = @_;
21559             sub serialize_domain_snapshot_list_names_args {
21560 0 0   0 0   croak "Missing required input 'struct' value"
21561             unless defined $_[1];
21562              
21563             # Serializing field: 'dom'
21564             croak "Missing required input value 'dom'"
21565 0 0         unless exists $_[1]->{dom};
21566             # my ($class, $value, $index, $output) = @_;
21567 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21568              
21569             # Serializing field: 'maxnames'
21570             croak "Missing required input value 'maxnames'"
21571 0 0         unless exists $_[1]->{maxnames};
21572             # my ($class, $value, $index, $output) = @_;
21573             croak "Missing required input 'int' value"
21574 0 0         unless defined $_[1]->{maxnames};
21575             die "Out of bounds 'int': $_[1]->{maxnames}"
21576 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
21577             die "Non-integer 'int' value given: $_[1]->{maxnames}"
21578 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
21579 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
21580 0           $_[2] += 4;
21581              
21582             # Serializing field: 'flags'
21583             croak "Missing required input value 'flags'"
21584 0 0         unless exists $_[1]->{flags};
21585             # my ($class, $value, $index, $output) = @_;
21586             croak "Missing required input 'unsigned int' value"
21587 0 0         unless defined $_[1]->{flags};
21588             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21589 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21590             die "Non-integer 'int' value given: $_[1]->{flags}"
21591 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21592 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21593 0           $_[2] += 4;
21594             }
21595             # @_: ($class, $value, $index, $input) = @_;
21596             sub deserialize_domain_snapshot_list_names_ret {
21597 0     0 0   my $input_length = length $_[3];
21598 0           $_[1] = {};
21599             # Deserializing field: 'names'
21600             # my ($class, $value, $index, $input) = @_;
21601 0           do {
21602 0 0         die "Input buffer too short"
21603             if ($input_length - $_[2]) < 4;
21604 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
21605 0           $_[2] += 4;
21606              
21607 0 0         die "Array too long (max: 16384): $len"
21608             unless ($len <= 16384);
21609 0           $_[1]->{names} = [];
21610 0           for my $i1 ( 0 .. ($len - 1) ) {
21611             # my ($class, $value, $index, $input) = @_;
21612 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
21613             }
21614             };
21615             }
21616             # @_: ($class, $value, $index, $output) = @_;
21617             sub serialize_domain_snapshot_list_names_ret {
21618 0 0   0 0   croak "Missing required input 'struct' value"
21619             unless defined $_[1];
21620              
21621             # Serializing field: 'names'
21622             croak "Missing required input value 'names'"
21623 0 0         unless exists $_[1]->{names};
21624             # my ($class, $value, $index, $output) = @_;
21625             croak "Missing required input 'array' value"
21626 0 0         unless defined $_[1]->{names};
21627 0           do {
21628 0           my $len = scalar @{ $_[1]->{names} };
  0            
21629 0 0         die "Array too long (max: 16384): $len"
21630             unless ($len <= 16384);
21631              
21632 0           substr( $_[3], $_[2] ) = pack("L>", $len);
21633 0           $_[2] += 4;
21634 0           for my $i1 ( 0 .. ($len - 1) ) {
21635             # my ($class, $value, $index, $output) = @_;
21636 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
21637             }
21638             };
21639             }
21640             # @_: ($class, $value, $index, $input) = @_;
21641             sub deserialize_domain_list_all_snapshots_args {
21642 0     0 0   my $input_length = length $_[3];
21643 0           $_[1] = {};
21644             # Deserializing field: 'dom'
21645             # my ($class, $value, $index, $input) = @_;
21646 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21647              
21648             # Deserializing field: 'need_results'
21649             # my ($class, $value, $index, $input) = @_;
21650 0 0         die "Input buffer too short"
21651             if ($input_length - $_[2]) < 4;
21652 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
21653 0           $_[2] += 4;
21654             die "Out of bounds 'int': $_[1]->{need_results}"
21655 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
21656              
21657             # Deserializing field: 'flags'
21658             # my ($class, $value, $index, $input) = @_;
21659 0 0         die "Input buffer too short"
21660             if ($input_length - $_[2]) < 4;
21661 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21662 0           $_[2] += 4;
21663             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21664 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21665             }
21666             # @_: ($class, $value, $index, $output) = @_;
21667             sub serialize_domain_list_all_snapshots_args {
21668 0 0   0 0   croak "Missing required input 'struct' value"
21669             unless defined $_[1];
21670              
21671             # Serializing field: 'dom'
21672             croak "Missing required input value 'dom'"
21673 0 0         unless exists $_[1]->{dom};
21674             # my ($class, $value, $index, $output) = @_;
21675 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
21676              
21677             # Serializing field: 'need_results'
21678             croak "Missing required input value 'need_results'"
21679 0 0         unless exists $_[1]->{need_results};
21680             # my ($class, $value, $index, $output) = @_;
21681             croak "Missing required input 'int' value"
21682 0 0         unless defined $_[1]->{need_results};
21683             die "Out of bounds 'int': $_[1]->{need_results}"
21684 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
21685             die "Non-integer 'int' value given: $_[1]->{need_results}"
21686 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
21687 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
21688 0           $_[2] += 4;
21689              
21690             # Serializing field: 'flags'
21691             croak "Missing required input value 'flags'"
21692 0 0         unless exists $_[1]->{flags};
21693             # my ($class, $value, $index, $output) = @_;
21694             croak "Missing required input 'unsigned int' value"
21695 0 0         unless defined $_[1]->{flags};
21696             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21697 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21698             die "Non-integer 'int' value given: $_[1]->{flags}"
21699 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21700 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21701 0           $_[2] += 4;
21702             }
21703             # @_: ($class, $value, $index, $input) = @_;
21704             sub deserialize_domain_list_all_snapshots_ret {
21705 0     0 0   my $input_length = length $_[3];
21706 0           $_[1] = {};
21707             # Deserializing field: 'snapshots'
21708             # my ($class, $value, $index, $input) = @_;
21709 0           do {
21710 0 0         die "Input buffer too short"
21711             if ($input_length - $_[2]) < 4;
21712 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
21713 0           $_[2] += 4;
21714              
21715 0 0         die "Array too long (max: 16384): $len"
21716             unless ($len <= 16384);
21717 0           $_[1]->{snapshots} = [];
21718 0           for my $i1 ( 0 .. ($len - 1) ) {
21719             # my ($class, $value, $index, $input) = @_;
21720 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snapshots}->[$i1], $_[2], $_[3] );
21721             }
21722             };
21723              
21724             # Deserializing field: 'ret'
21725             # my ($class, $value, $index, $input) = @_;
21726 0 0         die "Input buffer too short"
21727             if ($input_length - $_[2]) < 4;
21728 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
21729 0           $_[2] += 4;
21730             die "Out of bounds 'int': $_[1]->{ret}"
21731 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
21732             }
21733             # @_: ($class, $value, $index, $output) = @_;
21734             sub serialize_domain_list_all_snapshots_ret {
21735 0 0   0 0   croak "Missing required input 'struct' value"
21736             unless defined $_[1];
21737              
21738             # Serializing field: 'snapshots'
21739             croak "Missing required input value 'snapshots'"
21740 0 0         unless exists $_[1]->{snapshots};
21741             # my ($class, $value, $index, $output) = @_;
21742             croak "Missing required input 'array' value"
21743 0 0         unless defined $_[1]->{snapshots};
21744 0           do {
21745 0           my $len = scalar @{ $_[1]->{snapshots} };
  0            
21746 0 0         die "Array too long (max: 16384): $len"
21747             unless ($len <= 16384);
21748              
21749 0           substr( $_[3], $_[2] ) = pack("L>", $len);
21750 0           $_[2] += 4;
21751 0           for my $i1 ( 0 .. ($len - 1) ) {
21752             # my ($class, $value, $index, $output) = @_;
21753 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snapshots}->[$i1], $_[2], $_[3] );
21754             }
21755             };
21756              
21757             # Serializing field: 'ret'
21758             croak "Missing required input value 'ret'"
21759 0 0         unless exists $_[1]->{ret};
21760             # my ($class, $value, $index, $output) = @_;
21761             croak "Missing required input 'int' value"
21762 0 0         unless defined $_[1]->{ret};
21763             die "Out of bounds 'int': $_[1]->{ret}"
21764 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
21765             die "Non-integer 'int' value given: $_[1]->{ret}"
21766 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
21767 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
21768 0           $_[2] += 4;
21769             }
21770             # @_: ($class, $value, $index, $input) = @_;
21771             sub deserialize_domain_snapshot_num_children_args {
21772 0     0 0   my $input_length = length $_[3];
21773 0           $_[1] = {};
21774             # Deserializing field: 'snap'
21775             # my ($class, $value, $index, $input) = @_;
21776 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
21777              
21778             # Deserializing field: 'flags'
21779             # my ($class, $value, $index, $input) = @_;
21780 0 0         die "Input buffer too short"
21781             if ($input_length - $_[2]) < 4;
21782 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21783 0           $_[2] += 4;
21784             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21785 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21786             }
21787             # @_: ($class, $value, $index, $output) = @_;
21788             sub serialize_domain_snapshot_num_children_args {
21789 0 0   0 0   croak "Missing required input 'struct' value"
21790             unless defined $_[1];
21791              
21792             # Serializing field: 'snap'
21793             croak "Missing required input value 'snap'"
21794 0 0         unless exists $_[1]->{snap};
21795             # my ($class, $value, $index, $output) = @_;
21796 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
21797              
21798             # Serializing field: 'flags'
21799             croak "Missing required input value 'flags'"
21800 0 0         unless exists $_[1]->{flags};
21801             # my ($class, $value, $index, $output) = @_;
21802             croak "Missing required input 'unsigned int' value"
21803 0 0         unless defined $_[1]->{flags};
21804             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21805 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21806             die "Non-integer 'int' value given: $_[1]->{flags}"
21807 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21808 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21809 0           $_[2] += 4;
21810             }
21811             # @_: ($class, $value, $index, $input) = @_;
21812             sub deserialize_domain_snapshot_num_children_ret {
21813 0     0 0   my $input_length = length $_[3];
21814 0           $_[1] = {};
21815             # Deserializing field: 'num'
21816             # my ($class, $value, $index, $input) = @_;
21817 0 0         die "Input buffer too short"
21818             if ($input_length - $_[2]) < 4;
21819 0           $_[1]->{num} = unpack("l>", substr( $_[3], $_[2] ));
21820 0           $_[2] += 4;
21821             die "Out of bounds 'int': $_[1]->{num}"
21822 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
21823             }
21824             # @_: ($class, $value, $index, $output) = @_;
21825             sub serialize_domain_snapshot_num_children_ret {
21826 0 0   0 0   croak "Missing required input 'struct' value"
21827             unless defined $_[1];
21828              
21829             # Serializing field: 'num'
21830             croak "Missing required input value 'num'"
21831 0 0         unless exists $_[1]->{num};
21832             # my ($class, $value, $index, $output) = @_;
21833             croak "Missing required input 'int' value"
21834 0 0         unless defined $_[1]->{num};
21835             die "Out of bounds 'int': $_[1]->{num}"
21836 0 0 0       unless (-2147483648 <= $_[1]->{num} and $_[1]->{num} < 2147483648);
21837             die "Non-integer 'int' value given: $_[1]->{num}"
21838 0 0         unless int($_[1]->{num}) == $_[1]->{num};
21839 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{num});
21840 0           $_[2] += 4;
21841             }
21842             # @_: ($class, $value, $index, $input) = @_;
21843             sub deserialize_domain_snapshot_list_children_names_args {
21844 0     0 0   my $input_length = length $_[3];
21845 0           $_[1] = {};
21846             # Deserializing field: 'snap'
21847             # my ($class, $value, $index, $input) = @_;
21848 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
21849              
21850             # Deserializing field: 'maxnames'
21851             # my ($class, $value, $index, $input) = @_;
21852 0 0         die "Input buffer too short"
21853             if ($input_length - $_[2]) < 4;
21854 0           $_[1]->{maxnames} = unpack("l>", substr( $_[3], $_[2] ));
21855 0           $_[2] += 4;
21856             die "Out of bounds 'int': $_[1]->{maxnames}"
21857 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
21858              
21859             # Deserializing field: 'flags'
21860             # my ($class, $value, $index, $input) = @_;
21861 0 0         die "Input buffer too short"
21862             if ($input_length - $_[2]) < 4;
21863 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21864 0           $_[2] += 4;
21865             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21866 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21867             }
21868             # @_: ($class, $value, $index, $output) = @_;
21869             sub serialize_domain_snapshot_list_children_names_args {
21870 0 0   0 0   croak "Missing required input 'struct' value"
21871             unless defined $_[1];
21872              
21873             # Serializing field: 'snap'
21874             croak "Missing required input value 'snap'"
21875 0 0         unless exists $_[1]->{snap};
21876             # my ($class, $value, $index, $output) = @_;
21877 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
21878              
21879             # Serializing field: 'maxnames'
21880             croak "Missing required input value 'maxnames'"
21881 0 0         unless exists $_[1]->{maxnames};
21882             # my ($class, $value, $index, $output) = @_;
21883             croak "Missing required input 'int' value"
21884 0 0         unless defined $_[1]->{maxnames};
21885             die "Out of bounds 'int': $_[1]->{maxnames}"
21886 0 0 0       unless (-2147483648 <= $_[1]->{maxnames} and $_[1]->{maxnames} < 2147483648);
21887             die "Non-integer 'int' value given: $_[1]->{maxnames}"
21888 0 0         unless int($_[1]->{maxnames}) == $_[1]->{maxnames};
21889 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{maxnames});
21890 0           $_[2] += 4;
21891              
21892             # Serializing field: 'flags'
21893             croak "Missing required input value 'flags'"
21894 0 0         unless exists $_[1]->{flags};
21895             # my ($class, $value, $index, $output) = @_;
21896             croak "Missing required input 'unsigned int' value"
21897 0 0         unless defined $_[1]->{flags};
21898             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21899 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21900             die "Non-integer 'int' value given: $_[1]->{flags}"
21901 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
21902 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
21903 0           $_[2] += 4;
21904             }
21905             # @_: ($class, $value, $index, $input) = @_;
21906             sub deserialize_domain_snapshot_list_children_names_ret {
21907 0     0 0   my $input_length = length $_[3];
21908 0           $_[1] = {};
21909             # Deserializing field: 'names'
21910             # my ($class, $value, $index, $input) = @_;
21911 0           do {
21912 0 0         die "Input buffer too short"
21913             if ($input_length - $_[2]) < 4;
21914 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
21915 0           $_[2] += 4;
21916              
21917 0 0         die "Array too long (max: 16384): $len"
21918             unless ($len <= 16384);
21919 0           $_[1]->{names} = [];
21920 0           for my $i1 ( 0 .. ($len - 1) ) {
21921             # my ($class, $value, $index, $input) = @_;
21922 0           $_[0]->deserialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
21923             }
21924             };
21925             }
21926             # @_: ($class, $value, $index, $output) = @_;
21927             sub serialize_domain_snapshot_list_children_names_ret {
21928 0 0   0 0   croak "Missing required input 'struct' value"
21929             unless defined $_[1];
21930              
21931             # Serializing field: 'names'
21932             croak "Missing required input value 'names'"
21933 0 0         unless exists $_[1]->{names};
21934             # my ($class, $value, $index, $output) = @_;
21935             croak "Missing required input 'array' value"
21936 0 0         unless defined $_[1]->{names};
21937 0           do {
21938 0           my $len = scalar @{ $_[1]->{names} };
  0            
21939 0 0         die "Array too long (max: 16384): $len"
21940             unless ($len <= 16384);
21941              
21942 0           substr( $_[3], $_[2] ) = pack("L>", $len);
21943 0           $_[2] += 4;
21944 0           for my $i1 ( 0 .. ($len - 1) ) {
21945             # my ($class, $value, $index, $output) = @_;
21946 0           $_[0]->serialize_nonnull_string( $_[1]->{names}->[$i1], $_[2], $_[3] );
21947             }
21948             };
21949             }
21950             # @_: ($class, $value, $index, $input) = @_;
21951             sub deserialize_domain_snapshot_list_all_children_args {
21952 0     0 0   my $input_length = length $_[3];
21953 0           $_[1] = {};
21954             # Deserializing field: 'snapshot'
21955             # my ($class, $value, $index, $input) = @_;
21956 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snapshot}, $_[2], $_[3] );
21957              
21958             # Deserializing field: 'need_results'
21959             # my ($class, $value, $index, $input) = @_;
21960 0 0         die "Input buffer too short"
21961             if ($input_length - $_[2]) < 4;
21962 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
21963 0           $_[2] += 4;
21964             die "Out of bounds 'int': $_[1]->{need_results}"
21965 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
21966              
21967             # Deserializing field: 'flags'
21968             # my ($class, $value, $index, $input) = @_;
21969 0 0         die "Input buffer too short"
21970             if ($input_length - $_[2]) < 4;
21971 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
21972 0           $_[2] += 4;
21973             die "Out of bounds 'unsigned int': $_[1]->{flags}"
21974 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
21975             }
21976             # @_: ($class, $value, $index, $output) = @_;
21977             sub serialize_domain_snapshot_list_all_children_args {
21978 0 0   0 0   croak "Missing required input 'struct' value"
21979             unless defined $_[1];
21980              
21981             # Serializing field: 'snapshot'
21982             croak "Missing required input value 'snapshot'"
21983 0 0         unless exists $_[1]->{snapshot};
21984             # my ($class, $value, $index, $output) = @_;
21985 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snapshot}, $_[2], $_[3] );
21986              
21987             # Serializing field: 'need_results'
21988             croak "Missing required input value 'need_results'"
21989 0 0         unless exists $_[1]->{need_results};
21990             # my ($class, $value, $index, $output) = @_;
21991             croak "Missing required input 'int' value"
21992 0 0         unless defined $_[1]->{need_results};
21993             die "Out of bounds 'int': $_[1]->{need_results}"
21994 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
21995             die "Non-integer 'int' value given: $_[1]->{need_results}"
21996 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
21997 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
21998 0           $_[2] += 4;
21999              
22000             # Serializing field: 'flags'
22001             croak "Missing required input value 'flags'"
22002 0 0         unless exists $_[1]->{flags};
22003             # my ($class, $value, $index, $output) = @_;
22004             croak "Missing required input 'unsigned int' value"
22005 0 0         unless defined $_[1]->{flags};
22006             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22007 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22008             die "Non-integer 'int' value given: $_[1]->{flags}"
22009 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22010 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22011 0           $_[2] += 4;
22012             }
22013             # @_: ($class, $value, $index, $input) = @_;
22014             sub deserialize_domain_snapshot_list_all_children_ret {
22015 0     0 0   my $input_length = length $_[3];
22016 0           $_[1] = {};
22017             # Deserializing field: 'snapshots'
22018             # my ($class, $value, $index, $input) = @_;
22019 0           do {
22020 0 0         die "Input buffer too short"
22021             if ($input_length - $_[2]) < 4;
22022 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
22023 0           $_[2] += 4;
22024              
22025 0 0         die "Array too long (max: 16384): $len"
22026             unless ($len <= 16384);
22027 0           $_[1]->{snapshots} = [];
22028 0           for my $i1 ( 0 .. ($len - 1) ) {
22029             # my ($class, $value, $index, $input) = @_;
22030 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snapshots}->[$i1], $_[2], $_[3] );
22031             }
22032             };
22033              
22034             # Deserializing field: 'ret'
22035             # my ($class, $value, $index, $input) = @_;
22036 0 0         die "Input buffer too short"
22037             if ($input_length - $_[2]) < 4;
22038 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
22039 0           $_[2] += 4;
22040             die "Out of bounds 'int': $_[1]->{ret}"
22041 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
22042             }
22043             # @_: ($class, $value, $index, $output) = @_;
22044             sub serialize_domain_snapshot_list_all_children_ret {
22045 0 0   0 0   croak "Missing required input 'struct' value"
22046             unless defined $_[1];
22047              
22048             # Serializing field: 'snapshots'
22049             croak "Missing required input value 'snapshots'"
22050 0 0         unless exists $_[1]->{snapshots};
22051             # my ($class, $value, $index, $output) = @_;
22052             croak "Missing required input 'array' value"
22053 0 0         unless defined $_[1]->{snapshots};
22054 0           do {
22055 0           my $len = scalar @{ $_[1]->{snapshots} };
  0            
22056 0 0         die "Array too long (max: 16384): $len"
22057             unless ($len <= 16384);
22058              
22059 0           substr( $_[3], $_[2] ) = pack("L>", $len);
22060 0           $_[2] += 4;
22061 0           for my $i1 ( 0 .. ($len - 1) ) {
22062             # my ($class, $value, $index, $output) = @_;
22063 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snapshots}->[$i1], $_[2], $_[3] );
22064             }
22065             };
22066              
22067             # Serializing field: 'ret'
22068             croak "Missing required input value 'ret'"
22069 0 0         unless exists $_[1]->{ret};
22070             # my ($class, $value, $index, $output) = @_;
22071             croak "Missing required input 'int' value"
22072 0 0         unless defined $_[1]->{ret};
22073             die "Out of bounds 'int': $_[1]->{ret}"
22074 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
22075             die "Non-integer 'int' value given: $_[1]->{ret}"
22076 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
22077 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
22078 0           $_[2] += 4;
22079             }
22080             # @_: ($class, $value, $index, $input) = @_;
22081             sub deserialize_domain_snapshot_lookup_by_name_args {
22082 0     0 0   my $input_length = length $_[3];
22083 0           $_[1] = {};
22084             # Deserializing field: 'dom'
22085             # my ($class, $value, $index, $input) = @_;
22086 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22087              
22088             # Deserializing field: 'name'
22089             # my ($class, $value, $index, $input) = @_;
22090 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
22091              
22092             # Deserializing field: 'flags'
22093             # my ($class, $value, $index, $input) = @_;
22094 0 0         die "Input buffer too short"
22095             if ($input_length - $_[2]) < 4;
22096 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22097 0           $_[2] += 4;
22098             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22099 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22100             }
22101             # @_: ($class, $value, $index, $output) = @_;
22102             sub serialize_domain_snapshot_lookup_by_name_args {
22103 0 0   0 0   croak "Missing required input 'struct' value"
22104             unless defined $_[1];
22105              
22106             # Serializing field: 'dom'
22107             croak "Missing required input value 'dom'"
22108 0 0         unless exists $_[1]->{dom};
22109             # my ($class, $value, $index, $output) = @_;
22110 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22111              
22112             # Serializing field: 'name'
22113             croak "Missing required input value 'name'"
22114 0 0         unless exists $_[1]->{name};
22115             # my ($class, $value, $index, $output) = @_;
22116 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
22117              
22118             # Serializing field: 'flags'
22119             croak "Missing required input value 'flags'"
22120 0 0         unless exists $_[1]->{flags};
22121             # my ($class, $value, $index, $output) = @_;
22122             croak "Missing required input 'unsigned int' value"
22123 0 0         unless defined $_[1]->{flags};
22124             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22125 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22126             die "Non-integer 'int' value given: $_[1]->{flags}"
22127 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22128 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22129 0           $_[2] += 4;
22130             }
22131             # @_: ($class, $value, $index, $input) = @_;
22132             sub deserialize_domain_snapshot_lookup_by_name_ret {
22133 0     0 0   my $input_length = length $_[3];
22134 0           $_[1] = {};
22135             # Deserializing field: 'snap'
22136             # my ($class, $value, $index, $input) = @_;
22137 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22138             }
22139             # @_: ($class, $value, $index, $output) = @_;
22140             sub serialize_domain_snapshot_lookup_by_name_ret {
22141 0 0   0 0   croak "Missing required input 'struct' value"
22142             unless defined $_[1];
22143              
22144             # Serializing field: 'snap'
22145             croak "Missing required input value 'snap'"
22146 0 0         unless exists $_[1]->{snap};
22147             # my ($class, $value, $index, $output) = @_;
22148 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22149             }
22150             # @_: ($class, $value, $index, $input) = @_;
22151             sub deserialize_domain_has_current_snapshot_args {
22152 0     0 0   my $input_length = length $_[3];
22153 0           $_[1] = {};
22154             # Deserializing field: 'dom'
22155             # my ($class, $value, $index, $input) = @_;
22156 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22157              
22158             # Deserializing field: 'flags'
22159             # my ($class, $value, $index, $input) = @_;
22160 0 0         die "Input buffer too short"
22161             if ($input_length - $_[2]) < 4;
22162 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22163 0           $_[2] += 4;
22164             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22165 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22166             }
22167             # @_: ($class, $value, $index, $output) = @_;
22168             sub serialize_domain_has_current_snapshot_args {
22169 0 0   0 0   croak "Missing required input 'struct' value"
22170             unless defined $_[1];
22171              
22172             # Serializing field: 'dom'
22173             croak "Missing required input value 'dom'"
22174 0 0         unless exists $_[1]->{dom};
22175             # my ($class, $value, $index, $output) = @_;
22176 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22177              
22178             # Serializing field: 'flags'
22179             croak "Missing required input value 'flags'"
22180 0 0         unless exists $_[1]->{flags};
22181             # my ($class, $value, $index, $output) = @_;
22182             croak "Missing required input 'unsigned int' value"
22183 0 0         unless defined $_[1]->{flags};
22184             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22185 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22186             die "Non-integer 'int' value given: $_[1]->{flags}"
22187 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22188 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22189 0           $_[2] += 4;
22190             }
22191             # @_: ($class, $value, $index, $input) = @_;
22192             sub deserialize_domain_has_current_snapshot_ret {
22193 0     0 0   my $input_length = length $_[3];
22194 0           $_[1] = {};
22195             # Deserializing field: 'result'
22196             # my ($class, $value, $index, $input) = @_;
22197 0 0         die "Input buffer too short"
22198             if ($input_length - $_[2]) < 4;
22199 0           $_[1]->{result} = unpack("l>", substr( $_[3], $_[2] ));
22200 0           $_[2] += 4;
22201             die "Out of bounds 'int': $_[1]->{result}"
22202 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
22203             }
22204             # @_: ($class, $value, $index, $output) = @_;
22205             sub serialize_domain_has_current_snapshot_ret {
22206 0 0   0 0   croak "Missing required input 'struct' value"
22207             unless defined $_[1];
22208              
22209             # Serializing field: 'result'
22210             croak "Missing required input value 'result'"
22211 0 0         unless exists $_[1]->{result};
22212             # my ($class, $value, $index, $output) = @_;
22213             croak "Missing required input 'int' value"
22214 0 0         unless defined $_[1]->{result};
22215             die "Out of bounds 'int': $_[1]->{result}"
22216 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
22217             die "Non-integer 'int' value given: $_[1]->{result}"
22218 0 0         unless int($_[1]->{result}) == $_[1]->{result};
22219 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{result});
22220 0           $_[2] += 4;
22221             }
22222             # @_: ($class, $value, $index, $input) = @_;
22223             sub deserialize_domain_snapshot_get_parent_args {
22224 0     0 0   my $input_length = length $_[3];
22225 0           $_[1] = {};
22226             # Deserializing field: 'snap'
22227             # my ($class, $value, $index, $input) = @_;
22228 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22229              
22230             # Deserializing field: 'flags'
22231             # my ($class, $value, $index, $input) = @_;
22232 0 0         die "Input buffer too short"
22233             if ($input_length - $_[2]) < 4;
22234 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22235 0           $_[2] += 4;
22236             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22237 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22238             }
22239             # @_: ($class, $value, $index, $output) = @_;
22240             sub serialize_domain_snapshot_get_parent_args {
22241 0 0   0 0   croak "Missing required input 'struct' value"
22242             unless defined $_[1];
22243              
22244             # Serializing field: 'snap'
22245             croak "Missing required input value 'snap'"
22246 0 0         unless exists $_[1]->{snap};
22247             # my ($class, $value, $index, $output) = @_;
22248 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22249              
22250             # Serializing field: 'flags'
22251             croak "Missing required input value 'flags'"
22252 0 0         unless exists $_[1]->{flags};
22253             # my ($class, $value, $index, $output) = @_;
22254             croak "Missing required input 'unsigned int' value"
22255 0 0         unless defined $_[1]->{flags};
22256             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22257 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22258             die "Non-integer 'int' value given: $_[1]->{flags}"
22259 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22260 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22261 0           $_[2] += 4;
22262             }
22263             # @_: ($class, $value, $index, $input) = @_;
22264             sub deserialize_domain_snapshot_get_parent_ret {
22265 0     0 0   my $input_length = length $_[3];
22266 0           $_[1] = {};
22267             # Deserializing field: 'snap'
22268             # my ($class, $value, $index, $input) = @_;
22269 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22270             }
22271             # @_: ($class, $value, $index, $output) = @_;
22272             sub serialize_domain_snapshot_get_parent_ret {
22273 0 0   0 0   croak "Missing required input 'struct' value"
22274             unless defined $_[1];
22275              
22276             # Serializing field: 'snap'
22277             croak "Missing required input value 'snap'"
22278 0 0         unless exists $_[1]->{snap};
22279             # my ($class, $value, $index, $output) = @_;
22280 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22281             }
22282             # @_: ($class, $value, $index, $input) = @_;
22283             sub deserialize_domain_snapshot_current_args {
22284 0     0 0   my $input_length = length $_[3];
22285 0           $_[1] = {};
22286             # Deserializing field: 'dom'
22287             # my ($class, $value, $index, $input) = @_;
22288 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22289              
22290             # Deserializing field: 'flags'
22291             # my ($class, $value, $index, $input) = @_;
22292 0 0         die "Input buffer too short"
22293             if ($input_length - $_[2]) < 4;
22294 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22295 0           $_[2] += 4;
22296             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22297 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22298             }
22299             # @_: ($class, $value, $index, $output) = @_;
22300             sub serialize_domain_snapshot_current_args {
22301 0 0   0 0   croak "Missing required input 'struct' value"
22302             unless defined $_[1];
22303              
22304             # Serializing field: 'dom'
22305             croak "Missing required input value 'dom'"
22306 0 0         unless exists $_[1]->{dom};
22307             # my ($class, $value, $index, $output) = @_;
22308 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22309              
22310             # Serializing field: 'flags'
22311             croak "Missing required input value 'flags'"
22312 0 0         unless exists $_[1]->{flags};
22313             # my ($class, $value, $index, $output) = @_;
22314             croak "Missing required input 'unsigned int' value"
22315 0 0         unless defined $_[1]->{flags};
22316             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22317 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22318             die "Non-integer 'int' value given: $_[1]->{flags}"
22319 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22320 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22321 0           $_[2] += 4;
22322             }
22323             # @_: ($class, $value, $index, $input) = @_;
22324             sub deserialize_domain_snapshot_current_ret {
22325 0     0 0   my $input_length = length $_[3];
22326 0           $_[1] = {};
22327             # Deserializing field: 'snap'
22328             # my ($class, $value, $index, $input) = @_;
22329 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22330             }
22331             # @_: ($class, $value, $index, $output) = @_;
22332             sub serialize_domain_snapshot_current_ret {
22333 0 0   0 0   croak "Missing required input 'struct' value"
22334             unless defined $_[1];
22335              
22336             # Serializing field: 'snap'
22337             croak "Missing required input value 'snap'"
22338 0 0         unless exists $_[1]->{snap};
22339             # my ($class, $value, $index, $output) = @_;
22340 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22341             }
22342             # @_: ($class, $value, $index, $input) = @_;
22343             sub deserialize_domain_snapshot_is_current_args {
22344 0     0 0   my $input_length = length $_[3];
22345 0           $_[1] = {};
22346             # Deserializing field: 'snap'
22347             # my ($class, $value, $index, $input) = @_;
22348 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22349              
22350             # Deserializing field: 'flags'
22351             # my ($class, $value, $index, $input) = @_;
22352 0 0         die "Input buffer too short"
22353             if ($input_length - $_[2]) < 4;
22354 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22355 0           $_[2] += 4;
22356             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22357 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22358             }
22359             # @_: ($class, $value, $index, $output) = @_;
22360             sub serialize_domain_snapshot_is_current_args {
22361 0 0   0 0   croak "Missing required input 'struct' value"
22362             unless defined $_[1];
22363              
22364             # Serializing field: 'snap'
22365             croak "Missing required input value 'snap'"
22366 0 0         unless exists $_[1]->{snap};
22367             # my ($class, $value, $index, $output) = @_;
22368 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22369              
22370             # Serializing field: 'flags'
22371             croak "Missing required input value 'flags'"
22372 0 0         unless exists $_[1]->{flags};
22373             # my ($class, $value, $index, $output) = @_;
22374             croak "Missing required input 'unsigned int' value"
22375 0 0         unless defined $_[1]->{flags};
22376             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22377 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22378             die "Non-integer 'int' value given: $_[1]->{flags}"
22379 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22380 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22381 0           $_[2] += 4;
22382             }
22383             # @_: ($class, $value, $index, $input) = @_;
22384             sub deserialize_domain_snapshot_is_current_ret {
22385 0     0 0   my $input_length = length $_[3];
22386 0           $_[1] = {};
22387             # Deserializing field: 'current'
22388             # my ($class, $value, $index, $input) = @_;
22389 0 0         die "Input buffer too short"
22390             if ($input_length - $_[2]) < 4;
22391 0           $_[1]->{current} = unpack("l>", substr( $_[3], $_[2] ));
22392 0           $_[2] += 4;
22393             die "Out of bounds 'int': $_[1]->{current}"
22394 0 0 0       unless (-2147483648 <= $_[1]->{current} and $_[1]->{current} < 2147483648);
22395             }
22396             # @_: ($class, $value, $index, $output) = @_;
22397             sub serialize_domain_snapshot_is_current_ret {
22398 0 0   0 0   croak "Missing required input 'struct' value"
22399             unless defined $_[1];
22400              
22401             # Serializing field: 'current'
22402             croak "Missing required input value 'current'"
22403 0 0         unless exists $_[1]->{current};
22404             # my ($class, $value, $index, $output) = @_;
22405             croak "Missing required input 'int' value"
22406 0 0         unless defined $_[1]->{current};
22407             die "Out of bounds 'int': $_[1]->{current}"
22408 0 0 0       unless (-2147483648 <= $_[1]->{current} and $_[1]->{current} < 2147483648);
22409             die "Non-integer 'int' value given: $_[1]->{current}"
22410 0 0         unless int($_[1]->{current}) == $_[1]->{current};
22411 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{current});
22412 0           $_[2] += 4;
22413             }
22414             # @_: ($class, $value, $index, $input) = @_;
22415             sub deserialize_domain_snapshot_has_metadata_args {
22416 0     0 0   my $input_length = length $_[3];
22417 0           $_[1] = {};
22418             # Deserializing field: 'snap'
22419             # my ($class, $value, $index, $input) = @_;
22420 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22421              
22422             # Deserializing field: 'flags'
22423             # my ($class, $value, $index, $input) = @_;
22424 0 0         die "Input buffer too short"
22425             if ($input_length - $_[2]) < 4;
22426 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22427 0           $_[2] += 4;
22428             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22429 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22430             }
22431             # @_: ($class, $value, $index, $output) = @_;
22432             sub serialize_domain_snapshot_has_metadata_args {
22433 0 0   0 0   croak "Missing required input 'struct' value"
22434             unless defined $_[1];
22435              
22436             # Serializing field: 'snap'
22437             croak "Missing required input value 'snap'"
22438 0 0         unless exists $_[1]->{snap};
22439             # my ($class, $value, $index, $output) = @_;
22440 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22441              
22442             # Serializing field: 'flags'
22443             croak "Missing required input value 'flags'"
22444 0 0         unless exists $_[1]->{flags};
22445             # my ($class, $value, $index, $output) = @_;
22446             croak "Missing required input 'unsigned int' value"
22447 0 0         unless defined $_[1]->{flags};
22448             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22449 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22450             die "Non-integer 'int' value given: $_[1]->{flags}"
22451 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22452 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22453 0           $_[2] += 4;
22454             }
22455             # @_: ($class, $value, $index, $input) = @_;
22456             sub deserialize_domain_snapshot_has_metadata_ret {
22457 0     0 0   my $input_length = length $_[3];
22458 0           $_[1] = {};
22459             # Deserializing field: 'metadata'
22460             # my ($class, $value, $index, $input) = @_;
22461 0 0         die "Input buffer too short"
22462             if ($input_length - $_[2]) < 4;
22463 0           $_[1]->{metadata} = unpack("l>", substr( $_[3], $_[2] ));
22464 0           $_[2] += 4;
22465             die "Out of bounds 'int': $_[1]->{metadata}"
22466 0 0 0       unless (-2147483648 <= $_[1]->{metadata} and $_[1]->{metadata} < 2147483648);
22467             }
22468             # @_: ($class, $value, $index, $output) = @_;
22469             sub serialize_domain_snapshot_has_metadata_ret {
22470 0 0   0 0   croak "Missing required input 'struct' value"
22471             unless defined $_[1];
22472              
22473             # Serializing field: 'metadata'
22474             croak "Missing required input value 'metadata'"
22475 0 0         unless exists $_[1]->{metadata};
22476             # my ($class, $value, $index, $output) = @_;
22477             croak "Missing required input 'int' value"
22478 0 0         unless defined $_[1]->{metadata};
22479             die "Out of bounds 'int': $_[1]->{metadata}"
22480 0 0 0       unless (-2147483648 <= $_[1]->{metadata} and $_[1]->{metadata} < 2147483648);
22481             die "Non-integer 'int' value given: $_[1]->{metadata}"
22482 0 0         unless int($_[1]->{metadata}) == $_[1]->{metadata};
22483 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{metadata});
22484 0           $_[2] += 4;
22485             }
22486             # @_: ($class, $value, $index, $input) = @_;
22487             sub deserialize_domain_revert_to_snapshot_args {
22488 0     0 0   my $input_length = length $_[3];
22489 0           $_[1] = {};
22490             # Deserializing field: 'snap'
22491             # my ($class, $value, $index, $input) = @_;
22492 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22493              
22494             # Deserializing field: 'flags'
22495             # my ($class, $value, $index, $input) = @_;
22496 0 0         die "Input buffer too short"
22497             if ($input_length - $_[2]) < 4;
22498 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22499 0           $_[2] += 4;
22500             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22501 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22502             }
22503             # @_: ($class, $value, $index, $output) = @_;
22504             sub serialize_domain_revert_to_snapshot_args {
22505 0 0   0 0   croak "Missing required input 'struct' value"
22506             unless defined $_[1];
22507              
22508             # Serializing field: 'snap'
22509             croak "Missing required input value 'snap'"
22510 0 0         unless exists $_[1]->{snap};
22511             # my ($class, $value, $index, $output) = @_;
22512 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22513              
22514             # Serializing field: 'flags'
22515             croak "Missing required input value 'flags'"
22516 0 0         unless exists $_[1]->{flags};
22517             # my ($class, $value, $index, $output) = @_;
22518             croak "Missing required input 'unsigned int' value"
22519 0 0         unless defined $_[1]->{flags};
22520             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22521 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22522             die "Non-integer 'int' value given: $_[1]->{flags}"
22523 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22524 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22525 0           $_[2] += 4;
22526             }
22527             # @_: ($class, $value, $index, $input) = @_;
22528             sub deserialize_domain_snapshot_delete_args {
22529 0     0 0   my $input_length = length $_[3];
22530 0           $_[1] = {};
22531             # Deserializing field: 'snap'
22532             # my ($class, $value, $index, $input) = @_;
22533 0           $_[0]->deserialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22534              
22535             # Deserializing field: 'flags'
22536             # my ($class, $value, $index, $input) = @_;
22537 0 0         die "Input buffer too short"
22538             if ($input_length - $_[2]) < 4;
22539 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22540 0           $_[2] += 4;
22541             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22542 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22543             }
22544             # @_: ($class, $value, $index, $output) = @_;
22545             sub serialize_domain_snapshot_delete_args {
22546 0 0   0 0   croak "Missing required input 'struct' value"
22547             unless defined $_[1];
22548              
22549             # Serializing field: 'snap'
22550             croak "Missing required input value 'snap'"
22551 0 0         unless exists $_[1]->{snap};
22552             # my ($class, $value, $index, $output) = @_;
22553 0           $_[0]->serialize_nonnull_domain_snapshot( $_[1]->{snap}, $_[2], $_[3] );
22554              
22555             # Serializing field: 'flags'
22556             croak "Missing required input value 'flags'"
22557 0 0         unless exists $_[1]->{flags};
22558             # my ($class, $value, $index, $output) = @_;
22559             croak "Missing required input 'unsigned int' value"
22560 0 0         unless defined $_[1]->{flags};
22561             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22562 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22563             die "Non-integer 'int' value given: $_[1]->{flags}"
22564 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22565 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22566 0           $_[2] += 4;
22567             }
22568             # @_: ($class, $value, $index, $input) = @_;
22569             sub deserialize_domain_open_console_args {
22570 0     0 0   my $input_length = length $_[3];
22571 0           $_[1] = {};
22572             # Deserializing field: 'dom'
22573             # my ($class, $value, $index, $input) = @_;
22574 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22575              
22576             # Deserializing field: 'dev_name'
22577             # my ($class, $value, $index, $input) = @_;
22578 0           $_[0]->deserialize_string( $_[1]->{dev_name}, $_[2], $_[3] );
22579              
22580             # Deserializing field: 'flags'
22581             # my ($class, $value, $index, $input) = @_;
22582 0 0         die "Input buffer too short"
22583             if ($input_length - $_[2]) < 4;
22584 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22585 0           $_[2] += 4;
22586             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22587 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22588             }
22589             # @_: ($class, $value, $index, $output) = @_;
22590             sub serialize_domain_open_console_args {
22591 0 0   0 0   croak "Missing required input 'struct' value"
22592             unless defined $_[1];
22593              
22594             # Serializing field: 'dom'
22595             croak "Missing required input value 'dom'"
22596 0 0         unless exists $_[1]->{dom};
22597             # my ($class, $value, $index, $output) = @_;
22598 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22599              
22600             # Serializing field: 'dev_name'
22601             croak "Missing required input value 'dev_name'"
22602 0 0         unless exists $_[1]->{dev_name};
22603             # my ($class, $value, $index, $output) = @_;
22604 0           $_[0]->serialize_string( $_[1]->{dev_name}, $_[2], $_[3] );
22605              
22606             # Serializing field: 'flags'
22607             croak "Missing required input value 'flags'"
22608 0 0         unless exists $_[1]->{flags};
22609             # my ($class, $value, $index, $output) = @_;
22610             croak "Missing required input 'unsigned int' value"
22611 0 0         unless defined $_[1]->{flags};
22612             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22613 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22614             die "Non-integer 'int' value given: $_[1]->{flags}"
22615 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22616 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22617 0           $_[2] += 4;
22618             }
22619             # @_: ($class, $value, $index, $input) = @_;
22620             sub deserialize_domain_open_channel_args {
22621 0     0 0   my $input_length = length $_[3];
22622 0           $_[1] = {};
22623             # Deserializing field: 'dom'
22624             # my ($class, $value, $index, $input) = @_;
22625 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22626              
22627             # Deserializing field: 'name'
22628             # my ($class, $value, $index, $input) = @_;
22629 0           $_[0]->deserialize_string( $_[1]->{name}, $_[2], $_[3] );
22630              
22631             # Deserializing field: 'flags'
22632             # my ($class, $value, $index, $input) = @_;
22633 0 0         die "Input buffer too short"
22634             if ($input_length - $_[2]) < 4;
22635 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22636 0           $_[2] += 4;
22637             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22638 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22639             }
22640             # @_: ($class, $value, $index, $output) = @_;
22641             sub serialize_domain_open_channel_args {
22642 0 0   0 0   croak "Missing required input 'struct' value"
22643             unless defined $_[1];
22644              
22645             # Serializing field: 'dom'
22646             croak "Missing required input value 'dom'"
22647 0 0         unless exists $_[1]->{dom};
22648             # my ($class, $value, $index, $output) = @_;
22649 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22650              
22651             # Serializing field: 'name'
22652             croak "Missing required input value 'name'"
22653 0 0         unless exists $_[1]->{name};
22654             # my ($class, $value, $index, $output) = @_;
22655 0           $_[0]->serialize_string( $_[1]->{name}, $_[2], $_[3] );
22656              
22657             # Serializing field: 'flags'
22658             croak "Missing required input value 'flags'"
22659 0 0         unless exists $_[1]->{flags};
22660             # my ($class, $value, $index, $output) = @_;
22661             croak "Missing required input 'unsigned int' value"
22662 0 0         unless defined $_[1]->{flags};
22663             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22664 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22665             die "Non-integer 'int' value given: $_[1]->{flags}"
22666 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22667 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22668 0           $_[2] += 4;
22669             }
22670             # @_: ($class, $value, $index, $input) = @_;
22671             sub deserialize_storage_vol_upload_args {
22672 0     0 0   my $input_length = length $_[3];
22673 0           $_[1] = {};
22674             # Deserializing field: 'vol'
22675             # my ($class, $value, $index, $input) = @_;
22676 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
22677              
22678             # Deserializing field: 'offset'
22679             # my ($class, $value, $index, $input) = @_;
22680 0 0         die "Input buffer too short"
22681             if ($input_length - $_[2]) < 8;
22682 0           $_[1]->{offset} = unpack("Q>", substr( $_[3], $_[2] ));
22683 0           $_[2] += 8;
22684             die "Out of bounds 'unsigned hyper': $_[1]->{offset}"
22685             unless (0 <= $_[1]->{offset}
22686 0 0 0       and $_[1]->{offset} <= 18446744073709551615);
22687              
22688             # Deserializing field: 'length'
22689             # my ($class, $value, $index, $input) = @_;
22690 0 0         die "Input buffer too short"
22691             if ($input_length - $_[2]) < 8;
22692 0           $_[1]->{length} = unpack("Q>", substr( $_[3], $_[2] ));
22693 0           $_[2] += 8;
22694             die "Out of bounds 'unsigned hyper': $_[1]->{length}"
22695             unless (0 <= $_[1]->{length}
22696 0 0 0       and $_[1]->{length} <= 18446744073709551615);
22697              
22698             # Deserializing field: 'flags'
22699             # my ($class, $value, $index, $input) = @_;
22700 0 0         die "Input buffer too short"
22701             if ($input_length - $_[2]) < 4;
22702 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22703 0           $_[2] += 4;
22704             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22705 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22706             }
22707             # @_: ($class, $value, $index, $output) = @_;
22708             sub serialize_storage_vol_upload_args {
22709 0 0   0 0   croak "Missing required input 'struct' value"
22710             unless defined $_[1];
22711              
22712             # Serializing field: 'vol'
22713             croak "Missing required input value 'vol'"
22714 0 0         unless exists $_[1]->{vol};
22715             # my ($class, $value, $index, $output) = @_;
22716 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
22717              
22718             # Serializing field: 'offset'
22719             croak "Missing required input value 'offset'"
22720 0 0         unless exists $_[1]->{offset};
22721             # my ($class, $value, $index, $output) = @_;
22722             croak "Missing required input 'unsigned long' value"
22723 0 0         unless defined $_[1]->{offset};
22724             die "Out of bounds 'unsigned hyper': $_[1]->{offset}"
22725             unless (0 <= $_[1]->{offset}
22726 0 0 0       and $_[1]->{offset} <= 18446744073709551615);
22727             die "Non-integer 'long' value given: $_[1]->{offset}"
22728 0 0         unless int($_[1]->{offset}) == $_[1]->{offset};
22729 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{offset});
22730 0           $_[2] += 8;
22731              
22732             # Serializing field: 'length'
22733             croak "Missing required input value 'length'"
22734 0 0         unless exists $_[1]->{length};
22735             # my ($class, $value, $index, $output) = @_;
22736             croak "Missing required input 'unsigned long' value"
22737 0 0         unless defined $_[1]->{length};
22738             die "Out of bounds 'unsigned hyper': $_[1]->{length}"
22739             unless (0 <= $_[1]->{length}
22740 0 0 0       and $_[1]->{length} <= 18446744073709551615);
22741             die "Non-integer 'long' value given: $_[1]->{length}"
22742 0 0         unless int($_[1]->{length}) == $_[1]->{length};
22743 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{length});
22744 0           $_[2] += 8;
22745              
22746             # Serializing field: 'flags'
22747             croak "Missing required input value 'flags'"
22748 0 0         unless exists $_[1]->{flags};
22749             # my ($class, $value, $index, $output) = @_;
22750             croak "Missing required input 'unsigned int' value"
22751 0 0         unless defined $_[1]->{flags};
22752             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22753 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22754             die "Non-integer 'int' value given: $_[1]->{flags}"
22755 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22756 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22757 0           $_[2] += 4;
22758             }
22759             # @_: ($class, $value, $index, $input) = @_;
22760             sub deserialize_storage_vol_download_args {
22761 0     0 0   my $input_length = length $_[3];
22762 0           $_[1] = {};
22763             # Deserializing field: 'vol'
22764             # my ($class, $value, $index, $input) = @_;
22765 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
22766              
22767             # Deserializing field: 'offset'
22768             # my ($class, $value, $index, $input) = @_;
22769 0 0         die "Input buffer too short"
22770             if ($input_length - $_[2]) < 8;
22771 0           $_[1]->{offset} = unpack("Q>", substr( $_[3], $_[2] ));
22772 0           $_[2] += 8;
22773             die "Out of bounds 'unsigned hyper': $_[1]->{offset}"
22774             unless (0 <= $_[1]->{offset}
22775 0 0 0       and $_[1]->{offset} <= 18446744073709551615);
22776              
22777             # Deserializing field: 'length'
22778             # my ($class, $value, $index, $input) = @_;
22779 0 0         die "Input buffer too short"
22780             if ($input_length - $_[2]) < 8;
22781 0           $_[1]->{length} = unpack("Q>", substr( $_[3], $_[2] ));
22782 0           $_[2] += 8;
22783             die "Out of bounds 'unsigned hyper': $_[1]->{length}"
22784             unless (0 <= $_[1]->{length}
22785 0 0 0       and $_[1]->{length} <= 18446744073709551615);
22786              
22787             # Deserializing field: 'flags'
22788             # my ($class, $value, $index, $input) = @_;
22789 0 0         die "Input buffer too short"
22790             if ($input_length - $_[2]) < 4;
22791 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22792 0           $_[2] += 4;
22793             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22794 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22795             }
22796             # @_: ($class, $value, $index, $output) = @_;
22797             sub serialize_storage_vol_download_args {
22798 0 0   0 0   croak "Missing required input 'struct' value"
22799             unless defined $_[1];
22800              
22801             # Serializing field: 'vol'
22802             croak "Missing required input value 'vol'"
22803 0 0         unless exists $_[1]->{vol};
22804             # my ($class, $value, $index, $output) = @_;
22805 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vol}, $_[2], $_[3] );
22806              
22807             # Serializing field: 'offset'
22808             croak "Missing required input value 'offset'"
22809 0 0         unless exists $_[1]->{offset};
22810             # my ($class, $value, $index, $output) = @_;
22811             croak "Missing required input 'unsigned long' value"
22812 0 0         unless defined $_[1]->{offset};
22813             die "Out of bounds 'unsigned hyper': $_[1]->{offset}"
22814             unless (0 <= $_[1]->{offset}
22815 0 0 0       and $_[1]->{offset} <= 18446744073709551615);
22816             die "Non-integer 'long' value given: $_[1]->{offset}"
22817 0 0         unless int($_[1]->{offset}) == $_[1]->{offset};
22818 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{offset});
22819 0           $_[2] += 8;
22820              
22821             # Serializing field: 'length'
22822             croak "Missing required input value 'length'"
22823 0 0         unless exists $_[1]->{length};
22824             # my ($class, $value, $index, $output) = @_;
22825             croak "Missing required input 'unsigned long' value"
22826 0 0         unless defined $_[1]->{length};
22827             die "Out of bounds 'unsigned hyper': $_[1]->{length}"
22828             unless (0 <= $_[1]->{length}
22829 0 0 0       and $_[1]->{length} <= 18446744073709551615);
22830             die "Non-integer 'long' value given: $_[1]->{length}"
22831 0 0         unless int($_[1]->{length}) == $_[1]->{length};
22832 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{length});
22833 0           $_[2] += 8;
22834              
22835             # Serializing field: 'flags'
22836             croak "Missing required input value 'flags'"
22837 0 0         unless exists $_[1]->{flags};
22838             # my ($class, $value, $index, $output) = @_;
22839             croak "Missing required input 'unsigned int' value"
22840 0 0         unless defined $_[1]->{flags};
22841             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22842 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22843             die "Non-integer 'int' value given: $_[1]->{flags}"
22844 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22845 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22846 0           $_[2] += 4;
22847             }
22848             # @_: ($class, $value, $index, $input) = @_;
22849             sub deserialize_domain_get_state_args {
22850 0     0 0   my $input_length = length $_[3];
22851 0           $_[1] = {};
22852             # Deserializing field: 'dom'
22853             # my ($class, $value, $index, $input) = @_;
22854 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22855              
22856             # Deserializing field: 'flags'
22857             # my ($class, $value, $index, $input) = @_;
22858 0 0         die "Input buffer too short"
22859             if ($input_length - $_[2]) < 4;
22860 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
22861 0           $_[2] += 4;
22862             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22863 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22864             }
22865             # @_: ($class, $value, $index, $output) = @_;
22866             sub serialize_domain_get_state_args {
22867 0 0   0 0   croak "Missing required input 'struct' value"
22868             unless defined $_[1];
22869              
22870             # Serializing field: 'dom'
22871             croak "Missing required input value 'dom'"
22872 0 0         unless exists $_[1]->{dom};
22873             # my ($class, $value, $index, $output) = @_;
22874 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22875              
22876             # Serializing field: 'flags'
22877             croak "Missing required input value 'flags'"
22878 0 0         unless exists $_[1]->{flags};
22879             # my ($class, $value, $index, $output) = @_;
22880             croak "Missing required input 'unsigned int' value"
22881 0 0         unless defined $_[1]->{flags};
22882             die "Out of bounds 'unsigned int': $_[1]->{flags}"
22883 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
22884             die "Non-integer 'int' value given: $_[1]->{flags}"
22885 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
22886 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
22887 0           $_[2] += 4;
22888             }
22889             # @_: ($class, $value, $index, $input) = @_;
22890             sub deserialize_domain_get_state_ret {
22891 0     0 0   my $input_length = length $_[3];
22892 0           $_[1] = {};
22893             # Deserializing field: 'state'
22894             # my ($class, $value, $index, $input) = @_;
22895 0 0         die "Input buffer too short"
22896             if ($input_length - $_[2]) < 4;
22897 0           $_[1]->{state} = unpack("l>", substr( $_[3], $_[2] ));
22898 0           $_[2] += 4;
22899             die "Out of bounds 'int': $_[1]->{state}"
22900 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
22901              
22902             # Deserializing field: 'reason'
22903             # my ($class, $value, $index, $input) = @_;
22904 0 0         die "Input buffer too short"
22905             if ($input_length - $_[2]) < 4;
22906 0           $_[1]->{reason} = unpack("l>", substr( $_[3], $_[2] ));
22907 0           $_[2] += 4;
22908             die "Out of bounds 'int': $_[1]->{reason}"
22909 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
22910             }
22911             # @_: ($class, $value, $index, $output) = @_;
22912             sub serialize_domain_get_state_ret {
22913 0 0   0 0   croak "Missing required input 'struct' value"
22914             unless defined $_[1];
22915              
22916             # Serializing field: 'state'
22917             croak "Missing required input value 'state'"
22918 0 0         unless exists $_[1]->{state};
22919             # my ($class, $value, $index, $output) = @_;
22920             croak "Missing required input 'int' value"
22921 0 0         unless defined $_[1]->{state};
22922             die "Out of bounds 'int': $_[1]->{state}"
22923 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
22924             die "Non-integer 'int' value given: $_[1]->{state}"
22925 0 0         unless int($_[1]->{state}) == $_[1]->{state};
22926 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{state});
22927 0           $_[2] += 4;
22928              
22929             # Serializing field: 'reason'
22930             croak "Missing required input value 'reason'"
22931 0 0         unless exists $_[1]->{reason};
22932             # my ($class, $value, $index, $output) = @_;
22933             croak "Missing required input 'int' value"
22934 0 0         unless defined $_[1]->{reason};
22935             die "Out of bounds 'int': $_[1]->{reason}"
22936 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
22937             die "Non-integer 'int' value given: $_[1]->{reason}"
22938 0 0         unless int($_[1]->{reason}) == $_[1]->{reason};
22939 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{reason});
22940 0           $_[2] += 4;
22941             }
22942             # @_: ($class, $value, $index, $input) = @_;
22943             sub deserialize_domain_migrate_begin3_args {
22944 0     0 0   my $input_length = length $_[3];
22945 0           $_[1] = {};
22946             # Deserializing field: 'dom'
22947             # my ($class, $value, $index, $input) = @_;
22948 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22949              
22950             # Deserializing field: 'xmlin'
22951             # my ($class, $value, $index, $input) = @_;
22952 0           $_[0]->deserialize_string( $_[1]->{xmlin}, $_[2], $_[3] );
22953              
22954             # Deserializing field: 'flags'
22955             # my ($class, $value, $index, $input) = @_;
22956 0 0         die "Input buffer too short"
22957             if ($input_length - $_[2]) < 8;
22958 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
22959 0           $_[2] += 8;
22960             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
22961             unless (0 <= $_[1]->{flags}
22962 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
22963              
22964             # Deserializing field: 'dname'
22965             # my ($class, $value, $index, $input) = @_;
22966 0           $_[0]->deserialize_string( $_[1]->{dname}, $_[2], $_[3] );
22967              
22968             # Deserializing field: 'bandwidth'
22969             # my ($class, $value, $index, $input) = @_;
22970 0 0         die "Input buffer too short"
22971             if ($input_length - $_[2]) < 8;
22972 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
22973 0           $_[2] += 8;
22974             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
22975             unless (0 <= $_[1]->{bandwidth}
22976 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
22977             }
22978             # @_: ($class, $value, $index, $output) = @_;
22979             sub serialize_domain_migrate_begin3_args {
22980 0 0   0 0   croak "Missing required input 'struct' value"
22981             unless defined $_[1];
22982              
22983             # Serializing field: 'dom'
22984             croak "Missing required input value 'dom'"
22985 0 0         unless exists $_[1]->{dom};
22986             # my ($class, $value, $index, $output) = @_;
22987 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
22988              
22989             # Serializing field: 'xmlin'
22990             croak "Missing required input value 'xmlin'"
22991 0 0         unless exists $_[1]->{xmlin};
22992             # my ($class, $value, $index, $output) = @_;
22993 0           $_[0]->serialize_string( $_[1]->{xmlin}, $_[2], $_[3] );
22994              
22995             # Serializing field: 'flags'
22996             croak "Missing required input value 'flags'"
22997 0 0         unless exists $_[1]->{flags};
22998             # my ($class, $value, $index, $output) = @_;
22999             croak "Missing required input 'unsigned long' value"
23000 0 0         unless defined $_[1]->{flags};
23001             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23002             unless (0 <= $_[1]->{flags}
23003 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23004             die "Non-integer 'long' value given: $_[1]->{flags}"
23005 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
23006 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
23007 0           $_[2] += 8;
23008              
23009             # Serializing field: 'dname'
23010             croak "Missing required input value 'dname'"
23011 0 0         unless exists $_[1]->{dname};
23012             # my ($class, $value, $index, $output) = @_;
23013 0           $_[0]->serialize_string( $_[1]->{dname}, $_[2], $_[3] );
23014              
23015             # Serializing field: 'bandwidth'
23016             croak "Missing required input value 'bandwidth'"
23017 0 0         unless exists $_[1]->{bandwidth};
23018             # my ($class, $value, $index, $output) = @_;
23019             croak "Missing required input 'unsigned long' value"
23020 0 0         unless defined $_[1]->{bandwidth};
23021             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
23022             unless (0 <= $_[1]->{bandwidth}
23023 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
23024             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
23025 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
23026 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
23027 0           $_[2] += 8;
23028             }
23029             # @_: ($class, $value, $index, $input) = @_;
23030             sub deserialize_domain_migrate_begin3_ret {
23031 0     0 0   my $input_length = length $_[3];
23032 0           $_[1] = {};
23033             # Deserializing field: 'cookie_out'
23034             # my ($class, $value, $index, $input) = @_;
23035 0           do {
23036 0 0         die "Input buffer too short"
23037             if ($input_length - $_[2]) < 4;
23038 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23039 0           $_[2] += 4;
23040 0 0         die "Opaque data too long (max: 4194304): $len"
23041             unless ($len <= 4194304);
23042 0 0         die "Input buffer too short"
23043             if ($input_length - $_[2]) < $len;
23044 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
23045 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23046             };
23047              
23048             # Deserializing field: 'xml'
23049             # my ($class, $value, $index, $input) = @_;
23050 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
23051             }
23052             # @_: ($class, $value, $index, $output) = @_;
23053             sub serialize_domain_migrate_begin3_ret {
23054 0 0   0 0   croak "Missing required input 'struct' value"
23055             unless defined $_[1];
23056              
23057             # Serializing field: 'cookie_out'
23058             croak "Missing required input value 'cookie_out'"
23059 0 0         unless exists $_[1]->{cookie_out};
23060             # my ($class, $value, $index, $output) = @_;
23061             croak "Missing required input 'opaque data' value"
23062 0 0         unless defined $_[1]->{cookie_out};
23063 0           do {
23064 0           my $len = length $_[1]->{cookie_out};
23065 0 0         die "Opaque data too long (max: 4194304): $len"
23066             unless ($len <= 4194304);
23067              
23068 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23069 0           $_[2] += 4;
23070 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
23071 0           $_[2] += $len;
23072 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23073 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23074 0           $_[2] += $pad;
23075             }
23076             };
23077              
23078             # Serializing field: 'xml'
23079             croak "Missing required input value 'xml'"
23080 0 0         unless exists $_[1]->{xml};
23081             # my ($class, $value, $index, $output) = @_;
23082 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
23083             }
23084             # @_: ($class, $value, $index, $input) = @_;
23085             sub deserialize_domain_migrate_prepare3_args {
23086 0     0 0   my $input_length = length $_[3];
23087 0           $_[1] = {};
23088             # Deserializing field: 'cookie_in'
23089             # my ($class, $value, $index, $input) = @_;
23090 0           do {
23091 0 0         die "Input buffer too short"
23092             if ($input_length - $_[2]) < 4;
23093 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23094 0           $_[2] += 4;
23095 0 0         die "Opaque data too long (max: 4194304): $len"
23096             unless ($len <= 4194304);
23097 0 0         die "Input buffer too short"
23098             if ($input_length - $_[2]) < $len;
23099 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
23100 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23101             };
23102              
23103             # Deserializing field: 'uri_in'
23104             # my ($class, $value, $index, $input) = @_;
23105 0           $_[0]->deserialize_string( $_[1]->{uri_in}, $_[2], $_[3] );
23106              
23107             # Deserializing field: 'flags'
23108             # my ($class, $value, $index, $input) = @_;
23109 0 0         die "Input buffer too short"
23110             if ($input_length - $_[2]) < 8;
23111 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
23112 0           $_[2] += 8;
23113             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23114             unless (0 <= $_[1]->{flags}
23115 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23116              
23117             # Deserializing field: 'dname'
23118             # my ($class, $value, $index, $input) = @_;
23119 0           $_[0]->deserialize_string( $_[1]->{dname}, $_[2], $_[3] );
23120              
23121             # Deserializing field: 'bandwidth'
23122             # my ($class, $value, $index, $input) = @_;
23123 0 0         die "Input buffer too short"
23124             if ($input_length - $_[2]) < 8;
23125 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
23126 0           $_[2] += 8;
23127             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
23128             unless (0 <= $_[1]->{bandwidth}
23129 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
23130              
23131             # Deserializing field: 'dom_xml'
23132             # my ($class, $value, $index, $input) = @_;
23133 0           $_[0]->deserialize_nonnull_string( $_[1]->{dom_xml}, $_[2], $_[3] );
23134             }
23135             # @_: ($class, $value, $index, $output) = @_;
23136             sub serialize_domain_migrate_prepare3_args {
23137 0 0   0 0   croak "Missing required input 'struct' value"
23138             unless defined $_[1];
23139              
23140             # Serializing field: 'cookie_in'
23141             croak "Missing required input value 'cookie_in'"
23142 0 0         unless exists $_[1]->{cookie_in};
23143             # my ($class, $value, $index, $output) = @_;
23144             croak "Missing required input 'opaque data' value"
23145 0 0         unless defined $_[1]->{cookie_in};
23146 0           do {
23147 0           my $len = length $_[1]->{cookie_in};
23148 0 0         die "Opaque data too long (max: 4194304): $len"
23149             unless ($len <= 4194304);
23150              
23151 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23152 0           $_[2] += 4;
23153 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
23154 0           $_[2] += $len;
23155 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23156 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23157 0           $_[2] += $pad;
23158             }
23159             };
23160              
23161             # Serializing field: 'uri_in'
23162             croak "Missing required input value 'uri_in'"
23163 0 0         unless exists $_[1]->{uri_in};
23164             # my ($class, $value, $index, $output) = @_;
23165 0           $_[0]->serialize_string( $_[1]->{uri_in}, $_[2], $_[3] );
23166              
23167             # Serializing field: 'flags'
23168             croak "Missing required input value 'flags'"
23169 0 0         unless exists $_[1]->{flags};
23170             # my ($class, $value, $index, $output) = @_;
23171             croak "Missing required input 'unsigned long' value"
23172 0 0         unless defined $_[1]->{flags};
23173             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23174             unless (0 <= $_[1]->{flags}
23175 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23176             die "Non-integer 'long' value given: $_[1]->{flags}"
23177 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
23178 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
23179 0           $_[2] += 8;
23180              
23181             # Serializing field: 'dname'
23182             croak "Missing required input value 'dname'"
23183 0 0         unless exists $_[1]->{dname};
23184             # my ($class, $value, $index, $output) = @_;
23185 0           $_[0]->serialize_string( $_[1]->{dname}, $_[2], $_[3] );
23186              
23187             # Serializing field: 'bandwidth'
23188             croak "Missing required input value 'bandwidth'"
23189 0 0         unless exists $_[1]->{bandwidth};
23190             # my ($class, $value, $index, $output) = @_;
23191             croak "Missing required input 'unsigned long' value"
23192 0 0         unless defined $_[1]->{bandwidth};
23193             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
23194             unless (0 <= $_[1]->{bandwidth}
23195 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
23196             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
23197 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
23198 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
23199 0           $_[2] += 8;
23200              
23201             # Serializing field: 'dom_xml'
23202             croak "Missing required input value 'dom_xml'"
23203 0 0         unless exists $_[1]->{dom_xml};
23204             # my ($class, $value, $index, $output) = @_;
23205 0           $_[0]->serialize_nonnull_string( $_[1]->{dom_xml}, $_[2], $_[3] );
23206             }
23207             # @_: ($class, $value, $index, $input) = @_;
23208             sub deserialize_domain_migrate_prepare3_ret {
23209 0     0 0   my $input_length = length $_[3];
23210 0           $_[1] = {};
23211             # Deserializing field: 'cookie_out'
23212             # my ($class, $value, $index, $input) = @_;
23213 0           do {
23214 0 0         die "Input buffer too short"
23215             if ($input_length - $_[2]) < 4;
23216 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23217 0           $_[2] += 4;
23218 0 0         die "Opaque data too long (max: 4194304): $len"
23219             unless ($len <= 4194304);
23220 0 0         die "Input buffer too short"
23221             if ($input_length - $_[2]) < $len;
23222 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
23223 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23224             };
23225              
23226             # Deserializing field: 'uri_out'
23227             # my ($class, $value, $index, $input) = @_;
23228 0           $_[0]->deserialize_string( $_[1]->{uri_out}, $_[2], $_[3] );
23229             }
23230             # @_: ($class, $value, $index, $output) = @_;
23231             sub serialize_domain_migrate_prepare3_ret {
23232 0 0   0 0   croak "Missing required input 'struct' value"
23233             unless defined $_[1];
23234              
23235             # Serializing field: 'cookie_out'
23236             croak "Missing required input value 'cookie_out'"
23237 0 0         unless exists $_[1]->{cookie_out};
23238             # my ($class, $value, $index, $output) = @_;
23239             croak "Missing required input 'opaque data' value"
23240 0 0         unless defined $_[1]->{cookie_out};
23241 0           do {
23242 0           my $len = length $_[1]->{cookie_out};
23243 0 0         die "Opaque data too long (max: 4194304): $len"
23244             unless ($len <= 4194304);
23245              
23246 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23247 0           $_[2] += 4;
23248 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
23249 0           $_[2] += $len;
23250 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23251 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23252 0           $_[2] += $pad;
23253             }
23254             };
23255              
23256             # Serializing field: 'uri_out'
23257             croak "Missing required input value 'uri_out'"
23258 0 0         unless exists $_[1]->{uri_out};
23259             # my ($class, $value, $index, $output) = @_;
23260 0           $_[0]->serialize_string( $_[1]->{uri_out}, $_[2], $_[3] );
23261             }
23262             # @_: ($class, $value, $index, $input) = @_;
23263             sub deserialize_domain_migrate_prepare_tunnel3_args {
23264 0     0 0   my $input_length = length $_[3];
23265 0           $_[1] = {};
23266             # Deserializing field: 'cookie_in'
23267             # my ($class, $value, $index, $input) = @_;
23268 0           do {
23269 0 0         die "Input buffer too short"
23270             if ($input_length - $_[2]) < 4;
23271 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23272 0           $_[2] += 4;
23273 0 0         die "Opaque data too long (max: 4194304): $len"
23274             unless ($len <= 4194304);
23275 0 0         die "Input buffer too short"
23276             if ($input_length - $_[2]) < $len;
23277 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
23278 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23279             };
23280              
23281             # Deserializing field: 'flags'
23282             # my ($class, $value, $index, $input) = @_;
23283 0 0         die "Input buffer too short"
23284             if ($input_length - $_[2]) < 8;
23285 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
23286 0           $_[2] += 8;
23287             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23288             unless (0 <= $_[1]->{flags}
23289 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23290              
23291             # Deserializing field: 'dname'
23292             # my ($class, $value, $index, $input) = @_;
23293 0           $_[0]->deserialize_string( $_[1]->{dname}, $_[2], $_[3] );
23294              
23295             # Deserializing field: 'bandwidth'
23296             # my ($class, $value, $index, $input) = @_;
23297 0 0         die "Input buffer too short"
23298             if ($input_length - $_[2]) < 8;
23299 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
23300 0           $_[2] += 8;
23301             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
23302             unless (0 <= $_[1]->{bandwidth}
23303 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
23304              
23305             # Deserializing field: 'dom_xml'
23306             # my ($class, $value, $index, $input) = @_;
23307 0           $_[0]->deserialize_nonnull_string( $_[1]->{dom_xml}, $_[2], $_[3] );
23308             }
23309             # @_: ($class, $value, $index, $output) = @_;
23310             sub serialize_domain_migrate_prepare_tunnel3_args {
23311 0 0   0 0   croak "Missing required input 'struct' value"
23312             unless defined $_[1];
23313              
23314             # Serializing field: 'cookie_in'
23315             croak "Missing required input value 'cookie_in'"
23316 0 0         unless exists $_[1]->{cookie_in};
23317             # my ($class, $value, $index, $output) = @_;
23318             croak "Missing required input 'opaque data' value"
23319 0 0         unless defined $_[1]->{cookie_in};
23320 0           do {
23321 0           my $len = length $_[1]->{cookie_in};
23322 0 0         die "Opaque data too long (max: 4194304): $len"
23323             unless ($len <= 4194304);
23324              
23325 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23326 0           $_[2] += 4;
23327 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
23328 0           $_[2] += $len;
23329 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23330 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23331 0           $_[2] += $pad;
23332             }
23333             };
23334              
23335             # Serializing field: 'flags'
23336             croak "Missing required input value 'flags'"
23337 0 0         unless exists $_[1]->{flags};
23338             # my ($class, $value, $index, $output) = @_;
23339             croak "Missing required input 'unsigned long' value"
23340 0 0         unless defined $_[1]->{flags};
23341             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23342             unless (0 <= $_[1]->{flags}
23343 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23344             die "Non-integer 'long' value given: $_[1]->{flags}"
23345 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
23346 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
23347 0           $_[2] += 8;
23348              
23349             # Serializing field: 'dname'
23350             croak "Missing required input value 'dname'"
23351 0 0         unless exists $_[1]->{dname};
23352             # my ($class, $value, $index, $output) = @_;
23353 0           $_[0]->serialize_string( $_[1]->{dname}, $_[2], $_[3] );
23354              
23355             # Serializing field: 'bandwidth'
23356             croak "Missing required input value 'bandwidth'"
23357 0 0         unless exists $_[1]->{bandwidth};
23358             # my ($class, $value, $index, $output) = @_;
23359             croak "Missing required input 'unsigned long' value"
23360 0 0         unless defined $_[1]->{bandwidth};
23361             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
23362             unless (0 <= $_[1]->{bandwidth}
23363 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
23364             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
23365 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
23366 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
23367 0           $_[2] += 8;
23368              
23369             # Serializing field: 'dom_xml'
23370             croak "Missing required input value 'dom_xml'"
23371 0 0         unless exists $_[1]->{dom_xml};
23372             # my ($class, $value, $index, $output) = @_;
23373 0           $_[0]->serialize_nonnull_string( $_[1]->{dom_xml}, $_[2], $_[3] );
23374             }
23375             # @_: ($class, $value, $index, $input) = @_;
23376             sub deserialize_domain_migrate_prepare_tunnel3_ret {
23377 0     0 0   my $input_length = length $_[3];
23378 0           $_[1] = {};
23379             # Deserializing field: 'cookie_out'
23380             # my ($class, $value, $index, $input) = @_;
23381 0           do {
23382 0 0         die "Input buffer too short"
23383             if ($input_length - $_[2]) < 4;
23384 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23385 0           $_[2] += 4;
23386 0 0         die "Opaque data too long (max: 4194304): $len"
23387             unless ($len <= 4194304);
23388 0 0         die "Input buffer too short"
23389             if ($input_length - $_[2]) < $len;
23390 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
23391 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23392             };
23393             }
23394             # @_: ($class, $value, $index, $output) = @_;
23395             sub serialize_domain_migrate_prepare_tunnel3_ret {
23396 0 0   0 0   croak "Missing required input 'struct' value"
23397             unless defined $_[1];
23398              
23399             # Serializing field: 'cookie_out'
23400             croak "Missing required input value 'cookie_out'"
23401 0 0         unless exists $_[1]->{cookie_out};
23402             # my ($class, $value, $index, $output) = @_;
23403             croak "Missing required input 'opaque data' value"
23404 0 0         unless defined $_[1]->{cookie_out};
23405 0           do {
23406 0           my $len = length $_[1]->{cookie_out};
23407 0 0         die "Opaque data too long (max: 4194304): $len"
23408             unless ($len <= 4194304);
23409              
23410 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23411 0           $_[2] += 4;
23412 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
23413 0           $_[2] += $len;
23414 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23415 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23416 0           $_[2] += $pad;
23417             }
23418             };
23419             }
23420             # @_: ($class, $value, $index, $input) = @_;
23421             sub deserialize_domain_migrate_perform3_args {
23422 0     0 0   my $input_length = length $_[3];
23423 0           $_[1] = {};
23424             # Deserializing field: 'dom'
23425             # my ($class, $value, $index, $input) = @_;
23426 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23427              
23428             # Deserializing field: 'xmlin'
23429             # my ($class, $value, $index, $input) = @_;
23430 0           $_[0]->deserialize_string( $_[1]->{xmlin}, $_[2], $_[3] );
23431              
23432             # Deserializing field: 'cookie_in'
23433             # my ($class, $value, $index, $input) = @_;
23434 0           do {
23435 0 0         die "Input buffer too short"
23436             if ($input_length - $_[2]) < 4;
23437 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23438 0           $_[2] += 4;
23439 0 0         die "Opaque data too long (max: 4194304): $len"
23440             unless ($len <= 4194304);
23441 0 0         die "Input buffer too short"
23442             if ($input_length - $_[2]) < $len;
23443 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
23444 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23445             };
23446              
23447             # Deserializing field: 'dconnuri'
23448             # my ($class, $value, $index, $input) = @_;
23449 0           $_[0]->deserialize_string( $_[1]->{dconnuri}, $_[2], $_[3] );
23450              
23451             # Deserializing field: 'uri'
23452             # my ($class, $value, $index, $input) = @_;
23453 0           $_[0]->deserialize_string( $_[1]->{uri}, $_[2], $_[3] );
23454              
23455             # Deserializing field: 'flags'
23456             # my ($class, $value, $index, $input) = @_;
23457 0 0         die "Input buffer too short"
23458             if ($input_length - $_[2]) < 8;
23459 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
23460 0           $_[2] += 8;
23461             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23462             unless (0 <= $_[1]->{flags}
23463 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23464              
23465             # Deserializing field: 'dname'
23466             # my ($class, $value, $index, $input) = @_;
23467 0           $_[0]->deserialize_string( $_[1]->{dname}, $_[2], $_[3] );
23468              
23469             # Deserializing field: 'bandwidth'
23470             # my ($class, $value, $index, $input) = @_;
23471 0 0         die "Input buffer too short"
23472             if ($input_length - $_[2]) < 8;
23473 0           $_[1]->{bandwidth} = unpack("Q>", substr( $_[3], $_[2] ));
23474 0           $_[2] += 8;
23475             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
23476             unless (0 <= $_[1]->{bandwidth}
23477 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
23478             }
23479             # @_: ($class, $value, $index, $output) = @_;
23480             sub serialize_domain_migrate_perform3_args {
23481 0 0   0 0   croak "Missing required input 'struct' value"
23482             unless defined $_[1];
23483              
23484             # Serializing field: 'dom'
23485             croak "Missing required input value 'dom'"
23486 0 0         unless exists $_[1]->{dom};
23487             # my ($class, $value, $index, $output) = @_;
23488 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23489              
23490             # Serializing field: 'xmlin'
23491             croak "Missing required input value 'xmlin'"
23492 0 0         unless exists $_[1]->{xmlin};
23493             # my ($class, $value, $index, $output) = @_;
23494 0           $_[0]->serialize_string( $_[1]->{xmlin}, $_[2], $_[3] );
23495              
23496             # Serializing field: 'cookie_in'
23497             croak "Missing required input value 'cookie_in'"
23498 0 0         unless exists $_[1]->{cookie_in};
23499             # my ($class, $value, $index, $output) = @_;
23500             croak "Missing required input 'opaque data' value"
23501 0 0         unless defined $_[1]->{cookie_in};
23502 0           do {
23503 0           my $len = length $_[1]->{cookie_in};
23504 0 0         die "Opaque data too long (max: 4194304): $len"
23505             unless ($len <= 4194304);
23506              
23507 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23508 0           $_[2] += 4;
23509 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
23510 0           $_[2] += $len;
23511 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23512 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23513 0           $_[2] += $pad;
23514             }
23515             };
23516              
23517             # Serializing field: 'dconnuri'
23518             croak "Missing required input value 'dconnuri'"
23519 0 0         unless exists $_[1]->{dconnuri};
23520             # my ($class, $value, $index, $output) = @_;
23521 0           $_[0]->serialize_string( $_[1]->{dconnuri}, $_[2], $_[3] );
23522              
23523             # Serializing field: 'uri'
23524             croak "Missing required input value 'uri'"
23525 0 0         unless exists $_[1]->{uri};
23526             # my ($class, $value, $index, $output) = @_;
23527 0           $_[0]->serialize_string( $_[1]->{uri}, $_[2], $_[3] );
23528              
23529             # Serializing field: 'flags'
23530             croak "Missing required input value 'flags'"
23531 0 0         unless exists $_[1]->{flags};
23532             # my ($class, $value, $index, $output) = @_;
23533             croak "Missing required input 'unsigned long' value"
23534 0 0         unless defined $_[1]->{flags};
23535             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23536             unless (0 <= $_[1]->{flags}
23537 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23538             die "Non-integer 'long' value given: $_[1]->{flags}"
23539 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
23540 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
23541 0           $_[2] += 8;
23542              
23543             # Serializing field: 'dname'
23544             croak "Missing required input value 'dname'"
23545 0 0         unless exists $_[1]->{dname};
23546             # my ($class, $value, $index, $output) = @_;
23547 0           $_[0]->serialize_string( $_[1]->{dname}, $_[2], $_[3] );
23548              
23549             # Serializing field: 'bandwidth'
23550             croak "Missing required input value 'bandwidth'"
23551 0 0         unless exists $_[1]->{bandwidth};
23552             # my ($class, $value, $index, $output) = @_;
23553             croak "Missing required input 'unsigned long' value"
23554 0 0         unless defined $_[1]->{bandwidth};
23555             die "Out of bounds 'unsigned hyper': $_[1]->{bandwidth}"
23556             unless (0 <= $_[1]->{bandwidth}
23557 0 0 0       and $_[1]->{bandwidth} <= 18446744073709551615);
23558             die "Non-integer 'long' value given: $_[1]->{bandwidth}"
23559 0 0         unless int($_[1]->{bandwidth}) == $_[1]->{bandwidth};
23560 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{bandwidth});
23561 0           $_[2] += 8;
23562             }
23563             # @_: ($class, $value, $index, $input) = @_;
23564             sub deserialize_domain_migrate_perform3_ret {
23565 0     0 0   my $input_length = length $_[3];
23566 0           $_[1] = {};
23567             # Deserializing field: 'cookie_out'
23568             # my ($class, $value, $index, $input) = @_;
23569 0           do {
23570 0 0         die "Input buffer too short"
23571             if ($input_length - $_[2]) < 4;
23572 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23573 0           $_[2] += 4;
23574 0 0         die "Opaque data too long (max: 4194304): $len"
23575             unless ($len <= 4194304);
23576 0 0         die "Input buffer too short"
23577             if ($input_length - $_[2]) < $len;
23578 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
23579 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23580             };
23581             }
23582             # @_: ($class, $value, $index, $output) = @_;
23583             sub serialize_domain_migrate_perform3_ret {
23584 0 0   0 0   croak "Missing required input 'struct' value"
23585             unless defined $_[1];
23586              
23587             # Serializing field: 'cookie_out'
23588             croak "Missing required input value 'cookie_out'"
23589 0 0         unless exists $_[1]->{cookie_out};
23590             # my ($class, $value, $index, $output) = @_;
23591             croak "Missing required input 'opaque data' value"
23592 0 0         unless defined $_[1]->{cookie_out};
23593 0           do {
23594 0           my $len = length $_[1]->{cookie_out};
23595 0 0         die "Opaque data too long (max: 4194304): $len"
23596             unless ($len <= 4194304);
23597              
23598 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23599 0           $_[2] += 4;
23600 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
23601 0           $_[2] += $len;
23602 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23603 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23604 0           $_[2] += $pad;
23605             }
23606             };
23607             }
23608             # @_: ($class, $value, $index, $input) = @_;
23609             sub deserialize_domain_migrate_finish3_args {
23610 0     0 0   my $input_length = length $_[3];
23611 0           $_[1] = {};
23612             # Deserializing field: 'dname'
23613             # my ($class, $value, $index, $input) = @_;
23614 0           $_[0]->deserialize_nonnull_string( $_[1]->{dname}, $_[2], $_[3] );
23615              
23616             # Deserializing field: 'cookie_in'
23617             # my ($class, $value, $index, $input) = @_;
23618 0           do {
23619 0 0         die "Input buffer too short"
23620             if ($input_length - $_[2]) < 4;
23621 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23622 0           $_[2] += 4;
23623 0 0         die "Opaque data too long (max: 4194304): $len"
23624             unless ($len <= 4194304);
23625 0 0         die "Input buffer too short"
23626             if ($input_length - $_[2]) < $len;
23627 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
23628 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23629             };
23630              
23631             # Deserializing field: 'dconnuri'
23632             # my ($class, $value, $index, $input) = @_;
23633 0           $_[0]->deserialize_string( $_[1]->{dconnuri}, $_[2], $_[3] );
23634              
23635             # Deserializing field: 'uri'
23636             # my ($class, $value, $index, $input) = @_;
23637 0           $_[0]->deserialize_string( $_[1]->{uri}, $_[2], $_[3] );
23638              
23639             # Deserializing field: 'flags'
23640             # my ($class, $value, $index, $input) = @_;
23641 0 0         die "Input buffer too short"
23642             if ($input_length - $_[2]) < 8;
23643 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
23644 0           $_[2] += 8;
23645             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23646             unless (0 <= $_[1]->{flags}
23647 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23648              
23649             # Deserializing field: 'cancelled'
23650             # my ($class, $value, $index, $input) = @_;
23651 0 0         die "Input buffer too short"
23652             if ($input_length - $_[2]) < 4;
23653 0           $_[1]->{cancelled} = unpack("l>", substr( $_[3], $_[2] ));
23654 0           $_[2] += 4;
23655             die "Out of bounds 'int': $_[1]->{cancelled}"
23656 0 0 0       unless (-2147483648 <= $_[1]->{cancelled} and $_[1]->{cancelled} < 2147483648);
23657             }
23658             # @_: ($class, $value, $index, $output) = @_;
23659             sub serialize_domain_migrate_finish3_args {
23660 0 0   0 0   croak "Missing required input 'struct' value"
23661             unless defined $_[1];
23662              
23663             # Serializing field: 'dname'
23664             croak "Missing required input value 'dname'"
23665 0 0         unless exists $_[1]->{dname};
23666             # my ($class, $value, $index, $output) = @_;
23667 0           $_[0]->serialize_nonnull_string( $_[1]->{dname}, $_[2], $_[3] );
23668              
23669             # Serializing field: 'cookie_in'
23670             croak "Missing required input value 'cookie_in'"
23671 0 0         unless exists $_[1]->{cookie_in};
23672             # my ($class, $value, $index, $output) = @_;
23673             croak "Missing required input 'opaque data' value"
23674 0 0         unless defined $_[1]->{cookie_in};
23675 0           do {
23676 0           my $len = length $_[1]->{cookie_in};
23677 0 0         die "Opaque data too long (max: 4194304): $len"
23678             unless ($len <= 4194304);
23679              
23680 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23681 0           $_[2] += 4;
23682 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
23683 0           $_[2] += $len;
23684 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23685 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23686 0           $_[2] += $pad;
23687             }
23688             };
23689              
23690             # Serializing field: 'dconnuri'
23691             croak "Missing required input value 'dconnuri'"
23692 0 0         unless exists $_[1]->{dconnuri};
23693             # my ($class, $value, $index, $output) = @_;
23694 0           $_[0]->serialize_string( $_[1]->{dconnuri}, $_[2], $_[3] );
23695              
23696             # Serializing field: 'uri'
23697             croak "Missing required input value 'uri'"
23698 0 0         unless exists $_[1]->{uri};
23699             # my ($class, $value, $index, $output) = @_;
23700 0           $_[0]->serialize_string( $_[1]->{uri}, $_[2], $_[3] );
23701              
23702             # Serializing field: 'flags'
23703             croak "Missing required input value 'flags'"
23704 0 0         unless exists $_[1]->{flags};
23705             # my ($class, $value, $index, $output) = @_;
23706             croak "Missing required input 'unsigned long' value"
23707 0 0         unless defined $_[1]->{flags};
23708             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23709             unless (0 <= $_[1]->{flags}
23710 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23711             die "Non-integer 'long' value given: $_[1]->{flags}"
23712 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
23713 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
23714 0           $_[2] += 8;
23715              
23716             # Serializing field: 'cancelled'
23717             croak "Missing required input value 'cancelled'"
23718 0 0         unless exists $_[1]->{cancelled};
23719             # my ($class, $value, $index, $output) = @_;
23720             croak "Missing required input 'int' value"
23721 0 0         unless defined $_[1]->{cancelled};
23722             die "Out of bounds 'int': $_[1]->{cancelled}"
23723 0 0 0       unless (-2147483648 <= $_[1]->{cancelled} and $_[1]->{cancelled} < 2147483648);
23724             die "Non-integer 'int' value given: $_[1]->{cancelled}"
23725 0 0         unless int($_[1]->{cancelled}) == $_[1]->{cancelled};
23726 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cancelled});
23727 0           $_[2] += 4;
23728             }
23729             # @_: ($class, $value, $index, $input) = @_;
23730             sub deserialize_domain_migrate_finish3_ret {
23731 0     0 0   my $input_length = length $_[3];
23732 0           $_[1] = {};
23733             # Deserializing field: 'dom'
23734             # my ($class, $value, $index, $input) = @_;
23735 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23736              
23737             # Deserializing field: 'cookie_out'
23738             # my ($class, $value, $index, $input) = @_;
23739 0           do {
23740 0 0         die "Input buffer too short"
23741             if ($input_length - $_[2]) < 4;
23742 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23743 0           $_[2] += 4;
23744 0 0         die "Opaque data too long (max: 4194304): $len"
23745             unless ($len <= 4194304);
23746 0 0         die "Input buffer too short"
23747             if ($input_length - $_[2]) < $len;
23748 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
23749 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23750             };
23751             }
23752             # @_: ($class, $value, $index, $output) = @_;
23753             sub serialize_domain_migrate_finish3_ret {
23754 0 0   0 0   croak "Missing required input 'struct' value"
23755             unless defined $_[1];
23756              
23757             # Serializing field: 'dom'
23758             croak "Missing required input value 'dom'"
23759 0 0         unless exists $_[1]->{dom};
23760             # my ($class, $value, $index, $output) = @_;
23761 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23762              
23763             # Serializing field: 'cookie_out'
23764             croak "Missing required input value 'cookie_out'"
23765 0 0         unless exists $_[1]->{cookie_out};
23766             # my ($class, $value, $index, $output) = @_;
23767             croak "Missing required input 'opaque data' value"
23768 0 0         unless defined $_[1]->{cookie_out};
23769 0           do {
23770 0           my $len = length $_[1]->{cookie_out};
23771 0 0         die "Opaque data too long (max: 4194304): $len"
23772             unless ($len <= 4194304);
23773              
23774 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23775 0           $_[2] += 4;
23776 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
23777 0           $_[2] += $len;
23778 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23779 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23780 0           $_[2] += $pad;
23781             }
23782             };
23783             }
23784             # @_: ($class, $value, $index, $input) = @_;
23785             sub deserialize_domain_migrate_confirm3_args {
23786 0     0 0   my $input_length = length $_[3];
23787 0           $_[1] = {};
23788             # Deserializing field: 'dom'
23789             # my ($class, $value, $index, $input) = @_;
23790 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23791              
23792             # Deserializing field: 'cookie_in'
23793             # my ($class, $value, $index, $input) = @_;
23794 0           do {
23795 0 0         die "Input buffer too short"
23796             if ($input_length - $_[2]) < 4;
23797 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
23798 0           $_[2] += 4;
23799 0 0         die "Opaque data too long (max: 4194304): $len"
23800             unless ($len <= 4194304);
23801 0 0         die "Input buffer too short"
23802             if ($input_length - $_[2]) < $len;
23803 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
23804 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
23805             };
23806              
23807             # Deserializing field: 'flags'
23808             # my ($class, $value, $index, $input) = @_;
23809 0 0         die "Input buffer too short"
23810             if ($input_length - $_[2]) < 8;
23811 0           $_[1]->{flags} = unpack("Q>", substr( $_[3], $_[2] ));
23812 0           $_[2] += 8;
23813             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23814             unless (0 <= $_[1]->{flags}
23815 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23816              
23817             # Deserializing field: 'cancelled'
23818             # my ($class, $value, $index, $input) = @_;
23819 0 0         die "Input buffer too short"
23820             if ($input_length - $_[2]) < 4;
23821 0           $_[1]->{cancelled} = unpack("l>", substr( $_[3], $_[2] ));
23822 0           $_[2] += 4;
23823             die "Out of bounds 'int': $_[1]->{cancelled}"
23824 0 0 0       unless (-2147483648 <= $_[1]->{cancelled} and $_[1]->{cancelled} < 2147483648);
23825             }
23826             # @_: ($class, $value, $index, $output) = @_;
23827             sub serialize_domain_migrate_confirm3_args {
23828 0 0   0 0   croak "Missing required input 'struct' value"
23829             unless defined $_[1];
23830              
23831             # Serializing field: 'dom'
23832             croak "Missing required input value 'dom'"
23833 0 0         unless exists $_[1]->{dom};
23834             # my ($class, $value, $index, $output) = @_;
23835 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23836              
23837             # Serializing field: 'cookie_in'
23838             croak "Missing required input value 'cookie_in'"
23839 0 0         unless exists $_[1]->{cookie_in};
23840             # my ($class, $value, $index, $output) = @_;
23841             croak "Missing required input 'opaque data' value"
23842 0 0         unless defined $_[1]->{cookie_in};
23843 0           do {
23844 0           my $len = length $_[1]->{cookie_in};
23845 0 0         die "Opaque data too long (max: 4194304): $len"
23846             unless ($len <= 4194304);
23847              
23848 0           substr( $_[3], $_[2] ) = pack("L>", $len);
23849 0           $_[2] += 4;
23850 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
23851 0           $_[2] += $len;
23852 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
23853 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
23854 0           $_[2] += $pad;
23855             }
23856             };
23857              
23858             # Serializing field: 'flags'
23859             croak "Missing required input value 'flags'"
23860 0 0         unless exists $_[1]->{flags};
23861             # my ($class, $value, $index, $output) = @_;
23862             croak "Missing required input 'unsigned long' value"
23863 0 0         unless defined $_[1]->{flags};
23864             die "Out of bounds 'unsigned hyper': $_[1]->{flags}"
23865             unless (0 <= $_[1]->{flags}
23866 0 0 0       and $_[1]->{flags} <= 18446744073709551615);
23867             die "Non-integer 'long' value given: $_[1]->{flags}"
23868 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
23869 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{flags});
23870 0           $_[2] += 8;
23871              
23872             # Serializing field: 'cancelled'
23873             croak "Missing required input value 'cancelled'"
23874 0 0         unless exists $_[1]->{cancelled};
23875             # my ($class, $value, $index, $output) = @_;
23876             croak "Missing required input 'int' value"
23877 0 0         unless defined $_[1]->{cancelled};
23878             die "Out of bounds 'int': $_[1]->{cancelled}"
23879 0 0 0       unless (-2147483648 <= $_[1]->{cancelled} and $_[1]->{cancelled} < 2147483648);
23880             die "Non-integer 'int' value given: $_[1]->{cancelled}"
23881 0 0         unless int($_[1]->{cancelled}) == $_[1]->{cancelled};
23882 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cancelled});
23883 0           $_[2] += 4;
23884             }
23885             # @_: ($class, $value, $index, $input) = @_;
23886             sub deserialize_domain_event_control_error_msg {
23887 0     0 0   my $input_length = length $_[3];
23888 0           $_[1] = {};
23889             # Deserializing field: 'dom'
23890             # my ($class, $value, $index, $input) = @_;
23891 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23892             }
23893             # @_: ($class, $value, $index, $output) = @_;
23894             sub serialize_domain_event_control_error_msg {
23895 0 0   0 0   croak "Missing required input 'struct' value"
23896             unless defined $_[1];
23897              
23898             # Serializing field: 'dom'
23899             croak "Missing required input value 'dom'"
23900 0 0         unless exists $_[1]->{dom};
23901             # my ($class, $value, $index, $output) = @_;
23902 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23903             }
23904             # @_: ($class, $value, $index, $input) = @_;
23905             sub deserialize_domain_event_callback_control_error_msg {
23906 0     0 0   my $input_length = length $_[3];
23907 0           $_[1] = {};
23908             # Deserializing field: 'callbackID'
23909             # my ($class, $value, $index, $input) = @_;
23910 0 0         die "Input buffer too short"
23911             if ($input_length - $_[2]) < 4;
23912 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
23913 0           $_[2] += 4;
23914             die "Out of bounds 'int': $_[1]->{callbackID}"
23915 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
23916              
23917             # Deserializing field: 'msg'
23918             # my ($class, $value, $index, $input) = @_;
23919 0           $_[0]->deserialize_domain_event_control_error_msg( $_[1]->{msg}, $_[2], $_[3] );
23920             }
23921             # @_: ($class, $value, $index, $output) = @_;
23922             sub serialize_domain_event_callback_control_error_msg {
23923 0 0   0 0   croak "Missing required input 'struct' value"
23924             unless defined $_[1];
23925              
23926             # Serializing field: 'callbackID'
23927             croak "Missing required input value 'callbackID'"
23928 0 0         unless exists $_[1]->{callbackID};
23929             # my ($class, $value, $index, $output) = @_;
23930             croak "Missing required input 'int' value"
23931 0 0         unless defined $_[1]->{callbackID};
23932             die "Out of bounds 'int': $_[1]->{callbackID}"
23933 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
23934             die "Non-integer 'int' value given: $_[1]->{callbackID}"
23935 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
23936 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
23937 0           $_[2] += 4;
23938              
23939             # Serializing field: 'msg'
23940             croak "Missing required input value 'msg'"
23941 0 0         unless exists $_[1]->{msg};
23942             # my ($class, $value, $index, $output) = @_;
23943 0           $_[0]->serialize_domain_event_control_error_msg( $_[1]->{msg}, $_[2], $_[3] );
23944             }
23945             # @_: ($class, $value, $index, $input) = @_;
23946             sub deserialize_domain_get_control_info_args {
23947 0     0 0   my $input_length = length $_[3];
23948 0           $_[1] = {};
23949             # Deserializing field: 'dom'
23950             # my ($class, $value, $index, $input) = @_;
23951 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23952              
23953             # Deserializing field: 'flags'
23954             # my ($class, $value, $index, $input) = @_;
23955 0 0         die "Input buffer too short"
23956             if ($input_length - $_[2]) < 4;
23957 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
23958 0           $_[2] += 4;
23959             die "Out of bounds 'unsigned int': $_[1]->{flags}"
23960 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
23961             }
23962             # @_: ($class, $value, $index, $output) = @_;
23963             sub serialize_domain_get_control_info_args {
23964 0 0   0 0   croak "Missing required input 'struct' value"
23965             unless defined $_[1];
23966              
23967             # Serializing field: 'dom'
23968             croak "Missing required input value 'dom'"
23969 0 0         unless exists $_[1]->{dom};
23970             # my ($class, $value, $index, $output) = @_;
23971 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
23972              
23973             # Serializing field: 'flags'
23974             croak "Missing required input value 'flags'"
23975 0 0         unless exists $_[1]->{flags};
23976             # my ($class, $value, $index, $output) = @_;
23977             croak "Missing required input 'unsigned int' value"
23978 0 0         unless defined $_[1]->{flags};
23979             die "Out of bounds 'unsigned int': $_[1]->{flags}"
23980 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
23981             die "Non-integer 'int' value given: $_[1]->{flags}"
23982 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
23983 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
23984 0           $_[2] += 4;
23985             }
23986             # @_: ($class, $value, $index, $input) = @_;
23987             sub deserialize_domain_get_control_info_ret {
23988 0     0 0   my $input_length = length $_[3];
23989 0           $_[1] = {};
23990             # Deserializing field: 'state'
23991             # my ($class, $value, $index, $input) = @_;
23992 0 0         die "Input buffer too short"
23993             if ($input_length - $_[2]) < 4;
23994 0           $_[1]->{state} = unpack("L>", substr( $_[3], $_[2] ));
23995 0           $_[2] += 4;
23996             die "Out of bounds 'unsigned int': $_[1]->{state}"
23997 0 0 0       unless (0 <= $_[1]->{state} and $_[1]->{state} <= 4294967295);
23998              
23999             # Deserializing field: 'details'
24000             # my ($class, $value, $index, $input) = @_;
24001 0 0         die "Input buffer too short"
24002             if ($input_length - $_[2]) < 4;
24003 0           $_[1]->{details} = unpack("L>", substr( $_[3], $_[2] ));
24004 0           $_[2] += 4;
24005             die "Out of bounds 'unsigned int': $_[1]->{details}"
24006 0 0 0       unless (0 <= $_[1]->{details} and $_[1]->{details} <= 4294967295);
24007              
24008             # Deserializing field: 'stateTime'
24009             # my ($class, $value, $index, $input) = @_;
24010 0 0         die "Input buffer too short"
24011             if ($input_length - $_[2]) < 8;
24012 0           $_[1]->{stateTime} = unpack("Q>", substr( $_[3], $_[2] ));
24013 0           $_[2] += 8;
24014             die "Out of bounds 'unsigned hyper': $_[1]->{stateTime}"
24015             unless (0 <= $_[1]->{stateTime}
24016 0 0 0       and $_[1]->{stateTime} <= 18446744073709551615);
24017             }
24018             # @_: ($class, $value, $index, $output) = @_;
24019             sub serialize_domain_get_control_info_ret {
24020 0 0   0 0   croak "Missing required input 'struct' value"
24021             unless defined $_[1];
24022              
24023             # Serializing field: 'state'
24024             croak "Missing required input value 'state'"
24025 0 0         unless exists $_[1]->{state};
24026             # my ($class, $value, $index, $output) = @_;
24027             croak "Missing required input 'unsigned int' value"
24028 0 0         unless defined $_[1]->{state};
24029             die "Out of bounds 'unsigned int': $_[1]->{state}"
24030 0 0 0       unless (0 <= $_[1]->{state} and $_[1]->{state} <= 4294967295);
24031             die "Non-integer 'int' value given: $_[1]->{state}"
24032 0 0         unless int($_[1]->{state}) == $_[1]->{state};
24033 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{state});
24034 0           $_[2] += 4;
24035              
24036             # Serializing field: 'details'
24037             croak "Missing required input value 'details'"
24038 0 0         unless exists $_[1]->{details};
24039             # my ($class, $value, $index, $output) = @_;
24040             croak "Missing required input 'unsigned int' value"
24041 0 0         unless defined $_[1]->{details};
24042             die "Out of bounds 'unsigned int': $_[1]->{details}"
24043 0 0 0       unless (0 <= $_[1]->{details} and $_[1]->{details} <= 4294967295);
24044             die "Non-integer 'int' value given: $_[1]->{details}"
24045 0 0         unless int($_[1]->{details}) == $_[1]->{details};
24046 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{details});
24047 0           $_[2] += 4;
24048              
24049             # Serializing field: 'stateTime'
24050             croak "Missing required input value 'stateTime'"
24051 0 0         unless exists $_[1]->{stateTime};
24052             # my ($class, $value, $index, $output) = @_;
24053             croak "Missing required input 'unsigned long' value"
24054 0 0         unless defined $_[1]->{stateTime};
24055             die "Out of bounds 'unsigned hyper': $_[1]->{stateTime}"
24056             unless (0 <= $_[1]->{stateTime}
24057 0 0 0       and $_[1]->{stateTime} <= 18446744073709551615);
24058             die "Non-integer 'long' value given: $_[1]->{stateTime}"
24059 0 0         unless int($_[1]->{stateTime}) == $_[1]->{stateTime};
24060 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{stateTime});
24061 0           $_[2] += 8;
24062             }
24063             # @_: ($class, $value, $index, $input) = @_;
24064             sub deserialize_domain_open_graphics_args {
24065 0     0 0   my $input_length = length $_[3];
24066 0           $_[1] = {};
24067             # Deserializing field: 'dom'
24068             # my ($class, $value, $index, $input) = @_;
24069 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
24070              
24071             # Deserializing field: 'idx'
24072             # my ($class, $value, $index, $input) = @_;
24073 0 0         die "Input buffer too short"
24074             if ($input_length - $_[2]) < 4;
24075 0           $_[1]->{idx} = unpack("L>", substr( $_[3], $_[2] ));
24076 0           $_[2] += 4;
24077             die "Out of bounds 'unsigned int': $_[1]->{idx}"
24078 0 0 0       unless (0 <= $_[1]->{idx} and $_[1]->{idx} <= 4294967295);
24079              
24080             # Deserializing field: 'flags'
24081             # my ($class, $value, $index, $input) = @_;
24082 0 0         die "Input buffer too short"
24083             if ($input_length - $_[2]) < 4;
24084 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24085 0           $_[2] += 4;
24086             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24087 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24088             }
24089             # @_: ($class, $value, $index, $output) = @_;
24090             sub serialize_domain_open_graphics_args {
24091 0 0   0 0   croak "Missing required input 'struct' value"
24092             unless defined $_[1];
24093              
24094             # Serializing field: 'dom'
24095             croak "Missing required input value 'dom'"
24096 0 0         unless exists $_[1]->{dom};
24097             # my ($class, $value, $index, $output) = @_;
24098 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
24099              
24100             # Serializing field: 'idx'
24101             croak "Missing required input value 'idx'"
24102 0 0         unless exists $_[1]->{idx};
24103             # my ($class, $value, $index, $output) = @_;
24104             croak "Missing required input 'unsigned int' value"
24105 0 0         unless defined $_[1]->{idx};
24106             die "Out of bounds 'unsigned int': $_[1]->{idx}"
24107 0 0 0       unless (0 <= $_[1]->{idx} and $_[1]->{idx} <= 4294967295);
24108             die "Non-integer 'int' value given: $_[1]->{idx}"
24109 0 0         unless int($_[1]->{idx}) == $_[1]->{idx};
24110 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{idx});
24111 0           $_[2] += 4;
24112              
24113             # Serializing field: 'flags'
24114             croak "Missing required input value 'flags'"
24115 0 0         unless exists $_[1]->{flags};
24116             # my ($class, $value, $index, $output) = @_;
24117             croak "Missing required input 'unsigned int' value"
24118 0 0         unless defined $_[1]->{flags};
24119             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24120 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24121             die "Non-integer 'int' value given: $_[1]->{flags}"
24122 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24123 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24124 0           $_[2] += 4;
24125             }
24126             # @_: ($class, $value, $index, $input) = @_;
24127             sub deserialize_domain_open_graphics_fd_args {
24128 0     0 0   my $input_length = length $_[3];
24129 0           $_[1] = {};
24130             # Deserializing field: 'dom'
24131             # my ($class, $value, $index, $input) = @_;
24132 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
24133              
24134             # Deserializing field: 'idx'
24135             # my ($class, $value, $index, $input) = @_;
24136 0 0         die "Input buffer too short"
24137             if ($input_length - $_[2]) < 4;
24138 0           $_[1]->{idx} = unpack("L>", substr( $_[3], $_[2] ));
24139 0           $_[2] += 4;
24140             die "Out of bounds 'unsigned int': $_[1]->{idx}"
24141 0 0 0       unless (0 <= $_[1]->{idx} and $_[1]->{idx} <= 4294967295);
24142              
24143             # Deserializing field: 'flags'
24144             # my ($class, $value, $index, $input) = @_;
24145 0 0         die "Input buffer too short"
24146             if ($input_length - $_[2]) < 4;
24147 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24148 0           $_[2] += 4;
24149             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24150 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24151             }
24152             # @_: ($class, $value, $index, $output) = @_;
24153             sub serialize_domain_open_graphics_fd_args {
24154 0 0   0 0   croak "Missing required input 'struct' value"
24155             unless defined $_[1];
24156              
24157             # Serializing field: 'dom'
24158             croak "Missing required input value 'dom'"
24159 0 0         unless exists $_[1]->{dom};
24160             # my ($class, $value, $index, $output) = @_;
24161 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
24162              
24163             # Serializing field: 'idx'
24164             croak "Missing required input value 'idx'"
24165 0 0         unless exists $_[1]->{idx};
24166             # my ($class, $value, $index, $output) = @_;
24167             croak "Missing required input 'unsigned int' value"
24168 0 0         unless defined $_[1]->{idx};
24169             die "Out of bounds 'unsigned int': $_[1]->{idx}"
24170 0 0 0       unless (0 <= $_[1]->{idx} and $_[1]->{idx} <= 4294967295);
24171             die "Non-integer 'int' value given: $_[1]->{idx}"
24172 0 0         unless int($_[1]->{idx}) == $_[1]->{idx};
24173 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{idx});
24174 0           $_[2] += 4;
24175              
24176             # Serializing field: 'flags'
24177             croak "Missing required input value 'flags'"
24178 0 0         unless exists $_[1]->{flags};
24179             # my ($class, $value, $index, $output) = @_;
24180             croak "Missing required input 'unsigned int' value"
24181 0 0         unless defined $_[1]->{flags};
24182             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24183 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24184             die "Non-integer 'int' value given: $_[1]->{flags}"
24185 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24186 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24187 0           $_[2] += 4;
24188             }
24189             # @_: ($class, $value, $index, $input) = @_;
24190             sub deserialize_node_suspend_for_duration_args {
24191 0     0 0   my $input_length = length $_[3];
24192 0           $_[1] = {};
24193             # Deserializing field: 'target'
24194             # my ($class, $value, $index, $input) = @_;
24195 0 0         die "Input buffer too short"
24196             if ($input_length - $_[2]) < 4;
24197 0           $_[1]->{target} = unpack("L>", substr( $_[3], $_[2] ));
24198 0           $_[2] += 4;
24199             die "Out of bounds 'unsigned int': $_[1]->{target}"
24200 0 0 0       unless (0 <= $_[1]->{target} and $_[1]->{target} <= 4294967295);
24201              
24202             # Deserializing field: 'duration'
24203             # my ($class, $value, $index, $input) = @_;
24204 0 0         die "Input buffer too short"
24205             if ($input_length - $_[2]) < 8;
24206 0           $_[1]->{duration} = unpack("Q>", substr( $_[3], $_[2] ));
24207 0           $_[2] += 8;
24208             die "Out of bounds 'unsigned hyper': $_[1]->{duration}"
24209             unless (0 <= $_[1]->{duration}
24210 0 0 0       and $_[1]->{duration} <= 18446744073709551615);
24211              
24212             # Deserializing field: 'flags'
24213             # my ($class, $value, $index, $input) = @_;
24214 0 0         die "Input buffer too short"
24215             if ($input_length - $_[2]) < 4;
24216 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24217 0           $_[2] += 4;
24218             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24219 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24220             }
24221             # @_: ($class, $value, $index, $output) = @_;
24222             sub serialize_node_suspend_for_duration_args {
24223 0 0   0 0   croak "Missing required input 'struct' value"
24224             unless defined $_[1];
24225              
24226             # Serializing field: 'target'
24227             croak "Missing required input value 'target'"
24228 0 0         unless exists $_[1]->{target};
24229             # my ($class, $value, $index, $output) = @_;
24230             croak "Missing required input 'unsigned int' value"
24231 0 0         unless defined $_[1]->{target};
24232             die "Out of bounds 'unsigned int': $_[1]->{target}"
24233 0 0 0       unless (0 <= $_[1]->{target} and $_[1]->{target} <= 4294967295);
24234             die "Non-integer 'int' value given: $_[1]->{target}"
24235 0 0         unless int($_[1]->{target}) == $_[1]->{target};
24236 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{target});
24237 0           $_[2] += 4;
24238              
24239             # Serializing field: 'duration'
24240             croak "Missing required input value 'duration'"
24241 0 0         unless exists $_[1]->{duration};
24242             # my ($class, $value, $index, $output) = @_;
24243             croak "Missing required input 'unsigned long' value"
24244 0 0         unless defined $_[1]->{duration};
24245             die "Out of bounds 'unsigned hyper': $_[1]->{duration}"
24246             unless (0 <= $_[1]->{duration}
24247 0 0 0       and $_[1]->{duration} <= 18446744073709551615);
24248             die "Non-integer 'long' value given: $_[1]->{duration}"
24249 0 0         unless int($_[1]->{duration}) == $_[1]->{duration};
24250 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{duration});
24251 0           $_[2] += 8;
24252              
24253             # Serializing field: 'flags'
24254             croak "Missing required input value 'flags'"
24255 0 0         unless exists $_[1]->{flags};
24256             # my ($class, $value, $index, $output) = @_;
24257             croak "Missing required input 'unsigned int' value"
24258 0 0         unless defined $_[1]->{flags};
24259             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24260 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24261             die "Non-integer 'int' value given: $_[1]->{flags}"
24262 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24263 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24264 0           $_[2] += 4;
24265             }
24266             # @_: ($class, $value, $index, $input) = @_;
24267             sub deserialize_domain_shutdown_flags_args {
24268 0     0 0   my $input_length = length $_[3];
24269 0           $_[1] = {};
24270             # Deserializing field: 'dom'
24271             # my ($class, $value, $index, $input) = @_;
24272 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
24273              
24274             # Deserializing field: 'flags'
24275             # my ($class, $value, $index, $input) = @_;
24276 0 0         die "Input buffer too short"
24277             if ($input_length - $_[2]) < 4;
24278 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24279 0           $_[2] += 4;
24280             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24281 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24282             }
24283             # @_: ($class, $value, $index, $output) = @_;
24284             sub serialize_domain_shutdown_flags_args {
24285 0 0   0 0   croak "Missing required input 'struct' value"
24286             unless defined $_[1];
24287              
24288             # Serializing field: 'dom'
24289             croak "Missing required input value 'dom'"
24290 0 0         unless exists $_[1]->{dom};
24291             # my ($class, $value, $index, $output) = @_;
24292 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
24293              
24294             # Serializing field: 'flags'
24295             croak "Missing required input value 'flags'"
24296 0 0         unless exists $_[1]->{flags};
24297             # my ($class, $value, $index, $output) = @_;
24298             croak "Missing required input 'unsigned int' value"
24299 0 0         unless defined $_[1]->{flags};
24300             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24301 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24302             die "Non-integer 'int' value given: $_[1]->{flags}"
24303 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24304 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24305 0           $_[2] += 4;
24306             }
24307             # @_: ($class, $value, $index, $input) = @_;
24308             sub deserialize_domain_get_disk_errors_args {
24309 0     0 0   my $input_length = length $_[3];
24310 0           $_[1] = {};
24311             # Deserializing field: 'dom'
24312             # my ($class, $value, $index, $input) = @_;
24313 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
24314              
24315             # Deserializing field: 'maxerrors'
24316             # my ($class, $value, $index, $input) = @_;
24317 0 0         die "Input buffer too short"
24318             if ($input_length - $_[2]) < 4;
24319 0           $_[1]->{maxerrors} = unpack("L>", substr( $_[3], $_[2] ));
24320 0           $_[2] += 4;
24321             die "Out of bounds 'unsigned int': $_[1]->{maxerrors}"
24322 0 0 0       unless (0 <= $_[1]->{maxerrors} and $_[1]->{maxerrors} <= 4294967295);
24323              
24324             # Deserializing field: 'flags'
24325             # my ($class, $value, $index, $input) = @_;
24326 0 0         die "Input buffer too short"
24327             if ($input_length - $_[2]) < 4;
24328 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24329 0           $_[2] += 4;
24330             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24331 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24332             }
24333             # @_: ($class, $value, $index, $output) = @_;
24334             sub serialize_domain_get_disk_errors_args {
24335 0 0   0 0   croak "Missing required input 'struct' value"
24336             unless defined $_[1];
24337              
24338             # Serializing field: 'dom'
24339             croak "Missing required input value 'dom'"
24340 0 0         unless exists $_[1]->{dom};
24341             # my ($class, $value, $index, $output) = @_;
24342 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
24343              
24344             # Serializing field: 'maxerrors'
24345             croak "Missing required input value 'maxerrors'"
24346 0 0         unless exists $_[1]->{maxerrors};
24347             # my ($class, $value, $index, $output) = @_;
24348             croak "Missing required input 'unsigned int' value"
24349 0 0         unless defined $_[1]->{maxerrors};
24350             die "Out of bounds 'unsigned int': $_[1]->{maxerrors}"
24351 0 0 0       unless (0 <= $_[1]->{maxerrors} and $_[1]->{maxerrors} <= 4294967295);
24352             die "Non-integer 'int' value given: $_[1]->{maxerrors}"
24353 0 0         unless int($_[1]->{maxerrors}) == $_[1]->{maxerrors};
24354 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{maxerrors});
24355 0           $_[2] += 4;
24356              
24357             # Serializing field: 'flags'
24358             croak "Missing required input value 'flags'"
24359 0 0         unless exists $_[1]->{flags};
24360             # my ($class, $value, $index, $output) = @_;
24361             croak "Missing required input 'unsigned int' value"
24362 0 0         unless defined $_[1]->{flags};
24363             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24364 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24365             die "Non-integer 'int' value given: $_[1]->{flags}"
24366 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24367 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24368 0           $_[2] += 4;
24369             }
24370             # @_: ($class, $value, $index, $input) = @_;
24371             sub deserialize_domain_get_disk_errors_ret {
24372 0     0 0   my $input_length = length $_[3];
24373 0           $_[1] = {};
24374             # Deserializing field: 'errors'
24375             # my ($class, $value, $index, $input) = @_;
24376 0           do {
24377 0 0         die "Input buffer too short"
24378             if ($input_length - $_[2]) < 4;
24379 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
24380 0           $_[2] += 4;
24381              
24382 0 0         die "Array too long (max: 256): $len"
24383             unless ($len <= 256);
24384 0           $_[1]->{errors} = [];
24385 0           for my $i1 ( 0 .. ($len - 1) ) {
24386             # my ($class, $value, $index, $input) = @_;
24387 0           $_[0]->deserialize_domain_disk_error( $_[1]->{errors}->[$i1], $_[2], $_[3] );
24388             }
24389             };
24390              
24391             # Deserializing field: 'nerrors'
24392             # my ($class, $value, $index, $input) = @_;
24393 0 0         die "Input buffer too short"
24394             if ($input_length - $_[2]) < 4;
24395 0           $_[1]->{nerrors} = unpack("l>", substr( $_[3], $_[2] ));
24396 0           $_[2] += 4;
24397             die "Out of bounds 'int': $_[1]->{nerrors}"
24398 0 0 0       unless (-2147483648 <= $_[1]->{nerrors} and $_[1]->{nerrors} < 2147483648);
24399             }
24400             # @_: ($class, $value, $index, $output) = @_;
24401             sub serialize_domain_get_disk_errors_ret {
24402 0 0   0 0   croak "Missing required input 'struct' value"
24403             unless defined $_[1];
24404              
24405             # Serializing field: 'errors'
24406             croak "Missing required input value 'errors'"
24407 0 0         unless exists $_[1]->{errors};
24408             # my ($class, $value, $index, $output) = @_;
24409             croak "Missing required input 'array' value"
24410 0 0         unless defined $_[1]->{errors};
24411 0           do {
24412 0           my $len = scalar @{ $_[1]->{errors} };
  0            
24413 0 0         die "Array too long (max: 256): $len"
24414             unless ($len <= 256);
24415              
24416 0           substr( $_[3], $_[2] ) = pack("L>", $len);
24417 0           $_[2] += 4;
24418 0           for my $i1 ( 0 .. ($len - 1) ) {
24419             # my ($class, $value, $index, $output) = @_;
24420 0           $_[0]->serialize_domain_disk_error( $_[1]->{errors}->[$i1], $_[2], $_[3] );
24421             }
24422             };
24423              
24424             # Serializing field: 'nerrors'
24425             croak "Missing required input value 'nerrors'"
24426 0 0         unless exists $_[1]->{nerrors};
24427             # my ($class, $value, $index, $output) = @_;
24428             croak "Missing required input 'int' value"
24429 0 0         unless defined $_[1]->{nerrors};
24430             die "Out of bounds 'int': $_[1]->{nerrors}"
24431 0 0 0       unless (-2147483648 <= $_[1]->{nerrors} and $_[1]->{nerrors} < 2147483648);
24432             die "Non-integer 'int' value given: $_[1]->{nerrors}"
24433 0 0         unless int($_[1]->{nerrors}) == $_[1]->{nerrors};
24434 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nerrors});
24435 0           $_[2] += 4;
24436             }
24437             # @_: ($class, $value, $index, $input) = @_;
24438             sub deserialize_connect_list_all_domains_args {
24439 0     0 0   my $input_length = length $_[3];
24440 0           $_[1] = {};
24441             # Deserializing field: 'need_results'
24442             # my ($class, $value, $index, $input) = @_;
24443 0 0         die "Input buffer too short"
24444             if ($input_length - $_[2]) < 4;
24445 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
24446 0           $_[2] += 4;
24447             die "Out of bounds 'int': $_[1]->{need_results}"
24448 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24449              
24450             # Deserializing field: 'flags'
24451             # my ($class, $value, $index, $input) = @_;
24452 0 0         die "Input buffer too short"
24453             if ($input_length - $_[2]) < 4;
24454 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24455 0           $_[2] += 4;
24456             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24457 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24458             }
24459             # @_: ($class, $value, $index, $output) = @_;
24460             sub serialize_connect_list_all_domains_args {
24461 0 0   0 0   croak "Missing required input 'struct' value"
24462             unless defined $_[1];
24463              
24464             # Serializing field: 'need_results'
24465             croak "Missing required input value 'need_results'"
24466 0 0         unless exists $_[1]->{need_results};
24467             # my ($class, $value, $index, $output) = @_;
24468             croak "Missing required input 'int' value"
24469 0 0         unless defined $_[1]->{need_results};
24470             die "Out of bounds 'int': $_[1]->{need_results}"
24471 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24472             die "Non-integer 'int' value given: $_[1]->{need_results}"
24473 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
24474 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
24475 0           $_[2] += 4;
24476              
24477             # Serializing field: 'flags'
24478             croak "Missing required input value 'flags'"
24479 0 0         unless exists $_[1]->{flags};
24480             # my ($class, $value, $index, $output) = @_;
24481             croak "Missing required input 'unsigned int' value"
24482 0 0         unless defined $_[1]->{flags};
24483             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24484 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24485             die "Non-integer 'int' value given: $_[1]->{flags}"
24486 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24487 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24488 0           $_[2] += 4;
24489             }
24490             # @_: ($class, $value, $index, $input) = @_;
24491             sub deserialize_connect_list_all_domains_ret {
24492 0     0 0   my $input_length = length $_[3];
24493 0           $_[1] = {};
24494             # Deserializing field: 'domains'
24495             # my ($class, $value, $index, $input) = @_;
24496 0           do {
24497 0 0         die "Input buffer too short"
24498             if ($input_length - $_[2]) < 4;
24499 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
24500 0           $_[2] += 4;
24501              
24502 0 0         die "Array too long (max: 16384): $len"
24503             unless ($len <= 16384);
24504 0           $_[1]->{domains} = [];
24505 0           for my $i1 ( 0 .. ($len - 1) ) {
24506             # my ($class, $value, $index, $input) = @_;
24507 0           $_[0]->deserialize_nonnull_domain( $_[1]->{domains}->[$i1], $_[2], $_[3] );
24508             }
24509             };
24510              
24511             # Deserializing field: 'ret'
24512             # my ($class, $value, $index, $input) = @_;
24513 0 0         die "Input buffer too short"
24514             if ($input_length - $_[2]) < 4;
24515 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
24516 0           $_[2] += 4;
24517             die "Out of bounds 'unsigned int': $_[1]->{ret}"
24518 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
24519             }
24520             # @_: ($class, $value, $index, $output) = @_;
24521             sub serialize_connect_list_all_domains_ret {
24522 0 0   0 0   croak "Missing required input 'struct' value"
24523             unless defined $_[1];
24524              
24525             # Serializing field: 'domains'
24526             croak "Missing required input value 'domains'"
24527 0 0         unless exists $_[1]->{domains};
24528             # my ($class, $value, $index, $output) = @_;
24529             croak "Missing required input 'array' value"
24530 0 0         unless defined $_[1]->{domains};
24531 0           do {
24532 0           my $len = scalar @{ $_[1]->{domains} };
  0            
24533 0 0         die "Array too long (max: 16384): $len"
24534             unless ($len <= 16384);
24535              
24536 0           substr( $_[3], $_[2] ) = pack("L>", $len);
24537 0           $_[2] += 4;
24538 0           for my $i1 ( 0 .. ($len - 1) ) {
24539             # my ($class, $value, $index, $output) = @_;
24540 0           $_[0]->serialize_nonnull_domain( $_[1]->{domains}->[$i1], $_[2], $_[3] );
24541             }
24542             };
24543              
24544             # Serializing field: 'ret'
24545             croak "Missing required input value 'ret'"
24546 0 0         unless exists $_[1]->{ret};
24547             # my ($class, $value, $index, $output) = @_;
24548             croak "Missing required input 'unsigned int' value"
24549 0 0         unless defined $_[1]->{ret};
24550             die "Out of bounds 'unsigned int': $_[1]->{ret}"
24551 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
24552             die "Non-integer 'int' value given: $_[1]->{ret}"
24553 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
24554 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
24555 0           $_[2] += 4;
24556             }
24557             # @_: ($class, $value, $index, $input) = @_;
24558             sub deserialize_connect_list_all_storage_pools_args {
24559 0     0 0   my $input_length = length $_[3];
24560 0           $_[1] = {};
24561             # Deserializing field: 'need_results'
24562             # my ($class, $value, $index, $input) = @_;
24563 0 0         die "Input buffer too short"
24564             if ($input_length - $_[2]) < 4;
24565 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
24566 0           $_[2] += 4;
24567             die "Out of bounds 'int': $_[1]->{need_results}"
24568 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24569              
24570             # Deserializing field: 'flags'
24571             # my ($class, $value, $index, $input) = @_;
24572 0 0         die "Input buffer too short"
24573             if ($input_length - $_[2]) < 4;
24574 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24575 0           $_[2] += 4;
24576             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24577 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24578             }
24579             # @_: ($class, $value, $index, $output) = @_;
24580             sub serialize_connect_list_all_storage_pools_args {
24581 0 0   0 0   croak "Missing required input 'struct' value"
24582             unless defined $_[1];
24583              
24584             # Serializing field: 'need_results'
24585             croak "Missing required input value 'need_results'"
24586 0 0         unless exists $_[1]->{need_results};
24587             # my ($class, $value, $index, $output) = @_;
24588             croak "Missing required input 'int' value"
24589 0 0         unless defined $_[1]->{need_results};
24590             die "Out of bounds 'int': $_[1]->{need_results}"
24591 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24592             die "Non-integer 'int' value given: $_[1]->{need_results}"
24593 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
24594 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
24595 0           $_[2] += 4;
24596              
24597             # Serializing field: 'flags'
24598             croak "Missing required input value 'flags'"
24599 0 0         unless exists $_[1]->{flags};
24600             # my ($class, $value, $index, $output) = @_;
24601             croak "Missing required input 'unsigned int' value"
24602 0 0         unless defined $_[1]->{flags};
24603             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24604 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24605             die "Non-integer 'int' value given: $_[1]->{flags}"
24606 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24607 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24608 0           $_[2] += 4;
24609             }
24610             # @_: ($class, $value, $index, $input) = @_;
24611             sub deserialize_connect_list_all_storage_pools_ret {
24612 0     0 0   my $input_length = length $_[3];
24613 0           $_[1] = {};
24614             # Deserializing field: 'pools'
24615             # my ($class, $value, $index, $input) = @_;
24616 0           do {
24617 0 0         die "Input buffer too short"
24618             if ($input_length - $_[2]) < 4;
24619 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
24620 0           $_[2] += 4;
24621              
24622 0 0         die "Array too long (max: 16384): $len"
24623             unless ($len <= 16384);
24624 0           $_[1]->{pools} = [];
24625 0           for my $i1 ( 0 .. ($len - 1) ) {
24626             # my ($class, $value, $index, $input) = @_;
24627 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pools}->[$i1], $_[2], $_[3] );
24628             }
24629             };
24630              
24631             # Deserializing field: 'ret'
24632             # my ($class, $value, $index, $input) = @_;
24633 0 0         die "Input buffer too short"
24634             if ($input_length - $_[2]) < 4;
24635 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
24636 0           $_[2] += 4;
24637             die "Out of bounds 'unsigned int': $_[1]->{ret}"
24638 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
24639             }
24640             # @_: ($class, $value, $index, $output) = @_;
24641             sub serialize_connect_list_all_storage_pools_ret {
24642 0 0   0 0   croak "Missing required input 'struct' value"
24643             unless defined $_[1];
24644              
24645             # Serializing field: 'pools'
24646             croak "Missing required input value 'pools'"
24647 0 0         unless exists $_[1]->{pools};
24648             # my ($class, $value, $index, $output) = @_;
24649             croak "Missing required input 'array' value"
24650 0 0         unless defined $_[1]->{pools};
24651 0           do {
24652 0           my $len = scalar @{ $_[1]->{pools} };
  0            
24653 0 0         die "Array too long (max: 16384): $len"
24654             unless ($len <= 16384);
24655              
24656 0           substr( $_[3], $_[2] ) = pack("L>", $len);
24657 0           $_[2] += 4;
24658 0           for my $i1 ( 0 .. ($len - 1) ) {
24659             # my ($class, $value, $index, $output) = @_;
24660 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pools}->[$i1], $_[2], $_[3] );
24661             }
24662             };
24663              
24664             # Serializing field: 'ret'
24665             croak "Missing required input value 'ret'"
24666 0 0         unless exists $_[1]->{ret};
24667             # my ($class, $value, $index, $output) = @_;
24668             croak "Missing required input 'unsigned int' value"
24669 0 0         unless defined $_[1]->{ret};
24670             die "Out of bounds 'unsigned int': $_[1]->{ret}"
24671 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
24672             die "Non-integer 'int' value given: $_[1]->{ret}"
24673 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
24674 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
24675 0           $_[2] += 4;
24676             }
24677             # @_: ($class, $value, $index, $input) = @_;
24678             sub deserialize_storage_pool_list_all_volumes_args {
24679 0     0 0   my $input_length = length $_[3];
24680 0           $_[1] = {};
24681             # Deserializing field: 'pool'
24682             # my ($class, $value, $index, $input) = @_;
24683 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
24684              
24685             # Deserializing field: 'need_results'
24686             # my ($class, $value, $index, $input) = @_;
24687 0 0         die "Input buffer too short"
24688             if ($input_length - $_[2]) < 4;
24689 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
24690 0           $_[2] += 4;
24691             die "Out of bounds 'int': $_[1]->{need_results}"
24692 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24693              
24694             # Deserializing field: 'flags'
24695             # my ($class, $value, $index, $input) = @_;
24696 0 0         die "Input buffer too short"
24697             if ($input_length - $_[2]) < 4;
24698 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24699 0           $_[2] += 4;
24700             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24701 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24702             }
24703             # @_: ($class, $value, $index, $output) = @_;
24704             sub serialize_storage_pool_list_all_volumes_args {
24705 0 0   0 0   croak "Missing required input 'struct' value"
24706             unless defined $_[1];
24707              
24708             # Serializing field: 'pool'
24709             croak "Missing required input value 'pool'"
24710 0 0         unless exists $_[1]->{pool};
24711             # my ($class, $value, $index, $output) = @_;
24712 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
24713              
24714             # Serializing field: 'need_results'
24715             croak "Missing required input value 'need_results'"
24716 0 0         unless exists $_[1]->{need_results};
24717             # my ($class, $value, $index, $output) = @_;
24718             croak "Missing required input 'int' value"
24719 0 0         unless defined $_[1]->{need_results};
24720             die "Out of bounds 'int': $_[1]->{need_results}"
24721 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24722             die "Non-integer 'int' value given: $_[1]->{need_results}"
24723 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
24724 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
24725 0           $_[2] += 4;
24726              
24727             # Serializing field: 'flags'
24728             croak "Missing required input value 'flags'"
24729 0 0         unless exists $_[1]->{flags};
24730             # my ($class, $value, $index, $output) = @_;
24731             croak "Missing required input 'unsigned int' value"
24732 0 0         unless defined $_[1]->{flags};
24733             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24734 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24735             die "Non-integer 'int' value given: $_[1]->{flags}"
24736 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24737 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24738 0           $_[2] += 4;
24739             }
24740             # @_: ($class, $value, $index, $input) = @_;
24741             sub deserialize_storage_pool_list_all_volumes_ret {
24742 0     0 0   my $input_length = length $_[3];
24743 0           $_[1] = {};
24744             # Deserializing field: 'vols'
24745             # my ($class, $value, $index, $input) = @_;
24746 0           do {
24747 0 0         die "Input buffer too short"
24748             if ($input_length - $_[2]) < 4;
24749 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
24750 0           $_[2] += 4;
24751              
24752 0 0         die "Array too long (max: 16384): $len"
24753             unless ($len <= 16384);
24754 0           $_[1]->{vols} = [];
24755 0           for my $i1 ( 0 .. ($len - 1) ) {
24756             # my ($class, $value, $index, $input) = @_;
24757 0           $_[0]->deserialize_nonnull_storage_vol( $_[1]->{vols}->[$i1], $_[2], $_[3] );
24758             }
24759             };
24760              
24761             # Deserializing field: 'ret'
24762             # my ($class, $value, $index, $input) = @_;
24763 0 0         die "Input buffer too short"
24764             if ($input_length - $_[2]) < 4;
24765 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
24766 0           $_[2] += 4;
24767             die "Out of bounds 'unsigned int': $_[1]->{ret}"
24768 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
24769             }
24770             # @_: ($class, $value, $index, $output) = @_;
24771             sub serialize_storage_pool_list_all_volumes_ret {
24772 0 0   0 0   croak "Missing required input 'struct' value"
24773             unless defined $_[1];
24774              
24775             # Serializing field: 'vols'
24776             croak "Missing required input value 'vols'"
24777 0 0         unless exists $_[1]->{vols};
24778             # my ($class, $value, $index, $output) = @_;
24779             croak "Missing required input 'array' value"
24780 0 0         unless defined $_[1]->{vols};
24781 0           do {
24782 0           my $len = scalar @{ $_[1]->{vols} };
  0            
24783 0 0         die "Array too long (max: 16384): $len"
24784             unless ($len <= 16384);
24785              
24786 0           substr( $_[3], $_[2] ) = pack("L>", $len);
24787 0           $_[2] += 4;
24788 0           for my $i1 ( 0 .. ($len - 1) ) {
24789             # my ($class, $value, $index, $output) = @_;
24790 0           $_[0]->serialize_nonnull_storage_vol( $_[1]->{vols}->[$i1], $_[2], $_[3] );
24791             }
24792             };
24793              
24794             # Serializing field: 'ret'
24795             croak "Missing required input value 'ret'"
24796 0 0         unless exists $_[1]->{ret};
24797             # my ($class, $value, $index, $output) = @_;
24798             croak "Missing required input 'unsigned int' value"
24799 0 0         unless defined $_[1]->{ret};
24800             die "Out of bounds 'unsigned int': $_[1]->{ret}"
24801 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
24802             die "Non-integer 'int' value given: $_[1]->{ret}"
24803 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
24804 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
24805 0           $_[2] += 4;
24806             }
24807             # @_: ($class, $value, $index, $input) = @_;
24808             sub deserialize_connect_list_all_networks_args {
24809 0     0 0   my $input_length = length $_[3];
24810 0           $_[1] = {};
24811             # Deserializing field: 'need_results'
24812             # my ($class, $value, $index, $input) = @_;
24813 0 0         die "Input buffer too short"
24814             if ($input_length - $_[2]) < 4;
24815 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
24816 0           $_[2] += 4;
24817             die "Out of bounds 'int': $_[1]->{need_results}"
24818 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24819              
24820             # Deserializing field: 'flags'
24821             # my ($class, $value, $index, $input) = @_;
24822 0 0         die "Input buffer too short"
24823             if ($input_length - $_[2]) < 4;
24824 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24825 0           $_[2] += 4;
24826             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24827 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24828             }
24829             # @_: ($class, $value, $index, $output) = @_;
24830             sub serialize_connect_list_all_networks_args {
24831 0 0   0 0   croak "Missing required input 'struct' value"
24832             unless defined $_[1];
24833              
24834             # Serializing field: 'need_results'
24835             croak "Missing required input value 'need_results'"
24836 0 0         unless exists $_[1]->{need_results};
24837             # my ($class, $value, $index, $output) = @_;
24838             croak "Missing required input 'int' value"
24839 0 0         unless defined $_[1]->{need_results};
24840             die "Out of bounds 'int': $_[1]->{need_results}"
24841 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24842             die "Non-integer 'int' value given: $_[1]->{need_results}"
24843 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
24844 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
24845 0           $_[2] += 4;
24846              
24847             # Serializing field: 'flags'
24848             croak "Missing required input value 'flags'"
24849 0 0         unless exists $_[1]->{flags};
24850             # my ($class, $value, $index, $output) = @_;
24851             croak "Missing required input 'unsigned int' value"
24852 0 0         unless defined $_[1]->{flags};
24853             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24854 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24855             die "Non-integer 'int' value given: $_[1]->{flags}"
24856 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24857 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24858 0           $_[2] += 4;
24859             }
24860             # @_: ($class, $value, $index, $input) = @_;
24861             sub deserialize_connect_list_all_networks_ret {
24862 0     0 0   my $input_length = length $_[3];
24863 0           $_[1] = {};
24864             # Deserializing field: 'nets'
24865             # my ($class, $value, $index, $input) = @_;
24866 0           do {
24867 0 0         die "Input buffer too short"
24868             if ($input_length - $_[2]) < 4;
24869 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
24870 0           $_[2] += 4;
24871              
24872 0 0         die "Array too long (max: 16384): $len"
24873             unless ($len <= 16384);
24874 0           $_[1]->{nets} = [];
24875 0           for my $i1 ( 0 .. ($len - 1) ) {
24876             # my ($class, $value, $index, $input) = @_;
24877 0           $_[0]->deserialize_nonnull_network( $_[1]->{nets}->[$i1], $_[2], $_[3] );
24878             }
24879             };
24880              
24881             # Deserializing field: 'ret'
24882             # my ($class, $value, $index, $input) = @_;
24883 0 0         die "Input buffer too short"
24884             if ($input_length - $_[2]) < 4;
24885 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
24886 0           $_[2] += 4;
24887             die "Out of bounds 'unsigned int': $_[1]->{ret}"
24888 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
24889             }
24890             # @_: ($class, $value, $index, $output) = @_;
24891             sub serialize_connect_list_all_networks_ret {
24892 0 0   0 0   croak "Missing required input 'struct' value"
24893             unless defined $_[1];
24894              
24895             # Serializing field: 'nets'
24896             croak "Missing required input value 'nets'"
24897 0 0         unless exists $_[1]->{nets};
24898             # my ($class, $value, $index, $output) = @_;
24899             croak "Missing required input 'array' value"
24900 0 0         unless defined $_[1]->{nets};
24901 0           do {
24902 0           my $len = scalar @{ $_[1]->{nets} };
  0            
24903 0 0         die "Array too long (max: 16384): $len"
24904             unless ($len <= 16384);
24905              
24906 0           substr( $_[3], $_[2] ) = pack("L>", $len);
24907 0           $_[2] += 4;
24908 0           for my $i1 ( 0 .. ($len - 1) ) {
24909             # my ($class, $value, $index, $output) = @_;
24910 0           $_[0]->serialize_nonnull_network( $_[1]->{nets}->[$i1], $_[2], $_[3] );
24911             }
24912             };
24913              
24914             # Serializing field: 'ret'
24915             croak "Missing required input value 'ret'"
24916 0 0         unless exists $_[1]->{ret};
24917             # my ($class, $value, $index, $output) = @_;
24918             croak "Missing required input 'unsigned int' value"
24919 0 0         unless defined $_[1]->{ret};
24920             die "Out of bounds 'unsigned int': $_[1]->{ret}"
24921 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
24922             die "Non-integer 'int' value given: $_[1]->{ret}"
24923 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
24924 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
24925 0           $_[2] += 4;
24926             }
24927             # @_: ($class, $value, $index, $input) = @_;
24928             sub deserialize_connect_list_all_interfaces_args {
24929 0     0 0   my $input_length = length $_[3];
24930 0           $_[1] = {};
24931             # Deserializing field: 'need_results'
24932             # my ($class, $value, $index, $input) = @_;
24933 0 0         die "Input buffer too short"
24934             if ($input_length - $_[2]) < 4;
24935 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
24936 0           $_[2] += 4;
24937             die "Out of bounds 'int': $_[1]->{need_results}"
24938 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24939              
24940             # Deserializing field: 'flags'
24941             # my ($class, $value, $index, $input) = @_;
24942 0 0         die "Input buffer too short"
24943             if ($input_length - $_[2]) < 4;
24944 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
24945 0           $_[2] += 4;
24946             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24947 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24948             }
24949             # @_: ($class, $value, $index, $output) = @_;
24950             sub serialize_connect_list_all_interfaces_args {
24951 0 0   0 0   croak "Missing required input 'struct' value"
24952             unless defined $_[1];
24953              
24954             # Serializing field: 'need_results'
24955             croak "Missing required input value 'need_results'"
24956 0 0         unless exists $_[1]->{need_results};
24957             # my ($class, $value, $index, $output) = @_;
24958             croak "Missing required input 'int' value"
24959 0 0         unless defined $_[1]->{need_results};
24960             die "Out of bounds 'int': $_[1]->{need_results}"
24961 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
24962             die "Non-integer 'int' value given: $_[1]->{need_results}"
24963 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
24964 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
24965 0           $_[2] += 4;
24966              
24967             # Serializing field: 'flags'
24968             croak "Missing required input value 'flags'"
24969 0 0         unless exists $_[1]->{flags};
24970             # my ($class, $value, $index, $output) = @_;
24971             croak "Missing required input 'unsigned int' value"
24972 0 0         unless defined $_[1]->{flags};
24973             die "Out of bounds 'unsigned int': $_[1]->{flags}"
24974 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
24975             die "Non-integer 'int' value given: $_[1]->{flags}"
24976 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
24977 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
24978 0           $_[2] += 4;
24979             }
24980             # @_: ($class, $value, $index, $input) = @_;
24981             sub deserialize_connect_list_all_interfaces_ret {
24982 0     0 0   my $input_length = length $_[3];
24983 0           $_[1] = {};
24984             # Deserializing field: 'ifaces'
24985             # my ($class, $value, $index, $input) = @_;
24986 0           do {
24987 0 0         die "Input buffer too short"
24988             if ($input_length - $_[2]) < 4;
24989 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
24990 0           $_[2] += 4;
24991              
24992 0 0         die "Array too long (max: 16384): $len"
24993             unless ($len <= 16384);
24994 0           $_[1]->{ifaces} = [];
24995 0           for my $i1 ( 0 .. ($len - 1) ) {
24996             # my ($class, $value, $index, $input) = @_;
24997 0           $_[0]->deserialize_nonnull_interface( $_[1]->{ifaces}->[$i1], $_[2], $_[3] );
24998             }
24999             };
25000              
25001             # Deserializing field: 'ret'
25002             # my ($class, $value, $index, $input) = @_;
25003 0 0         die "Input buffer too short"
25004             if ($input_length - $_[2]) < 4;
25005 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
25006 0           $_[2] += 4;
25007             die "Out of bounds 'unsigned int': $_[1]->{ret}"
25008 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
25009             }
25010             # @_: ($class, $value, $index, $output) = @_;
25011             sub serialize_connect_list_all_interfaces_ret {
25012 0 0   0 0   croak "Missing required input 'struct' value"
25013             unless defined $_[1];
25014              
25015             # Serializing field: 'ifaces'
25016             croak "Missing required input value 'ifaces'"
25017 0 0         unless exists $_[1]->{ifaces};
25018             # my ($class, $value, $index, $output) = @_;
25019             croak "Missing required input 'array' value"
25020 0 0         unless defined $_[1]->{ifaces};
25021 0           do {
25022 0           my $len = scalar @{ $_[1]->{ifaces} };
  0            
25023 0 0         die "Array too long (max: 16384): $len"
25024             unless ($len <= 16384);
25025              
25026 0           substr( $_[3], $_[2] ) = pack("L>", $len);
25027 0           $_[2] += 4;
25028 0           for my $i1 ( 0 .. ($len - 1) ) {
25029             # my ($class, $value, $index, $output) = @_;
25030 0           $_[0]->serialize_nonnull_interface( $_[1]->{ifaces}->[$i1], $_[2], $_[3] );
25031             }
25032             };
25033              
25034             # Serializing field: 'ret'
25035             croak "Missing required input value 'ret'"
25036 0 0         unless exists $_[1]->{ret};
25037             # my ($class, $value, $index, $output) = @_;
25038             croak "Missing required input 'unsigned int' value"
25039 0 0         unless defined $_[1]->{ret};
25040             die "Out of bounds 'unsigned int': $_[1]->{ret}"
25041 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
25042             die "Non-integer 'int' value given: $_[1]->{ret}"
25043 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
25044 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
25045 0           $_[2] += 4;
25046             }
25047             # @_: ($class, $value, $index, $input) = @_;
25048             sub deserialize_connect_list_all_node_devices_args {
25049 0     0 0   my $input_length = length $_[3];
25050 0           $_[1] = {};
25051             # Deserializing field: 'need_results'
25052             # my ($class, $value, $index, $input) = @_;
25053 0 0         die "Input buffer too short"
25054             if ($input_length - $_[2]) < 4;
25055 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
25056 0           $_[2] += 4;
25057             die "Out of bounds 'int': $_[1]->{need_results}"
25058 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
25059              
25060             # Deserializing field: 'flags'
25061             # my ($class, $value, $index, $input) = @_;
25062 0 0         die "Input buffer too short"
25063             if ($input_length - $_[2]) < 4;
25064 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25065 0           $_[2] += 4;
25066             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25067 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25068             }
25069             # @_: ($class, $value, $index, $output) = @_;
25070             sub serialize_connect_list_all_node_devices_args {
25071 0 0   0 0   croak "Missing required input 'struct' value"
25072             unless defined $_[1];
25073              
25074             # Serializing field: 'need_results'
25075             croak "Missing required input value 'need_results'"
25076 0 0         unless exists $_[1]->{need_results};
25077             # my ($class, $value, $index, $output) = @_;
25078             croak "Missing required input 'int' value"
25079 0 0         unless defined $_[1]->{need_results};
25080             die "Out of bounds 'int': $_[1]->{need_results}"
25081 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
25082             die "Non-integer 'int' value given: $_[1]->{need_results}"
25083 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
25084 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
25085 0           $_[2] += 4;
25086              
25087             # Serializing field: 'flags'
25088             croak "Missing required input value 'flags'"
25089 0 0         unless exists $_[1]->{flags};
25090             # my ($class, $value, $index, $output) = @_;
25091             croak "Missing required input 'unsigned int' value"
25092 0 0         unless defined $_[1]->{flags};
25093             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25094 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25095             die "Non-integer 'int' value given: $_[1]->{flags}"
25096 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
25097 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
25098 0           $_[2] += 4;
25099             }
25100             # @_: ($class, $value, $index, $input) = @_;
25101             sub deserialize_connect_list_all_node_devices_ret {
25102 0     0 0   my $input_length = length $_[3];
25103 0           $_[1] = {};
25104             # Deserializing field: 'devices'
25105             # my ($class, $value, $index, $input) = @_;
25106 0           do {
25107 0 0         die "Input buffer too short"
25108             if ($input_length - $_[2]) < 4;
25109 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
25110 0           $_[2] += 4;
25111              
25112 0 0         die "Array too long (max: 65536): $len"
25113             unless ($len <= 65536);
25114 0           $_[1]->{devices} = [];
25115 0           for my $i1 ( 0 .. ($len - 1) ) {
25116             # my ($class, $value, $index, $input) = @_;
25117 0           $_[0]->deserialize_nonnull_node_device( $_[1]->{devices}->[$i1], $_[2], $_[3] );
25118             }
25119             };
25120              
25121             # Deserializing field: 'ret'
25122             # my ($class, $value, $index, $input) = @_;
25123 0 0         die "Input buffer too short"
25124             if ($input_length - $_[2]) < 4;
25125 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
25126 0           $_[2] += 4;
25127             die "Out of bounds 'unsigned int': $_[1]->{ret}"
25128 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
25129             }
25130             # @_: ($class, $value, $index, $output) = @_;
25131             sub serialize_connect_list_all_node_devices_ret {
25132 0 0   0 0   croak "Missing required input 'struct' value"
25133             unless defined $_[1];
25134              
25135             # Serializing field: 'devices'
25136             croak "Missing required input value 'devices'"
25137 0 0         unless exists $_[1]->{devices};
25138             # my ($class, $value, $index, $output) = @_;
25139             croak "Missing required input 'array' value"
25140 0 0         unless defined $_[1]->{devices};
25141 0           do {
25142 0           my $len = scalar @{ $_[1]->{devices} };
  0            
25143 0 0         die "Array too long (max: 65536): $len"
25144             unless ($len <= 65536);
25145              
25146 0           substr( $_[3], $_[2] ) = pack("L>", $len);
25147 0           $_[2] += 4;
25148 0           for my $i1 ( 0 .. ($len - 1) ) {
25149             # my ($class, $value, $index, $output) = @_;
25150 0           $_[0]->serialize_nonnull_node_device( $_[1]->{devices}->[$i1], $_[2], $_[3] );
25151             }
25152             };
25153              
25154             # Serializing field: 'ret'
25155             croak "Missing required input value 'ret'"
25156 0 0         unless exists $_[1]->{ret};
25157             # my ($class, $value, $index, $output) = @_;
25158             croak "Missing required input 'unsigned int' value"
25159 0 0         unless defined $_[1]->{ret};
25160             die "Out of bounds 'unsigned int': $_[1]->{ret}"
25161 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
25162             die "Non-integer 'int' value given: $_[1]->{ret}"
25163 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
25164 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
25165 0           $_[2] += 4;
25166             }
25167             # @_: ($class, $value, $index, $input) = @_;
25168             sub deserialize_connect_list_all_nwfilters_args {
25169 0     0 0   my $input_length = length $_[3];
25170 0           $_[1] = {};
25171             # Deserializing field: 'need_results'
25172             # my ($class, $value, $index, $input) = @_;
25173 0 0         die "Input buffer too short"
25174             if ($input_length - $_[2]) < 4;
25175 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
25176 0           $_[2] += 4;
25177             die "Out of bounds 'int': $_[1]->{need_results}"
25178 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
25179              
25180             # Deserializing field: 'flags'
25181             # my ($class, $value, $index, $input) = @_;
25182 0 0         die "Input buffer too short"
25183             if ($input_length - $_[2]) < 4;
25184 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25185 0           $_[2] += 4;
25186             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25187 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25188             }
25189             # @_: ($class, $value, $index, $output) = @_;
25190             sub serialize_connect_list_all_nwfilters_args {
25191 0 0   0 0   croak "Missing required input 'struct' value"
25192             unless defined $_[1];
25193              
25194             # Serializing field: 'need_results'
25195             croak "Missing required input value 'need_results'"
25196 0 0         unless exists $_[1]->{need_results};
25197             # my ($class, $value, $index, $output) = @_;
25198             croak "Missing required input 'int' value"
25199 0 0         unless defined $_[1]->{need_results};
25200             die "Out of bounds 'int': $_[1]->{need_results}"
25201 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
25202             die "Non-integer 'int' value given: $_[1]->{need_results}"
25203 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
25204 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
25205 0           $_[2] += 4;
25206              
25207             # Serializing field: 'flags'
25208             croak "Missing required input value 'flags'"
25209 0 0         unless exists $_[1]->{flags};
25210             # my ($class, $value, $index, $output) = @_;
25211             croak "Missing required input 'unsigned int' value"
25212 0 0         unless defined $_[1]->{flags};
25213             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25214 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25215             die "Non-integer 'int' value given: $_[1]->{flags}"
25216 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
25217 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
25218 0           $_[2] += 4;
25219             }
25220             # @_: ($class, $value, $index, $input) = @_;
25221             sub deserialize_connect_list_all_nwfilters_ret {
25222 0     0 0   my $input_length = length $_[3];
25223 0           $_[1] = {};
25224             # Deserializing field: 'filters'
25225             # my ($class, $value, $index, $input) = @_;
25226 0           do {
25227 0 0         die "Input buffer too short"
25228             if ($input_length - $_[2]) < 4;
25229 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
25230 0           $_[2] += 4;
25231              
25232 0 0         die "Array too long (max: 16384): $len"
25233             unless ($len <= 16384);
25234 0           $_[1]->{filters} = [];
25235 0           for my $i1 ( 0 .. ($len - 1) ) {
25236             # my ($class, $value, $index, $input) = @_;
25237 0           $_[0]->deserialize_nonnull_nwfilter( $_[1]->{filters}->[$i1], $_[2], $_[3] );
25238             }
25239             };
25240              
25241             # Deserializing field: 'ret'
25242             # my ($class, $value, $index, $input) = @_;
25243 0 0         die "Input buffer too short"
25244             if ($input_length - $_[2]) < 4;
25245 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
25246 0           $_[2] += 4;
25247             die "Out of bounds 'unsigned int': $_[1]->{ret}"
25248 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
25249             }
25250             # @_: ($class, $value, $index, $output) = @_;
25251             sub serialize_connect_list_all_nwfilters_ret {
25252 0 0   0 0   croak "Missing required input 'struct' value"
25253             unless defined $_[1];
25254              
25255             # Serializing field: 'filters'
25256             croak "Missing required input value 'filters'"
25257 0 0         unless exists $_[1]->{filters};
25258             # my ($class, $value, $index, $output) = @_;
25259             croak "Missing required input 'array' value"
25260 0 0         unless defined $_[1]->{filters};
25261 0           do {
25262 0           my $len = scalar @{ $_[1]->{filters} };
  0            
25263 0 0         die "Array too long (max: 16384): $len"
25264             unless ($len <= 16384);
25265              
25266 0           substr( $_[3], $_[2] ) = pack("L>", $len);
25267 0           $_[2] += 4;
25268 0           for my $i1 ( 0 .. ($len - 1) ) {
25269             # my ($class, $value, $index, $output) = @_;
25270 0           $_[0]->serialize_nonnull_nwfilter( $_[1]->{filters}->[$i1], $_[2], $_[3] );
25271             }
25272             };
25273              
25274             # Serializing field: 'ret'
25275             croak "Missing required input value 'ret'"
25276 0 0         unless exists $_[1]->{ret};
25277             # my ($class, $value, $index, $output) = @_;
25278             croak "Missing required input 'unsigned int' value"
25279 0 0         unless defined $_[1]->{ret};
25280             die "Out of bounds 'unsigned int': $_[1]->{ret}"
25281 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
25282             die "Non-integer 'int' value given: $_[1]->{ret}"
25283 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
25284 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
25285 0           $_[2] += 4;
25286             }
25287             # @_: ($class, $value, $index, $input) = @_;
25288             sub deserialize_connect_list_all_secrets_args {
25289 0     0 0   my $input_length = length $_[3];
25290 0           $_[1] = {};
25291             # Deserializing field: 'need_results'
25292             # my ($class, $value, $index, $input) = @_;
25293 0 0         die "Input buffer too short"
25294             if ($input_length - $_[2]) < 4;
25295 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
25296 0           $_[2] += 4;
25297             die "Out of bounds 'int': $_[1]->{need_results}"
25298 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
25299              
25300             # Deserializing field: 'flags'
25301             # my ($class, $value, $index, $input) = @_;
25302 0 0         die "Input buffer too short"
25303             if ($input_length - $_[2]) < 4;
25304 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25305 0           $_[2] += 4;
25306             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25307 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25308             }
25309             # @_: ($class, $value, $index, $output) = @_;
25310             sub serialize_connect_list_all_secrets_args {
25311 0 0   0 0   croak "Missing required input 'struct' value"
25312             unless defined $_[1];
25313              
25314             # Serializing field: 'need_results'
25315             croak "Missing required input value 'need_results'"
25316 0 0         unless exists $_[1]->{need_results};
25317             # my ($class, $value, $index, $output) = @_;
25318             croak "Missing required input 'int' value"
25319 0 0         unless defined $_[1]->{need_results};
25320             die "Out of bounds 'int': $_[1]->{need_results}"
25321 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
25322             die "Non-integer 'int' value given: $_[1]->{need_results}"
25323 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
25324 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
25325 0           $_[2] += 4;
25326              
25327             # Serializing field: 'flags'
25328             croak "Missing required input value 'flags'"
25329 0 0         unless exists $_[1]->{flags};
25330             # my ($class, $value, $index, $output) = @_;
25331             croak "Missing required input 'unsigned int' value"
25332 0 0         unless defined $_[1]->{flags};
25333             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25334 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25335             die "Non-integer 'int' value given: $_[1]->{flags}"
25336 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
25337 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
25338 0           $_[2] += 4;
25339             }
25340             # @_: ($class, $value, $index, $input) = @_;
25341             sub deserialize_connect_list_all_secrets_ret {
25342 0     0 0   my $input_length = length $_[3];
25343 0           $_[1] = {};
25344             # Deserializing field: 'secrets'
25345             # my ($class, $value, $index, $input) = @_;
25346 0           do {
25347 0 0         die "Input buffer too short"
25348             if ($input_length - $_[2]) < 4;
25349 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
25350 0           $_[2] += 4;
25351              
25352 0 0         die "Array too long (max: 16384): $len"
25353             unless ($len <= 16384);
25354 0           $_[1]->{secrets} = [];
25355 0           for my $i1 ( 0 .. ($len - 1) ) {
25356             # my ($class, $value, $index, $input) = @_;
25357 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secrets}->[$i1], $_[2], $_[3] );
25358             }
25359             };
25360              
25361             # Deserializing field: 'ret'
25362             # my ($class, $value, $index, $input) = @_;
25363 0 0         die "Input buffer too short"
25364             if ($input_length - $_[2]) < 4;
25365 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
25366 0           $_[2] += 4;
25367             die "Out of bounds 'unsigned int': $_[1]->{ret}"
25368 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
25369             }
25370             # @_: ($class, $value, $index, $output) = @_;
25371             sub serialize_connect_list_all_secrets_ret {
25372 0 0   0 0   croak "Missing required input 'struct' value"
25373             unless defined $_[1];
25374              
25375             # Serializing field: 'secrets'
25376             croak "Missing required input value 'secrets'"
25377 0 0         unless exists $_[1]->{secrets};
25378             # my ($class, $value, $index, $output) = @_;
25379             croak "Missing required input 'array' value"
25380 0 0         unless defined $_[1]->{secrets};
25381 0           do {
25382 0           my $len = scalar @{ $_[1]->{secrets} };
  0            
25383 0 0         die "Array too long (max: 16384): $len"
25384             unless ($len <= 16384);
25385              
25386 0           substr( $_[3], $_[2] ) = pack("L>", $len);
25387 0           $_[2] += 4;
25388 0           for my $i1 ( 0 .. ($len - 1) ) {
25389             # my ($class, $value, $index, $output) = @_;
25390 0           $_[0]->serialize_nonnull_secret( $_[1]->{secrets}->[$i1], $_[2], $_[3] );
25391             }
25392             };
25393              
25394             # Serializing field: 'ret'
25395             croak "Missing required input value 'ret'"
25396 0 0         unless exists $_[1]->{ret};
25397             # my ($class, $value, $index, $output) = @_;
25398             croak "Missing required input 'unsigned int' value"
25399 0 0         unless defined $_[1]->{ret};
25400             die "Out of bounds 'unsigned int': $_[1]->{ret}"
25401 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
25402             die "Non-integer 'int' value given: $_[1]->{ret}"
25403 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
25404 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
25405 0           $_[2] += 4;
25406             }
25407             # @_: ($class, $value, $index, $input) = @_;
25408             sub deserialize_node_set_memory_parameters_args {
25409 0     0 0   my $input_length = length $_[3];
25410 0           $_[1] = {};
25411             # Deserializing field: 'params'
25412             # my ($class, $value, $index, $input) = @_;
25413 0           do {
25414 0 0         die "Input buffer too short"
25415             if ($input_length - $_[2]) < 4;
25416 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
25417 0           $_[2] += 4;
25418              
25419 0 0         die "Array too long (max: 64): $len"
25420             unless ($len <= 64);
25421 0           $_[1]->{params} = [];
25422 0           for my $i1 ( 0 .. ($len - 1) ) {
25423             # my ($class, $value, $index, $input) = @_;
25424 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
25425             }
25426             };
25427              
25428             # Deserializing field: 'flags'
25429             # my ($class, $value, $index, $input) = @_;
25430 0 0         die "Input buffer too short"
25431             if ($input_length - $_[2]) < 4;
25432 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25433 0           $_[2] += 4;
25434             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25435 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25436             }
25437             # @_: ($class, $value, $index, $output) = @_;
25438             sub serialize_node_set_memory_parameters_args {
25439 0 0   0 0   croak "Missing required input 'struct' value"
25440             unless defined $_[1];
25441              
25442             # Serializing field: 'params'
25443             croak "Missing required input value 'params'"
25444 0 0         unless exists $_[1]->{params};
25445             # my ($class, $value, $index, $output) = @_;
25446             croak "Missing required input 'array' value"
25447 0 0         unless defined $_[1]->{params};
25448 0           do {
25449 0           my $len = scalar @{ $_[1]->{params} };
  0            
25450 0 0         die "Array too long (max: 64): $len"
25451             unless ($len <= 64);
25452              
25453 0           substr( $_[3], $_[2] ) = pack("L>", $len);
25454 0           $_[2] += 4;
25455 0           for my $i1 ( 0 .. ($len - 1) ) {
25456             # my ($class, $value, $index, $output) = @_;
25457 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
25458             }
25459             };
25460              
25461             # Serializing field: 'flags'
25462             croak "Missing required input value 'flags'"
25463 0 0         unless exists $_[1]->{flags};
25464             # my ($class, $value, $index, $output) = @_;
25465             croak "Missing required input 'unsigned int' value"
25466 0 0         unless defined $_[1]->{flags};
25467             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25468 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25469             die "Non-integer 'int' value given: $_[1]->{flags}"
25470 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
25471 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
25472 0           $_[2] += 4;
25473             }
25474             # @_: ($class, $value, $index, $input) = @_;
25475             sub deserialize_node_get_memory_parameters_args {
25476 0     0 0   my $input_length = length $_[3];
25477 0           $_[1] = {};
25478             # Deserializing field: 'nparams'
25479             # my ($class, $value, $index, $input) = @_;
25480 0 0         die "Input buffer too short"
25481             if ($input_length - $_[2]) < 4;
25482 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
25483 0           $_[2] += 4;
25484             die "Out of bounds 'int': $_[1]->{nparams}"
25485 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
25486              
25487             # Deserializing field: 'flags'
25488             # my ($class, $value, $index, $input) = @_;
25489 0 0         die "Input buffer too short"
25490             if ($input_length - $_[2]) < 4;
25491 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25492 0           $_[2] += 4;
25493             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25494 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25495             }
25496             # @_: ($class, $value, $index, $output) = @_;
25497             sub serialize_node_get_memory_parameters_args {
25498 0 0   0 0   croak "Missing required input 'struct' value"
25499             unless defined $_[1];
25500              
25501             # Serializing field: 'nparams'
25502             croak "Missing required input value 'nparams'"
25503 0 0         unless exists $_[1]->{nparams};
25504             # my ($class, $value, $index, $output) = @_;
25505             croak "Missing required input 'int' value"
25506 0 0         unless defined $_[1]->{nparams};
25507             die "Out of bounds 'int': $_[1]->{nparams}"
25508 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
25509             die "Non-integer 'int' value given: $_[1]->{nparams}"
25510 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
25511 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
25512 0           $_[2] += 4;
25513              
25514             # Serializing field: 'flags'
25515             croak "Missing required input value 'flags'"
25516 0 0         unless exists $_[1]->{flags};
25517             # my ($class, $value, $index, $output) = @_;
25518             croak "Missing required input 'unsigned int' value"
25519 0 0         unless defined $_[1]->{flags};
25520             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25521 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25522             die "Non-integer 'int' value given: $_[1]->{flags}"
25523 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
25524 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
25525 0           $_[2] += 4;
25526             }
25527             # @_: ($class, $value, $index, $input) = @_;
25528             sub deserialize_node_get_memory_parameters_ret {
25529 0     0 0   my $input_length = length $_[3];
25530 0           $_[1] = {};
25531             # Deserializing field: 'params'
25532             # my ($class, $value, $index, $input) = @_;
25533 0           do {
25534 0 0         die "Input buffer too short"
25535             if ($input_length - $_[2]) < 4;
25536 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
25537 0           $_[2] += 4;
25538              
25539 0 0         die "Array too long (max: 64): $len"
25540             unless ($len <= 64);
25541 0           $_[1]->{params} = [];
25542 0           for my $i1 ( 0 .. ($len - 1) ) {
25543             # my ($class, $value, $index, $input) = @_;
25544 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
25545             }
25546             };
25547              
25548             # Deserializing field: 'nparams'
25549             # my ($class, $value, $index, $input) = @_;
25550 0 0         die "Input buffer too short"
25551             if ($input_length - $_[2]) < 4;
25552 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
25553 0           $_[2] += 4;
25554             die "Out of bounds 'int': $_[1]->{nparams}"
25555 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
25556             }
25557             # @_: ($class, $value, $index, $output) = @_;
25558             sub serialize_node_get_memory_parameters_ret {
25559 0 0   0 0   croak "Missing required input 'struct' value"
25560             unless defined $_[1];
25561              
25562             # Serializing field: 'params'
25563             croak "Missing required input value 'params'"
25564 0 0         unless exists $_[1]->{params};
25565             # my ($class, $value, $index, $output) = @_;
25566             croak "Missing required input 'array' value"
25567 0 0         unless defined $_[1]->{params};
25568 0           do {
25569 0           my $len = scalar @{ $_[1]->{params} };
  0            
25570 0 0         die "Array too long (max: 64): $len"
25571             unless ($len <= 64);
25572              
25573 0           substr( $_[3], $_[2] ) = pack("L>", $len);
25574 0           $_[2] += 4;
25575 0           for my $i1 ( 0 .. ($len - 1) ) {
25576             # my ($class, $value, $index, $output) = @_;
25577 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
25578             }
25579             };
25580              
25581             # Serializing field: 'nparams'
25582             croak "Missing required input value 'nparams'"
25583 0 0         unless exists $_[1]->{nparams};
25584             # my ($class, $value, $index, $output) = @_;
25585             croak "Missing required input 'int' value"
25586 0 0         unless defined $_[1]->{nparams};
25587             die "Out of bounds 'int': $_[1]->{nparams}"
25588 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
25589             die "Non-integer 'int' value given: $_[1]->{nparams}"
25590 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
25591 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
25592 0           $_[2] += 4;
25593             }
25594             # @_: ($class, $value, $index, $input) = @_;
25595             sub deserialize_node_get_cpu_map_args {
25596 0     0 0   my $input_length = length $_[3];
25597 0           $_[1] = {};
25598             # Deserializing field: 'need_map'
25599             # my ($class, $value, $index, $input) = @_;
25600 0 0         die "Input buffer too short"
25601             if ($input_length - $_[2]) < 4;
25602 0           $_[1]->{need_map} = unpack("l>", substr( $_[3], $_[2] ));
25603 0           $_[2] += 4;
25604             die "Out of bounds 'int': $_[1]->{need_map}"
25605 0 0 0       unless (-2147483648 <= $_[1]->{need_map} and $_[1]->{need_map} < 2147483648);
25606              
25607             # Deserializing field: 'need_online'
25608             # my ($class, $value, $index, $input) = @_;
25609 0 0         die "Input buffer too short"
25610             if ($input_length - $_[2]) < 4;
25611 0           $_[1]->{need_online} = unpack("l>", substr( $_[3], $_[2] ));
25612 0           $_[2] += 4;
25613             die "Out of bounds 'int': $_[1]->{need_online}"
25614 0 0 0       unless (-2147483648 <= $_[1]->{need_online} and $_[1]->{need_online} < 2147483648);
25615              
25616             # Deserializing field: 'flags'
25617             # my ($class, $value, $index, $input) = @_;
25618 0 0         die "Input buffer too short"
25619             if ($input_length - $_[2]) < 4;
25620 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25621 0           $_[2] += 4;
25622             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25623 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25624             }
25625             # @_: ($class, $value, $index, $output) = @_;
25626             sub serialize_node_get_cpu_map_args {
25627 0 0   0 0   croak "Missing required input 'struct' value"
25628             unless defined $_[1];
25629              
25630             # Serializing field: 'need_map'
25631             croak "Missing required input value 'need_map'"
25632 0 0         unless exists $_[1]->{need_map};
25633             # my ($class, $value, $index, $output) = @_;
25634             croak "Missing required input 'int' value"
25635 0 0         unless defined $_[1]->{need_map};
25636             die "Out of bounds 'int': $_[1]->{need_map}"
25637 0 0 0       unless (-2147483648 <= $_[1]->{need_map} and $_[1]->{need_map} < 2147483648);
25638             die "Non-integer 'int' value given: $_[1]->{need_map}"
25639 0 0         unless int($_[1]->{need_map}) == $_[1]->{need_map};
25640 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_map});
25641 0           $_[2] += 4;
25642              
25643             # Serializing field: 'need_online'
25644             croak "Missing required input value 'need_online'"
25645 0 0         unless exists $_[1]->{need_online};
25646             # my ($class, $value, $index, $output) = @_;
25647             croak "Missing required input 'int' value"
25648 0 0         unless defined $_[1]->{need_online};
25649             die "Out of bounds 'int': $_[1]->{need_online}"
25650 0 0 0       unless (-2147483648 <= $_[1]->{need_online} and $_[1]->{need_online} < 2147483648);
25651             die "Non-integer 'int' value given: $_[1]->{need_online}"
25652 0 0         unless int($_[1]->{need_online}) == $_[1]->{need_online};
25653 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_online});
25654 0           $_[2] += 4;
25655              
25656             # Serializing field: 'flags'
25657             croak "Missing required input value 'flags'"
25658 0 0         unless exists $_[1]->{flags};
25659             # my ($class, $value, $index, $output) = @_;
25660             croak "Missing required input 'unsigned int' value"
25661 0 0         unless defined $_[1]->{flags};
25662             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25663 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25664             die "Non-integer 'int' value given: $_[1]->{flags}"
25665 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
25666 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
25667 0           $_[2] += 4;
25668             }
25669             # @_: ($class, $value, $index, $input) = @_;
25670             sub deserialize_node_get_cpu_map_ret {
25671 0     0 0   my $input_length = length $_[3];
25672 0           $_[1] = {};
25673             # Deserializing field: 'cpumap'
25674             # my ($class, $value, $index, $input) = @_;
25675 0           do {
25676 0 0         die "Input buffer too short"
25677             if ($input_length - $_[2]) < 4;
25678 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
25679 0           $_[2] += 4;
25680 0 0         die "Opaque data too long (max: 2048): $len"
25681             unless ($len <= 2048);
25682 0 0         die "Input buffer too short"
25683             if ($input_length - $_[2]) < $len;
25684 0           $_[1]->{cpumap} = substr( $_[3], $_[2], $len );
25685 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
25686             };
25687              
25688             # Deserializing field: 'online'
25689             # my ($class, $value, $index, $input) = @_;
25690 0 0         die "Input buffer too short"
25691             if ($input_length - $_[2]) < 4;
25692 0           $_[1]->{online} = unpack("L>", substr( $_[3], $_[2] ));
25693 0           $_[2] += 4;
25694             die "Out of bounds 'unsigned int': $_[1]->{online}"
25695 0 0 0       unless (0 <= $_[1]->{online} and $_[1]->{online} <= 4294967295);
25696              
25697             # Deserializing field: 'ret'
25698             # my ($class, $value, $index, $input) = @_;
25699 0 0         die "Input buffer too short"
25700             if ($input_length - $_[2]) < 4;
25701 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
25702 0           $_[2] += 4;
25703             die "Out of bounds 'int': $_[1]->{ret}"
25704 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
25705             }
25706             # @_: ($class, $value, $index, $output) = @_;
25707             sub serialize_node_get_cpu_map_ret {
25708 0 0   0 0   croak "Missing required input 'struct' value"
25709             unless defined $_[1];
25710              
25711             # Serializing field: 'cpumap'
25712             croak "Missing required input value 'cpumap'"
25713 0 0         unless exists $_[1]->{cpumap};
25714             # my ($class, $value, $index, $output) = @_;
25715             croak "Missing required input 'opaque data' value"
25716 0 0         unless defined $_[1]->{cpumap};
25717 0           do {
25718 0           my $len = length $_[1]->{cpumap};
25719 0 0         die "Opaque data too long (max: 2048): $len"
25720             unless ($len <= 2048);
25721              
25722 0           substr( $_[3], $_[2] ) = pack("L>", $len);
25723 0           $_[2] += 4;
25724 0           substr( $_[3], $_[2] ) = $_[1]->{cpumap};
25725 0           $_[2] += $len;
25726 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
25727 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
25728 0           $_[2] += $pad;
25729             }
25730             };
25731              
25732             # Serializing field: 'online'
25733             croak "Missing required input value 'online'"
25734 0 0         unless exists $_[1]->{online};
25735             # my ($class, $value, $index, $output) = @_;
25736             croak "Missing required input 'unsigned int' value"
25737 0 0         unless defined $_[1]->{online};
25738             die "Out of bounds 'unsigned int': $_[1]->{online}"
25739 0 0 0       unless (0 <= $_[1]->{online} and $_[1]->{online} <= 4294967295);
25740             die "Non-integer 'int' value given: $_[1]->{online}"
25741 0 0         unless int($_[1]->{online}) == $_[1]->{online};
25742 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{online});
25743 0           $_[2] += 4;
25744              
25745             # Serializing field: 'ret'
25746             croak "Missing required input value 'ret'"
25747 0 0         unless exists $_[1]->{ret};
25748             # my ($class, $value, $index, $output) = @_;
25749             croak "Missing required input 'int' value"
25750 0 0         unless defined $_[1]->{ret};
25751             die "Out of bounds 'int': $_[1]->{ret}"
25752 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
25753             die "Non-integer 'int' value given: $_[1]->{ret}"
25754 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
25755 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
25756 0           $_[2] += 4;
25757             }
25758             # @_: ($class, $value, $index, $input) = @_;
25759             sub deserialize_domain_fstrim_args {
25760 0     0 0   my $input_length = length $_[3];
25761 0           $_[1] = {};
25762             # Deserializing field: 'dom'
25763             # my ($class, $value, $index, $input) = @_;
25764 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
25765              
25766             # Deserializing field: 'mountPoint'
25767             # my ($class, $value, $index, $input) = @_;
25768 0           $_[0]->deserialize_string( $_[1]->{mountPoint}, $_[2], $_[3] );
25769              
25770             # Deserializing field: 'minimum'
25771             # my ($class, $value, $index, $input) = @_;
25772 0 0         die "Input buffer too short"
25773             if ($input_length - $_[2]) < 8;
25774 0           $_[1]->{minimum} = unpack("Q>", substr( $_[3], $_[2] ));
25775 0           $_[2] += 8;
25776             die "Out of bounds 'unsigned hyper': $_[1]->{minimum}"
25777             unless (0 <= $_[1]->{minimum}
25778 0 0 0       and $_[1]->{minimum} <= 18446744073709551615);
25779              
25780             # Deserializing field: 'flags'
25781             # my ($class, $value, $index, $input) = @_;
25782 0 0         die "Input buffer too short"
25783             if ($input_length - $_[2]) < 4;
25784 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25785 0           $_[2] += 4;
25786             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25787 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25788             }
25789             # @_: ($class, $value, $index, $output) = @_;
25790             sub serialize_domain_fstrim_args {
25791 0 0   0 0   croak "Missing required input 'struct' value"
25792             unless defined $_[1];
25793              
25794             # Serializing field: 'dom'
25795             croak "Missing required input value 'dom'"
25796 0 0         unless exists $_[1]->{dom};
25797             # my ($class, $value, $index, $output) = @_;
25798 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
25799              
25800             # Serializing field: 'mountPoint'
25801             croak "Missing required input value 'mountPoint'"
25802 0 0         unless exists $_[1]->{mountPoint};
25803             # my ($class, $value, $index, $output) = @_;
25804 0           $_[0]->serialize_string( $_[1]->{mountPoint}, $_[2], $_[3] );
25805              
25806             # Serializing field: 'minimum'
25807             croak "Missing required input value 'minimum'"
25808 0 0         unless exists $_[1]->{minimum};
25809             # my ($class, $value, $index, $output) = @_;
25810             croak "Missing required input 'unsigned long' value"
25811 0 0         unless defined $_[1]->{minimum};
25812             die "Out of bounds 'unsigned hyper': $_[1]->{minimum}"
25813             unless (0 <= $_[1]->{minimum}
25814 0 0 0       and $_[1]->{minimum} <= 18446744073709551615);
25815             die "Non-integer 'long' value given: $_[1]->{minimum}"
25816 0 0         unless int($_[1]->{minimum}) == $_[1]->{minimum};
25817 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{minimum});
25818 0           $_[2] += 8;
25819              
25820             # Serializing field: 'flags'
25821             croak "Missing required input value 'flags'"
25822 0 0         unless exists $_[1]->{flags};
25823             # my ($class, $value, $index, $output) = @_;
25824             croak "Missing required input 'unsigned int' value"
25825 0 0         unless defined $_[1]->{flags};
25826             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25827 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25828             die "Non-integer 'int' value given: $_[1]->{flags}"
25829 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
25830 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
25831 0           $_[2] += 4;
25832             }
25833             # @_: ($class, $value, $index, $input) = @_;
25834             sub deserialize_domain_get_time_args {
25835 0     0 0   my $input_length = length $_[3];
25836 0           $_[1] = {};
25837             # Deserializing field: 'dom'
25838             # my ($class, $value, $index, $input) = @_;
25839 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
25840              
25841             # Deserializing field: 'flags'
25842             # my ($class, $value, $index, $input) = @_;
25843 0 0         die "Input buffer too short"
25844             if ($input_length - $_[2]) < 4;
25845 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25846 0           $_[2] += 4;
25847             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25848 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25849             }
25850             # @_: ($class, $value, $index, $output) = @_;
25851             sub serialize_domain_get_time_args {
25852 0 0   0 0   croak "Missing required input 'struct' value"
25853             unless defined $_[1];
25854              
25855             # Serializing field: 'dom'
25856             croak "Missing required input value 'dom'"
25857 0 0         unless exists $_[1]->{dom};
25858             # my ($class, $value, $index, $output) = @_;
25859 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
25860              
25861             # Serializing field: 'flags'
25862             croak "Missing required input value 'flags'"
25863 0 0         unless exists $_[1]->{flags};
25864             # my ($class, $value, $index, $output) = @_;
25865             croak "Missing required input 'unsigned int' value"
25866 0 0         unless defined $_[1]->{flags};
25867             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25868 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25869             die "Non-integer 'int' value given: $_[1]->{flags}"
25870 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
25871 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
25872 0           $_[2] += 4;
25873             }
25874             # @_: ($class, $value, $index, $input) = @_;
25875             sub deserialize_domain_get_time_ret {
25876 0     0 0   my $input_length = length $_[3];
25877 0           $_[1] = {};
25878             # Deserializing field: 'seconds'
25879             # my ($class, $value, $index, $input) = @_;
25880 0 0         die "Input buffer too short"
25881             if ($input_length - $_[2]) < 8;
25882 0           $_[1]->{seconds} = unpack("q>", substr( $_[3], $_[2] ));
25883 0           $_[2] += 8;
25884             die "Out of bounds 'hyper': $_[1]->{seconds}"
25885             unless (-9223372036854775808 <= $_[1]->{seconds}
25886 0 0 0       and $_[1]->{seconds} < 9223372036854775808);
25887              
25888             # Deserializing field: 'nseconds'
25889             # my ($class, $value, $index, $input) = @_;
25890 0 0         die "Input buffer too short"
25891             if ($input_length - $_[2]) < 4;
25892 0           $_[1]->{nseconds} = unpack("L>", substr( $_[3], $_[2] ));
25893 0           $_[2] += 4;
25894             die "Out of bounds 'unsigned int': $_[1]->{nseconds}"
25895 0 0 0       unless (0 <= $_[1]->{nseconds} and $_[1]->{nseconds} <= 4294967295);
25896             }
25897             # @_: ($class, $value, $index, $output) = @_;
25898             sub serialize_domain_get_time_ret {
25899 0 0   0 0   croak "Missing required input 'struct' value"
25900             unless defined $_[1];
25901              
25902             # Serializing field: 'seconds'
25903             croak "Missing required input value 'seconds'"
25904 0 0         unless exists $_[1]->{seconds};
25905             # my ($class, $value, $index, $output) = @_;
25906             croak "Missing required input 'long' value"
25907 0 0         unless defined $_[1]->{seconds};
25908             die "Out of bounds 'hyper': $_[1]->{seconds}"
25909             unless (-9223372036854775808 <= $_[1]->{seconds}
25910 0 0 0       and $_[1]->{seconds} < 9223372036854775808);
25911             die "Non-integer 'long' value given: $_[1]->{seconds}"
25912 0 0         unless int($_[1]->{seconds}) == $_[1]->{seconds};
25913 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{seconds});
25914 0           $_[2] += 8;
25915              
25916             # Serializing field: 'nseconds'
25917             croak "Missing required input value 'nseconds'"
25918 0 0         unless exists $_[1]->{nseconds};
25919             # my ($class, $value, $index, $output) = @_;
25920             croak "Missing required input 'unsigned int' value"
25921 0 0         unless defined $_[1]->{nseconds};
25922             die "Out of bounds 'unsigned int': $_[1]->{nseconds}"
25923 0 0 0       unless (0 <= $_[1]->{nseconds} and $_[1]->{nseconds} <= 4294967295);
25924             die "Non-integer 'int' value given: $_[1]->{nseconds}"
25925 0 0         unless int($_[1]->{nseconds}) == $_[1]->{nseconds};
25926 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{nseconds});
25927 0           $_[2] += 4;
25928             }
25929             # @_: ($class, $value, $index, $input) = @_;
25930             sub deserialize_domain_set_time_args {
25931 0     0 0   my $input_length = length $_[3];
25932 0           $_[1] = {};
25933             # Deserializing field: 'dom'
25934             # my ($class, $value, $index, $input) = @_;
25935 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
25936              
25937             # Deserializing field: 'seconds'
25938             # my ($class, $value, $index, $input) = @_;
25939 0 0         die "Input buffer too short"
25940             if ($input_length - $_[2]) < 8;
25941 0           $_[1]->{seconds} = unpack("q>", substr( $_[3], $_[2] ));
25942 0           $_[2] += 8;
25943             die "Out of bounds 'hyper': $_[1]->{seconds}"
25944             unless (-9223372036854775808 <= $_[1]->{seconds}
25945 0 0 0       and $_[1]->{seconds} < 9223372036854775808);
25946              
25947             # Deserializing field: 'nseconds'
25948             # my ($class, $value, $index, $input) = @_;
25949 0 0         die "Input buffer too short"
25950             if ($input_length - $_[2]) < 4;
25951 0           $_[1]->{nseconds} = unpack("L>", substr( $_[3], $_[2] ));
25952 0           $_[2] += 4;
25953             die "Out of bounds 'unsigned int': $_[1]->{nseconds}"
25954 0 0 0       unless (0 <= $_[1]->{nseconds} and $_[1]->{nseconds} <= 4294967295);
25955              
25956             # Deserializing field: 'flags'
25957             # my ($class, $value, $index, $input) = @_;
25958 0 0         die "Input buffer too short"
25959             if ($input_length - $_[2]) < 4;
25960 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
25961 0           $_[2] += 4;
25962             die "Out of bounds 'unsigned int': $_[1]->{flags}"
25963 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
25964             }
25965             # @_: ($class, $value, $index, $output) = @_;
25966             sub serialize_domain_set_time_args {
25967 0 0   0 0   croak "Missing required input 'struct' value"
25968             unless defined $_[1];
25969              
25970             # Serializing field: 'dom'
25971             croak "Missing required input value 'dom'"
25972 0 0         unless exists $_[1]->{dom};
25973             # my ($class, $value, $index, $output) = @_;
25974 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
25975              
25976             # Serializing field: 'seconds'
25977             croak "Missing required input value 'seconds'"
25978 0 0         unless exists $_[1]->{seconds};
25979             # my ($class, $value, $index, $output) = @_;
25980             croak "Missing required input 'long' value"
25981 0 0         unless defined $_[1]->{seconds};
25982             die "Out of bounds 'hyper': $_[1]->{seconds}"
25983             unless (-9223372036854775808 <= $_[1]->{seconds}
25984 0 0 0       and $_[1]->{seconds} < 9223372036854775808);
25985             die "Non-integer 'long' value given: $_[1]->{seconds}"
25986 0 0         unless int($_[1]->{seconds}) == $_[1]->{seconds};
25987 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{seconds});
25988 0           $_[2] += 8;
25989              
25990             # Serializing field: 'nseconds'
25991             croak "Missing required input value 'nseconds'"
25992 0 0         unless exists $_[1]->{nseconds};
25993             # my ($class, $value, $index, $output) = @_;
25994             croak "Missing required input 'unsigned int' value"
25995 0 0         unless defined $_[1]->{nseconds};
25996             die "Out of bounds 'unsigned int': $_[1]->{nseconds}"
25997 0 0 0       unless (0 <= $_[1]->{nseconds} and $_[1]->{nseconds} <= 4294967295);
25998             die "Non-integer 'int' value given: $_[1]->{nseconds}"
25999 0 0         unless int($_[1]->{nseconds}) == $_[1]->{nseconds};
26000 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{nseconds});
26001 0           $_[2] += 4;
26002              
26003             # Serializing field: 'flags'
26004             croak "Missing required input value 'flags'"
26005 0 0         unless exists $_[1]->{flags};
26006             # my ($class, $value, $index, $output) = @_;
26007             croak "Missing required input 'unsigned int' value"
26008 0 0         unless defined $_[1]->{flags};
26009             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26010 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26011             die "Non-integer 'int' value given: $_[1]->{flags}"
26012 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
26013 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
26014 0           $_[2] += 4;
26015             }
26016             # @_: ($class, $value, $index, $input) = @_;
26017             sub deserialize_domain_migrate_begin3_params_args {
26018 0     0 0   my $input_length = length $_[3];
26019 0           $_[1] = {};
26020             # Deserializing field: 'dom'
26021             # my ($class, $value, $index, $input) = @_;
26022 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26023              
26024             # Deserializing field: 'params'
26025             # my ($class, $value, $index, $input) = @_;
26026 0           do {
26027 0 0         die "Input buffer too short"
26028             if ($input_length - $_[2]) < 4;
26029 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26030 0           $_[2] += 4;
26031              
26032 0 0         die "Array too long (max: 64): $len"
26033             unless ($len <= 64);
26034 0           $_[1]->{params} = [];
26035 0           for my $i1 ( 0 .. ($len - 1) ) {
26036             # my ($class, $value, $index, $input) = @_;
26037 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26038             }
26039             };
26040              
26041             # Deserializing field: 'flags'
26042             # my ($class, $value, $index, $input) = @_;
26043 0 0         die "Input buffer too short"
26044             if ($input_length - $_[2]) < 4;
26045 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
26046 0           $_[2] += 4;
26047             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26048 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26049             }
26050             # @_: ($class, $value, $index, $output) = @_;
26051             sub serialize_domain_migrate_begin3_params_args {
26052 0 0   0 0   croak "Missing required input 'struct' value"
26053             unless defined $_[1];
26054              
26055             # Serializing field: 'dom'
26056             croak "Missing required input value 'dom'"
26057 0 0         unless exists $_[1]->{dom};
26058             # my ($class, $value, $index, $output) = @_;
26059 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26060              
26061             # Serializing field: 'params'
26062             croak "Missing required input value 'params'"
26063 0 0         unless exists $_[1]->{params};
26064             # my ($class, $value, $index, $output) = @_;
26065             croak "Missing required input 'array' value"
26066 0 0         unless defined $_[1]->{params};
26067 0           do {
26068 0           my $len = scalar @{ $_[1]->{params} };
  0            
26069 0 0         die "Array too long (max: 64): $len"
26070             unless ($len <= 64);
26071              
26072 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26073 0           $_[2] += 4;
26074 0           for my $i1 ( 0 .. ($len - 1) ) {
26075             # my ($class, $value, $index, $output) = @_;
26076 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26077             }
26078             };
26079              
26080             # Serializing field: 'flags'
26081             croak "Missing required input value 'flags'"
26082 0 0         unless exists $_[1]->{flags};
26083             # my ($class, $value, $index, $output) = @_;
26084             croak "Missing required input 'unsigned int' value"
26085 0 0         unless defined $_[1]->{flags};
26086             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26087 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26088             die "Non-integer 'int' value given: $_[1]->{flags}"
26089 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
26090 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
26091 0           $_[2] += 4;
26092             }
26093             # @_: ($class, $value, $index, $input) = @_;
26094             sub deserialize_domain_migrate_begin3_params_ret {
26095 0     0 0   my $input_length = length $_[3];
26096 0           $_[1] = {};
26097             # Deserializing field: 'cookie_out'
26098             # my ($class, $value, $index, $input) = @_;
26099 0           do {
26100 0 0         die "Input buffer too short"
26101             if ($input_length - $_[2]) < 4;
26102 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26103 0           $_[2] += 4;
26104 0 0         die "Opaque data too long (max: 4194304): $len"
26105             unless ($len <= 4194304);
26106 0 0         die "Input buffer too short"
26107             if ($input_length - $_[2]) < $len;
26108 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
26109 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26110             };
26111              
26112             # Deserializing field: 'xml'
26113             # my ($class, $value, $index, $input) = @_;
26114 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
26115             }
26116             # @_: ($class, $value, $index, $output) = @_;
26117             sub serialize_domain_migrate_begin3_params_ret {
26118 0 0   0 0   croak "Missing required input 'struct' value"
26119             unless defined $_[1];
26120              
26121             # Serializing field: 'cookie_out'
26122             croak "Missing required input value 'cookie_out'"
26123 0 0         unless exists $_[1]->{cookie_out};
26124             # my ($class, $value, $index, $output) = @_;
26125             croak "Missing required input 'opaque data' value"
26126 0 0         unless defined $_[1]->{cookie_out};
26127 0           do {
26128 0           my $len = length $_[1]->{cookie_out};
26129 0 0         die "Opaque data too long (max: 4194304): $len"
26130             unless ($len <= 4194304);
26131              
26132 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26133 0           $_[2] += 4;
26134 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
26135 0           $_[2] += $len;
26136 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26137 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26138 0           $_[2] += $pad;
26139             }
26140             };
26141              
26142             # Serializing field: 'xml'
26143             croak "Missing required input value 'xml'"
26144 0 0         unless exists $_[1]->{xml};
26145             # my ($class, $value, $index, $output) = @_;
26146 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
26147             }
26148             # @_: ($class, $value, $index, $input) = @_;
26149             sub deserialize_domain_migrate_prepare3_params_args {
26150 0     0 0   my $input_length = length $_[3];
26151 0           $_[1] = {};
26152             # Deserializing field: 'params'
26153             # my ($class, $value, $index, $input) = @_;
26154 0           do {
26155 0 0         die "Input buffer too short"
26156             if ($input_length - $_[2]) < 4;
26157 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26158 0           $_[2] += 4;
26159              
26160 0 0         die "Array too long (max: 64): $len"
26161             unless ($len <= 64);
26162 0           $_[1]->{params} = [];
26163 0           for my $i1 ( 0 .. ($len - 1) ) {
26164             # my ($class, $value, $index, $input) = @_;
26165 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26166             }
26167             };
26168              
26169             # Deserializing field: 'cookie_in'
26170             # my ($class, $value, $index, $input) = @_;
26171 0           do {
26172 0 0         die "Input buffer too short"
26173             if ($input_length - $_[2]) < 4;
26174 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26175 0           $_[2] += 4;
26176 0 0         die "Opaque data too long (max: 4194304): $len"
26177             unless ($len <= 4194304);
26178 0 0         die "Input buffer too short"
26179             if ($input_length - $_[2]) < $len;
26180 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
26181 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26182             };
26183              
26184             # Deserializing field: 'flags'
26185             # my ($class, $value, $index, $input) = @_;
26186 0 0         die "Input buffer too short"
26187             if ($input_length - $_[2]) < 4;
26188 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
26189 0           $_[2] += 4;
26190             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26191 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26192             }
26193             # @_: ($class, $value, $index, $output) = @_;
26194             sub serialize_domain_migrate_prepare3_params_args {
26195 0 0   0 0   croak "Missing required input 'struct' value"
26196             unless defined $_[1];
26197              
26198             # Serializing field: 'params'
26199             croak "Missing required input value 'params'"
26200 0 0         unless exists $_[1]->{params};
26201             # my ($class, $value, $index, $output) = @_;
26202             croak "Missing required input 'array' value"
26203 0 0         unless defined $_[1]->{params};
26204 0           do {
26205 0           my $len = scalar @{ $_[1]->{params} };
  0            
26206 0 0         die "Array too long (max: 64): $len"
26207             unless ($len <= 64);
26208              
26209 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26210 0           $_[2] += 4;
26211 0           for my $i1 ( 0 .. ($len - 1) ) {
26212             # my ($class, $value, $index, $output) = @_;
26213 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26214             }
26215             };
26216              
26217             # Serializing field: 'cookie_in'
26218             croak "Missing required input value 'cookie_in'"
26219 0 0         unless exists $_[1]->{cookie_in};
26220             # my ($class, $value, $index, $output) = @_;
26221             croak "Missing required input 'opaque data' value"
26222 0 0         unless defined $_[1]->{cookie_in};
26223 0           do {
26224 0           my $len = length $_[1]->{cookie_in};
26225 0 0         die "Opaque data too long (max: 4194304): $len"
26226             unless ($len <= 4194304);
26227              
26228 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26229 0           $_[2] += 4;
26230 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
26231 0           $_[2] += $len;
26232 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26233 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26234 0           $_[2] += $pad;
26235             }
26236             };
26237              
26238             # Serializing field: 'flags'
26239             croak "Missing required input value 'flags'"
26240 0 0         unless exists $_[1]->{flags};
26241             # my ($class, $value, $index, $output) = @_;
26242             croak "Missing required input 'unsigned int' value"
26243 0 0         unless defined $_[1]->{flags};
26244             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26245 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26246             die "Non-integer 'int' value given: $_[1]->{flags}"
26247 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
26248 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
26249 0           $_[2] += 4;
26250             }
26251             # @_: ($class, $value, $index, $input) = @_;
26252             sub deserialize_domain_migrate_prepare3_params_ret {
26253 0     0 0   my $input_length = length $_[3];
26254 0           $_[1] = {};
26255             # Deserializing field: 'cookie_out'
26256             # my ($class, $value, $index, $input) = @_;
26257 0           do {
26258 0 0         die "Input buffer too short"
26259             if ($input_length - $_[2]) < 4;
26260 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26261 0           $_[2] += 4;
26262 0 0         die "Opaque data too long (max: 4194304): $len"
26263             unless ($len <= 4194304);
26264 0 0         die "Input buffer too short"
26265             if ($input_length - $_[2]) < $len;
26266 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
26267 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26268             };
26269              
26270             # Deserializing field: 'uri_out'
26271             # my ($class, $value, $index, $input) = @_;
26272 0           $_[0]->deserialize_string( $_[1]->{uri_out}, $_[2], $_[3] );
26273             }
26274             # @_: ($class, $value, $index, $output) = @_;
26275             sub serialize_domain_migrate_prepare3_params_ret {
26276 0 0   0 0   croak "Missing required input 'struct' value"
26277             unless defined $_[1];
26278              
26279             # Serializing field: 'cookie_out'
26280             croak "Missing required input value 'cookie_out'"
26281 0 0         unless exists $_[1]->{cookie_out};
26282             # my ($class, $value, $index, $output) = @_;
26283             croak "Missing required input 'opaque data' value"
26284 0 0         unless defined $_[1]->{cookie_out};
26285 0           do {
26286 0           my $len = length $_[1]->{cookie_out};
26287 0 0         die "Opaque data too long (max: 4194304): $len"
26288             unless ($len <= 4194304);
26289              
26290 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26291 0           $_[2] += 4;
26292 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
26293 0           $_[2] += $len;
26294 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26295 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26296 0           $_[2] += $pad;
26297             }
26298             };
26299              
26300             # Serializing field: 'uri_out'
26301             croak "Missing required input value 'uri_out'"
26302 0 0         unless exists $_[1]->{uri_out};
26303             # my ($class, $value, $index, $output) = @_;
26304 0           $_[0]->serialize_string( $_[1]->{uri_out}, $_[2], $_[3] );
26305             }
26306             # @_: ($class, $value, $index, $input) = @_;
26307             sub deserialize_domain_migrate_prepare_tunnel3_params_args {
26308 0     0 0   my $input_length = length $_[3];
26309 0           $_[1] = {};
26310             # Deserializing field: 'params'
26311             # my ($class, $value, $index, $input) = @_;
26312 0           do {
26313 0 0         die "Input buffer too short"
26314             if ($input_length - $_[2]) < 4;
26315 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26316 0           $_[2] += 4;
26317              
26318 0 0         die "Array too long (max: 64): $len"
26319             unless ($len <= 64);
26320 0           $_[1]->{params} = [];
26321 0           for my $i1 ( 0 .. ($len - 1) ) {
26322             # my ($class, $value, $index, $input) = @_;
26323 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26324             }
26325             };
26326              
26327             # Deserializing field: 'cookie_in'
26328             # my ($class, $value, $index, $input) = @_;
26329 0           do {
26330 0 0         die "Input buffer too short"
26331             if ($input_length - $_[2]) < 4;
26332 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26333 0           $_[2] += 4;
26334 0 0         die "Opaque data too long (max: 4194304): $len"
26335             unless ($len <= 4194304);
26336 0 0         die "Input buffer too short"
26337             if ($input_length - $_[2]) < $len;
26338 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
26339 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26340             };
26341              
26342             # Deserializing field: 'flags'
26343             # my ($class, $value, $index, $input) = @_;
26344 0 0         die "Input buffer too short"
26345             if ($input_length - $_[2]) < 4;
26346 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
26347 0           $_[2] += 4;
26348             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26349 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26350             }
26351             # @_: ($class, $value, $index, $output) = @_;
26352             sub serialize_domain_migrate_prepare_tunnel3_params_args {
26353 0 0   0 0   croak "Missing required input 'struct' value"
26354             unless defined $_[1];
26355              
26356             # Serializing field: 'params'
26357             croak "Missing required input value 'params'"
26358 0 0         unless exists $_[1]->{params};
26359             # my ($class, $value, $index, $output) = @_;
26360             croak "Missing required input 'array' value"
26361 0 0         unless defined $_[1]->{params};
26362 0           do {
26363 0           my $len = scalar @{ $_[1]->{params} };
  0            
26364 0 0         die "Array too long (max: 64): $len"
26365             unless ($len <= 64);
26366              
26367 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26368 0           $_[2] += 4;
26369 0           for my $i1 ( 0 .. ($len - 1) ) {
26370             # my ($class, $value, $index, $output) = @_;
26371 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26372             }
26373             };
26374              
26375             # Serializing field: 'cookie_in'
26376             croak "Missing required input value 'cookie_in'"
26377 0 0         unless exists $_[1]->{cookie_in};
26378             # my ($class, $value, $index, $output) = @_;
26379             croak "Missing required input 'opaque data' value"
26380 0 0         unless defined $_[1]->{cookie_in};
26381 0           do {
26382 0           my $len = length $_[1]->{cookie_in};
26383 0 0         die "Opaque data too long (max: 4194304): $len"
26384             unless ($len <= 4194304);
26385              
26386 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26387 0           $_[2] += 4;
26388 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
26389 0           $_[2] += $len;
26390 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26391 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26392 0           $_[2] += $pad;
26393             }
26394             };
26395              
26396             # Serializing field: 'flags'
26397             croak "Missing required input value 'flags'"
26398 0 0         unless exists $_[1]->{flags};
26399             # my ($class, $value, $index, $output) = @_;
26400             croak "Missing required input 'unsigned int' value"
26401 0 0         unless defined $_[1]->{flags};
26402             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26403 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26404             die "Non-integer 'int' value given: $_[1]->{flags}"
26405 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
26406 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
26407 0           $_[2] += 4;
26408             }
26409             # @_: ($class, $value, $index, $input) = @_;
26410             sub deserialize_domain_migrate_prepare_tunnel3_params_ret {
26411 0     0 0   my $input_length = length $_[3];
26412 0           $_[1] = {};
26413             # Deserializing field: 'cookie_out'
26414             # my ($class, $value, $index, $input) = @_;
26415 0           do {
26416 0 0         die "Input buffer too short"
26417             if ($input_length - $_[2]) < 4;
26418 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26419 0           $_[2] += 4;
26420 0 0         die "Opaque data too long (max: 4194304): $len"
26421             unless ($len <= 4194304);
26422 0 0         die "Input buffer too short"
26423             if ($input_length - $_[2]) < $len;
26424 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
26425 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26426             };
26427             }
26428             # @_: ($class, $value, $index, $output) = @_;
26429             sub serialize_domain_migrate_prepare_tunnel3_params_ret {
26430 0 0   0 0   croak "Missing required input 'struct' value"
26431             unless defined $_[1];
26432              
26433             # Serializing field: 'cookie_out'
26434             croak "Missing required input value 'cookie_out'"
26435 0 0         unless exists $_[1]->{cookie_out};
26436             # my ($class, $value, $index, $output) = @_;
26437             croak "Missing required input 'opaque data' value"
26438 0 0         unless defined $_[1]->{cookie_out};
26439 0           do {
26440 0           my $len = length $_[1]->{cookie_out};
26441 0 0         die "Opaque data too long (max: 4194304): $len"
26442             unless ($len <= 4194304);
26443              
26444 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26445 0           $_[2] += 4;
26446 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
26447 0           $_[2] += $len;
26448 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26449 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26450 0           $_[2] += $pad;
26451             }
26452             };
26453             }
26454             # @_: ($class, $value, $index, $input) = @_;
26455             sub deserialize_domain_migrate_perform3_params_args {
26456 0     0 0   my $input_length = length $_[3];
26457 0           $_[1] = {};
26458             # Deserializing field: 'dom'
26459             # my ($class, $value, $index, $input) = @_;
26460 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26461              
26462             # Deserializing field: 'dconnuri'
26463             # my ($class, $value, $index, $input) = @_;
26464 0           $_[0]->deserialize_string( $_[1]->{dconnuri}, $_[2], $_[3] );
26465              
26466             # Deserializing field: 'params'
26467             # my ($class, $value, $index, $input) = @_;
26468 0           do {
26469 0 0         die "Input buffer too short"
26470             if ($input_length - $_[2]) < 4;
26471 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26472 0           $_[2] += 4;
26473              
26474 0 0         die "Array too long (max: 64): $len"
26475             unless ($len <= 64);
26476 0           $_[1]->{params} = [];
26477 0           for my $i1 ( 0 .. ($len - 1) ) {
26478             # my ($class, $value, $index, $input) = @_;
26479 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26480             }
26481             };
26482              
26483             # Deserializing field: 'cookie_in'
26484             # my ($class, $value, $index, $input) = @_;
26485 0           do {
26486 0 0         die "Input buffer too short"
26487             if ($input_length - $_[2]) < 4;
26488 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26489 0           $_[2] += 4;
26490 0 0         die "Opaque data too long (max: 4194304): $len"
26491             unless ($len <= 4194304);
26492 0 0         die "Input buffer too short"
26493             if ($input_length - $_[2]) < $len;
26494 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
26495 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26496             };
26497              
26498             # Deserializing field: 'flags'
26499             # my ($class, $value, $index, $input) = @_;
26500 0 0         die "Input buffer too short"
26501             if ($input_length - $_[2]) < 4;
26502 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
26503 0           $_[2] += 4;
26504             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26505 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26506             }
26507             # @_: ($class, $value, $index, $output) = @_;
26508             sub serialize_domain_migrate_perform3_params_args {
26509 0 0   0 0   croak "Missing required input 'struct' value"
26510             unless defined $_[1];
26511              
26512             # Serializing field: 'dom'
26513             croak "Missing required input value 'dom'"
26514 0 0         unless exists $_[1]->{dom};
26515             # my ($class, $value, $index, $output) = @_;
26516 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26517              
26518             # Serializing field: 'dconnuri'
26519             croak "Missing required input value 'dconnuri'"
26520 0 0         unless exists $_[1]->{dconnuri};
26521             # my ($class, $value, $index, $output) = @_;
26522 0           $_[0]->serialize_string( $_[1]->{dconnuri}, $_[2], $_[3] );
26523              
26524             # Serializing field: 'params'
26525             croak "Missing required input value 'params'"
26526 0 0         unless exists $_[1]->{params};
26527             # my ($class, $value, $index, $output) = @_;
26528             croak "Missing required input 'array' value"
26529 0 0         unless defined $_[1]->{params};
26530 0           do {
26531 0           my $len = scalar @{ $_[1]->{params} };
  0            
26532 0 0         die "Array too long (max: 64): $len"
26533             unless ($len <= 64);
26534              
26535 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26536 0           $_[2] += 4;
26537 0           for my $i1 ( 0 .. ($len - 1) ) {
26538             # my ($class, $value, $index, $output) = @_;
26539 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26540             }
26541             };
26542              
26543             # Serializing field: 'cookie_in'
26544             croak "Missing required input value 'cookie_in'"
26545 0 0         unless exists $_[1]->{cookie_in};
26546             # my ($class, $value, $index, $output) = @_;
26547             croak "Missing required input 'opaque data' value"
26548 0 0         unless defined $_[1]->{cookie_in};
26549 0           do {
26550 0           my $len = length $_[1]->{cookie_in};
26551 0 0         die "Opaque data too long (max: 4194304): $len"
26552             unless ($len <= 4194304);
26553              
26554 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26555 0           $_[2] += 4;
26556 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
26557 0           $_[2] += $len;
26558 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26559 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26560 0           $_[2] += $pad;
26561             }
26562             };
26563              
26564             # Serializing field: 'flags'
26565             croak "Missing required input value 'flags'"
26566 0 0         unless exists $_[1]->{flags};
26567             # my ($class, $value, $index, $output) = @_;
26568             croak "Missing required input 'unsigned int' value"
26569 0 0         unless defined $_[1]->{flags};
26570             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26571 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26572             die "Non-integer 'int' value given: $_[1]->{flags}"
26573 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
26574 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
26575 0           $_[2] += 4;
26576             }
26577             # @_: ($class, $value, $index, $input) = @_;
26578             sub deserialize_domain_migrate_perform3_params_ret {
26579 0     0 0   my $input_length = length $_[3];
26580 0           $_[1] = {};
26581             # Deserializing field: 'cookie_out'
26582             # my ($class, $value, $index, $input) = @_;
26583 0           do {
26584 0 0         die "Input buffer too short"
26585             if ($input_length - $_[2]) < 4;
26586 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26587 0           $_[2] += 4;
26588 0 0         die "Opaque data too long (max: 4194304): $len"
26589             unless ($len <= 4194304);
26590 0 0         die "Input buffer too short"
26591             if ($input_length - $_[2]) < $len;
26592 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
26593 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26594             };
26595             }
26596             # @_: ($class, $value, $index, $output) = @_;
26597             sub serialize_domain_migrate_perform3_params_ret {
26598 0 0   0 0   croak "Missing required input 'struct' value"
26599             unless defined $_[1];
26600              
26601             # Serializing field: 'cookie_out'
26602             croak "Missing required input value 'cookie_out'"
26603 0 0         unless exists $_[1]->{cookie_out};
26604             # my ($class, $value, $index, $output) = @_;
26605             croak "Missing required input 'opaque data' value"
26606 0 0         unless defined $_[1]->{cookie_out};
26607 0           do {
26608 0           my $len = length $_[1]->{cookie_out};
26609 0 0         die "Opaque data too long (max: 4194304): $len"
26610             unless ($len <= 4194304);
26611              
26612 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26613 0           $_[2] += 4;
26614 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
26615 0           $_[2] += $len;
26616 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26617 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26618 0           $_[2] += $pad;
26619             }
26620             };
26621             }
26622             # @_: ($class, $value, $index, $input) = @_;
26623             sub deserialize_domain_migrate_finish3_params_args {
26624 0     0 0   my $input_length = length $_[3];
26625 0           $_[1] = {};
26626             # Deserializing field: 'params'
26627             # my ($class, $value, $index, $input) = @_;
26628 0           do {
26629 0 0         die "Input buffer too short"
26630             if ($input_length - $_[2]) < 4;
26631 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26632 0           $_[2] += 4;
26633              
26634 0 0         die "Array too long (max: 64): $len"
26635             unless ($len <= 64);
26636 0           $_[1]->{params} = [];
26637 0           for my $i1 ( 0 .. ($len - 1) ) {
26638             # my ($class, $value, $index, $input) = @_;
26639 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26640             }
26641             };
26642              
26643             # Deserializing field: 'cookie_in'
26644             # my ($class, $value, $index, $input) = @_;
26645 0           do {
26646 0 0         die "Input buffer too short"
26647             if ($input_length - $_[2]) < 4;
26648 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26649 0           $_[2] += 4;
26650 0 0         die "Opaque data too long (max: 4194304): $len"
26651             unless ($len <= 4194304);
26652 0 0         die "Input buffer too short"
26653             if ($input_length - $_[2]) < $len;
26654 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
26655 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26656             };
26657              
26658             # Deserializing field: 'flags'
26659             # my ($class, $value, $index, $input) = @_;
26660 0 0         die "Input buffer too short"
26661             if ($input_length - $_[2]) < 4;
26662 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
26663 0           $_[2] += 4;
26664             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26665 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26666              
26667             # Deserializing field: 'cancelled'
26668             # my ($class, $value, $index, $input) = @_;
26669 0 0         die "Input buffer too short"
26670             if ($input_length - $_[2]) < 4;
26671 0           $_[1]->{cancelled} = unpack("l>", substr( $_[3], $_[2] ));
26672 0           $_[2] += 4;
26673             die "Out of bounds 'int': $_[1]->{cancelled}"
26674 0 0 0       unless (-2147483648 <= $_[1]->{cancelled} and $_[1]->{cancelled} < 2147483648);
26675             }
26676             # @_: ($class, $value, $index, $output) = @_;
26677             sub serialize_domain_migrate_finish3_params_args {
26678 0 0   0 0   croak "Missing required input 'struct' value"
26679             unless defined $_[1];
26680              
26681             # Serializing field: 'params'
26682             croak "Missing required input value 'params'"
26683 0 0         unless exists $_[1]->{params};
26684             # my ($class, $value, $index, $output) = @_;
26685             croak "Missing required input 'array' value"
26686 0 0         unless defined $_[1]->{params};
26687 0           do {
26688 0           my $len = scalar @{ $_[1]->{params} };
  0            
26689 0 0         die "Array too long (max: 64): $len"
26690             unless ($len <= 64);
26691              
26692 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26693 0           $_[2] += 4;
26694 0           for my $i1 ( 0 .. ($len - 1) ) {
26695             # my ($class, $value, $index, $output) = @_;
26696 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26697             }
26698             };
26699              
26700             # Serializing field: 'cookie_in'
26701             croak "Missing required input value 'cookie_in'"
26702 0 0         unless exists $_[1]->{cookie_in};
26703             # my ($class, $value, $index, $output) = @_;
26704             croak "Missing required input 'opaque data' value"
26705 0 0         unless defined $_[1]->{cookie_in};
26706 0           do {
26707 0           my $len = length $_[1]->{cookie_in};
26708 0 0         die "Opaque data too long (max: 4194304): $len"
26709             unless ($len <= 4194304);
26710              
26711 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26712 0           $_[2] += 4;
26713 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
26714 0           $_[2] += $len;
26715 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26716 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26717 0           $_[2] += $pad;
26718             }
26719             };
26720              
26721             # Serializing field: 'flags'
26722             croak "Missing required input value 'flags'"
26723 0 0         unless exists $_[1]->{flags};
26724             # my ($class, $value, $index, $output) = @_;
26725             croak "Missing required input 'unsigned int' value"
26726 0 0         unless defined $_[1]->{flags};
26727             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26728 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26729             die "Non-integer 'int' value given: $_[1]->{flags}"
26730 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
26731 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
26732 0           $_[2] += 4;
26733              
26734             # Serializing field: 'cancelled'
26735             croak "Missing required input value 'cancelled'"
26736 0 0         unless exists $_[1]->{cancelled};
26737             # my ($class, $value, $index, $output) = @_;
26738             croak "Missing required input 'int' value"
26739 0 0         unless defined $_[1]->{cancelled};
26740             die "Out of bounds 'int': $_[1]->{cancelled}"
26741 0 0 0       unless (-2147483648 <= $_[1]->{cancelled} and $_[1]->{cancelled} < 2147483648);
26742             die "Non-integer 'int' value given: $_[1]->{cancelled}"
26743 0 0         unless int($_[1]->{cancelled}) == $_[1]->{cancelled};
26744 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cancelled});
26745 0           $_[2] += 4;
26746             }
26747             # @_: ($class, $value, $index, $input) = @_;
26748             sub deserialize_domain_migrate_finish3_params_ret {
26749 0     0 0   my $input_length = length $_[3];
26750 0           $_[1] = {};
26751             # Deserializing field: 'dom'
26752             # my ($class, $value, $index, $input) = @_;
26753 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26754              
26755             # Deserializing field: 'cookie_out'
26756             # my ($class, $value, $index, $input) = @_;
26757 0           do {
26758 0 0         die "Input buffer too short"
26759             if ($input_length - $_[2]) < 4;
26760 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26761 0           $_[2] += 4;
26762 0 0         die "Opaque data too long (max: 4194304): $len"
26763             unless ($len <= 4194304);
26764 0 0         die "Input buffer too short"
26765             if ($input_length - $_[2]) < $len;
26766 0           $_[1]->{cookie_out} = substr( $_[3], $_[2], $len );
26767 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26768             };
26769             }
26770             # @_: ($class, $value, $index, $output) = @_;
26771             sub serialize_domain_migrate_finish3_params_ret {
26772 0 0   0 0   croak "Missing required input 'struct' value"
26773             unless defined $_[1];
26774              
26775             # Serializing field: 'dom'
26776             croak "Missing required input value 'dom'"
26777 0 0         unless exists $_[1]->{dom};
26778             # my ($class, $value, $index, $output) = @_;
26779 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26780              
26781             # Serializing field: 'cookie_out'
26782             croak "Missing required input value 'cookie_out'"
26783 0 0         unless exists $_[1]->{cookie_out};
26784             # my ($class, $value, $index, $output) = @_;
26785             croak "Missing required input 'opaque data' value"
26786 0 0         unless defined $_[1]->{cookie_out};
26787 0           do {
26788 0           my $len = length $_[1]->{cookie_out};
26789 0 0         die "Opaque data too long (max: 4194304): $len"
26790             unless ($len <= 4194304);
26791              
26792 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26793 0           $_[2] += 4;
26794 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_out};
26795 0           $_[2] += $len;
26796 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26797 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26798 0           $_[2] += $pad;
26799             }
26800             };
26801             }
26802             # @_: ($class, $value, $index, $input) = @_;
26803             sub deserialize_domain_migrate_confirm3_params_args {
26804 0     0 0   my $input_length = length $_[3];
26805 0           $_[1] = {};
26806             # Deserializing field: 'dom'
26807             # my ($class, $value, $index, $input) = @_;
26808 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26809              
26810             # Deserializing field: 'params'
26811             # my ($class, $value, $index, $input) = @_;
26812 0           do {
26813 0 0         die "Input buffer too short"
26814             if ($input_length - $_[2]) < 4;
26815 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26816 0           $_[2] += 4;
26817              
26818 0 0         die "Array too long (max: 64): $len"
26819             unless ($len <= 64);
26820 0           $_[1]->{params} = [];
26821 0           for my $i1 ( 0 .. ($len - 1) ) {
26822             # my ($class, $value, $index, $input) = @_;
26823 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26824             }
26825             };
26826              
26827             # Deserializing field: 'cookie_in'
26828             # my ($class, $value, $index, $input) = @_;
26829 0           do {
26830 0 0         die "Input buffer too short"
26831             if ($input_length - $_[2]) < 4;
26832 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
26833 0           $_[2] += 4;
26834 0 0         die "Opaque data too long (max: 4194304): $len"
26835             unless ($len <= 4194304);
26836 0 0         die "Input buffer too short"
26837             if ($input_length - $_[2]) < $len;
26838 0           $_[1]->{cookie_in} = substr( $_[3], $_[2], $len );
26839 0           $_[2] += $len + ((4 - ($len % 4)) % 4); # skip padding too
26840             };
26841              
26842             # Deserializing field: 'flags'
26843             # my ($class, $value, $index, $input) = @_;
26844 0 0         die "Input buffer too short"
26845             if ($input_length - $_[2]) < 4;
26846 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
26847 0           $_[2] += 4;
26848             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26849 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26850              
26851             # Deserializing field: 'cancelled'
26852             # my ($class, $value, $index, $input) = @_;
26853 0 0         die "Input buffer too short"
26854             if ($input_length - $_[2]) < 4;
26855 0           $_[1]->{cancelled} = unpack("l>", substr( $_[3], $_[2] ));
26856 0           $_[2] += 4;
26857             die "Out of bounds 'int': $_[1]->{cancelled}"
26858 0 0 0       unless (-2147483648 <= $_[1]->{cancelled} and $_[1]->{cancelled} < 2147483648);
26859             }
26860             # @_: ($class, $value, $index, $output) = @_;
26861             sub serialize_domain_migrate_confirm3_params_args {
26862 0 0   0 0   croak "Missing required input 'struct' value"
26863             unless defined $_[1];
26864              
26865             # Serializing field: 'dom'
26866             croak "Missing required input value 'dom'"
26867 0 0         unless exists $_[1]->{dom};
26868             # my ($class, $value, $index, $output) = @_;
26869 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26870              
26871             # Serializing field: 'params'
26872             croak "Missing required input value 'params'"
26873 0 0         unless exists $_[1]->{params};
26874             # my ($class, $value, $index, $output) = @_;
26875             croak "Missing required input 'array' value"
26876 0 0         unless defined $_[1]->{params};
26877 0           do {
26878 0           my $len = scalar @{ $_[1]->{params} };
  0            
26879 0 0         die "Array too long (max: 64): $len"
26880             unless ($len <= 64);
26881              
26882 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26883 0           $_[2] += 4;
26884 0           for my $i1 ( 0 .. ($len - 1) ) {
26885             # my ($class, $value, $index, $output) = @_;
26886 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
26887             }
26888             };
26889              
26890             # Serializing field: 'cookie_in'
26891             croak "Missing required input value 'cookie_in'"
26892 0 0         unless exists $_[1]->{cookie_in};
26893             # my ($class, $value, $index, $output) = @_;
26894             croak "Missing required input 'opaque data' value"
26895 0 0         unless defined $_[1]->{cookie_in};
26896 0           do {
26897 0           my $len = length $_[1]->{cookie_in};
26898 0 0         die "Opaque data too long (max: 4194304): $len"
26899             unless ($len <= 4194304);
26900              
26901 0           substr( $_[3], $_[2] ) = pack("L>", $len);
26902 0           $_[2] += 4;
26903 0           substr( $_[3], $_[2] ) = $_[1]->{cookie_in};
26904 0           $_[2] += $len;
26905 0 0         if (my $pad = ((4 - ($len % 4)) % 4)) {
26906 0           substr( $_[3], $_[2] ) = ("\0" x $pad);
26907 0           $_[2] += $pad;
26908             }
26909             };
26910              
26911             # Serializing field: 'flags'
26912             croak "Missing required input value 'flags'"
26913 0 0         unless exists $_[1]->{flags};
26914             # my ($class, $value, $index, $output) = @_;
26915             croak "Missing required input 'unsigned int' value"
26916 0 0         unless defined $_[1]->{flags};
26917             die "Out of bounds 'unsigned int': $_[1]->{flags}"
26918 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
26919             die "Non-integer 'int' value given: $_[1]->{flags}"
26920 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
26921 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
26922 0           $_[2] += 4;
26923              
26924             # Serializing field: 'cancelled'
26925             croak "Missing required input value 'cancelled'"
26926 0 0         unless exists $_[1]->{cancelled};
26927             # my ($class, $value, $index, $output) = @_;
26928             croak "Missing required input 'int' value"
26929 0 0         unless defined $_[1]->{cancelled};
26930             die "Out of bounds 'int': $_[1]->{cancelled}"
26931 0 0 0       unless (-2147483648 <= $_[1]->{cancelled} and $_[1]->{cancelled} < 2147483648);
26932             die "Non-integer 'int' value given: $_[1]->{cancelled}"
26933 0 0         unless int($_[1]->{cancelled}) == $_[1]->{cancelled};
26934 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{cancelled});
26935 0           $_[2] += 4;
26936             }
26937             # @_: ($class, $value, $index, $input) = @_;
26938             sub deserialize_domain_event_device_removed_msg {
26939 0     0 0   my $input_length = length $_[3];
26940 0           $_[1] = {};
26941             # Deserializing field: 'dom'
26942             # my ($class, $value, $index, $input) = @_;
26943 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26944              
26945             # Deserializing field: 'devAlias'
26946             # my ($class, $value, $index, $input) = @_;
26947 0           $_[0]->deserialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
26948             }
26949             # @_: ($class, $value, $index, $output) = @_;
26950             sub serialize_domain_event_device_removed_msg {
26951 0 0   0 0   croak "Missing required input 'struct' value"
26952             unless defined $_[1];
26953              
26954             # Serializing field: 'dom'
26955             croak "Missing required input value 'dom'"
26956 0 0         unless exists $_[1]->{dom};
26957             # my ($class, $value, $index, $output) = @_;
26958 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
26959              
26960             # Serializing field: 'devAlias'
26961             croak "Missing required input value 'devAlias'"
26962 0 0         unless exists $_[1]->{devAlias};
26963             # my ($class, $value, $index, $output) = @_;
26964 0           $_[0]->serialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
26965             }
26966             # @_: ($class, $value, $index, $input) = @_;
26967             sub deserialize_domain_event_callback_device_removed_msg {
26968 0     0 0   my $input_length = length $_[3];
26969 0           $_[1] = {};
26970             # Deserializing field: 'callbackID'
26971             # my ($class, $value, $index, $input) = @_;
26972 0 0         die "Input buffer too short"
26973             if ($input_length - $_[2]) < 4;
26974 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
26975 0           $_[2] += 4;
26976             die "Out of bounds 'int': $_[1]->{callbackID}"
26977 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
26978              
26979             # Deserializing field: 'msg'
26980             # my ($class, $value, $index, $input) = @_;
26981 0           $_[0]->deserialize_domain_event_device_removed_msg( $_[1]->{msg}, $_[2], $_[3] );
26982             }
26983             # @_: ($class, $value, $index, $output) = @_;
26984             sub serialize_domain_event_callback_device_removed_msg {
26985 0 0   0 0   croak "Missing required input 'struct' value"
26986             unless defined $_[1];
26987              
26988             # Serializing field: 'callbackID'
26989             croak "Missing required input value 'callbackID'"
26990 0 0         unless exists $_[1]->{callbackID};
26991             # my ($class, $value, $index, $output) = @_;
26992             croak "Missing required input 'int' value"
26993 0 0         unless defined $_[1]->{callbackID};
26994             die "Out of bounds 'int': $_[1]->{callbackID}"
26995 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
26996             die "Non-integer 'int' value given: $_[1]->{callbackID}"
26997 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
26998 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
26999 0           $_[2] += 4;
27000              
27001             # Serializing field: 'msg'
27002             croak "Missing required input value 'msg'"
27003 0 0         unless exists $_[1]->{msg};
27004             # my ($class, $value, $index, $output) = @_;
27005 0           $_[0]->serialize_domain_event_device_removed_msg( $_[1]->{msg}, $_[2], $_[3] );
27006             }
27007             # @_: ($class, $value, $index, $input) = @_;
27008             sub deserialize_domain_event_block_job_2_msg {
27009 0     0 0   my $input_length = length $_[3];
27010 0           $_[1] = {};
27011             # Deserializing field: 'callbackID'
27012             # my ($class, $value, $index, $input) = @_;
27013 0 0         die "Input buffer too short"
27014             if ($input_length - $_[2]) < 4;
27015 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27016 0           $_[2] += 4;
27017             die "Out of bounds 'int': $_[1]->{callbackID}"
27018 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27019              
27020             # Deserializing field: 'dom'
27021             # my ($class, $value, $index, $input) = @_;
27022 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
27023              
27024             # Deserializing field: 'dst'
27025             # my ($class, $value, $index, $input) = @_;
27026 0           $_[0]->deserialize_nonnull_string( $_[1]->{dst}, $_[2], $_[3] );
27027              
27028             # Deserializing field: 'type'
27029             # my ($class, $value, $index, $input) = @_;
27030 0 0         die "Input buffer too short"
27031             if ($input_length - $_[2]) < 4;
27032 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
27033 0           $_[2] += 4;
27034             die "Out of bounds 'int': $_[1]->{type}"
27035 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
27036              
27037             # Deserializing field: 'status'
27038             # my ($class, $value, $index, $input) = @_;
27039 0 0         die "Input buffer too short"
27040             if ($input_length - $_[2]) < 4;
27041 0           $_[1]->{status} = unpack("l>", substr( $_[3], $_[2] ));
27042 0           $_[2] += 4;
27043             die "Out of bounds 'int': $_[1]->{status}"
27044 0 0 0       unless (-2147483648 <= $_[1]->{status} and $_[1]->{status} < 2147483648);
27045             }
27046             # @_: ($class, $value, $index, $output) = @_;
27047             sub serialize_domain_event_block_job_2_msg {
27048 0 0   0 0   croak "Missing required input 'struct' value"
27049             unless defined $_[1];
27050              
27051             # Serializing field: 'callbackID'
27052             croak "Missing required input value 'callbackID'"
27053 0 0         unless exists $_[1]->{callbackID};
27054             # my ($class, $value, $index, $output) = @_;
27055             croak "Missing required input 'int' value"
27056 0 0         unless defined $_[1]->{callbackID};
27057             die "Out of bounds 'int': $_[1]->{callbackID}"
27058 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27059             die "Non-integer 'int' value given: $_[1]->{callbackID}"
27060 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
27061 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
27062 0           $_[2] += 4;
27063              
27064             # Serializing field: 'dom'
27065             croak "Missing required input value 'dom'"
27066 0 0         unless exists $_[1]->{dom};
27067             # my ($class, $value, $index, $output) = @_;
27068 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
27069              
27070             # Serializing field: 'dst'
27071             croak "Missing required input value 'dst'"
27072 0 0         unless exists $_[1]->{dst};
27073             # my ($class, $value, $index, $output) = @_;
27074 0           $_[0]->serialize_nonnull_string( $_[1]->{dst}, $_[2], $_[3] );
27075              
27076             # Serializing field: 'type'
27077             croak "Missing required input value 'type'"
27078 0 0         unless exists $_[1]->{type};
27079             # my ($class, $value, $index, $output) = @_;
27080             croak "Missing required input 'int' value"
27081 0 0         unless defined $_[1]->{type};
27082             die "Out of bounds 'int': $_[1]->{type}"
27083 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
27084             die "Non-integer 'int' value given: $_[1]->{type}"
27085 0 0         unless int($_[1]->{type}) == $_[1]->{type};
27086 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
27087 0           $_[2] += 4;
27088              
27089             # Serializing field: 'status'
27090             croak "Missing required input value 'status'"
27091 0 0         unless exists $_[1]->{status};
27092             # my ($class, $value, $index, $output) = @_;
27093             croak "Missing required input 'int' value"
27094 0 0         unless defined $_[1]->{status};
27095             die "Out of bounds 'int': $_[1]->{status}"
27096 0 0 0       unless (-2147483648 <= $_[1]->{status} and $_[1]->{status} < 2147483648);
27097             die "Non-integer 'int' value given: $_[1]->{status}"
27098 0 0         unless int($_[1]->{status}) == $_[1]->{status};
27099 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{status});
27100 0           $_[2] += 4;
27101             }
27102             # @_: ($class, $value, $index, $input) = @_;
27103             sub deserialize_domain_event_block_threshold_msg {
27104 0     0 0   my $input_length = length $_[3];
27105 0           $_[1] = {};
27106             # Deserializing field: 'callbackID'
27107             # my ($class, $value, $index, $input) = @_;
27108 0 0         die "Input buffer too short"
27109             if ($input_length - $_[2]) < 4;
27110 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27111 0           $_[2] += 4;
27112             die "Out of bounds 'int': $_[1]->{callbackID}"
27113 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27114              
27115             # Deserializing field: 'dom'
27116             # my ($class, $value, $index, $input) = @_;
27117 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
27118              
27119             # Deserializing field: 'dev'
27120             # my ($class, $value, $index, $input) = @_;
27121 0           $_[0]->deserialize_nonnull_string( $_[1]->{dev}, $_[2], $_[3] );
27122              
27123             # Deserializing field: 'path'
27124             # my ($class, $value, $index, $input) = @_;
27125 0           $_[0]->deserialize_string( $_[1]->{path}, $_[2], $_[3] );
27126              
27127             # Deserializing field: 'threshold'
27128             # my ($class, $value, $index, $input) = @_;
27129 0 0         die "Input buffer too short"
27130             if ($input_length - $_[2]) < 8;
27131 0           $_[1]->{threshold} = unpack("Q>", substr( $_[3], $_[2] ));
27132 0           $_[2] += 8;
27133             die "Out of bounds 'unsigned hyper': $_[1]->{threshold}"
27134             unless (0 <= $_[1]->{threshold}
27135 0 0 0       and $_[1]->{threshold} <= 18446744073709551615);
27136              
27137             # Deserializing field: 'excess'
27138             # my ($class, $value, $index, $input) = @_;
27139 0 0         die "Input buffer too short"
27140             if ($input_length - $_[2]) < 8;
27141 0           $_[1]->{excess} = unpack("Q>", substr( $_[3], $_[2] ));
27142 0           $_[2] += 8;
27143             die "Out of bounds 'unsigned hyper': $_[1]->{excess}"
27144             unless (0 <= $_[1]->{excess}
27145 0 0 0       and $_[1]->{excess} <= 18446744073709551615);
27146             }
27147             # @_: ($class, $value, $index, $output) = @_;
27148             sub serialize_domain_event_block_threshold_msg {
27149 0 0   0 0   croak "Missing required input 'struct' value"
27150             unless defined $_[1];
27151              
27152             # Serializing field: 'callbackID'
27153             croak "Missing required input value 'callbackID'"
27154 0 0         unless exists $_[1]->{callbackID};
27155             # my ($class, $value, $index, $output) = @_;
27156             croak "Missing required input 'int' value"
27157 0 0         unless defined $_[1]->{callbackID};
27158             die "Out of bounds 'int': $_[1]->{callbackID}"
27159 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27160             die "Non-integer 'int' value given: $_[1]->{callbackID}"
27161 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
27162 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
27163 0           $_[2] += 4;
27164              
27165             # Serializing field: 'dom'
27166             croak "Missing required input value 'dom'"
27167 0 0         unless exists $_[1]->{dom};
27168             # my ($class, $value, $index, $output) = @_;
27169 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
27170              
27171             # Serializing field: 'dev'
27172             croak "Missing required input value 'dev'"
27173 0 0         unless exists $_[1]->{dev};
27174             # my ($class, $value, $index, $output) = @_;
27175 0           $_[0]->serialize_nonnull_string( $_[1]->{dev}, $_[2], $_[3] );
27176              
27177             # Serializing field: 'path'
27178             croak "Missing required input value 'path'"
27179 0 0         unless exists $_[1]->{path};
27180             # my ($class, $value, $index, $output) = @_;
27181 0           $_[0]->serialize_string( $_[1]->{path}, $_[2], $_[3] );
27182              
27183             # Serializing field: 'threshold'
27184             croak "Missing required input value 'threshold'"
27185 0 0         unless exists $_[1]->{threshold};
27186             # my ($class, $value, $index, $output) = @_;
27187             croak "Missing required input 'unsigned long' value"
27188 0 0         unless defined $_[1]->{threshold};
27189             die "Out of bounds 'unsigned hyper': $_[1]->{threshold}"
27190             unless (0 <= $_[1]->{threshold}
27191 0 0 0       and $_[1]->{threshold} <= 18446744073709551615);
27192             die "Non-integer 'long' value given: $_[1]->{threshold}"
27193 0 0         unless int($_[1]->{threshold}) == $_[1]->{threshold};
27194 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{threshold});
27195 0           $_[2] += 8;
27196              
27197             # Serializing field: 'excess'
27198             croak "Missing required input value 'excess'"
27199 0 0         unless exists $_[1]->{excess};
27200             # my ($class, $value, $index, $output) = @_;
27201             croak "Missing required input 'unsigned long' value"
27202 0 0         unless defined $_[1]->{excess};
27203             die "Out of bounds 'unsigned hyper': $_[1]->{excess}"
27204             unless (0 <= $_[1]->{excess}
27205 0 0 0       and $_[1]->{excess} <= 18446744073709551615);
27206             die "Non-integer 'long' value given: $_[1]->{excess}"
27207 0 0         unless int($_[1]->{excess}) == $_[1]->{excess};
27208 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{excess});
27209 0           $_[2] += 8;
27210             }
27211             # @_: ($class, $value, $index, $input) = @_;
27212             sub deserialize_domain_event_callback_tunable_msg {
27213 0     0 0   my $input_length = length $_[3];
27214 0           $_[1] = {};
27215             # Deserializing field: 'callbackID'
27216             # my ($class, $value, $index, $input) = @_;
27217 0 0         die "Input buffer too short"
27218             if ($input_length - $_[2]) < 4;
27219 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27220 0           $_[2] += 4;
27221             die "Out of bounds 'int': $_[1]->{callbackID}"
27222 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27223              
27224             # Deserializing field: 'dom'
27225             # my ($class, $value, $index, $input) = @_;
27226 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
27227              
27228             # Deserializing field: 'params'
27229             # my ($class, $value, $index, $input) = @_;
27230 0           do {
27231 0 0         die "Input buffer too short"
27232             if ($input_length - $_[2]) < 4;
27233 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
27234 0           $_[2] += 4;
27235              
27236 0 0         die "Array too long (max: 2048): $len"
27237             unless ($len <= 2048);
27238 0           $_[1]->{params} = [];
27239 0           for my $i1 ( 0 .. ($len - 1) ) {
27240             # my ($class, $value, $index, $input) = @_;
27241 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
27242             }
27243             };
27244             }
27245             # @_: ($class, $value, $index, $output) = @_;
27246             sub serialize_domain_event_callback_tunable_msg {
27247 0 0   0 0   croak "Missing required input 'struct' value"
27248             unless defined $_[1];
27249              
27250             # Serializing field: 'callbackID'
27251             croak "Missing required input value 'callbackID'"
27252 0 0         unless exists $_[1]->{callbackID};
27253             # my ($class, $value, $index, $output) = @_;
27254             croak "Missing required input 'int' value"
27255 0 0         unless defined $_[1]->{callbackID};
27256             die "Out of bounds 'int': $_[1]->{callbackID}"
27257 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27258             die "Non-integer 'int' value given: $_[1]->{callbackID}"
27259 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
27260 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
27261 0           $_[2] += 4;
27262              
27263             # Serializing field: 'dom'
27264             croak "Missing required input value 'dom'"
27265 0 0         unless exists $_[1]->{dom};
27266             # my ($class, $value, $index, $output) = @_;
27267 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
27268              
27269             # Serializing field: 'params'
27270             croak "Missing required input value 'params'"
27271 0 0         unless exists $_[1]->{params};
27272             # my ($class, $value, $index, $output) = @_;
27273             croak "Missing required input 'array' value"
27274 0 0         unless defined $_[1]->{params};
27275 0           do {
27276 0           my $len = scalar @{ $_[1]->{params} };
  0            
27277 0 0         die "Array too long (max: 2048): $len"
27278             unless ($len <= 2048);
27279              
27280 0           substr( $_[3], $_[2] ) = pack("L>", $len);
27281 0           $_[2] += 4;
27282 0           for my $i1 ( 0 .. ($len - 1) ) {
27283             # my ($class, $value, $index, $output) = @_;
27284 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
27285             }
27286             };
27287             }
27288             # @_: ($class, $value, $index, $input) = @_;
27289             sub deserialize_domain_event_callback_device_added_msg {
27290 0     0 0   my $input_length = length $_[3];
27291 0           $_[1] = {};
27292             # Deserializing field: 'callbackID'
27293             # my ($class, $value, $index, $input) = @_;
27294 0 0         die "Input buffer too short"
27295             if ($input_length - $_[2]) < 4;
27296 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27297 0           $_[2] += 4;
27298             die "Out of bounds 'int': $_[1]->{callbackID}"
27299 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27300              
27301             # Deserializing field: 'dom'
27302             # my ($class, $value, $index, $input) = @_;
27303 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
27304              
27305             # Deserializing field: 'devAlias'
27306             # my ($class, $value, $index, $input) = @_;
27307 0           $_[0]->deserialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
27308             }
27309             # @_: ($class, $value, $index, $output) = @_;
27310             sub serialize_domain_event_callback_device_added_msg {
27311 0 0   0 0   croak "Missing required input 'struct' value"
27312             unless defined $_[1];
27313              
27314             # Serializing field: 'callbackID'
27315             croak "Missing required input value 'callbackID'"
27316 0 0         unless exists $_[1]->{callbackID};
27317             # my ($class, $value, $index, $output) = @_;
27318             croak "Missing required input 'int' value"
27319 0 0         unless defined $_[1]->{callbackID};
27320             die "Out of bounds 'int': $_[1]->{callbackID}"
27321 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27322             die "Non-integer 'int' value given: $_[1]->{callbackID}"
27323 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
27324 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
27325 0           $_[2] += 4;
27326              
27327             # Serializing field: 'dom'
27328             croak "Missing required input value 'dom'"
27329 0 0         unless exists $_[1]->{dom};
27330             # my ($class, $value, $index, $output) = @_;
27331 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
27332              
27333             # Serializing field: 'devAlias'
27334             croak "Missing required input value 'devAlias'"
27335 0 0         unless exists $_[1]->{devAlias};
27336             # my ($class, $value, $index, $output) = @_;
27337 0           $_[0]->serialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
27338             }
27339             # @_: ($class, $value, $index, $input) = @_;
27340             sub deserialize_connect_event_connection_closed_msg {
27341 0     0 0   my $input_length = length $_[3];
27342 0           $_[1] = {};
27343             # Deserializing field: 'reason'
27344             # my ($class, $value, $index, $input) = @_;
27345 0 0         die "Input buffer too short"
27346             if ($input_length - $_[2]) < 4;
27347 0           $_[1]->{reason} = unpack("l>", substr( $_[3], $_[2] ));
27348 0           $_[2] += 4;
27349             die "Out of bounds 'int': $_[1]->{reason}"
27350 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
27351             }
27352             # @_: ($class, $value, $index, $output) = @_;
27353             sub serialize_connect_event_connection_closed_msg {
27354 0 0   0 0   croak "Missing required input 'struct' value"
27355             unless defined $_[1];
27356              
27357             # Serializing field: 'reason'
27358             croak "Missing required input value 'reason'"
27359 0 0         unless exists $_[1]->{reason};
27360             # my ($class, $value, $index, $output) = @_;
27361             croak "Missing required input 'int' value"
27362 0 0         unless defined $_[1]->{reason};
27363             die "Out of bounds 'int': $_[1]->{reason}"
27364 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
27365             die "Non-integer 'int' value given: $_[1]->{reason}"
27366 0 0         unless int($_[1]->{reason}) == $_[1]->{reason};
27367 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{reason});
27368 0           $_[2] += 4;
27369             }
27370             # @_: ($class, $value, $index, $input) = @_;
27371             sub deserialize_connect_get_cpu_model_names_args {
27372 0     0 0   my $input_length = length $_[3];
27373 0           $_[1] = {};
27374             # Deserializing field: 'arch'
27375             # my ($class, $value, $index, $input) = @_;
27376 0           $_[0]->deserialize_nonnull_string( $_[1]->{arch}, $_[2], $_[3] );
27377              
27378             # Deserializing field: 'need_results'
27379             # my ($class, $value, $index, $input) = @_;
27380 0 0         die "Input buffer too short"
27381             if ($input_length - $_[2]) < 4;
27382 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
27383 0           $_[2] += 4;
27384             die "Out of bounds 'int': $_[1]->{need_results}"
27385 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
27386              
27387             # Deserializing field: 'flags'
27388             # my ($class, $value, $index, $input) = @_;
27389 0 0         die "Input buffer too short"
27390             if ($input_length - $_[2]) < 4;
27391 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
27392 0           $_[2] += 4;
27393             die "Out of bounds 'unsigned int': $_[1]->{flags}"
27394 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
27395             }
27396             # @_: ($class, $value, $index, $output) = @_;
27397             sub serialize_connect_get_cpu_model_names_args {
27398 0 0   0 0   croak "Missing required input 'struct' value"
27399             unless defined $_[1];
27400              
27401             # Serializing field: 'arch'
27402             croak "Missing required input value 'arch'"
27403 0 0         unless exists $_[1]->{arch};
27404             # my ($class, $value, $index, $output) = @_;
27405 0           $_[0]->serialize_nonnull_string( $_[1]->{arch}, $_[2], $_[3] );
27406              
27407             # Serializing field: 'need_results'
27408             croak "Missing required input value 'need_results'"
27409 0 0         unless exists $_[1]->{need_results};
27410             # my ($class, $value, $index, $output) = @_;
27411             croak "Missing required input 'int' value"
27412 0 0         unless defined $_[1]->{need_results};
27413             die "Out of bounds 'int': $_[1]->{need_results}"
27414 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
27415             die "Non-integer 'int' value given: $_[1]->{need_results}"
27416 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
27417 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
27418 0           $_[2] += 4;
27419              
27420             # Serializing field: 'flags'
27421             croak "Missing required input value 'flags'"
27422 0 0         unless exists $_[1]->{flags};
27423             # my ($class, $value, $index, $output) = @_;
27424             croak "Missing required input 'unsigned int' value"
27425 0 0         unless defined $_[1]->{flags};
27426             die "Out of bounds 'unsigned int': $_[1]->{flags}"
27427 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
27428             die "Non-integer 'int' value given: $_[1]->{flags}"
27429 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
27430 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
27431 0           $_[2] += 4;
27432             }
27433             # @_: ($class, $value, $index, $input) = @_;
27434             sub deserialize_connect_get_cpu_model_names_ret {
27435 0     0 0   my $input_length = length $_[3];
27436 0           $_[1] = {};
27437             # Deserializing field: 'models'
27438             # my ($class, $value, $index, $input) = @_;
27439 0           do {
27440 0 0         die "Input buffer too short"
27441             if ($input_length - $_[2]) < 4;
27442 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
27443 0           $_[2] += 4;
27444              
27445 0 0         die "Array too long (max: 8192): $len"
27446             unless ($len <= 8192);
27447 0           $_[1]->{models} = [];
27448 0           for my $i1 ( 0 .. ($len - 1) ) {
27449             # my ($class, $value, $index, $input) = @_;
27450 0           $_[0]->deserialize_nonnull_string( $_[1]->{models}->[$i1], $_[2], $_[3] );
27451             }
27452             };
27453              
27454             # Deserializing field: 'ret'
27455             # my ($class, $value, $index, $input) = @_;
27456 0 0         die "Input buffer too short"
27457             if ($input_length - $_[2]) < 4;
27458 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
27459 0           $_[2] += 4;
27460             die "Out of bounds 'int': $_[1]->{ret}"
27461 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
27462             }
27463             # @_: ($class, $value, $index, $output) = @_;
27464             sub serialize_connect_get_cpu_model_names_ret {
27465 0 0   0 0   croak "Missing required input 'struct' value"
27466             unless defined $_[1];
27467              
27468             # Serializing field: 'models'
27469             croak "Missing required input value 'models'"
27470 0 0         unless exists $_[1]->{models};
27471             # my ($class, $value, $index, $output) = @_;
27472             croak "Missing required input 'array' value"
27473 0 0         unless defined $_[1]->{models};
27474 0           do {
27475 0           my $len = scalar @{ $_[1]->{models} };
  0            
27476 0 0         die "Array too long (max: 8192): $len"
27477             unless ($len <= 8192);
27478              
27479 0           substr( $_[3], $_[2] ) = pack("L>", $len);
27480 0           $_[2] += 4;
27481 0           for my $i1 ( 0 .. ($len - 1) ) {
27482             # my ($class, $value, $index, $output) = @_;
27483 0           $_[0]->serialize_nonnull_string( $_[1]->{models}->[$i1], $_[2], $_[3] );
27484             }
27485             };
27486              
27487             # Serializing field: 'ret'
27488             croak "Missing required input value 'ret'"
27489 0 0         unless exists $_[1]->{ret};
27490             # my ($class, $value, $index, $output) = @_;
27491             croak "Missing required input 'int' value"
27492 0 0         unless defined $_[1]->{ret};
27493             die "Out of bounds 'int': $_[1]->{ret}"
27494 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
27495             die "Non-integer 'int' value given: $_[1]->{ret}"
27496 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
27497 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
27498 0           $_[2] += 4;
27499             }
27500             # @_: ($class, $value, $index, $input) = @_;
27501             sub deserialize_connect_network_event_register_any_args {
27502 0     0 0   my $input_length = length $_[3];
27503 0           $_[1] = {};
27504             # Deserializing field: 'eventID'
27505             # my ($class, $value, $index, $input) = @_;
27506 0 0         die "Input buffer too short"
27507             if ($input_length - $_[2]) < 4;
27508 0           $_[1]->{eventID} = unpack("l>", substr( $_[3], $_[2] ));
27509 0           $_[2] += 4;
27510             die "Out of bounds 'int': $_[1]->{eventID}"
27511 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
27512              
27513             # Deserializing field: 'net'
27514             # my ($class, $value, $index, $input) = @_;
27515 0           $_[0]->deserialize_network( $_[1]->{net}, $_[2], $_[3] );
27516             }
27517             # @_: ($class, $value, $index, $output) = @_;
27518             sub serialize_connect_network_event_register_any_args {
27519 0 0   0 0   croak "Missing required input 'struct' value"
27520             unless defined $_[1];
27521              
27522             # Serializing field: 'eventID'
27523             croak "Missing required input value 'eventID'"
27524 0 0         unless exists $_[1]->{eventID};
27525             # my ($class, $value, $index, $output) = @_;
27526             croak "Missing required input 'int' value"
27527 0 0         unless defined $_[1]->{eventID};
27528             die "Out of bounds 'int': $_[1]->{eventID}"
27529 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
27530             die "Non-integer 'int' value given: $_[1]->{eventID}"
27531 0 0         unless int($_[1]->{eventID}) == $_[1]->{eventID};
27532 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{eventID});
27533 0           $_[2] += 4;
27534              
27535             # Serializing field: 'net'
27536             croak "Missing required input value 'net'"
27537 0 0         unless exists $_[1]->{net};
27538             # my ($class, $value, $index, $output) = @_;
27539 0           $_[0]->serialize_network( $_[1]->{net}, $_[2], $_[3] );
27540             }
27541             # @_: ($class, $value, $index, $input) = @_;
27542             sub deserialize_connect_network_event_register_any_ret {
27543 0     0 0   my $input_length = length $_[3];
27544 0           $_[1] = {};
27545             # Deserializing field: 'callbackID'
27546             # my ($class, $value, $index, $input) = @_;
27547 0 0         die "Input buffer too short"
27548             if ($input_length - $_[2]) < 4;
27549 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27550 0           $_[2] += 4;
27551             die "Out of bounds 'int': $_[1]->{callbackID}"
27552 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27553             }
27554             # @_: ($class, $value, $index, $output) = @_;
27555             sub serialize_connect_network_event_register_any_ret {
27556 0 0   0 0   croak "Missing required input 'struct' value"
27557             unless defined $_[1];
27558              
27559             # Serializing field: 'callbackID'
27560             croak "Missing required input value 'callbackID'"
27561 0 0         unless exists $_[1]->{callbackID};
27562             # my ($class, $value, $index, $output) = @_;
27563             croak "Missing required input 'int' value"
27564 0 0         unless defined $_[1]->{callbackID};
27565             die "Out of bounds 'int': $_[1]->{callbackID}"
27566 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27567             die "Non-integer 'int' value given: $_[1]->{callbackID}"
27568 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
27569 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
27570 0           $_[2] += 4;
27571             }
27572             # @_: ($class, $value, $index, $input) = @_;
27573             sub deserialize_connect_network_event_deregister_any_args {
27574 0     0 0   my $input_length = length $_[3];
27575 0           $_[1] = {};
27576             # Deserializing field: 'callbackID'
27577             # my ($class, $value, $index, $input) = @_;
27578 0 0         die "Input buffer too short"
27579             if ($input_length - $_[2]) < 4;
27580 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27581 0           $_[2] += 4;
27582             die "Out of bounds 'int': $_[1]->{callbackID}"
27583 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27584             }
27585             # @_: ($class, $value, $index, $output) = @_;
27586             sub serialize_connect_network_event_deregister_any_args {
27587 0 0   0 0   croak "Missing required input 'struct' value"
27588             unless defined $_[1];
27589              
27590             # Serializing field: 'callbackID'
27591             croak "Missing required input value 'callbackID'"
27592 0 0         unless exists $_[1]->{callbackID};
27593             # my ($class, $value, $index, $output) = @_;
27594             croak "Missing required input 'int' value"
27595 0 0         unless defined $_[1]->{callbackID};
27596             die "Out of bounds 'int': $_[1]->{callbackID}"
27597 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27598             die "Non-integer 'int' value given: $_[1]->{callbackID}"
27599 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
27600 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
27601 0           $_[2] += 4;
27602             }
27603             # @_: ($class, $value, $index, $input) = @_;
27604             sub deserialize_network_event_lifecycle_msg {
27605 0     0 0   my $input_length = length $_[3];
27606 0           $_[1] = {};
27607             # Deserializing field: 'callbackID'
27608             # my ($class, $value, $index, $input) = @_;
27609 0 0         die "Input buffer too short"
27610             if ($input_length - $_[2]) < 4;
27611 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27612 0           $_[2] += 4;
27613             die "Out of bounds 'int': $_[1]->{callbackID}"
27614 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27615              
27616             # Deserializing field: 'net'
27617             # my ($class, $value, $index, $input) = @_;
27618 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
27619              
27620             # Deserializing field: 'event'
27621             # my ($class, $value, $index, $input) = @_;
27622 0 0         die "Input buffer too short"
27623             if ($input_length - $_[2]) < 4;
27624 0           $_[1]->{event} = unpack("l>", substr( $_[3], $_[2] ));
27625 0           $_[2] += 4;
27626             die "Out of bounds 'int': $_[1]->{event}"
27627 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
27628              
27629             # Deserializing field: 'detail'
27630             # my ($class, $value, $index, $input) = @_;
27631 0 0         die "Input buffer too short"
27632             if ($input_length - $_[2]) < 4;
27633 0           $_[1]->{detail} = unpack("l>", substr( $_[3], $_[2] ));
27634 0           $_[2] += 4;
27635             die "Out of bounds 'int': $_[1]->{detail}"
27636 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
27637             }
27638             # @_: ($class, $value, $index, $output) = @_;
27639             sub serialize_network_event_lifecycle_msg {
27640 0 0   0 0   croak "Missing required input 'struct' value"
27641             unless defined $_[1];
27642              
27643             # Serializing field: 'callbackID'
27644             croak "Missing required input value 'callbackID'"
27645 0 0         unless exists $_[1]->{callbackID};
27646             # my ($class, $value, $index, $output) = @_;
27647             croak "Missing required input 'int' value"
27648 0 0         unless defined $_[1]->{callbackID};
27649             die "Out of bounds 'int': $_[1]->{callbackID}"
27650 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27651             die "Non-integer 'int' value given: $_[1]->{callbackID}"
27652 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
27653 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
27654 0           $_[2] += 4;
27655              
27656             # Serializing field: 'net'
27657             croak "Missing required input value 'net'"
27658 0 0         unless exists $_[1]->{net};
27659             # my ($class, $value, $index, $output) = @_;
27660 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
27661              
27662             # Serializing field: 'event'
27663             croak "Missing required input value 'event'"
27664 0 0         unless exists $_[1]->{event};
27665             # my ($class, $value, $index, $output) = @_;
27666             croak "Missing required input 'int' value"
27667 0 0         unless defined $_[1]->{event};
27668             die "Out of bounds 'int': $_[1]->{event}"
27669 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
27670             die "Non-integer 'int' value given: $_[1]->{event}"
27671 0 0         unless int($_[1]->{event}) == $_[1]->{event};
27672 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{event});
27673 0           $_[2] += 4;
27674              
27675             # Serializing field: 'detail'
27676             croak "Missing required input value 'detail'"
27677 0 0         unless exists $_[1]->{detail};
27678             # my ($class, $value, $index, $output) = @_;
27679             croak "Missing required input 'int' value"
27680 0 0         unless defined $_[1]->{detail};
27681             die "Out of bounds 'int': $_[1]->{detail}"
27682 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
27683             die "Non-integer 'int' value given: $_[1]->{detail}"
27684 0 0         unless int($_[1]->{detail}) == $_[1]->{detail};
27685 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{detail});
27686 0           $_[2] += 4;
27687             }
27688             # @_: ($class, $value, $index, $input) = @_;
27689             sub deserialize_network_event_callback_metadata_change_msg {
27690 0     0 0   my $input_length = length $_[3];
27691 0           $_[1] = {};
27692             # Deserializing field: 'callbackID'
27693             # my ($class, $value, $index, $input) = @_;
27694 0 0         die "Input buffer too short"
27695             if ($input_length - $_[2]) < 4;
27696 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27697 0           $_[2] += 4;
27698             die "Out of bounds 'int': $_[1]->{callbackID}"
27699 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27700              
27701             # Deserializing field: 'net'
27702             # my ($class, $value, $index, $input) = @_;
27703 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
27704              
27705             # Deserializing field: 'type'
27706             # my ($class, $value, $index, $input) = @_;
27707 0 0         die "Input buffer too short"
27708             if ($input_length - $_[2]) < 4;
27709 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
27710 0           $_[2] += 4;
27711             die "Out of bounds 'int': $_[1]->{type}"
27712 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
27713              
27714             # Deserializing field: 'nsuri'
27715             # my ($class, $value, $index, $input) = @_;
27716 0           $_[0]->deserialize_string( $_[1]->{nsuri}, $_[2], $_[3] );
27717             }
27718             # @_: ($class, $value, $index, $output) = @_;
27719             sub serialize_network_event_callback_metadata_change_msg {
27720 0 0   0 0   croak "Missing required input 'struct' value"
27721             unless defined $_[1];
27722              
27723             # Serializing field: 'callbackID'
27724             croak "Missing required input value 'callbackID'"
27725 0 0         unless exists $_[1]->{callbackID};
27726             # my ($class, $value, $index, $output) = @_;
27727             croak "Missing required input 'int' value"
27728 0 0         unless defined $_[1]->{callbackID};
27729             die "Out of bounds 'int': $_[1]->{callbackID}"
27730 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27731             die "Non-integer 'int' value given: $_[1]->{callbackID}"
27732 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
27733 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
27734 0           $_[2] += 4;
27735              
27736             # Serializing field: 'net'
27737             croak "Missing required input value 'net'"
27738 0 0         unless exists $_[1]->{net};
27739             # my ($class, $value, $index, $output) = @_;
27740 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
27741              
27742             # Serializing field: 'type'
27743             croak "Missing required input value 'type'"
27744 0 0         unless exists $_[1]->{type};
27745             # my ($class, $value, $index, $output) = @_;
27746             croak "Missing required input 'int' value"
27747 0 0         unless defined $_[1]->{type};
27748             die "Out of bounds 'int': $_[1]->{type}"
27749 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
27750             die "Non-integer 'int' value given: $_[1]->{type}"
27751 0 0         unless int($_[1]->{type}) == $_[1]->{type};
27752 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
27753 0           $_[2] += 4;
27754              
27755             # Serializing field: 'nsuri'
27756             croak "Missing required input value 'nsuri'"
27757 0 0         unless exists $_[1]->{nsuri};
27758             # my ($class, $value, $index, $output) = @_;
27759 0           $_[0]->serialize_string( $_[1]->{nsuri}, $_[2], $_[3] );
27760             }
27761             # @_: ($class, $value, $index, $input) = @_;
27762             sub deserialize_network_set_metadata_args {
27763 0     0 0   my $input_length = length $_[3];
27764 0           $_[1] = {};
27765             # Deserializing field: 'network'
27766             # my ($class, $value, $index, $input) = @_;
27767 0           $_[0]->deserialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
27768              
27769             # Deserializing field: 'type'
27770             # my ($class, $value, $index, $input) = @_;
27771 0 0         die "Input buffer too short"
27772             if ($input_length - $_[2]) < 4;
27773 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
27774 0           $_[2] += 4;
27775             die "Out of bounds 'int': $_[1]->{type}"
27776 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
27777              
27778             # Deserializing field: 'metadata'
27779             # my ($class, $value, $index, $input) = @_;
27780 0           $_[0]->deserialize_string( $_[1]->{metadata}, $_[2], $_[3] );
27781              
27782             # Deserializing field: 'key'
27783             # my ($class, $value, $index, $input) = @_;
27784 0           $_[0]->deserialize_string( $_[1]->{key}, $_[2], $_[3] );
27785              
27786             # Deserializing field: 'uri'
27787             # my ($class, $value, $index, $input) = @_;
27788 0           $_[0]->deserialize_string( $_[1]->{uri}, $_[2], $_[3] );
27789              
27790             # Deserializing field: 'flags'
27791             # my ($class, $value, $index, $input) = @_;
27792 0 0         die "Input buffer too short"
27793             if ($input_length - $_[2]) < 4;
27794 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
27795 0           $_[2] += 4;
27796             die "Out of bounds 'unsigned int': $_[1]->{flags}"
27797 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
27798             }
27799             # @_: ($class, $value, $index, $output) = @_;
27800             sub serialize_network_set_metadata_args {
27801 0 0   0 0   croak "Missing required input 'struct' value"
27802             unless defined $_[1];
27803              
27804             # Serializing field: 'network'
27805             croak "Missing required input value 'network'"
27806 0 0         unless exists $_[1]->{network};
27807             # my ($class, $value, $index, $output) = @_;
27808 0           $_[0]->serialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
27809              
27810             # Serializing field: 'type'
27811             croak "Missing required input value 'type'"
27812 0 0         unless exists $_[1]->{type};
27813             # my ($class, $value, $index, $output) = @_;
27814             croak "Missing required input 'int' value"
27815 0 0         unless defined $_[1]->{type};
27816             die "Out of bounds 'int': $_[1]->{type}"
27817 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
27818             die "Non-integer 'int' value given: $_[1]->{type}"
27819 0 0         unless int($_[1]->{type}) == $_[1]->{type};
27820 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
27821 0           $_[2] += 4;
27822              
27823             # Serializing field: 'metadata'
27824             croak "Missing required input value 'metadata'"
27825 0 0         unless exists $_[1]->{metadata};
27826             # my ($class, $value, $index, $output) = @_;
27827 0           $_[0]->serialize_string( $_[1]->{metadata}, $_[2], $_[3] );
27828              
27829             # Serializing field: 'key'
27830             croak "Missing required input value 'key'"
27831 0 0         unless exists $_[1]->{key};
27832             # my ($class, $value, $index, $output) = @_;
27833 0           $_[0]->serialize_string( $_[1]->{key}, $_[2], $_[3] );
27834              
27835             # Serializing field: 'uri'
27836             croak "Missing required input value 'uri'"
27837 0 0         unless exists $_[1]->{uri};
27838             # my ($class, $value, $index, $output) = @_;
27839 0           $_[0]->serialize_string( $_[1]->{uri}, $_[2], $_[3] );
27840              
27841             # Serializing field: 'flags'
27842             croak "Missing required input value 'flags'"
27843 0 0         unless exists $_[1]->{flags};
27844             # my ($class, $value, $index, $output) = @_;
27845             croak "Missing required input 'unsigned int' value"
27846 0 0         unless defined $_[1]->{flags};
27847             die "Out of bounds 'unsigned int': $_[1]->{flags}"
27848 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
27849             die "Non-integer 'int' value given: $_[1]->{flags}"
27850 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
27851 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
27852 0           $_[2] += 4;
27853             }
27854             # @_: ($class, $value, $index, $input) = @_;
27855             sub deserialize_network_get_metadata_args {
27856 0     0 0   my $input_length = length $_[3];
27857 0           $_[1] = {};
27858             # Deserializing field: 'network'
27859             # my ($class, $value, $index, $input) = @_;
27860 0           $_[0]->deserialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
27861              
27862             # Deserializing field: 'type'
27863             # my ($class, $value, $index, $input) = @_;
27864 0 0         die "Input buffer too short"
27865             if ($input_length - $_[2]) < 4;
27866 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
27867 0           $_[2] += 4;
27868             die "Out of bounds 'int': $_[1]->{type}"
27869 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
27870              
27871             # Deserializing field: 'uri'
27872             # my ($class, $value, $index, $input) = @_;
27873 0           $_[0]->deserialize_string( $_[1]->{uri}, $_[2], $_[3] );
27874              
27875             # Deserializing field: 'flags'
27876             # my ($class, $value, $index, $input) = @_;
27877 0 0         die "Input buffer too short"
27878             if ($input_length - $_[2]) < 4;
27879 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
27880 0           $_[2] += 4;
27881             die "Out of bounds 'unsigned int': $_[1]->{flags}"
27882 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
27883             }
27884             # @_: ($class, $value, $index, $output) = @_;
27885             sub serialize_network_get_metadata_args {
27886 0 0   0 0   croak "Missing required input 'struct' value"
27887             unless defined $_[1];
27888              
27889             # Serializing field: 'network'
27890             croak "Missing required input value 'network'"
27891 0 0         unless exists $_[1]->{network};
27892             # my ($class, $value, $index, $output) = @_;
27893 0           $_[0]->serialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
27894              
27895             # Serializing field: 'type'
27896             croak "Missing required input value 'type'"
27897 0 0         unless exists $_[1]->{type};
27898             # my ($class, $value, $index, $output) = @_;
27899             croak "Missing required input 'int' value"
27900 0 0         unless defined $_[1]->{type};
27901             die "Out of bounds 'int': $_[1]->{type}"
27902 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
27903             die "Non-integer 'int' value given: $_[1]->{type}"
27904 0 0         unless int($_[1]->{type}) == $_[1]->{type};
27905 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
27906 0           $_[2] += 4;
27907              
27908             # Serializing field: 'uri'
27909             croak "Missing required input value 'uri'"
27910 0 0         unless exists $_[1]->{uri};
27911             # my ($class, $value, $index, $output) = @_;
27912 0           $_[0]->serialize_string( $_[1]->{uri}, $_[2], $_[3] );
27913              
27914             # Serializing field: 'flags'
27915             croak "Missing required input value 'flags'"
27916 0 0         unless exists $_[1]->{flags};
27917             # my ($class, $value, $index, $output) = @_;
27918             croak "Missing required input 'unsigned int' value"
27919 0 0         unless defined $_[1]->{flags};
27920             die "Out of bounds 'unsigned int': $_[1]->{flags}"
27921 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
27922             die "Non-integer 'int' value given: $_[1]->{flags}"
27923 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
27924 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
27925 0           $_[2] += 4;
27926             }
27927             # @_: ($class, $value, $index, $input) = @_;
27928             sub deserialize_network_get_metadata_ret {
27929 0     0 0   my $input_length = length $_[3];
27930 0           $_[1] = {};
27931             # Deserializing field: 'metadata'
27932             # my ($class, $value, $index, $input) = @_;
27933 0           $_[0]->deserialize_nonnull_string( $_[1]->{metadata}, $_[2], $_[3] );
27934             }
27935             # @_: ($class, $value, $index, $output) = @_;
27936             sub serialize_network_get_metadata_ret {
27937 0 0   0 0   croak "Missing required input 'struct' value"
27938             unless defined $_[1];
27939              
27940             # Serializing field: 'metadata'
27941             croak "Missing required input value 'metadata'"
27942 0 0         unless exists $_[1]->{metadata};
27943             # my ($class, $value, $index, $output) = @_;
27944 0           $_[0]->serialize_nonnull_string( $_[1]->{metadata}, $_[2], $_[3] );
27945             }
27946             # @_: ($class, $value, $index, $input) = @_;
27947             sub deserialize_connect_storage_pool_event_register_any_args {
27948 0     0 0   my $input_length = length $_[3];
27949 0           $_[1] = {};
27950             # Deserializing field: 'eventID'
27951             # my ($class, $value, $index, $input) = @_;
27952 0 0         die "Input buffer too short"
27953             if ($input_length - $_[2]) < 4;
27954 0           $_[1]->{eventID} = unpack("l>", substr( $_[3], $_[2] ));
27955 0           $_[2] += 4;
27956             die "Out of bounds 'int': $_[1]->{eventID}"
27957 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
27958              
27959             # Deserializing field: 'pool'
27960             # my ($class, $value, $index, $input) = @_;
27961 0           $_[0]->deserialize_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
27962             }
27963             # @_: ($class, $value, $index, $output) = @_;
27964             sub serialize_connect_storage_pool_event_register_any_args {
27965 0 0   0 0   croak "Missing required input 'struct' value"
27966             unless defined $_[1];
27967              
27968             # Serializing field: 'eventID'
27969             croak "Missing required input value 'eventID'"
27970 0 0         unless exists $_[1]->{eventID};
27971             # my ($class, $value, $index, $output) = @_;
27972             croak "Missing required input 'int' value"
27973 0 0         unless defined $_[1]->{eventID};
27974             die "Out of bounds 'int': $_[1]->{eventID}"
27975 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
27976             die "Non-integer 'int' value given: $_[1]->{eventID}"
27977 0 0         unless int($_[1]->{eventID}) == $_[1]->{eventID};
27978 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{eventID});
27979 0           $_[2] += 4;
27980              
27981             # Serializing field: 'pool'
27982             croak "Missing required input value 'pool'"
27983 0 0         unless exists $_[1]->{pool};
27984             # my ($class, $value, $index, $output) = @_;
27985 0           $_[0]->serialize_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
27986             }
27987             # @_: ($class, $value, $index, $input) = @_;
27988             sub deserialize_connect_storage_pool_event_register_any_ret {
27989 0     0 0   my $input_length = length $_[3];
27990 0           $_[1] = {};
27991             # Deserializing field: 'callbackID'
27992             # my ($class, $value, $index, $input) = @_;
27993 0 0         die "Input buffer too short"
27994             if ($input_length - $_[2]) < 4;
27995 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
27996 0           $_[2] += 4;
27997             die "Out of bounds 'int': $_[1]->{callbackID}"
27998 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
27999             }
28000             # @_: ($class, $value, $index, $output) = @_;
28001             sub serialize_connect_storage_pool_event_register_any_ret {
28002 0 0   0 0   croak "Missing required input 'struct' value"
28003             unless defined $_[1];
28004              
28005             # Serializing field: 'callbackID'
28006             croak "Missing required input value 'callbackID'"
28007 0 0         unless exists $_[1]->{callbackID};
28008             # my ($class, $value, $index, $output) = @_;
28009             croak "Missing required input 'int' value"
28010 0 0         unless defined $_[1]->{callbackID};
28011             die "Out of bounds 'int': $_[1]->{callbackID}"
28012 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28013             die "Non-integer 'int' value given: $_[1]->{callbackID}"
28014 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
28015 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
28016 0           $_[2] += 4;
28017             }
28018             # @_: ($class, $value, $index, $input) = @_;
28019             sub deserialize_connect_storage_pool_event_deregister_any_args {
28020 0     0 0   my $input_length = length $_[3];
28021 0           $_[1] = {};
28022             # Deserializing field: 'callbackID'
28023             # my ($class, $value, $index, $input) = @_;
28024 0 0         die "Input buffer too short"
28025             if ($input_length - $_[2]) < 4;
28026 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
28027 0           $_[2] += 4;
28028             die "Out of bounds 'int': $_[1]->{callbackID}"
28029 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28030             }
28031             # @_: ($class, $value, $index, $output) = @_;
28032             sub serialize_connect_storage_pool_event_deregister_any_args {
28033 0 0   0 0   croak "Missing required input 'struct' value"
28034             unless defined $_[1];
28035              
28036             # Serializing field: 'callbackID'
28037             croak "Missing required input value 'callbackID'"
28038 0 0         unless exists $_[1]->{callbackID};
28039             # my ($class, $value, $index, $output) = @_;
28040             croak "Missing required input 'int' value"
28041 0 0         unless defined $_[1]->{callbackID};
28042             die "Out of bounds 'int': $_[1]->{callbackID}"
28043 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28044             die "Non-integer 'int' value given: $_[1]->{callbackID}"
28045 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
28046 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
28047 0           $_[2] += 4;
28048             }
28049             # @_: ($class, $value, $index, $input) = @_;
28050             sub deserialize_storage_pool_event_lifecycle_msg {
28051 0     0 0   my $input_length = length $_[3];
28052 0           $_[1] = {};
28053             # Deserializing field: 'callbackID'
28054             # my ($class, $value, $index, $input) = @_;
28055 0 0         die "Input buffer too short"
28056             if ($input_length - $_[2]) < 4;
28057 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
28058 0           $_[2] += 4;
28059             die "Out of bounds 'int': $_[1]->{callbackID}"
28060 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28061              
28062             # Deserializing field: 'pool'
28063             # my ($class, $value, $index, $input) = @_;
28064 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
28065              
28066             # Deserializing field: 'event'
28067             # my ($class, $value, $index, $input) = @_;
28068 0 0         die "Input buffer too short"
28069             if ($input_length - $_[2]) < 4;
28070 0           $_[1]->{event} = unpack("l>", substr( $_[3], $_[2] ));
28071 0           $_[2] += 4;
28072             die "Out of bounds 'int': $_[1]->{event}"
28073 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
28074              
28075             # Deserializing field: 'detail'
28076             # my ($class, $value, $index, $input) = @_;
28077 0 0         die "Input buffer too short"
28078             if ($input_length - $_[2]) < 4;
28079 0           $_[1]->{detail} = unpack("l>", substr( $_[3], $_[2] ));
28080 0           $_[2] += 4;
28081             die "Out of bounds 'int': $_[1]->{detail}"
28082 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
28083             }
28084             # @_: ($class, $value, $index, $output) = @_;
28085             sub serialize_storage_pool_event_lifecycle_msg {
28086 0 0   0 0   croak "Missing required input 'struct' value"
28087             unless defined $_[1];
28088              
28089             # Serializing field: 'callbackID'
28090             croak "Missing required input value 'callbackID'"
28091 0 0         unless exists $_[1]->{callbackID};
28092             # my ($class, $value, $index, $output) = @_;
28093             croak "Missing required input 'int' value"
28094 0 0         unless defined $_[1]->{callbackID};
28095             die "Out of bounds 'int': $_[1]->{callbackID}"
28096 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28097             die "Non-integer 'int' value given: $_[1]->{callbackID}"
28098 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
28099 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
28100 0           $_[2] += 4;
28101              
28102             # Serializing field: 'pool'
28103             croak "Missing required input value 'pool'"
28104 0 0         unless exists $_[1]->{pool};
28105             # my ($class, $value, $index, $output) = @_;
28106 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
28107              
28108             # Serializing field: 'event'
28109             croak "Missing required input value 'event'"
28110 0 0         unless exists $_[1]->{event};
28111             # my ($class, $value, $index, $output) = @_;
28112             croak "Missing required input 'int' value"
28113 0 0         unless defined $_[1]->{event};
28114             die "Out of bounds 'int': $_[1]->{event}"
28115 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
28116             die "Non-integer 'int' value given: $_[1]->{event}"
28117 0 0         unless int($_[1]->{event}) == $_[1]->{event};
28118 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{event});
28119 0           $_[2] += 4;
28120              
28121             # Serializing field: 'detail'
28122             croak "Missing required input value 'detail'"
28123 0 0         unless exists $_[1]->{detail};
28124             # my ($class, $value, $index, $output) = @_;
28125             croak "Missing required input 'int' value"
28126 0 0         unless defined $_[1]->{detail};
28127             die "Out of bounds 'int': $_[1]->{detail}"
28128 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
28129             die "Non-integer 'int' value given: $_[1]->{detail}"
28130 0 0         unless int($_[1]->{detail}) == $_[1]->{detail};
28131 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{detail});
28132 0           $_[2] += 4;
28133             }
28134             # @_: ($class, $value, $index, $input) = @_;
28135             sub deserialize_storage_pool_event_refresh_msg {
28136 0     0 0   my $input_length = length $_[3];
28137 0           $_[1] = {};
28138             # Deserializing field: 'callbackID'
28139             # my ($class, $value, $index, $input) = @_;
28140 0 0         die "Input buffer too short"
28141             if ($input_length - $_[2]) < 4;
28142 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
28143 0           $_[2] += 4;
28144             die "Out of bounds 'int': $_[1]->{callbackID}"
28145 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28146              
28147             # Deserializing field: 'pool'
28148             # my ($class, $value, $index, $input) = @_;
28149 0           $_[0]->deserialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
28150             }
28151             # @_: ($class, $value, $index, $output) = @_;
28152             sub serialize_storage_pool_event_refresh_msg {
28153 0 0   0 0   croak "Missing required input 'struct' value"
28154             unless defined $_[1];
28155              
28156             # Serializing field: 'callbackID'
28157             croak "Missing required input value 'callbackID'"
28158 0 0         unless exists $_[1]->{callbackID};
28159             # my ($class, $value, $index, $output) = @_;
28160             croak "Missing required input 'int' value"
28161 0 0         unless defined $_[1]->{callbackID};
28162             die "Out of bounds 'int': $_[1]->{callbackID}"
28163 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28164             die "Non-integer 'int' value given: $_[1]->{callbackID}"
28165 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
28166 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
28167 0           $_[2] += 4;
28168              
28169             # Serializing field: 'pool'
28170             croak "Missing required input value 'pool'"
28171 0 0         unless exists $_[1]->{pool};
28172             # my ($class, $value, $index, $output) = @_;
28173 0           $_[0]->serialize_nonnull_storage_pool( $_[1]->{pool}, $_[2], $_[3] );
28174             }
28175             # @_: ($class, $value, $index, $input) = @_;
28176             sub deserialize_connect_node_device_event_register_any_args {
28177 0     0 0   my $input_length = length $_[3];
28178 0           $_[1] = {};
28179             # Deserializing field: 'eventID'
28180             # my ($class, $value, $index, $input) = @_;
28181 0 0         die "Input buffer too short"
28182             if ($input_length - $_[2]) < 4;
28183 0           $_[1]->{eventID} = unpack("l>", substr( $_[3], $_[2] ));
28184 0           $_[2] += 4;
28185             die "Out of bounds 'int': $_[1]->{eventID}"
28186 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
28187              
28188             # Deserializing field: 'dev'
28189             # my ($class, $value, $index, $input) = @_;
28190 0           $_[0]->deserialize_node_device( $_[1]->{dev}, $_[2], $_[3] );
28191             }
28192             # @_: ($class, $value, $index, $output) = @_;
28193             sub serialize_connect_node_device_event_register_any_args {
28194 0 0   0 0   croak "Missing required input 'struct' value"
28195             unless defined $_[1];
28196              
28197             # Serializing field: 'eventID'
28198             croak "Missing required input value 'eventID'"
28199 0 0         unless exists $_[1]->{eventID};
28200             # my ($class, $value, $index, $output) = @_;
28201             croak "Missing required input 'int' value"
28202 0 0         unless defined $_[1]->{eventID};
28203             die "Out of bounds 'int': $_[1]->{eventID}"
28204 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
28205             die "Non-integer 'int' value given: $_[1]->{eventID}"
28206 0 0         unless int($_[1]->{eventID}) == $_[1]->{eventID};
28207 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{eventID});
28208 0           $_[2] += 4;
28209              
28210             # Serializing field: 'dev'
28211             croak "Missing required input value 'dev'"
28212 0 0         unless exists $_[1]->{dev};
28213             # my ($class, $value, $index, $output) = @_;
28214 0           $_[0]->serialize_node_device( $_[1]->{dev}, $_[2], $_[3] );
28215             }
28216             # @_: ($class, $value, $index, $input) = @_;
28217             sub deserialize_connect_node_device_event_register_any_ret {
28218 0     0 0   my $input_length = length $_[3];
28219 0           $_[1] = {};
28220             # Deserializing field: 'callbackID'
28221             # my ($class, $value, $index, $input) = @_;
28222 0 0         die "Input buffer too short"
28223             if ($input_length - $_[2]) < 4;
28224 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
28225 0           $_[2] += 4;
28226             die "Out of bounds 'int': $_[1]->{callbackID}"
28227 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28228             }
28229             # @_: ($class, $value, $index, $output) = @_;
28230             sub serialize_connect_node_device_event_register_any_ret {
28231 0 0   0 0   croak "Missing required input 'struct' value"
28232             unless defined $_[1];
28233              
28234             # Serializing field: 'callbackID'
28235             croak "Missing required input value 'callbackID'"
28236 0 0         unless exists $_[1]->{callbackID};
28237             # my ($class, $value, $index, $output) = @_;
28238             croak "Missing required input 'int' value"
28239 0 0         unless defined $_[1]->{callbackID};
28240             die "Out of bounds 'int': $_[1]->{callbackID}"
28241 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28242             die "Non-integer 'int' value given: $_[1]->{callbackID}"
28243 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
28244 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
28245 0           $_[2] += 4;
28246             }
28247             # @_: ($class, $value, $index, $input) = @_;
28248             sub deserialize_connect_node_device_event_deregister_any_args {
28249 0     0 0   my $input_length = length $_[3];
28250 0           $_[1] = {};
28251             # Deserializing field: 'callbackID'
28252             # my ($class, $value, $index, $input) = @_;
28253 0 0         die "Input buffer too short"
28254             if ($input_length - $_[2]) < 4;
28255 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
28256 0           $_[2] += 4;
28257             die "Out of bounds 'int': $_[1]->{callbackID}"
28258 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28259             }
28260             # @_: ($class, $value, $index, $output) = @_;
28261             sub serialize_connect_node_device_event_deregister_any_args {
28262 0 0   0 0   croak "Missing required input 'struct' value"
28263             unless defined $_[1];
28264              
28265             # Serializing field: 'callbackID'
28266             croak "Missing required input value 'callbackID'"
28267 0 0         unless exists $_[1]->{callbackID};
28268             # my ($class, $value, $index, $output) = @_;
28269             croak "Missing required input 'int' value"
28270 0 0         unless defined $_[1]->{callbackID};
28271             die "Out of bounds 'int': $_[1]->{callbackID}"
28272 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28273             die "Non-integer 'int' value given: $_[1]->{callbackID}"
28274 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
28275 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
28276 0           $_[2] += 4;
28277             }
28278             # @_: ($class, $value, $index, $input) = @_;
28279             sub deserialize_node_device_event_lifecycle_msg {
28280 0     0 0   my $input_length = length $_[3];
28281 0           $_[1] = {};
28282             # Deserializing field: 'callbackID'
28283             # my ($class, $value, $index, $input) = @_;
28284 0 0         die "Input buffer too short"
28285             if ($input_length - $_[2]) < 4;
28286 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
28287 0           $_[2] += 4;
28288             die "Out of bounds 'int': $_[1]->{callbackID}"
28289 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28290              
28291             # Deserializing field: 'dev'
28292             # my ($class, $value, $index, $input) = @_;
28293 0           $_[0]->deserialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
28294              
28295             # Deserializing field: 'event'
28296             # my ($class, $value, $index, $input) = @_;
28297 0 0         die "Input buffer too short"
28298             if ($input_length - $_[2]) < 4;
28299 0           $_[1]->{event} = unpack("l>", substr( $_[3], $_[2] ));
28300 0           $_[2] += 4;
28301             die "Out of bounds 'int': $_[1]->{event}"
28302 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
28303              
28304             # Deserializing field: 'detail'
28305             # my ($class, $value, $index, $input) = @_;
28306 0 0         die "Input buffer too short"
28307             if ($input_length - $_[2]) < 4;
28308 0           $_[1]->{detail} = unpack("l>", substr( $_[3], $_[2] ));
28309 0           $_[2] += 4;
28310             die "Out of bounds 'int': $_[1]->{detail}"
28311 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
28312             }
28313             # @_: ($class, $value, $index, $output) = @_;
28314             sub serialize_node_device_event_lifecycle_msg {
28315 0 0   0 0   croak "Missing required input 'struct' value"
28316             unless defined $_[1];
28317              
28318             # Serializing field: 'callbackID'
28319             croak "Missing required input value 'callbackID'"
28320 0 0         unless exists $_[1]->{callbackID};
28321             # my ($class, $value, $index, $output) = @_;
28322             croak "Missing required input 'int' value"
28323 0 0         unless defined $_[1]->{callbackID};
28324             die "Out of bounds 'int': $_[1]->{callbackID}"
28325 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28326             die "Non-integer 'int' value given: $_[1]->{callbackID}"
28327 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
28328 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
28329 0           $_[2] += 4;
28330              
28331             # Serializing field: 'dev'
28332             croak "Missing required input value 'dev'"
28333 0 0         unless exists $_[1]->{dev};
28334             # my ($class, $value, $index, $output) = @_;
28335 0           $_[0]->serialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
28336              
28337             # Serializing field: 'event'
28338             croak "Missing required input value 'event'"
28339 0 0         unless exists $_[1]->{event};
28340             # my ($class, $value, $index, $output) = @_;
28341             croak "Missing required input 'int' value"
28342 0 0         unless defined $_[1]->{event};
28343             die "Out of bounds 'int': $_[1]->{event}"
28344 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
28345             die "Non-integer 'int' value given: $_[1]->{event}"
28346 0 0         unless int($_[1]->{event}) == $_[1]->{event};
28347 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{event});
28348 0           $_[2] += 4;
28349              
28350             # Serializing field: 'detail'
28351             croak "Missing required input value 'detail'"
28352 0 0         unless exists $_[1]->{detail};
28353             # my ($class, $value, $index, $output) = @_;
28354             croak "Missing required input 'int' value"
28355 0 0         unless defined $_[1]->{detail};
28356             die "Out of bounds 'int': $_[1]->{detail}"
28357 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
28358             die "Non-integer 'int' value given: $_[1]->{detail}"
28359 0 0         unless int($_[1]->{detail}) == $_[1]->{detail};
28360 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{detail});
28361 0           $_[2] += 4;
28362             }
28363             # @_: ($class, $value, $index, $input) = @_;
28364             sub deserialize_node_device_event_update_msg {
28365 0     0 0   my $input_length = length $_[3];
28366 0           $_[1] = {};
28367             # Deserializing field: 'callbackID'
28368             # my ($class, $value, $index, $input) = @_;
28369 0 0         die "Input buffer too short"
28370             if ($input_length - $_[2]) < 4;
28371 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
28372 0           $_[2] += 4;
28373             die "Out of bounds 'int': $_[1]->{callbackID}"
28374 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28375              
28376             # Deserializing field: 'dev'
28377             # my ($class, $value, $index, $input) = @_;
28378 0           $_[0]->deserialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
28379             }
28380             # @_: ($class, $value, $index, $output) = @_;
28381             sub serialize_node_device_event_update_msg {
28382 0 0   0 0   croak "Missing required input 'struct' value"
28383             unless defined $_[1];
28384              
28385             # Serializing field: 'callbackID'
28386             croak "Missing required input value 'callbackID'"
28387 0 0         unless exists $_[1]->{callbackID};
28388             # my ($class, $value, $index, $output) = @_;
28389             croak "Missing required input 'int' value"
28390 0 0         unless defined $_[1]->{callbackID};
28391             die "Out of bounds 'int': $_[1]->{callbackID}"
28392 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
28393             die "Non-integer 'int' value given: $_[1]->{callbackID}"
28394 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
28395 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
28396 0           $_[2] += 4;
28397              
28398             # Serializing field: 'dev'
28399             croak "Missing required input value 'dev'"
28400 0 0         unless exists $_[1]->{dev};
28401             # my ($class, $value, $index, $output) = @_;
28402 0           $_[0]->serialize_nonnull_node_device( $_[1]->{dev}, $_[2], $_[3] );
28403             }
28404             # @_: ($class, $value, $index, $input) = @_;
28405             sub deserialize_domain_fsfreeze_args {
28406 0     0 0   my $input_length = length $_[3];
28407 0           $_[1] = {};
28408             # Deserializing field: 'dom'
28409             # my ($class, $value, $index, $input) = @_;
28410 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
28411              
28412             # Deserializing field: 'mountpoints'
28413             # my ($class, $value, $index, $input) = @_;
28414 0           do {
28415 0 0         die "Input buffer too short"
28416             if ($input_length - $_[2]) < 4;
28417 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
28418 0           $_[2] += 4;
28419              
28420 0 0         die "Array too long (max: 256): $len"
28421             unless ($len <= 256);
28422 0           $_[1]->{mountpoints} = [];
28423 0           for my $i1 ( 0 .. ($len - 1) ) {
28424             # my ($class, $value, $index, $input) = @_;
28425 0           $_[0]->deserialize_nonnull_string( $_[1]->{mountpoints}->[$i1], $_[2], $_[3] );
28426             }
28427             };
28428              
28429             # Deserializing field: 'flags'
28430             # my ($class, $value, $index, $input) = @_;
28431 0 0         die "Input buffer too short"
28432             if ($input_length - $_[2]) < 4;
28433 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
28434 0           $_[2] += 4;
28435             die "Out of bounds 'unsigned int': $_[1]->{flags}"
28436 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
28437             }
28438             # @_: ($class, $value, $index, $output) = @_;
28439             sub serialize_domain_fsfreeze_args {
28440 0 0   0 0   croak "Missing required input 'struct' value"
28441             unless defined $_[1];
28442              
28443             # Serializing field: 'dom'
28444             croak "Missing required input value 'dom'"
28445 0 0         unless exists $_[1]->{dom};
28446             # my ($class, $value, $index, $output) = @_;
28447 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
28448              
28449             # Serializing field: 'mountpoints'
28450             croak "Missing required input value 'mountpoints'"
28451 0 0         unless exists $_[1]->{mountpoints};
28452             # my ($class, $value, $index, $output) = @_;
28453             croak "Missing required input 'array' value"
28454 0 0         unless defined $_[1]->{mountpoints};
28455 0           do {
28456 0           my $len = scalar @{ $_[1]->{mountpoints} };
  0            
28457 0 0         die "Array too long (max: 256): $len"
28458             unless ($len <= 256);
28459              
28460 0           substr( $_[3], $_[2] ) = pack("L>", $len);
28461 0           $_[2] += 4;
28462 0           for my $i1 ( 0 .. ($len - 1) ) {
28463             # my ($class, $value, $index, $output) = @_;
28464 0           $_[0]->serialize_nonnull_string( $_[1]->{mountpoints}->[$i1], $_[2], $_[3] );
28465             }
28466             };
28467              
28468             # Serializing field: 'flags'
28469             croak "Missing required input value 'flags'"
28470 0 0         unless exists $_[1]->{flags};
28471             # my ($class, $value, $index, $output) = @_;
28472             croak "Missing required input 'unsigned int' value"
28473 0 0         unless defined $_[1]->{flags};
28474             die "Out of bounds 'unsigned int': $_[1]->{flags}"
28475 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
28476             die "Non-integer 'int' value given: $_[1]->{flags}"
28477 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
28478 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
28479 0           $_[2] += 4;
28480             }
28481             # @_: ($class, $value, $index, $input) = @_;
28482             sub deserialize_domain_fsfreeze_ret {
28483 0     0 0   my $input_length = length $_[3];
28484 0           $_[1] = {};
28485             # Deserializing field: 'filesystems'
28486             # my ($class, $value, $index, $input) = @_;
28487 0 0         die "Input buffer too short"
28488             if ($input_length - $_[2]) < 4;
28489 0           $_[1]->{filesystems} = unpack("l>", substr( $_[3], $_[2] ));
28490 0           $_[2] += 4;
28491             die "Out of bounds 'int': $_[1]->{filesystems}"
28492 0 0 0       unless (-2147483648 <= $_[1]->{filesystems} and $_[1]->{filesystems} < 2147483648);
28493             }
28494             # @_: ($class, $value, $index, $output) = @_;
28495             sub serialize_domain_fsfreeze_ret {
28496 0 0   0 0   croak "Missing required input 'struct' value"
28497             unless defined $_[1];
28498              
28499             # Serializing field: 'filesystems'
28500             croak "Missing required input value 'filesystems'"
28501 0 0         unless exists $_[1]->{filesystems};
28502             # my ($class, $value, $index, $output) = @_;
28503             croak "Missing required input 'int' value"
28504 0 0         unless defined $_[1]->{filesystems};
28505             die "Out of bounds 'int': $_[1]->{filesystems}"
28506 0 0 0       unless (-2147483648 <= $_[1]->{filesystems} and $_[1]->{filesystems} < 2147483648);
28507             die "Non-integer 'int' value given: $_[1]->{filesystems}"
28508 0 0         unless int($_[1]->{filesystems}) == $_[1]->{filesystems};
28509 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{filesystems});
28510 0           $_[2] += 4;
28511             }
28512             # @_: ($class, $value, $index, $input) = @_;
28513             sub deserialize_domain_fsthaw_args {
28514 0     0 0   my $input_length = length $_[3];
28515 0           $_[1] = {};
28516             # Deserializing field: 'dom'
28517             # my ($class, $value, $index, $input) = @_;
28518 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
28519              
28520             # Deserializing field: 'mountpoints'
28521             # my ($class, $value, $index, $input) = @_;
28522 0           do {
28523 0 0         die "Input buffer too short"
28524             if ($input_length - $_[2]) < 4;
28525 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
28526 0           $_[2] += 4;
28527              
28528 0 0         die "Array too long (max: 256): $len"
28529             unless ($len <= 256);
28530 0           $_[1]->{mountpoints} = [];
28531 0           for my $i1 ( 0 .. ($len - 1) ) {
28532             # my ($class, $value, $index, $input) = @_;
28533 0           $_[0]->deserialize_nonnull_string( $_[1]->{mountpoints}->[$i1], $_[2], $_[3] );
28534             }
28535             };
28536              
28537             # Deserializing field: 'flags'
28538             # my ($class, $value, $index, $input) = @_;
28539 0 0         die "Input buffer too short"
28540             if ($input_length - $_[2]) < 4;
28541 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
28542 0           $_[2] += 4;
28543             die "Out of bounds 'unsigned int': $_[1]->{flags}"
28544 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
28545             }
28546             # @_: ($class, $value, $index, $output) = @_;
28547             sub serialize_domain_fsthaw_args {
28548 0 0   0 0   croak "Missing required input 'struct' value"
28549             unless defined $_[1];
28550              
28551             # Serializing field: 'dom'
28552             croak "Missing required input value 'dom'"
28553 0 0         unless exists $_[1]->{dom};
28554             # my ($class, $value, $index, $output) = @_;
28555 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
28556              
28557             # Serializing field: 'mountpoints'
28558             croak "Missing required input value 'mountpoints'"
28559 0 0         unless exists $_[1]->{mountpoints};
28560             # my ($class, $value, $index, $output) = @_;
28561             croak "Missing required input 'array' value"
28562 0 0         unless defined $_[1]->{mountpoints};
28563 0           do {
28564 0           my $len = scalar @{ $_[1]->{mountpoints} };
  0            
28565 0 0         die "Array too long (max: 256): $len"
28566             unless ($len <= 256);
28567              
28568 0           substr( $_[3], $_[2] ) = pack("L>", $len);
28569 0           $_[2] += 4;
28570 0           for my $i1 ( 0 .. ($len - 1) ) {
28571             # my ($class, $value, $index, $output) = @_;
28572 0           $_[0]->serialize_nonnull_string( $_[1]->{mountpoints}->[$i1], $_[2], $_[3] );
28573             }
28574             };
28575              
28576             # Serializing field: 'flags'
28577             croak "Missing required input value 'flags'"
28578 0 0         unless exists $_[1]->{flags};
28579             # my ($class, $value, $index, $output) = @_;
28580             croak "Missing required input 'unsigned int' value"
28581 0 0         unless defined $_[1]->{flags};
28582             die "Out of bounds 'unsigned int': $_[1]->{flags}"
28583 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
28584             die "Non-integer 'int' value given: $_[1]->{flags}"
28585 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
28586 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
28587 0           $_[2] += 4;
28588             }
28589             # @_: ($class, $value, $index, $input) = @_;
28590             sub deserialize_domain_fsthaw_ret {
28591 0     0 0   my $input_length = length $_[3];
28592 0           $_[1] = {};
28593             # Deserializing field: 'filesystems'
28594             # my ($class, $value, $index, $input) = @_;
28595 0 0         die "Input buffer too short"
28596             if ($input_length - $_[2]) < 4;
28597 0           $_[1]->{filesystems} = unpack("l>", substr( $_[3], $_[2] ));
28598 0           $_[2] += 4;
28599             die "Out of bounds 'int': $_[1]->{filesystems}"
28600 0 0 0       unless (-2147483648 <= $_[1]->{filesystems} and $_[1]->{filesystems} < 2147483648);
28601             }
28602             # @_: ($class, $value, $index, $output) = @_;
28603             sub serialize_domain_fsthaw_ret {
28604 0 0   0 0   croak "Missing required input 'struct' value"
28605             unless defined $_[1];
28606              
28607             # Serializing field: 'filesystems'
28608             croak "Missing required input value 'filesystems'"
28609 0 0         unless exists $_[1]->{filesystems};
28610             # my ($class, $value, $index, $output) = @_;
28611             croak "Missing required input 'int' value"
28612 0 0         unless defined $_[1]->{filesystems};
28613             die "Out of bounds 'int': $_[1]->{filesystems}"
28614 0 0 0       unless (-2147483648 <= $_[1]->{filesystems} and $_[1]->{filesystems} < 2147483648);
28615             die "Non-integer 'int' value given: $_[1]->{filesystems}"
28616 0 0         unless int($_[1]->{filesystems}) == $_[1]->{filesystems};
28617 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{filesystems});
28618 0           $_[2] += 4;
28619             }
28620             # @_: ($class, $value, $index, $input) = @_;
28621             sub deserialize_node_get_free_pages_args {
28622 0     0 0   my $input_length = length $_[3];
28623 0           $_[1] = {};
28624             # Deserializing field: 'pages'
28625             # my ($class, $value, $index, $input) = @_;
28626 0           do {
28627 0 0         die "Input buffer too short"
28628             if ($input_length - $_[2]) < 4;
28629 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
28630 0           $_[2] += 4;
28631              
28632 0 0         die "Array too long (max: 1024): $len"
28633             unless ($len <= 1024);
28634 0           $_[1]->{pages} = [];
28635 0           for my $i1 ( 0 .. ($len - 1) ) {
28636             # my ($class, $value, $index, $input) = @_;
28637 0 0         die "Input buffer too short"
28638             if ($input_length - $_[2]) < 4;
28639 0           $_[1]->{pages}->[$i1] = unpack("L>", substr( $_[3], $_[2] ));
28640 0           $_[2] += 4;
28641             die "Out of bounds 'unsigned int': $_[1]->{pages}->[$i1]"
28642 0 0 0       unless (0 <= $_[1]->{pages}->[$i1] and $_[1]->{pages}->[$i1] <= 4294967295);
28643             }
28644             };
28645              
28646             # Deserializing field: 'startCell'
28647             # my ($class, $value, $index, $input) = @_;
28648 0 0         die "Input buffer too short"
28649             if ($input_length - $_[2]) < 4;
28650 0           $_[1]->{startCell} = unpack("l>", substr( $_[3], $_[2] ));
28651 0           $_[2] += 4;
28652             die "Out of bounds 'int': $_[1]->{startCell}"
28653 0 0 0       unless (-2147483648 <= $_[1]->{startCell} and $_[1]->{startCell} < 2147483648);
28654              
28655             # Deserializing field: 'cellCount'
28656             # my ($class, $value, $index, $input) = @_;
28657 0 0         die "Input buffer too short"
28658             if ($input_length - $_[2]) < 4;
28659 0           $_[1]->{cellCount} = unpack("L>", substr( $_[3], $_[2] ));
28660 0           $_[2] += 4;
28661             die "Out of bounds 'unsigned int': $_[1]->{cellCount}"
28662 0 0 0       unless (0 <= $_[1]->{cellCount} and $_[1]->{cellCount} <= 4294967295);
28663              
28664             # Deserializing field: 'flags'
28665             # my ($class, $value, $index, $input) = @_;
28666 0 0         die "Input buffer too short"
28667             if ($input_length - $_[2]) < 4;
28668 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
28669 0           $_[2] += 4;
28670             die "Out of bounds 'unsigned int': $_[1]->{flags}"
28671 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
28672             }
28673             # @_: ($class, $value, $index, $output) = @_;
28674             sub serialize_node_get_free_pages_args {
28675 0 0   0 0   croak "Missing required input 'struct' value"
28676             unless defined $_[1];
28677              
28678             # Serializing field: 'pages'
28679             croak "Missing required input value 'pages'"
28680 0 0         unless exists $_[1]->{pages};
28681             # my ($class, $value, $index, $output) = @_;
28682             croak "Missing required input 'array' value"
28683 0 0         unless defined $_[1]->{pages};
28684 0           do {
28685 0           my $len = scalar @{ $_[1]->{pages} };
  0            
28686 0 0         die "Array too long (max: 1024): $len"
28687             unless ($len <= 1024);
28688              
28689 0           substr( $_[3], $_[2] ) = pack("L>", $len);
28690 0           $_[2] += 4;
28691 0           for my $i1 ( 0 .. ($len - 1) ) {
28692             # my ($class, $value, $index, $output) = @_;
28693             croak "Missing required input 'unsigned int' value"
28694 0 0         unless defined $_[1]->{pages}->[$i1];
28695             die "Out of bounds 'unsigned int': $_[1]->{pages}->[$i1]"
28696 0 0 0       unless (0 <= $_[1]->{pages}->[$i1] and $_[1]->{pages}->[$i1] <= 4294967295);
28697             die "Non-integer 'int' value given: $_[1]->{pages}->[$i1]"
28698 0 0         unless int($_[1]->{pages}->[$i1]) == $_[1]->{pages}->[$i1];
28699 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{pages}->[$i1]);
28700 0           $_[2] += 4;
28701             }
28702             };
28703              
28704             # Serializing field: 'startCell'
28705             croak "Missing required input value 'startCell'"
28706 0 0         unless exists $_[1]->{startCell};
28707             # my ($class, $value, $index, $output) = @_;
28708             croak "Missing required input 'int' value"
28709 0 0         unless defined $_[1]->{startCell};
28710             die "Out of bounds 'int': $_[1]->{startCell}"
28711 0 0 0       unless (-2147483648 <= $_[1]->{startCell} and $_[1]->{startCell} < 2147483648);
28712             die "Non-integer 'int' value given: $_[1]->{startCell}"
28713 0 0         unless int($_[1]->{startCell}) == $_[1]->{startCell};
28714 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{startCell});
28715 0           $_[2] += 4;
28716              
28717             # Serializing field: 'cellCount'
28718             croak "Missing required input value 'cellCount'"
28719 0 0         unless exists $_[1]->{cellCount};
28720             # my ($class, $value, $index, $output) = @_;
28721             croak "Missing required input 'unsigned int' value"
28722 0 0         unless defined $_[1]->{cellCount};
28723             die "Out of bounds 'unsigned int': $_[1]->{cellCount}"
28724 0 0 0       unless (0 <= $_[1]->{cellCount} and $_[1]->{cellCount} <= 4294967295);
28725             die "Non-integer 'int' value given: $_[1]->{cellCount}"
28726 0 0         unless int($_[1]->{cellCount}) == $_[1]->{cellCount};
28727 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{cellCount});
28728 0           $_[2] += 4;
28729              
28730             # Serializing field: 'flags'
28731             croak "Missing required input value 'flags'"
28732 0 0         unless exists $_[1]->{flags};
28733             # my ($class, $value, $index, $output) = @_;
28734             croak "Missing required input 'unsigned int' value"
28735 0 0         unless defined $_[1]->{flags};
28736             die "Out of bounds 'unsigned int': $_[1]->{flags}"
28737 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
28738             die "Non-integer 'int' value given: $_[1]->{flags}"
28739 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
28740 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
28741 0           $_[2] += 4;
28742             }
28743             # @_: ($class, $value, $index, $input) = @_;
28744             sub deserialize_node_get_free_pages_ret {
28745 0     0 0   my $input_length = length $_[3];
28746 0           $_[1] = {};
28747             # Deserializing field: 'counts'
28748             # my ($class, $value, $index, $input) = @_;
28749 0           do {
28750 0 0         die "Input buffer too short"
28751             if ($input_length - $_[2]) < 4;
28752 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
28753 0           $_[2] += 4;
28754              
28755 0 0         die "Array too long (max: 1024): $len"
28756             unless ($len <= 1024);
28757 0           $_[1]->{counts} = [];
28758 0           for my $i1 ( 0 .. ($len - 1) ) {
28759             # my ($class, $value, $index, $input) = @_;
28760 0 0         die "Input buffer too short"
28761             if ($input_length - $_[2]) < 8;
28762 0           $_[1]->{counts}->[$i1] = unpack("Q>", substr( $_[3], $_[2] ));
28763 0           $_[2] += 8;
28764             die "Out of bounds 'unsigned hyper': $_[1]->{counts}->[$i1]"
28765             unless (0 <= $_[1]->{counts}->[$i1]
28766 0 0 0       and $_[1]->{counts}->[$i1] <= 18446744073709551615);
28767             }
28768             };
28769             }
28770             # @_: ($class, $value, $index, $output) = @_;
28771             sub serialize_node_get_free_pages_ret {
28772 0 0   0 0   croak "Missing required input 'struct' value"
28773             unless defined $_[1];
28774              
28775             # Serializing field: 'counts'
28776             croak "Missing required input value 'counts'"
28777 0 0         unless exists $_[1]->{counts};
28778             # my ($class, $value, $index, $output) = @_;
28779             croak "Missing required input 'array' value"
28780 0 0         unless defined $_[1]->{counts};
28781 0           do {
28782 0           my $len = scalar @{ $_[1]->{counts} };
  0            
28783 0 0         die "Array too long (max: 1024): $len"
28784             unless ($len <= 1024);
28785              
28786 0           substr( $_[3], $_[2] ) = pack("L>", $len);
28787 0           $_[2] += 4;
28788 0           for my $i1 ( 0 .. ($len - 1) ) {
28789             # my ($class, $value, $index, $output) = @_;
28790             croak "Missing required input 'unsigned long' value"
28791 0 0         unless defined $_[1]->{counts}->[$i1];
28792             die "Out of bounds 'unsigned hyper': $_[1]->{counts}->[$i1]"
28793             unless (0 <= $_[1]->{counts}->[$i1]
28794 0 0 0       and $_[1]->{counts}->[$i1] <= 18446744073709551615);
28795             die "Non-integer 'long' value given: $_[1]->{counts}->[$i1]"
28796 0 0         unless int($_[1]->{counts}->[$i1]) == $_[1]->{counts}->[$i1];
28797 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{counts}->[$i1]);
28798 0           $_[2] += 8;
28799             }
28800             };
28801             }
28802             # @_: ($class, $value, $index, $input) = @_;
28803             sub deserialize_node_alloc_pages_args {
28804 0     0 0   my $input_length = length $_[3];
28805 0           $_[1] = {};
28806             # Deserializing field: 'pageSizes'
28807             # my ($class, $value, $index, $input) = @_;
28808 0           do {
28809 0 0         die "Input buffer too short"
28810             if ($input_length - $_[2]) < 4;
28811 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
28812 0           $_[2] += 4;
28813              
28814 0 0         die "Array too long (max: 1024): $len"
28815             unless ($len <= 1024);
28816 0           $_[1]->{pageSizes} = [];
28817 0           for my $i1 ( 0 .. ($len - 1) ) {
28818             # my ($class, $value, $index, $input) = @_;
28819 0 0         die "Input buffer too short"
28820             if ($input_length - $_[2]) < 4;
28821 0           $_[1]->{pageSizes}->[$i1] = unpack("L>", substr( $_[3], $_[2] ));
28822 0           $_[2] += 4;
28823             die "Out of bounds 'unsigned int': $_[1]->{pageSizes}->[$i1]"
28824 0 0 0       unless (0 <= $_[1]->{pageSizes}->[$i1] and $_[1]->{pageSizes}->[$i1] <= 4294967295);
28825             }
28826             };
28827              
28828             # Deserializing field: 'pageCounts'
28829             # my ($class, $value, $index, $input) = @_;
28830 0           do {
28831 0 0         die "Input buffer too short"
28832             if ($input_length - $_[2]) < 4;
28833 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
28834 0           $_[2] += 4;
28835              
28836 0 0         die "Array too long (max: 1024): $len"
28837             unless ($len <= 1024);
28838 0           $_[1]->{pageCounts} = [];
28839 0           for my $i1 ( 0 .. ($len - 1) ) {
28840             # my ($class, $value, $index, $input) = @_;
28841 0 0         die "Input buffer too short"
28842             if ($input_length - $_[2]) < 8;
28843 0           $_[1]->{pageCounts}->[$i1] = unpack("Q>", substr( $_[3], $_[2] ));
28844 0           $_[2] += 8;
28845             die "Out of bounds 'unsigned hyper': $_[1]->{pageCounts}->[$i1]"
28846             unless (0 <= $_[1]->{pageCounts}->[$i1]
28847 0 0 0       and $_[1]->{pageCounts}->[$i1] <= 18446744073709551615);
28848             }
28849             };
28850              
28851             # Deserializing field: 'startCell'
28852             # my ($class, $value, $index, $input) = @_;
28853 0 0         die "Input buffer too short"
28854             if ($input_length - $_[2]) < 4;
28855 0           $_[1]->{startCell} = unpack("l>", substr( $_[3], $_[2] ));
28856 0           $_[2] += 4;
28857             die "Out of bounds 'int': $_[1]->{startCell}"
28858 0 0 0       unless (-2147483648 <= $_[1]->{startCell} and $_[1]->{startCell} < 2147483648);
28859              
28860             # Deserializing field: 'cellCount'
28861             # my ($class, $value, $index, $input) = @_;
28862 0 0         die "Input buffer too short"
28863             if ($input_length - $_[2]) < 4;
28864 0           $_[1]->{cellCount} = unpack("L>", substr( $_[3], $_[2] ));
28865 0           $_[2] += 4;
28866             die "Out of bounds 'unsigned int': $_[1]->{cellCount}"
28867 0 0 0       unless (0 <= $_[1]->{cellCount} and $_[1]->{cellCount} <= 4294967295);
28868              
28869             # Deserializing field: 'flags'
28870             # my ($class, $value, $index, $input) = @_;
28871 0 0         die "Input buffer too short"
28872             if ($input_length - $_[2]) < 4;
28873 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
28874 0           $_[2] += 4;
28875             die "Out of bounds 'unsigned int': $_[1]->{flags}"
28876 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
28877             }
28878             # @_: ($class, $value, $index, $output) = @_;
28879             sub serialize_node_alloc_pages_args {
28880 0 0   0 0   croak "Missing required input 'struct' value"
28881             unless defined $_[1];
28882              
28883             # Serializing field: 'pageSizes'
28884             croak "Missing required input value 'pageSizes'"
28885 0 0         unless exists $_[1]->{pageSizes};
28886             # my ($class, $value, $index, $output) = @_;
28887             croak "Missing required input 'array' value"
28888 0 0         unless defined $_[1]->{pageSizes};
28889 0           do {
28890 0           my $len = scalar @{ $_[1]->{pageSizes} };
  0            
28891 0 0         die "Array too long (max: 1024): $len"
28892             unless ($len <= 1024);
28893              
28894 0           substr( $_[3], $_[2] ) = pack("L>", $len);
28895 0           $_[2] += 4;
28896 0           for my $i1 ( 0 .. ($len - 1) ) {
28897             # my ($class, $value, $index, $output) = @_;
28898             croak "Missing required input 'unsigned int' value"
28899 0 0         unless defined $_[1]->{pageSizes}->[$i1];
28900             die "Out of bounds 'unsigned int': $_[1]->{pageSizes}->[$i1]"
28901 0 0 0       unless (0 <= $_[1]->{pageSizes}->[$i1] and $_[1]->{pageSizes}->[$i1] <= 4294967295);
28902             die "Non-integer 'int' value given: $_[1]->{pageSizes}->[$i1]"
28903 0 0         unless int($_[1]->{pageSizes}->[$i1]) == $_[1]->{pageSizes}->[$i1];
28904 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{pageSizes}->[$i1]);
28905 0           $_[2] += 4;
28906             }
28907             };
28908              
28909             # Serializing field: 'pageCounts'
28910             croak "Missing required input value 'pageCounts'"
28911 0 0         unless exists $_[1]->{pageCounts};
28912             # my ($class, $value, $index, $output) = @_;
28913             croak "Missing required input 'array' value"
28914 0 0         unless defined $_[1]->{pageCounts};
28915 0           do {
28916 0           my $len = scalar @{ $_[1]->{pageCounts} };
  0            
28917 0 0         die "Array too long (max: 1024): $len"
28918             unless ($len <= 1024);
28919              
28920 0           substr( $_[3], $_[2] ) = pack("L>", $len);
28921 0           $_[2] += 4;
28922 0           for my $i1 ( 0 .. ($len - 1) ) {
28923             # my ($class, $value, $index, $output) = @_;
28924             croak "Missing required input 'unsigned long' value"
28925 0 0         unless defined $_[1]->{pageCounts}->[$i1];
28926             die "Out of bounds 'unsigned hyper': $_[1]->{pageCounts}->[$i1]"
28927             unless (0 <= $_[1]->{pageCounts}->[$i1]
28928 0 0 0       and $_[1]->{pageCounts}->[$i1] <= 18446744073709551615);
28929             die "Non-integer 'long' value given: $_[1]->{pageCounts}->[$i1]"
28930 0 0         unless int($_[1]->{pageCounts}->[$i1]) == $_[1]->{pageCounts}->[$i1];
28931 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{pageCounts}->[$i1]);
28932 0           $_[2] += 8;
28933             }
28934             };
28935              
28936             # Serializing field: 'startCell'
28937             croak "Missing required input value 'startCell'"
28938 0 0         unless exists $_[1]->{startCell};
28939             # my ($class, $value, $index, $output) = @_;
28940             croak "Missing required input 'int' value"
28941 0 0         unless defined $_[1]->{startCell};
28942             die "Out of bounds 'int': $_[1]->{startCell}"
28943 0 0 0       unless (-2147483648 <= $_[1]->{startCell} and $_[1]->{startCell} < 2147483648);
28944             die "Non-integer 'int' value given: $_[1]->{startCell}"
28945 0 0         unless int($_[1]->{startCell}) == $_[1]->{startCell};
28946 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{startCell});
28947 0           $_[2] += 4;
28948              
28949             # Serializing field: 'cellCount'
28950             croak "Missing required input value 'cellCount'"
28951 0 0         unless exists $_[1]->{cellCount};
28952             # my ($class, $value, $index, $output) = @_;
28953             croak "Missing required input 'unsigned int' value"
28954 0 0         unless defined $_[1]->{cellCount};
28955             die "Out of bounds 'unsigned int': $_[1]->{cellCount}"
28956 0 0 0       unless (0 <= $_[1]->{cellCount} and $_[1]->{cellCount} <= 4294967295);
28957             die "Non-integer 'int' value given: $_[1]->{cellCount}"
28958 0 0         unless int($_[1]->{cellCount}) == $_[1]->{cellCount};
28959 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{cellCount});
28960 0           $_[2] += 4;
28961              
28962             # Serializing field: 'flags'
28963             croak "Missing required input value 'flags'"
28964 0 0         unless exists $_[1]->{flags};
28965             # my ($class, $value, $index, $output) = @_;
28966             croak "Missing required input 'unsigned int' value"
28967 0 0         unless defined $_[1]->{flags};
28968             die "Out of bounds 'unsigned int': $_[1]->{flags}"
28969 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
28970             die "Non-integer 'int' value given: $_[1]->{flags}"
28971 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
28972 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
28973 0           $_[2] += 4;
28974             }
28975             # @_: ($class, $value, $index, $input) = @_;
28976             sub deserialize_node_alloc_pages_ret {
28977 0     0 0   my $input_length = length $_[3];
28978 0           $_[1] = {};
28979             # Deserializing field: 'ret'
28980             # my ($class, $value, $index, $input) = @_;
28981 0 0         die "Input buffer too short"
28982             if ($input_length - $_[2]) < 4;
28983 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
28984 0           $_[2] += 4;
28985             die "Out of bounds 'int': $_[1]->{ret}"
28986 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
28987             }
28988             # @_: ($class, $value, $index, $output) = @_;
28989             sub serialize_node_alloc_pages_ret {
28990 0 0   0 0   croak "Missing required input 'struct' value"
28991             unless defined $_[1];
28992              
28993             # Serializing field: 'ret'
28994             croak "Missing required input value 'ret'"
28995 0 0         unless exists $_[1]->{ret};
28996             # my ($class, $value, $index, $output) = @_;
28997             croak "Missing required input 'int' value"
28998 0 0         unless defined $_[1]->{ret};
28999             die "Out of bounds 'int': $_[1]->{ret}"
29000 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
29001             die "Non-integer 'int' value given: $_[1]->{ret}"
29002 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
29003 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
29004 0           $_[2] += 4;
29005             }
29006             # @_: ($class, $value, $index, $input) = @_;
29007             sub deserialize_network_dhcp_lease {
29008 0     0 0   my $input_length = length $_[3];
29009 0           $_[1] = {};
29010             # Deserializing field: 'iface'
29011             # my ($class, $value, $index, $input) = @_;
29012 0           $_[0]->deserialize_nonnull_string( $_[1]->{iface}, $_[2], $_[3] );
29013              
29014             # Deserializing field: 'expirytime'
29015             # my ($class, $value, $index, $input) = @_;
29016 0 0         die "Input buffer too short"
29017             if ($input_length - $_[2]) < 8;
29018 0           $_[1]->{expirytime} = unpack("q>", substr( $_[3], $_[2] ));
29019 0           $_[2] += 8;
29020             die "Out of bounds 'hyper': $_[1]->{expirytime}"
29021             unless (-9223372036854775808 <= $_[1]->{expirytime}
29022 0 0 0       and $_[1]->{expirytime} < 9223372036854775808);
29023              
29024             # Deserializing field: 'type'
29025             # my ($class, $value, $index, $input) = @_;
29026 0 0         die "Input buffer too short"
29027             if ($input_length - $_[2]) < 4;
29028 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
29029 0           $_[2] += 4;
29030             die "Out of bounds 'int': $_[1]->{type}"
29031 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
29032              
29033             # Deserializing field: 'mac'
29034             # my ($class, $value, $index, $input) = @_;
29035 0           $_[0]->deserialize_string( $_[1]->{mac}, $_[2], $_[3] );
29036              
29037             # Deserializing field: 'iaid'
29038             # my ($class, $value, $index, $input) = @_;
29039 0           $_[0]->deserialize_string( $_[1]->{iaid}, $_[2], $_[3] );
29040              
29041             # Deserializing field: 'ipaddr'
29042             # my ($class, $value, $index, $input) = @_;
29043 0           $_[0]->deserialize_nonnull_string( $_[1]->{ipaddr}, $_[2], $_[3] );
29044              
29045             # Deserializing field: 'prefix'
29046             # my ($class, $value, $index, $input) = @_;
29047 0 0         die "Input buffer too short"
29048             if ($input_length - $_[2]) < 4;
29049 0           $_[1]->{prefix} = unpack("L>", substr( $_[3], $_[2] ));
29050 0           $_[2] += 4;
29051             die "Out of bounds 'unsigned int': $_[1]->{prefix}"
29052 0 0 0       unless (0 <= $_[1]->{prefix} and $_[1]->{prefix} <= 4294967295);
29053              
29054             # Deserializing field: 'hostname'
29055             # my ($class, $value, $index, $input) = @_;
29056 0           $_[0]->deserialize_string( $_[1]->{hostname}, $_[2], $_[3] );
29057              
29058             # Deserializing field: 'clientid'
29059             # my ($class, $value, $index, $input) = @_;
29060 0           $_[0]->deserialize_string( $_[1]->{clientid}, $_[2], $_[3] );
29061             }
29062             # @_: ($class, $value, $index, $output) = @_;
29063             sub serialize_network_dhcp_lease {
29064 0 0   0 0   croak "Missing required input 'struct' value"
29065             unless defined $_[1];
29066              
29067             # Serializing field: 'iface'
29068             croak "Missing required input value 'iface'"
29069 0 0         unless exists $_[1]->{iface};
29070             # my ($class, $value, $index, $output) = @_;
29071 0           $_[0]->serialize_nonnull_string( $_[1]->{iface}, $_[2], $_[3] );
29072              
29073             # Serializing field: 'expirytime'
29074             croak "Missing required input value 'expirytime'"
29075 0 0         unless exists $_[1]->{expirytime};
29076             # my ($class, $value, $index, $output) = @_;
29077             croak "Missing required input 'long' value"
29078 0 0         unless defined $_[1]->{expirytime};
29079             die "Out of bounds 'hyper': $_[1]->{expirytime}"
29080             unless (-9223372036854775808 <= $_[1]->{expirytime}
29081 0 0 0       and $_[1]->{expirytime} < 9223372036854775808);
29082             die "Non-integer 'long' value given: $_[1]->{expirytime}"
29083 0 0         unless int($_[1]->{expirytime}) == $_[1]->{expirytime};
29084 0           substr( $_[3], $_[2] ) = pack("q>", $_[1]->{expirytime});
29085 0           $_[2] += 8;
29086              
29087             # Serializing field: 'type'
29088             croak "Missing required input value 'type'"
29089 0 0         unless exists $_[1]->{type};
29090             # my ($class, $value, $index, $output) = @_;
29091             croak "Missing required input 'int' value"
29092 0 0         unless defined $_[1]->{type};
29093             die "Out of bounds 'int': $_[1]->{type}"
29094 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
29095             die "Non-integer 'int' value given: $_[1]->{type}"
29096 0 0         unless int($_[1]->{type}) == $_[1]->{type};
29097 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
29098 0           $_[2] += 4;
29099              
29100             # Serializing field: 'mac'
29101             croak "Missing required input value 'mac'"
29102 0 0         unless exists $_[1]->{mac};
29103             # my ($class, $value, $index, $output) = @_;
29104 0           $_[0]->serialize_string( $_[1]->{mac}, $_[2], $_[3] );
29105              
29106             # Serializing field: 'iaid'
29107             croak "Missing required input value 'iaid'"
29108 0 0         unless exists $_[1]->{iaid};
29109             # my ($class, $value, $index, $output) = @_;
29110 0           $_[0]->serialize_string( $_[1]->{iaid}, $_[2], $_[3] );
29111              
29112             # Serializing field: 'ipaddr'
29113             croak "Missing required input value 'ipaddr'"
29114 0 0         unless exists $_[1]->{ipaddr};
29115             # my ($class, $value, $index, $output) = @_;
29116 0           $_[0]->serialize_nonnull_string( $_[1]->{ipaddr}, $_[2], $_[3] );
29117              
29118             # Serializing field: 'prefix'
29119             croak "Missing required input value 'prefix'"
29120 0 0         unless exists $_[1]->{prefix};
29121             # my ($class, $value, $index, $output) = @_;
29122             croak "Missing required input 'unsigned int' value"
29123 0 0         unless defined $_[1]->{prefix};
29124             die "Out of bounds 'unsigned int': $_[1]->{prefix}"
29125 0 0 0       unless (0 <= $_[1]->{prefix} and $_[1]->{prefix} <= 4294967295);
29126             die "Non-integer 'int' value given: $_[1]->{prefix}"
29127 0 0         unless int($_[1]->{prefix}) == $_[1]->{prefix};
29128 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{prefix});
29129 0           $_[2] += 4;
29130              
29131             # Serializing field: 'hostname'
29132             croak "Missing required input value 'hostname'"
29133 0 0         unless exists $_[1]->{hostname};
29134             # my ($class, $value, $index, $output) = @_;
29135 0           $_[0]->serialize_string( $_[1]->{hostname}, $_[2], $_[3] );
29136              
29137             # Serializing field: 'clientid'
29138             croak "Missing required input value 'clientid'"
29139 0 0         unless exists $_[1]->{clientid};
29140             # my ($class, $value, $index, $output) = @_;
29141 0           $_[0]->serialize_string( $_[1]->{clientid}, $_[2], $_[3] );
29142             }
29143             # @_: ($class, $value, $index, $input) = @_;
29144             sub deserialize_network_get_dhcp_leases_args {
29145 0     0 0   my $input_length = length $_[3];
29146 0           $_[1] = {};
29147             # Deserializing field: 'net'
29148             # my ($class, $value, $index, $input) = @_;
29149 0           $_[0]->deserialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
29150              
29151             # Deserializing field: 'mac'
29152             # my ($class, $value, $index, $input) = @_;
29153 0           $_[0]->deserialize_string( $_[1]->{mac}, $_[2], $_[3] );
29154              
29155             # Deserializing field: 'need_results'
29156             # my ($class, $value, $index, $input) = @_;
29157 0 0         die "Input buffer too short"
29158             if ($input_length - $_[2]) < 4;
29159 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
29160 0           $_[2] += 4;
29161             die "Out of bounds 'int': $_[1]->{need_results}"
29162 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
29163              
29164             # Deserializing field: 'flags'
29165             # my ($class, $value, $index, $input) = @_;
29166 0 0         die "Input buffer too short"
29167             if ($input_length - $_[2]) < 4;
29168 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
29169 0           $_[2] += 4;
29170             die "Out of bounds 'unsigned int': $_[1]->{flags}"
29171 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
29172             }
29173             # @_: ($class, $value, $index, $output) = @_;
29174             sub serialize_network_get_dhcp_leases_args {
29175 0 0   0 0   croak "Missing required input 'struct' value"
29176             unless defined $_[1];
29177              
29178             # Serializing field: 'net'
29179             croak "Missing required input value 'net'"
29180 0 0         unless exists $_[1]->{net};
29181             # my ($class, $value, $index, $output) = @_;
29182 0           $_[0]->serialize_nonnull_network( $_[1]->{net}, $_[2], $_[3] );
29183              
29184             # Serializing field: 'mac'
29185             croak "Missing required input value 'mac'"
29186 0 0         unless exists $_[1]->{mac};
29187             # my ($class, $value, $index, $output) = @_;
29188 0           $_[0]->serialize_string( $_[1]->{mac}, $_[2], $_[3] );
29189              
29190             # Serializing field: 'need_results'
29191             croak "Missing required input value 'need_results'"
29192 0 0         unless exists $_[1]->{need_results};
29193             # my ($class, $value, $index, $output) = @_;
29194             croak "Missing required input 'int' value"
29195 0 0         unless defined $_[1]->{need_results};
29196             die "Out of bounds 'int': $_[1]->{need_results}"
29197 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
29198             die "Non-integer 'int' value given: $_[1]->{need_results}"
29199 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
29200 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
29201 0           $_[2] += 4;
29202              
29203             # Serializing field: 'flags'
29204             croak "Missing required input value 'flags'"
29205 0 0         unless exists $_[1]->{flags};
29206             # my ($class, $value, $index, $output) = @_;
29207             croak "Missing required input 'unsigned int' value"
29208 0 0         unless defined $_[1]->{flags};
29209             die "Out of bounds 'unsigned int': $_[1]->{flags}"
29210 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
29211             die "Non-integer 'int' value given: $_[1]->{flags}"
29212 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
29213 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
29214 0           $_[2] += 4;
29215             }
29216             # @_: ($class, $value, $index, $input) = @_;
29217             sub deserialize_network_get_dhcp_leases_ret {
29218 0     0 0   my $input_length = length $_[3];
29219 0           $_[1] = {};
29220             # Deserializing field: 'leases'
29221             # my ($class, $value, $index, $input) = @_;
29222 0           do {
29223 0 0         die "Input buffer too short"
29224             if ($input_length - $_[2]) < 4;
29225 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
29226 0           $_[2] += 4;
29227              
29228 0 0         die "Array too long (max: 65536): $len"
29229             unless ($len <= 65536);
29230 0           $_[1]->{leases} = [];
29231 0           for my $i1 ( 0 .. ($len - 1) ) {
29232             # my ($class, $value, $index, $input) = @_;
29233 0           $_[0]->deserialize_network_dhcp_lease( $_[1]->{leases}->[$i1], $_[2], $_[3] );
29234             }
29235             };
29236              
29237             # Deserializing field: 'ret'
29238             # my ($class, $value, $index, $input) = @_;
29239 0 0         die "Input buffer too short"
29240             if ($input_length - $_[2]) < 4;
29241 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
29242 0           $_[2] += 4;
29243             die "Out of bounds 'unsigned int': $_[1]->{ret}"
29244 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
29245             }
29246             # @_: ($class, $value, $index, $output) = @_;
29247             sub serialize_network_get_dhcp_leases_ret {
29248 0 0   0 0   croak "Missing required input 'struct' value"
29249             unless defined $_[1];
29250              
29251             # Serializing field: 'leases'
29252             croak "Missing required input value 'leases'"
29253 0 0         unless exists $_[1]->{leases};
29254             # my ($class, $value, $index, $output) = @_;
29255             croak "Missing required input 'array' value"
29256 0 0         unless defined $_[1]->{leases};
29257 0           do {
29258 0           my $len = scalar @{ $_[1]->{leases} };
  0            
29259 0 0         die "Array too long (max: 65536): $len"
29260             unless ($len <= 65536);
29261              
29262 0           substr( $_[3], $_[2] ) = pack("L>", $len);
29263 0           $_[2] += 4;
29264 0           for my $i1 ( 0 .. ($len - 1) ) {
29265             # my ($class, $value, $index, $output) = @_;
29266 0           $_[0]->serialize_network_dhcp_lease( $_[1]->{leases}->[$i1], $_[2], $_[3] );
29267             }
29268             };
29269              
29270             # Serializing field: 'ret'
29271             croak "Missing required input value 'ret'"
29272 0 0         unless exists $_[1]->{ret};
29273             # my ($class, $value, $index, $output) = @_;
29274             croak "Missing required input 'unsigned int' value"
29275 0 0         unless defined $_[1]->{ret};
29276             die "Out of bounds 'unsigned int': $_[1]->{ret}"
29277 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
29278             die "Non-integer 'int' value given: $_[1]->{ret}"
29279 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
29280 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
29281 0           $_[2] += 4;
29282             }
29283             # @_: ($class, $value, $index, $input) = @_;
29284             sub deserialize_domain_stats_record {
29285 0     0 0   my $input_length = length $_[3];
29286 0           $_[1] = {};
29287             # Deserializing field: 'dom'
29288             # my ($class, $value, $index, $input) = @_;
29289 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29290              
29291             # Deserializing field: 'params'
29292             # my ($class, $value, $index, $input) = @_;
29293 0           do {
29294 0 0         die "Input buffer too short"
29295             if ($input_length - $_[2]) < 4;
29296 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
29297 0           $_[2] += 4;
29298              
29299 0 0         die "Array too long (max: 262144): $len"
29300             unless ($len <= 262144);
29301 0           $_[1]->{params} = [];
29302 0           for my $i1 ( 0 .. ($len - 1) ) {
29303             # my ($class, $value, $index, $input) = @_;
29304 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
29305             }
29306             };
29307             }
29308             # @_: ($class, $value, $index, $output) = @_;
29309             sub serialize_domain_stats_record {
29310 0 0   0 0   croak "Missing required input 'struct' value"
29311             unless defined $_[1];
29312              
29313             # Serializing field: 'dom'
29314             croak "Missing required input value 'dom'"
29315 0 0         unless exists $_[1]->{dom};
29316             # my ($class, $value, $index, $output) = @_;
29317 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29318              
29319             # Serializing field: 'params'
29320             croak "Missing required input value 'params'"
29321 0 0         unless exists $_[1]->{params};
29322             # my ($class, $value, $index, $output) = @_;
29323             croak "Missing required input 'array' value"
29324 0 0         unless defined $_[1]->{params};
29325 0           do {
29326 0           my $len = scalar @{ $_[1]->{params} };
  0            
29327 0 0         die "Array too long (max: 262144): $len"
29328             unless ($len <= 262144);
29329              
29330 0           substr( $_[3], $_[2] ) = pack("L>", $len);
29331 0           $_[2] += 4;
29332 0           for my $i1 ( 0 .. ($len - 1) ) {
29333             # my ($class, $value, $index, $output) = @_;
29334 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
29335             }
29336             };
29337             }
29338             # @_: ($class, $value, $index, $input) = @_;
29339             sub deserialize_connect_get_all_domain_stats_args {
29340 0     0 0   my $input_length = length $_[3];
29341 0           $_[1] = {};
29342             # Deserializing field: 'doms'
29343             # my ($class, $value, $index, $input) = @_;
29344 0           do {
29345 0 0         die "Input buffer too short"
29346             if ($input_length - $_[2]) < 4;
29347 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
29348 0           $_[2] += 4;
29349              
29350 0 0         die "Array too long (max: 16384): $len"
29351             unless ($len <= 16384);
29352 0           $_[1]->{doms} = [];
29353 0           for my $i1 ( 0 .. ($len - 1) ) {
29354             # my ($class, $value, $index, $input) = @_;
29355 0           $_[0]->deserialize_nonnull_domain( $_[1]->{doms}->[$i1], $_[2], $_[3] );
29356             }
29357             };
29358              
29359             # Deserializing field: 'stats'
29360             # my ($class, $value, $index, $input) = @_;
29361 0 0         die "Input buffer too short"
29362             if ($input_length - $_[2]) < 4;
29363 0           $_[1]->{stats} = unpack("L>", substr( $_[3], $_[2] ));
29364 0           $_[2] += 4;
29365             die "Out of bounds 'unsigned int': $_[1]->{stats}"
29366 0 0 0       unless (0 <= $_[1]->{stats} and $_[1]->{stats} <= 4294967295);
29367              
29368             # Deserializing field: 'flags'
29369             # my ($class, $value, $index, $input) = @_;
29370 0 0         die "Input buffer too short"
29371             if ($input_length - $_[2]) < 4;
29372 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
29373 0           $_[2] += 4;
29374             die "Out of bounds 'unsigned int': $_[1]->{flags}"
29375 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
29376             }
29377             # @_: ($class, $value, $index, $output) = @_;
29378             sub serialize_connect_get_all_domain_stats_args {
29379 0 0   0 0   croak "Missing required input 'struct' value"
29380             unless defined $_[1];
29381              
29382             # Serializing field: 'doms'
29383             croak "Missing required input value 'doms'"
29384 0 0         unless exists $_[1]->{doms};
29385             # my ($class, $value, $index, $output) = @_;
29386             croak "Missing required input 'array' value"
29387 0 0         unless defined $_[1]->{doms};
29388 0           do {
29389 0           my $len = scalar @{ $_[1]->{doms} };
  0            
29390 0 0         die "Array too long (max: 16384): $len"
29391             unless ($len <= 16384);
29392              
29393 0           substr( $_[3], $_[2] ) = pack("L>", $len);
29394 0           $_[2] += 4;
29395 0           for my $i1 ( 0 .. ($len - 1) ) {
29396             # my ($class, $value, $index, $output) = @_;
29397 0           $_[0]->serialize_nonnull_domain( $_[1]->{doms}->[$i1], $_[2], $_[3] );
29398             }
29399             };
29400              
29401             # Serializing field: 'stats'
29402             croak "Missing required input value 'stats'"
29403 0 0         unless exists $_[1]->{stats};
29404             # my ($class, $value, $index, $output) = @_;
29405             croak "Missing required input 'unsigned int' value"
29406 0 0         unless defined $_[1]->{stats};
29407             die "Out of bounds 'unsigned int': $_[1]->{stats}"
29408 0 0 0       unless (0 <= $_[1]->{stats} and $_[1]->{stats} <= 4294967295);
29409             die "Non-integer 'int' value given: $_[1]->{stats}"
29410 0 0         unless int($_[1]->{stats}) == $_[1]->{stats};
29411 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{stats});
29412 0           $_[2] += 4;
29413              
29414             # Serializing field: 'flags'
29415             croak "Missing required input value 'flags'"
29416 0 0         unless exists $_[1]->{flags};
29417             # my ($class, $value, $index, $output) = @_;
29418             croak "Missing required input 'unsigned int' value"
29419 0 0         unless defined $_[1]->{flags};
29420             die "Out of bounds 'unsigned int': $_[1]->{flags}"
29421 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
29422             die "Non-integer 'int' value given: $_[1]->{flags}"
29423 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
29424 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
29425 0           $_[2] += 4;
29426             }
29427             # @_: ($class, $value, $index, $input) = @_;
29428             sub deserialize_domain_event_callback_agent_lifecycle_msg {
29429 0     0 0   my $input_length = length $_[3];
29430 0           $_[1] = {};
29431             # Deserializing field: 'callbackID'
29432             # my ($class, $value, $index, $input) = @_;
29433 0 0         die "Input buffer too short"
29434             if ($input_length - $_[2]) < 4;
29435 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
29436 0           $_[2] += 4;
29437             die "Out of bounds 'int': $_[1]->{callbackID}"
29438 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
29439              
29440             # Deserializing field: 'dom'
29441             # my ($class, $value, $index, $input) = @_;
29442 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29443              
29444             # Deserializing field: 'state'
29445             # my ($class, $value, $index, $input) = @_;
29446 0 0         die "Input buffer too short"
29447             if ($input_length - $_[2]) < 4;
29448 0           $_[1]->{state} = unpack("l>", substr( $_[3], $_[2] ));
29449 0           $_[2] += 4;
29450             die "Out of bounds 'int': $_[1]->{state}"
29451 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
29452              
29453             # Deserializing field: 'reason'
29454             # my ($class, $value, $index, $input) = @_;
29455 0 0         die "Input buffer too short"
29456             if ($input_length - $_[2]) < 4;
29457 0           $_[1]->{reason} = unpack("l>", substr( $_[3], $_[2] ));
29458 0           $_[2] += 4;
29459             die "Out of bounds 'int': $_[1]->{reason}"
29460 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
29461             }
29462             # @_: ($class, $value, $index, $output) = @_;
29463             sub serialize_domain_event_callback_agent_lifecycle_msg {
29464 0 0   0 0   croak "Missing required input 'struct' value"
29465             unless defined $_[1];
29466              
29467             # Serializing field: 'callbackID'
29468             croak "Missing required input value 'callbackID'"
29469 0 0         unless exists $_[1]->{callbackID};
29470             # my ($class, $value, $index, $output) = @_;
29471             croak "Missing required input 'int' value"
29472 0 0         unless defined $_[1]->{callbackID};
29473             die "Out of bounds 'int': $_[1]->{callbackID}"
29474 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
29475             die "Non-integer 'int' value given: $_[1]->{callbackID}"
29476 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
29477 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
29478 0           $_[2] += 4;
29479              
29480             # Serializing field: 'dom'
29481             croak "Missing required input value 'dom'"
29482 0 0         unless exists $_[1]->{dom};
29483             # my ($class, $value, $index, $output) = @_;
29484 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29485              
29486             # Serializing field: 'state'
29487             croak "Missing required input value 'state'"
29488 0 0         unless exists $_[1]->{state};
29489             # my ($class, $value, $index, $output) = @_;
29490             croak "Missing required input 'int' value"
29491 0 0         unless defined $_[1]->{state};
29492             die "Out of bounds 'int': $_[1]->{state}"
29493 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
29494             die "Non-integer 'int' value given: $_[1]->{state}"
29495 0 0         unless int($_[1]->{state}) == $_[1]->{state};
29496 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{state});
29497 0           $_[2] += 4;
29498              
29499             # Serializing field: 'reason'
29500             croak "Missing required input value 'reason'"
29501 0 0         unless exists $_[1]->{reason};
29502             # my ($class, $value, $index, $output) = @_;
29503             croak "Missing required input 'int' value"
29504 0 0         unless defined $_[1]->{reason};
29505             die "Out of bounds 'int': $_[1]->{reason}"
29506 0 0 0       unless (-2147483648 <= $_[1]->{reason} and $_[1]->{reason} < 2147483648);
29507             die "Non-integer 'int' value given: $_[1]->{reason}"
29508 0 0         unless int($_[1]->{reason}) == $_[1]->{reason};
29509 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{reason});
29510 0           $_[2] += 4;
29511             }
29512             # @_: ($class, $value, $index, $input) = @_;
29513             sub deserialize_connect_get_all_domain_stats_ret {
29514 0     0 0   my $input_length = length $_[3];
29515 0           $_[1] = {};
29516             # Deserializing field: 'retStats'
29517             # my ($class, $value, $index, $input) = @_;
29518 0           do {
29519 0 0         die "Input buffer too short"
29520             if ($input_length - $_[2]) < 4;
29521 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
29522 0           $_[2] += 4;
29523              
29524 0 0         die "Array too long (max: 16384): $len"
29525             unless ($len <= 16384);
29526 0           $_[1]->{retStats} = [];
29527 0           for my $i1 ( 0 .. ($len - 1) ) {
29528             # my ($class, $value, $index, $input) = @_;
29529 0           $_[0]->deserialize_domain_stats_record( $_[1]->{retStats}->[$i1], $_[2], $_[3] );
29530             }
29531             };
29532             }
29533             # @_: ($class, $value, $index, $output) = @_;
29534             sub serialize_connect_get_all_domain_stats_ret {
29535 0 0   0 0   croak "Missing required input 'struct' value"
29536             unless defined $_[1];
29537              
29538             # Serializing field: 'retStats'
29539             croak "Missing required input value 'retStats'"
29540 0 0         unless exists $_[1]->{retStats};
29541             # my ($class, $value, $index, $output) = @_;
29542             croak "Missing required input 'array' value"
29543 0 0         unless defined $_[1]->{retStats};
29544 0           do {
29545 0           my $len = scalar @{ $_[1]->{retStats} };
  0            
29546 0 0         die "Array too long (max: 16384): $len"
29547             unless ($len <= 16384);
29548              
29549 0           substr( $_[3], $_[2] ) = pack("L>", $len);
29550 0           $_[2] += 4;
29551 0           for my $i1 ( 0 .. ($len - 1) ) {
29552             # my ($class, $value, $index, $output) = @_;
29553 0           $_[0]->serialize_domain_stats_record( $_[1]->{retStats}->[$i1], $_[2], $_[3] );
29554             }
29555             };
29556             }
29557             # @_: ($class, $value, $index, $input) = @_;
29558             sub deserialize_domain_fsinfo {
29559 0     0 0   my $input_length = length $_[3];
29560 0           $_[1] = {};
29561             # Deserializing field: 'mountpoint'
29562             # my ($class, $value, $index, $input) = @_;
29563 0           $_[0]->deserialize_nonnull_string( $_[1]->{mountpoint}, $_[2], $_[3] );
29564              
29565             # Deserializing field: 'name'
29566             # my ($class, $value, $index, $input) = @_;
29567 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
29568              
29569             # Deserializing field: 'fstype'
29570             # my ($class, $value, $index, $input) = @_;
29571 0           $_[0]->deserialize_nonnull_string( $_[1]->{fstype}, $_[2], $_[3] );
29572              
29573             # Deserializing field: 'dev_aliases'
29574             # my ($class, $value, $index, $input) = @_;
29575 0           do {
29576 0 0         die "Input buffer too short"
29577             if ($input_length - $_[2]) < 4;
29578 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
29579 0           $_[2] += 4;
29580              
29581 0 0         die "Array too long (max: 256): $len"
29582             unless ($len <= 256);
29583 0           $_[1]->{dev_aliases} = [];
29584 0           for my $i1 ( 0 .. ($len - 1) ) {
29585             # my ($class, $value, $index, $input) = @_;
29586 0           $_[0]->deserialize_nonnull_string( $_[1]->{dev_aliases}->[$i1], $_[2], $_[3] );
29587             }
29588             };
29589             }
29590             # @_: ($class, $value, $index, $output) = @_;
29591             sub serialize_domain_fsinfo {
29592 0 0   0 0   croak "Missing required input 'struct' value"
29593             unless defined $_[1];
29594              
29595             # Serializing field: 'mountpoint'
29596             croak "Missing required input value 'mountpoint'"
29597 0 0         unless exists $_[1]->{mountpoint};
29598             # my ($class, $value, $index, $output) = @_;
29599 0           $_[0]->serialize_nonnull_string( $_[1]->{mountpoint}, $_[2], $_[3] );
29600              
29601             # Serializing field: 'name'
29602             croak "Missing required input value 'name'"
29603 0 0         unless exists $_[1]->{name};
29604             # my ($class, $value, $index, $output) = @_;
29605 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
29606              
29607             # Serializing field: 'fstype'
29608             croak "Missing required input value 'fstype'"
29609 0 0         unless exists $_[1]->{fstype};
29610             # my ($class, $value, $index, $output) = @_;
29611 0           $_[0]->serialize_nonnull_string( $_[1]->{fstype}, $_[2], $_[3] );
29612              
29613             # Serializing field: 'dev_aliases'
29614             croak "Missing required input value 'dev_aliases'"
29615 0 0         unless exists $_[1]->{dev_aliases};
29616             # my ($class, $value, $index, $output) = @_;
29617             croak "Missing required input 'array' value"
29618 0 0         unless defined $_[1]->{dev_aliases};
29619 0           do {
29620 0           my $len = scalar @{ $_[1]->{dev_aliases} };
  0            
29621 0 0         die "Array too long (max: 256): $len"
29622             unless ($len <= 256);
29623              
29624 0           substr( $_[3], $_[2] ) = pack("L>", $len);
29625 0           $_[2] += 4;
29626 0           for my $i1 ( 0 .. ($len - 1) ) {
29627             # my ($class, $value, $index, $output) = @_;
29628 0           $_[0]->serialize_nonnull_string( $_[1]->{dev_aliases}->[$i1], $_[2], $_[3] );
29629             }
29630             };
29631             }
29632             # @_: ($class, $value, $index, $input) = @_;
29633             sub deserialize_domain_get_fsinfo_args {
29634 0     0 0   my $input_length = length $_[3];
29635 0           $_[1] = {};
29636             # Deserializing field: 'dom'
29637             # my ($class, $value, $index, $input) = @_;
29638 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29639              
29640             # Deserializing field: 'flags'
29641             # my ($class, $value, $index, $input) = @_;
29642 0 0         die "Input buffer too short"
29643             if ($input_length - $_[2]) < 4;
29644 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
29645 0           $_[2] += 4;
29646             die "Out of bounds 'unsigned int': $_[1]->{flags}"
29647 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
29648             }
29649             # @_: ($class, $value, $index, $output) = @_;
29650             sub serialize_domain_get_fsinfo_args {
29651 0 0   0 0   croak "Missing required input 'struct' value"
29652             unless defined $_[1];
29653              
29654             # Serializing field: 'dom'
29655             croak "Missing required input value 'dom'"
29656 0 0         unless exists $_[1]->{dom};
29657             # my ($class, $value, $index, $output) = @_;
29658 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29659              
29660             # Serializing field: 'flags'
29661             croak "Missing required input value 'flags'"
29662 0 0         unless exists $_[1]->{flags};
29663             # my ($class, $value, $index, $output) = @_;
29664             croak "Missing required input 'unsigned int' value"
29665 0 0         unless defined $_[1]->{flags};
29666             die "Out of bounds 'unsigned int': $_[1]->{flags}"
29667 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
29668             die "Non-integer 'int' value given: $_[1]->{flags}"
29669 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
29670 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
29671 0           $_[2] += 4;
29672             }
29673             # @_: ($class, $value, $index, $input) = @_;
29674             sub deserialize_domain_get_fsinfo_ret {
29675 0     0 0   my $input_length = length $_[3];
29676 0           $_[1] = {};
29677             # Deserializing field: 'info'
29678             # my ($class, $value, $index, $input) = @_;
29679 0           do {
29680 0 0         die "Input buffer too short"
29681             if ($input_length - $_[2]) < 4;
29682 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
29683 0           $_[2] += 4;
29684              
29685 0 0         die "Array too long (max: 256): $len"
29686             unless ($len <= 256);
29687 0           $_[1]->{info} = [];
29688 0           for my $i1 ( 0 .. ($len - 1) ) {
29689             # my ($class, $value, $index, $input) = @_;
29690 0           $_[0]->deserialize_domain_fsinfo( $_[1]->{info}->[$i1], $_[2], $_[3] );
29691             }
29692             };
29693              
29694             # Deserializing field: 'ret'
29695             # my ($class, $value, $index, $input) = @_;
29696 0 0         die "Input buffer too short"
29697             if ($input_length - $_[2]) < 4;
29698 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
29699 0           $_[2] += 4;
29700             die "Out of bounds 'unsigned int': $_[1]->{ret}"
29701 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
29702             }
29703             # @_: ($class, $value, $index, $output) = @_;
29704             sub serialize_domain_get_fsinfo_ret {
29705 0 0   0 0   croak "Missing required input 'struct' value"
29706             unless defined $_[1];
29707              
29708             # Serializing field: 'info'
29709             croak "Missing required input value 'info'"
29710 0 0         unless exists $_[1]->{info};
29711             # my ($class, $value, $index, $output) = @_;
29712             croak "Missing required input 'array' value"
29713 0 0         unless defined $_[1]->{info};
29714 0           do {
29715 0           my $len = scalar @{ $_[1]->{info} };
  0            
29716 0 0         die "Array too long (max: 256): $len"
29717             unless ($len <= 256);
29718              
29719 0           substr( $_[3], $_[2] ) = pack("L>", $len);
29720 0           $_[2] += 4;
29721 0           for my $i1 ( 0 .. ($len - 1) ) {
29722             # my ($class, $value, $index, $output) = @_;
29723 0           $_[0]->serialize_domain_fsinfo( $_[1]->{info}->[$i1], $_[2], $_[3] );
29724             }
29725             };
29726              
29727             # Serializing field: 'ret'
29728             croak "Missing required input value 'ret'"
29729 0 0         unless exists $_[1]->{ret};
29730             # my ($class, $value, $index, $output) = @_;
29731             croak "Missing required input 'unsigned int' value"
29732 0 0         unless defined $_[1]->{ret};
29733             die "Out of bounds 'unsigned int': $_[1]->{ret}"
29734 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
29735             die "Non-integer 'int' value given: $_[1]->{ret}"
29736 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
29737 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
29738 0           $_[2] += 4;
29739             }
29740             # @_: ($class, $value, $index, $input) = @_;
29741             sub deserialize_domain_ip_addr {
29742 0     0 0   my $input_length = length $_[3];
29743 0           $_[1] = {};
29744             # Deserializing field: 'type'
29745             # my ($class, $value, $index, $input) = @_;
29746 0 0         die "Input buffer too short"
29747             if ($input_length - $_[2]) < 4;
29748 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
29749 0           $_[2] += 4;
29750             die "Out of bounds 'int': $_[1]->{type}"
29751 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
29752              
29753             # Deserializing field: 'addr'
29754             # my ($class, $value, $index, $input) = @_;
29755 0           $_[0]->deserialize_nonnull_string( $_[1]->{addr}, $_[2], $_[3] );
29756              
29757             # Deserializing field: 'prefix'
29758             # my ($class, $value, $index, $input) = @_;
29759 0 0         die "Input buffer too short"
29760             if ($input_length - $_[2]) < 4;
29761 0           $_[1]->{prefix} = unpack("L>", substr( $_[3], $_[2] ));
29762 0           $_[2] += 4;
29763             die "Out of bounds 'unsigned int': $_[1]->{prefix}"
29764 0 0 0       unless (0 <= $_[1]->{prefix} and $_[1]->{prefix} <= 4294967295);
29765             }
29766             # @_: ($class, $value, $index, $output) = @_;
29767             sub serialize_domain_ip_addr {
29768 0 0   0 0   croak "Missing required input 'struct' value"
29769             unless defined $_[1];
29770              
29771             # Serializing field: 'type'
29772             croak "Missing required input value 'type'"
29773 0 0         unless exists $_[1]->{type};
29774             # my ($class, $value, $index, $output) = @_;
29775             croak "Missing required input 'int' value"
29776 0 0         unless defined $_[1]->{type};
29777             die "Out of bounds 'int': $_[1]->{type}"
29778 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
29779             die "Non-integer 'int' value given: $_[1]->{type}"
29780 0 0         unless int($_[1]->{type}) == $_[1]->{type};
29781 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
29782 0           $_[2] += 4;
29783              
29784             # Serializing field: 'addr'
29785             croak "Missing required input value 'addr'"
29786 0 0         unless exists $_[1]->{addr};
29787             # my ($class, $value, $index, $output) = @_;
29788 0           $_[0]->serialize_nonnull_string( $_[1]->{addr}, $_[2], $_[3] );
29789              
29790             # Serializing field: 'prefix'
29791             croak "Missing required input value 'prefix'"
29792 0 0         unless exists $_[1]->{prefix};
29793             # my ($class, $value, $index, $output) = @_;
29794             croak "Missing required input 'unsigned int' value"
29795 0 0         unless defined $_[1]->{prefix};
29796             die "Out of bounds 'unsigned int': $_[1]->{prefix}"
29797 0 0 0       unless (0 <= $_[1]->{prefix} and $_[1]->{prefix} <= 4294967295);
29798             die "Non-integer 'int' value given: $_[1]->{prefix}"
29799 0 0         unless int($_[1]->{prefix}) == $_[1]->{prefix};
29800 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{prefix});
29801 0           $_[2] += 4;
29802             }
29803             # @_: ($class, $value, $index, $input) = @_;
29804             sub deserialize_domain_interface {
29805 0     0 0   my $input_length = length $_[3];
29806 0           $_[1] = {};
29807             # Deserializing field: 'name'
29808             # my ($class, $value, $index, $input) = @_;
29809 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
29810              
29811             # Deserializing field: 'hwaddr'
29812             # my ($class, $value, $index, $input) = @_;
29813 0           $_[0]->deserialize_string( $_[1]->{hwaddr}, $_[2], $_[3] );
29814              
29815             # Deserializing field: 'addrs'
29816             # my ($class, $value, $index, $input) = @_;
29817 0           do {
29818 0 0         die "Input buffer too short"
29819             if ($input_length - $_[2]) < 4;
29820 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
29821 0           $_[2] += 4;
29822              
29823 0 0         die "Array too long (max: 2048): $len"
29824             unless ($len <= 2048);
29825 0           $_[1]->{addrs} = [];
29826 0           for my $i1 ( 0 .. ($len - 1) ) {
29827             # my ($class, $value, $index, $input) = @_;
29828 0           $_[0]->deserialize_domain_ip_addr( $_[1]->{addrs}->[$i1], $_[2], $_[3] );
29829             }
29830             };
29831             }
29832             # @_: ($class, $value, $index, $output) = @_;
29833             sub serialize_domain_interface {
29834 0 0   0 0   croak "Missing required input 'struct' value"
29835             unless defined $_[1];
29836              
29837             # Serializing field: 'name'
29838             croak "Missing required input value 'name'"
29839 0 0         unless exists $_[1]->{name};
29840             # my ($class, $value, $index, $output) = @_;
29841 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
29842              
29843             # Serializing field: 'hwaddr'
29844             croak "Missing required input value 'hwaddr'"
29845 0 0         unless exists $_[1]->{hwaddr};
29846             # my ($class, $value, $index, $output) = @_;
29847 0           $_[0]->serialize_string( $_[1]->{hwaddr}, $_[2], $_[3] );
29848              
29849             # Serializing field: 'addrs'
29850             croak "Missing required input value 'addrs'"
29851 0 0         unless exists $_[1]->{addrs};
29852             # my ($class, $value, $index, $output) = @_;
29853             croak "Missing required input 'array' value"
29854 0 0         unless defined $_[1]->{addrs};
29855 0           do {
29856 0           my $len = scalar @{ $_[1]->{addrs} };
  0            
29857 0 0         die "Array too long (max: 2048): $len"
29858             unless ($len <= 2048);
29859              
29860 0           substr( $_[3], $_[2] ) = pack("L>", $len);
29861 0           $_[2] += 4;
29862 0           for my $i1 ( 0 .. ($len - 1) ) {
29863             # my ($class, $value, $index, $output) = @_;
29864 0           $_[0]->serialize_domain_ip_addr( $_[1]->{addrs}->[$i1], $_[2], $_[3] );
29865             }
29866             };
29867             }
29868             # @_: ($class, $value, $index, $input) = @_;
29869             sub deserialize_domain_interface_addresses_args {
29870 0     0 0   my $input_length = length $_[3];
29871 0           $_[1] = {};
29872             # Deserializing field: 'dom'
29873             # my ($class, $value, $index, $input) = @_;
29874 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29875              
29876             # Deserializing field: 'source'
29877             # my ($class, $value, $index, $input) = @_;
29878 0 0         die "Input buffer too short"
29879             if ($input_length - $_[2]) < 4;
29880 0           $_[1]->{source} = unpack("L>", substr( $_[3], $_[2] ));
29881 0           $_[2] += 4;
29882             die "Out of bounds 'unsigned int': $_[1]->{source}"
29883 0 0 0       unless (0 <= $_[1]->{source} and $_[1]->{source} <= 4294967295);
29884              
29885             # Deserializing field: 'flags'
29886             # my ($class, $value, $index, $input) = @_;
29887 0 0         die "Input buffer too short"
29888             if ($input_length - $_[2]) < 4;
29889 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
29890 0           $_[2] += 4;
29891             die "Out of bounds 'unsigned int': $_[1]->{flags}"
29892 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
29893             }
29894             # @_: ($class, $value, $index, $output) = @_;
29895             sub serialize_domain_interface_addresses_args {
29896 0 0   0 0   croak "Missing required input 'struct' value"
29897             unless defined $_[1];
29898              
29899             # Serializing field: 'dom'
29900             croak "Missing required input value 'dom'"
29901 0 0         unless exists $_[1]->{dom};
29902             # my ($class, $value, $index, $output) = @_;
29903 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29904              
29905             # Serializing field: 'source'
29906             croak "Missing required input value 'source'"
29907 0 0         unless exists $_[1]->{source};
29908             # my ($class, $value, $index, $output) = @_;
29909             croak "Missing required input 'unsigned int' value"
29910 0 0         unless defined $_[1]->{source};
29911             die "Out of bounds 'unsigned int': $_[1]->{source}"
29912 0 0 0       unless (0 <= $_[1]->{source} and $_[1]->{source} <= 4294967295);
29913             die "Non-integer 'int' value given: $_[1]->{source}"
29914 0 0         unless int($_[1]->{source}) == $_[1]->{source};
29915 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{source});
29916 0           $_[2] += 4;
29917              
29918             # Serializing field: 'flags'
29919             croak "Missing required input value 'flags'"
29920 0 0         unless exists $_[1]->{flags};
29921             # my ($class, $value, $index, $output) = @_;
29922             croak "Missing required input 'unsigned int' value"
29923 0 0         unless defined $_[1]->{flags};
29924             die "Out of bounds 'unsigned int': $_[1]->{flags}"
29925 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
29926             die "Non-integer 'int' value given: $_[1]->{flags}"
29927 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
29928 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
29929 0           $_[2] += 4;
29930             }
29931             # @_: ($class, $value, $index, $input) = @_;
29932             sub deserialize_domain_interface_addresses_ret {
29933 0     0 0   my $input_length = length $_[3];
29934 0           $_[1] = {};
29935             # Deserializing field: 'ifaces'
29936             # my ($class, $value, $index, $input) = @_;
29937 0           do {
29938 0 0         die "Input buffer too short"
29939             if ($input_length - $_[2]) < 4;
29940 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
29941 0           $_[2] += 4;
29942              
29943 0 0         die "Array too long (max: 2048): $len"
29944             unless ($len <= 2048);
29945 0           $_[1]->{ifaces} = [];
29946 0           for my $i1 ( 0 .. ($len - 1) ) {
29947             # my ($class, $value, $index, $input) = @_;
29948 0           $_[0]->deserialize_domain_interface( $_[1]->{ifaces}->[$i1], $_[2], $_[3] );
29949             }
29950             };
29951             }
29952             # @_: ($class, $value, $index, $output) = @_;
29953             sub serialize_domain_interface_addresses_ret {
29954 0 0   0 0   croak "Missing required input 'struct' value"
29955             unless defined $_[1];
29956              
29957             # Serializing field: 'ifaces'
29958             croak "Missing required input value 'ifaces'"
29959 0 0         unless exists $_[1]->{ifaces};
29960             # my ($class, $value, $index, $output) = @_;
29961             croak "Missing required input 'array' value"
29962 0 0         unless defined $_[1]->{ifaces};
29963 0           do {
29964 0           my $len = scalar @{ $_[1]->{ifaces} };
  0            
29965 0 0         die "Array too long (max: 2048): $len"
29966             unless ($len <= 2048);
29967              
29968 0           substr( $_[3], $_[2] ) = pack("L>", $len);
29969 0           $_[2] += 4;
29970 0           for my $i1 ( 0 .. ($len - 1) ) {
29971             # my ($class, $value, $index, $output) = @_;
29972 0           $_[0]->serialize_domain_interface( $_[1]->{ifaces}->[$i1], $_[2], $_[3] );
29973             }
29974             };
29975             }
29976             # @_: ($class, $value, $index, $input) = @_;
29977             sub deserialize_domain_set_user_password_args {
29978 0     0 0   my $input_length = length $_[3];
29979 0           $_[1] = {};
29980             # Deserializing field: 'dom'
29981             # my ($class, $value, $index, $input) = @_;
29982 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
29983              
29984             # Deserializing field: 'user'
29985             # my ($class, $value, $index, $input) = @_;
29986 0           $_[0]->deserialize_string( $_[1]->{user}, $_[2], $_[3] );
29987              
29988             # Deserializing field: 'password'
29989             # my ($class, $value, $index, $input) = @_;
29990 0           $_[0]->deserialize_string( $_[1]->{password}, $_[2], $_[3] );
29991              
29992             # Deserializing field: 'flags'
29993             # my ($class, $value, $index, $input) = @_;
29994 0 0         die "Input buffer too short"
29995             if ($input_length - $_[2]) < 4;
29996 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
29997 0           $_[2] += 4;
29998             die "Out of bounds 'unsigned int': $_[1]->{flags}"
29999 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30000             }
30001             # @_: ($class, $value, $index, $output) = @_;
30002             sub serialize_domain_set_user_password_args {
30003 0 0   0 0   croak "Missing required input 'struct' value"
30004             unless defined $_[1];
30005              
30006             # Serializing field: 'dom'
30007             croak "Missing required input value 'dom'"
30008 0 0         unless exists $_[1]->{dom};
30009             # my ($class, $value, $index, $output) = @_;
30010 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30011              
30012             # Serializing field: 'user'
30013             croak "Missing required input value 'user'"
30014 0 0         unless exists $_[1]->{user};
30015             # my ($class, $value, $index, $output) = @_;
30016 0           $_[0]->serialize_string( $_[1]->{user}, $_[2], $_[3] );
30017              
30018             # Serializing field: 'password'
30019             croak "Missing required input value 'password'"
30020 0 0         unless exists $_[1]->{password};
30021             # my ($class, $value, $index, $output) = @_;
30022 0           $_[0]->serialize_string( $_[1]->{password}, $_[2], $_[3] );
30023              
30024             # Serializing field: 'flags'
30025             croak "Missing required input value 'flags'"
30026 0 0         unless exists $_[1]->{flags};
30027             # my ($class, $value, $index, $output) = @_;
30028             croak "Missing required input 'unsigned int' value"
30029 0 0         unless defined $_[1]->{flags};
30030             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30031 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30032             die "Non-integer 'int' value given: $_[1]->{flags}"
30033 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
30034 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
30035 0           $_[2] += 4;
30036             }
30037             # @_: ($class, $value, $index, $input) = @_;
30038             sub deserialize_domain_rename_args {
30039 0     0 0   my $input_length = length $_[3];
30040 0           $_[1] = {};
30041             # Deserializing field: 'dom'
30042             # my ($class, $value, $index, $input) = @_;
30043 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30044              
30045             # Deserializing field: 'new_name'
30046             # my ($class, $value, $index, $input) = @_;
30047 0           $_[0]->deserialize_string( $_[1]->{new_name}, $_[2], $_[3] );
30048              
30049             # Deserializing field: 'flags'
30050             # my ($class, $value, $index, $input) = @_;
30051 0 0         die "Input buffer too short"
30052             if ($input_length - $_[2]) < 4;
30053 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
30054 0           $_[2] += 4;
30055             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30056 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30057             }
30058             # @_: ($class, $value, $index, $output) = @_;
30059             sub serialize_domain_rename_args {
30060 0 0   0 0   croak "Missing required input 'struct' value"
30061             unless defined $_[1];
30062              
30063             # Serializing field: 'dom'
30064             croak "Missing required input value 'dom'"
30065 0 0         unless exists $_[1]->{dom};
30066             # my ($class, $value, $index, $output) = @_;
30067 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30068              
30069             # Serializing field: 'new_name'
30070             croak "Missing required input value 'new_name'"
30071 0 0         unless exists $_[1]->{new_name};
30072             # my ($class, $value, $index, $output) = @_;
30073 0           $_[0]->serialize_string( $_[1]->{new_name}, $_[2], $_[3] );
30074              
30075             # Serializing field: 'flags'
30076             croak "Missing required input value 'flags'"
30077 0 0         unless exists $_[1]->{flags};
30078             # my ($class, $value, $index, $output) = @_;
30079             croak "Missing required input 'unsigned int' value"
30080 0 0         unless defined $_[1]->{flags};
30081             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30082 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30083             die "Non-integer 'int' value given: $_[1]->{flags}"
30084 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
30085 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
30086 0           $_[2] += 4;
30087             }
30088             # @_: ($class, $value, $index, $input) = @_;
30089             sub deserialize_domain_rename_ret {
30090 0     0 0   my $input_length = length $_[3];
30091 0           $_[1] = {};
30092             # Deserializing field: 'retcode'
30093             # my ($class, $value, $index, $input) = @_;
30094 0 0         die "Input buffer too short"
30095             if ($input_length - $_[2]) < 4;
30096 0           $_[1]->{retcode} = unpack("l>", substr( $_[3], $_[2] ));
30097 0           $_[2] += 4;
30098             die "Out of bounds 'int': $_[1]->{retcode}"
30099 0 0 0       unless (-2147483648 <= $_[1]->{retcode} and $_[1]->{retcode} < 2147483648);
30100             }
30101             # @_: ($class, $value, $index, $output) = @_;
30102             sub serialize_domain_rename_ret {
30103 0 0   0 0   croak "Missing required input 'struct' value"
30104             unless defined $_[1];
30105              
30106             # Serializing field: 'retcode'
30107             croak "Missing required input value 'retcode'"
30108 0 0         unless exists $_[1]->{retcode};
30109             # my ($class, $value, $index, $output) = @_;
30110             croak "Missing required input 'int' value"
30111 0 0         unless defined $_[1]->{retcode};
30112             die "Out of bounds 'int': $_[1]->{retcode}"
30113 0 0 0       unless (-2147483648 <= $_[1]->{retcode} and $_[1]->{retcode} < 2147483648);
30114             die "Non-integer 'int' value given: $_[1]->{retcode}"
30115 0 0         unless int($_[1]->{retcode}) == $_[1]->{retcode};
30116 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{retcode});
30117 0           $_[2] += 4;
30118             }
30119             # @_: ($class, $value, $index, $input) = @_;
30120             sub deserialize_domain_event_callback_migration_iteration_msg {
30121 0     0 0   my $input_length = length $_[3];
30122 0           $_[1] = {};
30123             # Deserializing field: 'callbackID'
30124             # my ($class, $value, $index, $input) = @_;
30125 0 0         die "Input buffer too short"
30126             if ($input_length - $_[2]) < 4;
30127 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30128 0           $_[2] += 4;
30129             die "Out of bounds 'int': $_[1]->{callbackID}"
30130 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30131              
30132             # Deserializing field: 'dom'
30133             # my ($class, $value, $index, $input) = @_;
30134 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30135              
30136             # Deserializing field: 'iteration'
30137             # my ($class, $value, $index, $input) = @_;
30138 0 0         die "Input buffer too short"
30139             if ($input_length - $_[2]) < 4;
30140 0           $_[1]->{iteration} = unpack("l>", substr( $_[3], $_[2] ));
30141 0           $_[2] += 4;
30142             die "Out of bounds 'int': $_[1]->{iteration}"
30143 0 0 0       unless (-2147483648 <= $_[1]->{iteration} and $_[1]->{iteration} < 2147483648);
30144             }
30145             # @_: ($class, $value, $index, $output) = @_;
30146             sub serialize_domain_event_callback_migration_iteration_msg {
30147 0 0   0 0   croak "Missing required input 'struct' value"
30148             unless defined $_[1];
30149              
30150             # Serializing field: 'callbackID'
30151             croak "Missing required input value 'callbackID'"
30152 0 0         unless exists $_[1]->{callbackID};
30153             # my ($class, $value, $index, $output) = @_;
30154             croak "Missing required input 'int' value"
30155 0 0         unless defined $_[1]->{callbackID};
30156             die "Out of bounds 'int': $_[1]->{callbackID}"
30157 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30158             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30159 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30160 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30161 0           $_[2] += 4;
30162              
30163             # Serializing field: 'dom'
30164             croak "Missing required input value 'dom'"
30165 0 0         unless exists $_[1]->{dom};
30166             # my ($class, $value, $index, $output) = @_;
30167 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30168              
30169             # Serializing field: 'iteration'
30170             croak "Missing required input value 'iteration'"
30171 0 0         unless exists $_[1]->{iteration};
30172             # my ($class, $value, $index, $output) = @_;
30173             croak "Missing required input 'int' value"
30174 0 0         unless defined $_[1]->{iteration};
30175             die "Out of bounds 'int': $_[1]->{iteration}"
30176 0 0 0       unless (-2147483648 <= $_[1]->{iteration} and $_[1]->{iteration} < 2147483648);
30177             die "Non-integer 'int' value given: $_[1]->{iteration}"
30178 0 0         unless int($_[1]->{iteration}) == $_[1]->{iteration};
30179 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{iteration});
30180 0           $_[2] += 4;
30181             }
30182             # @_: ($class, $value, $index, $input) = @_;
30183             sub deserialize_domain_event_callback_job_completed_msg {
30184 0     0 0   my $input_length = length $_[3];
30185 0           $_[1] = {};
30186             # Deserializing field: 'callbackID'
30187             # my ($class, $value, $index, $input) = @_;
30188 0 0         die "Input buffer too short"
30189             if ($input_length - $_[2]) < 4;
30190 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30191 0           $_[2] += 4;
30192             die "Out of bounds 'int': $_[1]->{callbackID}"
30193 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30194              
30195             # Deserializing field: 'dom'
30196             # my ($class, $value, $index, $input) = @_;
30197 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30198              
30199             # Deserializing field: 'params'
30200             # my ($class, $value, $index, $input) = @_;
30201 0           do {
30202 0 0         die "Input buffer too short"
30203             if ($input_length - $_[2]) < 4;
30204 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
30205 0           $_[2] += 4;
30206              
30207 0 0         die "Array too long (max: 64): $len"
30208             unless ($len <= 64);
30209 0           $_[1]->{params} = [];
30210 0           for my $i1 ( 0 .. ($len - 1) ) {
30211             # my ($class, $value, $index, $input) = @_;
30212 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
30213             }
30214             };
30215             }
30216             # @_: ($class, $value, $index, $output) = @_;
30217             sub serialize_domain_event_callback_job_completed_msg {
30218 0 0   0 0   croak "Missing required input 'struct' value"
30219             unless defined $_[1];
30220              
30221             # Serializing field: 'callbackID'
30222             croak "Missing required input value 'callbackID'"
30223 0 0         unless exists $_[1]->{callbackID};
30224             # my ($class, $value, $index, $output) = @_;
30225             croak "Missing required input 'int' value"
30226 0 0         unless defined $_[1]->{callbackID};
30227             die "Out of bounds 'int': $_[1]->{callbackID}"
30228 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30229             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30230 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30231 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30232 0           $_[2] += 4;
30233              
30234             # Serializing field: 'dom'
30235             croak "Missing required input value 'dom'"
30236 0 0         unless exists $_[1]->{dom};
30237             # my ($class, $value, $index, $output) = @_;
30238 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30239              
30240             # Serializing field: 'params'
30241             croak "Missing required input value 'params'"
30242 0 0         unless exists $_[1]->{params};
30243             # my ($class, $value, $index, $output) = @_;
30244             croak "Missing required input 'array' value"
30245 0 0         unless defined $_[1]->{params};
30246 0           do {
30247 0           my $len = scalar @{ $_[1]->{params} };
  0            
30248 0 0         die "Array too long (max: 64): $len"
30249             unless ($len <= 64);
30250              
30251 0           substr( $_[3], $_[2] ) = pack("L>", $len);
30252 0           $_[2] += 4;
30253 0           for my $i1 ( 0 .. ($len - 1) ) {
30254             # my ($class, $value, $index, $output) = @_;
30255 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
30256             }
30257             };
30258             }
30259             # @_: ($class, $value, $index, $input) = @_;
30260             sub deserialize_domain_migrate_start_post_copy_args {
30261 0     0 0   my $input_length = length $_[3];
30262 0           $_[1] = {};
30263             # Deserializing field: 'dom'
30264             # my ($class, $value, $index, $input) = @_;
30265 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30266              
30267             # Deserializing field: 'flags'
30268             # my ($class, $value, $index, $input) = @_;
30269 0 0         die "Input buffer too short"
30270             if ($input_length - $_[2]) < 4;
30271 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
30272 0           $_[2] += 4;
30273             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30274 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30275             }
30276             # @_: ($class, $value, $index, $output) = @_;
30277             sub serialize_domain_migrate_start_post_copy_args {
30278 0 0   0 0   croak "Missing required input 'struct' value"
30279             unless defined $_[1];
30280              
30281             # Serializing field: 'dom'
30282             croak "Missing required input value 'dom'"
30283 0 0         unless exists $_[1]->{dom};
30284             # my ($class, $value, $index, $output) = @_;
30285 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30286              
30287             # Serializing field: 'flags'
30288             croak "Missing required input value 'flags'"
30289 0 0         unless exists $_[1]->{flags};
30290             # my ($class, $value, $index, $output) = @_;
30291             croak "Missing required input 'unsigned int' value"
30292 0 0         unless defined $_[1]->{flags};
30293             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30294 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30295             die "Non-integer 'int' value given: $_[1]->{flags}"
30296 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
30297 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
30298 0           $_[2] += 4;
30299             }
30300             # @_: ($class, $value, $index, $input) = @_;
30301             sub deserialize_domain_event_callback_device_removal_failed_msg {
30302 0     0 0   my $input_length = length $_[3];
30303 0           $_[1] = {};
30304             # Deserializing field: 'callbackID'
30305             # my ($class, $value, $index, $input) = @_;
30306 0 0         die "Input buffer too short"
30307             if ($input_length - $_[2]) < 4;
30308 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30309 0           $_[2] += 4;
30310             die "Out of bounds 'int': $_[1]->{callbackID}"
30311 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30312              
30313             # Deserializing field: 'dom'
30314             # my ($class, $value, $index, $input) = @_;
30315 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30316              
30317             # Deserializing field: 'devAlias'
30318             # my ($class, $value, $index, $input) = @_;
30319 0           $_[0]->deserialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
30320             }
30321             # @_: ($class, $value, $index, $output) = @_;
30322             sub serialize_domain_event_callback_device_removal_failed_msg {
30323 0 0   0 0   croak "Missing required input 'struct' value"
30324             unless defined $_[1];
30325              
30326             # Serializing field: 'callbackID'
30327             croak "Missing required input value 'callbackID'"
30328 0 0         unless exists $_[1]->{callbackID};
30329             # my ($class, $value, $index, $output) = @_;
30330             croak "Missing required input 'int' value"
30331 0 0         unless defined $_[1]->{callbackID};
30332             die "Out of bounds 'int': $_[1]->{callbackID}"
30333 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30334             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30335 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30336 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30337 0           $_[2] += 4;
30338              
30339             # Serializing field: 'dom'
30340             croak "Missing required input value 'dom'"
30341 0 0         unless exists $_[1]->{dom};
30342             # my ($class, $value, $index, $output) = @_;
30343 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30344              
30345             # Serializing field: 'devAlias'
30346             croak "Missing required input value 'devAlias'"
30347 0 0         unless exists $_[1]->{devAlias};
30348             # my ($class, $value, $index, $output) = @_;
30349 0           $_[0]->serialize_nonnull_string( $_[1]->{devAlias}, $_[2], $_[3] );
30350             }
30351             # @_: ($class, $value, $index, $input) = @_;
30352             sub deserialize_domain_get_guest_vcpus_args {
30353 0     0 0   my $input_length = length $_[3];
30354 0           $_[1] = {};
30355             # Deserializing field: 'dom'
30356             # my ($class, $value, $index, $input) = @_;
30357 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30358              
30359             # Deserializing field: 'flags'
30360             # my ($class, $value, $index, $input) = @_;
30361 0 0         die "Input buffer too short"
30362             if ($input_length - $_[2]) < 4;
30363 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
30364 0           $_[2] += 4;
30365             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30366 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30367             }
30368             # @_: ($class, $value, $index, $output) = @_;
30369             sub serialize_domain_get_guest_vcpus_args {
30370 0 0   0 0   croak "Missing required input 'struct' value"
30371             unless defined $_[1];
30372              
30373             # Serializing field: 'dom'
30374             croak "Missing required input value 'dom'"
30375 0 0         unless exists $_[1]->{dom};
30376             # my ($class, $value, $index, $output) = @_;
30377 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30378              
30379             # Serializing field: 'flags'
30380             croak "Missing required input value 'flags'"
30381 0 0         unless exists $_[1]->{flags};
30382             # my ($class, $value, $index, $output) = @_;
30383             croak "Missing required input 'unsigned int' value"
30384 0 0         unless defined $_[1]->{flags};
30385             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30386 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30387             die "Non-integer 'int' value given: $_[1]->{flags}"
30388 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
30389 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
30390 0           $_[2] += 4;
30391             }
30392             # @_: ($class, $value, $index, $input) = @_;
30393             sub deserialize_domain_get_guest_vcpus_ret {
30394 0     0 0   my $input_length = length $_[3];
30395 0           $_[1] = {};
30396             # Deserializing field: 'params'
30397             # my ($class, $value, $index, $input) = @_;
30398 0           do {
30399 0 0         die "Input buffer too short"
30400             if ($input_length - $_[2]) < 4;
30401 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
30402 0           $_[2] += 4;
30403              
30404 0 0         die "Array too long (max: 64): $len"
30405             unless ($len <= 64);
30406 0           $_[1]->{params} = [];
30407 0           for my $i1 ( 0 .. ($len - 1) ) {
30408             # my ($class, $value, $index, $input) = @_;
30409 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
30410             }
30411             };
30412             }
30413             # @_: ($class, $value, $index, $output) = @_;
30414             sub serialize_domain_get_guest_vcpus_ret {
30415 0 0   0 0   croak "Missing required input 'struct' value"
30416             unless defined $_[1];
30417              
30418             # Serializing field: 'params'
30419             croak "Missing required input value 'params'"
30420 0 0         unless exists $_[1]->{params};
30421             # my ($class, $value, $index, $output) = @_;
30422             croak "Missing required input 'array' value"
30423 0 0         unless defined $_[1]->{params};
30424 0           do {
30425 0           my $len = scalar @{ $_[1]->{params} };
  0            
30426 0 0         die "Array too long (max: 64): $len"
30427             unless ($len <= 64);
30428              
30429 0           substr( $_[3], $_[2] ) = pack("L>", $len);
30430 0           $_[2] += 4;
30431 0           for my $i1 ( 0 .. ($len - 1) ) {
30432             # my ($class, $value, $index, $output) = @_;
30433 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
30434             }
30435             };
30436             }
30437             # @_: ($class, $value, $index, $input) = @_;
30438             sub deserialize_domain_set_guest_vcpus_args {
30439 0     0 0   my $input_length = length $_[3];
30440 0           $_[1] = {};
30441             # Deserializing field: 'dom'
30442             # my ($class, $value, $index, $input) = @_;
30443 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30444              
30445             # Deserializing field: 'cpumap'
30446             # my ($class, $value, $index, $input) = @_;
30447 0           $_[0]->deserialize_nonnull_string( $_[1]->{cpumap}, $_[2], $_[3] );
30448              
30449             # Deserializing field: 'state'
30450             # my ($class, $value, $index, $input) = @_;
30451 0 0         die "Input buffer too short"
30452             if ($input_length - $_[2]) < 4;
30453 0           $_[1]->{state} = unpack("l>", substr( $_[3], $_[2] ));
30454 0           $_[2] += 4;
30455             die "Out of bounds 'int': $_[1]->{state}"
30456 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
30457              
30458             # Deserializing field: 'flags'
30459             # my ($class, $value, $index, $input) = @_;
30460 0 0         die "Input buffer too short"
30461             if ($input_length - $_[2]) < 4;
30462 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
30463 0           $_[2] += 4;
30464             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30465 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30466             }
30467             # @_: ($class, $value, $index, $output) = @_;
30468             sub serialize_domain_set_guest_vcpus_args {
30469 0 0   0 0   croak "Missing required input 'struct' value"
30470             unless defined $_[1];
30471              
30472             # Serializing field: 'dom'
30473             croak "Missing required input value 'dom'"
30474 0 0         unless exists $_[1]->{dom};
30475             # my ($class, $value, $index, $output) = @_;
30476 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30477              
30478             # Serializing field: 'cpumap'
30479             croak "Missing required input value 'cpumap'"
30480 0 0         unless exists $_[1]->{cpumap};
30481             # my ($class, $value, $index, $output) = @_;
30482 0           $_[0]->serialize_nonnull_string( $_[1]->{cpumap}, $_[2], $_[3] );
30483              
30484             # Serializing field: 'state'
30485             croak "Missing required input value 'state'"
30486 0 0         unless exists $_[1]->{state};
30487             # my ($class, $value, $index, $output) = @_;
30488             croak "Missing required input 'int' value"
30489 0 0         unless defined $_[1]->{state};
30490             die "Out of bounds 'int': $_[1]->{state}"
30491 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
30492             die "Non-integer 'int' value given: $_[1]->{state}"
30493 0 0         unless int($_[1]->{state}) == $_[1]->{state};
30494 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{state});
30495 0           $_[2] += 4;
30496              
30497             # Serializing field: 'flags'
30498             croak "Missing required input value 'flags'"
30499 0 0         unless exists $_[1]->{flags};
30500             # my ($class, $value, $index, $output) = @_;
30501             croak "Missing required input 'unsigned int' value"
30502 0 0         unless defined $_[1]->{flags};
30503             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30504 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30505             die "Non-integer 'int' value given: $_[1]->{flags}"
30506 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
30507 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
30508 0           $_[2] += 4;
30509             }
30510             # @_: ($class, $value, $index, $input) = @_;
30511             sub deserialize_domain_set_vcpu_args {
30512 0     0 0   my $input_length = length $_[3];
30513 0           $_[1] = {};
30514             # Deserializing field: 'dom'
30515             # my ($class, $value, $index, $input) = @_;
30516 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30517              
30518             # Deserializing field: 'cpumap'
30519             # my ($class, $value, $index, $input) = @_;
30520 0           $_[0]->deserialize_nonnull_string( $_[1]->{cpumap}, $_[2], $_[3] );
30521              
30522             # Deserializing field: 'state'
30523             # my ($class, $value, $index, $input) = @_;
30524 0 0         die "Input buffer too short"
30525             if ($input_length - $_[2]) < 4;
30526 0           $_[1]->{state} = unpack("l>", substr( $_[3], $_[2] ));
30527 0           $_[2] += 4;
30528             die "Out of bounds 'int': $_[1]->{state}"
30529 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
30530              
30531             # Deserializing field: 'flags'
30532             # my ($class, $value, $index, $input) = @_;
30533 0 0         die "Input buffer too short"
30534             if ($input_length - $_[2]) < 4;
30535 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
30536 0           $_[2] += 4;
30537             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30538 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30539             }
30540             # @_: ($class, $value, $index, $output) = @_;
30541             sub serialize_domain_set_vcpu_args {
30542 0 0   0 0   croak "Missing required input 'struct' value"
30543             unless defined $_[1];
30544              
30545             # Serializing field: 'dom'
30546             croak "Missing required input value 'dom'"
30547 0 0         unless exists $_[1]->{dom};
30548             # my ($class, $value, $index, $output) = @_;
30549 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30550              
30551             # Serializing field: 'cpumap'
30552             croak "Missing required input value 'cpumap'"
30553 0 0         unless exists $_[1]->{cpumap};
30554             # my ($class, $value, $index, $output) = @_;
30555 0           $_[0]->serialize_nonnull_string( $_[1]->{cpumap}, $_[2], $_[3] );
30556              
30557             # Serializing field: 'state'
30558             croak "Missing required input value 'state'"
30559 0 0         unless exists $_[1]->{state};
30560             # my ($class, $value, $index, $output) = @_;
30561             croak "Missing required input 'int' value"
30562 0 0         unless defined $_[1]->{state};
30563             die "Out of bounds 'int': $_[1]->{state}"
30564 0 0 0       unless (-2147483648 <= $_[1]->{state} and $_[1]->{state} < 2147483648);
30565             die "Non-integer 'int' value given: $_[1]->{state}"
30566 0 0         unless int($_[1]->{state}) == $_[1]->{state};
30567 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{state});
30568 0           $_[2] += 4;
30569              
30570             # Serializing field: 'flags'
30571             croak "Missing required input value 'flags'"
30572 0 0         unless exists $_[1]->{flags};
30573             # my ($class, $value, $index, $output) = @_;
30574             croak "Missing required input 'unsigned int' value"
30575 0 0         unless defined $_[1]->{flags};
30576             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30577 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30578             die "Non-integer 'int' value given: $_[1]->{flags}"
30579 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
30580 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
30581 0           $_[2] += 4;
30582             }
30583             # @_: ($class, $value, $index, $input) = @_;
30584             sub deserialize_domain_event_callback_metadata_change_msg {
30585 0     0 0   my $input_length = length $_[3];
30586 0           $_[1] = {};
30587             # Deserializing field: 'callbackID'
30588             # my ($class, $value, $index, $input) = @_;
30589 0 0         die "Input buffer too short"
30590             if ($input_length - $_[2]) < 4;
30591 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30592 0           $_[2] += 4;
30593             die "Out of bounds 'int': $_[1]->{callbackID}"
30594 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30595              
30596             # Deserializing field: 'dom'
30597             # my ($class, $value, $index, $input) = @_;
30598 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30599              
30600             # Deserializing field: 'type'
30601             # my ($class, $value, $index, $input) = @_;
30602 0 0         die "Input buffer too short"
30603             if ($input_length - $_[2]) < 4;
30604 0           $_[1]->{type} = unpack("l>", substr( $_[3], $_[2] ));
30605 0           $_[2] += 4;
30606             die "Out of bounds 'int': $_[1]->{type}"
30607 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
30608              
30609             # Deserializing field: 'nsuri'
30610             # my ($class, $value, $index, $input) = @_;
30611 0           $_[0]->deserialize_string( $_[1]->{nsuri}, $_[2], $_[3] );
30612             }
30613             # @_: ($class, $value, $index, $output) = @_;
30614             sub serialize_domain_event_callback_metadata_change_msg {
30615 0 0   0 0   croak "Missing required input 'struct' value"
30616             unless defined $_[1];
30617              
30618             # Serializing field: 'callbackID'
30619             croak "Missing required input value 'callbackID'"
30620 0 0         unless exists $_[1]->{callbackID};
30621             # my ($class, $value, $index, $output) = @_;
30622             croak "Missing required input 'int' value"
30623 0 0         unless defined $_[1]->{callbackID};
30624             die "Out of bounds 'int': $_[1]->{callbackID}"
30625 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30626             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30627 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30628 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30629 0           $_[2] += 4;
30630              
30631             # Serializing field: 'dom'
30632             croak "Missing required input value 'dom'"
30633 0 0         unless exists $_[1]->{dom};
30634             # my ($class, $value, $index, $output) = @_;
30635 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30636              
30637             # Serializing field: 'type'
30638             croak "Missing required input value 'type'"
30639 0 0         unless exists $_[1]->{type};
30640             # my ($class, $value, $index, $output) = @_;
30641             croak "Missing required input 'int' value"
30642 0 0         unless defined $_[1]->{type};
30643             die "Out of bounds 'int': $_[1]->{type}"
30644 0 0 0       unless (-2147483648 <= $_[1]->{type} and $_[1]->{type} < 2147483648);
30645             die "Non-integer 'int' value given: $_[1]->{type}"
30646 0 0         unless int($_[1]->{type}) == $_[1]->{type};
30647 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{type});
30648 0           $_[2] += 4;
30649              
30650             # Serializing field: 'nsuri'
30651             croak "Missing required input value 'nsuri'"
30652 0 0         unless exists $_[1]->{nsuri};
30653             # my ($class, $value, $index, $output) = @_;
30654 0           $_[0]->serialize_string( $_[1]->{nsuri}, $_[2], $_[3] );
30655             }
30656             # @_: ($class, $value, $index, $input) = @_;
30657             sub deserialize_domain_event_memory_failure_msg {
30658 0     0 0   my $input_length = length $_[3];
30659 0           $_[1] = {};
30660             # Deserializing field: 'callbackID'
30661             # my ($class, $value, $index, $input) = @_;
30662 0 0         die "Input buffer too short"
30663             if ($input_length - $_[2]) < 4;
30664 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30665 0           $_[2] += 4;
30666             die "Out of bounds 'int': $_[1]->{callbackID}"
30667 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30668              
30669             # Deserializing field: 'dom'
30670             # my ($class, $value, $index, $input) = @_;
30671 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30672              
30673             # Deserializing field: 'recipient'
30674             # my ($class, $value, $index, $input) = @_;
30675 0 0         die "Input buffer too short"
30676             if ($input_length - $_[2]) < 4;
30677 0           $_[1]->{recipient} = unpack("l>", substr( $_[3], $_[2] ));
30678 0           $_[2] += 4;
30679             die "Out of bounds 'int': $_[1]->{recipient}"
30680 0 0 0       unless (-2147483648 <= $_[1]->{recipient} and $_[1]->{recipient} < 2147483648);
30681              
30682             # Deserializing field: 'action'
30683             # my ($class, $value, $index, $input) = @_;
30684 0 0         die "Input buffer too short"
30685             if ($input_length - $_[2]) < 4;
30686 0           $_[1]->{action} = unpack("l>", substr( $_[3], $_[2] ));
30687 0           $_[2] += 4;
30688             die "Out of bounds 'int': $_[1]->{action}"
30689 0 0 0       unless (-2147483648 <= $_[1]->{action} and $_[1]->{action} < 2147483648);
30690              
30691             # Deserializing field: 'flags'
30692             # my ($class, $value, $index, $input) = @_;
30693 0 0         die "Input buffer too short"
30694             if ($input_length - $_[2]) < 4;
30695 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
30696 0           $_[2] += 4;
30697             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30698 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30699             }
30700             # @_: ($class, $value, $index, $output) = @_;
30701             sub serialize_domain_event_memory_failure_msg {
30702 0 0   0 0   croak "Missing required input 'struct' value"
30703             unless defined $_[1];
30704              
30705             # Serializing field: 'callbackID'
30706             croak "Missing required input value 'callbackID'"
30707 0 0         unless exists $_[1]->{callbackID};
30708             # my ($class, $value, $index, $output) = @_;
30709             croak "Missing required input 'int' value"
30710 0 0         unless defined $_[1]->{callbackID};
30711             die "Out of bounds 'int': $_[1]->{callbackID}"
30712 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30713             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30714 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30715 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30716 0           $_[2] += 4;
30717              
30718             # Serializing field: 'dom'
30719             croak "Missing required input value 'dom'"
30720 0 0         unless exists $_[1]->{dom};
30721             # my ($class, $value, $index, $output) = @_;
30722 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30723              
30724             # Serializing field: 'recipient'
30725             croak "Missing required input value 'recipient'"
30726 0 0         unless exists $_[1]->{recipient};
30727             # my ($class, $value, $index, $output) = @_;
30728             croak "Missing required input 'int' value"
30729 0 0         unless defined $_[1]->{recipient};
30730             die "Out of bounds 'int': $_[1]->{recipient}"
30731 0 0 0       unless (-2147483648 <= $_[1]->{recipient} and $_[1]->{recipient} < 2147483648);
30732             die "Non-integer 'int' value given: $_[1]->{recipient}"
30733 0 0         unless int($_[1]->{recipient}) == $_[1]->{recipient};
30734 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{recipient});
30735 0           $_[2] += 4;
30736              
30737             # Serializing field: 'action'
30738             croak "Missing required input value 'action'"
30739 0 0         unless exists $_[1]->{action};
30740             # my ($class, $value, $index, $output) = @_;
30741             croak "Missing required input 'int' value"
30742 0 0         unless defined $_[1]->{action};
30743             die "Out of bounds 'int': $_[1]->{action}"
30744 0 0 0       unless (-2147483648 <= $_[1]->{action} and $_[1]->{action} < 2147483648);
30745             die "Non-integer 'int' value given: $_[1]->{action}"
30746 0 0         unless int($_[1]->{action}) == $_[1]->{action};
30747 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{action});
30748 0           $_[2] += 4;
30749              
30750             # Serializing field: 'flags'
30751             croak "Missing required input value 'flags'"
30752 0 0         unless exists $_[1]->{flags};
30753             # my ($class, $value, $index, $output) = @_;
30754             croak "Missing required input 'unsigned int' value"
30755 0 0         unless defined $_[1]->{flags};
30756             die "Out of bounds 'unsigned int': $_[1]->{flags}"
30757 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
30758             die "Non-integer 'int' value given: $_[1]->{flags}"
30759 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
30760 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
30761 0           $_[2] += 4;
30762             }
30763             # @_: ($class, $value, $index, $input) = @_;
30764             sub deserialize_connect_secret_event_register_any_args {
30765 0     0 0   my $input_length = length $_[3];
30766 0           $_[1] = {};
30767             # Deserializing field: 'eventID'
30768             # my ($class, $value, $index, $input) = @_;
30769 0 0         die "Input buffer too short"
30770             if ($input_length - $_[2]) < 4;
30771 0           $_[1]->{eventID} = unpack("l>", substr( $_[3], $_[2] ));
30772 0           $_[2] += 4;
30773             die "Out of bounds 'int': $_[1]->{eventID}"
30774 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
30775              
30776             # Deserializing field: 'secret'
30777             # my ($class, $value, $index, $input) = @_;
30778 0           $_[0]->deserialize_secret( $_[1]->{secret}, $_[2], $_[3] );
30779             }
30780             # @_: ($class, $value, $index, $output) = @_;
30781             sub serialize_connect_secret_event_register_any_args {
30782 0 0   0 0   croak "Missing required input 'struct' value"
30783             unless defined $_[1];
30784              
30785             # Serializing field: 'eventID'
30786             croak "Missing required input value 'eventID'"
30787 0 0         unless exists $_[1]->{eventID};
30788             # my ($class, $value, $index, $output) = @_;
30789             croak "Missing required input 'int' value"
30790 0 0         unless defined $_[1]->{eventID};
30791             die "Out of bounds 'int': $_[1]->{eventID}"
30792 0 0 0       unless (-2147483648 <= $_[1]->{eventID} and $_[1]->{eventID} < 2147483648);
30793             die "Non-integer 'int' value given: $_[1]->{eventID}"
30794 0 0         unless int($_[1]->{eventID}) == $_[1]->{eventID};
30795 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{eventID});
30796 0           $_[2] += 4;
30797              
30798             # Serializing field: 'secret'
30799             croak "Missing required input value 'secret'"
30800 0 0         unless exists $_[1]->{secret};
30801             # my ($class, $value, $index, $output) = @_;
30802 0           $_[0]->serialize_secret( $_[1]->{secret}, $_[2], $_[3] );
30803             }
30804             # @_: ($class, $value, $index, $input) = @_;
30805             sub deserialize_connect_secret_event_register_any_ret {
30806 0     0 0   my $input_length = length $_[3];
30807 0           $_[1] = {};
30808             # Deserializing field: 'callbackID'
30809             # my ($class, $value, $index, $input) = @_;
30810 0 0         die "Input buffer too short"
30811             if ($input_length - $_[2]) < 4;
30812 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30813 0           $_[2] += 4;
30814             die "Out of bounds 'int': $_[1]->{callbackID}"
30815 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30816             }
30817             # @_: ($class, $value, $index, $output) = @_;
30818             sub serialize_connect_secret_event_register_any_ret {
30819 0 0   0 0   croak "Missing required input 'struct' value"
30820             unless defined $_[1];
30821              
30822             # Serializing field: 'callbackID'
30823             croak "Missing required input value 'callbackID'"
30824 0 0         unless exists $_[1]->{callbackID};
30825             # my ($class, $value, $index, $output) = @_;
30826             croak "Missing required input 'int' value"
30827 0 0         unless defined $_[1]->{callbackID};
30828             die "Out of bounds 'int': $_[1]->{callbackID}"
30829 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30830             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30831 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30832 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30833 0           $_[2] += 4;
30834             }
30835             # @_: ($class, $value, $index, $input) = @_;
30836             sub deserialize_connect_secret_event_deregister_any_args {
30837 0     0 0   my $input_length = length $_[3];
30838 0           $_[1] = {};
30839             # Deserializing field: 'callbackID'
30840             # my ($class, $value, $index, $input) = @_;
30841 0 0         die "Input buffer too short"
30842             if ($input_length - $_[2]) < 4;
30843 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30844 0           $_[2] += 4;
30845             die "Out of bounds 'int': $_[1]->{callbackID}"
30846 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30847             }
30848             # @_: ($class, $value, $index, $output) = @_;
30849             sub serialize_connect_secret_event_deregister_any_args {
30850 0 0   0 0   croak "Missing required input 'struct' value"
30851             unless defined $_[1];
30852              
30853             # Serializing field: 'callbackID'
30854             croak "Missing required input value 'callbackID'"
30855 0 0         unless exists $_[1]->{callbackID};
30856             # my ($class, $value, $index, $output) = @_;
30857             croak "Missing required input 'int' value"
30858 0 0         unless defined $_[1]->{callbackID};
30859             die "Out of bounds 'int': $_[1]->{callbackID}"
30860 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30861             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30862 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30863 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30864 0           $_[2] += 4;
30865             }
30866             # @_: ($class, $value, $index, $input) = @_;
30867             sub deserialize_secret_event_lifecycle_msg {
30868 0     0 0   my $input_length = length $_[3];
30869 0           $_[1] = {};
30870             # Deserializing field: 'callbackID'
30871             # my ($class, $value, $index, $input) = @_;
30872 0 0         die "Input buffer too short"
30873             if ($input_length - $_[2]) < 4;
30874 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30875 0           $_[2] += 4;
30876             die "Out of bounds 'int': $_[1]->{callbackID}"
30877 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30878              
30879             # Deserializing field: 'secret'
30880             # my ($class, $value, $index, $input) = @_;
30881 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
30882              
30883             # Deserializing field: 'event'
30884             # my ($class, $value, $index, $input) = @_;
30885 0 0         die "Input buffer too short"
30886             if ($input_length - $_[2]) < 4;
30887 0           $_[1]->{event} = unpack("l>", substr( $_[3], $_[2] ));
30888 0           $_[2] += 4;
30889             die "Out of bounds 'int': $_[1]->{event}"
30890 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
30891              
30892             # Deserializing field: 'detail'
30893             # my ($class, $value, $index, $input) = @_;
30894 0 0         die "Input buffer too short"
30895             if ($input_length - $_[2]) < 4;
30896 0           $_[1]->{detail} = unpack("l>", substr( $_[3], $_[2] ));
30897 0           $_[2] += 4;
30898             die "Out of bounds 'int': $_[1]->{detail}"
30899 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
30900             }
30901             # @_: ($class, $value, $index, $output) = @_;
30902             sub serialize_secret_event_lifecycle_msg {
30903 0 0   0 0   croak "Missing required input 'struct' value"
30904             unless defined $_[1];
30905              
30906             # Serializing field: 'callbackID'
30907             croak "Missing required input value 'callbackID'"
30908 0 0         unless exists $_[1]->{callbackID};
30909             # my ($class, $value, $index, $output) = @_;
30910             croak "Missing required input 'int' value"
30911 0 0         unless defined $_[1]->{callbackID};
30912             die "Out of bounds 'int': $_[1]->{callbackID}"
30913 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30914             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30915 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30916 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30917 0           $_[2] += 4;
30918              
30919             # Serializing field: 'secret'
30920             croak "Missing required input value 'secret'"
30921 0 0         unless exists $_[1]->{secret};
30922             # my ($class, $value, $index, $output) = @_;
30923 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
30924              
30925             # Serializing field: 'event'
30926             croak "Missing required input value 'event'"
30927 0 0         unless exists $_[1]->{event};
30928             # my ($class, $value, $index, $output) = @_;
30929             croak "Missing required input 'int' value"
30930 0 0         unless defined $_[1]->{event};
30931             die "Out of bounds 'int': $_[1]->{event}"
30932 0 0 0       unless (-2147483648 <= $_[1]->{event} and $_[1]->{event} < 2147483648);
30933             die "Non-integer 'int' value given: $_[1]->{event}"
30934 0 0         unless int($_[1]->{event}) == $_[1]->{event};
30935 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{event});
30936 0           $_[2] += 4;
30937              
30938             # Serializing field: 'detail'
30939             croak "Missing required input value 'detail'"
30940 0 0         unless exists $_[1]->{detail};
30941             # my ($class, $value, $index, $output) = @_;
30942             croak "Missing required input 'int' value"
30943 0 0         unless defined $_[1]->{detail};
30944             die "Out of bounds 'int': $_[1]->{detail}"
30945 0 0 0       unless (-2147483648 <= $_[1]->{detail} and $_[1]->{detail} < 2147483648);
30946             die "Non-integer 'int' value given: $_[1]->{detail}"
30947 0 0         unless int($_[1]->{detail}) == $_[1]->{detail};
30948 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{detail});
30949 0           $_[2] += 4;
30950             }
30951             # @_: ($class, $value, $index, $input) = @_;
30952             sub deserialize_secret_event_value_changed_msg {
30953 0     0 0   my $input_length = length $_[3];
30954 0           $_[1] = {};
30955             # Deserializing field: 'callbackID'
30956             # my ($class, $value, $index, $input) = @_;
30957 0 0         die "Input buffer too short"
30958             if ($input_length - $_[2]) < 4;
30959 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
30960 0           $_[2] += 4;
30961             die "Out of bounds 'int': $_[1]->{callbackID}"
30962 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30963              
30964             # Deserializing field: 'secret'
30965             # my ($class, $value, $index, $input) = @_;
30966 0           $_[0]->deserialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
30967             }
30968             # @_: ($class, $value, $index, $output) = @_;
30969             sub serialize_secret_event_value_changed_msg {
30970 0 0   0 0   croak "Missing required input 'struct' value"
30971             unless defined $_[1];
30972              
30973             # Serializing field: 'callbackID'
30974             croak "Missing required input value 'callbackID'"
30975 0 0         unless exists $_[1]->{callbackID};
30976             # my ($class, $value, $index, $output) = @_;
30977             croak "Missing required input 'int' value"
30978 0 0         unless defined $_[1]->{callbackID};
30979             die "Out of bounds 'int': $_[1]->{callbackID}"
30980 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
30981             die "Non-integer 'int' value given: $_[1]->{callbackID}"
30982 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
30983 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
30984 0           $_[2] += 4;
30985              
30986             # Serializing field: 'secret'
30987             croak "Missing required input value 'secret'"
30988 0 0         unless exists $_[1]->{secret};
30989             # my ($class, $value, $index, $output) = @_;
30990 0           $_[0]->serialize_nonnull_secret( $_[1]->{secret}, $_[2], $_[3] );
30991             }
30992             # @_: ($class, $value, $index, $input) = @_;
30993             sub deserialize_domain_set_block_threshold_args {
30994 0     0 0   my $input_length = length $_[3];
30995 0           $_[1] = {};
30996             # Deserializing field: 'dom'
30997             # my ($class, $value, $index, $input) = @_;
30998 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
30999              
31000             # Deserializing field: 'dev'
31001             # my ($class, $value, $index, $input) = @_;
31002 0           $_[0]->deserialize_nonnull_string( $_[1]->{dev}, $_[2], $_[3] );
31003              
31004             # Deserializing field: 'threshold'
31005             # my ($class, $value, $index, $input) = @_;
31006 0 0         die "Input buffer too short"
31007             if ($input_length - $_[2]) < 8;
31008 0           $_[1]->{threshold} = unpack("Q>", substr( $_[3], $_[2] ));
31009 0           $_[2] += 8;
31010             die "Out of bounds 'unsigned hyper': $_[1]->{threshold}"
31011             unless (0 <= $_[1]->{threshold}
31012 0 0 0       and $_[1]->{threshold} <= 18446744073709551615);
31013              
31014             # Deserializing field: 'flags'
31015             # my ($class, $value, $index, $input) = @_;
31016 0 0         die "Input buffer too short"
31017             if ($input_length - $_[2]) < 4;
31018 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31019 0           $_[2] += 4;
31020             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31021 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31022             }
31023             # @_: ($class, $value, $index, $output) = @_;
31024             sub serialize_domain_set_block_threshold_args {
31025 0 0   0 0   croak "Missing required input 'struct' value"
31026             unless defined $_[1];
31027              
31028             # Serializing field: 'dom'
31029             croak "Missing required input value 'dom'"
31030 0 0         unless exists $_[1]->{dom};
31031             # my ($class, $value, $index, $output) = @_;
31032 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
31033              
31034             # Serializing field: 'dev'
31035             croak "Missing required input value 'dev'"
31036 0 0         unless exists $_[1]->{dev};
31037             # my ($class, $value, $index, $output) = @_;
31038 0           $_[0]->serialize_nonnull_string( $_[1]->{dev}, $_[2], $_[3] );
31039              
31040             # Serializing field: 'threshold'
31041             croak "Missing required input value 'threshold'"
31042 0 0         unless exists $_[1]->{threshold};
31043             # my ($class, $value, $index, $output) = @_;
31044             croak "Missing required input 'unsigned long' value"
31045 0 0         unless defined $_[1]->{threshold};
31046             die "Out of bounds 'unsigned hyper': $_[1]->{threshold}"
31047             unless (0 <= $_[1]->{threshold}
31048 0 0 0       and $_[1]->{threshold} <= 18446744073709551615);
31049             die "Non-integer 'long' value given: $_[1]->{threshold}"
31050 0 0         unless int($_[1]->{threshold}) == $_[1]->{threshold};
31051 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{threshold});
31052 0           $_[2] += 8;
31053              
31054             # Serializing field: 'flags'
31055             croak "Missing required input value 'flags'"
31056 0 0         unless exists $_[1]->{flags};
31057             # my ($class, $value, $index, $output) = @_;
31058             croak "Missing required input 'unsigned int' value"
31059 0 0         unless defined $_[1]->{flags};
31060             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31061 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31062             die "Non-integer 'int' value given: $_[1]->{flags}"
31063 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31064 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31065 0           $_[2] += 4;
31066             }
31067             # @_: ($class, $value, $index, $input) = @_;
31068             sub deserialize_domain_set_lifecycle_action_args {
31069 0     0 0   my $input_length = length $_[3];
31070 0           $_[1] = {};
31071             # Deserializing field: 'dom'
31072             # my ($class, $value, $index, $input) = @_;
31073 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
31074              
31075             # Deserializing field: 'type'
31076             # my ($class, $value, $index, $input) = @_;
31077 0 0         die "Input buffer too short"
31078             if ($input_length - $_[2]) < 4;
31079 0           $_[1]->{type} = unpack("L>", substr( $_[3], $_[2] ));
31080 0           $_[2] += 4;
31081             die "Out of bounds 'unsigned int': $_[1]->{type}"
31082 0 0 0       unless (0 <= $_[1]->{type} and $_[1]->{type} <= 4294967295);
31083              
31084             # Deserializing field: 'action'
31085             # my ($class, $value, $index, $input) = @_;
31086 0 0         die "Input buffer too short"
31087             if ($input_length - $_[2]) < 4;
31088 0           $_[1]->{action} = unpack("L>", substr( $_[3], $_[2] ));
31089 0           $_[2] += 4;
31090             die "Out of bounds 'unsigned int': $_[1]->{action}"
31091 0 0 0       unless (0 <= $_[1]->{action} and $_[1]->{action} <= 4294967295);
31092              
31093             # Deserializing field: 'flags'
31094             # my ($class, $value, $index, $input) = @_;
31095 0 0         die "Input buffer too short"
31096             if ($input_length - $_[2]) < 4;
31097 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31098 0           $_[2] += 4;
31099             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31100 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31101             }
31102             # @_: ($class, $value, $index, $output) = @_;
31103             sub serialize_domain_set_lifecycle_action_args {
31104 0 0   0 0   croak "Missing required input 'struct' value"
31105             unless defined $_[1];
31106              
31107             # Serializing field: 'dom'
31108             croak "Missing required input value 'dom'"
31109 0 0         unless exists $_[1]->{dom};
31110             # my ($class, $value, $index, $output) = @_;
31111 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
31112              
31113             # Serializing field: 'type'
31114             croak "Missing required input value 'type'"
31115 0 0         unless exists $_[1]->{type};
31116             # my ($class, $value, $index, $output) = @_;
31117             croak "Missing required input 'unsigned int' value"
31118 0 0         unless defined $_[1]->{type};
31119             die "Out of bounds 'unsigned int': $_[1]->{type}"
31120 0 0 0       unless (0 <= $_[1]->{type} and $_[1]->{type} <= 4294967295);
31121             die "Non-integer 'int' value given: $_[1]->{type}"
31122 0 0         unless int($_[1]->{type}) == $_[1]->{type};
31123 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{type});
31124 0           $_[2] += 4;
31125              
31126             # Serializing field: 'action'
31127             croak "Missing required input value 'action'"
31128 0 0         unless exists $_[1]->{action};
31129             # my ($class, $value, $index, $output) = @_;
31130             croak "Missing required input 'unsigned int' value"
31131 0 0         unless defined $_[1]->{action};
31132             die "Out of bounds 'unsigned int': $_[1]->{action}"
31133 0 0 0       unless (0 <= $_[1]->{action} and $_[1]->{action} <= 4294967295);
31134             die "Non-integer 'int' value given: $_[1]->{action}"
31135 0 0         unless int($_[1]->{action}) == $_[1]->{action};
31136 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{action});
31137 0           $_[2] += 4;
31138              
31139             # Serializing field: 'flags'
31140             croak "Missing required input value 'flags'"
31141 0 0         unless exists $_[1]->{flags};
31142             # my ($class, $value, $index, $output) = @_;
31143             croak "Missing required input 'unsigned int' value"
31144 0 0         unless defined $_[1]->{flags};
31145             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31146 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31147             die "Non-integer 'int' value given: $_[1]->{flags}"
31148 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31149 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31150 0           $_[2] += 4;
31151             }
31152             # @_: ($class, $value, $index, $input) = @_;
31153             sub deserialize_connect_compare_hypervisor_cpu_args {
31154 0     0 0   my $input_length = length $_[3];
31155 0           $_[1] = {};
31156             # Deserializing field: 'emulator'
31157             # my ($class, $value, $index, $input) = @_;
31158 0           $_[0]->deserialize_string( $_[1]->{emulator}, $_[2], $_[3] );
31159              
31160             # Deserializing field: 'arch'
31161             # my ($class, $value, $index, $input) = @_;
31162 0           $_[0]->deserialize_string( $_[1]->{arch}, $_[2], $_[3] );
31163              
31164             # Deserializing field: 'machine'
31165             # my ($class, $value, $index, $input) = @_;
31166 0           $_[0]->deserialize_string( $_[1]->{machine}, $_[2], $_[3] );
31167              
31168             # Deserializing field: 'virttype'
31169             # my ($class, $value, $index, $input) = @_;
31170 0           $_[0]->deserialize_string( $_[1]->{virttype}, $_[2], $_[3] );
31171              
31172             # Deserializing field: 'xmlCPU'
31173             # my ($class, $value, $index, $input) = @_;
31174 0           $_[0]->deserialize_nonnull_string( $_[1]->{xmlCPU}, $_[2], $_[3] );
31175              
31176             # Deserializing field: 'flags'
31177             # my ($class, $value, $index, $input) = @_;
31178 0 0         die "Input buffer too short"
31179             if ($input_length - $_[2]) < 4;
31180 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31181 0           $_[2] += 4;
31182             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31183 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31184             }
31185             # @_: ($class, $value, $index, $output) = @_;
31186             sub serialize_connect_compare_hypervisor_cpu_args {
31187 0 0   0 0   croak "Missing required input 'struct' value"
31188             unless defined $_[1];
31189              
31190             # Serializing field: 'emulator'
31191             croak "Missing required input value 'emulator'"
31192 0 0         unless exists $_[1]->{emulator};
31193             # my ($class, $value, $index, $output) = @_;
31194 0           $_[0]->serialize_string( $_[1]->{emulator}, $_[2], $_[3] );
31195              
31196             # Serializing field: 'arch'
31197             croak "Missing required input value 'arch'"
31198 0 0         unless exists $_[1]->{arch};
31199             # my ($class, $value, $index, $output) = @_;
31200 0           $_[0]->serialize_string( $_[1]->{arch}, $_[2], $_[3] );
31201              
31202             # Serializing field: 'machine'
31203             croak "Missing required input value 'machine'"
31204 0 0         unless exists $_[1]->{machine};
31205             # my ($class, $value, $index, $output) = @_;
31206 0           $_[0]->serialize_string( $_[1]->{machine}, $_[2], $_[3] );
31207              
31208             # Serializing field: 'virttype'
31209             croak "Missing required input value 'virttype'"
31210 0 0         unless exists $_[1]->{virttype};
31211             # my ($class, $value, $index, $output) = @_;
31212 0           $_[0]->serialize_string( $_[1]->{virttype}, $_[2], $_[3] );
31213              
31214             # Serializing field: 'xmlCPU'
31215             croak "Missing required input value 'xmlCPU'"
31216 0 0         unless exists $_[1]->{xmlCPU};
31217             # my ($class, $value, $index, $output) = @_;
31218 0           $_[0]->serialize_nonnull_string( $_[1]->{xmlCPU}, $_[2], $_[3] );
31219              
31220             # Serializing field: 'flags'
31221             croak "Missing required input value 'flags'"
31222 0 0         unless exists $_[1]->{flags};
31223             # my ($class, $value, $index, $output) = @_;
31224             croak "Missing required input 'unsigned int' value"
31225 0 0         unless defined $_[1]->{flags};
31226             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31227 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31228             die "Non-integer 'int' value given: $_[1]->{flags}"
31229 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31230 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31231 0           $_[2] += 4;
31232             }
31233             # @_: ($class, $value, $index, $input) = @_;
31234             sub deserialize_connect_compare_hypervisor_cpu_ret {
31235 0     0 0   my $input_length = length $_[3];
31236 0           $_[1] = {};
31237             # Deserializing field: 'result'
31238             # my ($class, $value, $index, $input) = @_;
31239 0 0         die "Input buffer too short"
31240             if ($input_length - $_[2]) < 4;
31241 0           $_[1]->{result} = unpack("l>", substr( $_[3], $_[2] ));
31242 0           $_[2] += 4;
31243             die "Out of bounds 'int': $_[1]->{result}"
31244 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
31245             }
31246             # @_: ($class, $value, $index, $output) = @_;
31247             sub serialize_connect_compare_hypervisor_cpu_ret {
31248 0 0   0 0   croak "Missing required input 'struct' value"
31249             unless defined $_[1];
31250              
31251             # Serializing field: 'result'
31252             croak "Missing required input value 'result'"
31253 0 0         unless exists $_[1]->{result};
31254             # my ($class, $value, $index, $output) = @_;
31255             croak "Missing required input 'int' value"
31256 0 0         unless defined $_[1]->{result};
31257             die "Out of bounds 'int': $_[1]->{result}"
31258 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
31259             die "Non-integer 'int' value given: $_[1]->{result}"
31260 0 0         unless int($_[1]->{result}) == $_[1]->{result};
31261 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{result});
31262 0           $_[2] += 4;
31263             }
31264             # @_: ($class, $value, $index, $input) = @_;
31265             sub deserialize_connect_baseline_hypervisor_cpu_args {
31266 0     0 0   my $input_length = length $_[3];
31267 0           $_[1] = {};
31268             # Deserializing field: 'emulator'
31269             # my ($class, $value, $index, $input) = @_;
31270 0           $_[0]->deserialize_string( $_[1]->{emulator}, $_[2], $_[3] );
31271              
31272             # Deserializing field: 'arch'
31273             # my ($class, $value, $index, $input) = @_;
31274 0           $_[0]->deserialize_string( $_[1]->{arch}, $_[2], $_[3] );
31275              
31276             # Deserializing field: 'machine'
31277             # my ($class, $value, $index, $input) = @_;
31278 0           $_[0]->deserialize_string( $_[1]->{machine}, $_[2], $_[3] );
31279              
31280             # Deserializing field: 'virttype'
31281             # my ($class, $value, $index, $input) = @_;
31282 0           $_[0]->deserialize_string( $_[1]->{virttype}, $_[2], $_[3] );
31283              
31284             # Deserializing field: 'xmlCPUs'
31285             # my ($class, $value, $index, $input) = @_;
31286 0           do {
31287 0 0         die "Input buffer too short"
31288             if ($input_length - $_[2]) < 4;
31289 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
31290 0           $_[2] += 4;
31291              
31292 0 0         die "Array too long (max: 256): $len"
31293             unless ($len <= 256);
31294 0           $_[1]->{xmlCPUs} = [];
31295 0           for my $i1 ( 0 .. ($len - 1) ) {
31296             # my ($class, $value, $index, $input) = @_;
31297 0           $_[0]->deserialize_nonnull_string( $_[1]->{xmlCPUs}->[$i1], $_[2], $_[3] );
31298             }
31299             };
31300              
31301             # Deserializing field: 'flags'
31302             # my ($class, $value, $index, $input) = @_;
31303 0 0         die "Input buffer too short"
31304             if ($input_length - $_[2]) < 4;
31305 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31306 0           $_[2] += 4;
31307             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31308 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31309             }
31310             # @_: ($class, $value, $index, $output) = @_;
31311             sub serialize_connect_baseline_hypervisor_cpu_args {
31312 0 0   0 0   croak "Missing required input 'struct' value"
31313             unless defined $_[1];
31314              
31315             # Serializing field: 'emulator'
31316             croak "Missing required input value 'emulator'"
31317 0 0         unless exists $_[1]->{emulator};
31318             # my ($class, $value, $index, $output) = @_;
31319 0           $_[0]->serialize_string( $_[1]->{emulator}, $_[2], $_[3] );
31320              
31321             # Serializing field: 'arch'
31322             croak "Missing required input value 'arch'"
31323 0 0         unless exists $_[1]->{arch};
31324             # my ($class, $value, $index, $output) = @_;
31325 0           $_[0]->serialize_string( $_[1]->{arch}, $_[2], $_[3] );
31326              
31327             # Serializing field: 'machine'
31328             croak "Missing required input value 'machine'"
31329 0 0         unless exists $_[1]->{machine};
31330             # my ($class, $value, $index, $output) = @_;
31331 0           $_[0]->serialize_string( $_[1]->{machine}, $_[2], $_[3] );
31332              
31333             # Serializing field: 'virttype'
31334             croak "Missing required input value 'virttype'"
31335 0 0         unless exists $_[1]->{virttype};
31336             # my ($class, $value, $index, $output) = @_;
31337 0           $_[0]->serialize_string( $_[1]->{virttype}, $_[2], $_[3] );
31338              
31339             # Serializing field: 'xmlCPUs'
31340             croak "Missing required input value 'xmlCPUs'"
31341 0 0         unless exists $_[1]->{xmlCPUs};
31342             # my ($class, $value, $index, $output) = @_;
31343             croak "Missing required input 'array' value"
31344 0 0         unless defined $_[1]->{xmlCPUs};
31345 0           do {
31346 0           my $len = scalar @{ $_[1]->{xmlCPUs} };
  0            
31347 0 0         die "Array too long (max: 256): $len"
31348             unless ($len <= 256);
31349              
31350 0           substr( $_[3], $_[2] ) = pack("L>", $len);
31351 0           $_[2] += 4;
31352 0           for my $i1 ( 0 .. ($len - 1) ) {
31353             # my ($class, $value, $index, $output) = @_;
31354 0           $_[0]->serialize_nonnull_string( $_[1]->{xmlCPUs}->[$i1], $_[2], $_[3] );
31355             }
31356             };
31357              
31358             # Serializing field: 'flags'
31359             croak "Missing required input value 'flags'"
31360 0 0         unless exists $_[1]->{flags};
31361             # my ($class, $value, $index, $output) = @_;
31362             croak "Missing required input 'unsigned int' value"
31363 0 0         unless defined $_[1]->{flags};
31364             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31365 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31366             die "Non-integer 'int' value given: $_[1]->{flags}"
31367 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31368 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31369 0           $_[2] += 4;
31370             }
31371             # @_: ($class, $value, $index, $input) = @_;
31372             sub deserialize_connect_baseline_hypervisor_cpu_ret {
31373 0     0 0   my $input_length = length $_[3];
31374 0           $_[1] = {};
31375             # Deserializing field: 'cpu'
31376             # my ($class, $value, $index, $input) = @_;
31377 0           $_[0]->deserialize_nonnull_string( $_[1]->{cpu}, $_[2], $_[3] );
31378             }
31379             # @_: ($class, $value, $index, $output) = @_;
31380             sub serialize_connect_baseline_hypervisor_cpu_ret {
31381 0 0   0 0   croak "Missing required input 'struct' value"
31382             unless defined $_[1];
31383              
31384             # Serializing field: 'cpu'
31385             croak "Missing required input value 'cpu'"
31386 0 0         unless exists $_[1]->{cpu};
31387             # my ($class, $value, $index, $output) = @_;
31388 0           $_[0]->serialize_nonnull_string( $_[1]->{cpu}, $_[2], $_[3] );
31389             }
31390             # @_: ($class, $value, $index, $input) = @_;
31391             sub deserialize_node_get_sev_info_args {
31392 0     0 0   my $input_length = length $_[3];
31393 0           $_[1] = {};
31394             # Deserializing field: 'nparams'
31395             # my ($class, $value, $index, $input) = @_;
31396 0 0         die "Input buffer too short"
31397             if ($input_length - $_[2]) < 4;
31398 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
31399 0           $_[2] += 4;
31400             die "Out of bounds 'int': $_[1]->{nparams}"
31401 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
31402              
31403             # Deserializing field: 'flags'
31404             # my ($class, $value, $index, $input) = @_;
31405 0 0         die "Input buffer too short"
31406             if ($input_length - $_[2]) < 4;
31407 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31408 0           $_[2] += 4;
31409             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31410 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31411             }
31412             # @_: ($class, $value, $index, $output) = @_;
31413             sub serialize_node_get_sev_info_args {
31414 0 0   0 0   croak "Missing required input 'struct' value"
31415             unless defined $_[1];
31416              
31417             # Serializing field: 'nparams'
31418             croak "Missing required input value 'nparams'"
31419 0 0         unless exists $_[1]->{nparams};
31420             # my ($class, $value, $index, $output) = @_;
31421             croak "Missing required input 'int' value"
31422 0 0         unless defined $_[1]->{nparams};
31423             die "Out of bounds 'int': $_[1]->{nparams}"
31424 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
31425             die "Non-integer 'int' value given: $_[1]->{nparams}"
31426 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
31427 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
31428 0           $_[2] += 4;
31429              
31430             # Serializing field: 'flags'
31431             croak "Missing required input value 'flags'"
31432 0 0         unless exists $_[1]->{flags};
31433             # my ($class, $value, $index, $output) = @_;
31434             croak "Missing required input 'unsigned int' value"
31435 0 0         unless defined $_[1]->{flags};
31436             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31437 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31438             die "Non-integer 'int' value given: $_[1]->{flags}"
31439 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31440 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31441 0           $_[2] += 4;
31442             }
31443             # @_: ($class, $value, $index, $input) = @_;
31444             sub deserialize_node_get_sev_info_ret {
31445 0     0 0   my $input_length = length $_[3];
31446 0           $_[1] = {};
31447             # Deserializing field: 'params'
31448             # my ($class, $value, $index, $input) = @_;
31449 0           do {
31450 0 0         die "Input buffer too short"
31451             if ($input_length - $_[2]) < 4;
31452 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
31453 0           $_[2] += 4;
31454              
31455 0 0         die "Array too long (max: 64): $len"
31456             unless ($len <= 64);
31457 0           $_[1]->{params} = [];
31458 0           for my $i1 ( 0 .. ($len - 1) ) {
31459             # my ($class, $value, $index, $input) = @_;
31460 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
31461             }
31462             };
31463              
31464             # Deserializing field: 'nparams'
31465             # my ($class, $value, $index, $input) = @_;
31466 0 0         die "Input buffer too short"
31467             if ($input_length - $_[2]) < 4;
31468 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
31469 0           $_[2] += 4;
31470             die "Out of bounds 'int': $_[1]->{nparams}"
31471 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
31472             }
31473             # @_: ($class, $value, $index, $output) = @_;
31474             sub serialize_node_get_sev_info_ret {
31475 0 0   0 0   croak "Missing required input 'struct' value"
31476             unless defined $_[1];
31477              
31478             # Serializing field: 'params'
31479             croak "Missing required input value 'params'"
31480 0 0         unless exists $_[1]->{params};
31481             # my ($class, $value, $index, $output) = @_;
31482             croak "Missing required input 'array' value"
31483 0 0         unless defined $_[1]->{params};
31484 0           do {
31485 0           my $len = scalar @{ $_[1]->{params} };
  0            
31486 0 0         die "Array too long (max: 64): $len"
31487             unless ($len <= 64);
31488              
31489 0           substr( $_[3], $_[2] ) = pack("L>", $len);
31490 0           $_[2] += 4;
31491 0           for my $i1 ( 0 .. ($len - 1) ) {
31492             # my ($class, $value, $index, $output) = @_;
31493 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
31494             }
31495             };
31496              
31497             # Serializing field: 'nparams'
31498             croak "Missing required input value 'nparams'"
31499 0 0         unless exists $_[1]->{nparams};
31500             # my ($class, $value, $index, $output) = @_;
31501             croak "Missing required input 'int' value"
31502 0 0         unless defined $_[1]->{nparams};
31503             die "Out of bounds 'int': $_[1]->{nparams}"
31504 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
31505             die "Non-integer 'int' value given: $_[1]->{nparams}"
31506 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
31507 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
31508 0           $_[2] += 4;
31509             }
31510             # @_: ($class, $value, $index, $input) = @_;
31511             sub deserialize_domain_get_launch_security_info_args {
31512 0     0 0   my $input_length = length $_[3];
31513 0           $_[1] = {};
31514             # Deserializing field: 'dom'
31515             # my ($class, $value, $index, $input) = @_;
31516 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
31517              
31518             # Deserializing field: 'flags'
31519             # my ($class, $value, $index, $input) = @_;
31520 0 0         die "Input buffer too short"
31521             if ($input_length - $_[2]) < 4;
31522 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31523 0           $_[2] += 4;
31524             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31525 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31526             }
31527             # @_: ($class, $value, $index, $output) = @_;
31528             sub serialize_domain_get_launch_security_info_args {
31529 0 0   0 0   croak "Missing required input 'struct' value"
31530             unless defined $_[1];
31531              
31532             # Serializing field: 'dom'
31533             croak "Missing required input value 'dom'"
31534 0 0         unless exists $_[1]->{dom};
31535             # my ($class, $value, $index, $output) = @_;
31536 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
31537              
31538             # Serializing field: 'flags'
31539             croak "Missing required input value 'flags'"
31540 0 0         unless exists $_[1]->{flags};
31541             # my ($class, $value, $index, $output) = @_;
31542             croak "Missing required input 'unsigned int' value"
31543 0 0         unless defined $_[1]->{flags};
31544             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31545 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31546             die "Non-integer 'int' value given: $_[1]->{flags}"
31547 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31548 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31549 0           $_[2] += 4;
31550             }
31551             # @_: ($class, $value, $index, $input) = @_;
31552             sub deserialize_domain_get_launch_security_info_ret {
31553 0     0 0   my $input_length = length $_[3];
31554 0           $_[1] = {};
31555             # Deserializing field: 'params'
31556             # my ($class, $value, $index, $input) = @_;
31557 0           do {
31558 0 0         die "Input buffer too short"
31559             if ($input_length - $_[2]) < 4;
31560 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
31561 0           $_[2] += 4;
31562              
31563 0 0         die "Array too long (max: 64): $len"
31564             unless ($len <= 64);
31565 0           $_[1]->{params} = [];
31566 0           for my $i1 ( 0 .. ($len - 1) ) {
31567             # my ($class, $value, $index, $input) = @_;
31568 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
31569             }
31570             };
31571             }
31572             # @_: ($class, $value, $index, $output) = @_;
31573             sub serialize_domain_get_launch_security_info_ret {
31574 0 0   0 0   croak "Missing required input 'struct' value"
31575             unless defined $_[1];
31576              
31577             # Serializing field: 'params'
31578             croak "Missing required input value 'params'"
31579 0 0         unless exists $_[1]->{params};
31580             # my ($class, $value, $index, $output) = @_;
31581             croak "Missing required input 'array' value"
31582 0 0         unless defined $_[1]->{params};
31583 0           do {
31584 0           my $len = scalar @{ $_[1]->{params} };
  0            
31585 0 0         die "Array too long (max: 64): $len"
31586             unless ($len <= 64);
31587              
31588 0           substr( $_[3], $_[2] ) = pack("L>", $len);
31589 0           $_[2] += 4;
31590 0           for my $i1 ( 0 .. ($len - 1) ) {
31591             # my ($class, $value, $index, $output) = @_;
31592 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
31593             }
31594             };
31595             }
31596             # @_: ($class, $value, $index, $input) = @_;
31597             sub deserialize_domain_set_launch_security_state_args {
31598 0     0 0   my $input_length = length $_[3];
31599 0           $_[1] = {};
31600             # Deserializing field: 'dom'
31601             # my ($class, $value, $index, $input) = @_;
31602 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
31603              
31604             # Deserializing field: 'params'
31605             # my ($class, $value, $index, $input) = @_;
31606 0           do {
31607 0 0         die "Input buffer too short"
31608             if ($input_length - $_[2]) < 4;
31609 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
31610 0           $_[2] += 4;
31611              
31612 0 0         die "Array too long (max: 64): $len"
31613             unless ($len <= 64);
31614 0           $_[1]->{params} = [];
31615 0           for my $i1 ( 0 .. ($len - 1) ) {
31616             # my ($class, $value, $index, $input) = @_;
31617 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
31618             }
31619             };
31620              
31621             # Deserializing field: 'flags'
31622             # my ($class, $value, $index, $input) = @_;
31623 0 0         die "Input buffer too short"
31624             if ($input_length - $_[2]) < 4;
31625 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31626 0           $_[2] += 4;
31627             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31628 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31629             }
31630             # @_: ($class, $value, $index, $output) = @_;
31631             sub serialize_domain_set_launch_security_state_args {
31632 0 0   0 0   croak "Missing required input 'struct' value"
31633             unless defined $_[1];
31634              
31635             # Serializing field: 'dom'
31636             croak "Missing required input value 'dom'"
31637 0 0         unless exists $_[1]->{dom};
31638             # my ($class, $value, $index, $output) = @_;
31639 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
31640              
31641             # Serializing field: 'params'
31642             croak "Missing required input value 'params'"
31643 0 0         unless exists $_[1]->{params};
31644             # my ($class, $value, $index, $output) = @_;
31645             croak "Missing required input 'array' value"
31646 0 0         unless defined $_[1]->{params};
31647 0           do {
31648 0           my $len = scalar @{ $_[1]->{params} };
  0            
31649 0 0         die "Array too long (max: 64): $len"
31650             unless ($len <= 64);
31651              
31652 0           substr( $_[3], $_[2] ) = pack("L>", $len);
31653 0           $_[2] += 4;
31654 0           for my $i1 ( 0 .. ($len - 1) ) {
31655             # my ($class, $value, $index, $output) = @_;
31656 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
31657             }
31658             };
31659              
31660             # Serializing field: 'flags'
31661             croak "Missing required input value 'flags'"
31662 0 0         unless exists $_[1]->{flags};
31663             # my ($class, $value, $index, $output) = @_;
31664             croak "Missing required input 'unsigned int' value"
31665 0 0         unless defined $_[1]->{flags};
31666             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31667 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31668             die "Non-integer 'int' value given: $_[1]->{flags}"
31669 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31670 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31671 0           $_[2] += 4;
31672             }
31673             # @_: ($class, $value, $index, $input) = @_;
31674             sub deserialize_nwfilter_binding_lookup_by_port_dev_args {
31675 0     0 0   my $input_length = length $_[3];
31676 0           $_[1] = {};
31677             # Deserializing field: 'name'
31678             # my ($class, $value, $index, $input) = @_;
31679 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
31680             }
31681             # @_: ($class, $value, $index, $output) = @_;
31682             sub serialize_nwfilter_binding_lookup_by_port_dev_args {
31683 0 0   0 0   croak "Missing required input 'struct' value"
31684             unless defined $_[1];
31685              
31686             # Serializing field: 'name'
31687             croak "Missing required input value 'name'"
31688 0 0         unless exists $_[1]->{name};
31689             # my ($class, $value, $index, $output) = @_;
31690 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
31691             }
31692             # @_: ($class, $value, $index, $input) = @_;
31693             sub deserialize_nwfilter_binding_lookup_by_port_dev_ret {
31694 0     0 0   my $input_length = length $_[3];
31695 0           $_[1] = {};
31696             # Deserializing field: 'nwfilter'
31697             # my ($class, $value, $index, $input) = @_;
31698 0           $_[0]->deserialize_nonnull_nwfilter_binding( $_[1]->{nwfilter}, $_[2], $_[3] );
31699             }
31700             # @_: ($class, $value, $index, $output) = @_;
31701             sub serialize_nwfilter_binding_lookup_by_port_dev_ret {
31702 0 0   0 0   croak "Missing required input 'struct' value"
31703             unless defined $_[1];
31704              
31705             # Serializing field: 'nwfilter'
31706             croak "Missing required input value 'nwfilter'"
31707 0 0         unless exists $_[1]->{nwfilter};
31708             # my ($class, $value, $index, $output) = @_;
31709 0           $_[0]->serialize_nonnull_nwfilter_binding( $_[1]->{nwfilter}, $_[2], $_[3] );
31710             }
31711             # @_: ($class, $value, $index, $input) = @_;
31712             sub deserialize_nwfilter_binding_create_xml_args {
31713 0     0 0   my $input_length = length $_[3];
31714 0           $_[1] = {};
31715             # Deserializing field: 'xml'
31716             # my ($class, $value, $index, $input) = @_;
31717 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
31718              
31719             # Deserializing field: 'flags'
31720             # my ($class, $value, $index, $input) = @_;
31721 0 0         die "Input buffer too short"
31722             if ($input_length - $_[2]) < 4;
31723 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31724 0           $_[2] += 4;
31725             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31726 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31727             }
31728             # @_: ($class, $value, $index, $output) = @_;
31729             sub serialize_nwfilter_binding_create_xml_args {
31730 0 0   0 0   croak "Missing required input 'struct' value"
31731             unless defined $_[1];
31732              
31733             # Serializing field: 'xml'
31734             croak "Missing required input value 'xml'"
31735 0 0         unless exists $_[1]->{xml};
31736             # my ($class, $value, $index, $output) = @_;
31737 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
31738              
31739             # Serializing field: 'flags'
31740             croak "Missing required input value 'flags'"
31741 0 0         unless exists $_[1]->{flags};
31742             # my ($class, $value, $index, $output) = @_;
31743             croak "Missing required input 'unsigned int' value"
31744 0 0         unless defined $_[1]->{flags};
31745             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31746 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31747             die "Non-integer 'int' value given: $_[1]->{flags}"
31748 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31749 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31750 0           $_[2] += 4;
31751             }
31752             # @_: ($class, $value, $index, $input) = @_;
31753             sub deserialize_nwfilter_binding_create_xml_ret {
31754 0     0 0   my $input_length = length $_[3];
31755 0           $_[1] = {};
31756             # Deserializing field: 'nwfilter'
31757             # my ($class, $value, $index, $input) = @_;
31758 0           $_[0]->deserialize_nonnull_nwfilter_binding( $_[1]->{nwfilter}, $_[2], $_[3] );
31759             }
31760             # @_: ($class, $value, $index, $output) = @_;
31761             sub serialize_nwfilter_binding_create_xml_ret {
31762 0 0   0 0   croak "Missing required input 'struct' value"
31763             unless defined $_[1];
31764              
31765             # Serializing field: 'nwfilter'
31766             croak "Missing required input value 'nwfilter'"
31767 0 0         unless exists $_[1]->{nwfilter};
31768             # my ($class, $value, $index, $output) = @_;
31769 0           $_[0]->serialize_nonnull_nwfilter_binding( $_[1]->{nwfilter}, $_[2], $_[3] );
31770             }
31771             # @_: ($class, $value, $index, $input) = @_;
31772             sub deserialize_nwfilter_binding_delete_args {
31773 0     0 0   my $input_length = length $_[3];
31774 0           $_[1] = {};
31775             # Deserializing field: 'nwfilter'
31776             # my ($class, $value, $index, $input) = @_;
31777 0           $_[0]->deserialize_nonnull_nwfilter_binding( $_[1]->{nwfilter}, $_[2], $_[3] );
31778             }
31779             # @_: ($class, $value, $index, $output) = @_;
31780             sub serialize_nwfilter_binding_delete_args {
31781 0 0   0 0   croak "Missing required input 'struct' value"
31782             unless defined $_[1];
31783              
31784             # Serializing field: 'nwfilter'
31785             croak "Missing required input value 'nwfilter'"
31786 0 0         unless exists $_[1]->{nwfilter};
31787             # my ($class, $value, $index, $output) = @_;
31788 0           $_[0]->serialize_nonnull_nwfilter_binding( $_[1]->{nwfilter}, $_[2], $_[3] );
31789             }
31790             # @_: ($class, $value, $index, $input) = @_;
31791             sub deserialize_nwfilter_binding_get_xml_desc_args {
31792 0     0 0   my $input_length = length $_[3];
31793 0           $_[1] = {};
31794             # Deserializing field: 'nwfilter'
31795             # my ($class, $value, $index, $input) = @_;
31796 0           $_[0]->deserialize_nonnull_nwfilter_binding( $_[1]->{nwfilter}, $_[2], $_[3] );
31797              
31798             # Deserializing field: 'flags'
31799             # my ($class, $value, $index, $input) = @_;
31800 0 0         die "Input buffer too short"
31801             if ($input_length - $_[2]) < 4;
31802 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31803 0           $_[2] += 4;
31804             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31805 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31806             }
31807             # @_: ($class, $value, $index, $output) = @_;
31808             sub serialize_nwfilter_binding_get_xml_desc_args {
31809 0 0   0 0   croak "Missing required input 'struct' value"
31810             unless defined $_[1];
31811              
31812             # Serializing field: 'nwfilter'
31813             croak "Missing required input value 'nwfilter'"
31814 0 0         unless exists $_[1]->{nwfilter};
31815             # my ($class, $value, $index, $output) = @_;
31816 0           $_[0]->serialize_nonnull_nwfilter_binding( $_[1]->{nwfilter}, $_[2], $_[3] );
31817              
31818             # Serializing field: 'flags'
31819             croak "Missing required input value 'flags'"
31820 0 0         unless exists $_[1]->{flags};
31821             # my ($class, $value, $index, $output) = @_;
31822             croak "Missing required input 'unsigned int' value"
31823 0 0         unless defined $_[1]->{flags};
31824             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31825 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31826             die "Non-integer 'int' value given: $_[1]->{flags}"
31827 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31828 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31829 0           $_[2] += 4;
31830             }
31831             # @_: ($class, $value, $index, $input) = @_;
31832             sub deserialize_nwfilter_binding_get_xml_desc_ret {
31833 0     0 0   my $input_length = length $_[3];
31834 0           $_[1] = {};
31835             # Deserializing field: 'xml'
31836             # my ($class, $value, $index, $input) = @_;
31837 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
31838             }
31839             # @_: ($class, $value, $index, $output) = @_;
31840             sub serialize_nwfilter_binding_get_xml_desc_ret {
31841 0 0   0 0   croak "Missing required input 'struct' value"
31842             unless defined $_[1];
31843              
31844             # Serializing field: 'xml'
31845             croak "Missing required input value 'xml'"
31846 0 0         unless exists $_[1]->{xml};
31847             # my ($class, $value, $index, $output) = @_;
31848 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
31849             }
31850             # @_: ($class, $value, $index, $input) = @_;
31851             sub deserialize_connect_list_all_nwfilter_bindings_args {
31852 0     0 0   my $input_length = length $_[3];
31853 0           $_[1] = {};
31854             # Deserializing field: 'need_results'
31855             # my ($class, $value, $index, $input) = @_;
31856 0 0         die "Input buffer too short"
31857             if ($input_length - $_[2]) < 4;
31858 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
31859 0           $_[2] += 4;
31860             die "Out of bounds 'int': $_[1]->{need_results}"
31861 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
31862              
31863             # Deserializing field: 'flags'
31864             # my ($class, $value, $index, $input) = @_;
31865 0 0         die "Input buffer too short"
31866             if ($input_length - $_[2]) < 4;
31867 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31868 0           $_[2] += 4;
31869             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31870 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31871             }
31872             # @_: ($class, $value, $index, $output) = @_;
31873             sub serialize_connect_list_all_nwfilter_bindings_args {
31874 0 0   0 0   croak "Missing required input 'struct' value"
31875             unless defined $_[1];
31876              
31877             # Serializing field: 'need_results'
31878             croak "Missing required input value 'need_results'"
31879 0 0         unless exists $_[1]->{need_results};
31880             # my ($class, $value, $index, $output) = @_;
31881             croak "Missing required input 'int' value"
31882 0 0         unless defined $_[1]->{need_results};
31883             die "Out of bounds 'int': $_[1]->{need_results}"
31884 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
31885             die "Non-integer 'int' value given: $_[1]->{need_results}"
31886 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
31887 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
31888 0           $_[2] += 4;
31889              
31890             # Serializing field: 'flags'
31891             croak "Missing required input value 'flags'"
31892 0 0         unless exists $_[1]->{flags};
31893             # my ($class, $value, $index, $output) = @_;
31894             croak "Missing required input 'unsigned int' value"
31895 0 0         unless defined $_[1]->{flags};
31896             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31897 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31898             die "Non-integer 'int' value given: $_[1]->{flags}"
31899 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31900 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31901 0           $_[2] += 4;
31902             }
31903             # @_: ($class, $value, $index, $input) = @_;
31904             sub deserialize_connect_list_all_nwfilter_bindings_ret {
31905 0     0 0   my $input_length = length $_[3];
31906 0           $_[1] = {};
31907             # Deserializing field: 'bindings'
31908             # my ($class, $value, $index, $input) = @_;
31909 0           do {
31910 0 0         die "Input buffer too short"
31911             if ($input_length - $_[2]) < 4;
31912 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
31913 0           $_[2] += 4;
31914              
31915 0 0         die "Array too long (max: 16384): $len"
31916             unless ($len <= 16384);
31917 0           $_[1]->{bindings} = [];
31918 0           for my $i1 ( 0 .. ($len - 1) ) {
31919             # my ($class, $value, $index, $input) = @_;
31920 0           $_[0]->deserialize_nonnull_nwfilter_binding( $_[1]->{bindings}->[$i1], $_[2], $_[3] );
31921             }
31922             };
31923              
31924             # Deserializing field: 'ret'
31925             # my ($class, $value, $index, $input) = @_;
31926 0 0         die "Input buffer too short"
31927             if ($input_length - $_[2]) < 4;
31928 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
31929 0           $_[2] += 4;
31930             die "Out of bounds 'unsigned int': $_[1]->{ret}"
31931 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
31932             }
31933             # @_: ($class, $value, $index, $output) = @_;
31934             sub serialize_connect_list_all_nwfilter_bindings_ret {
31935 0 0   0 0   croak "Missing required input 'struct' value"
31936             unless defined $_[1];
31937              
31938             # Serializing field: 'bindings'
31939             croak "Missing required input value 'bindings'"
31940 0 0         unless exists $_[1]->{bindings};
31941             # my ($class, $value, $index, $output) = @_;
31942             croak "Missing required input 'array' value"
31943 0 0         unless defined $_[1]->{bindings};
31944 0           do {
31945 0           my $len = scalar @{ $_[1]->{bindings} };
  0            
31946 0 0         die "Array too long (max: 16384): $len"
31947             unless ($len <= 16384);
31948              
31949 0           substr( $_[3], $_[2] ) = pack("L>", $len);
31950 0           $_[2] += 4;
31951 0           for my $i1 ( 0 .. ($len - 1) ) {
31952             # my ($class, $value, $index, $output) = @_;
31953 0           $_[0]->serialize_nonnull_nwfilter_binding( $_[1]->{bindings}->[$i1], $_[2], $_[3] );
31954             }
31955             };
31956              
31957             # Serializing field: 'ret'
31958             croak "Missing required input value 'ret'"
31959 0 0         unless exists $_[1]->{ret};
31960             # my ($class, $value, $index, $output) = @_;
31961             croak "Missing required input 'unsigned int' value"
31962 0 0         unless defined $_[1]->{ret};
31963             die "Out of bounds 'unsigned int': $_[1]->{ret}"
31964 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
31965             die "Non-integer 'int' value given: $_[1]->{ret}"
31966 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
31967 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
31968 0           $_[2] += 4;
31969             }
31970             # @_: ($class, $value, $index, $input) = @_;
31971             sub deserialize_connect_get_storage_pool_capabilities_args {
31972 0     0 0   my $input_length = length $_[3];
31973 0           $_[1] = {};
31974             # Deserializing field: 'flags'
31975             # my ($class, $value, $index, $input) = @_;
31976 0 0         die "Input buffer too short"
31977             if ($input_length - $_[2]) < 4;
31978 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
31979 0           $_[2] += 4;
31980             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31981 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31982             }
31983             # @_: ($class, $value, $index, $output) = @_;
31984             sub serialize_connect_get_storage_pool_capabilities_args {
31985 0 0   0 0   croak "Missing required input 'struct' value"
31986             unless defined $_[1];
31987              
31988             # Serializing field: 'flags'
31989             croak "Missing required input value 'flags'"
31990 0 0         unless exists $_[1]->{flags};
31991             # my ($class, $value, $index, $output) = @_;
31992             croak "Missing required input 'unsigned int' value"
31993 0 0         unless defined $_[1]->{flags};
31994             die "Out of bounds 'unsigned int': $_[1]->{flags}"
31995 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
31996             die "Non-integer 'int' value given: $_[1]->{flags}"
31997 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
31998 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
31999 0           $_[2] += 4;
32000             }
32001             # @_: ($class, $value, $index, $input) = @_;
32002             sub deserialize_connect_get_storage_pool_capabilities_ret {
32003 0     0 0   my $input_length = length $_[3];
32004 0           $_[1] = {};
32005             # Deserializing field: 'capabilities'
32006             # my ($class, $value, $index, $input) = @_;
32007 0           $_[0]->deserialize_nonnull_string( $_[1]->{capabilities}, $_[2], $_[3] );
32008             }
32009             # @_: ($class, $value, $index, $output) = @_;
32010             sub serialize_connect_get_storage_pool_capabilities_ret {
32011 0 0   0 0   croak "Missing required input 'struct' value"
32012             unless defined $_[1];
32013              
32014             # Serializing field: 'capabilities'
32015             croak "Missing required input value 'capabilities'"
32016 0 0         unless exists $_[1]->{capabilities};
32017             # my ($class, $value, $index, $output) = @_;
32018 0           $_[0]->serialize_nonnull_string( $_[1]->{capabilities}, $_[2], $_[3] );
32019             }
32020             # @_: ($class, $value, $index, $input) = @_;
32021             sub deserialize_network_list_all_ports_args {
32022 0     0 0   my $input_length = length $_[3];
32023 0           $_[1] = {};
32024             # Deserializing field: 'network'
32025             # my ($class, $value, $index, $input) = @_;
32026 0           $_[0]->deserialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
32027              
32028             # Deserializing field: 'need_results'
32029             # my ($class, $value, $index, $input) = @_;
32030 0 0         die "Input buffer too short"
32031             if ($input_length - $_[2]) < 4;
32032 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
32033 0           $_[2] += 4;
32034             die "Out of bounds 'int': $_[1]->{need_results}"
32035 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
32036              
32037             # Deserializing field: 'flags'
32038             # my ($class, $value, $index, $input) = @_;
32039 0 0         die "Input buffer too short"
32040             if ($input_length - $_[2]) < 4;
32041 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32042 0           $_[2] += 4;
32043             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32044 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32045             }
32046             # @_: ($class, $value, $index, $output) = @_;
32047             sub serialize_network_list_all_ports_args {
32048 0 0   0 0   croak "Missing required input 'struct' value"
32049             unless defined $_[1];
32050              
32051             # Serializing field: 'network'
32052             croak "Missing required input value 'network'"
32053 0 0         unless exists $_[1]->{network};
32054             # my ($class, $value, $index, $output) = @_;
32055 0           $_[0]->serialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
32056              
32057             # Serializing field: 'need_results'
32058             croak "Missing required input value 'need_results'"
32059 0 0         unless exists $_[1]->{need_results};
32060             # my ($class, $value, $index, $output) = @_;
32061             croak "Missing required input 'int' value"
32062 0 0         unless defined $_[1]->{need_results};
32063             die "Out of bounds 'int': $_[1]->{need_results}"
32064 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
32065             die "Non-integer 'int' value given: $_[1]->{need_results}"
32066 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
32067 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
32068 0           $_[2] += 4;
32069              
32070             # Serializing field: 'flags'
32071             croak "Missing required input value 'flags'"
32072 0 0         unless exists $_[1]->{flags};
32073             # my ($class, $value, $index, $output) = @_;
32074             croak "Missing required input 'unsigned int' value"
32075 0 0         unless defined $_[1]->{flags};
32076             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32077 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32078             die "Non-integer 'int' value given: $_[1]->{flags}"
32079 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32080 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32081 0           $_[2] += 4;
32082             }
32083             # @_: ($class, $value, $index, $input) = @_;
32084             sub deserialize_network_list_all_ports_ret {
32085 0     0 0   my $input_length = length $_[3];
32086 0           $_[1] = {};
32087             # Deserializing field: 'ports'
32088             # my ($class, $value, $index, $input) = @_;
32089 0           do {
32090 0 0         die "Input buffer too short"
32091             if ($input_length - $_[2]) < 4;
32092 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
32093 0           $_[2] += 4;
32094              
32095 0 0         die "Array too long (max: 16384): $len"
32096             unless ($len <= 16384);
32097 0           $_[1]->{ports} = [];
32098 0           for my $i1 ( 0 .. ($len - 1) ) {
32099             # my ($class, $value, $index, $input) = @_;
32100 0           $_[0]->deserialize_nonnull_network_port( $_[1]->{ports}->[$i1], $_[2], $_[3] );
32101             }
32102             };
32103              
32104             # Deserializing field: 'ret'
32105             # my ($class, $value, $index, $input) = @_;
32106 0 0         die "Input buffer too short"
32107             if ($input_length - $_[2]) < 4;
32108 0           $_[1]->{ret} = unpack("L>", substr( $_[3], $_[2] ));
32109 0           $_[2] += 4;
32110             die "Out of bounds 'unsigned int': $_[1]->{ret}"
32111 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
32112             }
32113             # @_: ($class, $value, $index, $output) = @_;
32114             sub serialize_network_list_all_ports_ret {
32115 0 0   0 0   croak "Missing required input 'struct' value"
32116             unless defined $_[1];
32117              
32118             # Serializing field: 'ports'
32119             croak "Missing required input value 'ports'"
32120 0 0         unless exists $_[1]->{ports};
32121             # my ($class, $value, $index, $output) = @_;
32122             croak "Missing required input 'array' value"
32123 0 0         unless defined $_[1]->{ports};
32124 0           do {
32125 0           my $len = scalar @{ $_[1]->{ports} };
  0            
32126 0 0         die "Array too long (max: 16384): $len"
32127             unless ($len <= 16384);
32128              
32129 0           substr( $_[3], $_[2] ) = pack("L>", $len);
32130 0           $_[2] += 4;
32131 0           for my $i1 ( 0 .. ($len - 1) ) {
32132             # my ($class, $value, $index, $output) = @_;
32133 0           $_[0]->serialize_nonnull_network_port( $_[1]->{ports}->[$i1], $_[2], $_[3] );
32134             }
32135             };
32136              
32137             # Serializing field: 'ret'
32138             croak "Missing required input value 'ret'"
32139 0 0         unless exists $_[1]->{ret};
32140             # my ($class, $value, $index, $output) = @_;
32141             croak "Missing required input 'unsigned int' value"
32142 0 0         unless defined $_[1]->{ret};
32143             die "Out of bounds 'unsigned int': $_[1]->{ret}"
32144 0 0 0       unless (0 <= $_[1]->{ret} and $_[1]->{ret} <= 4294967295);
32145             die "Non-integer 'int' value given: $_[1]->{ret}"
32146 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
32147 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{ret});
32148 0           $_[2] += 4;
32149             }
32150             # @_: ($class, $value, $index, $input) = @_;
32151             sub deserialize_network_port_lookup_by_uuid_args {
32152 0     0 0   my $input_length = length $_[3];
32153 0           $_[1] = {};
32154             # Deserializing field: 'network'
32155             # my ($class, $value, $index, $input) = @_;
32156 0           $_[0]->deserialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
32157              
32158             # Deserializing field: 'uuid'
32159             # my ($class, $value, $index, $input) = @_;
32160 0           $_[0]->deserialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
32161             }
32162             # @_: ($class, $value, $index, $output) = @_;
32163             sub serialize_network_port_lookup_by_uuid_args {
32164 0 0   0 0   croak "Missing required input 'struct' value"
32165             unless defined $_[1];
32166              
32167             # Serializing field: 'network'
32168             croak "Missing required input value 'network'"
32169 0 0         unless exists $_[1]->{network};
32170             # my ($class, $value, $index, $output) = @_;
32171 0           $_[0]->serialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
32172              
32173             # Serializing field: 'uuid'
32174             croak "Missing required input value 'uuid'"
32175 0 0         unless exists $_[1]->{uuid};
32176             # my ($class, $value, $index, $output) = @_;
32177 0           $_[0]->serialize_uuid( $_[1]->{uuid}, $_[2], $_[3] );
32178             }
32179             # @_: ($class, $value, $index, $input) = @_;
32180             sub deserialize_network_port_lookup_by_uuid_ret {
32181 0     0 0   my $input_length = length $_[3];
32182 0           $_[1] = {};
32183             # Deserializing field: 'port'
32184             # my ($class, $value, $index, $input) = @_;
32185 0           $_[0]->deserialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32186             }
32187             # @_: ($class, $value, $index, $output) = @_;
32188             sub serialize_network_port_lookup_by_uuid_ret {
32189 0 0   0 0   croak "Missing required input 'struct' value"
32190             unless defined $_[1];
32191              
32192             # Serializing field: 'port'
32193             croak "Missing required input value 'port'"
32194 0 0         unless exists $_[1]->{port};
32195             # my ($class, $value, $index, $output) = @_;
32196 0           $_[0]->serialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32197             }
32198             # @_: ($class, $value, $index, $input) = @_;
32199             sub deserialize_network_port_create_xml_args {
32200 0     0 0   my $input_length = length $_[3];
32201 0           $_[1] = {};
32202             # Deserializing field: 'network'
32203             # my ($class, $value, $index, $input) = @_;
32204 0           $_[0]->deserialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
32205              
32206             # Deserializing field: 'xml'
32207             # my ($class, $value, $index, $input) = @_;
32208 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
32209              
32210             # Deserializing field: 'flags'
32211             # my ($class, $value, $index, $input) = @_;
32212 0 0         die "Input buffer too short"
32213             if ($input_length - $_[2]) < 4;
32214 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32215 0           $_[2] += 4;
32216             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32217 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32218             }
32219             # @_: ($class, $value, $index, $output) = @_;
32220             sub serialize_network_port_create_xml_args {
32221 0 0   0 0   croak "Missing required input 'struct' value"
32222             unless defined $_[1];
32223              
32224             # Serializing field: 'network'
32225             croak "Missing required input value 'network'"
32226 0 0         unless exists $_[1]->{network};
32227             # my ($class, $value, $index, $output) = @_;
32228 0           $_[0]->serialize_nonnull_network( $_[1]->{network}, $_[2], $_[3] );
32229              
32230             # Serializing field: 'xml'
32231             croak "Missing required input value 'xml'"
32232 0 0         unless exists $_[1]->{xml};
32233             # my ($class, $value, $index, $output) = @_;
32234 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
32235              
32236             # Serializing field: 'flags'
32237             croak "Missing required input value 'flags'"
32238 0 0         unless exists $_[1]->{flags};
32239             # my ($class, $value, $index, $output) = @_;
32240             croak "Missing required input 'unsigned int' value"
32241 0 0         unless defined $_[1]->{flags};
32242             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32243 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32244             die "Non-integer 'int' value given: $_[1]->{flags}"
32245 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32246 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32247 0           $_[2] += 4;
32248             }
32249             # @_: ($class, $value, $index, $input) = @_;
32250             sub deserialize_network_port_create_xml_ret {
32251 0     0 0   my $input_length = length $_[3];
32252 0           $_[1] = {};
32253             # Deserializing field: 'port'
32254             # my ($class, $value, $index, $input) = @_;
32255 0           $_[0]->deserialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32256             }
32257             # @_: ($class, $value, $index, $output) = @_;
32258             sub serialize_network_port_create_xml_ret {
32259 0 0   0 0   croak "Missing required input 'struct' value"
32260             unless defined $_[1];
32261              
32262             # Serializing field: 'port'
32263             croak "Missing required input value 'port'"
32264 0 0         unless exists $_[1]->{port};
32265             # my ($class, $value, $index, $output) = @_;
32266 0           $_[0]->serialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32267             }
32268             # @_: ($class, $value, $index, $input) = @_;
32269             sub deserialize_network_port_set_parameters_args {
32270 0     0 0   my $input_length = length $_[3];
32271 0           $_[1] = {};
32272             # Deserializing field: 'port'
32273             # my ($class, $value, $index, $input) = @_;
32274 0           $_[0]->deserialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32275              
32276             # Deserializing field: 'params'
32277             # my ($class, $value, $index, $input) = @_;
32278 0           do {
32279 0 0         die "Input buffer too short"
32280             if ($input_length - $_[2]) < 4;
32281 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
32282 0           $_[2] += 4;
32283              
32284 0 0         die "Array too long (max: 16): $len"
32285             unless ($len <= 16);
32286 0           $_[1]->{params} = [];
32287 0           for my $i1 ( 0 .. ($len - 1) ) {
32288             # my ($class, $value, $index, $input) = @_;
32289 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
32290             }
32291             };
32292              
32293             # Deserializing field: 'flags'
32294             # my ($class, $value, $index, $input) = @_;
32295 0 0         die "Input buffer too short"
32296             if ($input_length - $_[2]) < 4;
32297 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32298 0           $_[2] += 4;
32299             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32300 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32301             }
32302             # @_: ($class, $value, $index, $output) = @_;
32303             sub serialize_network_port_set_parameters_args {
32304 0 0   0 0   croak "Missing required input 'struct' value"
32305             unless defined $_[1];
32306              
32307             # Serializing field: 'port'
32308             croak "Missing required input value 'port'"
32309 0 0         unless exists $_[1]->{port};
32310             # my ($class, $value, $index, $output) = @_;
32311 0           $_[0]->serialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32312              
32313             # Serializing field: 'params'
32314             croak "Missing required input value 'params'"
32315 0 0         unless exists $_[1]->{params};
32316             # my ($class, $value, $index, $output) = @_;
32317             croak "Missing required input 'array' value"
32318 0 0         unless defined $_[1]->{params};
32319 0           do {
32320 0           my $len = scalar @{ $_[1]->{params} };
  0            
32321 0 0         die "Array too long (max: 16): $len"
32322             unless ($len <= 16);
32323              
32324 0           substr( $_[3], $_[2] ) = pack("L>", $len);
32325 0           $_[2] += 4;
32326 0           for my $i1 ( 0 .. ($len - 1) ) {
32327             # my ($class, $value, $index, $output) = @_;
32328 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
32329             }
32330             };
32331              
32332             # Serializing field: 'flags'
32333             croak "Missing required input value 'flags'"
32334 0 0         unless exists $_[1]->{flags};
32335             # my ($class, $value, $index, $output) = @_;
32336             croak "Missing required input 'unsigned int' value"
32337 0 0         unless defined $_[1]->{flags};
32338             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32339 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32340             die "Non-integer 'int' value given: $_[1]->{flags}"
32341 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32342 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32343 0           $_[2] += 4;
32344             }
32345             # @_: ($class, $value, $index, $input) = @_;
32346             sub deserialize_network_port_get_parameters_args {
32347 0     0 0   my $input_length = length $_[3];
32348 0           $_[1] = {};
32349             # Deserializing field: 'port'
32350             # my ($class, $value, $index, $input) = @_;
32351 0           $_[0]->deserialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32352              
32353             # Deserializing field: 'nparams'
32354             # my ($class, $value, $index, $input) = @_;
32355 0 0         die "Input buffer too short"
32356             if ($input_length - $_[2]) < 4;
32357 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
32358 0           $_[2] += 4;
32359             die "Out of bounds 'int': $_[1]->{nparams}"
32360 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
32361              
32362             # Deserializing field: 'flags'
32363             # my ($class, $value, $index, $input) = @_;
32364 0 0         die "Input buffer too short"
32365             if ($input_length - $_[2]) < 4;
32366 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32367 0           $_[2] += 4;
32368             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32369 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32370             }
32371             # @_: ($class, $value, $index, $output) = @_;
32372             sub serialize_network_port_get_parameters_args {
32373 0 0   0 0   croak "Missing required input 'struct' value"
32374             unless defined $_[1];
32375              
32376             # Serializing field: 'port'
32377             croak "Missing required input value 'port'"
32378 0 0         unless exists $_[1]->{port};
32379             # my ($class, $value, $index, $output) = @_;
32380 0           $_[0]->serialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32381              
32382             # Serializing field: 'nparams'
32383             croak "Missing required input value 'nparams'"
32384 0 0         unless exists $_[1]->{nparams};
32385             # my ($class, $value, $index, $output) = @_;
32386             croak "Missing required input 'int' value"
32387 0 0         unless defined $_[1]->{nparams};
32388             die "Out of bounds 'int': $_[1]->{nparams}"
32389 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
32390             die "Non-integer 'int' value given: $_[1]->{nparams}"
32391 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
32392 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
32393 0           $_[2] += 4;
32394              
32395             # Serializing field: 'flags'
32396             croak "Missing required input value 'flags'"
32397 0 0         unless exists $_[1]->{flags};
32398             # my ($class, $value, $index, $output) = @_;
32399             croak "Missing required input 'unsigned int' value"
32400 0 0         unless defined $_[1]->{flags};
32401             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32402 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32403             die "Non-integer 'int' value given: $_[1]->{flags}"
32404 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32405 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32406 0           $_[2] += 4;
32407             }
32408             # @_: ($class, $value, $index, $input) = @_;
32409             sub deserialize_network_port_get_parameters_ret {
32410 0     0 0   my $input_length = length $_[3];
32411 0           $_[1] = {};
32412             # Deserializing field: 'params'
32413             # my ($class, $value, $index, $input) = @_;
32414 0           do {
32415 0 0         die "Input buffer too short"
32416             if ($input_length - $_[2]) < 4;
32417 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
32418 0           $_[2] += 4;
32419              
32420 0 0         die "Array too long (max: 16): $len"
32421             unless ($len <= 16);
32422 0           $_[1]->{params} = [];
32423 0           for my $i1 ( 0 .. ($len - 1) ) {
32424             # my ($class, $value, $index, $input) = @_;
32425 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
32426             }
32427             };
32428              
32429             # Deserializing field: 'nparams'
32430             # my ($class, $value, $index, $input) = @_;
32431 0 0         die "Input buffer too short"
32432             if ($input_length - $_[2]) < 4;
32433 0           $_[1]->{nparams} = unpack("l>", substr( $_[3], $_[2] ));
32434 0           $_[2] += 4;
32435             die "Out of bounds 'int': $_[1]->{nparams}"
32436 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
32437             }
32438             # @_: ($class, $value, $index, $output) = @_;
32439             sub serialize_network_port_get_parameters_ret {
32440 0 0   0 0   croak "Missing required input 'struct' value"
32441             unless defined $_[1];
32442              
32443             # Serializing field: 'params'
32444             croak "Missing required input value 'params'"
32445 0 0         unless exists $_[1]->{params};
32446             # my ($class, $value, $index, $output) = @_;
32447             croak "Missing required input 'array' value"
32448 0 0         unless defined $_[1]->{params};
32449 0           do {
32450 0           my $len = scalar @{ $_[1]->{params} };
  0            
32451 0 0         die "Array too long (max: 16): $len"
32452             unless ($len <= 16);
32453              
32454 0           substr( $_[3], $_[2] ) = pack("L>", $len);
32455 0           $_[2] += 4;
32456 0           for my $i1 ( 0 .. ($len - 1) ) {
32457             # my ($class, $value, $index, $output) = @_;
32458 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
32459             }
32460             };
32461              
32462             # Serializing field: 'nparams'
32463             croak "Missing required input value 'nparams'"
32464 0 0         unless exists $_[1]->{nparams};
32465             # my ($class, $value, $index, $output) = @_;
32466             croak "Missing required input 'int' value"
32467 0 0         unless defined $_[1]->{nparams};
32468             die "Out of bounds 'int': $_[1]->{nparams}"
32469 0 0 0       unless (-2147483648 <= $_[1]->{nparams} and $_[1]->{nparams} < 2147483648);
32470             die "Non-integer 'int' value given: $_[1]->{nparams}"
32471 0 0         unless int($_[1]->{nparams}) == $_[1]->{nparams};
32472 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{nparams});
32473 0           $_[2] += 4;
32474             }
32475             # @_: ($class, $value, $index, $input) = @_;
32476             sub deserialize_network_port_get_xml_desc_args {
32477 0     0 0   my $input_length = length $_[3];
32478 0           $_[1] = {};
32479             # Deserializing field: 'port'
32480             # my ($class, $value, $index, $input) = @_;
32481 0           $_[0]->deserialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32482              
32483             # Deserializing field: 'flags'
32484             # my ($class, $value, $index, $input) = @_;
32485 0 0         die "Input buffer too short"
32486             if ($input_length - $_[2]) < 4;
32487 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32488 0           $_[2] += 4;
32489             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32490 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32491             }
32492             # @_: ($class, $value, $index, $output) = @_;
32493             sub serialize_network_port_get_xml_desc_args {
32494 0 0   0 0   croak "Missing required input 'struct' value"
32495             unless defined $_[1];
32496              
32497             # Serializing field: 'port'
32498             croak "Missing required input value 'port'"
32499 0 0         unless exists $_[1]->{port};
32500             # my ($class, $value, $index, $output) = @_;
32501 0           $_[0]->serialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32502              
32503             # Serializing field: 'flags'
32504             croak "Missing required input value 'flags'"
32505 0 0         unless exists $_[1]->{flags};
32506             # my ($class, $value, $index, $output) = @_;
32507             croak "Missing required input 'unsigned int' value"
32508 0 0         unless defined $_[1]->{flags};
32509             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32510 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32511             die "Non-integer 'int' value given: $_[1]->{flags}"
32512 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32513 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32514 0           $_[2] += 4;
32515             }
32516             # @_: ($class, $value, $index, $input) = @_;
32517             sub deserialize_network_port_get_xml_desc_ret {
32518 0     0 0   my $input_length = length $_[3];
32519 0           $_[1] = {};
32520             # Deserializing field: 'xml'
32521             # my ($class, $value, $index, $input) = @_;
32522 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
32523             }
32524             # @_: ($class, $value, $index, $output) = @_;
32525             sub serialize_network_port_get_xml_desc_ret {
32526 0 0   0 0   croak "Missing required input 'struct' value"
32527             unless defined $_[1];
32528              
32529             # Serializing field: 'xml'
32530             croak "Missing required input value 'xml'"
32531 0 0         unless exists $_[1]->{xml};
32532             # my ($class, $value, $index, $output) = @_;
32533 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
32534             }
32535             # @_: ($class, $value, $index, $input) = @_;
32536             sub deserialize_network_port_delete_args {
32537 0     0 0   my $input_length = length $_[3];
32538 0           $_[1] = {};
32539             # Deserializing field: 'port'
32540             # my ($class, $value, $index, $input) = @_;
32541 0           $_[0]->deserialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32542              
32543             # Deserializing field: 'flags'
32544             # my ($class, $value, $index, $input) = @_;
32545 0 0         die "Input buffer too short"
32546             if ($input_length - $_[2]) < 4;
32547 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32548 0           $_[2] += 4;
32549             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32550 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32551             }
32552             # @_: ($class, $value, $index, $output) = @_;
32553             sub serialize_network_port_delete_args {
32554 0 0   0 0   croak "Missing required input 'struct' value"
32555             unless defined $_[1];
32556              
32557             # Serializing field: 'port'
32558             croak "Missing required input value 'port'"
32559 0 0         unless exists $_[1]->{port};
32560             # my ($class, $value, $index, $output) = @_;
32561 0           $_[0]->serialize_nonnull_network_port( $_[1]->{port}, $_[2], $_[3] );
32562              
32563             # Serializing field: 'flags'
32564             croak "Missing required input value 'flags'"
32565 0 0         unless exists $_[1]->{flags};
32566             # my ($class, $value, $index, $output) = @_;
32567             croak "Missing required input 'unsigned int' value"
32568 0 0         unless defined $_[1]->{flags};
32569             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32570 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32571             die "Non-integer 'int' value given: $_[1]->{flags}"
32572 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32573 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32574 0           $_[2] += 4;
32575             }
32576             # @_: ($class, $value, $index, $input) = @_;
32577             sub deserialize_domain_checkpoint_create_xml_args {
32578 0     0 0   my $input_length = length $_[3];
32579 0           $_[1] = {};
32580             # Deserializing field: 'dom'
32581             # my ($class, $value, $index, $input) = @_;
32582 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
32583              
32584             # Deserializing field: 'xml_desc'
32585             # my ($class, $value, $index, $input) = @_;
32586 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
32587              
32588             # Deserializing field: 'flags'
32589             # my ($class, $value, $index, $input) = @_;
32590 0 0         die "Input buffer too short"
32591             if ($input_length - $_[2]) < 4;
32592 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32593 0           $_[2] += 4;
32594             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32595 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32596             }
32597             # @_: ($class, $value, $index, $output) = @_;
32598             sub serialize_domain_checkpoint_create_xml_args {
32599 0 0   0 0   croak "Missing required input 'struct' value"
32600             unless defined $_[1];
32601              
32602             # Serializing field: 'dom'
32603             croak "Missing required input value 'dom'"
32604 0 0         unless exists $_[1]->{dom};
32605             # my ($class, $value, $index, $output) = @_;
32606 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
32607              
32608             # Serializing field: 'xml_desc'
32609             croak "Missing required input value 'xml_desc'"
32610 0 0         unless exists $_[1]->{xml_desc};
32611             # my ($class, $value, $index, $output) = @_;
32612 0           $_[0]->serialize_nonnull_string( $_[1]->{xml_desc}, $_[2], $_[3] );
32613              
32614             # Serializing field: 'flags'
32615             croak "Missing required input value 'flags'"
32616 0 0         unless exists $_[1]->{flags};
32617             # my ($class, $value, $index, $output) = @_;
32618             croak "Missing required input 'unsigned int' value"
32619 0 0         unless defined $_[1]->{flags};
32620             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32621 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32622             die "Non-integer 'int' value given: $_[1]->{flags}"
32623 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32624 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32625 0           $_[2] += 4;
32626             }
32627             # @_: ($class, $value, $index, $input) = @_;
32628             sub deserialize_domain_checkpoint_create_xml_ret {
32629 0     0 0   my $input_length = length $_[3];
32630 0           $_[1] = {};
32631             # Deserializing field: 'checkpoint'
32632             # my ($class, $value, $index, $input) = @_;
32633 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
32634             }
32635             # @_: ($class, $value, $index, $output) = @_;
32636             sub serialize_domain_checkpoint_create_xml_ret {
32637 0 0   0 0   croak "Missing required input 'struct' value"
32638             unless defined $_[1];
32639              
32640             # Serializing field: 'checkpoint'
32641             croak "Missing required input value 'checkpoint'"
32642 0 0         unless exists $_[1]->{checkpoint};
32643             # my ($class, $value, $index, $output) = @_;
32644 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
32645             }
32646             # @_: ($class, $value, $index, $input) = @_;
32647             sub deserialize_domain_checkpoint_get_xml_desc_args {
32648 0     0 0   my $input_length = length $_[3];
32649 0           $_[1] = {};
32650             # Deserializing field: 'checkpoint'
32651             # my ($class, $value, $index, $input) = @_;
32652 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
32653              
32654             # Deserializing field: 'flags'
32655             # my ($class, $value, $index, $input) = @_;
32656 0 0         die "Input buffer too short"
32657             if ($input_length - $_[2]) < 4;
32658 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32659 0           $_[2] += 4;
32660             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32661 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32662             }
32663             # @_: ($class, $value, $index, $output) = @_;
32664             sub serialize_domain_checkpoint_get_xml_desc_args {
32665 0 0   0 0   croak "Missing required input 'struct' value"
32666             unless defined $_[1];
32667              
32668             # Serializing field: 'checkpoint'
32669             croak "Missing required input value 'checkpoint'"
32670 0 0         unless exists $_[1]->{checkpoint};
32671             # my ($class, $value, $index, $output) = @_;
32672 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
32673              
32674             # Serializing field: 'flags'
32675             croak "Missing required input value 'flags'"
32676 0 0         unless exists $_[1]->{flags};
32677             # my ($class, $value, $index, $output) = @_;
32678             croak "Missing required input 'unsigned int' value"
32679 0 0         unless defined $_[1]->{flags};
32680             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32681 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32682             die "Non-integer 'int' value given: $_[1]->{flags}"
32683 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32684 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32685 0           $_[2] += 4;
32686             }
32687             # @_: ($class, $value, $index, $input) = @_;
32688             sub deserialize_domain_checkpoint_get_xml_desc_ret {
32689 0     0 0   my $input_length = length $_[3];
32690 0           $_[1] = {};
32691             # Deserializing field: 'xml'
32692             # my ($class, $value, $index, $input) = @_;
32693 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
32694             }
32695             # @_: ($class, $value, $index, $output) = @_;
32696             sub serialize_domain_checkpoint_get_xml_desc_ret {
32697 0 0   0 0   croak "Missing required input 'struct' value"
32698             unless defined $_[1];
32699              
32700             # Serializing field: 'xml'
32701             croak "Missing required input value 'xml'"
32702 0 0         unless exists $_[1]->{xml};
32703             # my ($class, $value, $index, $output) = @_;
32704 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
32705             }
32706             # @_: ($class, $value, $index, $input) = @_;
32707             sub deserialize_domain_list_all_checkpoints_args {
32708 0     0 0   my $input_length = length $_[3];
32709 0           $_[1] = {};
32710             # Deserializing field: 'dom'
32711             # my ($class, $value, $index, $input) = @_;
32712 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
32713              
32714             # Deserializing field: 'need_results'
32715             # my ($class, $value, $index, $input) = @_;
32716 0 0         die "Input buffer too short"
32717             if ($input_length - $_[2]) < 4;
32718 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
32719 0           $_[2] += 4;
32720             die "Out of bounds 'int': $_[1]->{need_results}"
32721 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
32722              
32723             # Deserializing field: 'flags'
32724             # my ($class, $value, $index, $input) = @_;
32725 0 0         die "Input buffer too short"
32726             if ($input_length - $_[2]) < 4;
32727 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32728 0           $_[2] += 4;
32729             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32730 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32731             }
32732             # @_: ($class, $value, $index, $output) = @_;
32733             sub serialize_domain_list_all_checkpoints_args {
32734 0 0   0 0   croak "Missing required input 'struct' value"
32735             unless defined $_[1];
32736              
32737             # Serializing field: 'dom'
32738             croak "Missing required input value 'dom'"
32739 0 0         unless exists $_[1]->{dom};
32740             # my ($class, $value, $index, $output) = @_;
32741 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
32742              
32743             # Serializing field: 'need_results'
32744             croak "Missing required input value 'need_results'"
32745 0 0         unless exists $_[1]->{need_results};
32746             # my ($class, $value, $index, $output) = @_;
32747             croak "Missing required input 'int' value"
32748 0 0         unless defined $_[1]->{need_results};
32749             die "Out of bounds 'int': $_[1]->{need_results}"
32750 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
32751             die "Non-integer 'int' value given: $_[1]->{need_results}"
32752 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
32753 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
32754 0           $_[2] += 4;
32755              
32756             # Serializing field: 'flags'
32757             croak "Missing required input value 'flags'"
32758 0 0         unless exists $_[1]->{flags};
32759             # my ($class, $value, $index, $output) = @_;
32760             croak "Missing required input 'unsigned int' value"
32761 0 0         unless defined $_[1]->{flags};
32762             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32763 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32764             die "Non-integer 'int' value given: $_[1]->{flags}"
32765 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32766 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32767 0           $_[2] += 4;
32768             }
32769             # @_: ($class, $value, $index, $input) = @_;
32770             sub deserialize_domain_list_all_checkpoints_ret {
32771 0     0 0   my $input_length = length $_[3];
32772 0           $_[1] = {};
32773             # Deserializing field: 'checkpoints'
32774             # my ($class, $value, $index, $input) = @_;
32775 0           do {
32776 0 0         die "Input buffer too short"
32777             if ($input_length - $_[2]) < 4;
32778 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
32779 0           $_[2] += 4;
32780              
32781 0 0         die "Array too long (max: 16384): $len"
32782             unless ($len <= 16384);
32783 0           $_[1]->{checkpoints} = [];
32784 0           for my $i1 ( 0 .. ($len - 1) ) {
32785             # my ($class, $value, $index, $input) = @_;
32786 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{checkpoints}->[$i1], $_[2], $_[3] );
32787             }
32788             };
32789              
32790             # Deserializing field: 'ret'
32791             # my ($class, $value, $index, $input) = @_;
32792 0 0         die "Input buffer too short"
32793             if ($input_length - $_[2]) < 4;
32794 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
32795 0           $_[2] += 4;
32796             die "Out of bounds 'int': $_[1]->{ret}"
32797 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
32798             }
32799             # @_: ($class, $value, $index, $output) = @_;
32800             sub serialize_domain_list_all_checkpoints_ret {
32801 0 0   0 0   croak "Missing required input 'struct' value"
32802             unless defined $_[1];
32803              
32804             # Serializing field: 'checkpoints'
32805             croak "Missing required input value 'checkpoints'"
32806 0 0         unless exists $_[1]->{checkpoints};
32807             # my ($class, $value, $index, $output) = @_;
32808             croak "Missing required input 'array' value"
32809 0 0         unless defined $_[1]->{checkpoints};
32810 0           do {
32811 0           my $len = scalar @{ $_[1]->{checkpoints} };
  0            
32812 0 0         die "Array too long (max: 16384): $len"
32813             unless ($len <= 16384);
32814              
32815 0           substr( $_[3], $_[2] ) = pack("L>", $len);
32816 0           $_[2] += 4;
32817 0           for my $i1 ( 0 .. ($len - 1) ) {
32818             # my ($class, $value, $index, $output) = @_;
32819 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{checkpoints}->[$i1], $_[2], $_[3] );
32820             }
32821             };
32822              
32823             # Serializing field: 'ret'
32824             croak "Missing required input value 'ret'"
32825 0 0         unless exists $_[1]->{ret};
32826             # my ($class, $value, $index, $output) = @_;
32827             croak "Missing required input 'int' value"
32828 0 0         unless defined $_[1]->{ret};
32829             die "Out of bounds 'int': $_[1]->{ret}"
32830 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
32831             die "Non-integer 'int' value given: $_[1]->{ret}"
32832 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
32833 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
32834 0           $_[2] += 4;
32835             }
32836             # @_: ($class, $value, $index, $input) = @_;
32837             sub deserialize_domain_checkpoint_list_all_children_args {
32838 0     0 0   my $input_length = length $_[3];
32839 0           $_[1] = {};
32840             # Deserializing field: 'checkpoint'
32841             # my ($class, $value, $index, $input) = @_;
32842 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
32843              
32844             # Deserializing field: 'need_results'
32845             # my ($class, $value, $index, $input) = @_;
32846 0 0         die "Input buffer too short"
32847             if ($input_length - $_[2]) < 4;
32848 0           $_[1]->{need_results} = unpack("l>", substr( $_[3], $_[2] ));
32849 0           $_[2] += 4;
32850             die "Out of bounds 'int': $_[1]->{need_results}"
32851 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
32852              
32853             # Deserializing field: 'flags'
32854             # my ($class, $value, $index, $input) = @_;
32855 0 0         die "Input buffer too short"
32856             if ($input_length - $_[2]) < 4;
32857 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32858 0           $_[2] += 4;
32859             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32860 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32861             }
32862             # @_: ($class, $value, $index, $output) = @_;
32863             sub serialize_domain_checkpoint_list_all_children_args {
32864 0 0   0 0   croak "Missing required input 'struct' value"
32865             unless defined $_[1];
32866              
32867             # Serializing field: 'checkpoint'
32868             croak "Missing required input value 'checkpoint'"
32869 0 0         unless exists $_[1]->{checkpoint};
32870             # my ($class, $value, $index, $output) = @_;
32871 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
32872              
32873             # Serializing field: 'need_results'
32874             croak "Missing required input value 'need_results'"
32875 0 0         unless exists $_[1]->{need_results};
32876             # my ($class, $value, $index, $output) = @_;
32877             croak "Missing required input 'int' value"
32878 0 0         unless defined $_[1]->{need_results};
32879             die "Out of bounds 'int': $_[1]->{need_results}"
32880 0 0 0       unless (-2147483648 <= $_[1]->{need_results} and $_[1]->{need_results} < 2147483648);
32881             die "Non-integer 'int' value given: $_[1]->{need_results}"
32882 0 0         unless int($_[1]->{need_results}) == $_[1]->{need_results};
32883 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{need_results});
32884 0           $_[2] += 4;
32885              
32886             # Serializing field: 'flags'
32887             croak "Missing required input value 'flags'"
32888 0 0         unless exists $_[1]->{flags};
32889             # my ($class, $value, $index, $output) = @_;
32890             croak "Missing required input 'unsigned int' value"
32891 0 0         unless defined $_[1]->{flags};
32892             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32893 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32894             die "Non-integer 'int' value given: $_[1]->{flags}"
32895 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
32896 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
32897 0           $_[2] += 4;
32898             }
32899             # @_: ($class, $value, $index, $input) = @_;
32900             sub deserialize_domain_checkpoint_list_all_children_ret {
32901 0     0 0   my $input_length = length $_[3];
32902 0           $_[1] = {};
32903             # Deserializing field: 'checkpoints'
32904             # my ($class, $value, $index, $input) = @_;
32905 0           do {
32906 0 0         die "Input buffer too short"
32907             if ($input_length - $_[2]) < 4;
32908 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
32909 0           $_[2] += 4;
32910              
32911 0 0         die "Array too long (max: 16384): $len"
32912             unless ($len <= 16384);
32913 0           $_[1]->{checkpoints} = [];
32914 0           for my $i1 ( 0 .. ($len - 1) ) {
32915             # my ($class, $value, $index, $input) = @_;
32916 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{checkpoints}->[$i1], $_[2], $_[3] );
32917             }
32918             };
32919              
32920             # Deserializing field: 'ret'
32921             # my ($class, $value, $index, $input) = @_;
32922 0 0         die "Input buffer too short"
32923             if ($input_length - $_[2]) < 4;
32924 0           $_[1]->{ret} = unpack("l>", substr( $_[3], $_[2] ));
32925 0           $_[2] += 4;
32926             die "Out of bounds 'int': $_[1]->{ret}"
32927 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
32928             }
32929             # @_: ($class, $value, $index, $output) = @_;
32930             sub serialize_domain_checkpoint_list_all_children_ret {
32931 0 0   0 0   croak "Missing required input 'struct' value"
32932             unless defined $_[1];
32933              
32934             # Serializing field: 'checkpoints'
32935             croak "Missing required input value 'checkpoints'"
32936 0 0         unless exists $_[1]->{checkpoints};
32937             # my ($class, $value, $index, $output) = @_;
32938             croak "Missing required input 'array' value"
32939 0 0         unless defined $_[1]->{checkpoints};
32940 0           do {
32941 0           my $len = scalar @{ $_[1]->{checkpoints} };
  0            
32942 0 0         die "Array too long (max: 16384): $len"
32943             unless ($len <= 16384);
32944              
32945 0           substr( $_[3], $_[2] ) = pack("L>", $len);
32946 0           $_[2] += 4;
32947 0           for my $i1 ( 0 .. ($len - 1) ) {
32948             # my ($class, $value, $index, $output) = @_;
32949 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{checkpoints}->[$i1], $_[2], $_[3] );
32950             }
32951             };
32952              
32953             # Serializing field: 'ret'
32954             croak "Missing required input value 'ret'"
32955 0 0         unless exists $_[1]->{ret};
32956             # my ($class, $value, $index, $output) = @_;
32957             croak "Missing required input 'int' value"
32958 0 0         unless defined $_[1]->{ret};
32959             die "Out of bounds 'int': $_[1]->{ret}"
32960 0 0 0       unless (-2147483648 <= $_[1]->{ret} and $_[1]->{ret} < 2147483648);
32961             die "Non-integer 'int' value given: $_[1]->{ret}"
32962 0 0         unless int($_[1]->{ret}) == $_[1]->{ret};
32963 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{ret});
32964 0           $_[2] += 4;
32965             }
32966             # @_: ($class, $value, $index, $input) = @_;
32967             sub deserialize_domain_checkpoint_lookup_by_name_args {
32968 0     0 0   my $input_length = length $_[3];
32969 0           $_[1] = {};
32970             # Deserializing field: 'dom'
32971             # my ($class, $value, $index, $input) = @_;
32972 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
32973              
32974             # Deserializing field: 'name'
32975             # my ($class, $value, $index, $input) = @_;
32976 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
32977              
32978             # Deserializing field: 'flags'
32979             # my ($class, $value, $index, $input) = @_;
32980 0 0         die "Input buffer too short"
32981             if ($input_length - $_[2]) < 4;
32982 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
32983 0           $_[2] += 4;
32984             die "Out of bounds 'unsigned int': $_[1]->{flags}"
32985 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
32986             }
32987             # @_: ($class, $value, $index, $output) = @_;
32988             sub serialize_domain_checkpoint_lookup_by_name_args {
32989 0 0   0 0   croak "Missing required input 'struct' value"
32990             unless defined $_[1];
32991              
32992             # Serializing field: 'dom'
32993             croak "Missing required input value 'dom'"
32994 0 0         unless exists $_[1]->{dom};
32995             # my ($class, $value, $index, $output) = @_;
32996 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
32997              
32998             # Serializing field: 'name'
32999             croak "Missing required input value 'name'"
33000 0 0         unless exists $_[1]->{name};
33001             # my ($class, $value, $index, $output) = @_;
33002 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
33003              
33004             # Serializing field: 'flags'
33005             croak "Missing required input value 'flags'"
33006 0 0         unless exists $_[1]->{flags};
33007             # my ($class, $value, $index, $output) = @_;
33008             croak "Missing required input 'unsigned int' value"
33009 0 0         unless defined $_[1]->{flags};
33010             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33011 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33012             die "Non-integer 'int' value given: $_[1]->{flags}"
33013 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33014 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33015 0           $_[2] += 4;
33016             }
33017             # @_: ($class, $value, $index, $input) = @_;
33018             sub deserialize_domain_checkpoint_lookup_by_name_ret {
33019 0     0 0   my $input_length = length $_[3];
33020 0           $_[1] = {};
33021             # Deserializing field: 'checkpoint'
33022             # my ($class, $value, $index, $input) = @_;
33023 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
33024             }
33025             # @_: ($class, $value, $index, $output) = @_;
33026             sub serialize_domain_checkpoint_lookup_by_name_ret {
33027 0 0   0 0   croak "Missing required input 'struct' value"
33028             unless defined $_[1];
33029              
33030             # Serializing field: 'checkpoint'
33031             croak "Missing required input value 'checkpoint'"
33032 0 0         unless exists $_[1]->{checkpoint};
33033             # my ($class, $value, $index, $output) = @_;
33034 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
33035             }
33036             # @_: ($class, $value, $index, $input) = @_;
33037             sub deserialize_domain_checkpoint_get_parent_args {
33038 0     0 0   my $input_length = length $_[3];
33039 0           $_[1] = {};
33040             # Deserializing field: 'checkpoint'
33041             # my ($class, $value, $index, $input) = @_;
33042 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
33043              
33044             # Deserializing field: 'flags'
33045             # my ($class, $value, $index, $input) = @_;
33046 0 0         die "Input buffer too short"
33047             if ($input_length - $_[2]) < 4;
33048 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33049 0           $_[2] += 4;
33050             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33051 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33052             }
33053             # @_: ($class, $value, $index, $output) = @_;
33054             sub serialize_domain_checkpoint_get_parent_args {
33055 0 0   0 0   croak "Missing required input 'struct' value"
33056             unless defined $_[1];
33057              
33058             # Serializing field: 'checkpoint'
33059             croak "Missing required input value 'checkpoint'"
33060 0 0         unless exists $_[1]->{checkpoint};
33061             # my ($class, $value, $index, $output) = @_;
33062 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
33063              
33064             # Serializing field: 'flags'
33065             croak "Missing required input value 'flags'"
33066 0 0         unless exists $_[1]->{flags};
33067             # my ($class, $value, $index, $output) = @_;
33068             croak "Missing required input 'unsigned int' value"
33069 0 0         unless defined $_[1]->{flags};
33070             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33071 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33072             die "Non-integer 'int' value given: $_[1]->{flags}"
33073 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33074 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33075 0           $_[2] += 4;
33076             }
33077             # @_: ($class, $value, $index, $input) = @_;
33078             sub deserialize_domain_checkpoint_get_parent_ret {
33079 0     0 0   my $input_length = length $_[3];
33080 0           $_[1] = {};
33081             # Deserializing field: 'parent'
33082             # my ($class, $value, $index, $input) = @_;
33083 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{parent}, $_[2], $_[3] );
33084             }
33085             # @_: ($class, $value, $index, $output) = @_;
33086             sub serialize_domain_checkpoint_get_parent_ret {
33087 0 0   0 0   croak "Missing required input 'struct' value"
33088             unless defined $_[1];
33089              
33090             # Serializing field: 'parent'
33091             croak "Missing required input value 'parent'"
33092 0 0         unless exists $_[1]->{parent};
33093             # my ($class, $value, $index, $output) = @_;
33094 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{parent}, $_[2], $_[3] );
33095             }
33096             # @_: ($class, $value, $index, $input) = @_;
33097             sub deserialize_domain_checkpoint_delete_args {
33098 0     0 0   my $input_length = length $_[3];
33099 0           $_[1] = {};
33100             # Deserializing field: 'checkpoint'
33101             # my ($class, $value, $index, $input) = @_;
33102 0           $_[0]->deserialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
33103              
33104             # Deserializing field: 'flags'
33105             # my ($class, $value, $index, $input) = @_;
33106 0 0         die "Input buffer too short"
33107             if ($input_length - $_[2]) < 4;
33108 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33109 0           $_[2] += 4;
33110             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33111 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33112             }
33113             # @_: ($class, $value, $index, $output) = @_;
33114             sub serialize_domain_checkpoint_delete_args {
33115 0 0   0 0   croak "Missing required input 'struct' value"
33116             unless defined $_[1];
33117              
33118             # Serializing field: 'checkpoint'
33119             croak "Missing required input value 'checkpoint'"
33120 0 0         unless exists $_[1]->{checkpoint};
33121             # my ($class, $value, $index, $output) = @_;
33122 0           $_[0]->serialize_nonnull_domain_checkpoint( $_[1]->{checkpoint}, $_[2], $_[3] );
33123              
33124             # Serializing field: 'flags'
33125             croak "Missing required input value 'flags'"
33126 0 0         unless exists $_[1]->{flags};
33127             # my ($class, $value, $index, $output) = @_;
33128             croak "Missing required input 'unsigned int' value"
33129 0 0         unless defined $_[1]->{flags};
33130             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33131 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33132             die "Non-integer 'int' value given: $_[1]->{flags}"
33133 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33134 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33135 0           $_[2] += 4;
33136             }
33137             # @_: ($class, $value, $index, $input) = @_;
33138             sub deserialize_domain_get_guest_info_args {
33139 0     0 0   my $input_length = length $_[3];
33140 0           $_[1] = {};
33141             # Deserializing field: 'dom'
33142             # my ($class, $value, $index, $input) = @_;
33143 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33144              
33145             # Deserializing field: 'types'
33146             # my ($class, $value, $index, $input) = @_;
33147 0 0         die "Input buffer too short"
33148             if ($input_length - $_[2]) < 4;
33149 0           $_[1]->{types} = unpack("L>", substr( $_[3], $_[2] ));
33150 0           $_[2] += 4;
33151             die "Out of bounds 'unsigned int': $_[1]->{types}"
33152 0 0 0       unless (0 <= $_[1]->{types} and $_[1]->{types} <= 4294967295);
33153              
33154             # Deserializing field: 'flags'
33155             # my ($class, $value, $index, $input) = @_;
33156 0 0         die "Input buffer too short"
33157             if ($input_length - $_[2]) < 4;
33158 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33159 0           $_[2] += 4;
33160             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33161 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33162             }
33163             # @_: ($class, $value, $index, $output) = @_;
33164             sub serialize_domain_get_guest_info_args {
33165 0 0   0 0   croak "Missing required input 'struct' value"
33166             unless defined $_[1];
33167              
33168             # Serializing field: 'dom'
33169             croak "Missing required input value 'dom'"
33170 0 0         unless exists $_[1]->{dom};
33171             # my ($class, $value, $index, $output) = @_;
33172 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33173              
33174             # Serializing field: 'types'
33175             croak "Missing required input value 'types'"
33176 0 0         unless exists $_[1]->{types};
33177             # my ($class, $value, $index, $output) = @_;
33178             croak "Missing required input 'unsigned int' value"
33179 0 0         unless defined $_[1]->{types};
33180             die "Out of bounds 'unsigned int': $_[1]->{types}"
33181 0 0 0       unless (0 <= $_[1]->{types} and $_[1]->{types} <= 4294967295);
33182             die "Non-integer 'int' value given: $_[1]->{types}"
33183 0 0         unless int($_[1]->{types}) == $_[1]->{types};
33184 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{types});
33185 0           $_[2] += 4;
33186              
33187             # Serializing field: 'flags'
33188             croak "Missing required input value 'flags'"
33189 0 0         unless exists $_[1]->{flags};
33190             # my ($class, $value, $index, $output) = @_;
33191             croak "Missing required input 'unsigned int' value"
33192 0 0         unless defined $_[1]->{flags};
33193             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33194 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33195             die "Non-integer 'int' value given: $_[1]->{flags}"
33196 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33197 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33198 0           $_[2] += 4;
33199             }
33200             # @_: ($class, $value, $index, $input) = @_;
33201             sub deserialize_domain_get_guest_info_ret {
33202 0     0 0   my $input_length = length $_[3];
33203 0           $_[1] = {};
33204             # Deserializing field: 'params'
33205             # my ($class, $value, $index, $input) = @_;
33206 0           do {
33207 0 0         die "Input buffer too short"
33208             if ($input_length - $_[2]) < 4;
33209 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
33210 0           $_[2] += 4;
33211              
33212 0 0         die "Array too long (max: 2048): $len"
33213             unless ($len <= 2048);
33214 0           $_[1]->{params} = [];
33215 0           for my $i1 ( 0 .. ($len - 1) ) {
33216             # my ($class, $value, $index, $input) = @_;
33217 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
33218             }
33219             };
33220             }
33221             # @_: ($class, $value, $index, $output) = @_;
33222             sub serialize_domain_get_guest_info_ret {
33223 0 0   0 0   croak "Missing required input 'struct' value"
33224             unless defined $_[1];
33225              
33226             # Serializing field: 'params'
33227             croak "Missing required input value 'params'"
33228 0 0         unless exists $_[1]->{params};
33229             # my ($class, $value, $index, $output) = @_;
33230             croak "Missing required input 'array' value"
33231 0 0         unless defined $_[1]->{params};
33232 0           do {
33233 0           my $len = scalar @{ $_[1]->{params} };
  0            
33234 0 0         die "Array too long (max: 2048): $len"
33235             unless ($len <= 2048);
33236              
33237 0           substr( $_[3], $_[2] ) = pack("L>", $len);
33238 0           $_[2] += 4;
33239 0           for my $i1 ( 0 .. ($len - 1) ) {
33240             # my ($class, $value, $index, $output) = @_;
33241 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
33242             }
33243             };
33244             }
33245             # @_: ($class, $value, $index, $input) = @_;
33246             sub deserialize_connect_set_identity_args {
33247 0     0 0   my $input_length = length $_[3];
33248 0           $_[1] = {};
33249             # Deserializing field: 'params'
33250             # my ($class, $value, $index, $input) = @_;
33251 0           do {
33252 0 0         die "Input buffer too short"
33253             if ($input_length - $_[2]) < 4;
33254 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
33255 0           $_[2] += 4;
33256              
33257 0 0         die "Array too long (max: 20): $len"
33258             unless ($len <= 20);
33259 0           $_[1]->{params} = [];
33260 0           for my $i1 ( 0 .. ($len - 1) ) {
33261             # my ($class, $value, $index, $input) = @_;
33262 0           $_[0]->deserialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
33263             }
33264             };
33265              
33266             # Deserializing field: 'flags'
33267             # my ($class, $value, $index, $input) = @_;
33268 0 0         die "Input buffer too short"
33269             if ($input_length - $_[2]) < 4;
33270 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33271 0           $_[2] += 4;
33272             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33273 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33274             }
33275             # @_: ($class, $value, $index, $output) = @_;
33276             sub serialize_connect_set_identity_args {
33277 0 0   0 0   croak "Missing required input 'struct' value"
33278             unless defined $_[1];
33279              
33280             # Serializing field: 'params'
33281             croak "Missing required input value 'params'"
33282 0 0         unless exists $_[1]->{params};
33283             # my ($class, $value, $index, $output) = @_;
33284             croak "Missing required input 'array' value"
33285 0 0         unless defined $_[1]->{params};
33286 0           do {
33287 0           my $len = scalar @{ $_[1]->{params} };
  0            
33288 0 0         die "Array too long (max: 20): $len"
33289             unless ($len <= 20);
33290              
33291 0           substr( $_[3], $_[2] ) = pack("L>", $len);
33292 0           $_[2] += 4;
33293 0           for my $i1 ( 0 .. ($len - 1) ) {
33294             # my ($class, $value, $index, $output) = @_;
33295 0           $_[0]->serialize_typed_param( $_[1]->{params}->[$i1], $_[2], $_[3] );
33296             }
33297             };
33298              
33299             # Serializing field: 'flags'
33300             croak "Missing required input value 'flags'"
33301 0 0         unless exists $_[1]->{flags};
33302             # my ($class, $value, $index, $output) = @_;
33303             croak "Missing required input 'unsigned int' value"
33304 0 0         unless defined $_[1]->{flags};
33305             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33306 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33307             die "Non-integer 'int' value given: $_[1]->{flags}"
33308 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33309 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33310 0           $_[2] += 4;
33311             }
33312             # @_: ($class, $value, $index, $input) = @_;
33313             sub deserialize_domain_agent_set_response_timeout_args {
33314 0     0 0   my $input_length = length $_[3];
33315 0           $_[1] = {};
33316             # Deserializing field: 'dom'
33317             # my ($class, $value, $index, $input) = @_;
33318 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33319              
33320             # Deserializing field: 'timeout'
33321             # my ($class, $value, $index, $input) = @_;
33322 0 0         die "Input buffer too short"
33323             if ($input_length - $_[2]) < 4;
33324 0           $_[1]->{timeout} = unpack("l>", substr( $_[3], $_[2] ));
33325 0           $_[2] += 4;
33326             die "Out of bounds 'int': $_[1]->{timeout}"
33327 0 0 0       unless (-2147483648 <= $_[1]->{timeout} and $_[1]->{timeout} < 2147483648);
33328              
33329             # Deserializing field: 'flags'
33330             # my ($class, $value, $index, $input) = @_;
33331 0 0         die "Input buffer too short"
33332             if ($input_length - $_[2]) < 4;
33333 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33334 0           $_[2] += 4;
33335             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33336 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33337             }
33338             # @_: ($class, $value, $index, $output) = @_;
33339             sub serialize_domain_agent_set_response_timeout_args {
33340 0 0   0 0   croak "Missing required input 'struct' value"
33341             unless defined $_[1];
33342              
33343             # Serializing field: 'dom'
33344             croak "Missing required input value 'dom'"
33345 0 0         unless exists $_[1]->{dom};
33346             # my ($class, $value, $index, $output) = @_;
33347 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33348              
33349             # Serializing field: 'timeout'
33350             croak "Missing required input value 'timeout'"
33351 0 0         unless exists $_[1]->{timeout};
33352             # my ($class, $value, $index, $output) = @_;
33353             croak "Missing required input 'int' value"
33354 0 0         unless defined $_[1]->{timeout};
33355             die "Out of bounds 'int': $_[1]->{timeout}"
33356 0 0 0       unless (-2147483648 <= $_[1]->{timeout} and $_[1]->{timeout} < 2147483648);
33357             die "Non-integer 'int' value given: $_[1]->{timeout}"
33358 0 0         unless int($_[1]->{timeout}) == $_[1]->{timeout};
33359 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{timeout});
33360 0           $_[2] += 4;
33361              
33362             # Serializing field: 'flags'
33363             croak "Missing required input value 'flags'"
33364 0 0         unless exists $_[1]->{flags};
33365             # my ($class, $value, $index, $output) = @_;
33366             croak "Missing required input 'unsigned int' value"
33367 0 0         unless defined $_[1]->{flags};
33368             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33369 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33370             die "Non-integer 'int' value given: $_[1]->{flags}"
33371 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33372 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33373 0           $_[2] += 4;
33374             }
33375             # @_: ($class, $value, $index, $input) = @_;
33376             sub deserialize_domain_agent_set_response_timeout_ret {
33377 0     0 0   my $input_length = length $_[3];
33378 0           $_[1] = {};
33379             # Deserializing field: 'result'
33380             # my ($class, $value, $index, $input) = @_;
33381 0 0         die "Input buffer too short"
33382             if ($input_length - $_[2]) < 4;
33383 0           $_[1]->{result} = unpack("l>", substr( $_[3], $_[2] ));
33384 0           $_[2] += 4;
33385             die "Out of bounds 'int': $_[1]->{result}"
33386 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
33387             }
33388             # @_: ($class, $value, $index, $output) = @_;
33389             sub serialize_domain_agent_set_response_timeout_ret {
33390 0 0   0 0   croak "Missing required input 'struct' value"
33391             unless defined $_[1];
33392              
33393             # Serializing field: 'result'
33394             croak "Missing required input value 'result'"
33395 0 0         unless exists $_[1]->{result};
33396             # my ($class, $value, $index, $output) = @_;
33397             croak "Missing required input 'int' value"
33398 0 0         unless defined $_[1]->{result};
33399             die "Out of bounds 'int': $_[1]->{result}"
33400 0 0 0       unless (-2147483648 <= $_[1]->{result} and $_[1]->{result} < 2147483648);
33401             die "Non-integer 'int' value given: $_[1]->{result}"
33402 0 0         unless int($_[1]->{result}) == $_[1]->{result};
33403 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{result});
33404 0           $_[2] += 4;
33405             }
33406             # @_: ($class, $value, $index, $input) = @_;
33407             sub deserialize_domain_backup_begin_args {
33408 0     0 0   my $input_length = length $_[3];
33409 0           $_[1] = {};
33410             # Deserializing field: 'dom'
33411             # my ($class, $value, $index, $input) = @_;
33412 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33413              
33414             # Deserializing field: 'backup_xml'
33415             # my ($class, $value, $index, $input) = @_;
33416 0           $_[0]->deserialize_nonnull_string( $_[1]->{backup_xml}, $_[2], $_[3] );
33417              
33418             # Deserializing field: 'checkpoint_xml'
33419             # my ($class, $value, $index, $input) = @_;
33420 0           $_[0]->deserialize_string( $_[1]->{checkpoint_xml}, $_[2], $_[3] );
33421              
33422             # Deserializing field: 'flags'
33423             # my ($class, $value, $index, $input) = @_;
33424 0 0         die "Input buffer too short"
33425             if ($input_length - $_[2]) < 4;
33426 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33427 0           $_[2] += 4;
33428             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33429 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33430             }
33431             # @_: ($class, $value, $index, $output) = @_;
33432             sub serialize_domain_backup_begin_args {
33433 0 0   0 0   croak "Missing required input 'struct' value"
33434             unless defined $_[1];
33435              
33436             # Serializing field: 'dom'
33437             croak "Missing required input value 'dom'"
33438 0 0         unless exists $_[1]->{dom};
33439             # my ($class, $value, $index, $output) = @_;
33440 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33441              
33442             # Serializing field: 'backup_xml'
33443             croak "Missing required input value 'backup_xml'"
33444 0 0         unless exists $_[1]->{backup_xml};
33445             # my ($class, $value, $index, $output) = @_;
33446 0           $_[0]->serialize_nonnull_string( $_[1]->{backup_xml}, $_[2], $_[3] );
33447              
33448             # Serializing field: 'checkpoint_xml'
33449             croak "Missing required input value 'checkpoint_xml'"
33450 0 0         unless exists $_[1]->{checkpoint_xml};
33451             # my ($class, $value, $index, $output) = @_;
33452 0           $_[0]->serialize_string( $_[1]->{checkpoint_xml}, $_[2], $_[3] );
33453              
33454             # Serializing field: 'flags'
33455             croak "Missing required input value 'flags'"
33456 0 0         unless exists $_[1]->{flags};
33457             # my ($class, $value, $index, $output) = @_;
33458             croak "Missing required input 'unsigned int' value"
33459 0 0         unless defined $_[1]->{flags};
33460             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33461 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33462             die "Non-integer 'int' value given: $_[1]->{flags}"
33463 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33464 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33465 0           $_[2] += 4;
33466             }
33467             # @_: ($class, $value, $index, $input) = @_;
33468             sub deserialize_domain_backup_get_xml_desc_args {
33469 0     0 0   my $input_length = length $_[3];
33470 0           $_[1] = {};
33471             # Deserializing field: 'dom'
33472             # my ($class, $value, $index, $input) = @_;
33473 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33474              
33475             # Deserializing field: 'flags'
33476             # my ($class, $value, $index, $input) = @_;
33477 0 0         die "Input buffer too short"
33478             if ($input_length - $_[2]) < 4;
33479 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33480 0           $_[2] += 4;
33481             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33482 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33483             }
33484             # @_: ($class, $value, $index, $output) = @_;
33485             sub serialize_domain_backup_get_xml_desc_args {
33486 0 0   0 0   croak "Missing required input 'struct' value"
33487             unless defined $_[1];
33488              
33489             # Serializing field: 'dom'
33490             croak "Missing required input value 'dom'"
33491 0 0         unless exists $_[1]->{dom};
33492             # my ($class, $value, $index, $output) = @_;
33493 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33494              
33495             # Serializing field: 'flags'
33496             croak "Missing required input value 'flags'"
33497 0 0         unless exists $_[1]->{flags};
33498             # my ($class, $value, $index, $output) = @_;
33499             croak "Missing required input 'unsigned int' value"
33500 0 0         unless defined $_[1]->{flags};
33501             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33502 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33503             die "Non-integer 'int' value given: $_[1]->{flags}"
33504 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33505 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33506 0           $_[2] += 4;
33507             }
33508             # @_: ($class, $value, $index, $input) = @_;
33509             sub deserialize_domain_backup_get_xml_desc_ret {
33510 0     0 0   my $input_length = length $_[3];
33511 0           $_[1] = {};
33512             # Deserializing field: 'xml'
33513             # my ($class, $value, $index, $input) = @_;
33514 0           $_[0]->deserialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
33515             }
33516             # @_: ($class, $value, $index, $output) = @_;
33517             sub serialize_domain_backup_get_xml_desc_ret {
33518 0 0   0 0   croak "Missing required input 'struct' value"
33519             unless defined $_[1];
33520              
33521             # Serializing field: 'xml'
33522             croak "Missing required input value 'xml'"
33523 0 0         unless exists $_[1]->{xml};
33524             # my ($class, $value, $index, $output) = @_;
33525 0           $_[0]->serialize_nonnull_string( $_[1]->{xml}, $_[2], $_[3] );
33526             }
33527             # @_: ($class, $value, $index, $input) = @_;
33528             sub deserialize_domain_authorized_ssh_keys_get_args {
33529 0     0 0   my $input_length = length $_[3];
33530 0           $_[1] = {};
33531             # Deserializing field: 'dom'
33532             # my ($class, $value, $index, $input) = @_;
33533 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33534              
33535             # Deserializing field: 'user'
33536             # my ($class, $value, $index, $input) = @_;
33537 0           $_[0]->deserialize_nonnull_string( $_[1]->{user}, $_[2], $_[3] );
33538              
33539             # Deserializing field: 'flags'
33540             # my ($class, $value, $index, $input) = @_;
33541 0 0         die "Input buffer too short"
33542             if ($input_length - $_[2]) < 4;
33543 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33544 0           $_[2] += 4;
33545             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33546 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33547             }
33548             # @_: ($class, $value, $index, $output) = @_;
33549             sub serialize_domain_authorized_ssh_keys_get_args {
33550 0 0   0 0   croak "Missing required input 'struct' value"
33551             unless defined $_[1];
33552              
33553             # Serializing field: 'dom'
33554             croak "Missing required input value 'dom'"
33555 0 0         unless exists $_[1]->{dom};
33556             # my ($class, $value, $index, $output) = @_;
33557 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33558              
33559             # Serializing field: 'user'
33560             croak "Missing required input value 'user'"
33561 0 0         unless exists $_[1]->{user};
33562             # my ($class, $value, $index, $output) = @_;
33563 0           $_[0]->serialize_nonnull_string( $_[1]->{user}, $_[2], $_[3] );
33564              
33565             # Serializing field: 'flags'
33566             croak "Missing required input value 'flags'"
33567 0 0         unless exists $_[1]->{flags};
33568             # my ($class, $value, $index, $output) = @_;
33569             croak "Missing required input 'unsigned int' value"
33570 0 0         unless defined $_[1]->{flags};
33571             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33572 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33573             die "Non-integer 'int' value given: $_[1]->{flags}"
33574 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33575 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33576 0           $_[2] += 4;
33577             }
33578             # @_: ($class, $value, $index, $input) = @_;
33579             sub deserialize_domain_authorized_ssh_keys_get_ret {
33580 0     0 0   my $input_length = length $_[3];
33581 0           $_[1] = {};
33582             # Deserializing field: 'keys'
33583             # my ($class, $value, $index, $input) = @_;
33584 0           do {
33585 0 0         die "Input buffer too short"
33586             if ($input_length - $_[2]) < 4;
33587 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
33588 0           $_[2] += 4;
33589              
33590 0 0         die "Array too long (max: 2048): $len"
33591             unless ($len <= 2048);
33592 0           $_[1]->{keys} = [];
33593 0           for my $i1 ( 0 .. ($len - 1) ) {
33594             # my ($class, $value, $index, $input) = @_;
33595 0           $_[0]->deserialize_nonnull_string( $_[1]->{keys}->[$i1], $_[2], $_[3] );
33596             }
33597             };
33598             }
33599             # @_: ($class, $value, $index, $output) = @_;
33600             sub serialize_domain_authorized_ssh_keys_get_ret {
33601 0 0   0 0   croak "Missing required input 'struct' value"
33602             unless defined $_[1];
33603              
33604             # Serializing field: 'keys'
33605             croak "Missing required input value 'keys'"
33606 0 0         unless exists $_[1]->{keys};
33607             # my ($class, $value, $index, $output) = @_;
33608             croak "Missing required input 'array' value"
33609 0 0         unless defined $_[1]->{keys};
33610 0           do {
33611 0           my $len = scalar @{ $_[1]->{keys} };
  0            
33612 0 0         die "Array too long (max: 2048): $len"
33613             unless ($len <= 2048);
33614              
33615 0           substr( $_[3], $_[2] ) = pack("L>", $len);
33616 0           $_[2] += 4;
33617 0           for my $i1 ( 0 .. ($len - 1) ) {
33618             # my ($class, $value, $index, $output) = @_;
33619 0           $_[0]->serialize_nonnull_string( $_[1]->{keys}->[$i1], $_[2], $_[3] );
33620             }
33621             };
33622             }
33623             # @_: ($class, $value, $index, $input) = @_;
33624             sub deserialize_domain_authorized_ssh_keys_set_args {
33625 0     0 0   my $input_length = length $_[3];
33626 0           $_[1] = {};
33627             # Deserializing field: 'dom'
33628             # my ($class, $value, $index, $input) = @_;
33629 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33630              
33631             # Deserializing field: 'user'
33632             # my ($class, $value, $index, $input) = @_;
33633 0           $_[0]->deserialize_nonnull_string( $_[1]->{user}, $_[2], $_[3] );
33634              
33635             # Deserializing field: 'keys'
33636             # my ($class, $value, $index, $input) = @_;
33637 0           do {
33638 0 0         die "Input buffer too short"
33639             if ($input_length - $_[2]) < 4;
33640 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
33641 0           $_[2] += 4;
33642              
33643 0 0         die "Array too long (max: 2048): $len"
33644             unless ($len <= 2048);
33645 0           $_[1]->{keys} = [];
33646 0           for my $i1 ( 0 .. ($len - 1) ) {
33647             # my ($class, $value, $index, $input) = @_;
33648 0           $_[0]->deserialize_nonnull_string( $_[1]->{keys}->[$i1], $_[2], $_[3] );
33649             }
33650             };
33651              
33652             # Deserializing field: 'flags'
33653             # my ($class, $value, $index, $input) = @_;
33654 0 0         die "Input buffer too short"
33655             if ($input_length - $_[2]) < 4;
33656 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33657 0           $_[2] += 4;
33658             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33659 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33660             }
33661             # @_: ($class, $value, $index, $output) = @_;
33662             sub serialize_domain_authorized_ssh_keys_set_args {
33663 0 0   0 0   croak "Missing required input 'struct' value"
33664             unless defined $_[1];
33665              
33666             # Serializing field: 'dom'
33667             croak "Missing required input value 'dom'"
33668 0 0         unless exists $_[1]->{dom};
33669             # my ($class, $value, $index, $output) = @_;
33670 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33671              
33672             # Serializing field: 'user'
33673             croak "Missing required input value 'user'"
33674 0 0         unless exists $_[1]->{user};
33675             # my ($class, $value, $index, $output) = @_;
33676 0           $_[0]->serialize_nonnull_string( $_[1]->{user}, $_[2], $_[3] );
33677              
33678             # Serializing field: 'keys'
33679             croak "Missing required input value 'keys'"
33680 0 0         unless exists $_[1]->{keys};
33681             # my ($class, $value, $index, $output) = @_;
33682             croak "Missing required input 'array' value"
33683 0 0         unless defined $_[1]->{keys};
33684 0           do {
33685 0           my $len = scalar @{ $_[1]->{keys} };
  0            
33686 0 0         die "Array too long (max: 2048): $len"
33687             unless ($len <= 2048);
33688              
33689 0           substr( $_[3], $_[2] ) = pack("L>", $len);
33690 0           $_[2] += 4;
33691 0           for my $i1 ( 0 .. ($len - 1) ) {
33692             # my ($class, $value, $index, $output) = @_;
33693 0           $_[0]->serialize_nonnull_string( $_[1]->{keys}->[$i1], $_[2], $_[3] );
33694             }
33695             };
33696              
33697             # Serializing field: 'flags'
33698             croak "Missing required input value 'flags'"
33699 0 0         unless exists $_[1]->{flags};
33700             # my ($class, $value, $index, $output) = @_;
33701             croak "Missing required input 'unsigned int' value"
33702 0 0         unless defined $_[1]->{flags};
33703             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33704 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33705             die "Non-integer 'int' value given: $_[1]->{flags}"
33706 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33707 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33708 0           $_[2] += 4;
33709             }
33710             # @_: ($class, $value, $index, $input) = @_;
33711             sub deserialize_domain_get_messages_args {
33712 0     0 0   my $input_length = length $_[3];
33713 0           $_[1] = {};
33714             # Deserializing field: 'dom'
33715             # my ($class, $value, $index, $input) = @_;
33716 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33717              
33718             # Deserializing field: 'flags'
33719             # my ($class, $value, $index, $input) = @_;
33720 0 0         die "Input buffer too short"
33721             if ($input_length - $_[2]) < 4;
33722 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33723 0           $_[2] += 4;
33724             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33725 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33726             }
33727             # @_: ($class, $value, $index, $output) = @_;
33728             sub serialize_domain_get_messages_args {
33729 0 0   0 0   croak "Missing required input 'struct' value"
33730             unless defined $_[1];
33731              
33732             # Serializing field: 'dom'
33733             croak "Missing required input value 'dom'"
33734 0 0         unless exists $_[1]->{dom};
33735             # my ($class, $value, $index, $output) = @_;
33736 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33737              
33738             # Serializing field: 'flags'
33739             croak "Missing required input value 'flags'"
33740 0 0         unless exists $_[1]->{flags};
33741             # my ($class, $value, $index, $output) = @_;
33742             croak "Missing required input 'unsigned int' value"
33743 0 0         unless defined $_[1]->{flags};
33744             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33745 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33746             die "Non-integer 'int' value given: $_[1]->{flags}"
33747 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33748 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33749 0           $_[2] += 4;
33750             }
33751             # @_: ($class, $value, $index, $input) = @_;
33752             sub deserialize_domain_get_messages_ret {
33753 0     0 0   my $input_length = length $_[3];
33754 0           $_[1] = {};
33755             # Deserializing field: 'msgs'
33756             # my ($class, $value, $index, $input) = @_;
33757 0           do {
33758 0 0         die "Input buffer too short"
33759             if ($input_length - $_[2]) < 4;
33760 0           my $len = unpack("L>", substr( $_[3], $_[2] ));
33761 0           $_[2] += 4;
33762              
33763 0 0         die "Array too long (max: 2048): $len"
33764             unless ($len <= 2048);
33765 0           $_[1]->{msgs} = [];
33766 0           for my $i1 ( 0 .. ($len - 1) ) {
33767             # my ($class, $value, $index, $input) = @_;
33768 0           $_[0]->deserialize_nonnull_string( $_[1]->{msgs}->[$i1], $_[2], $_[3] );
33769             }
33770             };
33771             }
33772             # @_: ($class, $value, $index, $output) = @_;
33773             sub serialize_domain_get_messages_ret {
33774 0 0   0 0   croak "Missing required input 'struct' value"
33775             unless defined $_[1];
33776              
33777             # Serializing field: 'msgs'
33778             croak "Missing required input value 'msgs'"
33779 0 0         unless exists $_[1]->{msgs};
33780             # my ($class, $value, $index, $output) = @_;
33781             croak "Missing required input 'array' value"
33782 0 0         unless defined $_[1]->{msgs};
33783 0           do {
33784 0           my $len = scalar @{ $_[1]->{msgs} };
  0            
33785 0 0         die "Array too long (max: 2048): $len"
33786             unless ($len <= 2048);
33787              
33788 0           substr( $_[3], $_[2] ) = pack("L>", $len);
33789 0           $_[2] += 4;
33790 0           for my $i1 ( 0 .. ($len - 1) ) {
33791             # my ($class, $value, $index, $output) = @_;
33792 0           $_[0]->serialize_nonnull_string( $_[1]->{msgs}->[$i1], $_[2], $_[3] );
33793             }
33794             };
33795             }
33796             # @_: ($class, $value, $index, $input) = @_;
33797             sub deserialize_domain_start_dirty_rate_calc_args {
33798 0     0 0   my $input_length = length $_[3];
33799 0           $_[1] = {};
33800             # Deserializing field: 'dom'
33801             # my ($class, $value, $index, $input) = @_;
33802 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33803              
33804             # Deserializing field: 'seconds'
33805             # my ($class, $value, $index, $input) = @_;
33806 0 0         die "Input buffer too short"
33807             if ($input_length - $_[2]) < 4;
33808 0           $_[1]->{seconds} = unpack("l>", substr( $_[3], $_[2] ));
33809 0           $_[2] += 4;
33810             die "Out of bounds 'int': $_[1]->{seconds}"
33811 0 0 0       unless (-2147483648 <= $_[1]->{seconds} and $_[1]->{seconds} < 2147483648);
33812              
33813             # Deserializing field: 'flags'
33814             # my ($class, $value, $index, $input) = @_;
33815 0 0         die "Input buffer too short"
33816             if ($input_length - $_[2]) < 4;
33817 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33818 0           $_[2] += 4;
33819             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33820 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33821             }
33822             # @_: ($class, $value, $index, $output) = @_;
33823             sub serialize_domain_start_dirty_rate_calc_args {
33824 0 0   0 0   croak "Missing required input 'struct' value"
33825             unless defined $_[1];
33826              
33827             # Serializing field: 'dom'
33828             croak "Missing required input value 'dom'"
33829 0 0         unless exists $_[1]->{dom};
33830             # my ($class, $value, $index, $output) = @_;
33831 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33832              
33833             # Serializing field: 'seconds'
33834             croak "Missing required input value 'seconds'"
33835 0 0         unless exists $_[1]->{seconds};
33836             # my ($class, $value, $index, $output) = @_;
33837             croak "Missing required input 'int' value"
33838 0 0         unless defined $_[1]->{seconds};
33839             die "Out of bounds 'int': $_[1]->{seconds}"
33840 0 0 0       unless (-2147483648 <= $_[1]->{seconds} and $_[1]->{seconds} < 2147483648);
33841             die "Non-integer 'int' value given: $_[1]->{seconds}"
33842 0 0         unless int($_[1]->{seconds}) == $_[1]->{seconds};
33843 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{seconds});
33844 0           $_[2] += 4;
33845              
33846             # Serializing field: 'flags'
33847             croak "Missing required input value 'flags'"
33848 0 0         unless exists $_[1]->{flags};
33849             # my ($class, $value, $index, $output) = @_;
33850             croak "Missing required input 'unsigned int' value"
33851 0 0         unless defined $_[1]->{flags};
33852             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33853 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33854             die "Non-integer 'int' value given: $_[1]->{flags}"
33855 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33856 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33857 0           $_[2] += 4;
33858             }
33859             # @_: ($class, $value, $index, $input) = @_;
33860             sub deserialize_domain_graphics_reload_args {
33861 0     0 0   my $input_length = length $_[3];
33862 0           $_[1] = {};
33863             # Deserializing field: 'dom'
33864             # my ($class, $value, $index, $input) = @_;
33865 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33866              
33867             # Deserializing field: 'type'
33868             # my ($class, $value, $index, $input) = @_;
33869 0 0         die "Input buffer too short"
33870             if ($input_length - $_[2]) < 4;
33871 0           $_[1]->{type} = unpack("L>", substr( $_[3], $_[2] ));
33872 0           $_[2] += 4;
33873             die "Out of bounds 'unsigned int': $_[1]->{type}"
33874 0 0 0       unless (0 <= $_[1]->{type} and $_[1]->{type} <= 4294967295);
33875              
33876             # Deserializing field: 'flags'
33877             # my ($class, $value, $index, $input) = @_;
33878 0 0         die "Input buffer too short"
33879             if ($input_length - $_[2]) < 4;
33880 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
33881 0           $_[2] += 4;
33882             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33883 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33884             }
33885             # @_: ($class, $value, $index, $output) = @_;
33886             sub serialize_domain_graphics_reload_args {
33887 0 0   0 0   croak "Missing required input 'struct' value"
33888             unless defined $_[1];
33889              
33890             # Serializing field: 'dom'
33891             croak "Missing required input value 'dom'"
33892 0 0         unless exists $_[1]->{dom};
33893             # my ($class, $value, $index, $output) = @_;
33894 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33895              
33896             # Serializing field: 'type'
33897             croak "Missing required input value 'type'"
33898 0 0         unless exists $_[1]->{type};
33899             # my ($class, $value, $index, $output) = @_;
33900             croak "Missing required input 'unsigned int' value"
33901 0 0         unless defined $_[1]->{type};
33902             die "Out of bounds 'unsigned int': $_[1]->{type}"
33903 0 0 0       unless (0 <= $_[1]->{type} and $_[1]->{type} <= 4294967295);
33904             die "Non-integer 'int' value given: $_[1]->{type}"
33905 0 0         unless int($_[1]->{type}) == $_[1]->{type};
33906 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{type});
33907 0           $_[2] += 4;
33908              
33909             # Serializing field: 'flags'
33910             croak "Missing required input value 'flags'"
33911 0 0         unless exists $_[1]->{flags};
33912             # my ($class, $value, $index, $output) = @_;
33913             croak "Missing required input 'unsigned int' value"
33914 0 0         unless defined $_[1]->{flags};
33915             die "Out of bounds 'unsigned int': $_[1]->{flags}"
33916 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
33917             die "Non-integer 'int' value given: $_[1]->{flags}"
33918 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
33919 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
33920 0           $_[2] += 4;
33921             }
33922             # @_: ($class, $value, $index, $input) = @_;
33923             sub deserialize_domain_event_memory_device_size_change_msg {
33924 0     0 0   my $input_length = length $_[3];
33925 0           $_[1] = {};
33926             # Deserializing field: 'callbackID'
33927             # my ($class, $value, $index, $input) = @_;
33928 0 0         die "Input buffer too short"
33929             if ($input_length - $_[2]) < 4;
33930 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
33931 0           $_[2] += 4;
33932             die "Out of bounds 'int': $_[1]->{callbackID}"
33933 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
33934              
33935             # Deserializing field: 'dom'
33936             # my ($class, $value, $index, $input) = @_;
33937 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33938              
33939             # Deserializing field: 'alias'
33940             # my ($class, $value, $index, $input) = @_;
33941 0           $_[0]->deserialize_nonnull_string( $_[1]->{alias}, $_[2], $_[3] );
33942              
33943             # Deserializing field: 'size'
33944             # my ($class, $value, $index, $input) = @_;
33945 0 0         die "Input buffer too short"
33946             if ($input_length - $_[2]) < 8;
33947 0           $_[1]->{size} = unpack("Q>", substr( $_[3], $_[2] ));
33948 0           $_[2] += 8;
33949             die "Out of bounds 'unsigned hyper': $_[1]->{size}"
33950             unless (0 <= $_[1]->{size}
33951 0 0 0       and $_[1]->{size} <= 18446744073709551615);
33952             }
33953             # @_: ($class, $value, $index, $output) = @_;
33954             sub serialize_domain_event_memory_device_size_change_msg {
33955 0 0   0 0   croak "Missing required input 'struct' value"
33956             unless defined $_[1];
33957              
33958             # Serializing field: 'callbackID'
33959             croak "Missing required input value 'callbackID'"
33960 0 0         unless exists $_[1]->{callbackID};
33961             # my ($class, $value, $index, $output) = @_;
33962             croak "Missing required input 'int' value"
33963 0 0         unless defined $_[1]->{callbackID};
33964             die "Out of bounds 'int': $_[1]->{callbackID}"
33965 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
33966             die "Non-integer 'int' value given: $_[1]->{callbackID}"
33967 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
33968 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
33969 0           $_[2] += 4;
33970              
33971             # Serializing field: 'dom'
33972             croak "Missing required input value 'dom'"
33973 0 0         unless exists $_[1]->{dom};
33974             # my ($class, $value, $index, $output) = @_;
33975 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
33976              
33977             # Serializing field: 'alias'
33978             croak "Missing required input value 'alias'"
33979 0 0         unless exists $_[1]->{alias};
33980             # my ($class, $value, $index, $output) = @_;
33981 0           $_[0]->serialize_nonnull_string( $_[1]->{alias}, $_[2], $_[3] );
33982              
33983             # Serializing field: 'size'
33984             croak "Missing required input value 'size'"
33985 0 0         unless exists $_[1]->{size};
33986             # my ($class, $value, $index, $output) = @_;
33987             croak "Missing required input 'unsigned long' value"
33988 0 0         unless defined $_[1]->{size};
33989             die "Out of bounds 'unsigned hyper': $_[1]->{size}"
33990             unless (0 <= $_[1]->{size}
33991 0 0 0       and $_[1]->{size} <= 18446744073709551615);
33992             die "Non-integer 'long' value given: $_[1]->{size}"
33993 0 0         unless int($_[1]->{size}) == $_[1]->{size};
33994 0           substr( $_[3], $_[2] ) = pack("Q>", $_[1]->{size});
33995 0           $_[2] += 8;
33996             }
33997             # @_: ($class, $value, $index, $input) = @_;
33998             sub deserialize_domain_fd_associate_args {
33999 0     0 0   my $input_length = length $_[3];
34000 0           $_[1] = {};
34001             # Deserializing field: 'dom'
34002             # my ($class, $value, $index, $input) = @_;
34003 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34004              
34005             # Deserializing field: 'name'
34006             # my ($class, $value, $index, $input) = @_;
34007 0           $_[0]->deserialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
34008              
34009             # Deserializing field: 'flags'
34010             # my ($class, $value, $index, $input) = @_;
34011 0 0         die "Input buffer too short"
34012             if ($input_length - $_[2]) < 4;
34013 0           $_[1]->{flags} = unpack("L>", substr( $_[3], $_[2] ));
34014 0           $_[2] += 4;
34015             die "Out of bounds 'unsigned int': $_[1]->{flags}"
34016 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
34017             }
34018             # @_: ($class, $value, $index, $output) = @_;
34019             sub serialize_domain_fd_associate_args {
34020 0 0   0 0   croak "Missing required input 'struct' value"
34021             unless defined $_[1];
34022              
34023             # Serializing field: 'dom'
34024             croak "Missing required input value 'dom'"
34025 0 0         unless exists $_[1]->{dom};
34026             # my ($class, $value, $index, $output) = @_;
34027 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34028              
34029             # Serializing field: 'name'
34030             croak "Missing required input value 'name'"
34031 0 0         unless exists $_[1]->{name};
34032             # my ($class, $value, $index, $output) = @_;
34033 0           $_[0]->serialize_nonnull_string( $_[1]->{name}, $_[2], $_[3] );
34034              
34035             # Serializing field: 'flags'
34036             croak "Missing required input value 'flags'"
34037 0 0         unless exists $_[1]->{flags};
34038             # my ($class, $value, $index, $output) = @_;
34039             croak "Missing required input 'unsigned int' value"
34040 0 0         unless defined $_[1]->{flags};
34041             die "Out of bounds 'unsigned int': $_[1]->{flags}"
34042 0 0 0       unless (0 <= $_[1]->{flags} and $_[1]->{flags} <= 4294967295);
34043             die "Non-integer 'int' value given: $_[1]->{flags}"
34044 0 0         unless int($_[1]->{flags}) == $_[1]->{flags};
34045 0           substr( $_[3], $_[2] ) = pack("L>", $_[1]->{flags});
34046 0           $_[2] += 4;
34047             }
34048             # @_: ($class, $value, $index, $input) = @_;
34049             sub deserialize_domain_get_autostart_once_args {
34050 0     0 0   my $input_length = length $_[3];
34051 0           $_[1] = {};
34052             # Deserializing field: 'dom'
34053             # my ($class, $value, $index, $input) = @_;
34054 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34055             }
34056             # @_: ($class, $value, $index, $output) = @_;
34057             sub serialize_domain_get_autostart_once_args {
34058 0 0   0 0   croak "Missing required input 'struct' value"
34059             unless defined $_[1];
34060              
34061             # Serializing field: 'dom'
34062             croak "Missing required input value 'dom'"
34063 0 0         unless exists $_[1]->{dom};
34064             # my ($class, $value, $index, $output) = @_;
34065 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34066             }
34067             # @_: ($class, $value, $index, $input) = @_;
34068             sub deserialize_domain_get_autostart_once_ret {
34069 0     0 0   my $input_length = length $_[3];
34070 0           $_[1] = {};
34071             # Deserializing field: 'autostart'
34072             # my ($class, $value, $index, $input) = @_;
34073 0 0         die "Input buffer too short"
34074             if ($input_length - $_[2]) < 4;
34075 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
34076 0           $_[2] += 4;
34077             die "Out of bounds 'int': $_[1]->{autostart}"
34078 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
34079             }
34080             # @_: ($class, $value, $index, $output) = @_;
34081             sub serialize_domain_get_autostart_once_ret {
34082 0 0   0 0   croak "Missing required input 'struct' value"
34083             unless defined $_[1];
34084              
34085             # Serializing field: 'autostart'
34086             croak "Missing required input value 'autostart'"
34087 0 0         unless exists $_[1]->{autostart};
34088             # my ($class, $value, $index, $output) = @_;
34089             croak "Missing required input 'int' value"
34090 0 0         unless defined $_[1]->{autostart};
34091             die "Out of bounds 'int': $_[1]->{autostart}"
34092 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
34093             die "Non-integer 'int' value given: $_[1]->{autostart}"
34094 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
34095 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
34096 0           $_[2] += 4;
34097             }
34098             # @_: ($class, $value, $index, $input) = @_;
34099             sub deserialize_domain_set_autostart_once_args {
34100 0     0 0   my $input_length = length $_[3];
34101 0           $_[1] = {};
34102             # Deserializing field: 'dom'
34103             # my ($class, $value, $index, $input) = @_;
34104 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34105              
34106             # Deserializing field: 'autostart'
34107             # my ($class, $value, $index, $input) = @_;
34108 0 0         die "Input buffer too short"
34109             if ($input_length - $_[2]) < 4;
34110 0           $_[1]->{autostart} = unpack("l>", substr( $_[3], $_[2] ));
34111 0           $_[2] += 4;
34112             die "Out of bounds 'int': $_[1]->{autostart}"
34113 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
34114             }
34115             # @_: ($class, $value, $index, $output) = @_;
34116             sub serialize_domain_set_autostart_once_args {
34117 0 0   0 0   croak "Missing required input 'struct' value"
34118             unless defined $_[1];
34119              
34120             # Serializing field: 'dom'
34121             croak "Missing required input value 'dom'"
34122 0 0         unless exists $_[1]->{dom};
34123             # my ($class, $value, $index, $output) = @_;
34124 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34125              
34126             # Serializing field: 'autostart'
34127             croak "Missing required input value 'autostart'"
34128 0 0         unless exists $_[1]->{autostart};
34129             # my ($class, $value, $index, $output) = @_;
34130             croak "Missing required input 'int' value"
34131 0 0         unless defined $_[1]->{autostart};
34132             die "Out of bounds 'int': $_[1]->{autostart}"
34133 0 0 0       unless (-2147483648 <= $_[1]->{autostart} and $_[1]->{autostart} < 2147483648);
34134             die "Non-integer 'int' value given: $_[1]->{autostart}"
34135 0 0         unless int($_[1]->{autostart}) == $_[1]->{autostart};
34136 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{autostart});
34137 0           $_[2] += 4;
34138             }
34139             # @_: ($class, $value, $index, $input) = @_;
34140             sub deserialize_domain_event_nic_mac_change_msg {
34141 0     0 0   my $input_length = length $_[3];
34142 0           $_[1] = {};
34143             # Deserializing field: 'callbackID'
34144             # my ($class, $value, $index, $input) = @_;
34145 0 0         die "Input buffer too short"
34146             if ($input_length - $_[2]) < 4;
34147 0           $_[1]->{callbackID} = unpack("l>", substr( $_[3], $_[2] ));
34148 0           $_[2] += 4;
34149             die "Out of bounds 'int': $_[1]->{callbackID}"
34150 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
34151              
34152             # Deserializing field: 'dom'
34153             # my ($class, $value, $index, $input) = @_;
34154 0           $_[0]->deserialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34155              
34156             # Deserializing field: 'alias'
34157             # my ($class, $value, $index, $input) = @_;
34158 0           $_[0]->deserialize_nonnull_string( $_[1]->{alias}, $_[2], $_[3] );
34159              
34160             # Deserializing field: 'oldMAC'
34161             # my ($class, $value, $index, $input) = @_;
34162 0           $_[0]->deserialize_nonnull_string( $_[1]->{oldMAC}, $_[2], $_[3] );
34163              
34164             # Deserializing field: 'newMAC'
34165             # my ($class, $value, $index, $input) = @_;
34166 0           $_[0]->deserialize_nonnull_string( $_[1]->{newMAC}, $_[2], $_[3] );
34167             }
34168             # @_: ($class, $value, $index, $output) = @_;
34169             sub serialize_domain_event_nic_mac_change_msg {
34170 0 0   0 0   croak "Missing required input 'struct' value"
34171             unless defined $_[1];
34172              
34173             # Serializing field: 'callbackID'
34174             croak "Missing required input value 'callbackID'"
34175 0 0         unless exists $_[1]->{callbackID};
34176             # my ($class, $value, $index, $output) = @_;
34177             croak "Missing required input 'int' value"
34178 0 0         unless defined $_[1]->{callbackID};
34179             die "Out of bounds 'int': $_[1]->{callbackID}"
34180 0 0 0       unless (-2147483648 <= $_[1]->{callbackID} and $_[1]->{callbackID} < 2147483648);
34181             die "Non-integer 'int' value given: $_[1]->{callbackID}"
34182 0 0         unless int($_[1]->{callbackID}) == $_[1]->{callbackID};
34183 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]->{callbackID});
34184 0           $_[2] += 4;
34185              
34186             # Serializing field: 'dom'
34187             croak "Missing required input value 'dom'"
34188 0 0         unless exists $_[1]->{dom};
34189             # my ($class, $value, $index, $output) = @_;
34190 0           $_[0]->serialize_nonnull_domain( $_[1]->{dom}, $_[2], $_[3] );
34191              
34192             # Serializing field: 'alias'
34193             croak "Missing required input value 'alias'"
34194 0 0         unless exists $_[1]->{alias};
34195             # my ($class, $value, $index, $output) = @_;
34196 0           $_[0]->serialize_nonnull_string( $_[1]->{alias}, $_[2], $_[3] );
34197              
34198             # Serializing field: 'oldMAC'
34199             croak "Missing required input value 'oldMAC'"
34200 0 0         unless exists $_[1]->{oldMAC};
34201             # my ($class, $value, $index, $output) = @_;
34202 0           $_[0]->serialize_nonnull_string( $_[1]->{oldMAC}, $_[2], $_[3] );
34203              
34204             # Serializing field: 'newMAC'
34205             croak "Missing required input value 'newMAC'"
34206 0 0         unless exists $_[1]->{newMAC};
34207             # my ($class, $value, $index, $output) = @_;
34208 0           $_[0]->serialize_nonnull_string( $_[1]->{newMAC}, $_[2], $_[3] );
34209             }
34210 1     1   15 use constant PROGRAM => 536903814; # 0x20008086
  1         1  
  1         75  
34211 1     1   5 use constant PROTOCOL_VERSION => 1; # 1
  1         1  
  1         616  
34212             # Define elements from enum 'procedure'
34213             use constant {
34214 1         2597 PROC_CONNECT_OPEN => 1,
34215             PROC_CONNECT_CLOSE => 2,
34216             PROC_CONNECT_GET_TYPE => 3,
34217             PROC_CONNECT_GET_VERSION => 4,
34218             PROC_CONNECT_GET_MAX_VCPUS => 5,
34219             PROC_NODE_GET_INFO => 6,
34220             PROC_CONNECT_GET_CAPABILITIES => 7,
34221             PROC_DOMAIN_ATTACH_DEVICE => 8,
34222             PROC_DOMAIN_CREATE => 9,
34223             PROC_DOMAIN_CREATE_XML => 10,
34224             PROC_DOMAIN_DEFINE_XML => 11,
34225             PROC_DOMAIN_DESTROY => 12,
34226             PROC_DOMAIN_DETACH_DEVICE => 13,
34227             PROC_DOMAIN_GET_XML_DESC => 14,
34228             PROC_DOMAIN_GET_AUTOSTART => 15,
34229             PROC_DOMAIN_GET_INFO => 16,
34230             PROC_DOMAIN_GET_MAX_MEMORY => 17,
34231             PROC_DOMAIN_GET_MAX_VCPUS => 18,
34232             PROC_DOMAIN_GET_OS_TYPE => 19,
34233             PROC_DOMAIN_GET_VCPUS => 20,
34234             PROC_CONNECT_LIST_DEFINED_DOMAINS => 21,
34235             PROC_DOMAIN_LOOKUP_BY_ID => 22,
34236             PROC_DOMAIN_LOOKUP_BY_NAME => 23,
34237             PROC_DOMAIN_LOOKUP_BY_UUID => 24,
34238             PROC_CONNECT_NUM_OF_DEFINED_DOMAINS => 25,
34239             PROC_DOMAIN_PIN_VCPU => 26,
34240             PROC_DOMAIN_REBOOT => 27,
34241             PROC_DOMAIN_RESUME => 28,
34242             PROC_DOMAIN_SET_AUTOSTART => 29,
34243             PROC_DOMAIN_SET_MAX_MEMORY => 30,
34244             PROC_DOMAIN_SET_MEMORY => 31,
34245             PROC_DOMAIN_SET_VCPUS => 32,
34246             PROC_DOMAIN_SHUTDOWN => 33,
34247             PROC_DOMAIN_SUSPEND => 34,
34248             PROC_DOMAIN_UNDEFINE => 35,
34249             PROC_CONNECT_LIST_DEFINED_NETWORKS => 36,
34250             PROC_CONNECT_LIST_DOMAINS => 37,
34251             PROC_CONNECT_LIST_NETWORKS => 38,
34252             PROC_NETWORK_CREATE => 39,
34253             PROC_NETWORK_CREATE_XML => 40,
34254             PROC_NETWORK_DEFINE_XML => 41,
34255             PROC_NETWORK_DESTROY => 42,
34256             PROC_NETWORK_GET_XML_DESC => 43,
34257             PROC_NETWORK_GET_AUTOSTART => 44,
34258             PROC_NETWORK_GET_BRIDGE_NAME => 45,
34259             PROC_NETWORK_LOOKUP_BY_NAME => 46,
34260             PROC_NETWORK_LOOKUP_BY_UUID => 47,
34261             PROC_NETWORK_SET_AUTOSTART => 48,
34262             PROC_NETWORK_UNDEFINE => 49,
34263             PROC_CONNECT_NUM_OF_DEFINED_NETWORKS => 50,
34264             PROC_CONNECT_NUM_OF_DOMAINS => 51,
34265             PROC_CONNECT_NUM_OF_NETWORKS => 52,
34266             PROC_DOMAIN_CORE_DUMP => 53,
34267             PROC_DOMAIN_RESTORE => 54,
34268             PROC_DOMAIN_SAVE => 55,
34269             PROC_DOMAIN_GET_SCHEDULER_TYPE => 56,
34270             PROC_DOMAIN_GET_SCHEDULER_PARAMETERS => 57,
34271             PROC_DOMAIN_SET_SCHEDULER_PARAMETERS => 58,
34272             PROC_CONNECT_GET_HOSTNAME => 59,
34273             PROC_CONNECT_SUPPORTS_FEATURE => 60,
34274             PROC_DOMAIN_MIGRATE_PREPARE => 61,
34275             PROC_DOMAIN_MIGRATE_PERFORM => 62,
34276             PROC_DOMAIN_MIGRATE_FINISH => 63,
34277             PROC_DOMAIN_BLOCK_STATS => 64,
34278             PROC_DOMAIN_INTERFACE_STATS => 65,
34279             PROC_AUTH_LIST => 66,
34280             PROC_AUTH_SASL_INIT => 67,
34281             PROC_AUTH_SASL_START => 68,
34282             PROC_AUTH_SASL_STEP => 69,
34283             PROC_AUTH_POLKIT => 70,
34284             PROC_CONNECT_NUM_OF_STORAGE_POOLS => 71,
34285             PROC_CONNECT_LIST_STORAGE_POOLS => 72,
34286             PROC_CONNECT_NUM_OF_DEFINED_STORAGE_POOLS => 73,
34287             PROC_CONNECT_LIST_DEFINED_STORAGE_POOLS => 74,
34288             PROC_CONNECT_FIND_STORAGE_POOL_SOURCES => 75,
34289             PROC_STORAGE_POOL_CREATE_XML => 76,
34290             PROC_STORAGE_POOL_DEFINE_XML => 77,
34291             PROC_STORAGE_POOL_CREATE => 78,
34292             PROC_STORAGE_POOL_BUILD => 79,
34293             PROC_STORAGE_POOL_DESTROY => 80,
34294             PROC_STORAGE_POOL_DELETE => 81,
34295             PROC_STORAGE_POOL_UNDEFINE => 82,
34296             PROC_STORAGE_POOL_REFRESH => 83,
34297             PROC_STORAGE_POOL_LOOKUP_BY_NAME => 84,
34298             PROC_STORAGE_POOL_LOOKUP_BY_UUID => 85,
34299             PROC_STORAGE_POOL_LOOKUP_BY_VOLUME => 86,
34300             PROC_STORAGE_POOL_GET_INFO => 87,
34301             PROC_STORAGE_POOL_GET_XML_DESC => 88,
34302             PROC_STORAGE_POOL_GET_AUTOSTART => 89,
34303             PROC_STORAGE_POOL_SET_AUTOSTART => 90,
34304             PROC_STORAGE_POOL_NUM_OF_VOLUMES => 91,
34305             PROC_STORAGE_POOL_LIST_VOLUMES => 92,
34306             PROC_STORAGE_VOL_CREATE_XML => 93,
34307             PROC_STORAGE_VOL_DELETE => 94,
34308             PROC_STORAGE_VOL_LOOKUP_BY_NAME => 95,
34309             PROC_STORAGE_VOL_LOOKUP_BY_KEY => 96,
34310             PROC_STORAGE_VOL_LOOKUP_BY_PATH => 97,
34311             PROC_STORAGE_VOL_GET_INFO => 98,
34312             PROC_STORAGE_VOL_GET_XML_DESC => 99,
34313             PROC_STORAGE_VOL_GET_PATH => 100,
34314             PROC_NODE_GET_CELLS_FREE_MEMORY => 101,
34315             PROC_NODE_GET_FREE_MEMORY => 102,
34316             PROC_DOMAIN_BLOCK_PEEK => 103,
34317             PROC_DOMAIN_MEMORY_PEEK => 104,
34318             PROC_CONNECT_DOMAIN_EVENT_REGISTER => 105,
34319             PROC_CONNECT_DOMAIN_EVENT_DEREGISTER => 106,
34320             PROC_DOMAIN_EVENT_LIFECYCLE => 107,
34321             PROC_DOMAIN_MIGRATE_PREPARE2 => 108,
34322             PROC_DOMAIN_MIGRATE_FINISH2 => 109,
34323             PROC_CONNECT_GET_URI => 110,
34324             PROC_NODE_NUM_OF_DEVICES => 111,
34325             PROC_NODE_LIST_DEVICES => 112,
34326             PROC_NODE_DEVICE_LOOKUP_BY_NAME => 113,
34327             PROC_NODE_DEVICE_GET_XML_DESC => 114,
34328             PROC_NODE_DEVICE_GET_PARENT => 115,
34329             PROC_NODE_DEVICE_NUM_OF_CAPS => 116,
34330             PROC_NODE_DEVICE_LIST_CAPS => 117,
34331             PROC_NODE_DEVICE_DETTACH => 118,
34332             PROC_NODE_DEVICE_RE_ATTACH => 119,
34333             PROC_NODE_DEVICE_RESET => 120,
34334             PROC_DOMAIN_GET_SECURITY_LABEL => 121,
34335             PROC_NODE_GET_SECURITY_MODEL => 122,
34336             PROC_NODE_DEVICE_CREATE_XML => 123,
34337             PROC_NODE_DEVICE_DESTROY => 124,
34338             PROC_STORAGE_VOL_CREATE_XML_FROM => 125,
34339             PROC_CONNECT_NUM_OF_INTERFACES => 126,
34340             PROC_CONNECT_LIST_INTERFACES => 127,
34341             PROC_INTERFACE_LOOKUP_BY_NAME => 128,
34342             PROC_INTERFACE_LOOKUP_BY_MAC_STRING => 129,
34343             PROC_INTERFACE_GET_XML_DESC => 130,
34344             PROC_INTERFACE_DEFINE_XML => 131,
34345             PROC_INTERFACE_UNDEFINE => 132,
34346             PROC_INTERFACE_CREATE => 133,
34347             PROC_INTERFACE_DESTROY => 134,
34348             PROC_CONNECT_DOMAIN_XML_FROM_NATIVE => 135,
34349             PROC_CONNECT_DOMAIN_XML_TO_NATIVE => 136,
34350             PROC_CONNECT_NUM_OF_DEFINED_INTERFACES => 137,
34351             PROC_CONNECT_LIST_DEFINED_INTERFACES => 138,
34352             PROC_CONNECT_NUM_OF_SECRETS => 139,
34353             PROC_CONNECT_LIST_SECRETS => 140,
34354             PROC_SECRET_LOOKUP_BY_UUID => 141,
34355             PROC_SECRET_DEFINE_XML => 142,
34356             PROC_SECRET_GET_XML_DESC => 143,
34357             PROC_SECRET_SET_VALUE => 144,
34358             PROC_SECRET_GET_VALUE => 145,
34359             PROC_SECRET_UNDEFINE => 146,
34360             PROC_SECRET_LOOKUP_BY_USAGE => 147,
34361             PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL => 148,
34362             PROC_CONNECT_IS_SECURE => 149,
34363             PROC_DOMAIN_IS_ACTIVE => 150,
34364             PROC_DOMAIN_IS_PERSISTENT => 151,
34365             PROC_NETWORK_IS_ACTIVE => 152,
34366             PROC_NETWORK_IS_PERSISTENT => 153,
34367             PROC_STORAGE_POOL_IS_ACTIVE => 154,
34368             PROC_STORAGE_POOL_IS_PERSISTENT => 155,
34369             PROC_INTERFACE_IS_ACTIVE => 156,
34370             PROC_CONNECT_GET_LIB_VERSION => 157,
34371             PROC_CONNECT_COMPARE_CPU => 158,
34372             PROC_DOMAIN_MEMORY_STATS => 159,
34373             PROC_DOMAIN_ATTACH_DEVICE_FLAGS => 160,
34374             PROC_DOMAIN_DETACH_DEVICE_FLAGS => 161,
34375             PROC_CONNECT_BASELINE_CPU => 162,
34376             PROC_DOMAIN_GET_JOB_INFO => 163,
34377             PROC_DOMAIN_ABORT_JOB => 164,
34378             PROC_STORAGE_VOL_WIPE => 165,
34379             PROC_DOMAIN_MIGRATE_SET_MAX_DOWNTIME => 166,
34380             PROC_CONNECT_DOMAIN_EVENT_REGISTER_ANY => 167,
34381             PROC_CONNECT_DOMAIN_EVENT_DEREGISTER_ANY => 168,
34382             PROC_DOMAIN_EVENT_REBOOT => 169,
34383             PROC_DOMAIN_EVENT_RTC_CHANGE => 170,
34384             PROC_DOMAIN_EVENT_WATCHDOG => 171,
34385             PROC_DOMAIN_EVENT_IO_ERROR => 172,
34386             PROC_DOMAIN_EVENT_GRAPHICS => 173,
34387             PROC_DOMAIN_UPDATE_DEVICE_FLAGS => 174,
34388             PROC_NWFILTER_LOOKUP_BY_NAME => 175,
34389             PROC_NWFILTER_LOOKUP_BY_UUID => 176,
34390             PROC_NWFILTER_GET_XML_DESC => 177,
34391             PROC_CONNECT_NUM_OF_NWFILTERS => 178,
34392             PROC_CONNECT_LIST_NWFILTERS => 179,
34393             PROC_NWFILTER_DEFINE_XML => 180,
34394             PROC_NWFILTER_UNDEFINE => 181,
34395             PROC_DOMAIN_MANAGED_SAVE => 182,
34396             PROC_DOMAIN_HAS_MANAGED_SAVE_IMAGE => 183,
34397             PROC_DOMAIN_MANAGED_SAVE_REMOVE => 184,
34398             PROC_DOMAIN_SNAPSHOT_CREATE_XML => 185,
34399             PROC_DOMAIN_SNAPSHOT_GET_XML_DESC => 186,
34400             PROC_DOMAIN_SNAPSHOT_NUM => 187,
34401             PROC_DOMAIN_SNAPSHOT_LIST_NAMES => 188,
34402             PROC_DOMAIN_SNAPSHOT_LOOKUP_BY_NAME => 189,
34403             PROC_DOMAIN_HAS_CURRENT_SNAPSHOT => 190,
34404             PROC_DOMAIN_SNAPSHOT_CURRENT => 191,
34405             PROC_DOMAIN_REVERT_TO_SNAPSHOT => 192,
34406             PROC_DOMAIN_SNAPSHOT_DELETE => 193,
34407             PROC_DOMAIN_GET_BLOCK_INFO => 194,
34408             PROC_DOMAIN_EVENT_IO_ERROR_REASON => 195,
34409             PROC_DOMAIN_CREATE_WITH_FLAGS => 196,
34410             PROC_DOMAIN_SET_MEMORY_PARAMETERS => 197,
34411             PROC_DOMAIN_GET_MEMORY_PARAMETERS => 198,
34412             PROC_DOMAIN_SET_VCPUS_FLAGS => 199,
34413             PROC_DOMAIN_GET_VCPUS_FLAGS => 200,
34414             PROC_DOMAIN_OPEN_CONSOLE => 201,
34415             PROC_DOMAIN_IS_UPDATED => 202,
34416             PROC_CONNECT_GET_SYSINFO => 203,
34417             PROC_DOMAIN_SET_MEMORY_FLAGS => 204,
34418             PROC_DOMAIN_SET_BLKIO_PARAMETERS => 205,
34419             PROC_DOMAIN_GET_BLKIO_PARAMETERS => 206,
34420             PROC_DOMAIN_MIGRATE_SET_MAX_SPEED => 207,
34421             PROC_STORAGE_VOL_UPLOAD => 208,
34422             PROC_STORAGE_VOL_DOWNLOAD => 209,
34423             PROC_DOMAIN_INJECT_NMI => 210,
34424             PROC_DOMAIN_SCREENSHOT => 211,
34425             PROC_DOMAIN_GET_STATE => 212,
34426             PROC_DOMAIN_MIGRATE_BEGIN3 => 213,
34427             PROC_DOMAIN_MIGRATE_PREPARE3 => 214,
34428             PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL3 => 215,
34429             PROC_DOMAIN_MIGRATE_PERFORM3 => 216,
34430             PROC_DOMAIN_MIGRATE_FINISH3 => 217,
34431             PROC_DOMAIN_MIGRATE_CONFIRM3 => 218,
34432             PROC_DOMAIN_SET_SCHEDULER_PARAMETERS_FLAGS => 219,
34433             PROC_INTERFACE_CHANGE_BEGIN => 220,
34434             PROC_INTERFACE_CHANGE_COMMIT => 221,
34435             PROC_INTERFACE_CHANGE_ROLLBACK => 222,
34436             PROC_DOMAIN_GET_SCHEDULER_PARAMETERS_FLAGS => 223,
34437             PROC_DOMAIN_EVENT_CONTROL_ERROR => 224,
34438             PROC_DOMAIN_PIN_VCPU_FLAGS => 225,
34439             PROC_DOMAIN_SEND_KEY => 226,
34440             PROC_NODE_GET_CPU_STATS => 227,
34441             PROC_NODE_GET_MEMORY_STATS => 228,
34442             PROC_DOMAIN_GET_CONTROL_INFO => 229,
34443             PROC_DOMAIN_GET_VCPU_PIN_INFO => 230,
34444             PROC_DOMAIN_UNDEFINE_FLAGS => 231,
34445             PROC_DOMAIN_SAVE_FLAGS => 232,
34446             PROC_DOMAIN_RESTORE_FLAGS => 233,
34447             PROC_DOMAIN_DESTROY_FLAGS => 234,
34448             PROC_DOMAIN_SAVE_IMAGE_GET_XML_DESC => 235,
34449             PROC_DOMAIN_SAVE_IMAGE_DEFINE_XML => 236,
34450             PROC_DOMAIN_BLOCK_JOB_ABORT => 237,
34451             PROC_DOMAIN_GET_BLOCK_JOB_INFO => 238,
34452             PROC_DOMAIN_BLOCK_JOB_SET_SPEED => 239,
34453             PROC_DOMAIN_BLOCK_PULL => 240,
34454             PROC_DOMAIN_EVENT_BLOCK_JOB => 241,
34455             PROC_DOMAIN_MIGRATE_GET_MAX_SPEED => 242,
34456             PROC_DOMAIN_BLOCK_STATS_FLAGS => 243,
34457             PROC_DOMAIN_SNAPSHOT_GET_PARENT => 244,
34458             PROC_DOMAIN_RESET => 245,
34459             PROC_DOMAIN_SNAPSHOT_NUM_CHILDREN => 246,
34460             PROC_DOMAIN_SNAPSHOT_LIST_CHILDREN_NAMES => 247,
34461             PROC_DOMAIN_EVENT_DISK_CHANGE => 248,
34462             PROC_DOMAIN_OPEN_GRAPHICS => 249,
34463             PROC_NODE_SUSPEND_FOR_DURATION => 250,
34464             PROC_DOMAIN_BLOCK_RESIZE => 251,
34465             PROC_DOMAIN_SET_BLOCK_IO_TUNE => 252,
34466             PROC_DOMAIN_GET_BLOCK_IO_TUNE => 253,
34467             PROC_DOMAIN_SET_NUMA_PARAMETERS => 254,
34468             PROC_DOMAIN_GET_NUMA_PARAMETERS => 255,
34469             PROC_DOMAIN_SET_INTERFACE_PARAMETERS => 256,
34470             PROC_DOMAIN_GET_INTERFACE_PARAMETERS => 257,
34471             PROC_DOMAIN_SHUTDOWN_FLAGS => 258,
34472             PROC_STORAGE_VOL_WIPE_PATTERN => 259,
34473             PROC_STORAGE_VOL_RESIZE => 260,
34474             PROC_DOMAIN_PM_SUSPEND_FOR_DURATION => 261,
34475             PROC_DOMAIN_GET_CPU_STATS => 262,
34476             PROC_DOMAIN_GET_DISK_ERRORS => 263,
34477             PROC_DOMAIN_SET_METADATA => 264,
34478             PROC_DOMAIN_GET_METADATA => 265,
34479             PROC_DOMAIN_BLOCK_REBASE => 266,
34480             PROC_DOMAIN_PM_WAKEUP => 267,
34481             PROC_DOMAIN_EVENT_TRAY_CHANGE => 268,
34482             PROC_DOMAIN_EVENT_PMWAKEUP => 269,
34483             PROC_DOMAIN_EVENT_PMSUSPEND => 270,
34484             PROC_DOMAIN_SNAPSHOT_IS_CURRENT => 271,
34485             PROC_DOMAIN_SNAPSHOT_HAS_METADATA => 272,
34486             PROC_CONNECT_LIST_ALL_DOMAINS => 273,
34487             PROC_DOMAIN_LIST_ALL_SNAPSHOTS => 274,
34488             PROC_DOMAIN_SNAPSHOT_LIST_ALL_CHILDREN => 275,
34489             PROC_DOMAIN_EVENT_BALLOON_CHANGE => 276,
34490             PROC_DOMAIN_GET_HOSTNAME => 277,
34491             PROC_DOMAIN_GET_SECURITY_LABEL_LIST => 278,
34492             PROC_DOMAIN_PIN_EMULATOR => 279,
34493             PROC_DOMAIN_GET_EMULATOR_PIN_INFO => 280,
34494             PROC_CONNECT_LIST_ALL_STORAGE_POOLS => 281,
34495             PROC_STORAGE_POOL_LIST_ALL_VOLUMES => 282,
34496             PROC_CONNECT_LIST_ALL_NETWORKS => 283,
34497             PROC_CONNECT_LIST_ALL_INTERFACES => 284,
34498             PROC_CONNECT_LIST_ALL_NODE_DEVICES => 285,
34499             PROC_CONNECT_LIST_ALL_NWFILTERS => 286,
34500             PROC_CONNECT_LIST_ALL_SECRETS => 287,
34501             PROC_NODE_SET_MEMORY_PARAMETERS => 288,
34502             PROC_NODE_GET_MEMORY_PARAMETERS => 289,
34503             PROC_DOMAIN_BLOCK_COMMIT => 290,
34504             PROC_NETWORK_UPDATE => 291,
34505             PROC_DOMAIN_EVENT_PMSUSPEND_DISK => 292,
34506             PROC_NODE_GET_CPU_MAP => 293,
34507             PROC_DOMAIN_FSTRIM => 294,
34508             PROC_DOMAIN_SEND_PROCESS_SIGNAL => 295,
34509             PROC_DOMAIN_OPEN_CHANNEL => 296,
34510             PROC_NODE_DEVICE_LOOKUP_SCSI_HOST_BY_WWN => 297,
34511             PROC_DOMAIN_GET_JOB_STATS => 298,
34512             PROC_DOMAIN_MIGRATE_GET_COMPRESSION_CACHE => 299,
34513             PROC_DOMAIN_MIGRATE_SET_COMPRESSION_CACHE => 300,
34514             PROC_NODE_DEVICE_DETACH_FLAGS => 301,
34515             PROC_DOMAIN_MIGRATE_BEGIN3_PARAMS => 302,
34516             PROC_DOMAIN_MIGRATE_PREPARE3_PARAMS => 303,
34517             PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL3_PARAMS => 304,
34518             PROC_DOMAIN_MIGRATE_PERFORM3_PARAMS => 305,
34519             PROC_DOMAIN_MIGRATE_FINISH3_PARAMS => 306,
34520             PROC_DOMAIN_MIGRATE_CONFIRM3_PARAMS => 307,
34521             PROC_DOMAIN_SET_MEMORY_STATS_PERIOD => 308,
34522             PROC_DOMAIN_CREATE_XML_WITH_FILES => 309,
34523             PROC_DOMAIN_CREATE_WITH_FILES => 310,
34524             PROC_DOMAIN_EVENT_DEVICE_REMOVED => 311,
34525             PROC_CONNECT_GET_CPU_MODEL_NAMES => 312,
34526             PROC_CONNECT_NETWORK_EVENT_REGISTER_ANY => 313,
34527             PROC_CONNECT_NETWORK_EVENT_DEREGISTER_ANY => 314,
34528             PROC_NETWORK_EVENT_LIFECYCLE => 315,
34529             PROC_CONNECT_DOMAIN_EVENT_CALLBACK_REGISTER_ANY => 316,
34530             PROC_CONNECT_DOMAIN_EVENT_CALLBACK_DEREGISTER_ANY => 317,
34531             PROC_DOMAIN_EVENT_CALLBACK_LIFECYCLE => 318,
34532             PROC_DOMAIN_EVENT_CALLBACK_REBOOT => 319,
34533             PROC_DOMAIN_EVENT_CALLBACK_RTC_CHANGE => 320,
34534             PROC_DOMAIN_EVENT_CALLBACK_WATCHDOG => 321,
34535             PROC_DOMAIN_EVENT_CALLBACK_IO_ERROR => 322,
34536             PROC_DOMAIN_EVENT_CALLBACK_GRAPHICS => 323,
34537             PROC_DOMAIN_EVENT_CALLBACK_IO_ERROR_REASON => 324,
34538             PROC_DOMAIN_EVENT_CALLBACK_CONTROL_ERROR => 325,
34539             PROC_DOMAIN_EVENT_CALLBACK_BLOCK_JOB => 326,
34540             PROC_DOMAIN_EVENT_CALLBACK_DISK_CHANGE => 327,
34541             PROC_DOMAIN_EVENT_CALLBACK_TRAY_CHANGE => 328,
34542             PROC_DOMAIN_EVENT_CALLBACK_PMWAKEUP => 329,
34543             PROC_DOMAIN_EVENT_CALLBACK_PMSUSPEND => 330,
34544             PROC_DOMAIN_EVENT_CALLBACK_BALLOON_CHANGE => 331,
34545             PROC_DOMAIN_EVENT_CALLBACK_PMSUSPEND_DISK => 332,
34546             PROC_DOMAIN_EVENT_CALLBACK_DEVICE_REMOVED => 333,
34547             PROC_DOMAIN_CORE_DUMP_WITH_FORMAT => 334,
34548             PROC_DOMAIN_FSFREEZE => 335,
34549             PROC_DOMAIN_FSTHAW => 336,
34550             PROC_DOMAIN_GET_TIME => 337,
34551             PROC_DOMAIN_SET_TIME => 338,
34552             PROC_DOMAIN_EVENT_BLOCK_JOB_2 => 339,
34553             PROC_NODE_GET_FREE_PAGES => 340,
34554             PROC_NETWORK_GET_DHCP_LEASES => 341,
34555             PROC_CONNECT_GET_DOMAIN_CAPABILITIES => 342,
34556             PROC_DOMAIN_OPEN_GRAPHICS_FD => 343,
34557             PROC_CONNECT_GET_ALL_DOMAIN_STATS => 344,
34558             PROC_DOMAIN_BLOCK_COPY => 345,
34559             PROC_DOMAIN_EVENT_CALLBACK_TUNABLE => 346,
34560             PROC_NODE_ALLOC_PAGES => 347,
34561             PROC_DOMAIN_EVENT_CALLBACK_AGENT_LIFECYCLE => 348,
34562             PROC_DOMAIN_GET_FSINFO => 349,
34563             PROC_DOMAIN_DEFINE_XML_FLAGS => 350,
34564             PROC_DOMAIN_GET_IOTHREAD_INFO => 351,
34565             PROC_DOMAIN_PIN_IOTHREAD => 352,
34566             PROC_DOMAIN_INTERFACE_ADDRESSES => 353,
34567             PROC_DOMAIN_EVENT_CALLBACK_DEVICE_ADDED => 354,
34568             PROC_DOMAIN_ADD_IOTHREAD => 355,
34569             PROC_DOMAIN_DEL_IOTHREAD => 356,
34570             PROC_DOMAIN_SET_USER_PASSWORD => 357,
34571             PROC_DOMAIN_RENAME => 358,
34572             PROC_DOMAIN_EVENT_CALLBACK_MIGRATION_ITERATION => 359,
34573             PROC_CONNECT_REGISTER_CLOSE_CALLBACK => 360,
34574             PROC_CONNECT_UNREGISTER_CLOSE_CALLBACK => 361,
34575             PROC_CONNECT_EVENT_CONNECTION_CLOSED => 362,
34576             PROC_DOMAIN_EVENT_CALLBACK_JOB_COMPLETED => 363,
34577             PROC_DOMAIN_MIGRATE_START_POST_COPY => 364,
34578             PROC_DOMAIN_GET_PERF_EVENTS => 365,
34579             PROC_DOMAIN_SET_PERF_EVENTS => 366,
34580             PROC_DOMAIN_EVENT_CALLBACK_DEVICE_REMOVAL_FAILED => 367,
34581             PROC_CONNECT_STORAGE_POOL_EVENT_REGISTER_ANY => 368,
34582             PROC_CONNECT_STORAGE_POOL_EVENT_DEREGISTER_ANY => 369,
34583             PROC_STORAGE_POOL_EVENT_LIFECYCLE => 370,
34584             PROC_DOMAIN_GET_GUEST_VCPUS => 371,
34585             PROC_DOMAIN_SET_GUEST_VCPUS => 372,
34586             PROC_STORAGE_POOL_EVENT_REFRESH => 373,
34587             PROC_CONNECT_NODE_DEVICE_EVENT_REGISTER_ANY => 374,
34588             PROC_CONNECT_NODE_DEVICE_EVENT_DEREGISTER_ANY => 375,
34589             PROC_NODE_DEVICE_EVENT_LIFECYCLE => 376,
34590             PROC_NODE_DEVICE_EVENT_UPDATE => 377,
34591             PROC_STORAGE_VOL_GET_INFO_FLAGS => 378,
34592             PROC_DOMAIN_EVENT_CALLBACK_METADATA_CHANGE => 379,
34593             PROC_CONNECT_SECRET_EVENT_REGISTER_ANY => 380,
34594             PROC_CONNECT_SECRET_EVENT_DEREGISTER_ANY => 381,
34595             PROC_SECRET_EVENT_LIFECYCLE => 382,
34596             PROC_SECRET_EVENT_VALUE_CHANGED => 383,
34597             PROC_DOMAIN_SET_VCPU => 384,
34598             PROC_DOMAIN_EVENT_BLOCK_THRESHOLD => 385,
34599             PROC_DOMAIN_SET_BLOCK_THRESHOLD => 386,
34600             PROC_DOMAIN_MIGRATE_GET_MAX_DOWNTIME => 387,
34601             PROC_DOMAIN_MANAGED_SAVE_GET_XML_DESC => 388,
34602             PROC_DOMAIN_MANAGED_SAVE_DEFINE_XML => 389,
34603             PROC_DOMAIN_SET_LIFECYCLE_ACTION => 390,
34604             PROC_STORAGE_POOL_LOOKUP_BY_TARGET_PATH => 391,
34605             PROC_DOMAIN_DETACH_DEVICE_ALIAS => 392,
34606             PROC_CONNECT_COMPARE_HYPERVISOR_CPU => 393,
34607             PROC_CONNECT_BASELINE_HYPERVISOR_CPU => 394,
34608             PROC_NODE_GET_SEV_INFO => 395,
34609             PROC_DOMAIN_GET_LAUNCH_SECURITY_INFO => 396,
34610             PROC_NWFILTER_BINDING_LOOKUP_BY_PORT_DEV => 397,
34611             PROC_NWFILTER_BINDING_GET_XML_DESC => 398,
34612             PROC_NWFILTER_BINDING_CREATE_XML => 399,
34613             PROC_NWFILTER_BINDING_DELETE => 400,
34614             PROC_CONNECT_LIST_ALL_NWFILTER_BINDINGS => 401,
34615             PROC_DOMAIN_SET_IOTHREAD_PARAMS => 402,
34616             PROC_CONNECT_GET_STORAGE_POOL_CAPABILITIES => 403,
34617             PROC_NETWORK_LIST_ALL_PORTS => 404,
34618             PROC_NETWORK_PORT_LOOKUP_BY_UUID => 405,
34619             PROC_NETWORK_PORT_CREATE_XML => 406,
34620             PROC_NETWORK_PORT_GET_PARAMETERS => 407,
34621             PROC_NETWORK_PORT_SET_PARAMETERS => 408,
34622             PROC_NETWORK_PORT_GET_XML_DESC => 409,
34623             PROC_NETWORK_PORT_DELETE => 410,
34624             PROC_DOMAIN_CHECKPOINT_CREATE_XML => 411,
34625             PROC_DOMAIN_CHECKPOINT_GET_XML_DESC => 412,
34626             PROC_DOMAIN_LIST_ALL_CHECKPOINTS => 413,
34627             PROC_DOMAIN_CHECKPOINT_LIST_ALL_CHILDREN => 414,
34628             PROC_DOMAIN_CHECKPOINT_LOOKUP_BY_NAME => 415,
34629             PROC_DOMAIN_CHECKPOINT_GET_PARENT => 416,
34630             PROC_DOMAIN_CHECKPOINT_DELETE => 417,
34631             PROC_DOMAIN_GET_GUEST_INFO => 418,
34632             PROC_CONNECT_SET_IDENTITY => 419,
34633             PROC_DOMAIN_AGENT_SET_RESPONSE_TIMEOUT => 420,
34634             PROC_DOMAIN_BACKUP_BEGIN => 421,
34635             PROC_DOMAIN_BACKUP_GET_XML_DESC => 422,
34636             PROC_DOMAIN_EVENT_MEMORY_FAILURE => 423,
34637             PROC_DOMAIN_AUTHORIZED_SSH_KEYS_GET => 424,
34638             PROC_DOMAIN_AUTHORIZED_SSH_KEYS_SET => 425,
34639             PROC_DOMAIN_GET_MESSAGES => 426,
34640             PROC_DOMAIN_START_DIRTY_RATE_CALC => 427,
34641             PROC_NODE_DEVICE_DEFINE_XML => 428,
34642             PROC_NODE_DEVICE_UNDEFINE => 429,
34643             PROC_NODE_DEVICE_CREATE => 430,
34644             PROC_NWFILTER_DEFINE_XML_FLAGS => 431,
34645             PROC_NETWORK_DEFINE_XML_FLAGS => 432,
34646             PROC_NODE_DEVICE_GET_AUTOSTART => 433,
34647             PROC_NODE_DEVICE_SET_AUTOSTART => 434,
34648             PROC_NODE_DEVICE_IS_PERSISTENT => 435,
34649             PROC_NODE_DEVICE_IS_ACTIVE => 436,
34650             PROC_NETWORK_CREATE_XML_FLAGS => 437,
34651             PROC_DOMAIN_EVENT_MEMORY_DEVICE_SIZE_CHANGE => 438,
34652             PROC_DOMAIN_SET_LAUNCH_SECURITY_STATE => 439,
34653             PROC_DOMAIN_SAVE_PARAMS => 440,
34654             PROC_DOMAIN_RESTORE_PARAMS => 441,
34655             PROC_DOMAIN_ABORT_JOB_FLAGS => 442,
34656             PROC_DOMAIN_FD_ASSOCIATE => 443,
34657             PROC_NETWORK_SET_METADATA => 444,
34658             PROC_NETWORK_GET_METADATA => 445,
34659             PROC_NETWORK_EVENT_CALLBACK_METADATA_CHANGE => 446,
34660             PROC_NODE_DEVICE_UPDATE => 447,
34661             PROC_DOMAIN_GRAPHICS_RELOAD => 448,
34662             PROC_DOMAIN_GET_AUTOSTART_ONCE => 449,
34663             PROC_DOMAIN_SET_AUTOSTART_ONCE => 450,
34664             PROC_DOMAIN_SET_THROTTLE_GROUP => 451,
34665             PROC_DOMAIN_DEL_THROTTLE_GROUP => 452,
34666             PROC_DOMAIN_EVENT_NIC_MAC_CHANGE => 453,
34667 1     1   7 };
  1         2  
34668             # @_: ($class, $value, $index, $input) = @_;
34669             sub deserialize_procedure {
34670 0     0 0   my $input_length = length $_[3];
34671             # my ($class, $value, $index, $input) = @_;
34672 0 0         die "Input buffer too short"
34673             if ($input_length - $_[2]) < 4;
34674 0           $_[1] = unpack("l>", substr( $_[3], $_[2] ) );
34675 0 0         die "Out of range enum value supplied: $_[1]"
34676             unless vec(state $m = pack('H*', 'feffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f'),
34677             $_[1], 1);
34678 0           $_[2] += 4;
34679             }
34680             # @_: ($class, $value, $index, $output) = @_;
34681             sub serialize_procedure {
34682             # my ($class, $value, $index, $output) = @_;
34683 0 0   0 0   croak "Missing required input 'enum' value"
34684             unless defined $_[1];
34685 0 0         die "Out of range enum value: $_[1]"
34686             unless vec(state $m = pack('H*', 'feffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f'),
34687             $_[1], 1);
34688 0           substr( $_[3], $_[2] ) = pack("l>", $_[1]);
34689 0           $_[2] += 4;
34690             }
34691              
34692              
34693             1;
34694              
34695             __END__