V1/Properties/Types.pm untested

filter: Statementstmt 0.0% 0 / 70 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 75 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::Apphub::V1::Properties::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 'FunctionalType',
11 as InstanceOf['Google::Cloud::Apphub::V1::Properties::FunctionalType'];
12  
13 coerce 'FunctionalType',
14 from HashRef, via { 'Google::Cloud::Apphub::V1::Properties::FunctionalType'->new($_) };
15  
16 declare 'RepeatedFunctionalType',
17 as ArrayRef[FunctionalType()];
18  
19 coerce 'RepeatedFunctionalType',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apphub::V1::Properties::FunctionalType'->new($_) } @$_ ] };
21  
22 declare 'MapStringFunctionalType',
23 as HashRef[FunctionalType()];
24  
25 declare 'Type',
26 as (Int | Str);
27  
28 declare 'RegistrationType',
29 as InstanceOf['Google::Cloud::Apphub::V1::Properties::RegistrationType'];
30  
31 coerce 'RegistrationType',
32 from HashRef, via { 'Google::Cloud::Apphub::V1::Properties::RegistrationType'->new($_) };
33  
34 declare 'RepeatedRegistrationType',
35 as ArrayRef[RegistrationType()];
36  
37 coerce 'RepeatedRegistrationType',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apphub::V1::Properties::RegistrationType'->new($_) } @$_ ] };
39  
40 declare 'MapStringRegistrationType',
41 as HashRef[RegistrationType()];
42  
43 declare 'Type',
44 as (Int | Str);
45  
46 declare 'ExtendedMetadata',
47 as InstanceOf['Google::Cloud::Apphub::V1::Properties::ExtendedMetadata'];
48  
49 coerce 'ExtendedMetadata',
50 from HashRef, via { 'Google::Cloud::Apphub::V1::Properties::ExtendedMetadata'->new($_) };
51  
52 declare 'RepeatedExtendedMetadata',
53 as ArrayRef[ExtendedMetadata()];
54  
55 coerce 'RepeatedExtendedMetadata',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apphub::V1::Properties::ExtendedMetadata'->new($_) } @$_ ] };
57  
58 declare 'MapStringExtendedMetadata',
59 as HashRef[ExtendedMetadata()];
60  
61 declare 'Identity',
62 as InstanceOf['Google::Cloud::Apphub::V1::Properties::Identity'];
63  
64 coerce 'Identity',
65 from HashRef, via { 'Google::Cloud::Apphub::V1::Properties::Identity'->new($_) };
66  
67 declare 'RepeatedIdentity',
68 as ArrayRef[Identity()];
69  
70 coerce 'RepeatedIdentity',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apphub::V1::Properties::Identity'->new($_) } @$_ ] };
72  
73 declare 'MapStringIdentity',
74 as HashRef[Identity()];
75  
76 1;
77  
78 __END__