Skip to content

Files

Latest commit

aed8d5c · Nov 3, 2022

History

History
56 lines (31 loc) · 2.03 KB

SearchRestaurants200Response.md

File metadata and controls

56 lines (31 loc) · 2.03 KB

SearchRestaurants200Response

Properties

Name Type Description Notes
Restaurants Pointer to []SearchRestaurants200ResponseRestaurantsInner [optional]

Methods

NewSearchRestaurants200Response

func NewSearchRestaurants200Response() *SearchRestaurants200Response

NewSearchRestaurants200Response instantiates a new SearchRestaurants200Response 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

NewSearchRestaurants200ResponseWithDefaults

func NewSearchRestaurants200ResponseWithDefaults() *SearchRestaurants200Response

NewSearchRestaurants200ResponseWithDefaults instantiates a new SearchRestaurants200Response 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

GetRestaurants

func (o *SearchRestaurants200Response) GetRestaurants() []SearchRestaurants200ResponseRestaurantsInner

GetRestaurants returns the Restaurants field if non-nil, zero value otherwise.

GetRestaurantsOk

func (o *SearchRestaurants200Response) GetRestaurantsOk() (*[]SearchRestaurants200ResponseRestaurantsInner, bool)

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

SetRestaurants

func (o *SearchRestaurants200Response) SetRestaurants(v []SearchRestaurants200ResponseRestaurantsInner)

SetRestaurants sets Restaurants field to given value.

HasRestaurants

func (o *SearchRestaurants200Response) HasRestaurants() bool

HasRestaurants returns a boolean if a field has been set.

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