Name | Type | Description | Notes |
---|---|---|---|
Name | string | ||
Amount | float32 | ||
Unit | string | ||
PercentDailyNeeds | float32 |
func NewGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner(name string, amount float32, unit string, percentDailyNeeds float32, ) *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner
NewGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner instantiates a new GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner 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 NewGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInnerWithDefaults() *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner
NewGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInnerWithDefaults instantiates a new GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner 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 *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) 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 *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) SetName(v string)
SetName sets Name field to given value.
func (o *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) GetAmount() float32
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) 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 *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) SetAmount(v float32)
SetAmount sets Amount field to given value.
func (o *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (o *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) 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 *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) SetUnit(v string)
SetUnit sets Unit field to given value.
func (o *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) GetPercentDailyNeeds() float32
GetPercentDailyNeeds returns the PercentDailyNeeds field if non-nil, zero value otherwise.
func (o *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) GetPercentDailyNeedsOk() (*float32, bool)
GetPercentDailyNeedsOk returns a tuple with the PercentDailyNeeds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) SetPercentDailyNeeds(v float32)
SetPercentDailyNeeds sets PercentDailyNeeds field to given value.