V1/Transfer/Types.pm untested

filter: Statementstmt 0.0% 0 / 173 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 178 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::Transfer::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 'TransferType',
11 as (Int | Str);
12  
13 declare 'ImportDataRequest',
14 as InstanceOf['Google::Cloud::Lustre::V1::Transfer::ImportDataRequest'];
15  
16 coerce 'ImportDataRequest',
17 from HashRef, via { 'Google::Cloud::Lustre::V1::Transfer::ImportDataRequest'->new($_) };
18  
19 declare 'RepeatedImportDataRequest',
20 as ArrayRef[ImportDataRequest()];
21  
22 coerce 'RepeatedImportDataRequest',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Transfer::ImportDataRequest'->new($_) } @$_ ] };
24  
25 declare 'MapStringImportDataRequest',
26 as HashRef[ImportDataRequest()];
27  
28 declare 'ExportDataRequest',
29 as InstanceOf['Google::Cloud::Lustre::V1::Transfer::ExportDataRequest'];
30  
31 coerce 'ExportDataRequest',
32 from HashRef, via { 'Google::Cloud::Lustre::V1::Transfer::ExportDataRequest'->new($_) };
33  
34 declare 'RepeatedExportDataRequest',
35 as ArrayRef[ExportDataRequest()];
36  
37 coerce 'RepeatedExportDataRequest',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Transfer::ExportDataRequest'->new($_) } @$_ ] };
39  
40 declare 'MapStringExportDataRequest',
41 as HashRef[ExportDataRequest()];
42  
43 declare 'ExportDataResponse',
44 as InstanceOf['Google::Cloud::Lustre::V1::Transfer::ExportDataResponse'];
45  
46 coerce 'ExportDataResponse',
47 from HashRef, via { 'Google::Cloud::Lustre::V1::Transfer::ExportDataResponse'->new($_) };
48  
49 declare 'RepeatedExportDataResponse',
50 as ArrayRef[ExportDataResponse()];
51  
52 coerce 'RepeatedExportDataResponse',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Transfer::ExportDataResponse'->new($_) } @$_ ] };
54  
55 declare 'MapStringExportDataResponse',
56 as HashRef[ExportDataResponse()];
57  
58 declare 'ImportDataResponse',
59 as InstanceOf['Google::Cloud::Lustre::V1::Transfer::ImportDataResponse'];
60  
61 coerce 'ImportDataResponse',
62 from HashRef, via { 'Google::Cloud::Lustre::V1::Transfer::ImportDataResponse'->new($_) };
63  
64 declare 'RepeatedImportDataResponse',
65 as ArrayRef[ImportDataResponse()];
66  
67 coerce 'RepeatedImportDataResponse',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Transfer::ImportDataResponse'->new($_) } @$_ ] };
69  
70 declare 'MapStringImportDataResponse',
71 as HashRef[ImportDataResponse()];
72  
73 declare 'ExportDataMetadata',
74 as InstanceOf['Google::Cloud::Lustre::V1::Transfer::ExportDataMetadata'];
75  
76 coerce 'ExportDataMetadata',
77 from HashRef, via { 'Google::Cloud::Lustre::V1::Transfer::ExportDataMetadata'->new($_) };
78  
79 declare 'RepeatedExportDataMetadata',
80 as ArrayRef[ExportDataMetadata()];
81  
82 coerce 'RepeatedExportDataMetadata',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Transfer::ExportDataMetadata'->new($_) } @$_ ] };
84  
85 declare 'MapStringExportDataMetadata',
86 as HashRef[ExportDataMetadata()];
87  
88 declare 'ImportDataMetadata',
89 as InstanceOf['Google::Cloud::Lustre::V1::Transfer::ImportDataMetadata'];
90  
91 coerce 'ImportDataMetadata',
92 from HashRef, via { 'Google::Cloud::Lustre::V1::Transfer::ImportDataMetadata'->new($_) };
93  
94 declare 'RepeatedImportDataMetadata',
95 as ArrayRef[ImportDataMetadata()];
96  
97 coerce 'RepeatedImportDataMetadata',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Transfer::ImportDataMetadata'->new($_) } @$_ ] };
99  
100 declare 'MapStringImportDataMetadata',
101 as HashRef[ImportDataMetadata()];
102  
103 declare 'GcsPath',
104 as InstanceOf['Google::Cloud::Lustre::V1::Transfer::GcsPath'];
105  
106 coerce 'GcsPath',
107 from HashRef, via { 'Google::Cloud::Lustre::V1::Transfer::GcsPath'->new($_) };
108  
109 declare 'RepeatedGcsPath',
110 as ArrayRef[GcsPath()];
111  
112 coerce 'RepeatedGcsPath',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Transfer::GcsPath'->new($_) } @$_ ] };
114  
115 declare 'MapStringGcsPath',
116 as HashRef[GcsPath()];
117  
118 declare 'LustrePath',
119 as InstanceOf['Google::Cloud::Lustre::V1::Transfer::LustrePath'];
120  
121 coerce 'LustrePath',
122 from HashRef, via { 'Google::Cloud::Lustre::V1::Transfer::LustrePath'->new($_) };
123  
124 declare 'RepeatedLustrePath',
125 as ArrayRef[LustrePath()];
126  
127 coerce 'RepeatedLustrePath',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Transfer::LustrePath'->new($_) } @$_ ] };
129  
130 declare 'MapStringLustrePath',
131 as HashRef[LustrePath()];
132  
133 declare 'TransferCounters',
134 as InstanceOf['Google::Cloud::Lustre::V1::Transfer::TransferCounters'];
135  
136 coerce 'TransferCounters',
137 from HashRef, via { 'Google::Cloud::Lustre::V1::Transfer::TransferCounters'->new($_) };
138  
139 declare 'RepeatedTransferCounters',
140 as ArrayRef[TransferCounters()];
141  
142 coerce 'RepeatedTransferCounters',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Transfer::TransferCounters'->new($_) } @$_ ] };
144  
145 declare 'MapStringTransferCounters',
146 as HashRef[TransferCounters()];
147  
148 declare 'ErrorLogEntry',
149 as InstanceOf['Google::Cloud::Lustre::V1::Transfer::ErrorLogEntry'];
150  
151 coerce 'ErrorLogEntry',
152 from HashRef, via { 'Google::Cloud::Lustre::V1::Transfer::ErrorLogEntry'->new($_) };
153  
154 declare 'RepeatedErrorLogEntry',
155 as ArrayRef[ErrorLogEntry()];
156  
157 coerce 'RepeatedErrorLogEntry',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Transfer::ErrorLogEntry'->new($_) } @$_ ] };
159  
160 declare 'MapStringErrorLogEntry',
161 as HashRef[ErrorLogEntry()];
162  
163 declare 'ErrorSummary',
164 as InstanceOf['Google::Cloud::Lustre::V1::Transfer::ErrorSummary'];
165  
166 coerce 'ErrorSummary',
167 from HashRef, via { 'Google::Cloud::Lustre::V1::Transfer::ErrorSummary'->new($_) };
168  
169 declare 'RepeatedErrorSummary',
170 as ArrayRef[ErrorSummary()];
171  
172 coerce 'RepeatedErrorSummary',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Transfer::ErrorSummary'->new($_) } @$_ ] };
174  
175 declare 'MapStringErrorSummary',
176 as HashRef[ErrorSummary()];
177  
178 declare 'TransferOperationMetadata',
179 as InstanceOf['Google::Cloud::Lustre::V1::Transfer::TransferOperationMetadata'];
180  
181 coerce 'TransferOperationMetadata',
182 from HashRef, via { 'Google::Cloud::Lustre::V1::Transfer::TransferOperationMetadata'->new($_) };
183  
184 declare 'RepeatedTransferOperationMetadata',
185 as ArrayRef[TransferOperationMetadata()];
186  
187 coerce 'RepeatedTransferOperationMetadata',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Transfer::TransferOperationMetadata'->new($_) } @$_ ] };
189  
190 declare 'MapStringTransferOperationMetadata',
191 as HashRef[TransferOperationMetadata()];
192  
193 1;
194  
195 __END__