V1/ApiEntities/Types.pm untested

filter: Statementstmt 0.0% 0 / 96 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 101 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::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 'GuestOsScan',
11 as InstanceOf['Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::GuestOsScan'];
12  
13 coerce 'GuestOsScan',
14 from HashRef, via { 'Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::GuestOsScan'->new($_) };
15  
16 declare 'RepeatedGuestOsScan',
17 as ArrayRef[GuestOsScan()];
18  
19 coerce 'RepeatedGuestOsScan',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::GuestOsScan'->new($_) } @$_ ] };
21  
22 declare 'MapStringGuestOsScan',
23 as HashRef[GuestOsScan()];
24  
25 declare 'VSphereScan',
26 as InstanceOf['Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::VSphereScan'];
27  
28 coerce 'VSphereScan',
29 from HashRef, via { 'Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::VSphereScan'->new($_) };
30  
31 declare 'RepeatedVSphereScan',
32 as ArrayRef[VSphereScan()];
33  
34 coerce 'RepeatedVSphereScan',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::VSphereScan'->new($_) } @$_ ] };
36  
37 declare 'MapStringVSphereScan',
38 as HashRef[VSphereScan()];
39  
40 declare 'Collector',
41 as InstanceOf['Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::Collector'];
42  
43 coerce 'Collector',
44 from HashRef, via { 'Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::Collector'->new($_) };
45  
46 declare 'RepeatedCollector',
47 as ArrayRef[Collector()];
48  
49 coerce 'RepeatedCollector',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::Collector'->new($_) } @$_ ] };
51  
52 declare 'MapStringCollector',
53 as HashRef[Collector()];
54  
55 declare 'State',
56 as (Int | Str);
57  
58 declare 'LabelsEntry',
59 as InstanceOf['Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::Collector::LabelsEntry'];
60  
61 coerce 'LabelsEntry',
62 from HashRef, via { 'Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::Collector::LabelsEntry'->new($_) };
63  
64 declare 'RepeatedLabelsEntry',
65 as ArrayRef[LabelsEntry()];
66  
67 coerce 'RepeatedLabelsEntry',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::Collector::LabelsEntry'->new($_) } @$_ ] };
69  
70 declare 'MapStringLabelsEntry',
71 as HashRef[LabelsEntry()];
72  
73 declare 'Annotation',
74 as InstanceOf['Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::Annotation'];
75  
76 coerce 'Annotation',
77 from HashRef, via { 'Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::Annotation'->new($_) };
78  
79 declare 'RepeatedAnnotation',
80 as ArrayRef[Annotation()];
81  
82 coerce 'RepeatedAnnotation',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::Annotation'->new($_) } @$_ ] };
84  
85 declare 'MapStringAnnotation',
86 as HashRef[Annotation()];
87  
88 declare 'Type',
89 as (Int | Str);
90  
91 declare 'LabelsEntry',
92 as InstanceOf['Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::Annotation::LabelsEntry'];
93  
94 coerce 'LabelsEntry',
95 from HashRef, via { 'Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::Annotation::LabelsEntry'->new($_) };
96  
97 declare 'RepeatedLabelsEntry',
98 as ArrayRef[LabelsEntry()];
99  
100 coerce 'RepeatedLabelsEntry',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Rapidmigrationassessment::V1::ApiEntities::Annotation::LabelsEntry'->new($_) } @$_ ] };
102  
103 declare 'MapStringLabelsEntry',
104 as HashRef[LabelsEntry()];
105  
106 1;
107  
108 __END__