Devicesandservices/Health/V4/HealthProfile/Types.pm untested

filter: Statementstmt 0.0% 0 / 220 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 225 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Devicesandservices::Health::V4::HealthProfile::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 'User',
11 as InstanceOf['Google::Devicesandservices::Health::V4::HealthProfile::User'];
12  
13 coerce 'User',
14 from HashRef, via { 'Google::Devicesandservices::Health::V4::HealthProfile::User'->new($_) };
15  
16 declare 'RepeatedUser',
17 as ArrayRef[User()];
18  
19 coerce 'RepeatedUser',
20 from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::HealthProfile::User'->new($_) } @$_ ] };
21  
22 declare 'MapStringUser',
23 as HashRef[User()];
24  
25 declare 'Profile',
26 as InstanceOf['Google::Devicesandservices::Health::V4::HealthProfile::Profile'];
27  
28 coerce 'Profile',
29 from HashRef, via { 'Google::Devicesandservices::Health::V4::HealthProfile::Profile'->new($_) };
30  
31 declare 'RepeatedProfile',
32 as ArrayRef[Profile()];
33  
34 coerce 'RepeatedProfile',
35 from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::HealthProfile::Profile'->new($_) } @$_ ] };
36  
37 declare 'MapStringProfile',
38 as HashRef[Profile()];
39  
40 declare 'PairedDevice',
41 as InstanceOf['Google::Devicesandservices::Health::V4::HealthProfile::PairedDevice'];
42  
43 coerce 'PairedDevice',
44 from HashRef, via { 'Google::Devicesandservices::Health::V4::HealthProfile::PairedDevice'->new($_) };
45  
46 declare 'RepeatedPairedDevice',
47 as ArrayRef[PairedDevice()];
48  
49 coerce 'RepeatedPairedDevice',
50 from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::HealthProfile::PairedDevice'->new($_) } @$_ ] };
51  
52 declare 'MapStringPairedDevice',
53 as HashRef[PairedDevice()];
54  
55 declare 'DeviceType',
56 as (Int | Str);
57  
58 declare 'IrnProfile',
59 as InstanceOf['Google::Devicesandservices::Health::V4::HealthProfile::IrnProfile'];
60  
61 coerce 'IrnProfile',
62 from HashRef, via { 'Google::Devicesandservices::Health::V4::HealthProfile::IrnProfile'->new($_) };
63  
64 declare 'RepeatedIrnProfile',
65 as ArrayRef[IrnProfile()];
66  
67 coerce 'RepeatedIrnProfile',
68 from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::HealthProfile::IrnProfile'->new($_) } @$_ ] };
69  
70 declare 'MapStringIrnProfile',
71 as HashRef[IrnProfile()];
72  
73 declare 'Settings',
74 as InstanceOf['Google::Devicesandservices::Health::V4::HealthProfile::Settings'];
75  
76 coerce 'Settings',
77 from HashRef, via { 'Google::Devicesandservices::Health::V4::HealthProfile::Settings'->new($_) };
78  
79 declare 'RepeatedSettings',
80 as ArrayRef[Settings()];
81  
82 coerce 'RepeatedSettings',
83 from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::HealthProfile::Settings'->new($_) } @$_ ] };
84  
85 declare 'MapStringSettings',
86 as HashRef[Settings()];
87  
88 declare 'DistanceUnit',
89 as (Int | Str);
90  
91 declare 'GlucoseUnit',
92 as (Int | Str);
93  
94 declare 'HeightUnit',
95 as (Int | Str);
96  
97 declare 'StrideLengthType',
98 as (Int | Str);
99  
100 declare 'SwimUnit',
101 as (Int | Str);
102  
103 declare 'TemperatureUnit',
104 as (Int | Str);
105  
106 declare 'WeightUnit',
107 as (Int | Str);
108  
109 declare 'WaterUnit',
110 as (Int | Str);
111  
112 declare 'Identity',
113 as InstanceOf['Google::Devicesandservices::Health::V4::HealthProfile::Identity'];
114  
115 coerce 'Identity',
116 from HashRef, via { 'Google::Devicesandservices::Health::V4::HealthProfile::Identity'->new($_) };
117  
118 declare 'RepeatedIdentity',
119 as ArrayRef[Identity()];
120  
121 coerce 'RepeatedIdentity',
122 from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::HealthProfile::Identity'->new($_) } @$_ ] };
123  
124 declare 'MapStringIdentity',
125 as HashRef[Identity()];
126  
127 declare 'GetProfileRequest',
128 as InstanceOf['Google::Devicesandservices::Health::V4::HealthProfile::GetProfileRequest'];
129  
130 coerce 'GetProfileRequest',
131 from HashRef, via { 'Google::Devicesandservices::Health::V4::HealthProfile::GetProfileRequest'->new($_) };
132  
133 declare 'RepeatedGetProfileRequest',
134 as ArrayRef[GetProfileRequest()];
135  
136 coerce 'RepeatedGetProfileRequest',
137 from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::HealthProfile::GetProfileRequest'->new($_) } @$_ ] };
138  
139 declare 'MapStringGetProfileRequest',
140 as HashRef[GetProfileRequest()];
141  
142 declare 'GetIrnProfileRequest',
143 as InstanceOf['Google::Devicesandservices::Health::V4::HealthProfile::GetIrnProfileRequest'];
144  
145 coerce 'GetIrnProfileRequest',
146 from HashRef, via { 'Google::Devicesandservices::Health::V4::HealthProfile::GetIrnProfileRequest'->new($_) };
147  
148 declare 'RepeatedGetIrnProfileRequest',
149 as ArrayRef[GetIrnProfileRequest()];
150  
151 coerce 'RepeatedGetIrnProfileRequest',
152 from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::HealthProfile::GetIrnProfileRequest'->new($_) } @$_ ] };
153  
154 declare 'MapStringGetIrnProfileRequest',
155 as HashRef[GetIrnProfileRequest()];
156  
157 declare 'UpdateProfileRequest',
158 as InstanceOf['Google::Devicesandservices::Health::V4::HealthProfile::UpdateProfileRequest'];
159  
160 coerce 'UpdateProfileRequest',
161 from HashRef, via { 'Google::Devicesandservices::Health::V4::HealthProfile::UpdateProfileRequest'->new($_) };
162  
163 declare 'RepeatedUpdateProfileRequest',
164 as ArrayRef[UpdateProfileRequest()];
165  
166 coerce 'RepeatedUpdateProfileRequest',
167 from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::HealthProfile::UpdateProfileRequest'->new($_) } @$_ ] };
168  
169 declare 'MapStringUpdateProfileRequest',
170 as HashRef[UpdateProfileRequest()];
171  
172 declare 'GetSettingsRequest',
173 as InstanceOf['Google::Devicesandservices::Health::V4::HealthProfile::GetSettingsRequest'];
174  
175 coerce 'GetSettingsRequest',
176 from HashRef, via { 'Google::Devicesandservices::Health::V4::HealthProfile::GetSettingsRequest'->new($_) };
177  
178 declare 'RepeatedGetSettingsRequest',
179 as ArrayRef[GetSettingsRequest()];
180  
181 coerce 'RepeatedGetSettingsRequest',
182 from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::HealthProfile::GetSettingsRequest'->new($_) } @$_ ] };
183  
184 declare 'MapStringGetSettingsRequest',
185 as HashRef[GetSettingsRequest()];
186  
187 declare 'UpdateSettingsRequest',
188 as InstanceOf['Google::Devicesandservices::Health::V4::HealthProfile::UpdateSettingsRequest'];
189  
190 coerce 'UpdateSettingsRequest',
191 from HashRef, via { 'Google::Devicesandservices::Health::V4::HealthProfile::UpdateSettingsRequest'->new($_) };
192  
193 declare 'RepeatedUpdateSettingsRequest',
194 as ArrayRef[UpdateSettingsRequest()];
195  
196 coerce 'RepeatedUpdateSettingsRequest',
197 from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::HealthProfile::UpdateSettingsRequest'->new($_) } @$_ ] };
198  
199 declare 'MapStringUpdateSettingsRequest',
200 as HashRef[UpdateSettingsRequest()];
201  
202 declare 'GetIdentityRequest',
203 as InstanceOf['Google::Devicesandservices::Health::V4::HealthProfile::GetIdentityRequest'];
204  
205 coerce 'GetIdentityRequest',
206 from HashRef, via { 'Google::Devicesandservices::Health::V4::HealthProfile::GetIdentityRequest'->new($_) };
207  
208 declare 'RepeatedGetIdentityRequest',
209 as ArrayRef[GetIdentityRequest()];
210  
211 coerce 'RepeatedGetIdentityRequest',
212 from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::HealthProfile::GetIdentityRequest'->new($_) } @$_ ] };
213  
214 declare 'MapStringGetIdentityRequest',
215 as HashRef[GetIdentityRequest()];
216  
217 declare 'GetPairedDeviceRequest',
218 as InstanceOf['Google::Devicesandservices::Health::V4::HealthProfile::GetPairedDeviceRequest'];
219  
220 coerce 'GetPairedDeviceRequest',
221 from HashRef, via { 'Google::Devicesandservices::Health::V4::HealthProfile::GetPairedDeviceRequest'->new($_) };
222  
223 declare 'RepeatedGetPairedDeviceRequest',
224 as ArrayRef[GetPairedDeviceRequest()];
225  
226 coerce 'RepeatedGetPairedDeviceRequest',
227 from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::HealthProfile::GetPairedDeviceRequest'->new($_) } @$_ ] };
228  
229 declare 'MapStringGetPairedDeviceRequest',
230 as HashRef[GetPairedDeviceRequest()];
231  
232 declare 'ListPairedDevicesRequest',
233 as InstanceOf['Google::Devicesandservices::Health::V4::HealthProfile::ListPairedDevicesRequest'];
234  
235 coerce 'ListPairedDevicesRequest',
236 from HashRef, via { 'Google::Devicesandservices::Health::V4::HealthProfile::ListPairedDevicesRequest'->new($_) };
237  
238 declare 'RepeatedListPairedDevicesRequest',
239 as ArrayRef[ListPairedDevicesRequest()];
240  
241 coerce 'RepeatedListPairedDevicesRequest',
242 from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::HealthProfile::ListPairedDevicesRequest'->new($_) } @$_ ] };
243  
244 declare 'MapStringListPairedDevicesRequest',
245 as HashRef[ListPairedDevicesRequest()];
246  
247 declare 'ListPairedDevicesResponse',
248 as InstanceOf['Google::Devicesandservices::Health::V4::HealthProfile::ListPairedDevicesResponse'];
249  
250 coerce 'ListPairedDevicesResponse',
251 from HashRef, via { 'Google::Devicesandservices::Health::V4::HealthProfile::ListPairedDevicesResponse'->new($_) };
252  
253 declare 'RepeatedListPairedDevicesResponse',
254 as ArrayRef[ListPairedDevicesResponse()];
255  
256 coerce 'RepeatedListPairedDevicesResponse',
257 from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::HealthProfile::ListPairedDevicesResponse'->new($_) } @$_ ] };
258  
259 declare 'MapStringListPairedDevicesResponse',
260 as HashRef[ListPairedDevicesResponse()];
261  
262 1;
263  
264 __END__