V4/Job/Types.pm untested

filter: Statementstmt 0.0% 0 / 81 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 86 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::V4::Job::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 'Job',
11 as InstanceOf['Google::Cloud::Talent::V4::Job::Job'];
12  
13 coerce 'Job',
14 from HashRef, via { 'Google::Cloud::Talent::V4::Job::Job'->new($_) };
15  
16 declare 'RepeatedJob',
17 as ArrayRef[Job()];
18  
19 coerce 'RepeatedJob',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4::Job::Job'->new($_) } @$_ ] };
21  
22 declare 'MapStringJob',
23 as HashRef[Job()];
24  
25 declare 'ApplicationInfo',
26 as InstanceOf['Google::Cloud::Talent::V4::Job::Job::ApplicationInfo'];
27  
28 coerce 'ApplicationInfo',
29 from HashRef, via { 'Google::Cloud::Talent::V4::Job::Job::ApplicationInfo'->new($_) };
30  
31 declare 'RepeatedApplicationInfo',
32 as ArrayRef[ApplicationInfo()];
33  
34 coerce 'RepeatedApplicationInfo',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4::Job::Job::ApplicationInfo'->new($_) } @$_ ] };
36  
37 declare 'MapStringApplicationInfo',
38 as HashRef[ApplicationInfo()];
39  
40 declare 'DerivedInfo',
41 as InstanceOf['Google::Cloud::Talent::V4::Job::Job::DerivedInfo'];
42  
43 coerce 'DerivedInfo',
44 from HashRef, via { 'Google::Cloud::Talent::V4::Job::Job::DerivedInfo'->new($_) };
45  
46 declare 'RepeatedDerivedInfo',
47 as ArrayRef[DerivedInfo()];
48  
49 coerce 'RepeatedDerivedInfo',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4::Job::Job::DerivedInfo'->new($_) } @$_ ] };
51  
52 declare 'MapStringDerivedInfo',
53 as HashRef[DerivedInfo()];
54  
55 declare 'ProcessingOptions',
56 as InstanceOf['Google::Cloud::Talent::V4::Job::Job::ProcessingOptions'];
57  
58 coerce 'ProcessingOptions',
59 from HashRef, via { 'Google::Cloud::Talent::V4::Job::Job::ProcessingOptions'->new($_) };
60  
61 declare 'RepeatedProcessingOptions',
62 as ArrayRef[ProcessingOptions()];
63  
64 coerce 'RepeatedProcessingOptions',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4::Job::Job::ProcessingOptions'->new($_) } @$_ ] };
66  
67 declare 'MapStringProcessingOptions',
68 as HashRef[ProcessingOptions()];
69  
70 declare 'CustomAttributesEntry',
71 as InstanceOf['Google::Cloud::Talent::V4::Job::Job::CustomAttributesEntry'];
72  
73 coerce 'CustomAttributesEntry',
74 from HashRef, via { 'Google::Cloud::Talent::V4::Job::Job::CustomAttributesEntry'->new($_) };
75  
76 declare 'RepeatedCustomAttributesEntry',
77 as ArrayRef[CustomAttributesEntry()];
78  
79 coerce 'RepeatedCustomAttributesEntry',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4::Job::Job::CustomAttributesEntry'->new($_) } @$_ ] };
81  
82 declare 'MapStringCustomAttributesEntry',
83 as HashRef[CustomAttributesEntry()];
84  
85 1;
86  
87 __END__