V1/Mirror/Types.pm untested

filter: Statementstmt 0.0% 0 / 135 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 140 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::Lustre::V1::Mirror::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 'Mirror',
11 as InstanceOf['Google::Cloud::Lustre::V1::Mirror::Mirror'];
12  
13 coerce 'Mirror',
14 from HashRef, via { 'Google::Cloud::Lustre::V1::Mirror::Mirror'->new($_) };
15  
16 declare 'RepeatedMirror',
17 as ArrayRef[Mirror()];
18  
19 coerce 'RepeatedMirror',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Mirror::Mirror'->new($_) } @$_ ] };
21  
22 declare 'MapStringMirror',
23 as HashRef[Mirror()];
24  
25 declare 'Direction',
26 as (Int | Str);
27  
28 declare 'State',
29 as (Int | Str);
30  
31 declare 'LabelsEntry',
32 as InstanceOf['Google::Cloud::Lustre::V1::Mirror::Mirror::LabelsEntry'];
33  
34 coerce 'LabelsEntry',
35 from HashRef, via { 'Google::Cloud::Lustre::V1::Mirror::Mirror::LabelsEntry'->new($_) };
36  
37 declare 'RepeatedLabelsEntry',
38 as ArrayRef[LabelsEntry()];
39  
40 coerce 'RepeatedLabelsEntry',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Mirror::Mirror::LabelsEntry'->new($_) } @$_ ] };
42  
43 declare 'MapStringLabelsEntry',
44 as HashRef[LabelsEntry()];
45  
46 declare 'CreateMirrorRequest',
47 as InstanceOf['Google::Cloud::Lustre::V1::Mirror::CreateMirrorRequest'];
48  
49 coerce 'CreateMirrorRequest',
50 from HashRef, via { 'Google::Cloud::Lustre::V1::Mirror::CreateMirrorRequest'->new($_) };
51  
52 declare 'RepeatedCreateMirrorRequest',
53 as ArrayRef[CreateMirrorRequest()];
54  
55 coerce 'RepeatedCreateMirrorRequest',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Mirror::CreateMirrorRequest'->new($_) } @$_ ] };
57  
58 declare 'MapStringCreateMirrorRequest',
59 as HashRef[CreateMirrorRequest()];
60  
61 declare 'UpdateMirrorRequest',
62 as InstanceOf['Google::Cloud::Lustre::V1::Mirror::UpdateMirrorRequest'];
63  
64 coerce 'UpdateMirrorRequest',
65 from HashRef, via { 'Google::Cloud::Lustre::V1::Mirror::UpdateMirrorRequest'->new($_) };
66  
67 declare 'RepeatedUpdateMirrorRequest',
68 as ArrayRef[UpdateMirrorRequest()];
69  
70 coerce 'RepeatedUpdateMirrorRequest',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Mirror::UpdateMirrorRequest'->new($_) } @$_ ] };
72  
73 declare 'MapStringUpdateMirrorRequest',
74 as HashRef[UpdateMirrorRequest()];
75  
76 declare 'DeleteMirrorRequest',
77 as InstanceOf['Google::Cloud::Lustre::V1::Mirror::DeleteMirrorRequest'];
78  
79 coerce 'DeleteMirrorRequest',
80 from HashRef, via { 'Google::Cloud::Lustre::V1::Mirror::DeleteMirrorRequest'->new($_) };
81  
82 declare 'RepeatedDeleteMirrorRequest',
83 as ArrayRef[DeleteMirrorRequest()];
84  
85 coerce 'RepeatedDeleteMirrorRequest',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Mirror::DeleteMirrorRequest'->new($_) } @$_ ] };
87  
88 declare 'MapStringDeleteMirrorRequest',
89 as HashRef[DeleteMirrorRequest()];
90  
91 declare 'GetMirrorRequest',
92 as InstanceOf['Google::Cloud::Lustre::V1::Mirror::GetMirrorRequest'];
93  
94 coerce 'GetMirrorRequest',
95 from HashRef, via { 'Google::Cloud::Lustre::V1::Mirror::GetMirrorRequest'->new($_) };
96  
97 declare 'RepeatedGetMirrorRequest',
98 as ArrayRef[GetMirrorRequest()];
99  
100 coerce 'RepeatedGetMirrorRequest',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Mirror::GetMirrorRequest'->new($_) } @$_ ] };
102  
103 declare 'MapStringGetMirrorRequest',
104 as HashRef[GetMirrorRequest()];
105  
106 declare 'ListMirrorsRequest',
107 as InstanceOf['Google::Cloud::Lustre::V1::Mirror::ListMirrorsRequest'];
108  
109 coerce 'ListMirrorsRequest',
110 from HashRef, via { 'Google::Cloud::Lustre::V1::Mirror::ListMirrorsRequest'->new($_) };
111  
112 declare 'RepeatedListMirrorsRequest',
113 as ArrayRef[ListMirrorsRequest()];
114  
115 coerce 'RepeatedListMirrorsRequest',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Mirror::ListMirrorsRequest'->new($_) } @$_ ] };
117  
118 declare 'MapStringListMirrorsRequest',
119 as HashRef[ListMirrorsRequest()];
120  
121 declare 'ListMirrorsResponse',
122 as InstanceOf['Google::Cloud::Lustre::V1::Mirror::ListMirrorsResponse'];
123  
124 coerce 'ListMirrorsResponse',
125 from HashRef, via { 'Google::Cloud::Lustre::V1::Mirror::ListMirrorsResponse'->new($_) };
126  
127 declare 'RepeatedListMirrorsResponse',
128 as ArrayRef[ListMirrorsResponse()];
129  
130 coerce 'RepeatedListMirrorsResponse',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Mirror::ListMirrorsResponse'->new($_) } @$_ ] };
132  
133 declare 'MapStringListMirrorsResponse',
134 as HashRef[ListMirrorsResponse()];
135  
136 declare 'CreateMirrorMetadata',
137 as InstanceOf['Google::Cloud::Lustre::V1::Mirror::CreateMirrorMetadata'];
138  
139 coerce 'CreateMirrorMetadata',
140 from HashRef, via { 'Google::Cloud::Lustre::V1::Mirror::CreateMirrorMetadata'->new($_) };
141  
142 declare 'RepeatedCreateMirrorMetadata',
143 as ArrayRef[CreateMirrorMetadata()];
144  
145 coerce 'RepeatedCreateMirrorMetadata',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Mirror::CreateMirrorMetadata'->new($_) } @$_ ] };
147  
148 declare 'MapStringCreateMirrorMetadata',
149 as HashRef[CreateMirrorMetadata()];
150  
151 1;
152  
153 __END__