V1beta/Executions/Types.pm untested

filter: Statementstmt 0.0% 0 / 109 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 114 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::Workflows::Executions::V1beta::Executions::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 'ExecutionView',
11 as (Int | Str);
12  
13 declare 'Execution',
14 as InstanceOf['Google::Cloud::Workflows::Executions::V1beta::Executions::Execution'];
15  
16 coerce 'Execution',
17 from HashRef, via { 'Google::Cloud::Workflows::Executions::V1beta::Executions::Execution'->new($_) };
18  
19 declare 'RepeatedExecution',
20 as ArrayRef[Execution()];
21  
22 coerce 'RepeatedExecution',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::Executions::V1beta::Executions::Execution'->new($_) } @$_ ] };
24  
25 declare 'MapStringExecution',
26 as HashRef[Execution()];
27  
28 declare 'State',
29 as (Int | Str);
30  
31 declare 'Error',
32 as InstanceOf['Google::Cloud::Workflows::Executions::V1beta::Executions::Execution::Error'];
33  
34 coerce 'Error',
35 from HashRef, via { 'Google::Cloud::Workflows::Executions::V1beta::Executions::Execution::Error'->new($_) };
36  
37 declare 'RepeatedError',
38 as ArrayRef[Error()];
39  
40 coerce 'RepeatedError',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::Executions::V1beta::Executions::Execution::Error'->new($_) } @$_ ] };
42  
43 declare 'MapStringError',
44 as HashRef[Error()];
45  
46 declare 'ListExecutionsRequest',
47 as InstanceOf['Google::Cloud::Workflows::Executions::V1beta::Executions::ListExecutionsRequest'];
48  
49 coerce 'ListExecutionsRequest',
50 from HashRef, via { 'Google::Cloud::Workflows::Executions::V1beta::Executions::ListExecutionsRequest'->new($_) };
51  
52 declare 'RepeatedListExecutionsRequest',
53 as ArrayRef[ListExecutionsRequest()];
54  
55 coerce 'RepeatedListExecutionsRequest',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::Executions::V1beta::Executions::ListExecutionsRequest'->new($_) } @$_ ] };
57  
58 declare 'MapStringListExecutionsRequest',
59 as HashRef[ListExecutionsRequest()];
60  
61 declare 'ListExecutionsResponse',
62 as InstanceOf['Google::Cloud::Workflows::Executions::V1beta::Executions::ListExecutionsResponse'];
63  
64 coerce 'ListExecutionsResponse',
65 from HashRef, via { 'Google::Cloud::Workflows::Executions::V1beta::Executions::ListExecutionsResponse'->new($_) };
66  
67 declare 'RepeatedListExecutionsResponse',
68 as ArrayRef[ListExecutionsResponse()];
69  
70 coerce 'RepeatedListExecutionsResponse',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::Executions::V1beta::Executions::ListExecutionsResponse'->new($_) } @$_ ] };
72  
73 declare 'MapStringListExecutionsResponse',
74 as HashRef[ListExecutionsResponse()];
75  
76 declare 'CreateExecutionRequest',
77 as InstanceOf['Google::Cloud::Workflows::Executions::V1beta::Executions::CreateExecutionRequest'];
78  
79 coerce 'CreateExecutionRequest',
80 from HashRef, via { 'Google::Cloud::Workflows::Executions::V1beta::Executions::CreateExecutionRequest'->new($_) };
81  
82 declare 'RepeatedCreateExecutionRequest',
83 as ArrayRef[CreateExecutionRequest()];
84  
85 coerce 'RepeatedCreateExecutionRequest',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::Executions::V1beta::Executions::CreateExecutionRequest'->new($_) } @$_ ] };
87  
88 declare 'MapStringCreateExecutionRequest',
89 as HashRef[CreateExecutionRequest()];
90  
91 declare 'GetExecutionRequest',
92 as InstanceOf['Google::Cloud::Workflows::Executions::V1beta::Executions::GetExecutionRequest'];
93  
94 coerce 'GetExecutionRequest',
95 from HashRef, via { 'Google::Cloud::Workflows::Executions::V1beta::Executions::GetExecutionRequest'->new($_) };
96  
97 declare 'RepeatedGetExecutionRequest',
98 as ArrayRef[GetExecutionRequest()];
99  
100 coerce 'RepeatedGetExecutionRequest',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::Executions::V1beta::Executions::GetExecutionRequest'->new($_) } @$_ ] };
102  
103 declare 'MapStringGetExecutionRequest',
104 as HashRef[GetExecutionRequest()];
105  
106 declare 'CancelExecutionRequest',
107 as InstanceOf['Google::Cloud::Workflows::Executions::V1beta::Executions::CancelExecutionRequest'];
108  
109 coerce 'CancelExecutionRequest',
110 from HashRef, via { 'Google::Cloud::Workflows::Executions::V1beta::Executions::CancelExecutionRequest'->new($_) };
111  
112 declare 'RepeatedCancelExecutionRequest',
113 as ArrayRef[CancelExecutionRequest()];
114  
115 coerce 'RepeatedCancelExecutionRequest',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::Executions::V1beta::Executions::CancelExecutionRequest'->new($_) } @$_ ] };
117  
118 declare 'MapStringCancelExecutionRequest',
119 as HashRef[CancelExecutionRequest()];
120  
121 1;
122  
123 __END__