Actions/Sdk/V2/Interactionmodel/Prompt/StaticMediaPrompt/Types.pm untested

filter: Statementstmt 0.0% 0 / 58 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 63 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::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 'StaticMediaPrompt',
11 as InstanceOf['Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::StaticMediaPrompt'];
12  
13 coerce 'StaticMediaPrompt',
14 from HashRef, via { 'Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::StaticMediaPrompt'->new($_) };
15  
16 declare 'RepeatedStaticMediaPrompt',
17 as ArrayRef[StaticMediaPrompt()];
18  
19 coerce 'RepeatedStaticMediaPrompt',
20 from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::StaticMediaPrompt'->new($_) } @$_ ] };
21  
22 declare 'MapStringStaticMediaPrompt',
23 as HashRef[StaticMediaPrompt()];
24  
25 declare 'MediaType',
26 as (Int | Str);
27  
28 declare 'OptionalMediaControls',
29 as (Int | Str);
30  
31 declare 'RepeatMode',
32 as (Int | Str);
33  
34 declare 'MediaObject',
35 as InstanceOf['Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::MediaObject'];
36  
37 coerce 'MediaObject',
38 from HashRef, via { 'Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::MediaObject'->new($_) };
39  
40 declare 'RepeatedMediaObject',
41 as ArrayRef[MediaObject()];
42  
43 coerce 'RepeatedMediaObject',
44 from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::MediaObject'->new($_) } @$_ ] };
45  
46 declare 'MapStringMediaObject',
47 as HashRef[MediaObject()];
48  
49 declare 'MediaImage',
50 as InstanceOf['Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::MediaImage'];
51  
52 coerce 'MediaImage',
53 from HashRef, via { 'Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::MediaImage'->new($_) };
54  
55 declare 'RepeatedMediaImage',
56 as ArrayRef[MediaImage()];
57  
58 coerce 'RepeatedMediaImage',
59 from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::MediaImage'->new($_) } @$_ ] };
60  
61 declare 'MapStringMediaImage',
62 as HashRef[MediaImage()];
63  
64 1;
65  
66 __END__