V2/AgentAnomaly/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::Securitycenter::V2::AgentAnomaly::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 'AgentAnomaly',
11 as InstanceOf['Google::Cloud::Securitycenter::V2::AgentAnomaly::AgentAnomaly'];
12  
13 coerce 'AgentAnomaly',
14 from HashRef, via { 'Google::Cloud::Securitycenter::V2::AgentAnomaly::AgentAnomaly'->new($_) };
15  
16 declare 'RepeatedAgentAnomaly',
17 as ArrayRef[AgentAnomaly()];
18  
19 coerce 'RepeatedAgentAnomaly',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Securitycenter::V2::AgentAnomaly::AgentAnomaly'->new($_) } @$_ ] };
21  
22 declare 'MapStringAgentAnomaly',
23 as HashRef[AgentAnomaly()];
24  
25 declare 'DetectorReference',
26 as InstanceOf['Google::Cloud::Securitycenter::V2::AgentAnomaly::DetectorReference'];
27  
28 coerce 'DetectorReference',
29 from HashRef, via { 'Google::Cloud::Securitycenter::V2::AgentAnomaly::DetectorReference'->new($_) };
30  
31 declare 'RepeatedDetectorReference',
32 as ArrayRef[DetectorReference()];
33  
34 coerce 'RepeatedDetectorReference',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Securitycenter::V2::AgentAnomaly::DetectorReference'->new($_) } @$_ ] };
36  
37 declare 'MapStringDetectorReference',
38 as HashRef[DetectorReference()];
39  
40 declare 'Severity',
41 as (Int | Str);
42  
43 declare 'InvocationReference',
44 as InstanceOf['Google::Cloud::Securitycenter::V2::AgentAnomaly::InvocationReference'];
45  
46 coerce 'InvocationReference',
47 from HashRef, via { 'Google::Cloud::Securitycenter::V2::AgentAnomaly::InvocationReference'->new($_) };
48  
49 declare 'RepeatedInvocationReference',
50 as ArrayRef[InvocationReference()];
51  
52 coerce 'RepeatedInvocationReference',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Securitycenter::V2::AgentAnomaly::InvocationReference'->new($_) } @$_ ] };
54  
55 declare 'MapStringInvocationReference',
56 as HashRef[InvocationReference()];
57  
58 1;
59  
60 __END__