Name | Type | Description | Notes |
---|---|---|---|
Id | string | The modifier group's ID that is on the partner system. This ID should be unique. | |
Name | string | The name of the modifier group. | |
NameTranslation | Pointer to map[string]string | Translation of the modifier group name. Only support up to 1 translated language. Refer Menu Translation. | [optional] |
AvailableStatus | string | The status for the modifier group. > The item may be marked as `"UNAVAILABLE"` if no available modifier to be selected within the required modifier group where `"selectionRangeMin": 1`. | |
SelectionRangeMin | Pointer to int32 | The minimum quantity of the modifiers to be selected. Refer to FAQs for more details about selection range. | [optional] |
SelectionRangeMax | int32 | The maximum quantity of the modifiers to be selected. Refer to FAQs for more details about selection range. | |
Sequence | Pointer to int32 | The sort or display order of the modifier group within the menu. | [optional] |
Modifiers | Pointer to []MenuModifier | An array of modifier JSON objects. Max 100 per modifierGroup. Refer to Modifiers for more information. | [optional] |
func NewModifierGroup(id string, name string, availableStatus string, selectionRangeMax int32, ) *ModifierGroup
NewModifierGroup instantiates a new ModifierGroup 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 NewModifierGroupWithDefaults() *ModifierGroup
NewModifierGroupWithDefaults instantiates a new ModifierGroup 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 *ModifierGroup) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ModifierGroup) 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 *ModifierGroup) SetId(v string)
SetId sets Id field to given value.
func (o *ModifierGroup) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ModifierGroup) 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 *ModifierGroup) SetName(v string)
SetName sets Name field to given value.
func (o *ModifierGroup) GetNameTranslation() map[string]string
GetNameTranslation returns the NameTranslation field if non-nil, zero value otherwise.
func (o *ModifierGroup) GetNameTranslationOk() (*map[string]string, bool)
GetNameTranslationOk returns a tuple with the NameTranslation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModifierGroup) SetNameTranslation(v map[string]string)
SetNameTranslation sets NameTranslation field to given value.
func (o *ModifierGroup) HasNameTranslation() bool
HasNameTranslation returns a boolean if a field has been set.
func (o *ModifierGroup) GetAvailableStatus() string
GetAvailableStatus returns the AvailableStatus field if non-nil, zero value otherwise.
func (o *ModifierGroup) GetAvailableStatusOk() (*string, bool)
GetAvailableStatusOk returns a tuple with the AvailableStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModifierGroup) SetAvailableStatus(v string)
SetAvailableStatus sets AvailableStatus field to given value.
func (o *ModifierGroup) GetSelectionRangeMin() int32
GetSelectionRangeMin returns the SelectionRangeMin field if non-nil, zero value otherwise.
func (o *ModifierGroup) GetSelectionRangeMinOk() (*int32, bool)
GetSelectionRangeMinOk returns a tuple with the SelectionRangeMin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModifierGroup) SetSelectionRangeMin(v int32)
SetSelectionRangeMin sets SelectionRangeMin field to given value.
func (o *ModifierGroup) HasSelectionRangeMin() bool
HasSelectionRangeMin returns a boolean if a field has been set.
func (o *ModifierGroup) GetSelectionRangeMax() int32
GetSelectionRangeMax returns the SelectionRangeMax field if non-nil, zero value otherwise.
func (o *ModifierGroup) GetSelectionRangeMaxOk() (*int32, bool)
GetSelectionRangeMaxOk returns a tuple with the SelectionRangeMax field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModifierGroup) SetSelectionRangeMax(v int32)
SetSelectionRangeMax sets SelectionRangeMax field to given value.
func (o *ModifierGroup) GetSequence() int32
GetSequence returns the Sequence field if non-nil, zero value otherwise.
func (o *ModifierGroup) GetSequenceOk() (*int32, bool)
GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModifierGroup) SetSequence(v int32)
SetSequence sets Sequence field to given value.
func (o *ModifierGroup) HasSequence() bool
HasSequence returns a boolean if a field has been set.
func (o *ModifierGroup) GetModifiers() []MenuModifier
GetModifiers returns the Modifiers field if non-nil, zero value otherwise.
func (o *ModifierGroup) GetModifiersOk() (*[]MenuModifier, bool)
GetModifiersOk returns a tuple with the Modifiers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModifierGroup) SetModifiers(v []MenuModifier)
SetModifiers sets Modifiers field to given value.
func (o *ModifierGroup) HasModifiers() bool
HasModifiers returns a boolean if a field has been set.