V1alpha1/StreamsResources/Types.pm untested

filter: Statementstmt 0.0% 0 / 173 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 178 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::Visionai::V1alpha1::StreamsResources::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 'Stream',
11 as InstanceOf['Google::Cloud::Visionai::V1alpha1::StreamsResources::Stream'];
12  
13 coerce 'Stream',
14 from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Stream'->new($_) };
15  
16 declare 'RepeatedStream',
17 as ArrayRef[Stream()];
18  
19 coerce 'RepeatedStream',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Stream'->new($_) } @$_ ] };
21  
22 declare 'MapStringStream',
23 as HashRef[Stream()];
24  
25 declare 'LabelsEntry',
26 as InstanceOf['Google::Cloud::Visionai::V1alpha1::StreamsResources::Stream::LabelsEntry'];
27  
28 coerce 'LabelsEntry',
29 from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Stream::LabelsEntry'->new($_) };
30  
31 declare 'RepeatedLabelsEntry',
32 as ArrayRef[LabelsEntry()];
33  
34 coerce 'RepeatedLabelsEntry',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Stream::LabelsEntry'->new($_) } @$_ ] };
36  
37 declare 'MapStringLabelsEntry',
38 as HashRef[LabelsEntry()];
39  
40 declare 'AnnotationsEntry',
41 as InstanceOf['Google::Cloud::Visionai::V1alpha1::StreamsResources::Stream::AnnotationsEntry'];
42  
43 coerce 'AnnotationsEntry',
44 from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Stream::AnnotationsEntry'->new($_) };
45  
46 declare 'RepeatedAnnotationsEntry',
47 as ArrayRef[AnnotationsEntry()];
48  
49 coerce 'RepeatedAnnotationsEntry',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Stream::AnnotationsEntry'->new($_) } @$_ ] };
51  
52 declare 'MapStringAnnotationsEntry',
53 as HashRef[AnnotationsEntry()];
54  
55 declare 'Event',
56 as InstanceOf['Google::Cloud::Visionai::V1alpha1::StreamsResources::Event'];
57  
58 coerce 'Event',
59 from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Event'->new($_) };
60  
61 declare 'RepeatedEvent',
62 as ArrayRef[Event()];
63  
64 coerce 'RepeatedEvent',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Event'->new($_) } @$_ ] };
66  
67 declare 'MapStringEvent',
68 as HashRef[Event()];
69  
70 declare 'Clock',
71 as (Int | Str);
72  
73 declare 'LabelsEntry',
74 as InstanceOf['Google::Cloud::Visionai::V1alpha1::StreamsResources::Event::LabelsEntry'];
75  
76 coerce 'LabelsEntry',
77 from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Event::LabelsEntry'->new($_) };
78  
79 declare 'RepeatedLabelsEntry',
80 as ArrayRef[LabelsEntry()];
81  
82 coerce 'RepeatedLabelsEntry',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Event::LabelsEntry'->new($_) } @$_ ] };
84  
85 declare 'MapStringLabelsEntry',
86 as HashRef[LabelsEntry()];
87  
88 declare 'AnnotationsEntry',
89 as InstanceOf['Google::Cloud::Visionai::V1alpha1::StreamsResources::Event::AnnotationsEntry'];
90  
91 coerce 'AnnotationsEntry',
92 from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Event::AnnotationsEntry'->new($_) };
93  
94 declare 'RepeatedAnnotationsEntry',
95 as ArrayRef[AnnotationsEntry()];
96  
97 coerce 'RepeatedAnnotationsEntry',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Event::AnnotationsEntry'->new($_) } @$_ ] };
99  
100 declare 'MapStringAnnotationsEntry',
101 as HashRef[AnnotationsEntry()];
102  
103 declare 'Series',
104 as InstanceOf['Google::Cloud::Visionai::V1alpha1::StreamsResources::Series'];
105  
106 coerce 'Series',
107 from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Series'->new($_) };
108  
109 declare 'RepeatedSeries',
110 as ArrayRef[Series()];
111  
112 coerce 'RepeatedSeries',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Series'->new($_) } @$_ ] };
114  
115 declare 'MapStringSeries',
116 as HashRef[Series()];
117  
118 declare 'LabelsEntry',
119 as InstanceOf['Google::Cloud::Visionai::V1alpha1::StreamsResources::Series::LabelsEntry'];
120  
121 coerce 'LabelsEntry',
122 from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Series::LabelsEntry'->new($_) };
123  
124 declare 'RepeatedLabelsEntry',
125 as ArrayRef[LabelsEntry()];
126  
127 coerce 'RepeatedLabelsEntry',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Series::LabelsEntry'->new($_) } @$_ ] };
129  
130 declare 'MapStringLabelsEntry',
131 as HashRef[LabelsEntry()];
132  
133 declare 'AnnotationsEntry',
134 as InstanceOf['Google::Cloud::Visionai::V1alpha1::StreamsResources::Series::AnnotationsEntry'];
135  
136 coerce 'AnnotationsEntry',
137 from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Series::AnnotationsEntry'->new($_) };
138  
139 declare 'RepeatedAnnotationsEntry',
140 as ArrayRef[AnnotationsEntry()];
141  
142 coerce 'RepeatedAnnotationsEntry',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Series::AnnotationsEntry'->new($_) } @$_ ] };
144  
145 declare 'MapStringAnnotationsEntry',
146 as HashRef[AnnotationsEntry()];
147  
148 declare 'Channel',
149 as InstanceOf['Google::Cloud::Visionai::V1alpha1::StreamsResources::Channel'];
150  
151 coerce 'Channel',
152 from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Channel'->new($_) };
153  
154 declare 'RepeatedChannel',
155 as ArrayRef[Channel()];
156  
157 coerce 'RepeatedChannel',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Channel'->new($_) } @$_ ] };
159  
160 declare 'MapStringChannel',
161 as HashRef[Channel()];
162  
163 declare 'LabelsEntry',
164 as InstanceOf['Google::Cloud::Visionai::V1alpha1::StreamsResources::Channel::LabelsEntry'];
165  
166 coerce 'LabelsEntry',
167 from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Channel::LabelsEntry'->new($_) };
168  
169 declare 'RepeatedLabelsEntry',
170 as ArrayRef[LabelsEntry()];
171  
172 coerce 'RepeatedLabelsEntry',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Channel::LabelsEntry'->new($_) } @$_ ] };
174  
175 declare 'MapStringLabelsEntry',
176 as HashRef[LabelsEntry()];
177  
178 declare 'AnnotationsEntry',
179 as InstanceOf['Google::Cloud::Visionai::V1alpha1::StreamsResources::Channel::AnnotationsEntry'];
180  
181 coerce 'AnnotationsEntry',
182 from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Channel::AnnotationsEntry'->new($_) };
183  
184 declare 'RepeatedAnnotationsEntry',
185 as ArrayRef[AnnotationsEntry()];
186  
187 coerce 'RepeatedAnnotationsEntry',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::StreamsResources::Channel::AnnotationsEntry'->new($_) } @$_ ] };
189  
190 declare 'MapStringAnnotationsEntry',
191 as HashRef[AnnotationsEntry()];
192  
193 1;
194  
195 __END__