RecipeEntity

public final class RecipeEntity extends Entity

An object representing a recipe entity.

Nested Class Summary

class RecipeEntity.Builder Builder class for RecipeEntity

Public Method Summary

Uri
getActionLinkUri()
Returns the action link uri of the food entity.
Optional<String>
getAuthor()
Returns the name of the author for the recipe.
Optional<String>
getCallout()
Returns the callout of the recipe entity.
Optional<String>
getCategory()
Returns the category of the recipe.
Optional<String>
getCookTime()
Returns the cook time of the recipe.
Optional<String>
getDescription()
Returns the description of the recipe.
Optional<String>
getEntityId()
Returns the id of the entity.
List<Image>
getPosterImages()
Returns the poster image of the entity.
Optional<Rating>
getRating()
Returns the rating of the food entity.
Optional<String>
getTitle()
Returns the title of the food entity.

Inherited Method Summary

Public Methods

public Uri getActionLinkUri ()

Returns the action link uri of the food entity.

public Optional<String> getAuthor ()

Returns the name of the author for the recipe.

public Optional<String> getCallout ()

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

public Optional<String> getCategory ()

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

public Optional<String> getCookTime ()

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

public Optional<String> getDescription ()

Returns the description of the recipe.

public Optional<String> getEntityId ()

Returns the id of the entity.

public List<Image> getPosterImages ()

Returns the poster image of the entity.

public Optional<Rating> getRating ()

Returns the rating of the food entity.

public Optional<String> getTitle ()

Returns the title of the food entity.