Show / Hide Table of Contents

Class SleepSummary

Sleep summary: metrics and stages summary.

Inheritance
object
SleepSummary
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.GoogleHealthAPI.v4.Data
Assembly: Google.Apis.GoogleHealthAPI.v4.dll
Syntax
public class SleepSummary : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

MinutesAfterWakeUp

Output only. Minutes after wake up calculated by restlessness algorithm.

Declaration
[JsonProperty("minutesAfterWakeUp")]
public virtual long? MinutesAfterWakeUp { get; set; }
Property Value
Type Description
long?

MinutesAsleep

Output only. Total number of minutes asleep. For classic sleep it is the sum of ASLEEP stages (excluding AWAKE and RESTLESS). For "stages" sleep it is the sum of LIGHT, REM and DEEP stages (excluding AWAKE).

Declaration
[JsonProperty("minutesAsleep")]
public virtual long? MinutesAsleep { get; set; }
Property Value
Type Description
long?

MinutesAwake

Output only. Total number of minutes awake. It is a sum of all AWAKE stages.

Declaration
[JsonProperty("minutesAwake")]
public virtual long? MinutesAwake { get; set; }
Property Value
Type Description
long?

MinutesInSleepPeriod

Output only. Delta between wake time and bedtime. It is the sum of all stages.

Declaration
[JsonProperty("minutesInSleepPeriod")]
public virtual long? MinutesInSleepPeriod { get; set; }
Property Value
Type Description
long?

MinutesToFallAsleep

Output only. Minutes to fall asleep calculated by restlessness algorithm.

Declaration
[JsonProperty("minutesToFallAsleep")]
public virtual long? MinutesToFallAsleep { get; set; }
Property Value
Type Description
long?

StagesSummary

Output only. List of summaries (total duration and segment count) per each sleep stage type.

Declaration
[JsonProperty("stagesSummary")]
public virtual IList<StageSummary> StagesSummary { get; set; }
Property Value
Type Description
IList<StageSummary>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX