« Devicesandservices/Health/V4/DataModel.pm
↑ Summary
Devicesandservices/Health/V4/DataPoints/Types.pm »
| 1 | package Google::Devicesandservices::Health::V4::DataModel::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 'HeartRateZoneType', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'FoodAccessLevel', | ||
| 14 | as (Int | Str); | ||
| 15 | |||
| 16 | declare 'MealType', | ||
| 17 | as (Int | Str); | ||
| 18 | |||
| 19 | declare 'EnergyUnit', | ||
| 20 | as (Int | Str); | ||
| 21 | |||
| 22 | declare 'Nutrient', | ||
| 23 | as (Int | Str); | ||
| 24 | |||
| 25 | declare 'WeightUnit', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'VolumeUnit', | ||
| 29 | as (Int | Str); | ||
| 30 | |||
| 31 | declare 'OvulationTestResult', | ||
| 32 | as (Int | Str); | ||
| 33 | |||
| 34 | declare 'ActiveZoneMinutes', | ||
| 35 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::ActiveZoneMinutes']; | ||
| 36 | |||
| 37 | coerce 'ActiveZoneMinutes', | ||
| 38 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::ActiveZoneMinutes'->new($_) }; | ||
| 39 | |||
| 40 | declare 'RepeatedActiveZoneMinutes', | ||
| 41 | as ArrayRef[ActiveZoneMinutes()]; | ||
| 42 | |||
| 43 | coerce 'RepeatedActiveZoneMinutes', | ||
| 44 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::ActiveZoneMinutes'->new($_) } @$_ ] }; | ||
| 45 | |||
| 46 | declare 'MapStringActiveZoneMinutes', | ||
| 47 | as HashRef[ActiveZoneMinutes()]; | ||
| 48 | |||
| 49 | declare 'HeartRateZone', | ||
| 50 | as (Int | Str); | ||
| 51 | |||
| 52 | declare 'ActiveZoneMinutesRollupValue', | ||
| 53 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::ActiveZoneMinutesRollupValue']; | ||
| 54 | |||
| 55 | coerce 'ActiveZoneMinutesRollupValue', | ||
| 56 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::ActiveZoneMinutesRollupValue'->new($_) }; | ||
| 57 | |||
| 58 | declare 'RepeatedActiveZoneMinutesRollupValue', | ||
| 59 | as ArrayRef[ActiveZoneMinutesRollupValue()]; | ||
| 60 | |||
| 61 | coerce 'RepeatedActiveZoneMinutesRollupValue', | ||
| 62 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::ActiveZoneMinutesRollupValue'->new($_) } @$_ ] }; | ||
| 63 | |||
| 64 | declare 'MapStringActiveZoneMinutesRollupValue', | ||
| 65 | as HashRef[ActiveZoneMinutesRollupValue()]; | ||
| 66 | |||
| 67 | declare 'ActiveMinutes', | ||
| 68 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::ActiveMinutes']; | ||
| 69 | |||
| 70 | coerce 'ActiveMinutes', | ||
| 71 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::ActiveMinutes'->new($_) }; | ||
| 72 | |||
| 73 | declare 'RepeatedActiveMinutes', | ||
| 74 | as ArrayRef[ActiveMinutes()]; | ||
| 75 | |||
| 76 | coerce 'RepeatedActiveMinutes', | ||
| 77 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::ActiveMinutes'->new($_) } @$_ ] }; | ||
| 78 | |||
| 79 | declare 'MapStringActiveMinutes', | ||
| 80 | as HashRef[ActiveMinutes()]; | ||
| 81 | |||
| 82 | declare 'ActivityLevel', | ||
| 83 | as (Int | Str); | ||
| 84 | |||
| 85 | declare 'ActiveMinutesByActivityLevel', | ||
| 86 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::ActiveMinutes::ActiveMinutesByActivityLevel']; | ||
| 87 | |||
| 88 | coerce 'ActiveMinutesByActivityLevel', | ||
| 89 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::ActiveMinutes::ActiveMinutesByActivityLevel'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedActiveMinutesByActivityLevel', | ||
| 92 | as ArrayRef[ActiveMinutesByActivityLevel()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedActiveMinutesByActivityLevel', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::ActiveMinutes::ActiveMinutesByActivityLevel'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringActiveMinutesByActivityLevel', | ||
| 98 | as HashRef[ActiveMinutesByActivityLevel()]; | ||
| 99 | |||
| 100 | declare 'ActiveMinutesRollupValue', | ||
| 101 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::ActiveMinutesRollupValue']; | ||
| 102 | |||
| 103 | coerce 'ActiveMinutesRollupValue', | ||
| 104 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::ActiveMinutesRollupValue'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedActiveMinutesRollupValue', | ||
| 107 | as ArrayRef[ActiveMinutesRollupValue()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedActiveMinutesRollupValue', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::ActiveMinutesRollupValue'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringActiveMinutesRollupValue', | ||
| 113 | as HashRef[ActiveMinutesRollupValue()]; | ||
| 114 | |||
| 115 | declare 'ActiveMinutesRollupByActivityLevel', | ||
| 116 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::ActiveMinutesRollupValue::ActiveMinutesRollupByActivityLevel']; | ||
| 117 | |||
| 118 | coerce 'ActiveMinutesRollupByActivityLevel', | ||
| 119 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::ActiveMinutesRollupValue::ActiveMinutesRollupByActivityLevel'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedActiveMinutesRollupByActivityLevel', | ||
| 122 | as ArrayRef[ActiveMinutesRollupByActivityLevel()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedActiveMinutesRollupByActivityLevel', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::ActiveMinutesRollupValue::ActiveMinutesRollupByActivityLevel'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringActiveMinutesRollupByActivityLevel', | ||
| 128 | as HashRef[ActiveMinutesRollupByActivityLevel()]; | ||
| 129 | |||
| 130 | declare 'ActivityLevel', | ||
| 131 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::ActivityLevel']; | ||
| 132 | |||
| 133 | coerce 'ActivityLevel', | ||
| 134 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::ActivityLevel'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedActivityLevel', | ||
| 137 | as ArrayRef[ActivityLevel()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedActivityLevel', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::ActivityLevel'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringActivityLevel', | ||
| 143 | as HashRef[ActivityLevel()]; | ||
| 144 | |||
| 145 | declare 'ActivityLevelType', | ||
| 146 | as (Int | Str); | ||
| 147 | |||
| 148 | declare 'ActivityLevelRollupValue', | ||
| 149 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::ActivityLevelRollupValue']; | ||
| 150 | |||
| 151 | coerce 'ActivityLevelRollupValue', | ||
| 152 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::ActivityLevelRollupValue'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedActivityLevelRollupValue', | ||
| 155 | as ArrayRef[ActivityLevelRollupValue()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedActivityLevelRollupValue', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::ActivityLevelRollupValue'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringActivityLevelRollupValue', | ||
| 161 | as HashRef[ActivityLevelRollupValue()]; | ||
| 162 | |||
| 163 | declare 'ActivityLevelRollupByActivityLevelType', | ||
| 164 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::ActivityLevelRollupValue::ActivityLevelRollupByActivityLevelType']; | ||
| 165 | |||
| 166 | coerce 'ActivityLevelRollupByActivityLevelType', | ||
| 167 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::ActivityLevelRollupValue::ActivityLevelRollupByActivityLevelType'->new($_) }; | ||
| 168 | |||
| 169 | declare 'RepeatedActivityLevelRollupByActivityLevelType', | ||
| 170 | as ArrayRef[ActivityLevelRollupByActivityLevelType()]; | ||
| 171 | |||
| 172 | coerce 'RepeatedActivityLevelRollupByActivityLevelType', | ||
| 173 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::ActivityLevelRollupValue::ActivityLevelRollupByActivityLevelType'->new($_) } @$_ ] }; | ||
| 174 | |||
| 175 | declare 'MapStringActivityLevelRollupByActivityLevelType', | ||
| 176 | as HashRef[ActivityLevelRollupByActivityLevelType()]; | ||
| 177 | |||
| 178 | declare 'Altitude', | ||
| 179 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Altitude']; | ||
| 180 | |||
| 181 | coerce 'Altitude', | ||
| 182 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Altitude'->new($_) }; | ||
| 183 | |||
| 184 | declare 'RepeatedAltitude', | ||
| 185 | as ArrayRef[Altitude()]; | ||
| 186 | |||
| 187 | coerce 'RepeatedAltitude', | ||
| 188 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Altitude'->new($_) } @$_ ] }; | ||
| 189 | |||
| 190 | declare 'MapStringAltitude', | ||
| 191 | as HashRef[Altitude()]; | ||
| 192 | |||
| 193 | declare 'BasalEnergyBurned', | ||
| 194 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::BasalEnergyBurned']; | ||
| 195 | |||
| 196 | coerce 'BasalEnergyBurned', | ||
| 197 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::BasalEnergyBurned'->new($_) }; | ||
| 198 | |||
| 199 | declare 'RepeatedBasalEnergyBurned', | ||
| 200 | as ArrayRef[BasalEnergyBurned()]; | ||
| 201 | |||
| 202 | coerce 'RepeatedBasalEnergyBurned', | ||
| 203 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::BasalEnergyBurned'->new($_) } @$_ ] }; | ||
| 204 | |||
| 205 | declare 'MapStringBasalEnergyBurned', | ||
| 206 | as HashRef[BasalEnergyBurned()]; | ||
| 207 | |||
| 208 | declare 'BodyFat', | ||
| 209 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::BodyFat']; | ||
| 210 | |||
| 211 | coerce 'BodyFat', | ||
| 212 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::BodyFat'->new($_) }; | ||
| 213 | |||
| 214 | declare 'RepeatedBodyFat', | ||
| 215 | as ArrayRef[BodyFat()]; | ||
| 216 | |||
| 217 | coerce 'RepeatedBodyFat', | ||
| 218 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::BodyFat'->new($_) } @$_ ] }; | ||
| 219 | |||
| 220 | declare 'MapStringBodyFat', | ||
| 221 | as HashRef[BodyFat()]; | ||
| 222 | |||
| 223 | declare 'BodyFatRollupValue', | ||
| 224 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::BodyFatRollupValue']; | ||
| 225 | |||
| 226 | coerce 'BodyFatRollupValue', | ||
| 227 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::BodyFatRollupValue'->new($_) }; | ||
| 228 | |||
| 229 | declare 'RepeatedBodyFatRollupValue', | ||
| 230 | as ArrayRef[BodyFatRollupValue()]; | ||
| 231 | |||
| 232 | coerce 'RepeatedBodyFatRollupValue', | ||
| 233 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::BodyFatRollupValue'->new($_) } @$_ ] }; | ||
| 234 | |||
| 235 | declare 'MapStringBodyFatRollupValue', | ||
| 236 | as HashRef[BodyFatRollupValue()]; | ||
| 237 | |||
| 238 | declare 'CoreBodyTemperature', | ||
| 239 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::CoreBodyTemperature']; | ||
| 240 | |||
| 241 | coerce 'CoreBodyTemperature', | ||
| 242 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::CoreBodyTemperature'->new($_) }; | ||
| 243 | |||
| 244 | declare 'RepeatedCoreBodyTemperature', | ||
| 245 | as ArrayRef[CoreBodyTemperature()]; | ||
| 246 | |||
| 247 | coerce 'RepeatedCoreBodyTemperature', | ||
| 248 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::CoreBodyTemperature'->new($_) } @$_ ] }; | ||
| 249 | |||
| 250 | declare 'MapStringCoreBodyTemperature', | ||
| 251 | as HashRef[CoreBodyTemperature()]; | ||
| 252 | |||
| 253 | declare 'MeasurementLocation', | ||
| 254 | as (Int | Str); | ||
| 255 | |||
| 256 | declare 'CoreBodyTemperatureRollupValue', | ||
| 257 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::CoreBodyTemperatureRollupValue']; | ||
| 258 | |||
| 259 | coerce 'CoreBodyTemperatureRollupValue', | ||
| 260 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::CoreBodyTemperatureRollupValue'->new($_) }; | ||
| 261 | |||
| 262 | declare 'RepeatedCoreBodyTemperatureRollupValue', | ||
| 263 | as ArrayRef[CoreBodyTemperatureRollupValue()]; | ||
| 264 | |||
| 265 | coerce 'RepeatedCoreBodyTemperatureRollupValue', | ||
| 266 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::CoreBodyTemperatureRollupValue'->new($_) } @$_ ] }; | ||
| 267 | |||
| 268 | declare 'MapStringCoreBodyTemperatureRollupValue', | ||
| 269 | as HashRef[CoreBodyTemperatureRollupValue()]; | ||
| 270 | |||
| 271 | declare 'CaloriesInHeartRateZoneRollupValue', | ||
| 272 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::CaloriesInHeartRateZoneRollupValue']; | ||
| 273 | |||
| 274 | coerce 'CaloriesInHeartRateZoneRollupValue', | ||
| 275 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::CaloriesInHeartRateZoneRollupValue'->new($_) }; | ||
| 276 | |||
| 277 | declare 'RepeatedCaloriesInHeartRateZoneRollupValue', | ||
| 278 | as ArrayRef[CaloriesInHeartRateZoneRollupValue()]; | ||
| 279 | |||
| 280 | coerce 'RepeatedCaloriesInHeartRateZoneRollupValue', | ||
| 281 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::CaloriesInHeartRateZoneRollupValue'->new($_) } @$_ ] }; | ||
| 282 | |||
| 283 | declare 'MapStringCaloriesInHeartRateZoneRollupValue', | ||
| 284 | as HashRef[CaloriesInHeartRateZoneRollupValue()]; | ||
| 285 | |||
| 286 | declare 'CaloriesInHeartRateZoneValue', | ||
| 287 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::CaloriesInHeartRateZoneRollupValue::CaloriesInHeartRateZoneValue']; | ||
| 288 | |||
| 289 | coerce 'CaloriesInHeartRateZoneValue', | ||
| 290 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::CaloriesInHeartRateZoneRollupValue::CaloriesInHeartRateZoneValue'->new($_) }; | ||
| 291 | |||
| 292 | declare 'RepeatedCaloriesInHeartRateZoneValue', | ||
| 293 | as ArrayRef[CaloriesInHeartRateZoneValue()]; | ||
| 294 | |||
| 295 | coerce 'RepeatedCaloriesInHeartRateZoneValue', | ||
| 296 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::CaloriesInHeartRateZoneRollupValue::CaloriesInHeartRateZoneValue'->new($_) } @$_ ] }; | ||
| 297 | |||
| 298 | declare 'MapStringCaloriesInHeartRateZoneValue', | ||
| 299 | as HashRef[CaloriesInHeartRateZoneValue()]; | ||
| 300 | |||
| 301 | declare 'DailyHeartRateZones', | ||
| 302 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::DailyHeartRateZones']; | ||
| 303 | |||
| 304 | coerce 'DailyHeartRateZones', | ||
| 305 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::DailyHeartRateZones'->new($_) }; | ||
| 306 | |||
| 307 | declare 'RepeatedDailyHeartRateZones', | ||
| 308 | as ArrayRef[DailyHeartRateZones()]; | ||
| 309 | |||
| 310 | coerce 'RepeatedDailyHeartRateZones', | ||
| 311 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::DailyHeartRateZones'->new($_) } @$_ ] }; | ||
| 312 | |||
| 313 | declare 'MapStringDailyHeartRateZones', | ||
| 314 | as HashRef[DailyHeartRateZones()]; | ||
| 315 | |||
| 316 | declare 'HeartRateZone', | ||
| 317 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::DailyHeartRateZones::HeartRateZone']; | ||
| 318 | |||
| 319 | coerce 'HeartRateZone', | ||
| 320 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::DailyHeartRateZones::HeartRateZone'->new($_) }; | ||
| 321 | |||
| 322 | declare 'RepeatedHeartRateZone', | ||
| 323 | as ArrayRef[HeartRateZone()]; | ||
| 324 | |||
| 325 | coerce 'RepeatedHeartRateZone', | ||
| 326 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::DailyHeartRateZones::HeartRateZone'->new($_) } @$_ ] }; | ||
| 327 | |||
| 328 | declare 'MapStringHeartRateZone', | ||
| 329 | as HashRef[HeartRateZone()]; | ||
| 330 | |||
| 331 | declare 'DailyHeartRateVariability', | ||
| 332 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::DailyHeartRateVariability']; | ||
| 333 | |||
| 334 | coerce 'DailyHeartRateVariability', | ||
| 335 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::DailyHeartRateVariability'->new($_) }; | ||
| 336 | |||
| 337 | declare 'RepeatedDailyHeartRateVariability', | ||
| 338 | as ArrayRef[DailyHeartRateVariability()]; | ||
| 339 | |||
| 340 | coerce 'RepeatedDailyHeartRateVariability', | ||
| 341 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::DailyHeartRateVariability'->new($_) } @$_ ] }; | ||
| 342 | |||
| 343 | declare 'MapStringDailyHeartRateVariability', | ||
| 344 | as HashRef[DailyHeartRateVariability()]; | ||
| 345 | |||
| 346 | declare 'DailyRespiratoryRate', | ||
| 347 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::DailyRespiratoryRate']; | ||
| 348 | |||
| 349 | coerce 'DailyRespiratoryRate', | ||
| 350 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::DailyRespiratoryRate'->new($_) }; | ||
| 351 | |||
| 352 | declare 'RepeatedDailyRespiratoryRate', | ||
| 353 | as ArrayRef[DailyRespiratoryRate()]; | ||
| 354 | |||
| 355 | coerce 'RepeatedDailyRespiratoryRate', | ||
| 356 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::DailyRespiratoryRate'->new($_) } @$_ ] }; | ||
| 357 | |||
| 358 | declare 'MapStringDailyRespiratoryRate', | ||
| 359 | as HashRef[DailyRespiratoryRate()]; | ||
| 360 | |||
| 361 | declare 'DailyOxygenSaturation', | ||
| 362 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::DailyOxygenSaturation']; | ||
| 363 | |||
| 364 | coerce 'DailyOxygenSaturation', | ||
| 365 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::DailyOxygenSaturation'->new($_) }; | ||
| 366 | |||
| 367 | declare 'RepeatedDailyOxygenSaturation', | ||
| 368 | as ArrayRef[DailyOxygenSaturation()]; | ||
| 369 | |||
| 370 | coerce 'RepeatedDailyOxygenSaturation', | ||
| 371 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::DailyOxygenSaturation'->new($_) } @$_ ] }; | ||
| 372 | |||
| 373 | declare 'MapStringDailyOxygenSaturation', | ||
| 374 | as HashRef[DailyOxygenSaturation()]; | ||
| 375 | |||
| 376 | declare 'DailyRestingHeartRate', | ||
| 377 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::DailyRestingHeartRate']; | ||
| 378 | |||
| 379 | coerce 'DailyRestingHeartRate', | ||
| 380 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::DailyRestingHeartRate'->new($_) }; | ||
| 381 | |||
| 382 | declare 'RepeatedDailyRestingHeartRate', | ||
| 383 | as ArrayRef[DailyRestingHeartRate()]; | ||
| 384 | |||
| 385 | coerce 'RepeatedDailyRestingHeartRate', | ||
| 386 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::DailyRestingHeartRate'->new($_) } @$_ ] }; | ||
| 387 | |||
| 388 | declare 'MapStringDailyRestingHeartRate', | ||
| 389 | as HashRef[DailyRestingHeartRate()]; | ||
| 390 | |||
| 391 | declare 'DailyRestingHeartRateMetadata', | ||
| 392 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::DailyRestingHeartRate::DailyRestingHeartRateMetadata']; | ||
| 393 | |||
| 394 | coerce 'DailyRestingHeartRateMetadata', | ||
| 395 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::DailyRestingHeartRate::DailyRestingHeartRateMetadata'->new($_) }; | ||
| 396 | |||
| 397 | declare 'RepeatedDailyRestingHeartRateMetadata', | ||
| 398 | as ArrayRef[DailyRestingHeartRateMetadata()]; | ||
| 399 | |||
| 400 | coerce 'RepeatedDailyRestingHeartRateMetadata', | ||
| 401 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::DailyRestingHeartRate::DailyRestingHeartRateMetadata'->new($_) } @$_ ] }; | ||
| 402 | |||
| 403 | declare 'MapStringDailyRestingHeartRateMetadata', | ||
| 404 | as HashRef[DailyRestingHeartRateMetadata()]; | ||
| 405 | |||
| 406 | declare 'CalculationMethod', | ||
| 407 | as (Int | Str); | ||
| 408 | |||
| 409 | declare 'DailySleepTemperatureDerivations', | ||
| 410 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::DailySleepTemperatureDerivations']; | ||
| 411 | |||
| 412 | coerce 'DailySleepTemperatureDerivations', | ||
| 413 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::DailySleepTemperatureDerivations'->new($_) }; | ||
| 414 | |||
| 415 | declare 'RepeatedDailySleepTemperatureDerivations', | ||
| 416 | as ArrayRef[DailySleepTemperatureDerivations()]; | ||
| 417 | |||
| 418 | coerce 'RepeatedDailySleepTemperatureDerivations', | ||
| 419 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::DailySleepTemperatureDerivations'->new($_) } @$_ ] }; | ||
| 420 | |||
| 421 | declare 'MapStringDailySleepTemperatureDerivations', | ||
| 422 | as HashRef[DailySleepTemperatureDerivations()]; | ||
| 423 | |||
| 424 | declare 'DailyVO2Max', | ||
| 425 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::DailyVO2Max']; | ||
| 426 | |||
| 427 | coerce 'DailyVO2Max', | ||
| 428 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::DailyVO2Max'->new($_) }; | ||
| 429 | |||
| 430 | declare 'RepeatedDailyVO2Max', | ||
| 431 | as ArrayRef[DailyVO2Max()]; | ||
| 432 | |||
| 433 | coerce 'RepeatedDailyVO2Max', | ||
| 434 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::DailyVO2Max'->new($_) } @$_ ] }; | ||
| 435 | |||
| 436 | declare 'MapStringDailyVO2Max', | ||
| 437 | as HashRef[DailyVO2Max()]; | ||
| 438 | |||
| 439 | declare 'CardioFitnessLevel', | ||
| 440 | as (Int | Str); | ||
| 441 | |||
| 442 | declare 'Distance', | ||
| 443 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Distance']; | ||
| 444 | |||
| 445 | coerce 'Distance', | ||
| 446 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Distance'->new($_) }; | ||
| 447 | |||
| 448 | declare 'RepeatedDistance', | ||
| 449 | as ArrayRef[Distance()]; | ||
| 450 | |||
| 451 | coerce 'RepeatedDistance', | ||
| 452 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Distance'->new($_) } @$_ ] }; | ||
| 453 | |||
| 454 | declare 'MapStringDistance', | ||
| 455 | as HashRef[Distance()]; | ||
| 456 | |||
| 457 | declare 'DistanceRollupValue', | ||
| 458 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::DistanceRollupValue']; | ||
| 459 | |||
| 460 | coerce 'DistanceRollupValue', | ||
| 461 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::DistanceRollupValue'->new($_) }; | ||
| 462 | |||
| 463 | declare 'RepeatedDistanceRollupValue', | ||
| 464 | as ArrayRef[DistanceRollupValue()]; | ||
| 465 | |||
| 466 | coerce 'RepeatedDistanceRollupValue', | ||
| 467 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::DistanceRollupValue'->new($_) } @$_ ] }; | ||
| 468 | |||
| 469 | declare 'MapStringDistanceRollupValue', | ||
| 470 | as HashRef[DistanceRollupValue()]; | ||
| 471 | |||
| 472 | declare 'Electrocardiogram', | ||
| 473 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Electrocardiogram']; | ||
| 474 | |||
| 475 | coerce 'Electrocardiogram', | ||
| 476 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Electrocardiogram'->new($_) }; | ||
| 477 | |||
| 478 | declare 'RepeatedElectrocardiogram', | ||
| 479 | as ArrayRef[Electrocardiogram()]; | ||
| 480 | |||
| 481 | coerce 'RepeatedElectrocardiogram', | ||
| 482 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Electrocardiogram'->new($_) } @$_ ] }; | ||
| 483 | |||
| 484 | declare 'MapStringElectrocardiogram', | ||
| 485 | as HashRef[Electrocardiogram()]; | ||
| 486 | |||
| 487 | declare 'ResultClassification', | ||
| 488 | as (Int | Str); | ||
| 489 | |||
| 490 | declare 'Exercise', | ||
| 491 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Exercise']; | ||
| 492 | |||
| 493 | coerce 'Exercise', | ||
| 494 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Exercise'->new($_) }; | ||
| 495 | |||
| 496 | declare 'RepeatedExercise', | ||
| 497 | as ArrayRef[Exercise()]; | ||
| 498 | |||
| 499 | coerce 'RepeatedExercise', | ||
| 500 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Exercise'->new($_) } @$_ ] }; | ||
| 501 | |||
| 502 | declare 'MapStringExercise', | ||
| 503 | as HashRef[Exercise()]; | ||
| 504 | |||
| 505 | declare 'ExerciseType', | ||
| 506 | as (Int | Str); | ||
| 507 | |||
| 508 | declare 'SplitSummary', | ||
| 509 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Exercise::SplitSummary']; | ||
| 510 | |||
| 511 | coerce 'SplitSummary', | ||
| 512 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Exercise::SplitSummary'->new($_) }; | ||
| 513 | |||
| 514 | declare 'RepeatedSplitSummary', | ||
| 515 | as ArrayRef[SplitSummary()]; | ||
| 516 | |||
| 517 | coerce 'RepeatedSplitSummary', | ||
| 518 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Exercise::SplitSummary'->new($_) } @$_ ] }; | ||
| 519 | |||
| 520 | declare 'MapStringSplitSummary', | ||
| 521 | as HashRef[SplitSummary()]; | ||
| 522 | |||
| 523 | declare 'SplitType', | ||
| 524 | as (Int | Str); | ||
| 525 | |||
| 526 | declare 'ExerciseEvent', | ||
| 527 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Exercise::ExerciseEvent']; | ||
| 528 | |||
| 529 | coerce 'ExerciseEvent', | ||
| 530 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Exercise::ExerciseEvent'->new($_) }; | ||
| 531 | |||
| 532 | declare 'RepeatedExerciseEvent', | ||
| 533 | as ArrayRef[ExerciseEvent()]; | ||
| 534 | |||
| 535 | coerce 'RepeatedExerciseEvent', | ||
| 536 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Exercise::ExerciseEvent'->new($_) } @$_ ] }; | ||
| 537 | |||
| 538 | declare 'MapStringExerciseEvent', | ||
| 539 | as HashRef[ExerciseEvent()]; | ||
| 540 | |||
| 541 | declare 'ExerciseEventType', | ||
| 542 | as (Int | Str); | ||
| 543 | |||
| 544 | declare 'ExerciseMetadata', | ||
| 545 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Exercise::ExerciseMetadata']; | ||
| 546 | |||
| 547 | coerce 'ExerciseMetadata', | ||
| 548 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Exercise::ExerciseMetadata'->new($_) }; | ||
| 549 | |||
| 550 | declare 'RepeatedExerciseMetadata', | ||
| 551 | as ArrayRef[ExerciseMetadata()]; | ||
| 552 | |||
| 553 | coerce 'RepeatedExerciseMetadata', | ||
| 554 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Exercise::ExerciseMetadata'->new($_) } @$_ ] }; | ||
| 555 | |||
| 556 | declare 'MapStringExerciseMetadata', | ||
| 557 | as HashRef[ExerciseMetadata()]; | ||
| 558 | |||
| 559 | declare 'Floors', | ||
| 560 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Floors']; | ||
| 561 | |||
| 562 | coerce 'Floors', | ||
| 563 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Floors'->new($_) }; | ||
| 564 | |||
| 565 | declare 'RepeatedFloors', | ||
| 566 | as ArrayRef[Floors()]; | ||
| 567 | |||
| 568 | coerce 'RepeatedFloors', | ||
| 569 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Floors'->new($_) } @$_ ] }; | ||
| 570 | |||
| 571 | declare 'MapStringFloors', | ||
| 572 | as HashRef[Floors()]; | ||
| 573 | |||
| 574 | declare 'FloorsRollupValue', | ||
| 575 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::FloorsRollupValue']; | ||
| 576 | |||
| 577 | coerce 'FloorsRollupValue', | ||
| 578 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::FloorsRollupValue'->new($_) }; | ||
| 579 | |||
| 580 | declare 'RepeatedFloorsRollupValue', | ||
| 581 | as ArrayRef[FloorsRollupValue()]; | ||
| 582 | |||
| 583 | coerce 'RepeatedFloorsRollupValue', | ||
| 584 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::FloorsRollupValue'->new($_) } @$_ ] }; | ||
| 585 | |||
| 586 | declare 'MapStringFloorsRollupValue', | ||
| 587 | as HashRef[FloorsRollupValue()]; | ||
| 588 | |||
| 589 | declare 'AltitudeRollupValue', | ||
| 590 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::AltitudeRollupValue']; | ||
| 591 | |||
| 592 | coerce 'AltitudeRollupValue', | ||
| 593 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::AltitudeRollupValue'->new($_) }; | ||
| 594 | |||
| 595 | declare 'RepeatedAltitudeRollupValue', | ||
| 596 | as ArrayRef[AltitudeRollupValue()]; | ||
| 597 | |||
| 598 | coerce 'RepeatedAltitudeRollupValue', | ||
| 599 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::AltitudeRollupValue'->new($_) } @$_ ] }; | ||
| 600 | |||
| 601 | declare 'MapStringAltitudeRollupValue', | ||
| 602 | as HashRef[AltitudeRollupValue()]; | ||
| 603 | |||
| 604 | declare 'HeartRate', | ||
| 605 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::HeartRate']; | ||
| 606 | |||
| 607 | coerce 'HeartRate', | ||
| 608 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::HeartRate'->new($_) }; | ||
| 609 | |||
| 610 | declare 'RepeatedHeartRate', | ||
| 611 | as ArrayRef[HeartRate()]; | ||
| 612 | |||
| 613 | coerce 'RepeatedHeartRate', | ||
| 614 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::HeartRate'->new($_) } @$_ ] }; | ||
| 615 | |||
| 616 | declare 'MapStringHeartRate', | ||
| 617 | as HashRef[HeartRate()]; | ||
| 618 | |||
| 619 | declare 'HeartRateMetadata', | ||
| 620 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::HeartRate::HeartRateMetadata']; | ||
| 621 | |||
| 622 | coerce 'HeartRateMetadata', | ||
| 623 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::HeartRate::HeartRateMetadata'->new($_) }; | ||
| 624 | |||
| 625 | declare 'RepeatedHeartRateMetadata', | ||
| 626 | as ArrayRef[HeartRateMetadata()]; | ||
| 627 | |||
| 628 | coerce 'RepeatedHeartRateMetadata', | ||
| 629 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::HeartRate::HeartRateMetadata'->new($_) } @$_ ] }; | ||
| 630 | |||
| 631 | declare 'MapStringHeartRateMetadata', | ||
| 632 | as HashRef[HeartRateMetadata()]; | ||
| 633 | |||
| 634 | declare 'MotionContext', | ||
| 635 | as (Int | Str); | ||
| 636 | |||
| 637 | declare 'SensorLocation', | ||
| 638 | as (Int | Str); | ||
| 639 | |||
| 640 | declare 'HeartRateRollupValue', | ||
| 641 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::HeartRateRollupValue']; | ||
| 642 | |||
| 643 | coerce 'HeartRateRollupValue', | ||
| 644 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::HeartRateRollupValue'->new($_) }; | ||
| 645 | |||
| 646 | declare 'RepeatedHeartRateRollupValue', | ||
| 647 | as ArrayRef[HeartRateRollupValue()]; | ||
| 648 | |||
| 649 | coerce 'RepeatedHeartRateRollupValue', | ||
| 650 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::HeartRateRollupValue'->new($_) } @$_ ] }; | ||
| 651 | |||
| 652 | declare 'MapStringHeartRateRollupValue', | ||
| 653 | as HashRef[HeartRateRollupValue()]; | ||
| 654 | |||
| 655 | declare 'RunVO2MaxRollupValue', | ||
| 656 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::RunVO2MaxRollupValue']; | ||
| 657 | |||
| 658 | coerce 'RunVO2MaxRollupValue', | ||
| 659 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::RunVO2MaxRollupValue'->new($_) }; | ||
| 660 | |||
| 661 | declare 'RepeatedRunVO2MaxRollupValue', | ||
| 662 | as ArrayRef[RunVO2MaxRollupValue()]; | ||
| 663 | |||
| 664 | coerce 'RepeatedRunVO2MaxRollupValue', | ||
| 665 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::RunVO2MaxRollupValue'->new($_) } @$_ ] }; | ||
| 666 | |||
| 667 | declare 'MapStringRunVO2MaxRollupValue', | ||
| 668 | as HashRef[RunVO2MaxRollupValue()]; | ||
| 669 | |||
| 670 | declare 'RunVO2Max', | ||
| 671 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::RunVO2Max']; | ||
| 672 | |||
| 673 | coerce 'RunVO2Max', | ||
| 674 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::RunVO2Max'->new($_) }; | ||
| 675 | |||
| 676 | declare 'RepeatedRunVO2Max', | ||
| 677 | as ArrayRef[RunVO2Max()]; | ||
| 678 | |||
| 679 | coerce 'RepeatedRunVO2Max', | ||
| 680 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::RunVO2Max'->new($_) } @$_ ] }; | ||
| 681 | |||
| 682 | declare 'MapStringRunVO2Max', | ||
| 683 | as HashRef[RunVO2Max()]; | ||
| 684 | |||
| 685 | declare 'HeartRateVariabilityPersonalRangeRollupValue', | ||
| 686 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::HeartRateVariabilityPersonalRangeRollupValue']; | ||
| 687 | |||
| 688 | coerce 'HeartRateVariabilityPersonalRangeRollupValue', | ||
| 689 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::HeartRateVariabilityPersonalRangeRollupValue'->new($_) }; | ||
| 690 | |||
| 691 | declare 'RepeatedHeartRateVariabilityPersonalRangeRollupValue', | ||
| 692 | as ArrayRef[HeartRateVariabilityPersonalRangeRollupValue()]; | ||
| 693 | |||
| 694 | coerce 'RepeatedHeartRateVariabilityPersonalRangeRollupValue', | ||
| 695 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::HeartRateVariabilityPersonalRangeRollupValue'->new($_) } @$_ ] }; | ||
| 696 | |||
| 697 | declare 'MapStringHeartRateVariabilityPersonalRangeRollupValue', | ||
| 698 | as HashRef[HeartRateVariabilityPersonalRangeRollupValue()]; | ||
| 699 | |||
| 700 | declare 'Height', | ||
| 701 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Height']; | ||
| 702 | |||
| 703 | coerce 'Height', | ||
| 704 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Height'->new($_) }; | ||
| 705 | |||
| 706 | declare 'RepeatedHeight', | ||
| 707 | as ArrayRef[Height()]; | ||
| 708 | |||
| 709 | coerce 'RepeatedHeight', | ||
| 710 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Height'->new($_) } @$_ ] }; | ||
| 711 | |||
| 712 | declare 'MapStringHeight', | ||
| 713 | as HashRef[Height()]; | ||
| 714 | |||
| 715 | declare 'HeartRateVariability', | ||
| 716 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::HeartRateVariability']; | ||
| 717 | |||
| 718 | coerce 'HeartRateVariability', | ||
| 719 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::HeartRateVariability'->new($_) }; | ||
| 720 | |||
| 721 | declare 'RepeatedHeartRateVariability', | ||
| 722 | as ArrayRef[HeartRateVariability()]; | ||
| 723 | |||
| 724 | coerce 'RepeatedHeartRateVariability', | ||
| 725 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::HeartRateVariability'->new($_) } @$_ ] }; | ||
| 726 | |||
| 727 | declare 'MapStringHeartRateVariability', | ||
| 728 | as HashRef[HeartRateVariability()]; | ||
| 729 | |||
| 730 | declare 'HeartRateVariabilityMetadata', | ||
| 731 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::HeartRateVariability::HeartRateVariabilityMetadata']; | ||
| 732 | |||
| 733 | coerce 'HeartRateVariabilityMetadata', | ||
| 734 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::HeartRateVariability::HeartRateVariabilityMetadata'->new($_) }; | ||
| 735 | |||
| 736 | declare 'RepeatedHeartRateVariabilityMetadata', | ||
| 737 | as ArrayRef[HeartRateVariabilityMetadata()]; | ||
| 738 | |||
| 739 | coerce 'RepeatedHeartRateVariabilityMetadata', | ||
| 740 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::HeartRateVariability::HeartRateVariabilityMetadata'->new($_) } @$_ ] }; | ||
| 741 | |||
| 742 | declare 'MapStringHeartRateVariabilityMetadata', | ||
| 743 | as HashRef[HeartRateVariabilityMetadata()]; | ||
| 744 | |||
| 745 | declare 'VolumeQuantity', | ||
| 746 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::VolumeQuantity']; | ||
| 747 | |||
| 748 | coerce 'VolumeQuantity', | ||
| 749 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::VolumeQuantity'->new($_) }; | ||
| 750 | |||
| 751 | declare 'RepeatedVolumeQuantity', | ||
| 752 | as ArrayRef[VolumeQuantity()]; | ||
| 753 | |||
| 754 | coerce 'RepeatedVolumeQuantity', | ||
| 755 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::VolumeQuantity'->new($_) } @$_ ] }; | ||
| 756 | |||
| 757 | declare 'MapStringVolumeQuantity', | ||
| 758 | as HashRef[VolumeQuantity()]; | ||
| 759 | |||
| 760 | declare 'HydrationLog', | ||
| 761 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::HydrationLog']; | ||
| 762 | |||
| 763 | coerce 'HydrationLog', | ||
| 764 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::HydrationLog'->new($_) }; | ||
| 765 | |||
| 766 | declare 'RepeatedHydrationLog', | ||
| 767 | as ArrayRef[HydrationLog()]; | ||
| 768 | |||
| 769 | coerce 'RepeatedHydrationLog', | ||
| 770 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::HydrationLog'->new($_) } @$_ ] }; | ||
| 771 | |||
| 772 | declare 'MapStringHydrationLog', | ||
| 773 | as HashRef[HydrationLog()]; | ||
| 774 | |||
| 775 | declare 'HydrationLogRollupValue', | ||
| 776 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::HydrationLogRollupValue']; | ||
| 777 | |||
| 778 | coerce 'HydrationLogRollupValue', | ||
| 779 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::HydrationLogRollupValue'->new($_) }; | ||
| 780 | |||
| 781 | declare 'RepeatedHydrationLogRollupValue', | ||
| 782 | as ArrayRef[HydrationLogRollupValue()]; | ||
| 783 | |||
| 784 | coerce 'RepeatedHydrationLogRollupValue', | ||
| 785 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::HydrationLogRollupValue'->new($_) } @$_ ] }; | ||
| 786 | |||
| 787 | declare 'MapStringHydrationLogRollupValue', | ||
| 788 | as HashRef[HydrationLogRollupValue()]; | ||
| 789 | |||
| 790 | declare 'VolumeQuantityRollup', | ||
| 791 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::HydrationLogRollupValue::VolumeQuantityRollup']; | ||
| 792 | |||
| 793 | coerce 'VolumeQuantityRollup', | ||
| 794 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::HydrationLogRollupValue::VolumeQuantityRollup'->new($_) }; | ||
| 795 | |||
| 796 | declare 'RepeatedVolumeQuantityRollup', | ||
| 797 | as ArrayRef[VolumeQuantityRollup()]; | ||
| 798 | |||
| 799 | coerce 'RepeatedVolumeQuantityRollup', | ||
| 800 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::HydrationLogRollupValue::VolumeQuantityRollup'->new($_) } @$_ ] }; | ||
| 801 | |||
| 802 | declare 'MapStringVolumeQuantityRollup', | ||
| 803 | as HashRef[VolumeQuantityRollup()]; | ||
| 804 | |||
| 805 | declare 'IrregularRhythmNotification', | ||
| 806 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::IrregularRhythmNotification']; | ||
| 807 | |||
| 808 | coerce 'IrregularRhythmNotification', | ||
| 809 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::IrregularRhythmNotification'->new($_) }; | ||
| 810 | |||
| 811 | declare 'RepeatedIrregularRhythmNotification', | ||
| 812 | as ArrayRef[IrregularRhythmNotification()]; | ||
| 813 | |||
| 814 | coerce 'RepeatedIrregularRhythmNotification', | ||
| 815 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::IrregularRhythmNotification'->new($_) } @$_ ] }; | ||
| 816 | |||
| 817 | declare 'MapStringIrregularRhythmNotification', | ||
| 818 | as HashRef[IrregularRhythmNotification()]; | ||
| 819 | |||
| 820 | declare 'HeartBeat', | ||
| 821 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::IrregularRhythmNotification::HeartBeat']; | ||
| 822 | |||
| 823 | coerce 'HeartBeat', | ||
| 824 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::IrregularRhythmNotification::HeartBeat'->new($_) }; | ||
| 825 | |||
| 826 | declare 'RepeatedHeartBeat', | ||
| 827 | as ArrayRef[HeartBeat()]; | ||
| 828 | |||
| 829 | coerce 'RepeatedHeartBeat', | ||
| 830 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::IrregularRhythmNotification::HeartBeat'->new($_) } @$_ ] }; | ||
| 831 | |||
| 832 | declare 'MapStringHeartBeat', | ||
| 833 | as HashRef[HeartBeat()]; | ||
| 834 | |||
| 835 | declare 'AlertWindow', | ||
| 836 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::IrregularRhythmNotification::AlertWindow']; | ||
| 837 | |||
| 838 | coerce 'AlertWindow', | ||
| 839 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::IrregularRhythmNotification::AlertWindow'->new($_) }; | ||
| 840 | |||
| 841 | declare 'RepeatedAlertWindow', | ||
| 842 | as ArrayRef[AlertWindow()]; | ||
| 843 | |||
| 844 | coerce 'RepeatedAlertWindow', | ||
| 845 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::IrregularRhythmNotification::AlertWindow'->new($_) } @$_ ] }; | ||
| 846 | |||
| 847 | declare 'MapStringAlertWindow', | ||
| 848 | as HashRef[AlertWindow()]; | ||
| 849 | |||
| 850 | declare 'MetricsSummary', | ||
| 851 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::MetricsSummary']; | ||
| 852 | |||
| 853 | coerce 'MetricsSummary', | ||
| 854 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::MetricsSummary'->new($_) }; | ||
| 855 | |||
| 856 | declare 'RepeatedMetricsSummary', | ||
| 857 | as ArrayRef[MetricsSummary()]; | ||
| 858 | |||
| 859 | coerce 'RepeatedMetricsSummary', | ||
| 860 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::MetricsSummary'->new($_) } @$_ ] }; | ||
| 861 | |||
| 862 | declare 'MapStringMetricsSummary', | ||
| 863 | as HashRef[MetricsSummary()]; | ||
| 864 | |||
| 865 | declare 'TimeInHeartRateZones', | ||
| 866 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::MetricsSummary::TimeInHeartRateZones']; | ||
| 867 | |||
| 868 | coerce 'TimeInHeartRateZones', | ||
| 869 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::MetricsSummary::TimeInHeartRateZones'->new($_) }; | ||
| 870 | |||
| 871 | declare 'RepeatedTimeInHeartRateZones', | ||
| 872 | as ArrayRef[TimeInHeartRateZones()]; | ||
| 873 | |||
| 874 | coerce 'RepeatedTimeInHeartRateZones', | ||
| 875 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::MetricsSummary::TimeInHeartRateZones'->new($_) } @$_ ] }; | ||
| 876 | |||
| 877 | declare 'MapStringTimeInHeartRateZones', | ||
| 878 | as HashRef[TimeInHeartRateZones()]; | ||
| 879 | |||
| 880 | declare 'MobilityMetrics', | ||
| 881 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::MetricsSummary::MobilityMetrics']; | ||
| 882 | |||
| 883 | coerce 'MobilityMetrics', | ||
| 884 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::MetricsSummary::MobilityMetrics'->new($_) }; | ||
| 885 | |||
| 886 | declare 'RepeatedMobilityMetrics', | ||
| 887 | as ArrayRef[MobilityMetrics()]; | ||
| 888 | |||
| 889 | coerce 'RepeatedMobilityMetrics', | ||
| 890 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::MetricsSummary::MobilityMetrics'->new($_) } @$_ ] }; | ||
| 891 | |||
| 892 | declare 'MapStringMobilityMetrics', | ||
| 893 | as HashRef[MobilityMetrics()]; | ||
| 894 | |||
| 895 | declare 'WeightQuantity', | ||
| 896 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::WeightQuantity']; | ||
| 897 | |||
| 898 | coerce 'WeightQuantity', | ||
| 899 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::WeightQuantity'->new($_) }; | ||
| 900 | |||
| 901 | declare 'RepeatedWeightQuantity', | ||
| 902 | as ArrayRef[WeightQuantity()]; | ||
| 903 | |||
| 904 | coerce 'RepeatedWeightQuantity', | ||
| 905 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::WeightQuantity'->new($_) } @$_ ] }; | ||
| 906 | |||
| 907 | declare 'MapStringWeightQuantity', | ||
| 908 | as HashRef[WeightQuantity()]; | ||
| 909 | |||
| 910 | declare 'EnergyQuantity', | ||
| 911 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::EnergyQuantity']; | ||
| 912 | |||
| 913 | coerce 'EnergyQuantity', | ||
| 914 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::EnergyQuantity'->new($_) }; | ||
| 915 | |||
| 916 | declare 'RepeatedEnergyQuantity', | ||
| 917 | as ArrayRef[EnergyQuantity()]; | ||
| 918 | |||
| 919 | coerce 'RepeatedEnergyQuantity', | ||
| 920 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::EnergyQuantity'->new($_) } @$_ ] }; | ||
| 921 | |||
| 922 | declare 'MapStringEnergyQuantity', | ||
| 923 | as HashRef[EnergyQuantity()]; | ||
| 924 | |||
| 925 | declare 'NutrientQuantity', | ||
| 926 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::NutrientQuantity']; | ||
| 927 | |||
| 928 | coerce 'NutrientQuantity', | ||
| 929 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::NutrientQuantity'->new($_) }; | ||
| 930 | |||
| 931 | declare 'RepeatedNutrientQuantity', | ||
| 932 | as ArrayRef[NutrientQuantity()]; | ||
| 933 | |||
| 934 | coerce 'RepeatedNutrientQuantity', | ||
| 935 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::NutrientQuantity'->new($_) } @$_ ] }; | ||
| 936 | |||
| 937 | declare 'MapStringNutrientQuantity', | ||
| 938 | as HashRef[NutrientQuantity()]; | ||
| 939 | |||
| 940 | declare 'NutritionLog', | ||
| 941 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::NutritionLog']; | ||
| 942 | |||
| 943 | coerce 'NutritionLog', | ||
| 944 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::NutritionLog'->new($_) }; | ||
| 945 | |||
| 946 | declare 'RepeatedNutritionLog', | ||
| 947 | as ArrayRef[NutritionLog()]; | ||
| 948 | |||
| 949 | coerce 'RepeatedNutritionLog', | ||
| 950 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::NutritionLog'->new($_) } @$_ ] }; | ||
| 951 | |||
| 952 | declare 'MapStringNutritionLog', | ||
| 953 | as HashRef[NutritionLog()]; | ||
| 954 | |||
| 955 | declare 'Serving', | ||
| 956 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::NutritionLog::Serving']; | ||
| 957 | |||
| 958 | coerce 'Serving', | ||
| 959 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::NutritionLog::Serving'->new($_) }; | ||
| 960 | |||
| 961 | declare 'RepeatedServing', | ||
| 962 | as ArrayRef[Serving()]; | ||
| 963 | |||
| 964 | coerce 'RepeatedServing', | ||
| 965 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::NutritionLog::Serving'->new($_) } @$_ ] }; | ||
| 966 | |||
| 967 | declare 'MapStringServing', | ||
| 968 | as HashRef[Serving()]; | ||
| 969 | |||
| 970 | declare 'Food', | ||
| 971 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Food']; | ||
| 972 | |||
| 973 | coerce 'Food', | ||
| 974 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Food'->new($_) }; | ||
| 975 | |||
| 976 | declare 'RepeatedFood', | ||
| 977 | as ArrayRef[Food()]; | ||
| 978 | |||
| 979 | coerce 'RepeatedFood', | ||
| 980 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Food'->new($_) } @$_ ] }; | ||
| 981 | |||
| 982 | declare 'MapStringFood', | ||
| 983 | as HashRef[Food()]; | ||
| 984 | |||
| 985 | declare 'FoodServing', | ||
| 986 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Food::FoodServing']; | ||
| 987 | |||
| 988 | coerce 'FoodServing', | ||
| 989 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Food::FoodServing'->new($_) }; | ||
| 990 | |||
| 991 | declare 'RepeatedFoodServing', | ||
| 992 | as ArrayRef[FoodServing()]; | ||
| 993 | |||
| 994 | coerce 'RepeatedFoodServing', | ||
| 995 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Food::FoodServing'->new($_) } @$_ ] }; | ||
| 996 | |||
| 997 | declare 'MapStringFoodServing', | ||
| 998 | as HashRef[FoodServing()]; | ||
| 999 | |||
| 1000 | declare 'NutritionLogRollupValue', | ||
| 1001 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::NutritionLogRollupValue']; | ||
| 1002 | |||
| 1003 | coerce 'NutritionLogRollupValue', | ||
| 1004 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::NutritionLogRollupValue'->new($_) }; | ||
| 1005 | |||
| 1006 | declare 'RepeatedNutritionLogRollupValue', | ||
| 1007 | as ArrayRef[NutritionLogRollupValue()]; | ||
| 1008 | |||
| 1009 | coerce 'RepeatedNutritionLogRollupValue', | ||
| 1010 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::NutritionLogRollupValue'->new($_) } @$_ ] }; | ||
| 1011 | |||
| 1012 | declare 'MapStringNutritionLogRollupValue', | ||
| 1013 | as HashRef[NutritionLogRollupValue()]; | ||
| 1014 | |||
| 1015 | declare 'WeightQuantityRollup', | ||
| 1016 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::NutritionLogRollupValue::WeightQuantityRollup']; | ||
| 1017 | |||
| 1018 | coerce 'WeightQuantityRollup', | ||
| 1019 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::NutritionLogRollupValue::WeightQuantityRollup'->new($_) }; | ||
| 1020 | |||
| 1021 | declare 'RepeatedWeightQuantityRollup', | ||
| 1022 | as ArrayRef[WeightQuantityRollup()]; | ||
| 1023 | |||
| 1024 | coerce 'RepeatedWeightQuantityRollup', | ||
| 1025 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::NutritionLogRollupValue::WeightQuantityRollup'->new($_) } @$_ ] }; | ||
| 1026 | |||
| 1027 | declare 'MapStringWeightQuantityRollup', | ||
| 1028 | as HashRef[WeightQuantityRollup()]; | ||
| 1029 | |||
| 1030 | declare 'EnergyQuantityRollup', | ||
| 1031 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::NutritionLogRollupValue::EnergyQuantityRollup']; | ||
| 1032 | |||
| 1033 | coerce 'EnergyQuantityRollup', | ||
| 1034 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::NutritionLogRollupValue::EnergyQuantityRollup'->new($_) }; | ||
| 1035 | |||
| 1036 | declare 'RepeatedEnergyQuantityRollup', | ||
| 1037 | as ArrayRef[EnergyQuantityRollup()]; | ||
| 1038 | |||
| 1039 | coerce 'RepeatedEnergyQuantityRollup', | ||
| 1040 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::NutritionLogRollupValue::EnergyQuantityRollup'->new($_) } @$_ ] }; | ||
| 1041 | |||
| 1042 | declare 'MapStringEnergyQuantityRollup', | ||
| 1043 | as HashRef[EnergyQuantityRollup()]; | ||
| 1044 | |||
| 1045 | declare 'NutrientQuantityRollup', | ||
| 1046 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::NutritionLogRollupValue::NutrientQuantityRollup']; | ||
| 1047 | |||
| 1048 | coerce 'NutrientQuantityRollup', | ||
| 1049 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::NutritionLogRollupValue::NutrientQuantityRollup'->new($_) }; | ||
| 1050 | |||
| 1051 | declare 'RepeatedNutrientQuantityRollup', | ||
| 1052 | as ArrayRef[NutrientQuantityRollup()]; | ||
| 1053 | |||
| 1054 | coerce 'RepeatedNutrientQuantityRollup', | ||
| 1055 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::NutritionLogRollupValue::NutrientQuantityRollup'->new($_) } @$_ ] }; | ||
| 1056 | |||
| 1057 | declare 'MapStringNutrientQuantityRollup', | ||
| 1058 | as HashRef[NutrientQuantityRollup()]; | ||
| 1059 | |||
| 1060 | declare 'OxygenSaturation', | ||
| 1061 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::OxygenSaturation']; | ||
| 1062 | |||
| 1063 | coerce 'OxygenSaturation', | ||
| 1064 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::OxygenSaturation'->new($_) }; | ||
| 1065 | |||
| 1066 | declare 'RepeatedOxygenSaturation', | ||
| 1067 | as ArrayRef[OxygenSaturation()]; | ||
| 1068 | |||
| 1069 | coerce 'RepeatedOxygenSaturation', | ||
| 1070 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::OxygenSaturation'->new($_) } @$_ ] }; | ||
| 1071 | |||
| 1072 | declare 'MapStringOxygenSaturation', | ||
| 1073 | as HashRef[OxygenSaturation()]; | ||
| 1074 | |||
| 1075 | declare 'RestingHeartRatePersonalRangeRollupValue', | ||
| 1076 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::RestingHeartRatePersonalRangeRollupValue']; | ||
| 1077 | |||
| 1078 | coerce 'RestingHeartRatePersonalRangeRollupValue', | ||
| 1079 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::RestingHeartRatePersonalRangeRollupValue'->new($_) }; | ||
| 1080 | |||
| 1081 | declare 'RepeatedRestingHeartRatePersonalRangeRollupValue', | ||
| 1082 | as ArrayRef[RestingHeartRatePersonalRangeRollupValue()]; | ||
| 1083 | |||
| 1084 | coerce 'RepeatedRestingHeartRatePersonalRangeRollupValue', | ||
| 1085 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::RestingHeartRatePersonalRangeRollupValue'->new($_) } @$_ ] }; | ||
| 1086 | |||
| 1087 | declare 'MapStringRestingHeartRatePersonalRangeRollupValue', | ||
| 1088 | as HashRef[RestingHeartRatePersonalRangeRollupValue()]; | ||
| 1089 | |||
| 1090 | declare 'FoodMeasurementUnit', | ||
| 1091 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::FoodMeasurementUnit']; | ||
| 1092 | |||
| 1093 | coerce 'FoodMeasurementUnit', | ||
| 1094 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::FoodMeasurementUnit'->new($_) }; | ||
| 1095 | |||
| 1096 | declare 'RepeatedFoodMeasurementUnit', | ||
| 1097 | as ArrayRef[FoodMeasurementUnit()]; | ||
| 1098 | |||
| 1099 | coerce 'RepeatedFoodMeasurementUnit', | ||
| 1100 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::FoodMeasurementUnit'->new($_) } @$_ ] }; | ||
| 1101 | |||
| 1102 | declare 'MapStringFoodMeasurementUnit', | ||
| 1103 | as HashRef[FoodMeasurementUnit()]; | ||
| 1104 | |||
| 1105 | declare 'RespiratoryRateSleepSummary', | ||
| 1106 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::RespiratoryRateSleepSummary']; | ||
| 1107 | |||
| 1108 | coerce 'RespiratoryRateSleepSummary', | ||
| 1109 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::RespiratoryRateSleepSummary'->new($_) }; | ||
| 1110 | |||
| 1111 | declare 'RepeatedRespiratoryRateSleepSummary', | ||
| 1112 | as ArrayRef[RespiratoryRateSleepSummary()]; | ||
| 1113 | |||
| 1114 | coerce 'RepeatedRespiratoryRateSleepSummary', | ||
| 1115 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::RespiratoryRateSleepSummary'->new($_) } @$_ ] }; | ||
| 1116 | |||
| 1117 | declare 'MapStringRespiratoryRateSleepSummary', | ||
| 1118 | as HashRef[RespiratoryRateSleepSummary()]; | ||
| 1119 | |||
| 1120 | declare 'RespiratoryRateSleepSummaryStatistics', | ||
| 1121 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::RespiratoryRateSleepSummary::RespiratoryRateSleepSummaryStatistics']; | ||
| 1122 | |||
| 1123 | coerce 'RespiratoryRateSleepSummaryStatistics', | ||
| 1124 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::RespiratoryRateSleepSummary::RespiratoryRateSleepSummaryStatistics'->new($_) }; | ||
| 1125 | |||
| 1126 | declare 'RepeatedRespiratoryRateSleepSummaryStatistics', | ||
| 1127 | as ArrayRef[RespiratoryRateSleepSummaryStatistics()]; | ||
| 1128 | |||
| 1129 | coerce 'RepeatedRespiratoryRateSleepSummaryStatistics', | ||
| 1130 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::RespiratoryRateSleepSummary::RespiratoryRateSleepSummaryStatistics'->new($_) } @$_ ] }; | ||
| 1131 | |||
| 1132 | declare 'MapStringRespiratoryRateSleepSummaryStatistics', | ||
| 1133 | as HashRef[RespiratoryRateSleepSummaryStatistics()]; | ||
| 1134 | |||
| 1135 | declare 'Sleep', | ||
| 1136 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Sleep']; | ||
| 1137 | |||
| 1138 | coerce 'Sleep', | ||
| 1139 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Sleep'->new($_) }; | ||
| 1140 | |||
| 1141 | declare 'RepeatedSleep', | ||
| 1142 | as ArrayRef[Sleep()]; | ||
| 1143 | |||
| 1144 | coerce 'RepeatedSleep', | ||
| 1145 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Sleep'->new($_) } @$_ ] }; | ||
| 1146 | |||
| 1147 | declare 'MapStringSleep', | ||
| 1148 | as HashRef[Sleep()]; | ||
| 1149 | |||
| 1150 | declare 'SleepType', | ||
| 1151 | as (Int | Str); | ||
| 1152 | |||
| 1153 | declare 'SleepStageType', | ||
| 1154 | as (Int | Str); | ||
| 1155 | |||
| 1156 | declare 'SleepStage', | ||
| 1157 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Sleep::SleepStage']; | ||
| 1158 | |||
| 1159 | coerce 'SleepStage', | ||
| 1160 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Sleep::SleepStage'->new($_) }; | ||
| 1161 | |||
| 1162 | declare 'RepeatedSleepStage', | ||
| 1163 | as ArrayRef[SleepStage()]; | ||
| 1164 | |||
| 1165 | coerce 'RepeatedSleepStage', | ||
| 1166 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Sleep::SleepStage'->new($_) } @$_ ] }; | ||
| 1167 | |||
| 1168 | declare 'MapStringSleepStage', | ||
| 1169 | as HashRef[SleepStage()]; | ||
| 1170 | |||
| 1171 | declare 'OutOfBedSegment', | ||
| 1172 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Sleep::OutOfBedSegment']; | ||
| 1173 | |||
| 1174 | coerce 'OutOfBedSegment', | ||
| 1175 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Sleep::OutOfBedSegment'->new($_) }; | ||
| 1176 | |||
| 1177 | declare 'RepeatedOutOfBedSegment', | ||
| 1178 | as ArrayRef[OutOfBedSegment()]; | ||
| 1179 | |||
| 1180 | coerce 'RepeatedOutOfBedSegment', | ||
| 1181 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Sleep::OutOfBedSegment'->new($_) } @$_ ] }; | ||
| 1182 | |||
| 1183 | declare 'MapStringOutOfBedSegment', | ||
| 1184 | as HashRef[OutOfBedSegment()]; | ||
| 1185 | |||
| 1186 | declare 'SleepMetadata', | ||
| 1187 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Sleep::SleepMetadata']; | ||
| 1188 | |||
| 1189 | coerce 'SleepMetadata', | ||
| 1190 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Sleep::SleepMetadata'->new($_) }; | ||
| 1191 | |||
| 1192 | declare 'RepeatedSleepMetadata', | ||
| 1193 | as ArrayRef[SleepMetadata()]; | ||
| 1194 | |||
| 1195 | coerce 'RepeatedSleepMetadata', | ||
| 1196 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Sleep::SleepMetadata'->new($_) } @$_ ] }; | ||
| 1197 | |||
| 1198 | declare 'MapStringSleepMetadata', | ||
| 1199 | as HashRef[SleepMetadata()]; | ||
| 1200 | |||
| 1201 | declare 'StagesState', | ||
| 1202 | as (Int | Str); | ||
| 1203 | |||
| 1204 | declare 'SleepSummary', | ||
| 1205 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Sleep::SleepSummary']; | ||
| 1206 | |||
| 1207 | coerce 'SleepSummary', | ||
| 1208 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Sleep::SleepSummary'->new($_) }; | ||
| 1209 | |||
| 1210 | declare 'RepeatedSleepSummary', | ||
| 1211 | as ArrayRef[SleepSummary()]; | ||
| 1212 | |||
| 1213 | coerce 'RepeatedSleepSummary', | ||
| 1214 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Sleep::SleepSummary'->new($_) } @$_ ] }; | ||
| 1215 | |||
| 1216 | declare 'MapStringSleepSummary', | ||
| 1217 | as HashRef[SleepSummary()]; | ||
| 1218 | |||
| 1219 | declare 'StageSummary', | ||
| 1220 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Sleep::SleepSummary::StageSummary']; | ||
| 1221 | |||
| 1222 | coerce 'StageSummary', | ||
| 1223 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Sleep::SleepSummary::StageSummary'->new($_) }; | ||
| 1224 | |||
| 1225 | declare 'RepeatedStageSummary', | ||
| 1226 | as ArrayRef[StageSummary()]; | ||
| 1227 | |||
| 1228 | coerce 'RepeatedStageSummary', | ||
| 1229 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Sleep::SleepSummary::StageSummary'->new($_) } @$_ ] }; | ||
| 1230 | |||
| 1231 | declare 'MapStringStageSummary', | ||
| 1232 | as HashRef[StageSummary()]; | ||
| 1233 | |||
| 1234 | declare 'Steps', | ||
| 1235 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Steps']; | ||
| 1236 | |||
| 1237 | coerce 'Steps', | ||
| 1238 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Steps'->new($_) }; | ||
| 1239 | |||
| 1240 | declare 'RepeatedSteps', | ||
| 1241 | as ArrayRef[Steps()]; | ||
| 1242 | |||
| 1243 | coerce 'RepeatedSteps', | ||
| 1244 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Steps'->new($_) } @$_ ] }; | ||
| 1245 | |||
| 1246 | declare 'MapStringSteps', | ||
| 1247 | as HashRef[Steps()]; | ||
| 1248 | |||
| 1249 | declare 'StepsRollupValue', | ||
| 1250 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::StepsRollupValue']; | ||
| 1251 | |||
| 1252 | coerce 'StepsRollupValue', | ||
| 1253 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::StepsRollupValue'->new($_) }; | ||
| 1254 | |||
| 1255 | declare 'RepeatedStepsRollupValue', | ||
| 1256 | as ArrayRef[StepsRollupValue()]; | ||
| 1257 | |||
| 1258 | coerce 'RepeatedStepsRollupValue', | ||
| 1259 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::StepsRollupValue'->new($_) } @$_ ] }; | ||
| 1260 | |||
| 1261 | declare 'MapStringStepsRollupValue', | ||
| 1262 | as HashRef[StepsRollupValue()]; | ||
| 1263 | |||
| 1264 | declare 'SwimLengthsData', | ||
| 1265 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::SwimLengthsData']; | ||
| 1266 | |||
| 1267 | coerce 'SwimLengthsData', | ||
| 1268 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::SwimLengthsData'->new($_) }; | ||
| 1269 | |||
| 1270 | declare 'RepeatedSwimLengthsData', | ||
| 1271 | as ArrayRef[SwimLengthsData()]; | ||
| 1272 | |||
| 1273 | coerce 'RepeatedSwimLengthsData', | ||
| 1274 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::SwimLengthsData'->new($_) } @$_ ] }; | ||
| 1275 | |||
| 1276 | declare 'MapStringSwimLengthsData', | ||
| 1277 | as HashRef[SwimLengthsData()]; | ||
| 1278 | |||
| 1279 | declare 'SwimStrokeType', | ||
| 1280 | as (Int | Str); | ||
| 1281 | |||
| 1282 | declare 'SwimLengthsDataRollupValue', | ||
| 1283 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::SwimLengthsDataRollupValue']; | ||
| 1284 | |||
| 1285 | coerce 'SwimLengthsDataRollupValue', | ||
| 1286 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::SwimLengthsDataRollupValue'->new($_) }; | ||
| 1287 | |||
| 1288 | declare 'RepeatedSwimLengthsDataRollupValue', | ||
| 1289 | as ArrayRef[SwimLengthsDataRollupValue()]; | ||
| 1290 | |||
| 1291 | coerce 'RepeatedSwimLengthsDataRollupValue', | ||
| 1292 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::SwimLengthsDataRollupValue'->new($_) } @$_ ] }; | ||
| 1293 | |||
| 1294 | declare 'MapStringSwimLengthsDataRollupValue', | ||
| 1295 | as HashRef[SwimLengthsDataRollupValue()]; | ||
| 1296 | |||
| 1297 | declare 'TimeInHeartRateZone', | ||
| 1298 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::TimeInHeartRateZone']; | ||
| 1299 | |||
| 1300 | coerce 'TimeInHeartRateZone', | ||
| 1301 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::TimeInHeartRateZone'->new($_) }; | ||
| 1302 | |||
| 1303 | declare 'RepeatedTimeInHeartRateZone', | ||
| 1304 | as ArrayRef[TimeInHeartRateZone()]; | ||
| 1305 | |||
| 1306 | coerce 'RepeatedTimeInHeartRateZone', | ||
| 1307 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::TimeInHeartRateZone'->new($_) } @$_ ] }; | ||
| 1308 | |||
| 1309 | declare 'MapStringTimeInHeartRateZone', | ||
| 1310 | as HashRef[TimeInHeartRateZone()]; | ||
| 1311 | |||
| 1312 | declare 'TimeInHeartRateZoneRollupValue', | ||
| 1313 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::TimeInHeartRateZoneRollupValue']; | ||
| 1314 | |||
| 1315 | coerce 'TimeInHeartRateZoneRollupValue', | ||
| 1316 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::TimeInHeartRateZoneRollupValue'->new($_) }; | ||
| 1317 | |||
| 1318 | declare 'RepeatedTimeInHeartRateZoneRollupValue', | ||
| 1319 | as ArrayRef[TimeInHeartRateZoneRollupValue()]; | ||
| 1320 | |||
| 1321 | coerce 'RepeatedTimeInHeartRateZoneRollupValue', | ||
| 1322 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::TimeInHeartRateZoneRollupValue'->new($_) } @$_ ] }; | ||
| 1323 | |||
| 1324 | declare 'MapStringTimeInHeartRateZoneRollupValue', | ||
| 1325 | as HashRef[TimeInHeartRateZoneRollupValue()]; | ||
| 1326 | |||
| 1327 | declare 'TimeInHeartRateZoneValue', | ||
| 1328 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::TimeInHeartRateZoneRollupValue::TimeInHeartRateZoneValue']; | ||
| 1329 | |||
| 1330 | coerce 'TimeInHeartRateZoneValue', | ||
| 1331 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::TimeInHeartRateZoneRollupValue::TimeInHeartRateZoneValue'->new($_) }; | ||
| 1332 | |||
| 1333 | declare 'RepeatedTimeInHeartRateZoneValue', | ||
| 1334 | as ArrayRef[TimeInHeartRateZoneValue()]; | ||
| 1335 | |||
| 1336 | coerce 'RepeatedTimeInHeartRateZoneValue', | ||
| 1337 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::TimeInHeartRateZoneRollupValue::TimeInHeartRateZoneValue'->new($_) } @$_ ] }; | ||
| 1338 | |||
| 1339 | declare 'MapStringTimeInHeartRateZoneValue', | ||
| 1340 | as HashRef[TimeInHeartRateZoneValue()]; | ||
| 1341 | |||
| 1342 | declare 'TotalCaloriesRollupValue', | ||
| 1343 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::TotalCaloriesRollupValue']; | ||
| 1344 | |||
| 1345 | coerce 'TotalCaloriesRollupValue', | ||
| 1346 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::TotalCaloriesRollupValue'->new($_) }; | ||
| 1347 | |||
| 1348 | declare 'RepeatedTotalCaloriesRollupValue', | ||
| 1349 | as ArrayRef[TotalCaloriesRollupValue()]; | ||
| 1350 | |||
| 1351 | coerce 'RepeatedTotalCaloriesRollupValue', | ||
| 1352 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::TotalCaloriesRollupValue'->new($_) } @$_ ] }; | ||
| 1353 | |||
| 1354 | declare 'MapStringTotalCaloriesRollupValue', | ||
| 1355 | as HashRef[TotalCaloriesRollupValue()]; | ||
| 1356 | |||
| 1357 | declare 'VO2Max', | ||
| 1358 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::VO2Max']; | ||
| 1359 | |||
| 1360 | coerce 'VO2Max', | ||
| 1361 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::VO2Max'->new($_) }; | ||
| 1362 | |||
| 1363 | declare 'RepeatedVO2Max', | ||
| 1364 | as ArrayRef[VO2Max()]; | ||
| 1365 | |||
| 1366 | coerce 'RepeatedVO2Max', | ||
| 1367 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::VO2Max'->new($_) } @$_ ] }; | ||
| 1368 | |||
| 1369 | declare 'MapStringVO2Max', | ||
| 1370 | as HashRef[VO2Max()]; | ||
| 1371 | |||
| 1372 | declare 'MeasurementMethod', | ||
| 1373 | as (Int | Str); | ||
| 1374 | |||
| 1375 | declare 'Weight', | ||
| 1376 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Weight']; | ||
| 1377 | |||
| 1378 | coerce 'Weight', | ||
| 1379 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Weight'->new($_) }; | ||
| 1380 | |||
| 1381 | declare 'RepeatedWeight', | ||
| 1382 | as ArrayRef[Weight()]; | ||
| 1383 | |||
| 1384 | coerce 'RepeatedWeight', | ||
| 1385 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Weight'->new($_) } @$_ ] }; | ||
| 1386 | |||
| 1387 | declare 'MapStringWeight', | ||
| 1388 | as HashRef[Weight()]; | ||
| 1389 | |||
| 1390 | declare 'WeightRollupValue', | ||
| 1391 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::WeightRollupValue']; | ||
| 1392 | |||
| 1393 | coerce 'WeightRollupValue', | ||
| 1394 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::WeightRollupValue'->new($_) }; | ||
| 1395 | |||
| 1396 | declare 'RepeatedWeightRollupValue', | ||
| 1397 | as ArrayRef[WeightRollupValue()]; | ||
| 1398 | |||
| 1399 | coerce 'RepeatedWeightRollupValue', | ||
| 1400 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::WeightRollupValue'->new($_) } @$_ ] }; | ||
| 1401 | |||
| 1402 | declare 'MapStringWeightRollupValue', | ||
| 1403 | as HashRef[WeightRollupValue()]; | ||
| 1404 | |||
| 1405 | declare 'BloodGlucose', | ||
| 1406 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::BloodGlucose']; | ||
| 1407 | |||
| 1408 | coerce 'BloodGlucose', | ||
| 1409 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::BloodGlucose'->new($_) }; | ||
| 1410 | |||
| 1411 | declare 'RepeatedBloodGlucose', | ||
| 1412 | as ArrayRef[BloodGlucose()]; | ||
| 1413 | |||
| 1414 | coerce 'RepeatedBloodGlucose', | ||
| 1415 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::BloodGlucose'->new($_) } @$_ ] }; | ||
| 1416 | |||
| 1417 | declare 'MapStringBloodGlucose', | ||
| 1418 | as HashRef[BloodGlucose()]; | ||
| 1419 | |||
| 1420 | declare 'MeasurementSource', | ||
| 1421 | as (Int | Str); | ||
| 1422 | |||
| 1423 | declare 'MealType', | ||
| 1424 | as (Int | Str); | ||
| 1425 | |||
| 1426 | declare 'MeasurementTiming', | ||
| 1427 | as (Int | Str); | ||
| 1428 | |||
| 1429 | declare 'Specimen', | ||
| 1430 | as (Int | Str); | ||
| 1431 | |||
| 1432 | declare 'BloodGlucoseRollupValue', | ||
| 1433 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::BloodGlucoseRollupValue']; | ||
| 1434 | |||
| 1435 | coerce 'BloodGlucoseRollupValue', | ||
| 1436 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::BloodGlucoseRollupValue'->new($_) }; | ||
| 1437 | |||
| 1438 | declare 'RepeatedBloodGlucoseRollupValue', | ||
| 1439 | as ArrayRef[BloodGlucoseRollupValue()]; | ||
| 1440 | |||
| 1441 | coerce 'RepeatedBloodGlucoseRollupValue', | ||
| 1442 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::BloodGlucoseRollupValue'->new($_) } @$_ ] }; | ||
| 1443 | |||
| 1444 | declare 'MapStringBloodGlucoseRollupValue', | ||
| 1445 | as HashRef[BloodGlucoseRollupValue()]; | ||
| 1446 | |||
| 1447 | declare 'SedentaryPeriod', | ||
| 1448 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::SedentaryPeriod']; | ||
| 1449 | |||
| 1450 | coerce 'SedentaryPeriod', | ||
| 1451 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::SedentaryPeriod'->new($_) }; | ||
| 1452 | |||
| 1453 | declare 'RepeatedSedentaryPeriod', | ||
| 1454 | as ArrayRef[SedentaryPeriod()]; | ||
| 1455 | |||
| 1456 | coerce 'RepeatedSedentaryPeriod', | ||
| 1457 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::SedentaryPeriod'->new($_) } @$_ ] }; | ||
| 1458 | |||
| 1459 | declare 'MapStringSedentaryPeriod', | ||
| 1460 | as HashRef[SedentaryPeriod()]; | ||
| 1461 | |||
| 1462 | declare 'SedentaryPeriodRollupValue', | ||
| 1463 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::SedentaryPeriodRollupValue']; | ||
| 1464 | |||
| 1465 | coerce 'SedentaryPeriodRollupValue', | ||
| 1466 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::SedentaryPeriodRollupValue'->new($_) }; | ||
| 1467 | |||
| 1468 | declare 'RepeatedSedentaryPeriodRollupValue', | ||
| 1469 | as ArrayRef[SedentaryPeriodRollupValue()]; | ||
| 1470 | |||
| 1471 | coerce 'RepeatedSedentaryPeriodRollupValue', | ||
| 1472 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::SedentaryPeriodRollupValue'->new($_) } @$_ ] }; | ||
| 1473 | |||
| 1474 | declare 'MapStringSedentaryPeriodRollupValue', | ||
| 1475 | as HashRef[SedentaryPeriodRollupValue()]; | ||
| 1476 | |||
| 1477 | declare 'ActiveEnergyBurned', | ||
| 1478 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::ActiveEnergyBurned']; | ||
| 1479 | |||
| 1480 | coerce 'ActiveEnergyBurned', | ||
| 1481 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::ActiveEnergyBurned'->new($_) }; | ||
| 1482 | |||
| 1483 | declare 'RepeatedActiveEnergyBurned', | ||
| 1484 | as ArrayRef[ActiveEnergyBurned()]; | ||
| 1485 | |||
| 1486 | coerce 'RepeatedActiveEnergyBurned', | ||
| 1487 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::ActiveEnergyBurned'->new($_) } @$_ ] }; | ||
| 1488 | |||
| 1489 | declare 'MapStringActiveEnergyBurned', | ||
| 1490 | as HashRef[ActiveEnergyBurned()]; | ||
| 1491 | |||
| 1492 | declare 'ActiveEnergyBurnedRollupValue', | ||
| 1493 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::ActiveEnergyBurnedRollupValue']; | ||
| 1494 | |||
| 1495 | coerce 'ActiveEnergyBurnedRollupValue', | ||
| 1496 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::ActiveEnergyBurnedRollupValue'->new($_) }; | ||
| 1497 | |||
| 1498 | declare 'RepeatedActiveEnergyBurnedRollupValue', | ||
| 1499 | as ArrayRef[ActiveEnergyBurnedRollupValue()]; | ||
| 1500 | |||
| 1501 | coerce 'RepeatedActiveEnergyBurnedRollupValue', | ||
| 1502 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::ActiveEnergyBurnedRollupValue'->new($_) } @$_ ] }; | ||
| 1503 | |||
| 1504 | declare 'MapStringActiveEnergyBurnedRollupValue', | ||
| 1505 | as HashRef[ActiveEnergyBurnedRollupValue()]; | ||
| 1506 | |||
| 1507 | declare 'MenstrualPeriod', | ||
| 1508 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::MenstrualPeriod']; | ||
| 1509 | |||
| 1510 | coerce 'MenstrualPeriod', | ||
| 1511 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::MenstrualPeriod'->new($_) }; | ||
| 1512 | |||
| 1513 | declare 'RepeatedMenstrualPeriod', | ||
| 1514 | as ArrayRef[MenstrualPeriod()]; | ||
| 1515 | |||
| 1516 | coerce 'RepeatedMenstrualPeriod', | ||
| 1517 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::MenstrualPeriod'->new($_) } @$_ ] }; | ||
| 1518 | |||
| 1519 | declare 'MapStringMenstrualPeriod', | ||
| 1520 | as HashRef[MenstrualPeriod()]; | ||
| 1521 | |||
| 1522 | declare 'OvulationTest', | ||
| 1523 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::OvulationTest']; | ||
| 1524 | |||
| 1525 | coerce 'OvulationTest', | ||
| 1526 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::OvulationTest'->new($_) }; | ||
| 1527 | |||
| 1528 | declare 'RepeatedOvulationTest', | ||
| 1529 | as ArrayRef[OvulationTest()]; | ||
| 1530 | |||
| 1531 | coerce 'RepeatedOvulationTest', | ||
| 1532 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::OvulationTest'->new($_) } @$_ ] }; | ||
| 1533 | |||
| 1534 | declare 'MapStringOvulationTest', | ||
| 1535 | as HashRef[OvulationTest()]; | ||
| 1536 | |||
| 1537 | declare 'Symptoms', | ||
| 1538 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Symptoms']; | ||
| 1539 | |||
| 1540 | coerce 'Symptoms', | ||
| 1541 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Symptoms'->new($_) }; | ||
| 1542 | |||
| 1543 | declare 'RepeatedSymptoms', | ||
| 1544 | as ArrayRef[Symptoms()]; | ||
| 1545 | |||
| 1546 | coerce 'RepeatedSymptoms', | ||
| 1547 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Symptoms'->new($_) } @$_ ] }; | ||
| 1548 | |||
| 1549 | declare 'MapStringSymptoms', | ||
| 1550 | as HashRef[Symptoms()]; | ||
| 1551 | |||
| 1552 | declare 'SymptomValue', | ||
| 1553 | as (Int | Str); | ||
| 1554 | |||
| 1555 | declare 'Moods', | ||
| 1556 | as InstanceOf['Google::Devicesandservices::Health::V4::DataModel::Moods']; | ||
| 1557 | |||
| 1558 | coerce 'Moods', | ||
| 1559 | from HashRef, via { 'Google::Devicesandservices::Health::V4::DataModel::Moods'->new($_) }; | ||
| 1560 | |||
| 1561 | declare 'RepeatedMoods', | ||
| 1562 | as ArrayRef[Moods()]; | ||
| 1563 | |||
| 1564 | coerce 'RepeatedMoods', | ||
| 1565 | from ArrayRef[HashRef], via { [ map { 'Google::Devicesandservices::Health::V4::DataModel::Moods'->new($_) } @$_ ] }; | ||
| 1566 | |||
| 1567 | declare 'MapStringMoods', | ||
| 1568 | as HashRef[Moods()]; | ||
| 1569 | |||
| 1570 | declare 'Mood', | ||
| 1571 | as (Int | Str); | ||
| 1572 | |||
| 1573 | declare 'Valence', | ||
| 1574 | as (Int | Str); | ||
| 1575 | |||
| 1576 | 1; | ||
| 1577 | |||
| 1578 | __END__ |