V2/Revision/Types.pm untested

filter: Statementstmt 0.0% 0 / 107 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 112 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::Run::V2::Revision::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 'GetRevisionRequest',
11 as InstanceOf['Google::Cloud::Run::V2::Revision::GetRevisionRequest'];
12  
13 coerce 'GetRevisionRequest',
14 from HashRef, via { 'Google::Cloud::Run::V2::Revision::GetRevisionRequest'->new($_) };
15  
16 declare 'RepeatedGetRevisionRequest',
17 as ArrayRef[GetRevisionRequest()];
18  
19 coerce 'RepeatedGetRevisionRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Revision::GetRevisionRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringGetRevisionRequest',
23 as HashRef[GetRevisionRequest()];
24  
25 declare 'ListRevisionsRequest',
26 as InstanceOf['Google::Cloud::Run::V2::Revision::ListRevisionsRequest'];
27  
28 coerce 'ListRevisionsRequest',
29 from HashRef, via { 'Google::Cloud::Run::V2::Revision::ListRevisionsRequest'->new($_) };
30  
31 declare 'RepeatedListRevisionsRequest',
32 as ArrayRef[ListRevisionsRequest()];
33  
34 coerce 'RepeatedListRevisionsRequest',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Revision::ListRevisionsRequest'->new($_) } @$_ ] };
36  
37 declare 'MapStringListRevisionsRequest',
38 as HashRef[ListRevisionsRequest()];
39  
40 declare 'ListRevisionsResponse',
41 as InstanceOf['Google::Cloud::Run::V2::Revision::ListRevisionsResponse'];
42  
43 coerce 'ListRevisionsResponse',
44 from HashRef, via { 'Google::Cloud::Run::V2::Revision::ListRevisionsResponse'->new($_) };
45  
46 declare 'RepeatedListRevisionsResponse',
47 as ArrayRef[ListRevisionsResponse()];
48  
49 coerce 'RepeatedListRevisionsResponse',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Revision::ListRevisionsResponse'->new($_) } @$_ ] };
51  
52 declare 'MapStringListRevisionsResponse',
53 as HashRef[ListRevisionsResponse()];
54  
55 declare 'DeleteRevisionRequest',
56 as InstanceOf['Google::Cloud::Run::V2::Revision::DeleteRevisionRequest'];
57  
58 coerce 'DeleteRevisionRequest',
59 from HashRef, via { 'Google::Cloud::Run::V2::Revision::DeleteRevisionRequest'->new($_) };
60  
61 declare 'RepeatedDeleteRevisionRequest',
62 as ArrayRef[DeleteRevisionRequest()];
63  
64 coerce 'RepeatedDeleteRevisionRequest',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Revision::DeleteRevisionRequest'->new($_) } @$_ ] };
66  
67 declare 'MapStringDeleteRevisionRequest',
68 as HashRef[DeleteRevisionRequest()];
69  
70 declare 'Revision',
71 as InstanceOf['Google::Cloud::Run::V2::Revision::Revision'];
72  
73 coerce 'Revision',
74 from HashRef, via { 'Google::Cloud::Run::V2::Revision::Revision'->new($_) };
75  
76 declare 'RepeatedRevision',
77 as ArrayRef[Revision()];
78  
79 coerce 'RepeatedRevision',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Revision::Revision'->new($_) } @$_ ] };
81  
82 declare 'MapStringRevision',
83 as HashRef[Revision()];
84  
85 declare 'LabelsEntry',
86 as InstanceOf['Google::Cloud::Run::V2::Revision::Revision::LabelsEntry'];
87  
88 coerce 'LabelsEntry',
89 from HashRef, via { 'Google::Cloud::Run::V2::Revision::Revision::LabelsEntry'->new($_) };
90  
91 declare 'RepeatedLabelsEntry',
92 as ArrayRef[LabelsEntry()];
93  
94 coerce 'RepeatedLabelsEntry',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Revision::Revision::LabelsEntry'->new($_) } @$_ ] };
96  
97 declare 'MapStringLabelsEntry',
98 as HashRef[LabelsEntry()];
99  
100 declare 'AnnotationsEntry',
101 as InstanceOf['Google::Cloud::Run::V2::Revision::Revision::AnnotationsEntry'];
102  
103 coerce 'AnnotationsEntry',
104 from HashRef, via { 'Google::Cloud::Run::V2::Revision::Revision::AnnotationsEntry'->new($_) };
105  
106 declare 'RepeatedAnnotationsEntry',
107 as ArrayRef[AnnotationsEntry()];
108  
109 coerce 'RepeatedAnnotationsEntry',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Revision::Revision::AnnotationsEntry'->new($_) } @$_ ] };
111  
112 declare 'MapStringAnnotationsEntry',
113 as HashRef[AnnotationsEntry()];
114  
115 1;
116  
117 __END__