healbesdk / com.healbe.healbesdk.business_api.healthdata.data.sleep / SleepRecommendations

SleepRecommendations

data class SleepRecommendations

Sleep recommendations for next or current night.

Properties

baseDuration

val baseDuration: Int

recommended duration of sleep in minutes excluding stress and activity during the day

lastDayActivity

val lastDayActivity: Int

part of the sleep recommendation due to activity during the day in minutes

lastDayStress

val lastDayStress: Int

part of the sleep recommendation due to stress during the day in minutes

recommendedSleepDuration

val recommendedSleepDuration: Int

recommended duration of sleep in minutes

timestamp

val timestamp: Timestamp

data was generated at this UNIX-timestamp

Functions

isRecommendationsTheSame

fun isRecommendationsTheSame(b: SleepRecommendations): Boolean