Package com.polar.sdk.api.model.sleep
Class PolarSleepAnalysisResult
-
- All Implemented Interfaces:
public final class PolarSleepAnalysisResult
-
-
Field Summary
Fields Modifier and Type Field Description private final ZonedDateTimesleepStartTimeprivate final ZonedDateTimesleepEndTimeprivate final ZonedDateTimelastModifiedprivate final IntegersleepGoalMinutesprivate final List<SleepWakePhase>sleepWakePhasesprivate final List<ZonedDateTime>snoozeTimeprivate final ZonedDateTimealarmTimeprivate final IntegersleepStartOffsetSecondsprivate final IntegersleepEndOffsetSecondsprivate final SleepRatinguserSleepRatingprivate final StringdeviceIdprivate final BooleanbatteryRanOutprivate final List<SleepCycle>sleepCyclesprivate final LocalDatesleepResultDateprivate final OriginalSleepRangeoriginalSleepRange
-
Constructor Summary
Constructors Constructor Description PolarSleepAnalysisResult(ZonedDateTime sleepStartTime, ZonedDateTime sleepEndTime, ZonedDateTime lastModified, Integer sleepGoalMinutes, List<SleepWakePhase> sleepWakePhases, List<ZonedDateTime> snoozeTime, ZonedDateTime alarmTime, Integer sleepStartOffsetSeconds, Integer sleepEndOffsetSeconds, SleepRating userSleepRating, String deviceId, Boolean batteryRanOut, List<SleepCycle> sleepCycles, LocalDate sleepResultDate, OriginalSleepRange originalSleepRange)
-
Method Summary
Modifier and Type Method Description final ZonedDateTimegetSleepStartTime()final ZonedDateTimegetSleepEndTime()final ZonedDateTimegetLastModified()final IntegergetSleepGoalMinutes()final List<SleepWakePhase>getSleepWakePhases()final List<ZonedDateTime>getSnoozeTime()final ZonedDateTimegetAlarmTime()final IntegergetSleepStartOffsetSeconds()final IntegergetSleepEndOffsetSeconds()final SleepRatinggetUserSleepRating()final StringgetDeviceId()final BooleangetBatteryRanOut()final List<SleepCycle>getSleepCycles()final LocalDategetSleepResultDate()final OriginalSleepRangegetOriginalSleepRange()-
-
Constructor Detail
-
PolarSleepAnalysisResult
PolarSleepAnalysisResult(ZonedDateTime sleepStartTime, ZonedDateTime sleepEndTime, ZonedDateTime lastModified, Integer sleepGoalMinutes, List<SleepWakePhase> sleepWakePhases, List<ZonedDateTime> snoozeTime, ZonedDateTime alarmTime, Integer sleepStartOffsetSeconds, Integer sleepEndOffsetSeconds, SleepRating userSleepRating, String deviceId, Boolean batteryRanOut, List<SleepCycle> sleepCycles, LocalDate sleepResultDate, OriginalSleepRange originalSleepRange)
-
-
Method Detail
-
getSleepStartTime
final ZonedDateTime getSleepStartTime()
-
getSleepEndTime
final ZonedDateTime getSleepEndTime()
-
getLastModified
final ZonedDateTime getLastModified()
-
getSleepGoalMinutes
final Integer getSleepGoalMinutes()
-
getSleepWakePhases
final List<SleepWakePhase> getSleepWakePhases()
-
getSnoozeTime
final List<ZonedDateTime> getSnoozeTime()
-
getAlarmTime
final ZonedDateTime getAlarmTime()
-
getSleepStartOffsetSeconds
final Integer getSleepStartOffsetSeconds()
-
getSleepEndOffsetSeconds
final Integer getSleepEndOffsetSeconds()
-
getUserSleepRating
final SleepRating getUserSleepRating()
-
getDeviceId
final String getDeviceId()
-
getBatteryRanOut
final Boolean getBatteryRanOut()
-
getSleepCycles
final List<SleepCycle> getSleepCycles()
-
getSleepResultDate
final LocalDate getSleepResultDate()
-
getOriginalSleepRange
final OriginalSleepRange getOriginalSleepRange()
-
-
-
-