Name | Type | Description | Notes |
---|---|---|---|
Name | string | ||
TotalResults | int32 | ||
Results | Pointer to []SearchResult | [optional] |
func NewSearchAllFood200ResponseSearchResultsInner(name string, totalResults int32, ) *SearchAllFood200ResponseSearchResultsInner
NewSearchAllFood200ResponseSearchResultsInner instantiates a new SearchAllFood200ResponseSearchResultsInner 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 NewSearchAllFood200ResponseSearchResultsInnerWithDefaults() *SearchAllFood200ResponseSearchResultsInner
NewSearchAllFood200ResponseSearchResultsInnerWithDefaults instantiates a new SearchAllFood200ResponseSearchResultsInner 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 *SearchAllFood200ResponseSearchResultsInner) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SearchAllFood200ResponseSearchResultsInner) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchAllFood200ResponseSearchResultsInner) SetName(v string)
SetName sets Name field to given value.
func (o *SearchAllFood200ResponseSearchResultsInner) GetTotalResults() int32
GetTotalResults returns the TotalResults field if non-nil, zero value otherwise.
func (o *SearchAllFood200ResponseSearchResultsInner) 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 *SearchAllFood200ResponseSearchResultsInner) SetTotalResults(v int32)
SetTotalResults sets TotalResults field to given value.
func (o *SearchAllFood200ResponseSearchResultsInner) GetResults() []SearchResult
GetResults returns the Results field if non-nil, zero value otherwise.
func (o *SearchAllFood200ResponseSearchResultsInner) GetResultsOk() (*[]SearchResult, 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 *SearchAllFood200ResponseSearchResultsInner) SetResults(v []SearchResult)
SetResults sets Results field to given value.
func (o *SearchAllFood200ResponseSearchResultsInner) HasResults() bool
HasResults returns a boolean if a field has been set.