V1/BackupPlanBinding/Types.pm untested

filter: Statementstmt 0.0% 0 / 69 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 74 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::Gkebackup::V1::BackupPlanBinding::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 'BackupPlanBinding',
11 as InstanceOf['Google::Cloud::Gkebackup::V1::BackupPlanBinding::BackupPlanBinding'];
12  
13 coerce 'BackupPlanBinding',
14 from HashRef, via { 'Google::Cloud::Gkebackup::V1::BackupPlanBinding::BackupPlanBinding'->new($_) };
15  
16 declare 'RepeatedBackupPlanBinding',
17 as ArrayRef[BackupPlanBinding()];
18  
19 coerce 'RepeatedBackupPlanBinding',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkebackup::V1::BackupPlanBinding::BackupPlanBinding'->new($_) } @$_ ] };
21  
22 declare 'MapStringBackupPlanBinding',
23 as HashRef[BackupPlanBinding()];
24  
25 declare 'BackupPlanDetails',
26 as InstanceOf['Google::Cloud::Gkebackup::V1::BackupPlanBinding::BackupPlanBinding::BackupPlanDetails'];
27  
28 coerce 'BackupPlanDetails',
29 from HashRef, via { 'Google::Cloud::Gkebackup::V1::BackupPlanBinding::BackupPlanBinding::BackupPlanDetails'->new($_) };
30  
31 declare 'RepeatedBackupPlanDetails',
32 as ArrayRef[BackupPlanDetails()];
33  
34 coerce 'RepeatedBackupPlanDetails',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkebackup::V1::BackupPlanBinding::BackupPlanBinding::BackupPlanDetails'->new($_) } @$_ ] };
36  
37 declare 'MapStringBackupPlanDetails',
38 as HashRef[BackupPlanDetails()];
39  
40 declare 'State',
41 as (Int | Str);
42  
43 declare 'BackupConfigDetails',
44 as InstanceOf['Google::Cloud::Gkebackup::V1::BackupPlanBinding::BackupPlanBinding::BackupPlanDetails::BackupConfigDetails'];
45  
46 coerce 'BackupConfigDetails',
47 from HashRef, via { 'Google::Cloud::Gkebackup::V1::BackupPlanBinding::BackupPlanBinding::BackupPlanDetails::BackupConfigDetails'->new($_) };
48  
49 declare 'RepeatedBackupConfigDetails',
50 as ArrayRef[BackupConfigDetails()];
51  
52 coerce 'RepeatedBackupConfigDetails',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkebackup::V1::BackupPlanBinding::BackupPlanBinding::BackupPlanDetails::BackupConfigDetails'->new($_) } @$_ ] };
54  
55 declare 'MapStringBackupConfigDetails',
56 as HashRef[BackupConfigDetails()];
57  
58 declare 'RetentionPolicyDetails',
59 as InstanceOf['Google::Cloud::Gkebackup::V1::BackupPlanBinding::BackupPlanBinding::BackupPlanDetails::RetentionPolicyDetails'];
60  
61 coerce 'RetentionPolicyDetails',
62 from HashRef, via { 'Google::Cloud::Gkebackup::V1::BackupPlanBinding::BackupPlanBinding::BackupPlanDetails::RetentionPolicyDetails'->new($_) };
63  
64 declare 'RepeatedRetentionPolicyDetails',
65 as ArrayRef[RetentionPolicyDetails()];
66  
67 coerce 'RepeatedRetentionPolicyDetails',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkebackup::V1::BackupPlanBinding::BackupPlanBinding::BackupPlanDetails::RetentionPolicyDetails'->new($_) } @$_ ] };
69  
70 declare 'MapStringRetentionPolicyDetails',
71 as HashRef[RetentionPolicyDetails()];
72  
73 1;
74  
75 __END__