V1/CloudSqlFlags/Types.pm untested

filter: Statementstmt 0.0% 0 / 57 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 62 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::Sql::V1::CloudSqlFlags::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 'SqlFlagType',
11 as (Int | Str);
12  
13 declare 'SqlFlagScope',
14 as (Int | Str);
15  
16 declare 'SqlFlagsListRequest',
17 as InstanceOf['Google::Cloud::Sql::V1::CloudSqlFlags::SqlFlagsListRequest'];
18  
19 coerce 'SqlFlagsListRequest',
20 from HashRef, via { 'Google::Cloud::Sql::V1::CloudSqlFlags::SqlFlagsListRequest'->new($_) };
21  
22 declare 'RepeatedSqlFlagsListRequest',
23 as ArrayRef[SqlFlagsListRequest()];
24  
25 coerce 'RepeatedSqlFlagsListRequest',
26 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Sql::V1::CloudSqlFlags::SqlFlagsListRequest'->new($_) } @$_ ] };
27  
28 declare 'MapStringSqlFlagsListRequest',
29 as HashRef[SqlFlagsListRequest()];
30  
31 declare 'FlagsListResponse',
32 as InstanceOf['Google::Cloud::Sql::V1::CloudSqlFlags::FlagsListResponse'];
33  
34 coerce 'FlagsListResponse',
35 from HashRef, via { 'Google::Cloud::Sql::V1::CloudSqlFlags::FlagsListResponse'->new($_) };
36  
37 declare 'RepeatedFlagsListResponse',
38 as ArrayRef[FlagsListResponse()];
39  
40 coerce 'RepeatedFlagsListResponse',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Sql::V1::CloudSqlFlags::FlagsListResponse'->new($_) } @$_ ] };
42  
43 declare 'MapStringFlagsListResponse',
44 as HashRef[FlagsListResponse()];
45  
46 declare 'Flag',
47 as InstanceOf['Google::Cloud::Sql::V1::CloudSqlFlags::Flag'];
48  
49 coerce 'Flag',
50 from HashRef, via { 'Google::Cloud::Sql::V1::CloudSqlFlags::Flag'->new($_) };
51  
52 declare 'RepeatedFlag',
53 as ArrayRef[Flag()];
54  
55 coerce 'RepeatedFlag',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Sql::V1::CloudSqlFlags::Flag'->new($_) } @$_ ] };
57  
58 declare 'MapStringFlag',
59 as HashRef[Flag()];
60  
61 1;
62  
63 __END__