Monitoring/V3/Notification/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::Monitoring::V3::Notification::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 'NotificationChannelDescriptor',
11 as InstanceOf['Google::Monitoring::V3::Notification::NotificationChannelDescriptor'];
12  
13 coerce 'NotificationChannelDescriptor',
14 from HashRef, via { 'Google::Monitoring::V3::Notification::NotificationChannelDescriptor'->new($_) };
15  
16 declare 'RepeatedNotificationChannelDescriptor',
17 as ArrayRef[NotificationChannelDescriptor()];
18  
19 coerce 'RepeatedNotificationChannelDescriptor',
20 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Notification::NotificationChannelDescriptor'->new($_) } @$_ ] };
21  
22 declare 'MapStringNotificationChannelDescriptor',
23 as HashRef[NotificationChannelDescriptor()];
24  
25 declare 'NotificationChannel',
26 as InstanceOf['Google::Monitoring::V3::Notification::NotificationChannel'];
27  
28 coerce 'NotificationChannel',
29 from HashRef, via { 'Google::Monitoring::V3::Notification::NotificationChannel'->new($_) };
30  
31 declare 'RepeatedNotificationChannel',
32 as ArrayRef[NotificationChannel()];
33  
34 coerce 'RepeatedNotificationChannel',
35 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Notification::NotificationChannel'->new($_) } @$_ ] };
36  
37 declare 'MapStringNotificationChannel',
38 as HashRef[NotificationChannel()];
39  
40 declare 'VerificationStatus',
41 as (Int | Str);
42  
43 declare 'LabelsEntry',
44 as InstanceOf['Google::Monitoring::V3::Notification::NotificationChannel::LabelsEntry'];
45  
46 coerce 'LabelsEntry',
47 from HashRef, via { 'Google::Monitoring::V3::Notification::NotificationChannel::LabelsEntry'->new($_) };
48  
49 declare 'RepeatedLabelsEntry',
50 as ArrayRef[LabelsEntry()];
51  
52 coerce 'RepeatedLabelsEntry',
53 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Notification::NotificationChannel::LabelsEntry'->new($_) } @$_ ] };
54  
55 declare 'MapStringLabelsEntry',
56 as HashRef[LabelsEntry()];
57  
58 declare 'UserLabelsEntry',
59 as InstanceOf['Google::Monitoring::V3::Notification::NotificationChannel::UserLabelsEntry'];
60  
61 coerce 'UserLabelsEntry',
62 from HashRef, via { 'Google::Monitoring::V3::Notification::NotificationChannel::UserLabelsEntry'->new($_) };
63  
64 declare 'RepeatedUserLabelsEntry',
65 as ArrayRef[UserLabelsEntry()];
66  
67 coerce 'RepeatedUserLabelsEntry',
68 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Notification::NotificationChannel::UserLabelsEntry'->new($_) } @$_ ] };
69  
70 declare 'MapStringUserLabelsEntry',
71 as HashRef[UserLabelsEntry()];
72  
73 1;
74  
75 __END__