Name | Type | Description | Notes |
---|---|---|---|
Id | int32 | ||
Title | string | ||
Servings | float32 | ||
ImageUrl | string | ||
Price | float32 |
func NewSearchCustomFoods200ResponseCustomFoodsInner(id int32, title string, servings float32, imageUrl string, price float32, ) *SearchCustomFoods200ResponseCustomFoodsInner
NewSearchCustomFoods200ResponseCustomFoodsInner instantiates a new SearchCustomFoods200ResponseCustomFoodsInner 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 NewSearchCustomFoods200ResponseCustomFoodsInnerWithDefaults() *SearchCustomFoods200ResponseCustomFoodsInner
NewSearchCustomFoods200ResponseCustomFoodsInnerWithDefaults instantiates a new SearchCustomFoods200ResponseCustomFoodsInner 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 *SearchCustomFoods200ResponseCustomFoodsInner) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *SearchCustomFoods200ResponseCustomFoodsInner) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchCustomFoods200ResponseCustomFoodsInner) SetId(v int32)
SetId sets Id field to given value.
func (o *SearchCustomFoods200ResponseCustomFoodsInner) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *SearchCustomFoods200ResponseCustomFoodsInner) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchCustomFoods200ResponseCustomFoodsInner) SetTitle(v string)
SetTitle sets Title field to given value.
func (o *SearchCustomFoods200ResponseCustomFoodsInner) GetServings() float32
GetServings returns the Servings field if non-nil, zero value otherwise.
func (o *SearchCustomFoods200ResponseCustomFoodsInner) GetServingsOk() (*float32, bool)
GetServingsOk returns a tuple with the Servings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchCustomFoods200ResponseCustomFoodsInner) SetServings(v float32)
SetServings sets Servings field to given value.
func (o *SearchCustomFoods200ResponseCustomFoodsInner) GetImageUrl() string
GetImageUrl returns the ImageUrl field if non-nil, zero value otherwise.
func (o *SearchCustomFoods200ResponseCustomFoodsInner) GetImageUrlOk() (*string, bool)
GetImageUrlOk returns a tuple with the ImageUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchCustomFoods200ResponseCustomFoodsInner) SetImageUrl(v string)
SetImageUrl sets ImageUrl field to given value.
func (o *SearchCustomFoods200ResponseCustomFoodsInner) GetPrice() float32
GetPrice returns the Price field if non-nil, zero value otherwise.
func (o *SearchCustomFoods200ResponseCustomFoodsInner) GetPriceOk() (*float32, bool)
GetPriceOk returns a tuple with the Price field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchCustomFoods200ResponseCustomFoodsInner) SetPrice(v float32)
SetPrice sets Price field to given value.