📂 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: SleepStage.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 SleepStage extends \Google\Model
{
  /**
   * The default unset value.
   */
  public const TYPE_SLEEP_STAGE_TYPE_UNSPECIFIED = 'SLEEP_STAGE_TYPE_UNSPECIFIED';
  /**
   * Sleep stage AWAKE.
   */
  public const TYPE_AWAKE = 'AWAKE';
  /**
   * Sleep stage LIGHT.
   */
  public const TYPE_LIGHT = 'LIGHT';
  /**
   * Sleep stage DEEP.
   */
  public const TYPE_DEEP = 'DEEP';
  /**
   * Sleep stage REM.
   */
  public const TYPE_REM = 'REM';
  /**
   * Sleep stage ASLEEP.
   */
  public const TYPE_ASLEEP = 'ASLEEP';
  /**
   * Sleep stage RESTLESS.
   */
  public const TYPE_RESTLESS = 'RESTLESS';
  /**
   * Output only. Creation time of this sleep stages segment.
   *
   * @var string
   */
  public $createTime;
  /**
   * Required. Sleep stage end time.
   *
   * @var string
   */
  public $endTime;
  /**
   * Required. The offset of the user's local time at the end of the sleep stage
   * relative to the Coordinated Universal Time (UTC).
   *
   * @var string
   */
  public $endUtcOffset;
  /**
   * Required. Sleep stage start time.
   *
   * @var string
   */
  public $startTime;
  /**
   * Required. The offset of the user's local time at the start of the sleep
   * stage relative to the Coordinated Universal Time (UTC).
   *
   * @var string
   */
  public $startUtcOffset;
  /**
   * Required. Sleep stage type: AWAKE, DEEP, REM, LIGHT etc.
   *
   * @var string
   */
  public $type;
  /**
   * Output only. Last update time of this sleep stages segment.
   *
   * @var string
   */
  public $updateTime;

  /**
   * Output only. Creation time of this sleep stages segment.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Required. Sleep stage end time.
   *
   * @param string $endTime
   */
  public function setEndTime($endTime)
  {
    $this->endTime = $endTime;
  }
  /**
   * @return string
   */
  public function getEndTime()
  {
    return $this->endTime;
  }
  /**
   * Required. The offset of the user's local time at the end of the sleep stage
   * relative to the Coordinated Universal Time (UTC).
   *
   * @param string $endUtcOffset
   */
  public function setEndUtcOffset($endUtcOffset)
  {
    $this->endUtcOffset = $endUtcOffset;
  }
  /**
   * @return string
   */
  public function getEndUtcOffset()
  {
    return $this->endUtcOffset;
  }
  /**
   * Required. Sleep stage start time.
   *
   * @param string $startTime
   */
  public function setStartTime($startTime)
  {
    $this->startTime = $startTime;
  }
  /**
   * @return string
   */
  public function getStartTime()
  {
    return $this->startTime;
  }
  /**
   * Required. The offset of the user's local time at the start of the sleep
   * stage relative to the Coordinated Universal Time (UTC).
   *
   * @param string $startUtcOffset
   */
  public function setStartUtcOffset($startUtcOffset)
  {
    $this->startUtcOffset = $startUtcOffset;
  }
  /**
   * @return string
   */
  public function getStartUtcOffset()
  {
    return $this->startUtcOffset;
  }
  /**
   * Required. Sleep stage type: AWAKE, DEEP, REM, LIGHT etc.
   *
   * Accepted values: SLEEP_STAGE_TYPE_UNSPECIFIED, AWAKE, LIGHT, DEEP, REM,
   * ASLEEP, RESTLESS
   *
   * @param self::TYPE_* $type
   */
  public function setType($type)
  {
    $this->type = $type;
  }
  /**
   * @return self::TYPE_*
   */
  public function getType()
  {
    return $this->type;
  }
  /**
   * Output only. Last update time of this sleep stages segment.
   *
   * @param string $updateTime
   */
  public function setUpdateTime($updateTime)
  {
    $this->updateTime = $updateTime;
  }
  /**
   * @return string
   */
  public function getUpdateTime()
  {
    return $this->updateTime;
  }
}

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