V1/Types/Types.pm untested

filter: Statementstmt 0.0% 0 / 264 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 269 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::Universalledger::V1::Types::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 'ClientTransaction',
11 as InstanceOf['Google::Cloud::Universalledger::V1::Types::ClientTransaction'];
12  
13 coerce 'ClientTransaction',
14 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::ClientTransaction'->new($_) };
15  
16 declare 'RepeatedClientTransaction',
17 as ArrayRef[ClientTransaction()];
18  
19 coerce 'RepeatedClientTransaction',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::ClientTransaction'->new($_) } @$_ ] };
21  
22 declare 'MapStringClientTransaction',
23 as HashRef[ClientTransaction()];
24  
25 declare 'SignedTransaction',
26 as InstanceOf['Google::Cloud::Universalledger::V1::Types::SignedTransaction'];
27  
28 coerce 'SignedTransaction',
29 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::SignedTransaction'->new($_) };
30  
31 declare 'RepeatedSignedTransaction',
32 as ArrayRef[SignedTransaction()];
33  
34 coerce 'RepeatedSignedTransaction',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::SignedTransaction'->new($_) } @$_ ] };
36  
37 declare 'MapStringSignedTransaction',
38 as HashRef[SignedTransaction()];
39  
40 declare 'TransactionChain',
41 as InstanceOf['Google::Cloud::Universalledger::V1::Types::TransactionChain'];
42  
43 coerce 'TransactionChain',
44 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::TransactionChain'->new($_) };
45  
46 declare 'RepeatedTransactionChain',
47 as ArrayRef[TransactionChain()];
48  
49 coerce 'RepeatedTransactionChain',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::TransactionChain'->new($_) } @$_ ] };
51  
52 declare 'MapStringTransactionChain',
53 as HashRef[TransactionChain()];
54  
55 declare 'MerkleTree',
56 as InstanceOf['Google::Cloud::Universalledger::V1::Types::MerkleTree'];
57  
58 coerce 'MerkleTree',
59 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::MerkleTree'->new($_) };
60  
61 declare 'RepeatedMerkleTree',
62 as ArrayRef[MerkleTree()];
63  
64 coerce 'RepeatedMerkleTree',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::MerkleTree'->new($_) } @$_ ] };
66  
67 declare 'MapStringMerkleTree',
68 as HashRef[MerkleTree()];
69  
70 declare 'RoundCertificate',
71 as InstanceOf['Google::Cloud::Universalledger::V1::Types::RoundCertificate'];
72  
73 coerce 'RoundCertificate',
74 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::RoundCertificate'->new($_) };
75  
76 declare 'RepeatedRoundCertificate',
77 as ArrayRef[RoundCertificate()];
78  
79 coerce 'RepeatedRoundCertificate',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::RoundCertificate'->new($_) } @$_ ] };
81  
82 declare 'MapStringRoundCertificate',
83 as HashRef[RoundCertificate()];
84  
85 declare 'TransactionEffect',
86 as InstanceOf['Google::Cloud::Universalledger::V1::Types::TransactionEffect'];
87  
88 coerce 'TransactionEffect',
89 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::TransactionEffect'->new($_) };
90  
91 declare 'RepeatedTransactionEffect',
92 as ArrayRef[TransactionEffect()];
93  
94 coerce 'RepeatedTransactionEffect',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::TransactionEffect'->new($_) } @$_ ] };
96  
97 declare 'MapStringTransactionEffect',
98 as HashRef[TransactionEffect()];
99  
100 declare 'TransactionStatus',
101 as InstanceOf['Google::Cloud::Universalledger::V1::Types::TransactionStatus'];
102  
103 coerce 'TransactionStatus',
104 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::TransactionStatus'->new($_) };
105  
106 declare 'RepeatedTransactionStatus',
107 as ArrayRef[TransactionStatus()];
108  
109 coerce 'RepeatedTransactionStatus',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::TransactionStatus'->new($_) } @$_ ] };
111  
112 declare 'MapStringTransactionStatus',
113 as HashRef[TransactionStatus()];
114  
115 declare 'TransactionEffects',
116 as InstanceOf['Google::Cloud::Universalledger::V1::Types::TransactionEffects'];
117  
118 coerce 'TransactionEffects',
119 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::TransactionEffects'->new($_) };
120  
121 declare 'RepeatedTransactionEffects',
122 as ArrayRef[TransactionEffects()];
123  
124 coerce 'RepeatedTransactionEffects',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::TransactionEffects'->new($_) } @$_ ] };
126  
127 declare 'MapStringTransactionEffects',
128 as HashRef[TransactionEffects()];
129  
130 declare 'TransactionEvent',
131 as InstanceOf['Google::Cloud::Universalledger::V1::Types::TransactionEvent'];
132  
133 coerce 'TransactionEvent',
134 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::TransactionEvent'->new($_) };
135  
136 declare 'RepeatedTransactionEvent',
137 as ArrayRef[TransactionEvent()];
138  
139 coerce 'RepeatedTransactionEvent',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::TransactionEvent'->new($_) } @$_ ] };
141  
142 declare 'MapStringTransactionEvent',
143 as HashRef[TransactionEvent()];
144  
145 declare 'EventAttribute',
146 as InstanceOf['Google::Cloud::Universalledger::V1::Types::TransactionEvent::EventAttribute'];
147  
148 coerce 'EventAttribute',
149 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::TransactionEvent::EventAttribute'->new($_) };
150  
151 declare 'RepeatedEventAttribute',
152 as ArrayRef[EventAttribute()];
153  
154 coerce 'RepeatedEventAttribute',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::TransactionEvent::EventAttribute'->new($_) } @$_ ] };
156  
157 declare 'MapStringEventAttribute',
158 as HashRef[EventAttribute()];
159  
160 declare 'TransactionCertificate',
161 as InstanceOf['Google::Cloud::Universalledger::V1::Types::TransactionCertificate'];
162  
163 coerce 'TransactionCertificate',
164 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::TransactionCertificate'->new($_) };
165  
166 declare 'RepeatedTransactionCertificate',
167 as ArrayRef[TransactionCertificate()];
168  
169 coerce 'RepeatedTransactionCertificate',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::TransactionCertificate'->new($_) } @$_ ] };
171  
172 declare 'MapStringTransactionCertificate',
173 as HashRef[TransactionCertificate()];
174  
175 declare 'ProofOfInclusion',
176 as InstanceOf['Google::Cloud::Universalledger::V1::Types::ProofOfInclusion'];
177  
178 coerce 'ProofOfInclusion',
179 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::ProofOfInclusion'->new($_) };
180  
181 declare 'RepeatedProofOfInclusion',
182 as ArrayRef[ProofOfInclusion()];
183  
184 coerce 'RepeatedProofOfInclusion',
185 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::ProofOfInclusion'->new($_) } @$_ ] };
186  
187 declare 'MapStringProofOfInclusion',
188 as HashRef[ProofOfInclusion()];
189  
190 declare 'MerkleTreeNode',
191 as InstanceOf['Google::Cloud::Universalledger::V1::Types::ProofOfInclusion::MerkleTreeNode'];
192  
193 coerce 'MerkleTreeNode',
194 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::ProofOfInclusion::MerkleTreeNode'->new($_) };
195  
196 declare 'RepeatedMerkleTreeNode',
197 as ArrayRef[MerkleTreeNode()];
198  
199 coerce 'RepeatedMerkleTreeNode',
200 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::ProofOfInclusion::MerkleTreeNode'->new($_) } @$_ ] };
201  
202 declare 'MapStringMerkleTreeNode',
203 as HashRef[MerkleTreeNode()];
204  
205 declare 'TransactionAttempt',
206 as InstanceOf['Google::Cloud::Universalledger::V1::Types::TransactionAttempt'];
207  
208 coerce 'TransactionAttempt',
209 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::TransactionAttempt'->new($_) };
210  
211 declare 'RepeatedTransactionAttempt',
212 as ArrayRef[TransactionAttempt()];
213  
214 coerce 'RepeatedTransactionAttempt',
215 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::TransactionAttempt'->new($_) } @$_ ] };
216  
217 declare 'MapStringTransactionAttempt',
218 as HashRef[TransactionAttempt()];
219  
220 declare 'TransactionStatus',
221 as (Int | Str);
222  
223 declare 'SignedQueryRequest',
224 as InstanceOf['Google::Cloud::Universalledger::V1::Types::SignedQueryRequest'];
225  
226 coerce 'SignedQueryRequest',
227 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::SignedQueryRequest'->new($_) };
228  
229 declare 'RepeatedSignedQueryRequest',
230 as ArrayRef[SignedQueryRequest()];
231  
232 coerce 'RepeatedSignedQueryRequest',
233 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::SignedQueryRequest'->new($_) } @$_ ] };
234  
235 declare 'MapStringSignedQueryRequest',
236 as HashRef[SignedQueryRequest()];
237  
238 declare 'ClientQuery',
239 as InstanceOf['Google::Cloud::Universalledger::V1::Types::ClientQuery'];
240  
241 coerce 'ClientQuery',
242 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::ClientQuery'->new($_) };
243  
244 declare 'RepeatedClientQuery',
245 as ArrayRef[ClientQuery()];
246  
247 coerce 'RepeatedClientQuery',
248 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::ClientQuery'->new($_) } @$_ ] };
249  
250 declare 'MapStringClientQuery',
251 as HashRef[ClientQuery()];
252  
253 declare 'AccountQuery',
254 as InstanceOf['Google::Cloud::Universalledger::V1::Types::AccountQuery'];
255  
256 coerce 'AccountQuery',
257 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::AccountQuery'->new($_) };
258  
259 declare 'RepeatedAccountQuery',
260 as ArrayRef[AccountQuery()];
261  
262 coerce 'RepeatedAccountQuery',
263 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::AccountQuery'->new($_) } @$_ ] };
264  
265 declare 'MapStringAccountQuery',
266 as HashRef[AccountQuery()];
267  
268 declare 'TransactionStateQuery',
269 as InstanceOf['Google::Cloud::Universalledger::V1::Types::TransactionStateQuery'];
270  
271 coerce 'TransactionStateQuery',
272 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::TransactionStateQuery'->new($_) };
273  
274 declare 'RepeatedTransactionStateQuery',
275 as ArrayRef[TransactionStateQuery()];
276  
277 coerce 'RepeatedTransactionStateQuery',
278 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::TransactionStateQuery'->new($_) } @$_ ] };
279  
280 declare 'MapStringTransactionStateQuery',
281 as HashRef[TransactionStateQuery()];
282  
283 declare 'TransactionState',
284 as InstanceOf['Google::Cloud::Universalledger::V1::Types::TransactionState'];
285  
286 coerce 'TransactionState',
287 from HashRef, via { 'Google::Cloud::Universalledger::V1::Types::TransactionState'->new($_) };
288  
289 declare 'RepeatedTransactionState',
290 as ArrayRef[TransactionState()];
291  
292 coerce 'RepeatedTransactionState',
293 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Universalledger::V1::Types::TransactionState'->new($_) } @$_ ] };
294  
295 declare 'MapStringTransactionState',
296 as HashRef[TransactionState()];
297  
298 1;
299  
300 __END__