V1/Snapshot/Types.pm untested

filter: Statementstmt 0.0% 0 / 121 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 126 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::Snapshot::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 'ListSnapshotsRequest',
11 as InstanceOf['Google::Cloud::Netapp::V1::Snapshot::ListSnapshotsRequest'];
12  
13 coerce 'ListSnapshotsRequest',
14 from HashRef, via { 'Google::Cloud::Netapp::V1::Snapshot::ListSnapshotsRequest'->new($_) };
15  
16 declare 'RepeatedListSnapshotsRequest',
17 as ArrayRef[ListSnapshotsRequest()];
18  
19 coerce 'RepeatedListSnapshotsRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Snapshot::ListSnapshotsRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringListSnapshotsRequest',
23 as HashRef[ListSnapshotsRequest()];
24  
25 declare 'ListSnapshotsResponse',
26 as InstanceOf['Google::Cloud::Netapp::V1::Snapshot::ListSnapshotsResponse'];
27  
28 coerce 'ListSnapshotsResponse',
29 from HashRef, via { 'Google::Cloud::Netapp::V1::Snapshot::ListSnapshotsResponse'->new($_) };
30  
31 declare 'RepeatedListSnapshotsResponse',
32 as ArrayRef[ListSnapshotsResponse()];
33  
34 coerce 'RepeatedListSnapshotsResponse',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Snapshot::ListSnapshotsResponse'->new($_) } @$_ ] };
36  
37 declare 'MapStringListSnapshotsResponse',
38 as HashRef[ListSnapshotsResponse()];
39  
40 declare 'GetSnapshotRequest',
41 as InstanceOf['Google::Cloud::Netapp::V1::Snapshot::GetSnapshotRequest'];
42  
43 coerce 'GetSnapshotRequest',
44 from HashRef, via { 'Google::Cloud::Netapp::V1::Snapshot::GetSnapshotRequest'->new($_) };
45  
46 declare 'RepeatedGetSnapshotRequest',
47 as ArrayRef[GetSnapshotRequest()];
48  
49 coerce 'RepeatedGetSnapshotRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Snapshot::GetSnapshotRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringGetSnapshotRequest',
53 as HashRef[GetSnapshotRequest()];
54  
55 declare 'CreateSnapshotRequest',
56 as InstanceOf['Google::Cloud::Netapp::V1::Snapshot::CreateSnapshotRequest'];
57  
58 coerce 'CreateSnapshotRequest',
59 from HashRef, via { 'Google::Cloud::Netapp::V1::Snapshot::CreateSnapshotRequest'->new($_) };
60  
61 declare 'RepeatedCreateSnapshotRequest',
62 as ArrayRef[CreateSnapshotRequest()];
63  
64 coerce 'RepeatedCreateSnapshotRequest',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Snapshot::CreateSnapshotRequest'->new($_) } @$_ ] };
66  
67 declare 'MapStringCreateSnapshotRequest',
68 as HashRef[CreateSnapshotRequest()];
69  
70 declare 'DeleteSnapshotRequest',
71 as InstanceOf['Google::Cloud::Netapp::V1::Snapshot::DeleteSnapshotRequest'];
72  
73 coerce 'DeleteSnapshotRequest',
74 from HashRef, via { 'Google::Cloud::Netapp::V1::Snapshot::DeleteSnapshotRequest'->new($_) };
75  
76 declare 'RepeatedDeleteSnapshotRequest',
77 as ArrayRef[DeleteSnapshotRequest()];
78  
79 coerce 'RepeatedDeleteSnapshotRequest',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Snapshot::DeleteSnapshotRequest'->new($_) } @$_ ] };
81  
82 declare 'MapStringDeleteSnapshotRequest',
83 as HashRef[DeleteSnapshotRequest()];
84  
85 declare 'UpdateSnapshotRequest',
86 as InstanceOf['Google::Cloud::Netapp::V1::Snapshot::UpdateSnapshotRequest'];
87  
88 coerce 'UpdateSnapshotRequest',
89 from HashRef, via { 'Google::Cloud::Netapp::V1::Snapshot::UpdateSnapshotRequest'->new($_) };
90  
91 declare 'RepeatedUpdateSnapshotRequest',
92 as ArrayRef[UpdateSnapshotRequest()];
93  
94 coerce 'RepeatedUpdateSnapshotRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Snapshot::UpdateSnapshotRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringUpdateSnapshotRequest',
98 as HashRef[UpdateSnapshotRequest()];
99  
100 declare 'Snapshot',
101 as InstanceOf['Google::Cloud::Netapp::V1::Snapshot::Snapshot'];
102  
103 coerce 'Snapshot',
104 from HashRef, via { 'Google::Cloud::Netapp::V1::Snapshot::Snapshot'->new($_) };
105  
106 declare 'RepeatedSnapshot',
107 as ArrayRef[Snapshot()];
108  
109 coerce 'RepeatedSnapshot',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Snapshot::Snapshot'->new($_) } @$_ ] };
111  
112 declare 'MapStringSnapshot',
113 as HashRef[Snapshot()];
114  
115 declare 'State',
116 as (Int | Str);
117  
118 declare 'LabelsEntry',
119 as InstanceOf['Google::Cloud::Netapp::V1::Snapshot::Snapshot::LabelsEntry'];
120  
121 coerce 'LabelsEntry',
122 from HashRef, via { 'Google::Cloud::Netapp::V1::Snapshot::Snapshot::LabelsEntry'->new($_) };
123  
124 declare 'RepeatedLabelsEntry',
125 as ArrayRef[LabelsEntry()];
126  
127 coerce 'RepeatedLabelsEntry',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Snapshot::Snapshot::LabelsEntry'->new($_) } @$_ ] };
129  
130 declare 'MapStringLabelsEntry',
131 as HashRef[LabelsEntry()];
132  
133 1;
134  
135 __END__