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<StringgetAuthor()

Returns the name of the author for the recipe.

getCallout

public Optional<StringgetCallout()

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

getCategory

public Optional<StringgetCategory()

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

getCookTime

public Optional<StringgetCookTime()

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

getDescription

public Optional<StringgetDescription()

Returns the description of the recipe.

getEntityId

public Optional<StringgetEntityId()

Returns the id of the entity.

getPosterImages

public List<ImagegetPosterImages()

Returns the poster image of the entity.

getRating

public Optional<RatinggetRating()

Returns the rating of the food entity.

getTitle

public Optional<StringgetTitle()

Returns the title of the food entity.