Skip to content

Latest commit

 

History

History
198 lines (105 loc) · 5.68 KB

SearchRecipesByNutrients200ResponseInner.md

File metadata and controls

198 lines (105 loc) · 5.68 KB

SearchRecipesByNutrients200ResponseInner

Properties

Name Type Description Notes
Calories float32
Carbs string
Fat string
Id int32
Image string
ImageType string
Protein string
Title string

Methods

NewSearchRecipesByNutrients200ResponseInner

func NewSearchRecipesByNutrients200ResponseInner(calories float32, carbs string, fat string, id int32, image string, imageType string, protein string, title string, ) *SearchRecipesByNutrients200ResponseInner

NewSearchRecipesByNutrients200ResponseInner instantiates a new SearchRecipesByNutrients200ResponseInner 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

NewSearchRecipesByNutrients200ResponseInnerWithDefaults

func NewSearchRecipesByNutrients200ResponseInnerWithDefaults() *SearchRecipesByNutrients200ResponseInner

NewSearchRecipesByNutrients200ResponseInnerWithDefaults instantiates a new SearchRecipesByNutrients200ResponseInner 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 *SearchRecipesByNutrients200ResponseInner) GetCalories() float32

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

GetCaloriesOk

func (o *SearchRecipesByNutrients200ResponseInner) GetCaloriesOk() (*float32, 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 *SearchRecipesByNutrients200ResponseInner) SetCalories(v float32)

SetCalories sets Calories field to given value.

GetCarbs

func (o *SearchRecipesByNutrients200ResponseInner) GetCarbs() string

GetCarbs returns the Carbs field if non-nil, zero value otherwise.

GetCarbsOk

func (o *SearchRecipesByNutrients200ResponseInner) GetCarbsOk() (*string, bool)

GetCarbsOk returns a tuple with the Carbs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCarbs

func (o *SearchRecipesByNutrients200ResponseInner) SetCarbs(v string)

SetCarbs sets Carbs field to given value.

GetFat

func (o *SearchRecipesByNutrients200ResponseInner) GetFat() string

GetFat returns the Fat field if non-nil, zero value otherwise.

GetFatOk

func (o *SearchRecipesByNutrients200ResponseInner) GetFatOk() (*string, bool)

GetFatOk returns a tuple with the Fat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFat

func (o *SearchRecipesByNutrients200ResponseInner) SetFat(v string)

SetFat sets Fat field to given value.

GetId

func (o *SearchRecipesByNutrients200ResponseInner) GetId() int32

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

GetIdOk

func (o *SearchRecipesByNutrients200ResponseInner) 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 *SearchRecipesByNutrients200ResponseInner) SetId(v int32)

SetId sets Id field to given value.

GetImage

func (o *SearchRecipesByNutrients200ResponseInner) GetImage() string

GetImage returns the Image field if non-nil, zero value otherwise.

GetImageOk

func (o *SearchRecipesByNutrients200ResponseInner) GetImageOk() (*string, bool)

GetImageOk returns a tuple with the Image field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetImage

func (o *SearchRecipesByNutrients200ResponseInner) SetImage(v string)

SetImage sets Image field to given value.

GetImageType

func (o *SearchRecipesByNutrients200ResponseInner) GetImageType() string

GetImageType returns the ImageType field if non-nil, zero value otherwise.

GetImageTypeOk

func (o *SearchRecipesByNutrients200ResponseInner) GetImageTypeOk() (*string, bool)

GetImageTypeOk returns a tuple with the ImageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetImageType

func (o *SearchRecipesByNutrients200ResponseInner) SetImageType(v string)

SetImageType sets ImageType field to given value.

GetProtein

func (o *SearchRecipesByNutrients200ResponseInner) GetProtein() string

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

GetProteinOk

func (o *SearchRecipesByNutrients200ResponseInner) GetProteinOk() (*string, 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 *SearchRecipesByNutrients200ResponseInner) SetProtein(v string)

SetProtein sets Protein field to given value.

GetTitle

func (o *SearchRecipesByNutrients200ResponseInner) GetTitle() string

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

GetTitleOk

func (o *SearchRecipesByNutrients200ResponseInner) 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 *SearchRecipesByNutrients200ResponseInner) SetTitle(v string)

SetTitle sets Title field to given value.

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