public class RecipeDto extends Object
Constructor and Description |
---|
RecipeDto() |
Modifier and Type | Method and Description |
---|---|
List<AnalyzedInstructionDto> |
getAnalyzedInstructions()
Gets the list of AnalyzedInstructionDto.
|
List<ExtendedIngredientDto> |
getExtendedIngredients()
Gets the list of Extended Ingredient Dto.
|
long |
getId()
Gets the id.
|
String |
getImage()
Gets the recipe image.
|
Map<Long,List<ExtendedIngredientDto>> |
getIngredients()
Gets the mapped list of Extended Ingredients.
|
String |
getInstructions()
Gets the instructions.
|
int |
getPrepTime()
Gets the prep time.
|
int |
getServings()
Gets the servings.
|
String |
getSourceUrl()
Gets the source url.
|
String |
getSummary()
Gets the summary.
|
String |
getTitle()
Gets the title.
|
void |
setAnalyzedInstructions(List<AnalyzedInstructionDto> analyzedInstructionDtos)
Sets the list of AnalyzedInstructionDtos.
|
void |
setExtendedIngredients(List<ExtendedIngredientDto> extendedIngredients)
Sets the Extended Ingredient Dto
|
void |
setId(long id)
Sets tthe id.
|
void |
setImage(String image)
Sets the recipe image.
|
void |
setInstructions(String instructions)
Sets the instructions.
|
void |
setPrepTime(int prepTime)
Sets the prep time.
|
void |
setServings(int servings)
Sets the servings.
|
void |
setSourceUrl(String sourceUrl)
Sets the the source url.
|
void |
setSummary(String summary)
Sets the summary.
|
void |
setTitle(String title)
Sets the title.
|
public long getId()
public void setId(long id)
public String getTitle()
public void setTitle(String title)
title
- public int getPrepTime()
public void setPrepTime(int prepTime)
public int getServings()
public void setServings(int servings)
public String getSourceUrl()
public void setSourceUrl(String sourceUrl)
public String getImage()
public void setImage(String image)
public String getSummary()
public void setSummary(String summary)
public List<ExtendedIngredientDto> getExtendedIngredients()
public void setExtendedIngredients(List<ExtendedIngredientDto> extendedIngredients)
public Map<Long,List<ExtendedIngredientDto>> getIngredients()
public String getInstructions()
public void setInstructions(String instructions)
public List<AnalyzedInstructionDto> getAnalyzedInstructions()
public void setAnalyzedInstructions(List<AnalyzedInstructionDto> analyzedInstructionDtos)