V1alpha/Vulnerability/Types.pm untested

filter: Statementstmt 0.0% 0 / 139 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 144 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::Osconfig::V1alpha::Vulnerability::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 'VulnerabilityReport',
11 as InstanceOf['Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport'];
12  
13 coerce 'VulnerabilityReport',
14 from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport'->new($_) };
15  
16 declare 'RepeatedVulnerabilityReport',
17 as ArrayRef[VulnerabilityReport()];
18  
19 coerce 'RepeatedVulnerabilityReport',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport'->new($_) } @$_ ] };
21  
22 declare 'MapStringVulnerabilityReport',
23 as HashRef[VulnerabilityReport()];
24  
25 declare 'Vulnerability',
26 as InstanceOf['Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport::Vulnerability'];
27  
28 coerce 'Vulnerability',
29 from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport::Vulnerability'->new($_) };
30  
31 declare 'RepeatedVulnerability',
32 as ArrayRef[Vulnerability()];
33  
34 coerce 'RepeatedVulnerability',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport::Vulnerability'->new($_) } @$_ ] };
36  
37 declare 'MapStringVulnerability',
38 as HashRef[Vulnerability()];
39  
40 declare 'Details',
41 as InstanceOf['Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport::Vulnerability::Details'];
42  
43 coerce 'Details',
44 from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport::Vulnerability::Details'->new($_) };
45  
46 declare 'RepeatedDetails',
47 as ArrayRef[Details()];
48  
49 coerce 'RepeatedDetails',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport::Vulnerability::Details'->new($_) } @$_ ] };
51  
52 declare 'MapStringDetails',
53 as HashRef[Details()];
54  
55 declare 'Reference',
56 as InstanceOf['Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport::Vulnerability::Details::Reference'];
57  
58 coerce 'Reference',
59 from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport::Vulnerability::Details::Reference'->new($_) };
60  
61 declare 'RepeatedReference',
62 as ArrayRef[Reference()];
63  
64 coerce 'RepeatedReference',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport::Vulnerability::Details::Reference'->new($_) } @$_ ] };
66  
67 declare 'MapStringReference',
68 as HashRef[Reference()];
69  
70 declare 'Item',
71 as InstanceOf['Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport::Vulnerability::Item'];
72  
73 coerce 'Item',
74 from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport::Vulnerability::Item'->new($_) };
75  
76 declare 'RepeatedItem',
77 as ArrayRef[Item()];
78  
79 coerce 'RepeatedItem',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::VulnerabilityReport::Vulnerability::Item'->new($_) } @$_ ] };
81  
82 declare 'MapStringItem',
83 as HashRef[Item()];
84  
85 declare 'GetVulnerabilityReportRequest',
86 as InstanceOf['Google::Cloud::Osconfig::V1alpha::Vulnerability::GetVulnerabilityReportRequest'];
87  
88 coerce 'GetVulnerabilityReportRequest',
89 from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::GetVulnerabilityReportRequest'->new($_) };
90  
91 declare 'RepeatedGetVulnerabilityReportRequest',
92 as ArrayRef[GetVulnerabilityReportRequest()];
93  
94 coerce 'RepeatedGetVulnerabilityReportRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::GetVulnerabilityReportRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringGetVulnerabilityReportRequest',
98 as HashRef[GetVulnerabilityReportRequest()];
99  
100 declare 'ListVulnerabilityReportsRequest',
101 as InstanceOf['Google::Cloud::Osconfig::V1alpha::Vulnerability::ListVulnerabilityReportsRequest'];
102  
103 coerce 'ListVulnerabilityReportsRequest',
104 from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::ListVulnerabilityReportsRequest'->new($_) };
105  
106 declare 'RepeatedListVulnerabilityReportsRequest',
107 as ArrayRef[ListVulnerabilityReportsRequest()];
108  
109 coerce 'RepeatedListVulnerabilityReportsRequest',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::ListVulnerabilityReportsRequest'->new($_) } @$_ ] };
111  
112 declare 'MapStringListVulnerabilityReportsRequest',
113 as HashRef[ListVulnerabilityReportsRequest()];
114  
115 declare 'ListVulnerabilityReportsResponse',
116 as InstanceOf['Google::Cloud::Osconfig::V1alpha::Vulnerability::ListVulnerabilityReportsResponse'];
117  
118 coerce 'ListVulnerabilityReportsResponse',
119 from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::ListVulnerabilityReportsResponse'->new($_) };
120  
121 declare 'RepeatedListVulnerabilityReportsResponse',
122 as ArrayRef[ListVulnerabilityReportsResponse()];
123  
124 coerce 'RepeatedListVulnerabilityReportsResponse',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::ListVulnerabilityReportsResponse'->new($_) } @$_ ] };
126  
127 declare 'MapStringListVulnerabilityReportsResponse',
128 as HashRef[ListVulnerabilityReportsResponse()];
129  
130 declare 'CVSSv3',
131 as InstanceOf['Google::Cloud::Osconfig::V1alpha::Vulnerability::CVSSv3'];
132  
133 coerce 'CVSSv3',
134 from HashRef, via { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::CVSSv3'->new($_) };
135  
136 declare 'RepeatedCVSSv3',
137 as ArrayRef[CVSSv3()];
138  
139 coerce 'RepeatedCVSSv3',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1alpha::Vulnerability::CVSSv3'->new($_) } @$_ ] };
141  
142 declare 'MapStringCVSSv3',
143 as HashRef[CVSSv3()];
144  
145 declare 'AttackVector',
146 as (Int | Str);
147  
148 declare 'AttackComplexity',
149 as (Int | Str);
150  
151 declare 'PrivilegesRequired',
152 as (Int | Str);
153  
154 declare 'UserInteraction',
155 as (Int | Str);
156  
157 declare 'Scope',
158 as (Int | Str);
159  
160 declare 'Impact',
161 as (Int | Str);
162  
163 1;
164  
165 __END__