V1/Deployment/Types.pm untested

filter: Statementstmt 0.0% 0 / 95 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 100 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::Ces::V1::Deployment::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 'ExperimentConfig',
11 as InstanceOf['Google::Cloud::Ces::V1::Deployment::ExperimentConfig'];
12  
13 coerce 'ExperimentConfig',
14 from HashRef, via { 'Google::Cloud::Ces::V1::Deployment::ExperimentConfig'->new($_) };
15  
16 declare 'RepeatedExperimentConfig',
17 as ArrayRef[ExperimentConfig()];
18  
19 coerce 'RepeatedExperimentConfig',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::Deployment::ExperimentConfig'->new($_) } @$_ ] };
21  
22 declare 'MapStringExperimentConfig',
23 as HashRef[ExperimentConfig()];
24  
25 declare 'State',
26 as (Int | Str);
27  
28 declare 'VersionRelease',
29 as InstanceOf['Google::Cloud::Ces::V1::Deployment::ExperimentConfig::VersionRelease'];
30  
31 coerce 'VersionRelease',
32 from HashRef, via { 'Google::Cloud::Ces::V1::Deployment::ExperimentConfig::VersionRelease'->new($_) };
33  
34 declare 'RepeatedVersionRelease',
35 as ArrayRef[VersionRelease()];
36  
37 coerce 'RepeatedVersionRelease',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::Deployment::ExperimentConfig::VersionRelease'->new($_) } @$_ ] };
39  
40 declare 'MapStringVersionRelease',
41 as HashRef[VersionRelease()];
42  
43 declare 'TrafficAllocation',
44 as InstanceOf['Google::Cloud::Ces::V1::Deployment::ExperimentConfig::VersionRelease::TrafficAllocation'];
45  
46 coerce 'TrafficAllocation',
47 from HashRef, via { 'Google::Cloud::Ces::V1::Deployment::ExperimentConfig::VersionRelease::TrafficAllocation'->new($_) };
48  
49 declare 'RepeatedTrafficAllocation',
50 as ArrayRef[TrafficAllocation()];
51  
52 coerce 'RepeatedTrafficAllocation',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::Deployment::ExperimentConfig::VersionRelease::TrafficAllocation'->new($_) } @$_ ] };
54  
55 declare 'MapStringTrafficAllocation',
56 as HashRef[TrafficAllocation()];
57  
58 declare 'Deployment',
59 as InstanceOf['Google::Cloud::Ces::V1::Deployment::Deployment'];
60  
61 coerce 'Deployment',
62 from HashRef, via { 'Google::Cloud::Ces::V1::Deployment::Deployment'->new($_) };
63  
64 declare 'RepeatedDeployment',
65 as ArrayRef[Deployment()];
66  
67 coerce 'RepeatedDeployment',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::Deployment::Deployment'->new($_) } @$_ ] };
69  
70 declare 'MapStringDeployment',
71 as HashRef[Deployment()];
72  
73 declare 'WhatsAppCredentials',
74 as InstanceOf['Google::Cloud::Ces::V1::Deployment::WhatsAppCredentials'];
75  
76 coerce 'WhatsAppCredentials',
77 from HashRef, via { 'Google::Cloud::Ces::V1::Deployment::WhatsAppCredentials'->new($_) };
78  
79 declare 'RepeatedWhatsAppCredentials',
80 as ArrayRef[WhatsAppCredentials()];
81  
82 coerce 'RepeatedWhatsAppCredentials',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::Deployment::WhatsAppCredentials'->new($_) } @$_ ] };
84  
85 declare 'MapStringWhatsAppCredentials',
86 as HashRef[WhatsAppCredentials()];
87  
88 declare 'InstagramCredentials',
89 as InstanceOf['Google::Cloud::Ces::V1::Deployment::InstagramCredentials'];
90  
91 coerce 'InstagramCredentials',
92 from HashRef, via { 'Google::Cloud::Ces::V1::Deployment::InstagramCredentials'->new($_) };
93  
94 declare 'RepeatedInstagramCredentials',
95 as ArrayRef[InstagramCredentials()];
96  
97 coerce 'RepeatedInstagramCredentials',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::Deployment::InstagramCredentials'->new($_) } @$_ ] };
99  
100 declare 'MapStringInstagramCredentials',
101 as HashRef[InstagramCredentials()];
102  
103 1;
104  
105 __END__