V1beta3/DocumentIo/Types.pm untested

filter: Statementstmt 0.0% 0 / 185 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 190 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::Documentai::V1beta3::DocumentIo::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 'Documents',
11 as InstanceOf['Google::Cloud::Documentai::V1beta3::DocumentIo::Documents'];
12  
13 coerce 'Documents',
14 from HashRef, via { 'Google::Cloud::Documentai::V1beta3::DocumentIo::Documents'->new($_) };
15  
16 declare 'RepeatedDocuments',
17 as ArrayRef[Documents()];
18  
19 coerce 'RepeatedDocuments',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Documentai::V1beta3::DocumentIo::Documents'->new($_) } @$_ ] };
21  
22 declare 'MapStringDocuments',
23 as HashRef[Documents()];
24  
25 declare 'RawDocument',
26 as InstanceOf['Google::Cloud::Documentai::V1beta3::DocumentIo::RawDocument'];
27  
28 coerce 'RawDocument',
29 from HashRef, via { 'Google::Cloud::Documentai::V1beta3::DocumentIo::RawDocument'->new($_) };
30  
31 declare 'RepeatedRawDocument',
32 as ArrayRef[RawDocument()];
33  
34 coerce 'RepeatedRawDocument',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Documentai::V1beta3::DocumentIo::RawDocument'->new($_) } @$_ ] };
36  
37 declare 'MapStringRawDocument',
38 as HashRef[RawDocument()];
39  
40 declare 'GcsDocument',
41 as InstanceOf['Google::Cloud::Documentai::V1beta3::DocumentIo::GcsDocument'];
42  
43 coerce 'GcsDocument',
44 from HashRef, via { 'Google::Cloud::Documentai::V1beta3::DocumentIo::GcsDocument'->new($_) };
45  
46 declare 'RepeatedGcsDocument',
47 as ArrayRef[GcsDocument()];
48  
49 coerce 'RepeatedGcsDocument',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Documentai::V1beta3::DocumentIo::GcsDocument'->new($_) } @$_ ] };
51  
52 declare 'MapStringGcsDocument',
53 as HashRef[GcsDocument()];
54  
55 declare 'GcsDocuments',
56 as InstanceOf['Google::Cloud::Documentai::V1beta3::DocumentIo::GcsDocuments'];
57  
58 coerce 'GcsDocuments',
59 from HashRef, via { 'Google::Cloud::Documentai::V1beta3::DocumentIo::GcsDocuments'->new($_) };
60  
61 declare 'RepeatedGcsDocuments',
62 as ArrayRef[GcsDocuments()];
63  
64 coerce 'RepeatedGcsDocuments',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Documentai::V1beta3::DocumentIo::GcsDocuments'->new($_) } @$_ ] };
66  
67 declare 'MapStringGcsDocuments',
68 as HashRef[GcsDocuments()];
69  
70 declare 'GcsPrefix',
71 as InstanceOf['Google::Cloud::Documentai::V1beta3::DocumentIo::GcsPrefix'];
72  
73 coerce 'GcsPrefix',
74 from HashRef, via { 'Google::Cloud::Documentai::V1beta3::DocumentIo::GcsPrefix'->new($_) };
75  
76 declare 'RepeatedGcsPrefix',
77 as ArrayRef[GcsPrefix()];
78  
79 coerce 'RepeatedGcsPrefix',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Documentai::V1beta3::DocumentIo::GcsPrefix'->new($_) } @$_ ] };
81  
82 declare 'MapStringGcsPrefix',
83 as HashRef[GcsPrefix()];
84  
85 declare 'RawDocuments',
86 as InstanceOf['Google::Cloud::Documentai::V1beta3::DocumentIo::RawDocuments'];
87  
88 coerce 'RawDocuments',
89 from HashRef, via { 'Google::Cloud::Documentai::V1beta3::DocumentIo::RawDocuments'->new($_) };
90  
91 declare 'RepeatedRawDocuments',
92 as ArrayRef[RawDocuments()];
93  
94 coerce 'RepeatedRawDocuments',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Documentai::V1beta3::DocumentIo::RawDocuments'->new($_) } @$_ ] };
96  
97 declare 'MapStringRawDocuments',
98 as HashRef[RawDocuments()];
99  
100 declare 'BatchDocumentsInputConfig',
101 as InstanceOf['Google::Cloud::Documentai::V1beta3::DocumentIo::BatchDocumentsInputConfig'];
102  
103 coerce 'BatchDocumentsInputConfig',
104 from HashRef, via { 'Google::Cloud::Documentai::V1beta3::DocumentIo::BatchDocumentsInputConfig'->new($_) };
105  
106 declare 'RepeatedBatchDocumentsInputConfig',
107 as ArrayRef[BatchDocumentsInputConfig()];
108  
109 coerce 'RepeatedBatchDocumentsInputConfig',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Documentai::V1beta3::DocumentIo::BatchDocumentsInputConfig'->new($_) } @$_ ] };
111  
112 declare 'MapStringBatchDocumentsInputConfig',
113 as HashRef[BatchDocumentsInputConfig()];
114  
115 declare 'DocumentOutputConfig',
116 as InstanceOf['Google::Cloud::Documentai::V1beta3::DocumentIo::DocumentOutputConfig'];
117  
118 coerce 'DocumentOutputConfig',
119 from HashRef, via { 'Google::Cloud::Documentai::V1beta3::DocumentIo::DocumentOutputConfig'->new($_) };
120  
121 declare 'RepeatedDocumentOutputConfig',
122 as ArrayRef[DocumentOutputConfig()];
123  
124 coerce 'RepeatedDocumentOutputConfig',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Documentai::V1beta3::DocumentIo::DocumentOutputConfig'->new($_) } @$_ ] };
126  
127 declare 'MapStringDocumentOutputConfig',
128 as HashRef[DocumentOutputConfig()];
129  
130 declare 'GcsOutputConfig',
131 as InstanceOf['Google::Cloud::Documentai::V1beta3::DocumentIo::DocumentOutputConfig::GcsOutputConfig'];
132  
133 coerce 'GcsOutputConfig',
134 from HashRef, via { 'Google::Cloud::Documentai::V1beta3::DocumentIo::DocumentOutputConfig::GcsOutputConfig'->new($_) };
135  
136 declare 'RepeatedGcsOutputConfig',
137 as ArrayRef[GcsOutputConfig()];
138  
139 coerce 'RepeatedGcsOutputConfig',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Documentai::V1beta3::DocumentIo::DocumentOutputConfig::GcsOutputConfig'->new($_) } @$_ ] };
141  
142 declare 'MapStringGcsOutputConfig',
143 as HashRef[GcsOutputConfig()];
144  
145 declare 'ShardingConfig',
146 as InstanceOf['Google::Cloud::Documentai::V1beta3::DocumentIo::DocumentOutputConfig::GcsOutputConfig::ShardingConfig'];
147  
148 coerce 'ShardingConfig',
149 from HashRef, via { 'Google::Cloud::Documentai::V1beta3::DocumentIo::DocumentOutputConfig::GcsOutputConfig::ShardingConfig'->new($_) };
150  
151 declare 'RepeatedShardingConfig',
152 as ArrayRef[ShardingConfig()];
153  
154 coerce 'RepeatedShardingConfig',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Documentai::V1beta3::DocumentIo::DocumentOutputConfig::GcsOutputConfig::ShardingConfig'->new($_) } @$_ ] };
156  
157 declare 'MapStringShardingConfig',
158 as HashRef[ShardingConfig()];
159  
160 declare 'OcrConfig',
161 as InstanceOf['Google::Cloud::Documentai::V1beta3::DocumentIo::OcrConfig'];
162  
163 coerce 'OcrConfig',
164 from HashRef, via { 'Google::Cloud::Documentai::V1beta3::DocumentIo::OcrConfig'->new($_) };
165  
166 declare 'RepeatedOcrConfig',
167 as ArrayRef[OcrConfig()];
168  
169 coerce 'RepeatedOcrConfig',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Documentai::V1beta3::DocumentIo::OcrConfig'->new($_) } @$_ ] };
171  
172 declare 'MapStringOcrConfig',
173 as HashRef[OcrConfig()];
174  
175 declare 'Hints',
176 as InstanceOf['Google::Cloud::Documentai::V1beta3::DocumentIo::OcrConfig::Hints'];
177  
178 coerce 'Hints',
179 from HashRef, via { 'Google::Cloud::Documentai::V1beta3::DocumentIo::OcrConfig::Hints'->new($_) };
180  
181 declare 'RepeatedHints',
182 as ArrayRef[Hints()];
183  
184 coerce 'RepeatedHints',
185 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Documentai::V1beta3::DocumentIo::OcrConfig::Hints'->new($_) } @$_ ] };
186  
187 declare 'MapStringHints',
188 as HashRef[Hints()];
189  
190 declare 'PremiumFeatures',
191 as InstanceOf['Google::Cloud::Documentai::V1beta3::DocumentIo::OcrConfig::PremiumFeatures'];
192  
193 coerce 'PremiumFeatures',
194 from HashRef, via { 'Google::Cloud::Documentai::V1beta3::DocumentIo::OcrConfig::PremiumFeatures'->new($_) };
195  
196 declare 'RepeatedPremiumFeatures',
197 as ArrayRef[PremiumFeatures()];
198  
199 coerce 'RepeatedPremiumFeatures',
200 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Documentai::V1beta3::DocumentIo::OcrConfig::PremiumFeatures'->new($_) } @$_ ] };
201  
202 declare 'MapStringPremiumFeatures',
203 as HashRef[PremiumFeatures()];
204  
205 1;
206  
207 __END__