Name | Type | Description | Notes |
---|---|---|---|
Id | string | The section's ID in the partner system. | |
Name | string | The name of the section. | |
ServiceHours | ServiceHours | ||
Categories | []MenuSectionCategory | An array of category JSON objects. Max 100 allowed per section. Refer to Categories for more information. |
func NewMenuSection(id string, name string, serviceHours ServiceHours, categories []MenuSectionCategory, ) *MenuSection
NewMenuSection instantiates a new MenuSection 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 NewMenuSectionWithDefaults() *MenuSection
NewMenuSectionWithDefaults instantiates a new MenuSection 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 *MenuSection) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *MenuSection) GetIdOk() (*string, 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.
func (o *MenuSection) SetId(v string)
SetId sets Id field to given value.
func (o *MenuSection) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *MenuSection) 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 *MenuSection) SetName(v string)
SetName sets Name field to given value.
func (o *MenuSection) GetServiceHours() ServiceHours
GetServiceHours returns the ServiceHours field if non-nil, zero value otherwise.
func (o *MenuSection) GetServiceHoursOk() (*ServiceHours, bool)
GetServiceHoursOk returns a tuple with the ServiceHours field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MenuSection) SetServiceHours(v ServiceHours)
SetServiceHours sets ServiceHours field to given value.
func (o *MenuSection) GetCategories() []MenuSectionCategory
GetCategories returns the Categories field if non-nil, zero value otherwise.
func (o *MenuSection) GetCategoriesOk() (*[]MenuSectionCategory, bool)
GetCategoriesOk returns a tuple with the Categories field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MenuSection) SetCategories(v []MenuSectionCategory)
SetCategories sets Categories field to given value.