Name | Type | Description | Notes |
---|---|---|---|
Results | []IngredientSearch200ResponseResultsInner | ||
Offset | int32 | ||
Number | int32 | ||
TotalResults | int32 |
func NewIngredientSearch200Response(results []IngredientSearch200ResponseResultsInner, offset int32, number int32, totalResults int32, ) *IngredientSearch200Response
NewIngredientSearch200Response instantiates a new IngredientSearch200Response 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 NewIngredientSearch200ResponseWithDefaults() *IngredientSearch200Response
NewIngredientSearch200ResponseWithDefaults instantiates a new IngredientSearch200Response 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 *IngredientSearch200Response) GetResults() []IngredientSearch200ResponseResultsInner
GetResults returns the Results field if non-nil, zero value otherwise.
func (o *IngredientSearch200Response) GetResultsOk() (*[]IngredientSearch200ResponseResultsInner, bool)
GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientSearch200Response) SetResults(v []IngredientSearch200ResponseResultsInner)
SetResults sets Results field to given value.
func (o *IngredientSearch200Response) GetOffset() int32
GetOffset returns the Offset field if non-nil, zero value otherwise.
func (o *IngredientSearch200Response) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientSearch200Response) SetOffset(v int32)
SetOffset sets Offset field to given value.
func (o *IngredientSearch200Response) GetNumber() int32
GetNumber returns the Number field if non-nil, zero value otherwise.
func (o *IngredientSearch200Response) GetNumberOk() (*int32, bool)
GetNumberOk returns a tuple with the Number field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientSearch200Response) SetNumber(v int32)
SetNumber sets Number field to given value.
func (o *IngredientSearch200Response) GetTotalResults() int32
GetTotalResults returns the TotalResults field if non-nil, zero value otherwise.
func (o *IngredientSearch200Response) GetTotalResultsOk() (*int32, bool)
GetTotalResultsOk returns a tuple with the TotalResults field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IngredientSearch200Response) SetTotalResults(v int32)
SetTotalResults sets TotalResults field to given value.