V1/Inventory/Types.pm untested

filter: Statementstmt 0.0% 0 / 146 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 151 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::Osconfig::Agentendpoint::V1::Inventory::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 'Inventory',
11 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory'];
12  
13 coerce 'Inventory',
14 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory'->new($_) };
15  
16 declare 'RepeatedInventory',
17 as ArrayRef[Inventory()];
18  
19 coerce 'RepeatedInventory',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory'->new($_) } @$_ ] };
21  
22 declare 'MapStringInventory',
23 as HashRef[Inventory()];
24  
25 declare 'OsInfo',
26 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::OsInfo'];
27  
28 coerce 'OsInfo',
29 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::OsInfo'->new($_) };
30  
31 declare 'RepeatedOsInfo',
32 as ArrayRef[OsInfo()];
33  
34 coerce 'RepeatedOsInfo',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::OsInfo'->new($_) } @$_ ] };
36  
37 declare 'MapStringOsInfo',
38 as HashRef[OsInfo()];
39  
40 declare 'SoftwarePackage',
41 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::SoftwarePackage'];
42  
43 coerce 'SoftwarePackage',
44 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::SoftwarePackage'->new($_) };
45  
46 declare 'RepeatedSoftwarePackage',
47 as ArrayRef[SoftwarePackage()];
48  
49 coerce 'RepeatedSoftwarePackage',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::SoftwarePackage'->new($_) } @$_ ] };
51  
52 declare 'MapStringSoftwarePackage',
53 as HashRef[SoftwarePackage()];
54  
55 declare 'VersionedPackage',
56 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::VersionedPackage'];
57  
58 coerce 'VersionedPackage',
59 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::VersionedPackage'->new($_) };
60  
61 declare 'RepeatedVersionedPackage',
62 as ArrayRef[VersionedPackage()];
63  
64 coerce 'RepeatedVersionedPackage',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::VersionedPackage'->new($_) } @$_ ] };
66  
67 declare 'MapStringVersionedPackage',
68 as HashRef[VersionedPackage()];
69  
70 declare 'Source',
71 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::VersionedPackage::Source'];
72  
73 coerce 'Source',
74 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::VersionedPackage::Source'->new($_) };
75  
76 declare 'RepeatedSource',
77 as ArrayRef[Source()];
78  
79 coerce 'RepeatedSource',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::VersionedPackage::Source'->new($_) } @$_ ] };
81  
82 declare 'MapStringSource',
83 as HashRef[Source()];
84  
85 declare 'ZypperPatch',
86 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::ZypperPatch'];
87  
88 coerce 'ZypperPatch',
89 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::ZypperPatch'->new($_) };
90  
91 declare 'RepeatedZypperPatch',
92 as ArrayRef[ZypperPatch()];
93  
94 coerce 'RepeatedZypperPatch',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::ZypperPatch'->new($_) } @$_ ] };
96  
97 declare 'MapStringZypperPatch',
98 as HashRef[ZypperPatch()];
99  
100 declare 'WindowsUpdatePackage',
101 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::WindowsUpdatePackage'];
102  
103 coerce 'WindowsUpdatePackage',
104 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::WindowsUpdatePackage'->new($_) };
105  
106 declare 'RepeatedWindowsUpdatePackage',
107 as ArrayRef[WindowsUpdatePackage()];
108  
109 coerce 'RepeatedWindowsUpdatePackage',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::WindowsUpdatePackage'->new($_) } @$_ ] };
111  
112 declare 'MapStringWindowsUpdatePackage',
113 as HashRef[WindowsUpdatePackage()];
114  
115 declare 'WindowsUpdateCategory',
116 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::WindowsUpdatePackage::WindowsUpdateCategory'];
117  
118 coerce 'WindowsUpdateCategory',
119 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::WindowsUpdatePackage::WindowsUpdateCategory'->new($_) };
120  
121 declare 'RepeatedWindowsUpdateCategory',
122 as ArrayRef[WindowsUpdateCategory()];
123  
124 coerce 'RepeatedWindowsUpdateCategory',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::WindowsUpdatePackage::WindowsUpdateCategory'->new($_) } @$_ ] };
126  
127 declare 'MapStringWindowsUpdateCategory',
128 as HashRef[WindowsUpdateCategory()];
129  
130 declare 'WindowsQuickFixEngineeringPackage',
131 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::WindowsQuickFixEngineeringPackage'];
132  
133 coerce 'WindowsQuickFixEngineeringPackage',
134 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::WindowsQuickFixEngineeringPackage'->new($_) };
135  
136 declare 'RepeatedWindowsQuickFixEngineeringPackage',
137 as ArrayRef[WindowsQuickFixEngineeringPackage()];
138  
139 coerce 'RepeatedWindowsQuickFixEngineeringPackage',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::WindowsQuickFixEngineeringPackage'->new($_) } @$_ ] };
141  
142 declare 'MapStringWindowsQuickFixEngineeringPackage',
143 as HashRef[WindowsQuickFixEngineeringPackage()];
144  
145 declare 'WindowsApplication',
146 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::WindowsApplication'];
147  
148 coerce 'WindowsApplication',
149 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::WindowsApplication'->new($_) };
150  
151 declare 'RepeatedWindowsApplication',
152 as ArrayRef[WindowsApplication()];
153  
154 coerce 'RepeatedWindowsApplication',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Inventory::Inventory::WindowsApplication'->new($_) } @$_ ] };
156  
157 declare 'MapStringWindowsApplication',
158 as HashRef[WindowsApplication()];
159  
160 1;
161  
162 __END__