Name | Type | Description | Notes |
---|---|---|---|
RecipesUsed | int32 | ||
Calories | ImageAnalysisByURL200ResponseNutritionCalories | ||
Fat | ImageAnalysisByURL200ResponseNutritionCalories | ||
Protein | ImageAnalysisByURL200ResponseNutritionCalories | ||
Carbs | ImageAnalysisByURL200ResponseNutritionCalories |
func NewImageAnalysisByURL200ResponseNutrition(recipesUsed int32, calories ImageAnalysisByURL200ResponseNutritionCalories, fat ImageAnalysisByURL200ResponseNutritionCalories, protein ImageAnalysisByURL200ResponseNutritionCalories, carbs ImageAnalysisByURL200ResponseNutritionCalories, ) *ImageAnalysisByURL200ResponseNutrition
NewImageAnalysisByURL200ResponseNutrition instantiates a new ImageAnalysisByURL200ResponseNutrition 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 NewImageAnalysisByURL200ResponseNutritionWithDefaults() *ImageAnalysisByURL200ResponseNutrition
NewImageAnalysisByURL200ResponseNutritionWithDefaults instantiates a new ImageAnalysisByURL200ResponseNutrition 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 *ImageAnalysisByURL200ResponseNutrition) GetRecipesUsed() int32
GetRecipesUsed returns the RecipesUsed field if non-nil, zero value otherwise.
func (o *ImageAnalysisByURL200ResponseNutrition) 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 *ImageAnalysisByURL200ResponseNutrition) SetRecipesUsed(v int32)
SetRecipesUsed sets RecipesUsed field to given value.
func (o *ImageAnalysisByURL200ResponseNutrition) GetCalories() ImageAnalysisByURL200ResponseNutritionCalories
GetCalories returns the Calories field if non-nil, zero value otherwise.
func (o *ImageAnalysisByURL200ResponseNutrition) GetCaloriesOk() (*ImageAnalysisByURL200ResponseNutritionCalories, 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 *ImageAnalysisByURL200ResponseNutrition) SetCalories(v ImageAnalysisByURL200ResponseNutritionCalories)
SetCalories sets Calories field to given value.
func (o *ImageAnalysisByURL200ResponseNutrition) GetFat() ImageAnalysisByURL200ResponseNutritionCalories
GetFat returns the Fat field if non-nil, zero value otherwise.
func (o *ImageAnalysisByURL200ResponseNutrition) GetFatOk() (*ImageAnalysisByURL200ResponseNutritionCalories, 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 *ImageAnalysisByURL200ResponseNutrition) SetFat(v ImageAnalysisByURL200ResponseNutritionCalories)
SetFat sets Fat field to given value.
func (o *ImageAnalysisByURL200ResponseNutrition) GetProtein() ImageAnalysisByURL200ResponseNutritionCalories
GetProtein returns the Protein field if non-nil, zero value otherwise.
func (o *ImageAnalysisByURL200ResponseNutrition) GetProteinOk() (*ImageAnalysisByURL200ResponseNutritionCalories, 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 *ImageAnalysisByURL200ResponseNutrition) SetProtein(v ImageAnalysisByURL200ResponseNutritionCalories)
SetProtein sets Protein field to given value.
func (o *ImageAnalysisByURL200ResponseNutrition) GetCarbs() ImageAnalysisByURL200ResponseNutritionCalories
GetCarbs returns the Carbs field if non-nil, zero value otherwise.
func (o *ImageAnalysisByURL200ResponseNutrition) GetCarbsOk() (*ImageAnalysisByURL200ResponseNutritionCalories, 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 *ImageAnalysisByURL200ResponseNutrition) SetCarbs(v ImageAnalysisByURL200ResponseNutritionCalories)
SetCarbs sets Carbs field to given value.