Created
November 13, 2013 21:59
-
-
Save jpotts18/7457196 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.usdietitian.android.models; | |
import com.google.gson.annotations.SerializedName; | |
import java.util.List; | |
/** | |
* User: jpotts | |
* Date: 8/23/13 | |
* Time: 3:17 PM | |
*/ | |
public class Meal extends TimelineObject{ | |
@SerializedName("hydrations_attributes") | |
List<Hydration> hydrationsAttributes; | |
@SerializedName("portion_consumed") | |
int portionConsumed; | |
@SerializedName("premeal_hunger") | |
int preMealHunger; | |
@SerializedName("postmeal_fullness") | |
int postMealFullness; | |
@SerializedName("meal_image_data") | |
String mealImageData; | |
String mood; | |
long id; | |
String description; | |
String location; | |
Photo photo; | |
public String getMealImageData() { | |
return mealImageData; | |
} | |
public void setMealImageData(String mealImageData) { | |
this.mealImageData = mealImageData; | |
} | |
public Photo getPhoto() { | |
return photo; | |
} | |
public void setPhoto(Photo photo) { | |
this.photo = photo; | |
} | |
public long getId() { | |
return id; | |
} | |
public void setId(long id) { | |
this.id = id; | |
} | |
public String getDescription() { | |
return description; | |
} | |
public void setDescription(String description) { | |
this.description = description; | |
} | |
public String getLocation() { | |
return location; | |
} | |
public void setLocation(String location) { | |
this.location = location; | |
} | |
public int getPortionConsumed() { | |
return portionConsumed; | |
} | |
public void setPortionConsumed(int portionConsumed) { | |
this.portionConsumed = portionConsumed; | |
} | |
public String getTimeOccurred() { | |
return timeOccurred; | |
} | |
public void setTimeOccurred(String timeOccurred) { | |
this.timeOccurred = timeOccurred; | |
} | |
public int getPreMealHunger() { | |
return preMealHunger; | |
} | |
public void setPreMealHunger(int preMealHunger) { | |
this.preMealHunger = preMealHunger; | |
} | |
public int getPostMealFullness() { | |
return postMealFullness; | |
} | |
public void setPostMealFullness(int postMealFullness) { | |
this.postMealFullness = postMealFullness; | |
} | |
public String getMood() { | |
return mood; | |
} | |
public void setMood(String mood) { | |
this.mood = mood; | |
} | |
public List<Hydration> getHydrationsAttributes() { | |
return hydrationsAttributes; | |
} | |
public void setHydrationsAttributes(List<Hydration> hydrationsAttributes) { | |
this.hydrationsAttributes = hydrationsAttributes; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment