V1/Sessions/Types.pm untested

filter: Statementstmt 0.0% 0 / 186 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 191 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::Video::Stitcher::V1::Sessions::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 'VodSession',
11 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Sessions::VodSession'];
12  
13 coerce 'VodSession',
14 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Sessions::VodSession'->new($_) };
15  
16 declare 'RepeatedVodSession',
17 as ArrayRef[VodSession()];
18  
19 coerce 'RepeatedVodSession',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Sessions::VodSession'->new($_) } @$_ ] };
21  
22 declare 'MapStringVodSession',
23 as HashRef[VodSession()];
24  
25 declare 'GamSettings',
26 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Sessions::VodSession::GamSettings'];
27  
28 coerce 'GamSettings',
29 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Sessions::VodSession::GamSettings'->new($_) };
30  
31 declare 'RepeatedGamSettings',
32 as ArrayRef[GamSettings()];
33  
34 coerce 'RepeatedGamSettings',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Sessions::VodSession::GamSettings'->new($_) } @$_ ] };
36  
37 declare 'MapStringGamSettings',
38 as HashRef[GamSettings()];
39  
40 declare 'AdTagMacroMapEntry',
41 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Sessions::VodSession::AdTagMacroMapEntry'];
42  
43 coerce 'AdTagMacroMapEntry',
44 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Sessions::VodSession::AdTagMacroMapEntry'->new($_) };
45  
46 declare 'RepeatedAdTagMacroMapEntry',
47 as ArrayRef[AdTagMacroMapEntry()];
48  
49 coerce 'RepeatedAdTagMacroMapEntry',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Sessions::VodSession::AdTagMacroMapEntry'->new($_) } @$_ ] };
51  
52 declare 'MapStringAdTagMacroMapEntry',
53 as HashRef[AdTagMacroMapEntry()];
54  
55 declare 'Interstitials',
56 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Sessions::Interstitials'];
57  
58 coerce 'Interstitials',
59 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Sessions::Interstitials'->new($_) };
60  
61 declare 'RepeatedInterstitials',
62 as ArrayRef[Interstitials()];
63  
64 coerce 'RepeatedInterstitials',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Sessions::Interstitials'->new($_) } @$_ ] };
66  
67 declare 'MapStringInterstitials',
68 as HashRef[Interstitials()];
69  
70 declare 'VodSessionAd',
71 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Sessions::VodSessionAd'];
72  
73 coerce 'VodSessionAd',
74 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Sessions::VodSessionAd'->new($_) };
75  
76 declare 'RepeatedVodSessionAd',
77 as ArrayRef[VodSessionAd()];
78  
79 coerce 'RepeatedVodSessionAd',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Sessions::VodSessionAd'->new($_) } @$_ ] };
81  
82 declare 'MapStringVodSessionAd',
83 as HashRef[VodSessionAd()];
84  
85 declare 'VodSessionContent',
86 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Sessions::VodSessionContent'];
87  
88 coerce 'VodSessionContent',
89 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Sessions::VodSessionContent'->new($_) };
90  
91 declare 'RepeatedVodSessionContent',
92 as ArrayRef[VodSessionContent()];
93  
94 coerce 'RepeatedVodSessionContent',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Sessions::VodSessionContent'->new($_) } @$_ ] };
96  
97 declare 'MapStringVodSessionContent',
98 as HashRef[VodSessionContent()];
99  
100 declare 'VodSessionAdBreak',
101 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Sessions::VodSessionAdBreak'];
102  
103 coerce 'VodSessionAdBreak',
104 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Sessions::VodSessionAdBreak'->new($_) };
105  
106 declare 'RepeatedVodSessionAdBreak',
107 as ArrayRef[VodSessionAdBreak()];
108  
109 coerce 'RepeatedVodSessionAdBreak',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Sessions::VodSessionAdBreak'->new($_) } @$_ ] };
111  
112 declare 'MapStringVodSessionAdBreak',
113 as HashRef[VodSessionAdBreak()];
114  
115 declare 'LiveSession',
116 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Sessions::LiveSession'];
117  
118 coerce 'LiveSession',
119 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Sessions::LiveSession'->new($_) };
120  
121 declare 'RepeatedLiveSession',
122 as ArrayRef[LiveSession()];
123  
124 coerce 'RepeatedLiveSession',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Sessions::LiveSession'->new($_) } @$_ ] };
126  
127 declare 'MapStringLiveSession',
128 as HashRef[LiveSession()];
129  
130 declare 'GamSettings',
131 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Sessions::LiveSession::GamSettings'];
132  
133 coerce 'GamSettings',
134 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Sessions::LiveSession::GamSettings'->new($_) };
135  
136 declare 'RepeatedGamSettings',
137 as ArrayRef[GamSettings()];
138  
139 coerce 'RepeatedGamSettings',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Sessions::LiveSession::GamSettings'->new($_) } @$_ ] };
141  
142 declare 'MapStringGamSettings',
143 as HashRef[GamSettings()];
144  
145 declare 'TargetingParametersEntry',
146 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Sessions::LiveSession::GamSettings::TargetingParametersEntry'];
147  
148 coerce 'TargetingParametersEntry',
149 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Sessions::LiveSession::GamSettings::TargetingParametersEntry'->new($_) };
150  
151 declare 'RepeatedTargetingParametersEntry',
152 as ArrayRef[TargetingParametersEntry()];
153  
154 coerce 'RepeatedTargetingParametersEntry',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Sessions::LiveSession::GamSettings::TargetingParametersEntry'->new($_) } @$_ ] };
156  
157 declare 'MapStringTargetingParametersEntry',
158 as HashRef[TargetingParametersEntry()];
159  
160 declare 'AdTagMacrosEntry',
161 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Sessions::LiveSession::AdTagMacrosEntry'];
162  
163 coerce 'AdTagMacrosEntry',
164 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Sessions::LiveSession::AdTagMacrosEntry'->new($_) };
165  
166 declare 'RepeatedAdTagMacrosEntry',
167 as ArrayRef[AdTagMacrosEntry()];
168  
169 coerce 'RepeatedAdTagMacrosEntry',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Sessions::LiveSession::AdTagMacrosEntry'->new($_) } @$_ ] };
171  
172 declare 'MapStringAdTagMacrosEntry',
173 as HashRef[AdTagMacrosEntry()];
174  
175 declare 'ManifestOptions',
176 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Sessions::ManifestOptions'];
177  
178 coerce 'ManifestOptions',
179 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Sessions::ManifestOptions'->new($_) };
180  
181 declare 'RepeatedManifestOptions',
182 as ArrayRef[ManifestOptions()];
183  
184 coerce 'RepeatedManifestOptions',
185 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Sessions::ManifestOptions'->new($_) } @$_ ] };
186  
187 declare 'MapStringManifestOptions',
188 as HashRef[ManifestOptions()];
189  
190 declare 'OrderPolicy',
191 as (Int | Str);
192  
193 declare 'RenditionFilter',
194 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Sessions::RenditionFilter'];
195  
196 coerce 'RenditionFilter',
197 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Sessions::RenditionFilter'->new($_) };
198  
199 declare 'RepeatedRenditionFilter',
200 as ArrayRef[RenditionFilter()];
201  
202 coerce 'RepeatedRenditionFilter',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Sessions::RenditionFilter'->new($_) } @$_ ] };
204  
205 declare 'MapStringRenditionFilter',
206 as HashRef[RenditionFilter()];
207  
208 1;
209  
210 __END__