Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 4.06 KB

SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner.md

File metadata and controls

114 lines (61 loc) · 4.06 KB

SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner

Properties

Name Type Description Notes
Name string
Amount float32
Unit string
PercentOfDailyNeeds float32

Methods

NewSearchGroceryProductsByUPC200ResponseNutritionNutrientsInner

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

NewSearchGroceryProductsByUPC200ResponseNutritionNutrientsInnerWithDefaults

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

GetName

func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) SetName(v string)

SetName sets Name field to given value.

GetAmount

func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) GetAmount() float32

GetAmount returns the Amount field if non-nil, zero value otherwise.

GetAmountOk

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.

SetAmount

func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) SetAmount(v float32)

SetAmount sets Amount field to given value.

GetUnit

func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) GetUnit() string

GetUnit returns the Unit field if non-nil, zero value otherwise.

GetUnitOk

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.

SetUnit

func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) SetUnit(v string)

SetUnit sets Unit field to given value.

GetPercentOfDailyNeeds

func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) GetPercentOfDailyNeeds() float32

GetPercentOfDailyNeeds returns the PercentOfDailyNeeds field if non-nil, zero value otherwise.

GetPercentOfDailyNeedsOk

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.

SetPercentOfDailyNeeds

func (o *SearchGroceryProductsByUPC200ResponseNutritionNutrientsInner) SetPercentOfDailyNeeds(v float32)

SetPercentOfDailyNeeds sets PercentOfDailyNeeds field to given value.

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