V1/Feature/Types.pm untested

filter: Statementstmt 0.0% 0 / 200 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 205 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::Gkehub::V1::Feature::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 'Feature',
11 as InstanceOf['Google::Cloud::Gkehub::V1::Feature::Feature'];
12  
13 coerce 'Feature',
14 from HashRef, via { 'Google::Cloud::Gkehub::V1::Feature::Feature'->new($_) };
15  
16 declare 'RepeatedFeature',
17 as ArrayRef[Feature()];
18  
19 coerce 'RepeatedFeature',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Feature::Feature'->new($_) } @$_ ] };
21  
22 declare 'MapStringFeature',
23 as HashRef[Feature()];
24  
25 declare 'LabelsEntry',
26 as InstanceOf['Google::Cloud::Gkehub::V1::Feature::Feature::LabelsEntry'];
27  
28 coerce 'LabelsEntry',
29 from HashRef, via { 'Google::Cloud::Gkehub::V1::Feature::Feature::LabelsEntry'->new($_) };
30  
31 declare 'RepeatedLabelsEntry',
32 as ArrayRef[LabelsEntry()];
33  
34 coerce 'RepeatedLabelsEntry',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Feature::Feature::LabelsEntry'->new($_) } @$_ ] };
36  
37 declare 'MapStringLabelsEntry',
38 as HashRef[LabelsEntry()];
39  
40 declare 'MembershipSpecsEntry',
41 as InstanceOf['Google::Cloud::Gkehub::V1::Feature::Feature::MembershipSpecsEntry'];
42  
43 coerce 'MembershipSpecsEntry',
44 from HashRef, via { 'Google::Cloud::Gkehub::V1::Feature::Feature::MembershipSpecsEntry'->new($_) };
45  
46 declare 'RepeatedMembershipSpecsEntry',
47 as ArrayRef[MembershipSpecsEntry()];
48  
49 coerce 'RepeatedMembershipSpecsEntry',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Feature::Feature::MembershipSpecsEntry'->new($_) } @$_ ] };
51  
52 declare 'MapStringMembershipSpecsEntry',
53 as HashRef[MembershipSpecsEntry()];
54  
55 declare 'MembershipStatesEntry',
56 as InstanceOf['Google::Cloud::Gkehub::V1::Feature::Feature::MembershipStatesEntry'];
57  
58 coerce 'MembershipStatesEntry',
59 from HashRef, via { 'Google::Cloud::Gkehub::V1::Feature::Feature::MembershipStatesEntry'->new($_) };
60  
61 declare 'RepeatedMembershipStatesEntry',
62 as ArrayRef[MembershipStatesEntry()];
63  
64 coerce 'RepeatedMembershipStatesEntry',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Feature::Feature::MembershipStatesEntry'->new($_) } @$_ ] };
66  
67 declare 'MapStringMembershipStatesEntry',
68 as HashRef[MembershipStatesEntry()];
69  
70 declare 'ScopeSpecsEntry',
71 as InstanceOf['Google::Cloud::Gkehub::V1::Feature::Feature::ScopeSpecsEntry'];
72  
73 coerce 'ScopeSpecsEntry',
74 from HashRef, via { 'Google::Cloud::Gkehub::V1::Feature::Feature::ScopeSpecsEntry'->new($_) };
75  
76 declare 'RepeatedScopeSpecsEntry',
77 as ArrayRef[ScopeSpecsEntry()];
78  
79 coerce 'RepeatedScopeSpecsEntry',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Feature::Feature::ScopeSpecsEntry'->new($_) } @$_ ] };
81  
82 declare 'MapStringScopeSpecsEntry',
83 as HashRef[ScopeSpecsEntry()];
84  
85 declare 'ScopeStatesEntry',
86 as InstanceOf['Google::Cloud::Gkehub::V1::Feature::Feature::ScopeStatesEntry'];
87  
88 coerce 'ScopeStatesEntry',
89 from HashRef, via { 'Google::Cloud::Gkehub::V1::Feature::Feature::ScopeStatesEntry'->new($_) };
90  
91 declare 'RepeatedScopeStatesEntry',
92 as ArrayRef[ScopeStatesEntry()];
93  
94 coerce 'RepeatedScopeStatesEntry',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Feature::Feature::ScopeStatesEntry'->new($_) } @$_ ] };
96  
97 declare 'MapStringScopeStatesEntry',
98 as HashRef[ScopeStatesEntry()];
99  
100 declare 'FeatureResourceState',
101 as InstanceOf['Google::Cloud::Gkehub::V1::Feature::FeatureResourceState'];
102  
103 coerce 'FeatureResourceState',
104 from HashRef, via { 'Google::Cloud::Gkehub::V1::Feature::FeatureResourceState'->new($_) };
105  
106 declare 'RepeatedFeatureResourceState',
107 as ArrayRef[FeatureResourceState()];
108  
109 coerce 'RepeatedFeatureResourceState',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Feature::FeatureResourceState'->new($_) } @$_ ] };
111  
112 declare 'MapStringFeatureResourceState',
113 as HashRef[FeatureResourceState()];
114  
115 declare 'State',
116 as (Int | Str);
117  
118 declare 'FeatureState',
119 as InstanceOf['Google::Cloud::Gkehub::V1::Feature::FeatureState'];
120  
121 coerce 'FeatureState',
122 from HashRef, via { 'Google::Cloud::Gkehub::V1::Feature::FeatureState'->new($_) };
123  
124 declare 'RepeatedFeatureState',
125 as ArrayRef[FeatureState()];
126  
127 coerce 'RepeatedFeatureState',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Feature::FeatureState'->new($_) } @$_ ] };
129  
130 declare 'MapStringFeatureState',
131 as HashRef[FeatureState()];
132  
133 declare 'Code',
134 as (Int | Str);
135  
136 declare 'CommonFeatureSpec',
137 as InstanceOf['Google::Cloud::Gkehub::V1::Feature::CommonFeatureSpec'];
138  
139 coerce 'CommonFeatureSpec',
140 from HashRef, via { 'Google::Cloud::Gkehub::V1::Feature::CommonFeatureSpec'->new($_) };
141  
142 declare 'RepeatedCommonFeatureSpec',
143 as ArrayRef[CommonFeatureSpec()];
144  
145 coerce 'RepeatedCommonFeatureSpec',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Feature::CommonFeatureSpec'->new($_) } @$_ ] };
147  
148 declare 'MapStringCommonFeatureSpec',
149 as HashRef[CommonFeatureSpec()];
150  
151 declare 'CommonFeatureState',
152 as InstanceOf['Google::Cloud::Gkehub::V1::Feature::CommonFeatureState'];
153  
154 coerce 'CommonFeatureState',
155 from HashRef, via { 'Google::Cloud::Gkehub::V1::Feature::CommonFeatureState'->new($_) };
156  
157 declare 'RepeatedCommonFeatureState',
158 as ArrayRef[CommonFeatureState()];
159  
160 coerce 'RepeatedCommonFeatureState',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Feature::CommonFeatureState'->new($_) } @$_ ] };
162  
163 declare 'MapStringCommonFeatureState',
164 as HashRef[CommonFeatureState()];
165  
166 declare 'ScopeFeatureSpec',
167 as InstanceOf['Google::Cloud::Gkehub::V1::Feature::ScopeFeatureSpec'];
168  
169 coerce 'ScopeFeatureSpec',
170 from HashRef, via { 'Google::Cloud::Gkehub::V1::Feature::ScopeFeatureSpec'->new($_) };
171  
172 declare 'RepeatedScopeFeatureSpec',
173 as ArrayRef[ScopeFeatureSpec()];
174  
175 coerce 'RepeatedScopeFeatureSpec',
176 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Feature::ScopeFeatureSpec'->new($_) } @$_ ] };
177  
178 declare 'MapStringScopeFeatureSpec',
179 as HashRef[ScopeFeatureSpec()];
180  
181 declare 'ScopeFeatureState',
182 as InstanceOf['Google::Cloud::Gkehub::V1::Feature::ScopeFeatureState'];
183  
184 coerce 'ScopeFeatureState',
185 from HashRef, via { 'Google::Cloud::Gkehub::V1::Feature::ScopeFeatureState'->new($_) };
186  
187 declare 'RepeatedScopeFeatureState',
188 as ArrayRef[ScopeFeatureState()];
189  
190 coerce 'RepeatedScopeFeatureState',
191 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Feature::ScopeFeatureState'->new($_) } @$_ ] };
192  
193 declare 'MapStringScopeFeatureState',
194 as HashRef[ScopeFeatureState()];
195  
196 declare 'MembershipFeatureSpec',
197 as InstanceOf['Google::Cloud::Gkehub::V1::Feature::MembershipFeatureSpec'];
198  
199 coerce 'MembershipFeatureSpec',
200 from HashRef, via { 'Google::Cloud::Gkehub::V1::Feature::MembershipFeatureSpec'->new($_) };
201  
202 declare 'RepeatedMembershipFeatureSpec',
203 as ArrayRef[MembershipFeatureSpec()];
204  
205 coerce 'RepeatedMembershipFeatureSpec',
206 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Feature::MembershipFeatureSpec'->new($_) } @$_ ] };
207  
208 declare 'MapStringMembershipFeatureSpec',
209 as HashRef[MembershipFeatureSpec()];
210  
211 declare 'MembershipFeatureState',
212 as InstanceOf['Google::Cloud::Gkehub::V1::Feature::MembershipFeatureState'];
213  
214 coerce 'MembershipFeatureState',
215 from HashRef, via { 'Google::Cloud::Gkehub::V1::Feature::MembershipFeatureState'->new($_) };
216  
217 declare 'RepeatedMembershipFeatureState',
218 as ArrayRef[MembershipFeatureState()];
219  
220 coerce 'RepeatedMembershipFeatureState',
221 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Feature::MembershipFeatureState'->new($_) } @$_ ] };
222  
223 declare 'MapStringMembershipFeatureState',
224 as HashRef[MembershipFeatureState()];
225  
226 1;
227  
228 __END__