Skip to content

Latest commit

 

History

History
135 lines (72 loc) · 4.12 KB

SearchCustomFoods200ResponseCustomFoodsInner.md

File metadata and controls

135 lines (72 loc) · 4.12 KB

SearchCustomFoods200ResponseCustomFoodsInner

Properties

Name Type Description Notes
Id int32
Title string
Servings float32
ImageUrl string
Price float32

Methods

NewSearchCustomFoods200ResponseCustomFoodsInner

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

NewSearchCustomFoods200ResponseCustomFoodsInnerWithDefaults

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

GetId

func (o *SearchCustomFoods200ResponseCustomFoodsInner) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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.

SetId

func (o *SearchCustomFoods200ResponseCustomFoodsInner) SetId(v int32)

SetId sets Id field to given value.

GetTitle

func (o *SearchCustomFoods200ResponseCustomFoodsInner) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

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.

SetTitle

func (o *SearchCustomFoods200ResponseCustomFoodsInner) SetTitle(v string)

SetTitle sets Title field to given value.

GetServings

func (o *SearchCustomFoods200ResponseCustomFoodsInner) GetServings() float32

GetServings returns the Servings field if non-nil, zero value otherwise.

GetServingsOk

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.

SetServings

func (o *SearchCustomFoods200ResponseCustomFoodsInner) SetServings(v float32)

SetServings sets Servings field to given value.

GetImageUrl

func (o *SearchCustomFoods200ResponseCustomFoodsInner) GetImageUrl() string

GetImageUrl returns the ImageUrl field if non-nil, zero value otherwise.

GetImageUrlOk

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.

SetImageUrl

func (o *SearchCustomFoods200ResponseCustomFoodsInner) SetImageUrl(v string)

SetImageUrl sets ImageUrl field to given value.

GetPrice

func (o *SearchCustomFoods200ResponseCustomFoodsInner) GetPrice() float32

GetPrice returns the Price field if non-nil, zero value otherwise.

GetPriceOk

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.

SetPrice

func (o *SearchCustomFoods200ResponseCustomFoodsInner) SetPrice(v float32)

SetPrice sets Price field to given value.

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