Skip to content

Files

Latest commit

aaa68cb · Sep 9, 2022

History

History
135 lines (72 loc) · 5.03 KB

ImageAnalysisByURL200ResponseNutrition.md

File metadata and controls

135 lines (72 loc) · 5.03 KB

ImageAnalysisByURL200ResponseNutrition

Properties

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

Methods

NewImageAnalysisByURL200ResponseNutrition

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

NewImageAnalysisByURL200ResponseNutritionWithDefaults

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

GetRecipesUsed

func (o *ImageAnalysisByURL200ResponseNutrition) GetRecipesUsed() int32

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

GetRecipesUsedOk

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.

SetRecipesUsed

func (o *ImageAnalysisByURL200ResponseNutrition) SetRecipesUsed(v int32)

SetRecipesUsed sets RecipesUsed field to given value.

GetCalories

func (o *ImageAnalysisByURL200ResponseNutrition) GetCalories() ImageAnalysisByURL200ResponseNutritionCalories

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

GetCaloriesOk

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.

SetCalories

func (o *ImageAnalysisByURL200ResponseNutrition) SetCalories(v ImageAnalysisByURL200ResponseNutritionCalories)

SetCalories sets Calories field to given value.

GetFat

func (o *ImageAnalysisByURL200ResponseNutrition) GetFat() ImageAnalysisByURL200ResponseNutritionCalories

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

GetFatOk

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.

SetFat

func (o *ImageAnalysisByURL200ResponseNutrition) SetFat(v ImageAnalysisByURL200ResponseNutritionCalories)

SetFat sets Fat field to given value.

GetProtein

func (o *ImageAnalysisByURL200ResponseNutrition) GetProtein() ImageAnalysisByURL200ResponseNutritionCalories

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

GetProteinOk

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.

SetProtein

func (o *ImageAnalysisByURL200ResponseNutrition) SetProtein(v ImageAnalysisByURL200ResponseNutritionCalories)

SetProtein sets Protein field to given value.

GetCarbs

func (o *ImageAnalysisByURL200ResponseNutrition) GetCarbs() ImageAnalysisByURL200ResponseNutritionCalories

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

GetCarbsOk

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.

SetCarbs

func (o *ImageAnalysisByURL200ResponseNutrition) SetCarbs(v ImageAnalysisByURL200ResponseNutritionCalories)

SetCarbs sets Carbs field to given value.

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