Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 4.14 KB

GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md

File metadata and controls

114 lines (61 loc) · 4.14 KB

GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner

Properties

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

Methods

NewGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner

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

NewGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInnerWithDefaults

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

GetName

func (o *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) GetName() string

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

GetNameOk

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.

SetName

func (o *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) SetName(v string)

SetName sets Name field to given value.

GetAmount

func (o *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) GetAmount() float32

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

GetAmountOk

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.

SetAmount

func (o *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) SetAmount(v float32)

SetAmount sets Amount field to given value.

GetUnit

func (o *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) GetUnit() string

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

GetUnitOk

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.

SetUnit

func (o *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) SetUnit(v string)

SetUnit sets Unit field to given value.

GetPercentDailyNeeds

func (o *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) GetPercentDailyNeeds() float32

GetPercentDailyNeeds returns the PercentDailyNeeds field if non-nil, zero value otherwise.

GetPercentDailyNeedsOk

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.

SetPercentDailyNeeds

func (o *GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner) SetPercentDailyNeeds(v float32)

SetPercentDailyNeeds sets PercentDailyNeeds field to given value.

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