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