V1beta/WidgetTool/Types.pm untested

filter: Statementstmt 0.0% 0 / 71 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 76 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::WidgetTool::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 'WidgetTool',
11 as InstanceOf['Google::Cloud::Ces::V1beta::WidgetTool::WidgetTool'];
12  
13 coerce 'WidgetTool',
14 from HashRef, via { 'Google::Cloud::Ces::V1beta::WidgetTool::WidgetTool'->new($_) };
15  
16 declare 'RepeatedWidgetTool',
17 as ArrayRef[WidgetTool()];
18  
19 coerce 'RepeatedWidgetTool',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::WidgetTool::WidgetTool'->new($_) } @$_ ] };
21  
22 declare 'MapStringWidgetTool',
23 as HashRef[WidgetTool()];
24  
25 declare 'WidgetType',
26 as (Int | Str);
27  
28 declare 'TextResponseConfig',
29 as InstanceOf['Google::Cloud::Ces::V1beta::WidgetTool::WidgetTool::TextResponseConfig'];
30  
31 coerce 'TextResponseConfig',
32 from HashRef, via { 'Google::Cloud::Ces::V1beta::WidgetTool::WidgetTool::TextResponseConfig'->new($_) };
33  
34 declare 'RepeatedTextResponseConfig',
35 as ArrayRef[TextResponseConfig()];
36  
37 coerce 'RepeatedTextResponseConfig',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::WidgetTool::WidgetTool::TextResponseConfig'->new($_) } @$_ ] };
39  
40 declare 'MapStringTextResponseConfig',
41 as HashRef[TextResponseConfig()];
42  
43 declare 'Type',
44 as (Int | Str);
45  
46 declare 'DataMapping',
47 as InstanceOf['Google::Cloud::Ces::V1beta::WidgetTool::WidgetTool::DataMapping'];
48  
49 coerce 'DataMapping',
50 from HashRef, via { 'Google::Cloud::Ces::V1beta::WidgetTool::WidgetTool::DataMapping'->new($_) };
51  
52 declare 'RepeatedDataMapping',
53 as ArrayRef[DataMapping()];
54  
55 coerce 'RepeatedDataMapping',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::WidgetTool::WidgetTool::DataMapping'->new($_) } @$_ ] };
57  
58 declare 'MapStringDataMapping',
59 as HashRef[DataMapping()];
60  
61 declare 'Mode',
62 as (Int | Str);
63  
64 declare 'FieldMappingsEntry',
65 as InstanceOf['Google::Cloud::Ces::V1beta::WidgetTool::WidgetTool::DataMapping::FieldMappingsEntry'];
66  
67 coerce 'FieldMappingsEntry',
68 from HashRef, via { 'Google::Cloud::Ces::V1beta::WidgetTool::WidgetTool::DataMapping::FieldMappingsEntry'->new($_) };
69  
70 declare 'RepeatedFieldMappingsEntry',
71 as ArrayRef[FieldMappingsEntry()];
72  
73 coerce 'RepeatedFieldMappingsEntry',
74 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::WidgetTool::WidgetTool::DataMapping::FieldMappingsEntry'->new($_) } @$_ ] };
75  
76 declare 'MapStringFieldMappingsEntry',
77 as HashRef[FieldMappingsEntry()];
78  
79 1;
80  
81 __END__