V1/Batch/Types.pm untested

filter: Statementstmt 0.0% 0 / 159 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 164 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::Batch::V1::Batch::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 'CreateJobRequest',
11 as InstanceOf['Google::Cloud::Batch::V1::Batch::CreateJobRequest'];
12  
13 coerce 'CreateJobRequest',
14 from HashRef, via { 'Google::Cloud::Batch::V1::Batch::CreateJobRequest'->new($_) };
15  
16 declare 'RepeatedCreateJobRequest',
17 as ArrayRef[CreateJobRequest()];
18  
19 coerce 'RepeatedCreateJobRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1::Batch::CreateJobRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringCreateJobRequest',
23 as HashRef[CreateJobRequest()];
24  
25 declare 'GetJobRequest',
26 as InstanceOf['Google::Cloud::Batch::V1::Batch::GetJobRequest'];
27  
28 coerce 'GetJobRequest',
29 from HashRef, via { 'Google::Cloud::Batch::V1::Batch::GetJobRequest'->new($_) };
30  
31 declare 'RepeatedGetJobRequest',
32 as ArrayRef[GetJobRequest()];
33  
34 coerce 'RepeatedGetJobRequest',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1::Batch::GetJobRequest'->new($_) } @$_ ] };
36  
37 declare 'MapStringGetJobRequest',
38 as HashRef[GetJobRequest()];
39  
40 declare 'DeleteJobRequest',
41 as InstanceOf['Google::Cloud::Batch::V1::Batch::DeleteJobRequest'];
42  
43 coerce 'DeleteJobRequest',
44 from HashRef, via { 'Google::Cloud::Batch::V1::Batch::DeleteJobRequest'->new($_) };
45  
46 declare 'RepeatedDeleteJobRequest',
47 as ArrayRef[DeleteJobRequest()];
48  
49 coerce 'RepeatedDeleteJobRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1::Batch::DeleteJobRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringDeleteJobRequest',
53 as HashRef[DeleteJobRequest()];
54  
55 declare 'CancelJobRequest',
56 as InstanceOf['Google::Cloud::Batch::V1::Batch::CancelJobRequest'];
57  
58 coerce 'CancelJobRequest',
59 from HashRef, via { 'Google::Cloud::Batch::V1::Batch::CancelJobRequest'->new($_) };
60  
61 declare 'RepeatedCancelJobRequest',
62 as ArrayRef[CancelJobRequest()];
63  
64 coerce 'RepeatedCancelJobRequest',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1::Batch::CancelJobRequest'->new($_) } @$_ ] };
66  
67 declare 'MapStringCancelJobRequest',
68 as HashRef[CancelJobRequest()];
69  
70 declare 'CancelJobResponse',
71 as InstanceOf['Google::Cloud::Batch::V1::Batch::CancelJobResponse'];
72  
73 coerce 'CancelJobResponse',
74 from HashRef, via { 'Google::Cloud::Batch::V1::Batch::CancelJobResponse'->new($_) };
75  
76 declare 'RepeatedCancelJobResponse',
77 as ArrayRef[CancelJobResponse()];
78  
79 coerce 'RepeatedCancelJobResponse',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1::Batch::CancelJobResponse'->new($_) } @$_ ] };
81  
82 declare 'MapStringCancelJobResponse',
83 as HashRef[CancelJobResponse()];
84  
85 declare 'ListJobsRequest',
86 as InstanceOf['Google::Cloud::Batch::V1::Batch::ListJobsRequest'];
87  
88 coerce 'ListJobsRequest',
89 from HashRef, via { 'Google::Cloud::Batch::V1::Batch::ListJobsRequest'->new($_) };
90  
91 declare 'RepeatedListJobsRequest',
92 as ArrayRef[ListJobsRequest()];
93  
94 coerce 'RepeatedListJobsRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1::Batch::ListJobsRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringListJobsRequest',
98 as HashRef[ListJobsRequest()];
99  
100 declare 'ListJobsResponse',
101 as InstanceOf['Google::Cloud::Batch::V1::Batch::ListJobsResponse'];
102  
103 coerce 'ListJobsResponse',
104 from HashRef, via { 'Google::Cloud::Batch::V1::Batch::ListJobsResponse'->new($_) };
105  
106 declare 'RepeatedListJobsResponse',
107 as ArrayRef[ListJobsResponse()];
108  
109 coerce 'RepeatedListJobsResponse',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1::Batch::ListJobsResponse'->new($_) } @$_ ] };
111  
112 declare 'MapStringListJobsResponse',
113 as HashRef[ListJobsResponse()];
114  
115 declare 'ListTasksRequest',
116 as InstanceOf['Google::Cloud::Batch::V1::Batch::ListTasksRequest'];
117  
118 coerce 'ListTasksRequest',
119 from HashRef, via { 'Google::Cloud::Batch::V1::Batch::ListTasksRequest'->new($_) };
120  
121 declare 'RepeatedListTasksRequest',
122 as ArrayRef[ListTasksRequest()];
123  
124 coerce 'RepeatedListTasksRequest',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1::Batch::ListTasksRequest'->new($_) } @$_ ] };
126  
127 declare 'MapStringListTasksRequest',
128 as HashRef[ListTasksRequest()];
129  
130 declare 'ListTasksResponse',
131 as InstanceOf['Google::Cloud::Batch::V1::Batch::ListTasksResponse'];
132  
133 coerce 'ListTasksResponse',
134 from HashRef, via { 'Google::Cloud::Batch::V1::Batch::ListTasksResponse'->new($_) };
135  
136 declare 'RepeatedListTasksResponse',
137 as ArrayRef[ListTasksResponse()];
138  
139 coerce 'RepeatedListTasksResponse',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1::Batch::ListTasksResponse'->new($_) } @$_ ] };
141  
142 declare 'MapStringListTasksResponse',
143 as HashRef[ListTasksResponse()];
144  
145 declare 'GetTaskRequest',
146 as InstanceOf['Google::Cloud::Batch::V1::Batch::GetTaskRequest'];
147  
148 coerce 'GetTaskRequest',
149 from HashRef, via { 'Google::Cloud::Batch::V1::Batch::GetTaskRequest'->new($_) };
150  
151 declare 'RepeatedGetTaskRequest',
152 as ArrayRef[GetTaskRequest()];
153  
154 coerce 'RepeatedGetTaskRequest',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1::Batch::GetTaskRequest'->new($_) } @$_ ] };
156  
157 declare 'MapStringGetTaskRequest',
158 as HashRef[GetTaskRequest()];
159  
160 declare 'OperationMetadata',
161 as InstanceOf['Google::Cloud::Batch::V1::Batch::OperationMetadata'];
162  
163 coerce 'OperationMetadata',
164 from HashRef, via { 'Google::Cloud::Batch::V1::Batch::OperationMetadata'->new($_) };
165  
166 declare 'RepeatedOperationMetadata',
167 as ArrayRef[OperationMetadata()];
168  
169 coerce 'RepeatedOperationMetadata',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1::Batch::OperationMetadata'->new($_) } @$_ ] };
171  
172 declare 'MapStringOperationMetadata',
173 as HashRef[OperationMetadata()];
174  
175 1;
176  
177 __END__