V3/Fulfillment/Types.pm untested

filter: Statementstmt 0.0% 0 / 107 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 112 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::Dialogflow::Cx::V3::Fulfillment::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 'Fulfillment',
11 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment'];
12  
13 coerce 'Fulfillment',
14 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment'->new($_) };
15  
16 declare 'RepeatedFulfillment',
17 as ArrayRef[Fulfillment()];
18  
19 coerce 'RepeatedFulfillment',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment'->new($_) } @$_ ] };
21  
22 declare 'MapStringFulfillment',
23 as HashRef[Fulfillment()];
24  
25 declare 'SetParameterAction',
26 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::SetParameterAction'];
27  
28 coerce 'SetParameterAction',
29 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::SetParameterAction'->new($_) };
30  
31 declare 'RepeatedSetParameterAction',
32 as ArrayRef[SetParameterAction()];
33  
34 coerce 'RepeatedSetParameterAction',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::SetParameterAction'->new($_) } @$_ ] };
36  
37 declare 'MapStringSetParameterAction',
38 as HashRef[SetParameterAction()];
39  
40 declare 'ConditionalCases',
41 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::ConditionalCases'];
42  
43 coerce 'ConditionalCases',
44 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::ConditionalCases'->new($_) };
45  
46 declare 'RepeatedConditionalCases',
47 as ArrayRef[ConditionalCases()];
48  
49 coerce 'RepeatedConditionalCases',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::ConditionalCases'->new($_) } @$_ ] };
51  
52 declare 'MapStringConditionalCases',
53 as HashRef[ConditionalCases()];
54  
55 declare 'Case',
56 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::ConditionalCases::Case'];
57  
58 coerce 'Case',
59 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::ConditionalCases::Case'->new($_) };
60  
61 declare 'RepeatedCase',
62 as ArrayRef[Case()];
63  
64 coerce 'RepeatedCase',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::ConditionalCases::Case'->new($_) } @$_ ] };
66  
67 declare 'MapStringCase',
68 as HashRef[Case()];
69  
70 declare 'CaseContent',
71 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::ConditionalCases::Case::CaseContent'];
72  
73 coerce 'CaseContent',
74 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::ConditionalCases::Case::CaseContent'->new($_) };
75  
76 declare 'RepeatedCaseContent',
77 as ArrayRef[CaseContent()];
78  
79 coerce 'RepeatedCaseContent',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::ConditionalCases::Case::CaseContent'->new($_) } @$_ ] };
81  
82 declare 'MapStringCaseContent',
83 as HashRef[CaseContent()];
84  
85 declare 'GeneratorSettings',
86 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::GeneratorSettings'];
87  
88 coerce 'GeneratorSettings',
89 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::GeneratorSettings'->new($_) };
90  
91 declare 'RepeatedGeneratorSettings',
92 as ArrayRef[GeneratorSettings()];
93  
94 coerce 'RepeatedGeneratorSettings',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::GeneratorSettings'->new($_) } @$_ ] };
96  
97 declare 'MapStringGeneratorSettings',
98 as HashRef[GeneratorSettings()];
99  
100 declare 'InputParametersEntry',
101 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::GeneratorSettings::InputParametersEntry'];
102  
103 coerce 'InputParametersEntry',
104 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::GeneratorSettings::InputParametersEntry'->new($_) };
105  
106 declare 'RepeatedInputParametersEntry',
107 as ArrayRef[InputParametersEntry()];
108  
109 coerce 'RepeatedInputParametersEntry',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Fulfillment::Fulfillment::GeneratorSettings::InputParametersEntry'->new($_) } @$_ ] };
111  
112 declare 'MapStringInputParametersEntry',
113 as HashRef[InputParametersEntry()];
114  
115 1;
116  
117 __END__