com.fitbit.api.common.model.sleep
Class Sleep

java.lang.Object
  extended by com.fitbit.api.common.model.sleep.Sleep

public class Sleep
extends Object


Constructor Summary
Sleep()
           
Sleep(SleepSummary summary, List<SleepLog> sleepLogs)
           
 
Method Summary
static Sleep constructSleep(Response res)
           
 List<SleepLog> getSleepLogs()
           
 SleepSummary getSummary()
           
 void setSleepLogs(List<SleepLog> sleepLogs)
           
 void setSummary(SleepSummary summary)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sleep

public Sleep()

Sleep

public Sleep(SleepSummary summary,
             List<SleepLog> sleepLogs)
Method Detail

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.