V2/Grounding/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::V2::Grounding::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 'GroundingMetadata',
11 as InstanceOf['Google::Cloud::Dialogflow::V2::Grounding::GroundingMetadata'];
12  
13 coerce 'GroundingMetadata',
14 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Grounding::GroundingMetadata'->new($_) };
15  
16 declare 'RepeatedGroundingMetadata',
17 as ArrayRef[GroundingMetadata()];
18  
19 coerce 'RepeatedGroundingMetadata',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Grounding::GroundingMetadata'->new($_) } @$_ ] };
21  
22 declare 'MapStringGroundingMetadata',
23 as HashRef[GroundingMetadata()];
24  
25 declare 'SearchEntryPoint',
26 as InstanceOf['Google::Cloud::Dialogflow::V2::Grounding::SearchEntryPoint'];
27  
28 coerce 'SearchEntryPoint',
29 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Grounding::SearchEntryPoint'->new($_) };
30  
31 declare 'RepeatedSearchEntryPoint',
32 as ArrayRef[SearchEntryPoint()];
33  
34 coerce 'RepeatedSearchEntryPoint',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Grounding::SearchEntryPoint'->new($_) } @$_ ] };
36  
37 declare 'MapStringSearchEntryPoint',
38 as HashRef[SearchEntryPoint()];
39  
40 declare 'GroundingChunk',
41 as InstanceOf['Google::Cloud::Dialogflow::V2::Grounding::GroundingChunk'];
42  
43 coerce 'GroundingChunk',
44 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Grounding::GroundingChunk'->new($_) };
45  
46 declare 'RepeatedGroundingChunk',
47 as ArrayRef[GroundingChunk()];
48  
49 coerce 'RepeatedGroundingChunk',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Grounding::GroundingChunk'->new($_) } @$_ ] };
51  
52 declare 'MapStringGroundingChunk',
53 as HashRef[GroundingChunk()];
54  
55 declare 'Web',
56 as InstanceOf['Google::Cloud::Dialogflow::V2::Grounding::GroundingChunk::Web'];
57  
58 coerce 'Web',
59 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Grounding::GroundingChunk::Web'->new($_) };
60  
61 declare 'RepeatedWeb',
62 as ArrayRef[Web()];
63  
64 coerce 'RepeatedWeb',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Grounding::GroundingChunk::Web'->new($_) } @$_ ] };
66  
67 declare 'MapStringWeb',
68 as HashRef[Web()];
69  
70 declare 'RetrievedContext',
71 as InstanceOf['Google::Cloud::Dialogflow::V2::Grounding::GroundingChunk::RetrievedContext'];
72  
73 coerce 'RetrievedContext',
74 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Grounding::GroundingChunk::RetrievedContext'->new($_) };
75  
76 declare 'RepeatedRetrievedContext',
77 as ArrayRef[RetrievedContext()];
78  
79 coerce 'RepeatedRetrievedContext',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Grounding::GroundingChunk::RetrievedContext'->new($_) } @$_ ] };
81  
82 declare 'MapStringRetrievedContext',
83 as HashRef[RetrievedContext()];
84  
85 declare 'Segment',
86 as InstanceOf['Google::Cloud::Dialogflow::V2::Grounding::Segment'];
87  
88 coerce 'Segment',
89 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Grounding::Segment'->new($_) };
90  
91 declare 'RepeatedSegment',
92 as ArrayRef[Segment()];
93  
94 coerce 'RepeatedSegment',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Grounding::Segment'->new($_) } @$_ ] };
96  
97 declare 'MapStringSegment',
98 as HashRef[Segment()];
99  
100 declare 'GroundingSupport',
101 as InstanceOf['Google::Cloud::Dialogflow::V2::Grounding::GroundingSupport'];
102  
103 coerce 'GroundingSupport',
104 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Grounding::GroundingSupport'->new($_) };
105  
106 declare 'RepeatedGroundingSupport',
107 as ArrayRef[GroundingSupport()];
108  
109 coerce 'RepeatedGroundingSupport',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Grounding::GroundingSupport'->new($_) } @$_ ] };
111  
112 declare 'MapStringGroundingSupport',
113 as HashRef[GroundingSupport()];
114  
115 1;
116  
117 __END__