📂 File Browser

AgentAI/vendor/google/apiclient-services/src/GoogleHealthAPI
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 ActiveMinutes.php
▶ Open 📄 View Source
🐘 ActiveMinutesByActivityLevel.php
▶ Open 📄 View Source
🐘 ActiveMinutesRollupByActivityLevel.php
▶ Open 📄 View Source
🐘 ActiveMinutesRollupValue.php
▶ Open 📄 View Source
🐘 ActiveZoneMinutes.php
▶ Open 📄 View Source
🐘 ActiveZoneMinutesRollupValue.php
▶ Open 📄 View Source
🐘 ActivityLevel.php
▶ Open 📄 View Source
🐘 ActivityLevelRollupByActivityLevelType.php
▶ Open 📄 View Source
🐘 ActivityLevelRollupValue.php
▶ Open 📄 View Source
🐘 Altitude.php
▶ Open 📄 View Source
🐘 AltitudeRollupValue.php
▶ Open 📄 View Source
🐘 Application.php
▶ Open 📄 View Source
🐘 BatchDeleteDataPointsRequest.php
▶ Open 📄 View Source
🐘 BodyFat.php
▶ Open 📄 View Source
🐘 BodyFatRollupValue.php
▶ Open 📄 View Source
🐘 CaloriesInHeartRateZoneRollupValue.php
▶ Open 📄 View Source
🐘 CaloriesInHeartRateZoneValue.php
▶ Open 📄 View Source
🐘 CivilDateTime.php
▶ Open 📄 View Source
🐘 CivilTimeInterval.php
▶ Open 📄 View Source
🐘 CreateSubscriberPayload.php
▶ Open 📄 View Source
🐘 DailyHeartRateVariability.php
▶ Open 📄 View Source
🐘 DailyHeartRateZones.php
▶ Open 📄 View Source
🐘 DailyOxygenSaturation.php
▶ Open 📄 View Source
🐘 DailyRespiratoryRate.php
▶ Open 📄 View Source
🐘 DailyRestingHeartRate.php
▶ Open 📄 View Source
🐘 DailyRestingHeartRateMetadata.php
▶ Open 📄 View Source
🐘 DailyRollUpDataPointsRequest.php
▶ Open 📄 View Source
🐘 DailyRollUpDataPointsResponse.php
▶ Open 📄 View Source
🐘 DailyRollupDataPoint.php
▶ Open 📄 View Source
🐘 DailySleepTemperatureDerivations.php
▶ Open 📄 View Source
🐘 DailyVO2Max.php
▶ Open 📄 View Source
🐘 DataPoint.php
▶ Open 📄 View Source
🐘 DataSource.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 DateTime.php
▶ Open 📄 View Source
🐘 Device.php
▶ Open 📄 View Source
🐘 Distance.php
▶ Open 📄 View Source
🐘 DistanceRollupValue.php
▶ Open 📄 View Source
🐘 EndpointAuthorization.php
▶ Open 📄 View Source
🐘 Exercise.php
▶ Open 📄 View Source
🐘 ExerciseEvent.php
▶ Open 📄 View Source
🐘 ExerciseMetadata.php
▶ Open 📄 View Source
🐘 ExportExerciseTcxResponse.php
▶ Open 📄 View Source
🐘 Floors.php
▶ Open 📄 View Source
🐘 FloorsRollupValue.php
▶ Open 📄 View Source
🐘 GoogleDevicesandservicesHealthV4DataType.php
▶ Open 📄 View Source
🐘 HeartRate.php
▶ Open 📄 View Source
🐘 HeartRateMetadata.php
▶ Open 📄 View Source
🐘 HeartRateRollupValue.php
▶ Open 📄 View Source
🐘 HeartRateVariability.php
▶ Open 📄 View Source
🐘 HeartRateVariabilityPersonalRangeRollupValue.php
▶ Open 📄 View Source
🐘 HeartRateZone.php
▶ Open 📄 View Source
🐘 Height.php
▶ Open 📄 View Source
🐘 HttpHeader.php
▶ Open 📄 View Source
🐘 HttpResponse.php
▶ Open 📄 View Source
🐘 HydrationLog.php
▶ Open 📄 View Source
🐘 HydrationLogRollupValue.php
▶ Open 📄 View Source
🐘 Identity.php
▶ Open 📄 View Source
🐘 Interval.php
▶ Open 📄 View Source
🐘 ListDataPointsResponse.php
▶ Open 📄 View Source
🐘 ListSubscribersResponse.php
▶ Open 📄 View Source
🐘 MetricsSummary.php
▶ Open 📄 View Source
🐘 MobilityMetrics.php
▶ Open 📄 View Source
🐘 ObservationSampleTime.php
▶ Open 📄 View Source
🐘 ObservationTimeInterval.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OutOfBedSegment.php
▶ Open 📄 View Source
🐘 OxygenSaturation.php
▶ Open 📄 View Source
🐘 Profile.php
▶ Open 📄 View Source
🐘 ReconcileDataPointsResponse.php
▶ Open 📄 View Source
🐘 ReconciledDataPoint.php
▶ Open 📄 View Source
🐘 RespiratoryRateSleepSummary.php
▶ Open 📄 View Source
🐘 RespiratoryRateSleepSummaryStatistics.php
▶ Open 📄 View Source
🐘 RestingHeartRatePersonalRangeRollupValue.php
▶ Open 📄 View Source
🐘 RollUpDataPointsRequest.php
▶ Open 📄 View Source
🐘 RollUpDataPointsResponse.php
▶ Open 📄 View Source
🐘 RollupDataPoint.php
▶ Open 📄 View Source
🐘 RunVO2Max.php
▶ Open 📄 View Source
🐘 RunVO2MaxRollupValue.php
▶ Open 📄 View Source
🐘 SedentaryPeriod.php
▶ Open 📄 View Source
🐘 SedentaryPeriodRollupValue.php
▶ Open 📄 View Source
🐘 SessionTimeInterval.php
▶ Open 📄 View Source
🐘 Settings.php
▶ Open 📄 View Source
🐘 Sleep.php
▶ Open 📄 View Source
🐘 SleepMetadata.php
▶ Open 📄 View Source
🐘 SleepStage.php
▶ Open 📄 View Source
🐘 SleepSummary.php
▶ Open 📄 View Source
🐘 SplitSummary.php
▶ Open 📄 View Source
🐘 StageSummary.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Steps.php
▶ Open 📄 View Source
🐘 StepsRollupValue.php
▶ Open 📄 View Source
🐘 Subscriber.php
▶ Open 📄 View Source
🐘 SubscriberConfig.php
▶ Open 📄 View Source
🐘 SwimLengthsData.php
▶ Open 📄 View Source
🐘 SwimLengthsDataRollupValue.php
▶ Open 📄 View Source
🐘 TimeInHeartRateZone.php
▶ Open 📄 View Source
🐘 TimeInHeartRateZoneRollupValue.php
▶ Open 📄 View Source
🐘 TimeInHeartRateZoneValue.php
▶ Open 📄 View Source
🐘 TimeInHeartRateZones.php
▶ Open 📄 View Source
🐘 TimeOfDay.php
▶ Open 📄 View Source
🐘 TimeZone.php
▶ Open 📄 View Source
🐘 TotalCaloriesRollupValue.php
▶ Open 📄 View Source
🐘 VO2Max.php
▶ Open 📄 View Source
🐘 VolumeQuantity.php
▶ Open 📄 View Source
🐘 VolumeQuantityRollup.php
▶ Open 📄 View Source
🐘 WebhookNotificationCloudLog.php
▶ Open 📄 View Source
🐘 Weight.php
▶ Open 📄 View Source
🐘 WeightRollupValue.php
▶ Open 📄 View Source

📄 Source: SleepMetadata.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\GoogleHealthAPI;

class SleepMetadata extends \Google\Model
{
  /**
   * Output only. Sleep stages status is unspecified.
   */
  public const STAGES_STATUS_STAGES_STATE_UNSPECIFIED = 'STAGES_STATE_UNSPECIFIED';
  /**
   * Output only. Sleep stages cannot be computed due to low RR coverage.
   */
  public const STAGES_STATUS_REJECTED_COVERAGE = 'REJECTED_COVERAGE';
  /**
   * Output only. Sleep stages cannot be computed due to the large middle gap
   * (2h).
   */
  public const STAGES_STATUS_REJECTED_MAX_GAP = 'REJECTED_MAX_GAP';
  /**
   * Output only. Sleep stages cannot be computed due to the large start gap
   * (1h).
   */
  public const STAGES_STATUS_REJECTED_START_GAP = 'REJECTED_START_GAP';
  /**
   * Output only. Sleep stages cannot be computed due to the large end gap (1h).
   */
  public const STAGES_STATUS_REJECTED_END_GAP = 'REJECTED_END_GAP';
  /**
   * Output only. Sleep stages cannot be computed because the sleep log is a nap
   * (has < 3h duration).
   */
  public const STAGES_STATUS_REJECTED_NAP = 'REJECTED_NAP';
  /**
   * Output only. Sleep stages cannot be computed because input data is not
   * available (PPGV2, wake magnitude, etc).
   */
  public const STAGES_STATUS_REJECTED_SERVER = 'REJECTED_SERVER';
  /**
   * Output only. Sleep stages cannot be computed due to server timeout.
   */
  public const STAGES_STATUS_TIMEOUT = 'TIMEOUT';
  /**
   * Output only. Sleep stages successfully computed.
   */
  public const STAGES_STATUS_SUCCEEDED = 'SUCCEEDED';
  /**
   * Output only. Sleep stages cannot be computed due to server internal error.
   */
  public const STAGES_STATUS_PROCESSING_INTERNAL_ERROR = 'PROCESSING_INTERNAL_ERROR';
  /**
   * Optional. Sleep identifier relevant in the context of the data source.
   *
   * @var string
   */
  public $externalId;
  /**
   * Output only. Some sleeps autodetected by algorithms can be manually edited
   * by users.
   *
   * @var bool
   */
  public $manuallyEdited;
  /**
   * Output only. Naps are sleeps without stages and relatively short durations.
   *
   * @var bool
   */
  public $nap;
  /**
   * Output only. Sleep and sleep stages algorithms finished processing.
   *
   * @var bool
   */
  public $processed;
  /**
   * Output only. Sleep stages algorithm processing status.
   *
   * @var string
   */
  public $stagesStatus;

  /**
   * Optional. Sleep identifier relevant in the context of the data source.
   *
   * @param string $externalId
   */
  public function setExternalId($externalId)
  {
    $this->externalId = $externalId;
  }
  /**
   * @return string
   */
  public function getExternalId()
  {
    return $this->externalId;
  }
  /**
   * Output only. Some sleeps autodetected by algorithms can be manually edited
   * by users.
   *
   * @param bool $manuallyEdited
   */
  public function setManuallyEdited($manuallyEdited)
  {
    $this->manuallyEdited = $manuallyEdited;
  }
  /**
   * @return bool
   */
  public function getManuallyEdited()
  {
    return $this->manuallyEdited;
  }
  /**
   * Output only. Naps are sleeps without stages and relatively short durations.
   *
   * @param bool $nap
   */
  public function setNap($nap)
  {
    $this->nap = $nap;
  }
  /**
   * @return bool
   */
  public function getNap()
  {
    return $this->nap;
  }
  /**
   * Output only. Sleep and sleep stages algorithms finished processing.
   *
   * @param bool $processed
   */
  public function setProcessed($processed)
  {
    $this->processed = $processed;
  }
  /**
   * @return bool
   */
  public function getProcessed()
  {
    return $this->processed;
  }
  /**
   * Output only. Sleep stages algorithm processing status.
   *
   * Accepted values: STAGES_STATE_UNSPECIFIED, REJECTED_COVERAGE,
   * REJECTED_MAX_GAP, REJECTED_START_GAP, REJECTED_END_GAP, REJECTED_NAP,
   * REJECTED_SERVER, TIMEOUT, SUCCEEDED, PROCESSING_INTERNAL_ERROR
   *
   * @param self::STAGES_STATUS_* $stagesStatus
   */
  public function setStagesStatus($stagesStatus)
  {
    $this->stagesStatus = $stagesStatus;
  }
  /**
   * @return self::STAGES_STATUS_*
   */
  public function getStagesStatus()
  {
    return $this->stagesStatus;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SleepMetadata::class, 'Google_Service_GoogleHealthAPI_SleepMetadata');
← Back