Actions/Sdk/V2/Version/Types.pm untested

filter: Statementstmt 0.0% 0 / 43 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 48 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::Version::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 'Version',
11 as InstanceOf['Google::Actions::Sdk::V2::Version::Version'];
12  
13 coerce 'Version',
14 from HashRef, via { 'Google::Actions::Sdk::V2::Version::Version'->new($_) };
15  
16 declare 'RepeatedVersion',
17 as ArrayRef[Version()];
18  
19 coerce 'RepeatedVersion',
20 from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::Version::Version'->new($_) } @$_ ] };
21  
22 declare 'MapStringVersion',
23 as HashRef[Version()];
24  
25 declare 'VersionState',
26 as InstanceOf['Google::Actions::Sdk::V2::Version::Version::VersionState'];
27  
28 coerce 'VersionState',
29 from HashRef, via { 'Google::Actions::Sdk::V2::Version::Version::VersionState'->new($_) };
30  
31 declare 'RepeatedVersionState',
32 as ArrayRef[VersionState()];
33  
34 coerce 'RepeatedVersionState',
35 from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::Version::Version::VersionState'->new($_) } @$_ ] };
36  
37 declare 'MapStringVersionState',
38 as HashRef[VersionState()];
39  
40 declare 'State',
41 as (Int | Str);
42  
43 1;
44  
45 __END__