Skip to content

Latest commit

 

History

History
135 lines (72 loc) · 4.88 KB

GuessNutritionByDishName200Response.md

File metadata and controls

135 lines (72 loc) · 4.88 KB

GuessNutritionByDishName200Response

Properties

Name Type Description Notes
Calories GuessNutritionByDishName200ResponseCalories
Carbs GuessNutritionByDishName200ResponseCalories
Fat GuessNutritionByDishName200ResponseCalories
Protein GuessNutritionByDishName200ResponseCalories
RecipesUsed int32

Methods

NewGuessNutritionByDishName200Response

func NewGuessNutritionByDishName200Response(calories GuessNutritionByDishName200ResponseCalories, carbs GuessNutritionByDishName200ResponseCalories, fat GuessNutritionByDishName200ResponseCalories, protein GuessNutritionByDishName200ResponseCalories, recipesUsed int32, ) *GuessNutritionByDishName200Response

NewGuessNutritionByDishName200Response instantiates a new GuessNutritionByDishName200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewGuessNutritionByDishName200ResponseWithDefaults

func NewGuessNutritionByDishName200ResponseWithDefaults() *GuessNutritionByDishName200Response

NewGuessNutritionByDishName200ResponseWithDefaults instantiates a new GuessNutritionByDishName200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetCalories

func (o *GuessNutritionByDishName200Response) GetCalories() GuessNutritionByDishName200ResponseCalories

GetCalories returns the Calories field if non-nil, zero value otherwise.

GetCaloriesOk

func (o *GuessNutritionByDishName200Response) GetCaloriesOk() (*GuessNutritionByDishName200ResponseCalories, bool)

GetCaloriesOk returns a tuple with the Calories field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCalories

func (o *GuessNutritionByDishName200Response) SetCalories(v GuessNutritionByDishName200ResponseCalories)

SetCalories sets Calories field to given value.

GetCarbs

func (o *GuessNutritionByDishName200Response) GetCarbs() GuessNutritionByDishName200ResponseCalories

GetCarbs returns the Carbs field if non-nil, zero value otherwise.

GetCarbsOk

func (o *GuessNutritionByDishName200Response) GetCarbsOk() (*GuessNutritionByDishName200ResponseCalories, bool)

GetCarbsOk returns a tuple with the Carbs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCarbs

func (o *GuessNutritionByDishName200Response) SetCarbs(v GuessNutritionByDishName200ResponseCalories)

SetCarbs sets Carbs field to given value.

GetFat

func (o *GuessNutritionByDishName200Response) GetFat() GuessNutritionByDishName200ResponseCalories

GetFat returns the Fat field if non-nil, zero value otherwise.

GetFatOk

func (o *GuessNutritionByDishName200Response) GetFatOk() (*GuessNutritionByDishName200ResponseCalories, bool)

GetFatOk returns a tuple with the Fat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFat

func (o *GuessNutritionByDishName200Response) SetFat(v GuessNutritionByDishName200ResponseCalories)

SetFat sets Fat field to given value.

GetProtein

func (o *GuessNutritionByDishName200Response) GetProtein() GuessNutritionByDishName200ResponseCalories

GetProtein returns the Protein field if non-nil, zero value otherwise.

GetProteinOk

func (o *GuessNutritionByDishName200Response) GetProteinOk() (*GuessNutritionByDishName200ResponseCalories, bool)

GetProteinOk returns a tuple with the Protein field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProtein

func (o *GuessNutritionByDishName200Response) SetProtein(v GuessNutritionByDishName200ResponseCalories)

SetProtein sets Protein field to given value.

GetRecipesUsed

func (o *GuessNutritionByDishName200Response) GetRecipesUsed() int32

GetRecipesUsed returns the RecipesUsed field if non-nil, zero value otherwise.

GetRecipesUsedOk

func (o *GuessNutritionByDishName200Response) GetRecipesUsedOk() (*int32, bool)

GetRecipesUsedOk returns a tuple with the RecipesUsed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRecipesUsed

func (o *GuessNutritionByDishName200Response) SetRecipesUsed(v int32)

SetRecipesUsed sets RecipesUsed field to given value.

[Back to Model list] [Back to API list] [Back to README]