Name | Type | Description | Notes |
---|---|---|---|
Name | string | ||
Amount | float32 | ||
Unit | string | ||
PercentOfDailyNeeds | float32 |
func NewSearchGroceryProductsByUPC200ResponseNutritionNutrientsInner(name string, amount float32, unit string, percentOfDailyNeeds float32, ) *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner
NewSearchGroceryProductsByUPC200ResponseNutritionNutrientsInner instantiates a new SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner 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 NewSearchGroceryProductsByUPC200ResponseNutritionNutrientsInnerWithDefaults() *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner
NewSearchGroceryProductsByUPC200ResponseNutritionNutrientsInnerWithDefaults instantiates a new SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner 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 *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) SetName(v string)
SetName sets Name field to given value.
func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) GetAmount() float32
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) GetAmountOk() (*float32, bool)
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) SetAmount(v float32)
SetAmount sets Amount field to given value.
func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) SetUnit(v string)
SetUnit sets Unit field to given value.
func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) GetPercentOfDailyNeeds() float32
GetPercentOfDailyNeeds returns the PercentOfDailyNeeds field if non-nil, zero value otherwise.
func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) GetPercentOfDailyNeedsOk() (*float32, bool)
GetPercentOfDailyNeedsOk returns a tuple with the PercentOfDailyNeeds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) SetPercentOfDailyNeeds(v float32)
SetPercentOfDailyNeeds sets PercentOfDailyNeeds field to given value.