V4beta1/JobService/Types.pm untested

filter: Statementstmt 0.0% 0 / 230 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 235 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::Talent::V4beta1::JobService::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 'JobView',
11 as (Int | Str);
12  
13 declare 'CreateJobRequest',
14 as InstanceOf['Google::Cloud::Talent::V4beta1::JobService::CreateJobRequest'];
15  
16 coerce 'CreateJobRequest',
17 from HashRef, via { 'Google::Cloud::Talent::V4beta1::JobService::CreateJobRequest'->new($_) };
18  
19 declare 'RepeatedCreateJobRequest',
20 as ArrayRef[CreateJobRequest()];
21  
22 coerce 'RepeatedCreateJobRequest',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::JobService::CreateJobRequest'->new($_) } @$_ ] };
24  
25 declare 'MapStringCreateJobRequest',
26 as HashRef[CreateJobRequest()];
27  
28 declare 'GetJobRequest',
29 as InstanceOf['Google::Cloud::Talent::V4beta1::JobService::GetJobRequest'];
30  
31 coerce 'GetJobRequest',
32 from HashRef, via { 'Google::Cloud::Talent::V4beta1::JobService::GetJobRequest'->new($_) };
33  
34 declare 'RepeatedGetJobRequest',
35 as ArrayRef[GetJobRequest()];
36  
37 coerce 'RepeatedGetJobRequest',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::JobService::GetJobRequest'->new($_) } @$_ ] };
39  
40 declare 'MapStringGetJobRequest',
41 as HashRef[GetJobRequest()];
42  
43 declare 'UpdateJobRequest',
44 as InstanceOf['Google::Cloud::Talent::V4beta1::JobService::UpdateJobRequest'];
45  
46 coerce 'UpdateJobRequest',
47 from HashRef, via { 'Google::Cloud::Talent::V4beta1::JobService::UpdateJobRequest'->new($_) };
48  
49 declare 'RepeatedUpdateJobRequest',
50 as ArrayRef[UpdateJobRequest()];
51  
52 coerce 'RepeatedUpdateJobRequest',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::JobService::UpdateJobRequest'->new($_) } @$_ ] };
54  
55 declare 'MapStringUpdateJobRequest',
56 as HashRef[UpdateJobRequest()];
57  
58 declare 'DeleteJobRequest',
59 as InstanceOf['Google::Cloud::Talent::V4beta1::JobService::DeleteJobRequest'];
60  
61 coerce 'DeleteJobRequest',
62 from HashRef, via { 'Google::Cloud::Talent::V4beta1::JobService::DeleteJobRequest'->new($_) };
63  
64 declare 'RepeatedDeleteJobRequest',
65 as ArrayRef[DeleteJobRequest()];
66  
67 coerce 'RepeatedDeleteJobRequest',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::JobService::DeleteJobRequest'->new($_) } @$_ ] };
69  
70 declare 'MapStringDeleteJobRequest',
71 as HashRef[DeleteJobRequest()];
72  
73 declare 'BatchDeleteJobsRequest',
74 as InstanceOf['Google::Cloud::Talent::V4beta1::JobService::BatchDeleteJobsRequest'];
75  
76 coerce 'BatchDeleteJobsRequest',
77 from HashRef, via { 'Google::Cloud::Talent::V4beta1::JobService::BatchDeleteJobsRequest'->new($_) };
78  
79 declare 'RepeatedBatchDeleteJobsRequest',
80 as ArrayRef[BatchDeleteJobsRequest()];
81  
82 coerce 'RepeatedBatchDeleteJobsRequest',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::JobService::BatchDeleteJobsRequest'->new($_) } @$_ ] };
84  
85 declare 'MapStringBatchDeleteJobsRequest',
86 as HashRef[BatchDeleteJobsRequest()];
87  
88 declare 'ListJobsRequest',
89 as InstanceOf['Google::Cloud::Talent::V4beta1::JobService::ListJobsRequest'];
90  
91 coerce 'ListJobsRequest',
92 from HashRef, via { 'Google::Cloud::Talent::V4beta1::JobService::ListJobsRequest'->new($_) };
93  
94 declare 'RepeatedListJobsRequest',
95 as ArrayRef[ListJobsRequest()];
96  
97 coerce 'RepeatedListJobsRequest',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::JobService::ListJobsRequest'->new($_) } @$_ ] };
99  
100 declare 'MapStringListJobsRequest',
101 as HashRef[ListJobsRequest()];
102  
103 declare 'ListJobsResponse',
104 as InstanceOf['Google::Cloud::Talent::V4beta1::JobService::ListJobsResponse'];
105  
106 coerce 'ListJobsResponse',
107 from HashRef, via { 'Google::Cloud::Talent::V4beta1::JobService::ListJobsResponse'->new($_) };
108  
109 declare 'RepeatedListJobsResponse',
110 as ArrayRef[ListJobsResponse()];
111  
112 coerce 'RepeatedListJobsResponse',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::JobService::ListJobsResponse'->new($_) } @$_ ] };
114  
115 declare 'MapStringListJobsResponse',
116 as HashRef[ListJobsResponse()];
117  
118 declare 'SearchJobsRequest',
119 as InstanceOf['Google::Cloud::Talent::V4beta1::JobService::SearchJobsRequest'];
120  
121 coerce 'SearchJobsRequest',
122 from HashRef, via { 'Google::Cloud::Talent::V4beta1::JobService::SearchJobsRequest'->new($_) };
123  
124 declare 'RepeatedSearchJobsRequest',
125 as ArrayRef[SearchJobsRequest()];
126  
127 coerce 'RepeatedSearchJobsRequest',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::JobService::SearchJobsRequest'->new($_) } @$_ ] };
129  
130 declare 'MapStringSearchJobsRequest',
131 as HashRef[SearchJobsRequest()];
132  
133 declare 'SearchMode',
134 as (Int | Str);
135  
136 declare 'DiversificationLevel',
137 as (Int | Str);
138  
139 declare 'KeywordMatchMode',
140 as (Int | Str);
141  
142 declare 'RelevanceThreshold',
143 as (Int | Str);
144  
145 declare 'CustomRankingInfo',
146 as InstanceOf['Google::Cloud::Talent::V4beta1::JobService::SearchJobsRequest::CustomRankingInfo'];
147  
148 coerce 'CustomRankingInfo',
149 from HashRef, via { 'Google::Cloud::Talent::V4beta1::JobService::SearchJobsRequest::CustomRankingInfo'->new($_) };
150  
151 declare 'RepeatedCustomRankingInfo',
152 as ArrayRef[CustomRankingInfo()];
153  
154 coerce 'RepeatedCustomRankingInfo',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::JobService::SearchJobsRequest::CustomRankingInfo'->new($_) } @$_ ] };
156  
157 declare 'MapStringCustomRankingInfo',
158 as HashRef[CustomRankingInfo()];
159  
160 declare 'ImportanceLevel',
161 as (Int | Str);
162  
163 declare 'SearchJobsResponse',
164 as InstanceOf['Google::Cloud::Talent::V4beta1::JobService::SearchJobsResponse'];
165  
166 coerce 'SearchJobsResponse',
167 from HashRef, via { 'Google::Cloud::Talent::V4beta1::JobService::SearchJobsResponse'->new($_) };
168  
169 declare 'RepeatedSearchJobsResponse',
170 as ArrayRef[SearchJobsResponse()];
171  
172 coerce 'RepeatedSearchJobsResponse',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::JobService::SearchJobsResponse'->new($_) } @$_ ] };
174  
175 declare 'MapStringSearchJobsResponse',
176 as HashRef[SearchJobsResponse()];
177  
178 declare 'MatchingJob',
179 as InstanceOf['Google::Cloud::Talent::V4beta1::JobService::SearchJobsResponse::MatchingJob'];
180  
181 coerce 'MatchingJob',
182 from HashRef, via { 'Google::Cloud::Talent::V4beta1::JobService::SearchJobsResponse::MatchingJob'->new($_) };
183  
184 declare 'RepeatedMatchingJob',
185 as ArrayRef[MatchingJob()];
186  
187 coerce 'RepeatedMatchingJob',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::JobService::SearchJobsResponse::MatchingJob'->new($_) } @$_ ] };
189  
190 declare 'MapStringMatchingJob',
191 as HashRef[MatchingJob()];
192  
193 declare 'CommuteInfo',
194 as InstanceOf['Google::Cloud::Talent::V4beta1::JobService::SearchJobsResponse::CommuteInfo'];
195  
196 coerce 'CommuteInfo',
197 from HashRef, via { 'Google::Cloud::Talent::V4beta1::JobService::SearchJobsResponse::CommuteInfo'->new($_) };
198  
199 declare 'RepeatedCommuteInfo',
200 as ArrayRef[CommuteInfo()];
201  
202 coerce 'RepeatedCommuteInfo',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::JobService::SearchJobsResponse::CommuteInfo'->new($_) } @$_ ] };
204  
205 declare 'MapStringCommuteInfo',
206 as HashRef[CommuteInfo()];
207  
208 declare 'BatchCreateJobsRequest',
209 as InstanceOf['Google::Cloud::Talent::V4beta1::JobService::BatchCreateJobsRequest'];
210  
211 coerce 'BatchCreateJobsRequest',
212 from HashRef, via { 'Google::Cloud::Talent::V4beta1::JobService::BatchCreateJobsRequest'->new($_) };
213  
214 declare 'RepeatedBatchCreateJobsRequest',
215 as ArrayRef[BatchCreateJobsRequest()];
216  
217 coerce 'RepeatedBatchCreateJobsRequest',
218 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::JobService::BatchCreateJobsRequest'->new($_) } @$_ ] };
219  
220 declare 'MapStringBatchCreateJobsRequest',
221 as HashRef[BatchCreateJobsRequest()];
222  
223 declare 'BatchUpdateJobsRequest',
224 as InstanceOf['Google::Cloud::Talent::V4beta1::JobService::BatchUpdateJobsRequest'];
225  
226 coerce 'BatchUpdateJobsRequest',
227 from HashRef, via { 'Google::Cloud::Talent::V4beta1::JobService::BatchUpdateJobsRequest'->new($_) };
228  
229 declare 'RepeatedBatchUpdateJobsRequest',
230 as ArrayRef[BatchUpdateJobsRequest()];
231  
232 coerce 'RepeatedBatchUpdateJobsRequest',
233 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::JobService::BatchUpdateJobsRequest'->new($_) } @$_ ] };
234  
235 declare 'MapStringBatchUpdateJobsRequest',
236 as HashRef[BatchUpdateJobsRequest()];
237  
238 declare 'JobOperationResult',
239 as InstanceOf['Google::Cloud::Talent::V4beta1::JobService::JobOperationResult'];
240  
241 coerce 'JobOperationResult',
242 from HashRef, via { 'Google::Cloud::Talent::V4beta1::JobService::JobOperationResult'->new($_) };
243  
244 declare 'RepeatedJobOperationResult',
245 as ArrayRef[JobOperationResult()];
246  
247 coerce 'RepeatedJobOperationResult',
248 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::JobService::JobOperationResult'->new($_) } @$_ ] };
249  
250 declare 'MapStringJobOperationResult',
251 as HashRef[JobOperationResult()];
252  
253 declare 'JobResult',
254 as InstanceOf['Google::Cloud::Talent::V4beta1::JobService::JobOperationResult::JobResult'];
255  
256 coerce 'JobResult',
257 from HashRef, via { 'Google::Cloud::Talent::V4beta1::JobService::JobOperationResult::JobResult'->new($_) };
258  
259 declare 'RepeatedJobResult',
260 as ArrayRef[JobResult()];
261  
262 coerce 'RepeatedJobResult',
263 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::JobService::JobOperationResult::JobResult'->new($_) } @$_ ] };
264  
265 declare 'MapStringJobResult',
266 as HashRef[JobResult()];
267  
268 1;
269  
270 __END__