V1/Appliedautoprotectionpolicy/Types.pm untested

filter: Statementstmt 0.0% 0 / 56 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 61 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::Backupdr::V1::Appliedautoprotectionpolicy::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 'AppliedAutoProtectionPolicy',
11 as InstanceOf['Google::Cloud::Backupdr::V1::Appliedautoprotectionpolicy::AppliedAutoProtectionPolicy'];
12  
13 coerce 'AppliedAutoProtectionPolicy',
14 from HashRef, via { 'Google::Cloud::Backupdr::V1::Appliedautoprotectionpolicy::AppliedAutoProtectionPolicy'->new($_) };
15  
16 declare 'RepeatedAppliedAutoProtectionPolicy',
17 as ArrayRef[AppliedAutoProtectionPolicy()];
18  
19 coerce 'RepeatedAppliedAutoProtectionPolicy',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Appliedautoprotectionpolicy::AppliedAutoProtectionPolicy'->new($_) } @$_ ] };
21  
22 declare 'MapStringAppliedAutoProtectionPolicy',
23 as HashRef[AppliedAutoProtectionPolicy()];
24  
25 declare 'State',
26 as (Int | Str);
27  
28 declare 'ListAppliedAutoProtectionPoliciesRequest',
29 as InstanceOf['Google::Cloud::Backupdr::V1::Appliedautoprotectionpolicy::ListAppliedAutoProtectionPoliciesRequest'];
30  
31 coerce 'ListAppliedAutoProtectionPoliciesRequest',
32 from HashRef, via { 'Google::Cloud::Backupdr::V1::Appliedautoprotectionpolicy::ListAppliedAutoProtectionPoliciesRequest'->new($_) };
33  
34 declare 'RepeatedListAppliedAutoProtectionPoliciesRequest',
35 as ArrayRef[ListAppliedAutoProtectionPoliciesRequest()];
36  
37 coerce 'RepeatedListAppliedAutoProtectionPoliciesRequest',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Appliedautoprotectionpolicy::ListAppliedAutoProtectionPoliciesRequest'->new($_) } @$_ ] };
39  
40 declare 'MapStringListAppliedAutoProtectionPoliciesRequest',
41 as HashRef[ListAppliedAutoProtectionPoliciesRequest()];
42  
43 declare 'ListAppliedAutoProtectionPoliciesResponse',
44 as InstanceOf['Google::Cloud::Backupdr::V1::Appliedautoprotectionpolicy::ListAppliedAutoProtectionPoliciesResponse'];
45  
46 coerce 'ListAppliedAutoProtectionPoliciesResponse',
47 from HashRef, via { 'Google::Cloud::Backupdr::V1::Appliedautoprotectionpolicy::ListAppliedAutoProtectionPoliciesResponse'->new($_) };
48  
49 declare 'RepeatedListAppliedAutoProtectionPoliciesResponse',
50 as ArrayRef[ListAppliedAutoProtectionPoliciesResponse()];
51  
52 coerce 'RepeatedListAppliedAutoProtectionPoliciesResponse',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Appliedautoprotectionpolicy::ListAppliedAutoProtectionPoliciesResponse'->new($_) } @$_ ] };
54  
55 declare 'MapStringListAppliedAutoProtectionPoliciesResponse',
56 as HashRef[ListAppliedAutoProtectionPoliciesResponse()];
57  
58 1;
59  
60 __END__