RecipeEntity


public final class RecipeEntity extends Entity


An object representing a recipe entity.

Summary

Nested types

public final class RecipeEntity.Builder

Builder class for RecipeEntity.

Public methods

Uri

Returns the action link uri of the food entity.

Optional<String>

Returns the name of the author for the recipe.

Optional<String>

Returns the callout of the recipe entity. e.g. "Trending under vegan"

Optional<String>

Returns the category of the recipe. e.g. "Greek"

Optional<String>

Returns the cook time of the recipe. e.g. "Under 3 hours"

Optional<String>

Returns the description of the recipe.

Optional<String>

Returns the id of the entity.

List<Image>

Returns the poster image of the entity.

Optional<Rating>

Returns the rating of the food entity.

Optional<String>

Returns the title of the food entity.

Public methods

getActionLinkUri

public Uri getActionLinkUri()

Returns the action link uri of the food entity.

getAuthor

public Optional<String> getAuthor()

Returns the name of the author for the recipe.

getCallout

public Optional<String> getCallout()

Returns the callout of the recipe entity. e.g. "Trending under vegan"

getCategory

public Optional<String> getCategory()

Returns the category of the recipe. e.g. "Greek"

getCookTime

public Optional<String> getCookTime()

Returns the cook time of the recipe. e.g. "Under 3 hours"

getDescription

public Optional<String> getDescription()

Returns the description of the recipe.

getEntityId

public Optional<String> getEntityId()

Returns the id of the entity.

getPosterImages

public List<Image> getPosterImages()

Returns the poster image of the entity.

getRating

public Optional<Rating> getRating()

Returns the rating of the food entity.

getTitle

public Optional<String> getTitle()

Returns the title of the food entity.