V1beta/Maintenance/Types.pm untested

filter: Statementstmt 0.0% 0 / 71 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 76 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::Databasecenter::V1beta::Maintenance::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 'Phase',
11 as (Int | Str);
12  
13 declare 'MaintenanceState',
14 as (Int | Str);
15  
16 declare 'PossibleFailureReason',
17 as (Int | Str);
18  
19 declare 'ResourceMaintenanceSchedule',
20 as InstanceOf['Google::Cloud::Databasecenter::V1beta::Maintenance::ResourceMaintenanceSchedule'];
21  
22 coerce 'ResourceMaintenanceSchedule',
23 from HashRef, via { 'Google::Cloud::Databasecenter::V1beta::Maintenance::ResourceMaintenanceSchedule'->new($_) };
24  
25 declare 'RepeatedResourceMaintenanceSchedule',
26 as ArrayRef[ResourceMaintenanceSchedule()];
27  
28 coerce 'RepeatedResourceMaintenanceSchedule',
29 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Databasecenter::V1beta::Maintenance::ResourceMaintenanceSchedule'->new($_) } @$_ ] };
30  
31 declare 'MapStringResourceMaintenanceSchedule',
32 as HashRef[ResourceMaintenanceSchedule()];
33  
34 declare 'ResourceMaintenanceDenySchedule',
35 as InstanceOf['Google::Cloud::Databasecenter::V1beta::Maintenance::ResourceMaintenanceDenySchedule'];
36  
37 coerce 'ResourceMaintenanceDenySchedule',
38 from HashRef, via { 'Google::Cloud::Databasecenter::V1beta::Maintenance::ResourceMaintenanceDenySchedule'->new($_) };
39  
40 declare 'RepeatedResourceMaintenanceDenySchedule',
41 as ArrayRef[ResourceMaintenanceDenySchedule()];
42  
43 coerce 'RepeatedResourceMaintenanceDenySchedule',
44 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Databasecenter::V1beta::Maintenance::ResourceMaintenanceDenySchedule'->new($_) } @$_ ] };
45  
46 declare 'MapStringResourceMaintenanceDenySchedule',
47 as HashRef[ResourceMaintenanceDenySchedule()];
48  
49 declare 'UpcomingMaintenance',
50 as InstanceOf['Google::Cloud::Databasecenter::V1beta::Maintenance::UpcomingMaintenance'];
51  
52 coerce 'UpcomingMaintenance',
53 from HashRef, via { 'Google::Cloud::Databasecenter::V1beta::Maintenance::UpcomingMaintenance'->new($_) };
54  
55 declare 'RepeatedUpcomingMaintenance',
56 as ArrayRef[UpcomingMaintenance()];
57  
58 coerce 'RepeatedUpcomingMaintenance',
59 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Databasecenter::V1beta::Maintenance::UpcomingMaintenance'->new($_) } @$_ ] };
60  
61 declare 'MapStringUpcomingMaintenance',
62 as HashRef[UpcomingMaintenance()];
63  
64 declare 'MaintenanceInfo',
65 as InstanceOf['Google::Cloud::Databasecenter::V1beta::Maintenance::MaintenanceInfo'];
66  
67 coerce 'MaintenanceInfo',
68 from HashRef, via { 'Google::Cloud::Databasecenter::V1beta::Maintenance::MaintenanceInfo'->new($_) };
69  
70 declare 'RepeatedMaintenanceInfo',
71 as ArrayRef[MaintenanceInfo()];
72  
73 coerce 'RepeatedMaintenanceInfo',
74 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Databasecenter::V1beta::Maintenance::MaintenanceInfo'->new($_) } @$_ ] };
75  
76 declare 'MapStringMaintenanceInfo',
77 as HashRef[MaintenanceInfo()];
78  
79 1;
80  
81 __END__