V1/Companions/Types.pm untested

filter: Statementstmt 0.0% 0 / 82 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 87 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::Companions::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 'CompanionAds',
11 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Companions::CompanionAds'];
12  
13 coerce 'CompanionAds',
14 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Companions::CompanionAds'->new($_) };
15  
16 declare 'RepeatedCompanionAds',
17 as ArrayRef[CompanionAds()];
18  
19 coerce 'RepeatedCompanionAds',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Companions::CompanionAds'->new($_) } @$_ ] };
21  
22 declare 'MapStringCompanionAds',
23 as HashRef[CompanionAds()];
24  
25 declare 'DisplayRequirement',
26 as (Int | Str);
27  
28 declare 'Companion',
29 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Companions::Companion'];
30  
31 coerce 'Companion',
32 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Companions::Companion'->new($_) };
33  
34 declare 'RepeatedCompanion',
35 as ArrayRef[Companion()];
36  
37 coerce 'RepeatedCompanion',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Companions::Companion'->new($_) } @$_ ] };
39  
40 declare 'MapStringCompanion',
41 as HashRef[Companion()];
42  
43 declare 'HtmlAdResource',
44 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Companions::HtmlAdResource'];
45  
46 coerce 'HtmlAdResource',
47 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Companions::HtmlAdResource'->new($_) };
48  
49 declare 'RepeatedHtmlAdResource',
50 as ArrayRef[HtmlAdResource()];
51  
52 coerce 'RepeatedHtmlAdResource',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Companions::HtmlAdResource'->new($_) } @$_ ] };
54  
55 declare 'MapStringHtmlAdResource',
56 as HashRef[HtmlAdResource()];
57  
58 declare 'IframeAdResource',
59 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Companions::IframeAdResource'];
60  
61 coerce 'IframeAdResource',
62 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Companions::IframeAdResource'->new($_) };
63  
64 declare 'RepeatedIframeAdResource',
65 as ArrayRef[IframeAdResource()];
66  
67 coerce 'RepeatedIframeAdResource',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Companions::IframeAdResource'->new($_) } @$_ ] };
69  
70 declare 'MapStringIframeAdResource',
71 as HashRef[IframeAdResource()];
72  
73 declare 'StaticAdResource',
74 as InstanceOf['Google::Cloud::Video::Stitcher::V1::Companions::StaticAdResource'];
75  
76 coerce 'StaticAdResource',
77 from HashRef, via { 'Google::Cloud::Video::Stitcher::V1::Companions::StaticAdResource'->new($_) };
78  
79 declare 'RepeatedStaticAdResource',
80 as ArrayRef[StaticAdResource()];
81  
82 coerce 'RepeatedStaticAdResource',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Stitcher::V1::Companions::StaticAdResource'->new($_) } @$_ ] };
84  
85 declare 'MapStringStaticAdResource',
86 as HashRef[StaticAdResource()];
87  
88 1;
89  
90 __END__