V1/ReportsService/Types.pm untested

filter: Statementstmt 0.0% 0 / 200 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 205 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::Channel::V1::ReportsService::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 'RunReportJobRequest',
11 as InstanceOf['Google::Cloud::Channel::V1::ReportsService::RunReportJobRequest'];
12  
13 coerce 'RunReportJobRequest',
14 from HashRef, via { 'Google::Cloud::Channel::V1::ReportsService::RunReportJobRequest'->new($_) };
15  
16 declare 'RepeatedRunReportJobRequest',
17 as ArrayRef[RunReportJobRequest()];
18  
19 coerce 'RepeatedRunReportJobRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Channel::V1::ReportsService::RunReportJobRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringRunReportJobRequest',
23 as HashRef[RunReportJobRequest()];
24  
25 declare 'RunReportJobResponse',
26 as InstanceOf['Google::Cloud::Channel::V1::ReportsService::RunReportJobResponse'];
27  
28 coerce 'RunReportJobResponse',
29 from HashRef, via { 'Google::Cloud::Channel::V1::ReportsService::RunReportJobResponse'->new($_) };
30  
31 declare 'RepeatedRunReportJobResponse',
32 as ArrayRef[RunReportJobResponse()];
33  
34 coerce 'RepeatedRunReportJobResponse',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Channel::V1::ReportsService::RunReportJobResponse'->new($_) } @$_ ] };
36  
37 declare 'MapStringRunReportJobResponse',
38 as HashRef[RunReportJobResponse()];
39  
40 declare 'FetchReportResultsRequest',
41 as InstanceOf['Google::Cloud::Channel::V1::ReportsService::FetchReportResultsRequest'];
42  
43 coerce 'FetchReportResultsRequest',
44 from HashRef, via { 'Google::Cloud::Channel::V1::ReportsService::FetchReportResultsRequest'->new($_) };
45  
46 declare 'RepeatedFetchReportResultsRequest',
47 as ArrayRef[FetchReportResultsRequest()];
48  
49 coerce 'RepeatedFetchReportResultsRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Channel::V1::ReportsService::FetchReportResultsRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringFetchReportResultsRequest',
53 as HashRef[FetchReportResultsRequest()];
54  
55 declare 'FetchReportResultsResponse',
56 as InstanceOf['Google::Cloud::Channel::V1::ReportsService::FetchReportResultsResponse'];
57  
58 coerce 'FetchReportResultsResponse',
59 from HashRef, via { 'Google::Cloud::Channel::V1::ReportsService::FetchReportResultsResponse'->new($_) };
60  
61 declare 'RepeatedFetchReportResultsResponse',
62 as ArrayRef[FetchReportResultsResponse()];
63  
64 coerce 'RepeatedFetchReportResultsResponse',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Channel::V1::ReportsService::FetchReportResultsResponse'->new($_) } @$_ ] };
66  
67 declare 'MapStringFetchReportResultsResponse',
68 as HashRef[FetchReportResultsResponse()];
69  
70 declare 'ListReportsRequest',
71 as InstanceOf['Google::Cloud::Channel::V1::ReportsService::ListReportsRequest'];
72  
73 coerce 'ListReportsRequest',
74 from HashRef, via { 'Google::Cloud::Channel::V1::ReportsService::ListReportsRequest'->new($_) };
75  
76 declare 'RepeatedListReportsRequest',
77 as ArrayRef[ListReportsRequest()];
78  
79 coerce 'RepeatedListReportsRequest',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Channel::V1::ReportsService::ListReportsRequest'->new($_) } @$_ ] };
81  
82 declare 'MapStringListReportsRequest',
83 as HashRef[ListReportsRequest()];
84  
85 declare 'ListReportsResponse',
86 as InstanceOf['Google::Cloud::Channel::V1::ReportsService::ListReportsResponse'];
87  
88 coerce 'ListReportsResponse',
89 from HashRef, via { 'Google::Cloud::Channel::V1::ReportsService::ListReportsResponse'->new($_) };
90  
91 declare 'RepeatedListReportsResponse',
92 as ArrayRef[ListReportsResponse()];
93  
94 coerce 'RepeatedListReportsResponse',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Channel::V1::ReportsService::ListReportsResponse'->new($_) } @$_ ] };
96  
97 declare 'MapStringListReportsResponse',
98 as HashRef[ListReportsResponse()];
99  
100 declare 'ReportJob',
101 as InstanceOf['Google::Cloud::Channel::V1::ReportsService::ReportJob'];
102  
103 coerce 'ReportJob',
104 from HashRef, via { 'Google::Cloud::Channel::V1::ReportsService::ReportJob'->new($_) };
105  
106 declare 'RepeatedReportJob',
107 as ArrayRef[ReportJob()];
108  
109 coerce 'RepeatedReportJob',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Channel::V1::ReportsService::ReportJob'->new($_) } @$_ ] };
111  
112 declare 'MapStringReportJob',
113 as HashRef[ReportJob()];
114  
115 declare 'ReportResultsMetadata',
116 as InstanceOf['Google::Cloud::Channel::V1::ReportsService::ReportResultsMetadata'];
117  
118 coerce 'ReportResultsMetadata',
119 from HashRef, via { 'Google::Cloud::Channel::V1::ReportsService::ReportResultsMetadata'->new($_) };
120  
121 declare 'RepeatedReportResultsMetadata',
122 as ArrayRef[ReportResultsMetadata()];
123  
124 coerce 'RepeatedReportResultsMetadata',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Channel::V1::ReportsService::ReportResultsMetadata'->new($_) } @$_ ] };
126  
127 declare 'MapStringReportResultsMetadata',
128 as HashRef[ReportResultsMetadata()];
129  
130 declare 'Column',
131 as InstanceOf['Google::Cloud::Channel::V1::ReportsService::Column'];
132  
133 coerce 'Column',
134 from HashRef, via { 'Google::Cloud::Channel::V1::ReportsService::Column'->new($_) };
135  
136 declare 'RepeatedColumn',
137 as ArrayRef[Column()];
138  
139 coerce 'RepeatedColumn',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Channel::V1::ReportsService::Column'->new($_) } @$_ ] };
141  
142 declare 'MapStringColumn',
143 as HashRef[Column()];
144  
145 declare 'DataType',
146 as (Int | Str);
147  
148 declare 'DateRange',
149 as InstanceOf['Google::Cloud::Channel::V1::ReportsService::DateRange'];
150  
151 coerce 'DateRange',
152 from HashRef, via { 'Google::Cloud::Channel::V1::ReportsService::DateRange'->new($_) };
153  
154 declare 'RepeatedDateRange',
155 as ArrayRef[DateRange()];
156  
157 coerce 'RepeatedDateRange',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Channel::V1::ReportsService::DateRange'->new($_) } @$_ ] };
159  
160 declare 'MapStringDateRange',
161 as HashRef[DateRange()];
162  
163 declare 'Row',
164 as InstanceOf['Google::Cloud::Channel::V1::ReportsService::Row'];
165  
166 coerce 'Row',
167 from HashRef, via { 'Google::Cloud::Channel::V1::ReportsService::Row'->new($_) };
168  
169 declare 'RepeatedRow',
170 as ArrayRef[Row()];
171  
172 coerce 'RepeatedRow',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Channel::V1::ReportsService::Row'->new($_) } @$_ ] };
174  
175 declare 'MapStringRow',
176 as HashRef[Row()];
177  
178 declare 'ReportValue',
179 as InstanceOf['Google::Cloud::Channel::V1::ReportsService::ReportValue'];
180  
181 coerce 'ReportValue',
182 from HashRef, via { 'Google::Cloud::Channel::V1::ReportsService::ReportValue'->new($_) };
183  
184 declare 'RepeatedReportValue',
185 as ArrayRef[ReportValue()];
186  
187 coerce 'RepeatedReportValue',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Channel::V1::ReportsService::ReportValue'->new($_) } @$_ ] };
189  
190 declare 'MapStringReportValue',
191 as HashRef[ReportValue()];
192  
193 declare 'ReportStatus',
194 as InstanceOf['Google::Cloud::Channel::V1::ReportsService::ReportStatus'];
195  
196 coerce 'ReportStatus',
197 from HashRef, via { 'Google::Cloud::Channel::V1::ReportsService::ReportStatus'->new($_) };
198  
199 declare 'RepeatedReportStatus',
200 as ArrayRef[ReportStatus()];
201  
202 coerce 'RepeatedReportStatus',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Channel::V1::ReportsService::ReportStatus'->new($_) } @$_ ] };
204  
205 declare 'MapStringReportStatus',
206 as HashRef[ReportStatus()];
207  
208 declare 'State',
209 as (Int | Str);
210  
211 declare 'Report',
212 as InstanceOf['Google::Cloud::Channel::V1::ReportsService::Report'];
213  
214 coerce 'Report',
215 from HashRef, via { 'Google::Cloud::Channel::V1::ReportsService::Report'->new($_) };
216  
217 declare 'RepeatedReport',
218 as ArrayRef[Report()];
219  
220 coerce 'RepeatedReport',
221 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Channel::V1::ReportsService::Report'->new($_) } @$_ ] };
222  
223 declare 'MapStringReport',
224 as HashRef[Report()];
225  
226 1;
227  
228 __END__