V1beta/AgentTransfers/Types.pm untested

filter: Statementstmt 0.0% 0 / 82 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 87 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::Ces::V1beta::AgentTransfers::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 'ExpressionCondition',
11 as InstanceOf['Google::Cloud::Ces::V1beta::AgentTransfers::ExpressionCondition'];
12  
13 coerce 'ExpressionCondition',
14 from HashRef, via { 'Google::Cloud::Ces::V1beta::AgentTransfers::ExpressionCondition'->new($_) };
15  
16 declare 'RepeatedExpressionCondition',
17 as ArrayRef[ExpressionCondition()];
18  
19 coerce 'RepeatedExpressionCondition',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::AgentTransfers::ExpressionCondition'->new($_) } @$_ ] };
21  
22 declare 'MapStringExpressionCondition',
23 as HashRef[ExpressionCondition()];
24  
25 declare 'PythonCodeCondition',
26 as InstanceOf['Google::Cloud::Ces::V1beta::AgentTransfers::PythonCodeCondition'];
27  
28 coerce 'PythonCodeCondition',
29 from HashRef, via { 'Google::Cloud::Ces::V1beta::AgentTransfers::PythonCodeCondition'->new($_) };
30  
31 declare 'RepeatedPythonCodeCondition',
32 as ArrayRef[PythonCodeCondition()];
33  
34 coerce 'RepeatedPythonCodeCondition',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::AgentTransfers::PythonCodeCondition'->new($_) } @$_ ] };
36  
37 declare 'MapStringPythonCodeCondition',
38 as HashRef[PythonCodeCondition()];
39  
40 declare 'TransferRule',
41 as InstanceOf['Google::Cloud::Ces::V1beta::AgentTransfers::TransferRule'];
42  
43 coerce 'TransferRule',
44 from HashRef, via { 'Google::Cloud::Ces::V1beta::AgentTransfers::TransferRule'->new($_) };
45  
46 declare 'RepeatedTransferRule',
47 as ArrayRef[TransferRule()];
48  
49 coerce 'RepeatedTransferRule',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::AgentTransfers::TransferRule'->new($_) } @$_ ] };
51  
52 declare 'MapStringTransferRule',
53 as HashRef[TransferRule()];
54  
55 declare 'Direction',
56 as (Int | Str);
57  
58 declare 'DeterministicTransfer',
59 as InstanceOf['Google::Cloud::Ces::V1beta::AgentTransfers::TransferRule::DeterministicTransfer'];
60  
61 coerce 'DeterministicTransfer',
62 from HashRef, via { 'Google::Cloud::Ces::V1beta::AgentTransfers::TransferRule::DeterministicTransfer'->new($_) };
63  
64 declare 'RepeatedDeterministicTransfer',
65 as ArrayRef[DeterministicTransfer()];
66  
67 coerce 'RepeatedDeterministicTransfer',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::AgentTransfers::TransferRule::DeterministicTransfer'->new($_) } @$_ ] };
69  
70 declare 'MapStringDeterministicTransfer',
71 as HashRef[DeterministicTransfer()];
72  
73 declare 'DisablePlannerTransfer',
74 as InstanceOf['Google::Cloud::Ces::V1beta::AgentTransfers::TransferRule::DisablePlannerTransfer'];
75  
76 coerce 'DisablePlannerTransfer',
77 from HashRef, via { 'Google::Cloud::Ces::V1beta::AgentTransfers::TransferRule::DisablePlannerTransfer'->new($_) };
78  
79 declare 'RepeatedDisablePlannerTransfer',
80 as ArrayRef[DisablePlannerTransfer()];
81  
82 coerce 'RepeatedDisablePlannerTransfer',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::AgentTransfers::TransferRule::DisablePlannerTransfer'->new($_) } @$_ ] };
84  
85 declare 'MapStringDisablePlannerTransfer',
86 as HashRef[DisablePlannerTransfer()];
87  
88 1;
89  
90 __END__