Devtools/Testing/V1/TestEnvironmentDiscovery/Types.pm untested

filter: Statementstmt 0.0% 0 / 333 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 338 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Types;
2  
3 use strict;
4 use warnings;
5  
6 use Type::Library -base;
7 use Type::Utils -all;
8 use Types::Standard -types;
9  
10 declare 'DeviceForm',
11 as (Int | Str);
12  
13 declare 'DeviceFormFactor',
14 as (Int | Str);
15  
16 declare 'DeviceCapacity',
17 as (Int | Str);
18  
19 declare 'DeviceIpBlock',
20 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::DeviceIpBlock'];
21  
22 coerce 'DeviceIpBlock',
23 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::DeviceIpBlock'->new($_) };
24  
25 declare 'RepeatedDeviceIpBlock',
26 as ArrayRef[DeviceIpBlock()];
27  
28 coerce 'RepeatedDeviceIpBlock',
29 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::DeviceIpBlock'->new($_) } @$_ ] };
30  
31 declare 'MapStringDeviceIpBlock',
32 as HashRef[DeviceIpBlock()];
33  
34 declare 'GetTestEnvironmentCatalogRequest',
35 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::GetTestEnvironmentCatalogRequest'];
36  
37 coerce 'GetTestEnvironmentCatalogRequest',
38 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::GetTestEnvironmentCatalogRequest'->new($_) };
39  
40 declare 'RepeatedGetTestEnvironmentCatalogRequest',
41 as ArrayRef[GetTestEnvironmentCatalogRequest()];
42  
43 coerce 'RepeatedGetTestEnvironmentCatalogRequest',
44 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::GetTestEnvironmentCatalogRequest'->new($_) } @$_ ] };
45  
46 declare 'MapStringGetTestEnvironmentCatalogRequest',
47 as HashRef[GetTestEnvironmentCatalogRequest()];
48  
49 declare 'EnvironmentType',
50 as (Int | Str);
51  
52 declare 'TestEnvironmentCatalog',
53 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::TestEnvironmentCatalog'];
54  
55 coerce 'TestEnvironmentCatalog',
56 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::TestEnvironmentCatalog'->new($_) };
57  
58 declare 'RepeatedTestEnvironmentCatalog',
59 as ArrayRef[TestEnvironmentCatalog()];
60  
61 coerce 'RepeatedTestEnvironmentCatalog',
62 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::TestEnvironmentCatalog'->new($_) } @$_ ] };
63  
64 declare 'MapStringTestEnvironmentCatalog',
65 as HashRef[TestEnvironmentCatalog()];
66  
67 declare 'DeviceIpBlockCatalog',
68 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::DeviceIpBlockCatalog'];
69  
70 coerce 'DeviceIpBlockCatalog',
71 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::DeviceIpBlockCatalog'->new($_) };
72  
73 declare 'RepeatedDeviceIpBlockCatalog',
74 as ArrayRef[DeviceIpBlockCatalog()];
75  
76 coerce 'RepeatedDeviceIpBlockCatalog',
77 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::DeviceIpBlockCatalog'->new($_) } @$_ ] };
78  
79 declare 'MapStringDeviceIpBlockCatalog',
80 as HashRef[DeviceIpBlockCatalog()];
81  
82 declare 'AndroidDeviceCatalog',
83 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidDeviceCatalog'];
84  
85 coerce 'AndroidDeviceCatalog',
86 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidDeviceCatalog'->new($_) };
87  
88 declare 'RepeatedAndroidDeviceCatalog',
89 as ArrayRef[AndroidDeviceCatalog()];
90  
91 coerce 'RepeatedAndroidDeviceCatalog',
92 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidDeviceCatalog'->new($_) } @$_ ] };
93  
94 declare 'MapStringAndroidDeviceCatalog',
95 as HashRef[AndroidDeviceCatalog()];
96  
97 declare 'AndroidRuntimeConfiguration',
98 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidRuntimeConfiguration'];
99  
100 coerce 'AndroidRuntimeConfiguration',
101 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidRuntimeConfiguration'->new($_) };
102  
103 declare 'RepeatedAndroidRuntimeConfiguration',
104 as ArrayRef[AndroidRuntimeConfiguration()];
105  
106 coerce 'RepeatedAndroidRuntimeConfiguration',
107 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidRuntimeConfiguration'->new($_) } @$_ ] };
108  
109 declare 'MapStringAndroidRuntimeConfiguration',
110 as HashRef[AndroidRuntimeConfiguration()];
111  
112 declare 'AndroidModel',
113 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidModel'];
114  
115 coerce 'AndroidModel',
116 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidModel'->new($_) };
117  
118 declare 'RepeatedAndroidModel',
119 as ArrayRef[AndroidModel()];
120  
121 coerce 'RepeatedAndroidModel',
122 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidModel'->new($_) } @$_ ] };
123  
124 declare 'MapStringAndroidModel',
125 as HashRef[AndroidModel()];
126  
127 declare 'AccessDeniedReason',
128 as (Int | Str);
129  
130 declare 'AndroidVersion',
131 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidVersion'];
132  
133 coerce 'AndroidVersion',
134 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidVersion'->new($_) };
135  
136 declare 'RepeatedAndroidVersion',
137 as ArrayRef[AndroidVersion()];
138  
139 coerce 'RepeatedAndroidVersion',
140 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::AndroidVersion'->new($_) } @$_ ] };
141  
142 declare 'MapStringAndroidVersion',
143 as HashRef[AndroidVersion()];
144  
145 declare 'PerAndroidVersionInfo',
146 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::PerAndroidVersionInfo'];
147  
148 coerce 'PerAndroidVersionInfo',
149 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::PerAndroidVersionInfo'->new($_) };
150  
151 declare 'RepeatedPerAndroidVersionInfo',
152 as ArrayRef[PerAndroidVersionInfo()];
153  
154 coerce 'RepeatedPerAndroidVersionInfo',
155 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::PerAndroidVersionInfo'->new($_) } @$_ ] };
156  
157 declare 'MapStringPerAndroidVersionInfo',
158 as HashRef[PerAndroidVersionInfo()];
159  
160 declare 'DirectAccessVersionInfo',
161 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::DirectAccessVersionInfo'];
162  
163 coerce 'DirectAccessVersionInfo',
164 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::DirectAccessVersionInfo'->new($_) };
165  
166 declare 'RepeatedDirectAccessVersionInfo',
167 as ArrayRef[DirectAccessVersionInfo()];
168  
169 coerce 'RepeatedDirectAccessVersionInfo',
170 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::DirectAccessVersionInfo'->new($_) } @$_ ] };
171  
172 declare 'MapStringDirectAccessVersionInfo',
173 as HashRef[DirectAccessVersionInfo()];
174  
175 declare 'Distribution',
176 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Distribution'];
177  
178 coerce 'Distribution',
179 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Distribution'->new($_) };
180  
181 declare 'RepeatedDistribution',
182 as ArrayRef[Distribution()];
183  
184 coerce 'RepeatedDistribution',
185 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Distribution'->new($_) } @$_ ] };
186  
187 declare 'MapStringDistribution',
188 as HashRef[Distribution()];
189  
190 declare 'LabInfo',
191 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::LabInfo'];
192  
193 coerce 'LabInfo',
194 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::LabInfo'->new($_) };
195  
196 declare 'RepeatedLabInfo',
197 as ArrayRef[LabInfo()];
198  
199 coerce 'RepeatedLabInfo',
200 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::LabInfo'->new($_) } @$_ ] };
201  
202 declare 'MapStringLabInfo',
203 as HashRef[LabInfo()];
204  
205 declare 'IosDeviceCatalog',
206 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosDeviceCatalog'];
207  
208 coerce 'IosDeviceCatalog',
209 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosDeviceCatalog'->new($_) };
210  
211 declare 'RepeatedIosDeviceCatalog',
212 as ArrayRef[IosDeviceCatalog()];
213  
214 coerce 'RepeatedIosDeviceCatalog',
215 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosDeviceCatalog'->new($_) } @$_ ] };
216  
217 declare 'MapStringIosDeviceCatalog',
218 as HashRef[IosDeviceCatalog()];
219  
220 declare 'IosRuntimeConfiguration',
221 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosRuntimeConfiguration'];
222  
223 coerce 'IosRuntimeConfiguration',
224 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosRuntimeConfiguration'->new($_) };
225  
226 declare 'RepeatedIosRuntimeConfiguration',
227 as ArrayRef[IosRuntimeConfiguration()];
228  
229 coerce 'RepeatedIosRuntimeConfiguration',
230 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosRuntimeConfiguration'->new($_) } @$_ ] };
231  
232 declare 'MapStringIosRuntimeConfiguration',
233 as HashRef[IosRuntimeConfiguration()];
234  
235 declare 'IosModel',
236 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosModel'];
237  
238 coerce 'IosModel',
239 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosModel'->new($_) };
240  
241 declare 'RepeatedIosModel',
242 as ArrayRef[IosModel()];
243  
244 coerce 'RepeatedIosModel',
245 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosModel'->new($_) } @$_ ] };
246  
247 declare 'MapStringIosModel',
248 as HashRef[IosModel()];
249  
250 declare 'IosVersion',
251 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosVersion'];
252  
253 coerce 'IosVersion',
254 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosVersion'->new($_) };
255  
256 declare 'RepeatedIosVersion',
257 as ArrayRef[IosVersion()];
258  
259 coerce 'RepeatedIosVersion',
260 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::IosVersion'->new($_) } @$_ ] };
261  
262 declare 'MapStringIosVersion',
263 as HashRef[IosVersion()];
264  
265 declare 'PerIosVersionInfo',
266 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::PerIosVersionInfo'];
267  
268 coerce 'PerIosVersionInfo',
269 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::PerIosVersionInfo'->new($_) };
270  
271 declare 'RepeatedPerIosVersionInfo',
272 as ArrayRef[PerIosVersionInfo()];
273  
274 coerce 'RepeatedPerIosVersionInfo',
275 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::PerIosVersionInfo'->new($_) } @$_ ] };
276  
277 declare 'MapStringPerIosVersionInfo',
278 as HashRef[PerIosVersionInfo()];
279  
280 declare 'Locale',
281 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Locale'];
282  
283 coerce 'Locale',
284 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Locale'->new($_) };
285  
286 declare 'RepeatedLocale',
287 as ArrayRef[Locale()];
288  
289 coerce 'RepeatedLocale',
290 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Locale'->new($_) } @$_ ] };
291  
292 declare 'MapStringLocale',
293 as HashRef[Locale()];
294  
295 declare 'Orientation',
296 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Orientation'];
297  
298 coerce 'Orientation',
299 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Orientation'->new($_) };
300  
301 declare 'RepeatedOrientation',
302 as ArrayRef[Orientation()];
303  
304 coerce 'RepeatedOrientation',
305 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::Orientation'->new($_) } @$_ ] };
306  
307 declare 'MapStringOrientation',
308 as HashRef[Orientation()];
309  
310 declare 'XcodeVersion',
311 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::XcodeVersion'];
312  
313 coerce 'XcodeVersion',
314 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::XcodeVersion'->new($_) };
315  
316 declare 'RepeatedXcodeVersion',
317 as ArrayRef[XcodeVersion()];
318  
319 coerce 'RepeatedXcodeVersion',
320 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::XcodeVersion'->new($_) } @$_ ] };
321  
322 declare 'MapStringXcodeVersion',
323 as HashRef[XcodeVersion()];
324  
325 declare 'NetworkConfigurationCatalog',
326 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::NetworkConfigurationCatalog'];
327  
328 coerce 'NetworkConfigurationCatalog',
329 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::NetworkConfigurationCatalog'->new($_) };
330  
331 declare 'RepeatedNetworkConfigurationCatalog',
332 as ArrayRef[NetworkConfigurationCatalog()];
333  
334 coerce 'RepeatedNetworkConfigurationCatalog',
335 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::NetworkConfigurationCatalog'->new($_) } @$_ ] };
336  
337 declare 'MapStringNetworkConfigurationCatalog',
338 as HashRef[NetworkConfigurationCatalog()];
339  
340 declare 'NetworkConfiguration',
341 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::NetworkConfiguration'];
342  
343 coerce 'NetworkConfiguration',
344 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::NetworkConfiguration'->new($_) };
345  
346 declare 'RepeatedNetworkConfiguration',
347 as ArrayRef[NetworkConfiguration()];
348  
349 coerce 'RepeatedNetworkConfiguration',
350 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::NetworkConfiguration'->new($_) } @$_ ] };
351  
352 declare 'MapStringNetworkConfiguration',
353 as HashRef[NetworkConfiguration()];
354  
355 declare 'TrafficRule',
356 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::TrafficRule'];
357  
358 coerce 'TrafficRule',
359 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::TrafficRule'->new($_) };
360  
361 declare 'RepeatedTrafficRule',
362 as ArrayRef[TrafficRule()];
363  
364 coerce 'RepeatedTrafficRule',
365 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::TrafficRule'->new($_) } @$_ ] };
366  
367 declare 'MapStringTrafficRule',
368 as HashRef[TrafficRule()];
369  
370 declare 'ProvidedSoftwareCatalog',
371 as InstanceOf['Google::Devtools::Testing::V1::TestEnvironmentDiscovery::ProvidedSoftwareCatalog'];
372  
373 coerce 'ProvidedSoftwareCatalog',
374 from HashRef, via { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::ProvidedSoftwareCatalog'->new($_) };
375  
376 declare 'RepeatedProvidedSoftwareCatalog',
377 as ArrayRef[ProvidedSoftwareCatalog()];
378  
379 coerce 'RepeatedProvidedSoftwareCatalog',
380 from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::TestEnvironmentDiscovery::ProvidedSoftwareCatalog'->new($_) } @$_ ] };
381  
382 declare 'MapStringProvidedSoftwareCatalog',
383 as HashRef[ProvidedSoftwareCatalog()];
384  
385 1;
386  
387 __END__