Name | Type | Description | Notes |
---|---|---|---|
Day | int32 | ||
Slot | int32 | ||
Position | int32 | ||
Type | string | ||
Value | Pointer to AddMealPlanTemplate200ResponseItemsInnerValue | [optional] |
func NewAddMealPlanTemplate200ResponseItemsInner(day int32, slot int32, position int32, type_ string, ) *AddMealPlanTemplate200ResponseItemsInner
NewAddMealPlanTemplate200ResponseItemsInner instantiates a new AddMealPlanTemplate200ResponseItemsInner 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 NewAddMealPlanTemplate200ResponseItemsInnerWithDefaults() *AddMealPlanTemplate200ResponseItemsInner
NewAddMealPlanTemplate200ResponseItemsInnerWithDefaults instantiates a new AddMealPlanTemplate200ResponseItemsInner 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 *AddMealPlanTemplate200ResponseItemsInner) GetDay() int32
GetDay returns the Day field if non-nil, zero value otherwise.
func (o *AddMealPlanTemplate200ResponseItemsInner) GetDayOk() (*int32, bool)
GetDayOk returns a tuple with the Day field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddMealPlanTemplate200ResponseItemsInner) SetDay(v int32)
SetDay sets Day field to given value.
func (o *AddMealPlanTemplate200ResponseItemsInner) GetSlot() int32
GetSlot returns the Slot field if non-nil, zero value otherwise.
func (o *AddMealPlanTemplate200ResponseItemsInner) GetSlotOk() (*int32, bool)
GetSlotOk returns a tuple with the Slot field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddMealPlanTemplate200ResponseItemsInner) SetSlot(v int32)
SetSlot sets Slot field to given value.
func (o *AddMealPlanTemplate200ResponseItemsInner) GetPosition() int32
GetPosition returns the Position field if non-nil, zero value otherwise.
func (o *AddMealPlanTemplate200ResponseItemsInner) GetPositionOk() (*int32, bool)
GetPositionOk returns a tuple with the Position field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddMealPlanTemplate200ResponseItemsInner) SetPosition(v int32)
SetPosition sets Position field to given value.
func (o *AddMealPlanTemplate200ResponseItemsInner) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *AddMealPlanTemplate200ResponseItemsInner) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddMealPlanTemplate200ResponseItemsInner) SetType(v string)
SetType sets Type field to given value.
func (o *AddMealPlanTemplate200ResponseItemsInner) GetValue() AddMealPlanTemplate200ResponseItemsInnerValue
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *AddMealPlanTemplate200ResponseItemsInner) GetValueOk() (*AddMealPlanTemplate200ResponseItemsInnerValue, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddMealPlanTemplate200ResponseItemsInner) SetValue(v AddMealPlanTemplate200ResponseItemsInnerValue)
SetValue sets Value field to given value.
func (o *AddMealPlanTemplate200ResponseItemsInner) HasValue() bool
HasValue returns a boolean if a field has been set.