Skip to content

Latest commit

 

History

History
156 lines (83 loc) · 5.55 KB

GetComparableProducts200ResponseComparableProducts.md

File metadata and controls

156 lines (83 loc) · 5.55 KB

GetComparableProducts200ResponseComparableProducts

Properties

Name Type Description Notes
Calories []ComparableProduct
Likes []ComparableProduct
Price []ComparableProduct
Protein []ComparableProduct
SpoonacularScore []ComparableProduct
Sugar []ComparableProduct

Methods

NewGetComparableProducts200ResponseComparableProducts

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

NewGetComparableProducts200ResponseComparableProductsWithDefaults

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

GetCalories

func (o *GetComparableProducts200ResponseComparableProducts) GetCalories() []ComparableProduct

GetCalories returns the Calories field if non-nil, zero value otherwise.

GetCaloriesOk

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.

SetCalories

func (o *GetComparableProducts200ResponseComparableProducts) SetCalories(v []ComparableProduct)

SetCalories sets Calories field to given value.

GetLikes

func (o *GetComparableProducts200ResponseComparableProducts) GetLikes() []ComparableProduct

GetLikes returns the Likes field if non-nil, zero value otherwise.

GetLikesOk

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.

SetLikes

func (o *GetComparableProducts200ResponseComparableProducts) SetLikes(v []ComparableProduct)

SetLikes sets Likes field to given value.

GetPrice

func (o *GetComparableProducts200ResponseComparableProducts) GetPrice() []ComparableProduct

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

GetPriceOk

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.

SetPrice

func (o *GetComparableProducts200ResponseComparableProducts) SetPrice(v []ComparableProduct)

SetPrice sets Price field to given value.

GetProtein

func (o *GetComparableProducts200ResponseComparableProducts) GetProtein() []ComparableProduct

GetProtein returns the Protein field if non-nil, zero value otherwise.

GetProteinOk

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.

SetProtein

func (o *GetComparableProducts200ResponseComparableProducts) SetProtein(v []ComparableProduct)

SetProtein sets Protein field to given value.

GetSpoonacularScore

func (o *GetComparableProducts200ResponseComparableProducts) GetSpoonacularScore() []ComparableProduct

GetSpoonacularScore returns the SpoonacularScore field if non-nil, zero value otherwise.

GetSpoonacularScoreOk

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.

SetSpoonacularScore

func (o *GetComparableProducts200ResponseComparableProducts) SetSpoonacularScore(v []ComparableProduct)

SetSpoonacularScore sets SpoonacularScore field to given value.

GetSugar

func (o *GetComparableProducts200ResponseComparableProducts) GetSugar() []ComparableProduct

GetSugar returns the Sugar field if non-nil, zero value otherwise.

GetSugarOk

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.

SetSugar

func (o *GetComparableProducts200ResponseComparableProducts) SetSugar(v []ComparableProduct)

SetSugar sets Sugar field to given value.

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