V2/Lun/Types.pm untested

filter: Statementstmt 0.0% 0 / 84 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 89 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::Baremetalsolution::V2::Lun::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 'Lun',
11 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Lun::Lun'];
12  
13 coerce 'Lun',
14 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Lun::Lun'->new($_) };
15  
16 declare 'RepeatedLun',
17 as ArrayRef[Lun()];
18  
19 coerce 'RepeatedLun',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Lun::Lun'->new($_) } @$_ ] };
21  
22 declare 'MapStringLun',
23 as HashRef[Lun()];
24  
25 declare 'State',
26 as (Int | Str);
27  
28 declare 'MultiprotocolType',
29 as (Int | Str);
30  
31 declare 'StorageType',
32 as (Int | Str);
33  
34 declare 'GetLunRequest',
35 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Lun::GetLunRequest'];
36  
37 coerce 'GetLunRequest',
38 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Lun::GetLunRequest'->new($_) };
39  
40 declare 'RepeatedGetLunRequest',
41 as ArrayRef[GetLunRequest()];
42  
43 coerce 'RepeatedGetLunRequest',
44 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Lun::GetLunRequest'->new($_) } @$_ ] };
45  
46 declare 'MapStringGetLunRequest',
47 as HashRef[GetLunRequest()];
48  
49 declare 'ListLunsRequest',
50 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Lun::ListLunsRequest'];
51  
52 coerce 'ListLunsRequest',
53 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Lun::ListLunsRequest'->new($_) };
54  
55 declare 'RepeatedListLunsRequest',
56 as ArrayRef[ListLunsRequest()];
57  
58 coerce 'RepeatedListLunsRequest',
59 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Lun::ListLunsRequest'->new($_) } @$_ ] };
60  
61 declare 'MapStringListLunsRequest',
62 as HashRef[ListLunsRequest()];
63  
64 declare 'ListLunsResponse',
65 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Lun::ListLunsResponse'];
66  
67 coerce 'ListLunsResponse',
68 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Lun::ListLunsResponse'->new($_) };
69  
70 declare 'RepeatedListLunsResponse',
71 as ArrayRef[ListLunsResponse()];
72  
73 coerce 'RepeatedListLunsResponse',
74 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Lun::ListLunsResponse'->new($_) } @$_ ] };
75  
76 declare 'MapStringListLunsResponse',
77 as HashRef[ListLunsResponse()];
78  
79 declare 'EvictLunRequest',
80 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Lun::EvictLunRequest'];
81  
82 coerce 'EvictLunRequest',
83 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Lun::EvictLunRequest'->new($_) };
84  
85 declare 'RepeatedEvictLunRequest',
86 as ArrayRef[EvictLunRequest()];
87  
88 coerce 'RepeatedEvictLunRequest',
89 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Lun::EvictLunRequest'->new($_) } @$_ ] };
90  
91 declare 'MapStringEvictLunRequest',
92 as HashRef[EvictLunRequest()];
93  
94 1;
95  
96 __END__