com.fitbit.api.common.model.foods
Class Foods

java.lang.Object
  extended by com.fitbit.api.common.model.foods.Foods

public class Foods
extends Object

User: gkutlu Date: Mar 2, 2010 Time: 7:24:32 PM


Constructor Summary
Foods()
           
Foods(FoodsSummary summary, List<FoodLog> foods)
           
Foods(FoodsSummary summary, List<FoodLog> foods, FoodsGoals foodsGoals)
           
 
Method Summary
static List<FoodLog> constructFoodlogList(Response res)
           
static List<FoodLog> constructFoodLogList(Response res, String arrayName)
           
static Foods constructFoods(Response res)
           
 List<FoodLog> getFoods()
           
 FoodsGoals getFoodsGoals()
           
 FoodsSummary getSummary()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Foods

public Foods()

Foods

public Foods(FoodsSummary summary,
             List<FoodLog> foods)

Foods

public Foods(FoodsSummary summary,
             List<FoodLog> foods,
             FoodsGoals foodsGoals)
Method Detail

constructFoods

public static Foods constructFoods(Response res)
                            throws FitbitAPIException
Throws:
FitbitAPIException

constructFoodlogList

public static List<FoodLog> constructFoodlogList(Response res)
                                          throws FitbitAPIException
Throws:
FitbitAPIException

constructFoodLogList

public static List<FoodLog> constructFoodLogList(Response res,
                                                 String arrayName)
                                          throws FitbitAPIException
Throws:
FitbitAPIException

getSummary

public FoodsSummary getSummary()

getFoods

public List<FoodLog> getFoods()

getFoodsGoals

public FoodsGoals getFoodsGoals()


Copyright © 2012. All Rights Reserved.