Methods
(inner) Chef(chefJSON)
Chef Object
Parameters:
Name | Type | Description |
---|---|---|
chefJSON |
ChefObj |
- Source:
(inner) Dish(dishJSON)
Dish Object
Parameters:
Name | Type | Description |
---|---|---|
dishJSON |
DishObj |
- Source:
(inner) Order(dishesByChef)
Order Object
Parameters:
Name | Type | Description |
---|---|---|
dishesByChef |
Object |
- Source:
Type Definitions
ChefObj
Properties:
Name | Type | Description |
---|---|---|
chefid |
int |
chefid |
name |
String |
name of chef |
bio |
String |
text of full bio |
shortDesc |
String |
short 50 character max description for chef cards |
location |
String |
JSON string for location with longitude and latitude attributes |
profilePic |
String |
image url to chef's profile picture |
rating |
float |
average rating for any dishes made by this chef |
numReviews |
int |
total number of reviews left on dishes by this chef |
dishes |
Array.<Object> |
array of Dish objects of all dishes made by this chef |
- Source:
DishObj
Properties:
Name | Type | Description |
---|---|---|
dishid |
int |
dishid |
chefid |
int |
chefid of chef making this dish |
name |
String |
name of dish |
price |
float |
price of dish |
description |
String |
text of full dish description |
shortDesc |
String |
short 50 character max description for dish cards |
ingredients |
String |
text of ingredients |
timeMin |
int |
time that will take to fulfill the order in minutes |
rating |
float |
average rating |
numReviews |
int |
total number of reviews left |
primaryImage |
String |
image url to dish's primary picture |
secondImage |
String |
image url to dish's second picture |
thirdImage |
String |
image url to dish's third picture |
fourthImage |
String |
image url to dish's fourth picture |
available |
boolean |
boolean whether this dish is currently available |
Chef |
Object |
Chef object of the chef that makes this dish |
- Source: