V1/Recommendation/Types.pm untested

filter: Statementstmt 0.0% 0 / 215 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 220 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::Recommender::V1::Recommendation::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 'Recommendation',
11 as InstanceOf['Google::Cloud::Recommender::V1::Recommendation::Recommendation'];
12  
13 coerce 'Recommendation',
14 from HashRef, via { 'Google::Cloud::Recommender::V1::Recommendation::Recommendation'->new($_) };
15  
16 declare 'RepeatedRecommendation',
17 as ArrayRef[Recommendation()];
18  
19 coerce 'RepeatedRecommendation',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Recommender::V1::Recommendation::Recommendation'->new($_) } @$_ ] };
21  
22 declare 'MapStringRecommendation',
23 as HashRef[Recommendation()];
24  
25 declare 'Priority',
26 as (Int | Str);
27  
28 declare 'InsightReference',
29 as InstanceOf['Google::Cloud::Recommender::V1::Recommendation::Recommendation::InsightReference'];
30  
31 coerce 'InsightReference',
32 from HashRef, via { 'Google::Cloud::Recommender::V1::Recommendation::Recommendation::InsightReference'->new($_) };
33  
34 declare 'RepeatedInsightReference',
35 as ArrayRef[InsightReference()];
36  
37 coerce 'RepeatedInsightReference',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Recommender::V1::Recommendation::Recommendation::InsightReference'->new($_) } @$_ ] };
39  
40 declare 'MapStringInsightReference',
41 as HashRef[InsightReference()];
42  
43 declare 'RecommendationContent',
44 as InstanceOf['Google::Cloud::Recommender::V1::Recommendation::RecommendationContent'];
45  
46 coerce 'RecommendationContent',
47 from HashRef, via { 'Google::Cloud::Recommender::V1::Recommendation::RecommendationContent'->new($_) };
48  
49 declare 'RepeatedRecommendationContent',
50 as ArrayRef[RecommendationContent()];
51  
52 coerce 'RepeatedRecommendationContent',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Recommender::V1::Recommendation::RecommendationContent'->new($_) } @$_ ] };
54  
55 declare 'MapStringRecommendationContent',
56 as HashRef[RecommendationContent()];
57  
58 declare 'OperationGroup',
59 as InstanceOf['Google::Cloud::Recommender::V1::Recommendation::OperationGroup'];
60  
61 coerce 'OperationGroup',
62 from HashRef, via { 'Google::Cloud::Recommender::V1::Recommendation::OperationGroup'->new($_) };
63  
64 declare 'RepeatedOperationGroup',
65 as ArrayRef[OperationGroup()];
66  
67 coerce 'RepeatedOperationGroup',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Recommender::V1::Recommendation::OperationGroup'->new($_) } @$_ ] };
69  
70 declare 'MapStringOperationGroup',
71 as HashRef[OperationGroup()];
72  
73 declare 'Operation',
74 as InstanceOf['Google::Cloud::Recommender::V1::Recommendation::Operation'];
75  
76 coerce 'Operation',
77 from HashRef, via { 'Google::Cloud::Recommender::V1::Recommendation::Operation'->new($_) };
78  
79 declare 'RepeatedOperation',
80 as ArrayRef[Operation()];
81  
82 coerce 'RepeatedOperation',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Recommender::V1::Recommendation::Operation'->new($_) } @$_ ] };
84  
85 declare 'MapStringOperation',
86 as HashRef[Operation()];
87  
88 declare 'PathFiltersEntry',
89 as InstanceOf['Google::Cloud::Recommender::V1::Recommendation::Operation::PathFiltersEntry'];
90  
91 coerce 'PathFiltersEntry',
92 from HashRef, via { 'Google::Cloud::Recommender::V1::Recommendation::Operation::PathFiltersEntry'->new($_) };
93  
94 declare 'RepeatedPathFiltersEntry',
95 as ArrayRef[PathFiltersEntry()];
96  
97 coerce 'RepeatedPathFiltersEntry',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Recommender::V1::Recommendation::Operation::PathFiltersEntry'->new($_) } @$_ ] };
99  
100 declare 'MapStringPathFiltersEntry',
101 as HashRef[PathFiltersEntry()];
102  
103 declare 'PathValueMatchersEntry',
104 as InstanceOf['Google::Cloud::Recommender::V1::Recommendation::Operation::PathValueMatchersEntry'];
105  
106 coerce 'PathValueMatchersEntry',
107 from HashRef, via { 'Google::Cloud::Recommender::V1::Recommendation::Operation::PathValueMatchersEntry'->new($_) };
108  
109 declare 'RepeatedPathValueMatchersEntry',
110 as ArrayRef[PathValueMatchersEntry()];
111  
112 coerce 'RepeatedPathValueMatchersEntry',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Recommender::V1::Recommendation::Operation::PathValueMatchersEntry'->new($_) } @$_ ] };
114  
115 declare 'MapStringPathValueMatchersEntry',
116 as HashRef[PathValueMatchersEntry()];
117  
118 declare 'ValueMatcher',
119 as InstanceOf['Google::Cloud::Recommender::V1::Recommendation::ValueMatcher'];
120  
121 coerce 'ValueMatcher',
122 from HashRef, via { 'Google::Cloud::Recommender::V1::Recommendation::ValueMatcher'->new($_) };
123  
124 declare 'RepeatedValueMatcher',
125 as ArrayRef[ValueMatcher()];
126  
127 coerce 'RepeatedValueMatcher',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Recommender::V1::Recommendation::ValueMatcher'->new($_) } @$_ ] };
129  
130 declare 'MapStringValueMatcher',
131 as HashRef[ValueMatcher()];
132  
133 declare 'CostProjection',
134 as InstanceOf['Google::Cloud::Recommender::V1::Recommendation::CostProjection'];
135  
136 coerce 'CostProjection',
137 from HashRef, via { 'Google::Cloud::Recommender::V1::Recommendation::CostProjection'->new($_) };
138  
139 declare 'RepeatedCostProjection',
140 as ArrayRef[CostProjection()];
141  
142 coerce 'RepeatedCostProjection',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Recommender::V1::Recommendation::CostProjection'->new($_) } @$_ ] };
144  
145 declare 'MapStringCostProjection',
146 as HashRef[CostProjection()];
147  
148 declare 'SecurityProjection',
149 as InstanceOf['Google::Cloud::Recommender::V1::Recommendation::SecurityProjection'];
150  
151 coerce 'SecurityProjection',
152 from HashRef, via { 'Google::Cloud::Recommender::V1::Recommendation::SecurityProjection'->new($_) };
153  
154 declare 'RepeatedSecurityProjection',
155 as ArrayRef[SecurityProjection()];
156  
157 coerce 'RepeatedSecurityProjection',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Recommender::V1::Recommendation::SecurityProjection'->new($_) } @$_ ] };
159  
160 declare 'MapStringSecurityProjection',
161 as HashRef[SecurityProjection()];
162  
163 declare 'SustainabilityProjection',
164 as InstanceOf['Google::Cloud::Recommender::V1::Recommendation::SustainabilityProjection'];
165  
166 coerce 'SustainabilityProjection',
167 from HashRef, via { 'Google::Cloud::Recommender::V1::Recommendation::SustainabilityProjection'->new($_) };
168  
169 declare 'RepeatedSustainabilityProjection',
170 as ArrayRef[SustainabilityProjection()];
171  
172 coerce 'RepeatedSustainabilityProjection',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Recommender::V1::Recommendation::SustainabilityProjection'->new($_) } @$_ ] };
174  
175 declare 'MapStringSustainabilityProjection',
176 as HashRef[SustainabilityProjection()];
177  
178 declare 'ReliabilityProjection',
179 as InstanceOf['Google::Cloud::Recommender::V1::Recommendation::ReliabilityProjection'];
180  
181 coerce 'ReliabilityProjection',
182 from HashRef, via { 'Google::Cloud::Recommender::V1::Recommendation::ReliabilityProjection'->new($_) };
183  
184 declare 'RepeatedReliabilityProjection',
185 as ArrayRef[ReliabilityProjection()];
186  
187 coerce 'RepeatedReliabilityProjection',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Recommender::V1::Recommendation::ReliabilityProjection'->new($_) } @$_ ] };
189  
190 declare 'MapStringReliabilityProjection',
191 as HashRef[ReliabilityProjection()];
192  
193 declare 'RiskType',
194 as (Int | Str);
195  
196 declare 'Impact',
197 as InstanceOf['Google::Cloud::Recommender::V1::Recommendation::Impact'];
198  
199 coerce 'Impact',
200 from HashRef, via { 'Google::Cloud::Recommender::V1::Recommendation::Impact'->new($_) };
201  
202 declare 'RepeatedImpact',
203 as ArrayRef[Impact()];
204  
205 coerce 'RepeatedImpact',
206 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Recommender::V1::Recommendation::Impact'->new($_) } @$_ ] };
207  
208 declare 'MapStringImpact',
209 as HashRef[Impact()];
210  
211 declare 'Category',
212 as (Int | Str);
213  
214 declare 'RecommendationStateInfo',
215 as InstanceOf['Google::Cloud::Recommender::V1::Recommendation::RecommendationStateInfo'];
216  
217 coerce 'RecommendationStateInfo',
218 from HashRef, via { 'Google::Cloud::Recommender::V1::Recommendation::RecommendationStateInfo'->new($_) };
219  
220 declare 'RepeatedRecommendationStateInfo',
221 as ArrayRef[RecommendationStateInfo()];
222  
223 coerce 'RepeatedRecommendationStateInfo',
224 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Recommender::V1::Recommendation::RecommendationStateInfo'->new($_) } @$_ ] };
225  
226 declare 'MapStringRecommendationStateInfo',
227 as HashRef[RecommendationStateInfo()];
228  
229 declare 'State',
230 as (Int | Str);
231  
232 declare 'StateMetadataEntry',
233 as InstanceOf['Google::Cloud::Recommender::V1::Recommendation::RecommendationStateInfo::StateMetadataEntry'];
234  
235 coerce 'StateMetadataEntry',
236 from HashRef, via { 'Google::Cloud::Recommender::V1::Recommendation::RecommendationStateInfo::StateMetadataEntry'->new($_) };
237  
238 declare 'RepeatedStateMetadataEntry',
239 as ArrayRef[StateMetadataEntry()];
240  
241 coerce 'RepeatedStateMetadataEntry',
242 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Recommender::V1::Recommendation::RecommendationStateInfo::StateMetadataEntry'->new($_) } @$_ ] };
243  
244 declare 'MapStringStateMetadataEntry',
245 as HashRef[StateMetadataEntry()];
246  
247 1;
248  
249 __END__