Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SleepStage

import type { SleepStage } from "https://googleapis.deno.dev/v1/health:v4.ts";

Sleep stage segment.

interface SleepStage {
readonly createTime?: Date;
endTime?: Date;
endUtcOffset?: number;
startTime?: Date;
startUtcOffset?: number;
type?:
| "SLEEP_STAGE_TYPE_UNSPECIFIED"
| "AWAKE"
| "LIGHT"
| "DEEP"
| "REM"
| "ASLEEP"
| "RESTLESS";
readonly updateTime?: Date;
}

§Properties

§
readonly createTime?: Date
[src]

Output only. Creation time of this sleep stages segment.

§
endTime?: Date
[src]

Required. Sleep stage end time.

§
endUtcOffset?: number
[src]

Required. The offset of the user's local time at the end of the sleep stage relative to the Coordinated Universal Time (UTC).

§
startTime?: Date
[src]

Required. Sleep stage start time.

§
startUtcOffset?: number
[src]

Required. The offset of the user's local time at the start of the sleep stage relative to the Coordinated Universal Time (UTC).

§
type?: "SLEEP_STAGE_TYPE_UNSPECIFIED" | "AWAKE" | "LIGHT" | "DEEP" | "REM" | "ASLEEP" | "RESTLESS"
[src]

Required. Sleep stage type: AWAKE, DEEP, REM, LIGHT etc.

§
readonly updateTime?: Date
[src]

Output only. Last update time of this sleep stages segment.