Name | Type | Description | Notes |
---|---|---|---|
Products | []AutocompleteRecipeSearch200ResponseInner | ||
TotalProducts | int32 | ||
Type | string | ||
Offset | int32 | ||
Number | int32 |
func NewSearchGroceryProducts200Response(products []AutocompleteRecipeSearch200ResponseInner, totalProducts int32, type_ string, offset int32, number int32, ) *SearchGroceryProducts200Response
NewSearchGroceryProducts200Response instantiates a new SearchGroceryProducts200Response 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 NewSearchGroceryProducts200ResponseWithDefaults() *SearchGroceryProducts200Response
NewSearchGroceryProducts200ResponseWithDefaults instantiates a new SearchGroceryProducts200Response 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 *SearchGroceryProducts200Response) GetProducts() []AutocompleteRecipeSearch200ResponseInner
GetProducts returns the Products field if non-nil, zero value otherwise.
func (o *SearchGroceryProducts200Response) GetProductsOk() (*[]AutocompleteRecipeSearch200ResponseInner, bool)
GetProductsOk returns a tuple with the Products field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchGroceryProducts200Response) SetProducts(v []AutocompleteRecipeSearch200ResponseInner)
SetProducts sets Products field to given value.
func (o *SearchGroceryProducts200Response) GetTotalProducts() int32
GetTotalProducts returns the TotalProducts field if non-nil, zero value otherwise.
func (o *SearchGroceryProducts200Response) GetTotalProductsOk() (*int32, bool)
GetTotalProductsOk returns a tuple with the TotalProducts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchGroceryProducts200Response) SetTotalProducts(v int32)
SetTotalProducts sets TotalProducts field to given value.
func (o *SearchGroceryProducts200Response) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *SearchGroceryProducts200Response) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchGroceryProducts200Response) SetType(v string)
SetType sets Type field to given value.
func (o *SearchGroceryProducts200Response) GetOffset() int32
GetOffset returns the Offset field if non-nil, zero value otherwise.
func (o *SearchGroceryProducts200Response) 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 *SearchGroceryProducts200Response) SetOffset(v int32)
SetOffset sets Offset field to given value.
func (o *SearchGroceryProducts200Response) GetNumber() int32
GetNumber returns the Number field if non-nil, zero value otherwise.
func (o *SearchGroceryProducts200Response) 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 *SearchGroceryProducts200Response) SetNumber(v int32)
SetNumber sets Number field to given value.