V4beta1/Common/Types.pm untested

filter: Statementstmt 0.0% 0 / 174 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 179 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::Common::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 'CompanySize',
11 as (Int | Str);
12  
13 declare 'JobBenefit',
14 as (Int | Str);
15  
16 declare 'DegreeType',
17 as (Int | Str);
18  
19 declare 'EmploymentType',
20 as (Int | Str);
21  
22 declare 'JobLevel',
23 as (Int | Str);
24  
25 declare 'JobCategory',
26 as (Int | Str);
27  
28 declare 'PostingRegion',
29 as (Int | Str);
30  
31 declare 'Visibility',
32 as (Int | Str);
33  
34 declare 'HtmlSanitization',
35 as (Int | Str);
36  
37 declare 'CommuteMethod',
38 as (Int | Str);
39  
40 declare 'TimestampRange',
41 as InstanceOf['Google::Cloud::Talent::V4beta1::Common::TimestampRange'];
42  
43 coerce 'TimestampRange',
44 from HashRef, via { 'Google::Cloud::Talent::V4beta1::Common::TimestampRange'->new($_) };
45  
46 declare 'RepeatedTimestampRange',
47 as ArrayRef[TimestampRange()];
48  
49 coerce 'RepeatedTimestampRange',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::Common::TimestampRange'->new($_) } @$_ ] };
51  
52 declare 'MapStringTimestampRange',
53 as HashRef[TimestampRange()];
54  
55 declare 'Location',
56 as InstanceOf['Google::Cloud::Talent::V4beta1::Common::Location'];
57  
58 coerce 'Location',
59 from HashRef, via { 'Google::Cloud::Talent::V4beta1::Common::Location'->new($_) };
60  
61 declare 'RepeatedLocation',
62 as ArrayRef[Location()];
63  
64 coerce 'RepeatedLocation',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::Common::Location'->new($_) } @$_ ] };
66  
67 declare 'MapStringLocation',
68 as HashRef[Location()];
69  
70 declare 'LocationType',
71 as (Int | Str);
72  
73 declare 'RequestMetadata',
74 as InstanceOf['Google::Cloud::Talent::V4beta1::Common::RequestMetadata'];
75  
76 coerce 'RequestMetadata',
77 from HashRef, via { 'Google::Cloud::Talent::V4beta1::Common::RequestMetadata'->new($_) };
78  
79 declare 'RepeatedRequestMetadata',
80 as ArrayRef[RequestMetadata()];
81  
82 coerce 'RepeatedRequestMetadata',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::Common::RequestMetadata'->new($_) } @$_ ] };
84  
85 declare 'MapStringRequestMetadata',
86 as HashRef[RequestMetadata()];
87  
88 declare 'ResponseMetadata',
89 as InstanceOf['Google::Cloud::Talent::V4beta1::Common::ResponseMetadata'];
90  
91 coerce 'ResponseMetadata',
92 from HashRef, via { 'Google::Cloud::Talent::V4beta1::Common::ResponseMetadata'->new($_) };
93  
94 declare 'RepeatedResponseMetadata',
95 as ArrayRef[ResponseMetadata()];
96  
97 coerce 'RepeatedResponseMetadata',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::Common::ResponseMetadata'->new($_) } @$_ ] };
99  
100 declare 'MapStringResponseMetadata',
101 as HashRef[ResponseMetadata()];
102  
103 declare 'DeviceInfo',
104 as InstanceOf['Google::Cloud::Talent::V4beta1::Common::DeviceInfo'];
105  
106 coerce 'DeviceInfo',
107 from HashRef, via { 'Google::Cloud::Talent::V4beta1::Common::DeviceInfo'->new($_) };
108  
109 declare 'RepeatedDeviceInfo',
110 as ArrayRef[DeviceInfo()];
111  
112 coerce 'RepeatedDeviceInfo',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::Common::DeviceInfo'->new($_) } @$_ ] };
114  
115 declare 'MapStringDeviceInfo',
116 as HashRef[DeviceInfo()];
117  
118 declare 'DeviceType',
119 as (Int | Str);
120  
121 declare 'CustomAttribute',
122 as InstanceOf['Google::Cloud::Talent::V4beta1::Common::CustomAttribute'];
123  
124 coerce 'CustomAttribute',
125 from HashRef, via { 'Google::Cloud::Talent::V4beta1::Common::CustomAttribute'->new($_) };
126  
127 declare 'RepeatedCustomAttribute',
128 as ArrayRef[CustomAttribute()];
129  
130 coerce 'RepeatedCustomAttribute',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::Common::CustomAttribute'->new($_) } @$_ ] };
132  
133 declare 'MapStringCustomAttribute',
134 as HashRef[CustomAttribute()];
135  
136 declare 'SpellingCorrection',
137 as InstanceOf['Google::Cloud::Talent::V4beta1::Common::SpellingCorrection'];
138  
139 coerce 'SpellingCorrection',
140 from HashRef, via { 'Google::Cloud::Talent::V4beta1::Common::SpellingCorrection'->new($_) };
141  
142 declare 'RepeatedSpellingCorrection',
143 as ArrayRef[SpellingCorrection()];
144  
145 coerce 'RepeatedSpellingCorrection',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::Common::SpellingCorrection'->new($_) } @$_ ] };
147  
148 declare 'MapStringSpellingCorrection',
149 as HashRef[SpellingCorrection()];
150  
151 declare 'CompensationInfo',
152 as InstanceOf['Google::Cloud::Talent::V4beta1::Common::CompensationInfo'];
153  
154 coerce 'CompensationInfo',
155 from HashRef, via { 'Google::Cloud::Talent::V4beta1::Common::CompensationInfo'->new($_) };
156  
157 declare 'RepeatedCompensationInfo',
158 as ArrayRef[CompensationInfo()];
159  
160 coerce 'RepeatedCompensationInfo',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::Common::CompensationInfo'->new($_) } @$_ ] };
162  
163 declare 'MapStringCompensationInfo',
164 as HashRef[CompensationInfo()];
165  
166 declare 'CompensationType',
167 as (Int | Str);
168  
169 declare 'CompensationUnit',
170 as (Int | Str);
171  
172 declare 'CompensationEntry',
173 as InstanceOf['Google::Cloud::Talent::V4beta1::Common::CompensationInfo::CompensationEntry'];
174  
175 coerce 'CompensationEntry',
176 from HashRef, via { 'Google::Cloud::Talent::V4beta1::Common::CompensationInfo::CompensationEntry'->new($_) };
177  
178 declare 'RepeatedCompensationEntry',
179 as ArrayRef[CompensationEntry()];
180  
181 coerce 'RepeatedCompensationEntry',
182 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::Common::CompensationInfo::CompensationEntry'->new($_) } @$_ ] };
183  
184 declare 'MapStringCompensationEntry',
185 as HashRef[CompensationEntry()];
186  
187 declare 'CompensationRange',
188 as InstanceOf['Google::Cloud::Talent::V4beta1::Common::CompensationInfo::CompensationRange'];
189  
190 coerce 'CompensationRange',
191 from HashRef, via { 'Google::Cloud::Talent::V4beta1::Common::CompensationInfo::CompensationRange'->new($_) };
192  
193 declare 'RepeatedCompensationRange',
194 as ArrayRef[CompensationRange()];
195  
196 coerce 'RepeatedCompensationRange',
197 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::Common::CompensationInfo::CompensationRange'->new($_) } @$_ ] };
198  
199 declare 'MapStringCompensationRange',
200 as HashRef[CompensationRange()];
201  
202 declare 'BatchOperationMetadata',
203 as InstanceOf['Google::Cloud::Talent::V4beta1::Common::BatchOperationMetadata'];
204  
205 coerce 'BatchOperationMetadata',
206 from HashRef, via { 'Google::Cloud::Talent::V4beta1::Common::BatchOperationMetadata'->new($_) };
207  
208 declare 'RepeatedBatchOperationMetadata',
209 as ArrayRef[BatchOperationMetadata()];
210  
211 coerce 'RepeatedBatchOperationMetadata',
212 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::Common::BatchOperationMetadata'->new($_) } @$_ ] };
213  
214 declare 'MapStringBatchOperationMetadata',
215 as HashRef[BatchOperationMetadata()];
216  
217 declare 'State',
218 as (Int | Str);
219  
220 1;
221  
222 __END__