RecipeEntity


class RecipeEntity : Entity


An object representing a recipe entity.

Summary

Nested types

Builder class for RecipeEntity.

Public functions

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.

(Mutable)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 functions

getActionLinkUri

fun getActionLinkUri(): Uri!

Returns the action link uri of the food entity.

getAuthor

fun getAuthor(): Optional<String!>!

Returns the name of the author for the recipe.

getCallout

fun getCallout(): Optional<String!>!

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

getCategory

fun getCategory(): Optional<String!>!

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

getCookTime

fun getCookTime(): Optional<String!>!

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

getDescription

fun getDescription(): Optional<String!>!

Returns the description of the recipe.

getEntityId

fun getEntityId(): Optional<String!>!

Returns the id of the entity.

getPosterImages

fun getPosterImages(): (Mutable)List<Image!>!

Returns the poster image of the entity.

getRating

fun getRating(): Optional<Rating!>!

Returns the rating of the food entity.

getTitle

fun getTitle(): Optional<String!>!

Returns the title of the food entity.