com.fitbit.api.common.model.sleep
Class Sleep
java.lang.Object
com.fitbit.api.common.model.sleep.Sleep
public class Sleep
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sleep
public Sleep()
Sleep
public Sleep(SleepSummary summary,
List<SleepLog> sleepLogs)
constructSleep
public static Sleep constructSleep(Response res)
throws FitbitAPIException
- Throws:
FitbitAPIException
getSummary
public SleepSummary getSummary()
setSummary
public void setSummary(SleepSummary summary)
getSleepLogs
public List<SleepLog> getSleepLogs()
setSleepLogs
public void setSleepLogs(List<SleepLog> sleepLogs)
Copyright © 2012. All Rights Reserved.