V1/Parameters/Types.pm untested

filter: Statementstmt 0.0% 0 / 94 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 99 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::Designcenter::V1::Parameters::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 'ComponentVariable',
11 as InstanceOf['Google::Cloud::Designcenter::V1::Parameters::ComponentVariable'];
12  
13 coerce 'ComponentVariable',
14 from HashRef, via { 'Google::Cloud::Designcenter::V1::Parameters::ComponentVariable'->new($_) };
15  
16 declare 'RepeatedComponentVariable',
17 as ArrayRef[ComponentVariable()];
18  
19 coerce 'RepeatedComponentVariable',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Parameters::ComponentVariable'->new($_) } @$_ ] };
21  
22 declare 'MapStringComponentVariable',
23 as HashRef[ComponentVariable()];
24  
25 declare 'SaaSRuntimeContext',
26 as InstanceOf['Google::Cloud::Designcenter::V1::Parameters::SaaSRuntimeContext'];
27  
28 coerce 'SaaSRuntimeContext',
29 from HashRef, via { 'Google::Cloud::Designcenter::V1::Parameters::SaaSRuntimeContext'->new($_) };
30  
31 declare 'RepeatedSaaSRuntimeContext',
32 as ArrayRef[SaaSRuntimeContext()];
33  
34 coerce 'RepeatedSaaSRuntimeContext',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Parameters::SaaSRuntimeContext'->new($_) } @$_ ] };
36  
37 declare 'MapStringSaaSRuntimeContext',
38 as HashRef[SaaSRuntimeContext()];
39  
40 declare 'ConnectionParameters',
41 as InstanceOf['Google::Cloud::Designcenter::V1::Parameters::ConnectionParameters'];
42  
43 coerce 'ConnectionParameters',
44 from HashRef, via { 'Google::Cloud::Designcenter::V1::Parameters::ConnectionParameters'->new($_) };
45  
46 declare 'RepeatedConnectionParameters',
47 as ArrayRef[ConnectionParameters()];
48  
49 coerce 'RepeatedConnectionParameters',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Parameters::ConnectionParameters'->new($_) } @$_ ] };
51  
52 declare 'MapStringConnectionParameters',
53 as HashRef[ConnectionParameters()];
54  
55 declare 'ComponentParameterSchema',
56 as InstanceOf['Google::Cloud::Designcenter::V1::Parameters::ComponentParameterSchema'];
57  
58 coerce 'ComponentParameterSchema',
59 from HashRef, via { 'Google::Cloud::Designcenter::V1::Parameters::ComponentParameterSchema'->new($_) };
60  
61 declare 'RepeatedComponentParameterSchema',
62 as ArrayRef[ComponentParameterSchema()];
63  
64 coerce 'RepeatedComponentParameterSchema',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Parameters::ComponentParameterSchema'->new($_) } @$_ ] };
66  
67 declare 'MapStringComponentParameterSchema',
68 as HashRef[ComponentParameterSchema()];
69  
70 declare 'Parameter',
71 as InstanceOf['Google::Cloud::Designcenter::V1::Parameters::Parameter'];
72  
73 coerce 'Parameter',
74 from HashRef, via { 'Google::Cloud::Designcenter::V1::Parameters::Parameter'->new($_) };
75  
76 declare 'RepeatedParameter',
77 as ArrayRef[Parameter()];
78  
79 coerce 'RepeatedParameter',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Parameters::Parameter'->new($_) } @$_ ] };
81  
82 declare 'MapStringParameter',
83 as HashRef[Parameter()];
84  
85 declare 'CloudControlConfig',
86 as InstanceOf['Google::Cloud::Designcenter::V1::Parameters::CloudControlConfig'];
87  
88 coerce 'CloudControlConfig',
89 from HashRef, via { 'Google::Cloud::Designcenter::V1::Parameters::CloudControlConfig'->new($_) };
90  
91 declare 'RepeatedCloudControlConfig',
92 as ArrayRef[CloudControlConfig()];
93  
94 coerce 'RepeatedCloudControlConfig',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Parameters::CloudControlConfig'->new($_) } @$_ ] };
96  
97 declare 'MapStringCloudControlConfig',
98 as HashRef[CloudControlConfig()];
99  
100 1;
101  
102 __END__