Name | Type | Description | Notes |
---|---|---|---|
Calories | GuessNutritionByDishName200ResponseCalories | ||
Carbs | GuessNutritionByDishName200ResponseCalories | ||
Fat | GuessNutritionByDishName200ResponseCalories | ||
Protein | GuessNutritionByDishName200ResponseCalories | ||
RecipesUsed | int32 |
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
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
func (o *GuessNutritionByDishName200Response) GetCalories() GuessNutritionByDishName200ResponseCalories
GetCalories returns the Calories field if non-nil, zero value otherwise.
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.
func (o *GuessNutritionByDishName200Response) SetCalories(v GuessNutritionByDishName200ResponseCalories)
SetCalories sets Calories field to given value.
func (o *GuessNutritionByDishName200Response) GetCarbs() GuessNutritionByDishName200ResponseCalories
GetCarbs returns the Carbs field if non-nil, zero value otherwise.
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.
func (o *GuessNutritionByDishName200Response) SetCarbs(v GuessNutritionByDishName200ResponseCalories)
SetCarbs sets Carbs field to given value.
func (o *GuessNutritionByDishName200Response) GetFat() GuessNutritionByDishName200ResponseCalories
GetFat returns the Fat field if non-nil, zero value otherwise.
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.
func (o *GuessNutritionByDishName200Response) SetFat(v GuessNutritionByDishName200ResponseCalories)
SetFat sets Fat field to given value.
func (o *GuessNutritionByDishName200Response) GetProtein() GuessNutritionByDishName200ResponseCalories
GetProtein returns the Protein field if non-nil, zero value otherwise.
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.
func (o *GuessNutritionByDishName200Response) SetProtein(v GuessNutritionByDishName200ResponseCalories)
SetProtein sets Protein field to given value.
func (o *GuessNutritionByDishName200Response) GetRecipesUsed() int32
GetRecipesUsed returns the RecipesUsed field if non-nil, zero value otherwise.
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.
func (o *GuessNutritionByDishName200Response) SetRecipesUsed(v int32)
SetRecipesUsed sets RecipesUsed field to given value.