V2beta1/Fulfillment/Types.pm untested

filter: Statementstmt 0.0% 0 / 95 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 100 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::V2beta1::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::V2beta1::Fulfillment::Fulfillment'];
12  
13 coerce 'Fulfillment',
14 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Fulfillment::Fulfillment'->new($_) };
15  
16 declare 'RepeatedFulfillment',
17 as ArrayRef[Fulfillment()];
18  
19 coerce 'RepeatedFulfillment',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Fulfillment::Fulfillment'->new($_) } @$_ ] };
21  
22 declare 'MapStringFulfillment',
23 as HashRef[Fulfillment()];
24  
25 declare 'GenericWebService',
26 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Fulfillment::Fulfillment::GenericWebService'];
27  
28 coerce 'GenericWebService',
29 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Fulfillment::Fulfillment::GenericWebService'->new($_) };
30  
31 declare 'RepeatedGenericWebService',
32 as ArrayRef[GenericWebService()];
33  
34 coerce 'RepeatedGenericWebService',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Fulfillment::Fulfillment::GenericWebService'->new($_) } @$_ ] };
36  
37 declare 'MapStringGenericWebService',
38 as HashRef[GenericWebService()];
39  
40 declare 'RequestHeadersEntry',
41 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Fulfillment::Fulfillment::GenericWebService::RequestHeadersEntry'];
42  
43 coerce 'RequestHeadersEntry',
44 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Fulfillment::Fulfillment::GenericWebService::RequestHeadersEntry'->new($_) };
45  
46 declare 'RepeatedRequestHeadersEntry',
47 as ArrayRef[RequestHeadersEntry()];
48  
49 coerce 'RepeatedRequestHeadersEntry',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Fulfillment::Fulfillment::GenericWebService::RequestHeadersEntry'->new($_) } @$_ ] };
51  
52 declare 'MapStringRequestHeadersEntry',
53 as HashRef[RequestHeadersEntry()];
54  
55 declare 'Feature',
56 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Fulfillment::Fulfillment::Feature'];
57  
58 coerce 'Feature',
59 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Fulfillment::Fulfillment::Feature'->new($_) };
60  
61 declare 'RepeatedFeature',
62 as ArrayRef[Feature()];
63  
64 coerce 'RepeatedFeature',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Fulfillment::Fulfillment::Feature'->new($_) } @$_ ] };
66  
67 declare 'MapStringFeature',
68 as HashRef[Feature()];
69  
70 declare 'Type',
71 as (Int | Str);
72  
73 declare 'GetFulfillmentRequest',
74 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Fulfillment::GetFulfillmentRequest'];
75  
76 coerce 'GetFulfillmentRequest',
77 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Fulfillment::GetFulfillmentRequest'->new($_) };
78  
79 declare 'RepeatedGetFulfillmentRequest',
80 as ArrayRef[GetFulfillmentRequest()];
81  
82 coerce 'RepeatedGetFulfillmentRequest',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Fulfillment::GetFulfillmentRequest'->new($_) } @$_ ] };
84  
85 declare 'MapStringGetFulfillmentRequest',
86 as HashRef[GetFulfillmentRequest()];
87  
88 declare 'UpdateFulfillmentRequest',
89 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Fulfillment::UpdateFulfillmentRequest'];
90  
91 coerce 'UpdateFulfillmentRequest',
92 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Fulfillment::UpdateFulfillmentRequest'->new($_) };
93  
94 declare 'RepeatedUpdateFulfillmentRequest',
95 as ArrayRef[UpdateFulfillmentRequest()];
96  
97 coerce 'RepeatedUpdateFulfillmentRequest',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Fulfillment::UpdateFulfillmentRequest'->new($_) } @$_ ] };
99  
100 declare 'MapStringUpdateFulfillmentRequest',
101 as HashRef[UpdateFulfillmentRequest()];
102  
103 1;
104  
105 __END__