Firestore/Admin/V1beta2/Index/Types.pm untested

filter: Statementstmt 0.0% 0 / 46 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 51 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Firestore::Admin::V1beta2::Index::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 'Index',
11 as InstanceOf['Google::Firestore::Admin::V1beta2::Index::Index'];
12  
13 coerce 'Index',
14 from HashRef, via { 'Google::Firestore::Admin::V1beta2::Index::Index'->new($_) };
15  
16 declare 'RepeatedIndex',
17 as ArrayRef[Index()];
18  
19 coerce 'RepeatedIndex',
20 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::Admin::V1beta2::Index::Index'->new($_) } @$_ ] };
21  
22 declare 'MapStringIndex',
23 as HashRef[Index()];
24  
25 declare 'QueryScope',
26 as (Int | Str);
27  
28 declare 'State',
29 as (Int | Str);
30  
31 declare 'IndexField',
32 as InstanceOf['Google::Firestore::Admin::V1beta2::Index::Index::IndexField'];
33  
34 coerce 'IndexField',
35 from HashRef, via { 'Google::Firestore::Admin::V1beta2::Index::Index::IndexField'->new($_) };
36  
37 declare 'RepeatedIndexField',
38 as ArrayRef[IndexField()];
39  
40 coerce 'RepeatedIndexField',
41 from ArrayRef[HashRef], via { [ map { 'Google::Firestore::Admin::V1beta2::Index::Index::IndexField'->new($_) } @$_ ] };
42  
43 declare 'MapStringIndexField',
44 as HashRef[IndexField()];
45  
46 declare 'Order',
47 as (Int | Str);
48  
49 declare 'ArrayConfig',
50 as (Int | Str);
51  
52 1;
53  
54 __END__