Name | Type | Description | Notes |
---|---|---|---|
Calories | []ComparableProduct | ||
Likes | []ComparableProduct | ||
Price | []ComparableProduct | ||
Protein | []ComparableProduct | ||
SpoonacularScore | []ComparableProduct | ||
Sugar | []ComparableProduct |
func NewGetComparableProducts200ResponseComparableProducts(calories []ComparableProduct, likes []ComparableProduct, price []ComparableProduct, protein []ComparableProduct, spoonacularScore []ComparableProduct, sugar []ComparableProduct, ) *GetComparableProducts200ResponseComparableProducts
NewGetComparableProducts200ResponseComparableProducts instantiates a new GetComparableProducts200ResponseComparableProducts 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 NewGetComparableProducts200ResponseComparableProductsWithDefaults() *GetComparableProducts200ResponseComparableProducts
NewGetComparableProducts200ResponseComparableProductsWithDefaults instantiates a new GetComparableProducts200ResponseComparableProducts 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 *GetComparableProducts200ResponseComparableProducts) GetCalories() []ComparableProduct
GetCalories returns the Calories field if non-nil, zero value otherwise.
func (o *GetComparableProducts200ResponseComparableProducts) GetCaloriesOk() (*[]ComparableProduct, bool)
GetCaloriesOk returns a tuple with the Calories field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetComparableProducts200ResponseComparableProducts) SetCalories(v []ComparableProduct)
SetCalories sets Calories field to given value.
func (o *GetComparableProducts200ResponseComparableProducts) GetLikes() []ComparableProduct
GetLikes returns the Likes field if non-nil, zero value otherwise.
func (o *GetComparableProducts200ResponseComparableProducts) GetLikesOk() (*[]ComparableProduct, bool)
GetLikesOk returns a tuple with the Likes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetComparableProducts200ResponseComparableProducts) SetLikes(v []ComparableProduct)
SetLikes sets Likes field to given value.
func (o *GetComparableProducts200ResponseComparableProducts) GetPrice() []ComparableProduct
GetPrice returns the Price field if non-nil, zero value otherwise.
func (o *GetComparableProducts200ResponseComparableProducts) GetPriceOk() (*[]ComparableProduct, 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 *GetComparableProducts200ResponseComparableProducts) SetPrice(v []ComparableProduct)
SetPrice sets Price field to given value.
func (o *GetComparableProducts200ResponseComparableProducts) GetProtein() []ComparableProduct
GetProtein returns the Protein field if non-nil, zero value otherwise.
func (o *GetComparableProducts200ResponseComparableProducts) GetProteinOk() (*[]ComparableProduct, bool)
GetProteinOk returns a tuple with the Protein field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetComparableProducts200ResponseComparableProducts) SetProtein(v []ComparableProduct)
SetProtein sets Protein field to given value.
func (o *GetComparableProducts200ResponseComparableProducts) GetSpoonacularScore() []ComparableProduct
GetSpoonacularScore returns the SpoonacularScore field if non-nil, zero value otherwise.
func (o *GetComparableProducts200ResponseComparableProducts) GetSpoonacularScoreOk() (*[]ComparableProduct, bool)
GetSpoonacularScoreOk returns a tuple with the SpoonacularScore field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetComparableProducts200ResponseComparableProducts) SetSpoonacularScore(v []ComparableProduct)
SetSpoonacularScore sets SpoonacularScore field to given value.
func (o *GetComparableProducts200ResponseComparableProducts) GetSugar() []ComparableProduct
GetSugar returns the Sugar field if non-nil, zero value otherwise.
func (o *GetComparableProducts200ResponseComparableProducts) GetSugarOk() (*[]ComparableProduct, bool)
GetSugarOk returns a tuple with the Sugar field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetComparableProducts200ResponseComparableProducts) SetSugar(v []ComparableProduct)
SetSugar sets Sugar field to given value.