V1/Common/Types.pm untested

filter: Statementstmt 0.0% 0 / 52 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 57 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::Netapp::V1::Common::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 'ServiceLevel',
11 as (Int | Str);
12  
13 declare 'FlexPerformance',
14 as (Int | Str);
15  
16 declare 'EncryptionType',
17 as (Int | Str);
18  
19 declare 'DirectoryServiceType',
20 as (Int | Str);
21  
22 declare 'StoragePoolType',
23 as (Int | Str);
24  
25 declare 'ScaleType',
26 as (Int | Str);
27  
28 declare 'HybridReplicationSchedule',
29 as (Int | Str);
30  
31 declare 'QosType',
32 as (Int | Str);
33  
34 declare 'OsType',
35 as (Int | Str);
36  
37 declare 'LocationMetadata',
38 as InstanceOf['Google::Cloud::Netapp::V1::Common::LocationMetadata'];
39  
40 coerce 'LocationMetadata',
41 from HashRef, via { 'Google::Cloud::Netapp::V1::Common::LocationMetadata'->new($_) };
42  
43 declare 'RepeatedLocationMetadata',
44 as ArrayRef[LocationMetadata()];
45  
46 coerce 'RepeatedLocationMetadata',
47 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Common::LocationMetadata'->new($_) } @$_ ] };
48  
49 declare 'MapStringLocationMetadata',
50 as HashRef[LocationMetadata()];
51  
52 declare 'FlexPerformanceTier',
53 as (Int | Str);
54  
55 declare 'UserCommands',
56 as InstanceOf['Google::Cloud::Netapp::V1::Common::UserCommands'];
57  
58 coerce 'UserCommands',
59 from HashRef, via { 'Google::Cloud::Netapp::V1::Common::UserCommands'->new($_) };
60  
61 declare 'RepeatedUserCommands',
62 as ArrayRef[UserCommands()];
63  
64 coerce 'RepeatedUserCommands',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Common::UserCommands'->new($_) } @$_ ] };
66  
67 declare 'MapStringUserCommands',
68 as HashRef[UserCommands()];
69  
70 1;
71  
72 __END__