V2/NfsShare/Types.pm untested

filter: Statementstmt 0.0% 0 / 149 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 154 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::NfsShare::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 'NfsShare',
11 as InstanceOf['Google::Cloud::Baremetalsolution::V2::NfsShare::NfsShare'];
12  
13 coerce 'NfsShare',
14 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::NfsShare::NfsShare'->new($_) };
15  
16 declare 'RepeatedNfsShare',
17 as ArrayRef[NfsShare()];
18  
19 coerce 'RepeatedNfsShare',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::NfsShare::NfsShare'->new($_) } @$_ ] };
21  
22 declare 'MapStringNfsShare',
23 as HashRef[NfsShare()];
24  
25 declare 'State',
26 as (Int | Str);
27  
28 declare 'MountPermissions',
29 as (Int | Str);
30  
31 declare 'StorageType',
32 as (Int | Str);
33  
34 declare 'AllowedClient',
35 as InstanceOf['Google::Cloud::Baremetalsolution::V2::NfsShare::NfsShare::AllowedClient'];
36  
37 coerce 'AllowedClient',
38 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::NfsShare::NfsShare::AllowedClient'->new($_) };
39  
40 declare 'RepeatedAllowedClient',
41 as ArrayRef[AllowedClient()];
42  
43 coerce 'RepeatedAllowedClient',
44 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::NfsShare::NfsShare::AllowedClient'->new($_) } @$_ ] };
45  
46 declare 'MapStringAllowedClient',
47 as HashRef[AllowedClient()];
48  
49 declare 'LabelsEntry',
50 as InstanceOf['Google::Cloud::Baremetalsolution::V2::NfsShare::NfsShare::LabelsEntry'];
51  
52 coerce 'LabelsEntry',
53 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::NfsShare::NfsShare::LabelsEntry'->new($_) };
54  
55 declare 'RepeatedLabelsEntry',
56 as ArrayRef[LabelsEntry()];
57  
58 coerce 'RepeatedLabelsEntry',
59 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::NfsShare::NfsShare::LabelsEntry'->new($_) } @$_ ] };
60  
61 declare 'MapStringLabelsEntry',
62 as HashRef[LabelsEntry()];
63  
64 declare 'GetNfsShareRequest',
65 as InstanceOf['Google::Cloud::Baremetalsolution::V2::NfsShare::GetNfsShareRequest'];
66  
67 coerce 'GetNfsShareRequest',
68 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::NfsShare::GetNfsShareRequest'->new($_) };
69  
70 declare 'RepeatedGetNfsShareRequest',
71 as ArrayRef[GetNfsShareRequest()];
72  
73 coerce 'RepeatedGetNfsShareRequest',
74 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::NfsShare::GetNfsShareRequest'->new($_) } @$_ ] };
75  
76 declare 'MapStringGetNfsShareRequest',
77 as HashRef[GetNfsShareRequest()];
78  
79 declare 'ListNfsSharesRequest',
80 as InstanceOf['Google::Cloud::Baremetalsolution::V2::NfsShare::ListNfsSharesRequest'];
81  
82 coerce 'ListNfsSharesRequest',
83 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::NfsShare::ListNfsSharesRequest'->new($_) };
84  
85 declare 'RepeatedListNfsSharesRequest',
86 as ArrayRef[ListNfsSharesRequest()];
87  
88 coerce 'RepeatedListNfsSharesRequest',
89 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::NfsShare::ListNfsSharesRequest'->new($_) } @$_ ] };
90  
91 declare 'MapStringListNfsSharesRequest',
92 as HashRef[ListNfsSharesRequest()];
93  
94 declare 'ListNfsSharesResponse',
95 as InstanceOf['Google::Cloud::Baremetalsolution::V2::NfsShare::ListNfsSharesResponse'];
96  
97 coerce 'ListNfsSharesResponse',
98 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::NfsShare::ListNfsSharesResponse'->new($_) };
99  
100 declare 'RepeatedListNfsSharesResponse',
101 as ArrayRef[ListNfsSharesResponse()];
102  
103 coerce 'RepeatedListNfsSharesResponse',
104 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::NfsShare::ListNfsSharesResponse'->new($_) } @$_ ] };
105  
106 declare 'MapStringListNfsSharesResponse',
107 as HashRef[ListNfsSharesResponse()];
108  
109 declare 'UpdateNfsShareRequest',
110 as InstanceOf['Google::Cloud::Baremetalsolution::V2::NfsShare::UpdateNfsShareRequest'];
111  
112 coerce 'UpdateNfsShareRequest',
113 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::NfsShare::UpdateNfsShareRequest'->new($_) };
114  
115 declare 'RepeatedUpdateNfsShareRequest',
116 as ArrayRef[UpdateNfsShareRequest()];
117  
118 coerce 'RepeatedUpdateNfsShareRequest',
119 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::NfsShare::UpdateNfsShareRequest'->new($_) } @$_ ] };
120  
121 declare 'MapStringUpdateNfsShareRequest',
122 as HashRef[UpdateNfsShareRequest()];
123  
124 declare 'RenameNfsShareRequest',
125 as InstanceOf['Google::Cloud::Baremetalsolution::V2::NfsShare::RenameNfsShareRequest'];
126  
127 coerce 'RenameNfsShareRequest',
128 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::NfsShare::RenameNfsShareRequest'->new($_) };
129  
130 declare 'RepeatedRenameNfsShareRequest',
131 as ArrayRef[RenameNfsShareRequest()];
132  
133 coerce 'RepeatedRenameNfsShareRequest',
134 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::NfsShare::RenameNfsShareRequest'->new($_) } @$_ ] };
135  
136 declare 'MapStringRenameNfsShareRequest',
137 as HashRef[RenameNfsShareRequest()];
138  
139 declare 'CreateNfsShareRequest',
140 as InstanceOf['Google::Cloud::Baremetalsolution::V2::NfsShare::CreateNfsShareRequest'];
141  
142 coerce 'CreateNfsShareRequest',
143 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::NfsShare::CreateNfsShareRequest'->new($_) };
144  
145 declare 'RepeatedCreateNfsShareRequest',
146 as ArrayRef[CreateNfsShareRequest()];
147  
148 coerce 'RepeatedCreateNfsShareRequest',
149 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::NfsShare::CreateNfsShareRequest'->new($_) } @$_ ] };
150  
151 declare 'MapStringCreateNfsShareRequest',
152 as HashRef[CreateNfsShareRequest()];
153  
154 declare 'DeleteNfsShareRequest',
155 as InstanceOf['Google::Cloud::Baremetalsolution::V2::NfsShare::DeleteNfsShareRequest'];
156  
157 coerce 'DeleteNfsShareRequest',
158 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::NfsShare::DeleteNfsShareRequest'->new($_) };
159  
160 declare 'RepeatedDeleteNfsShareRequest',
161 as ArrayRef[DeleteNfsShareRequest()];
162  
163 coerce 'RepeatedDeleteNfsShareRequest',
164 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::NfsShare::DeleteNfsShareRequest'->new($_) } @$_ ] };
165  
166 declare 'MapStringDeleteNfsShareRequest',
167 as HashRef[DeleteNfsShareRequest()];
168  
169 1;
170  
171 __END__