Name | Type | Description | Notes |
---|---|---|---|
Policy | Pointer to map[string]interface{} | ||
Enabled | Pointer to bool | Indicates whether the notification is activated. | [optional] [default to true] |
func (o *BaseNotificationEntity) GetPolicy() map[string]interface{}
GetPolicy returns the Policy field if non-nil, zero value otherwise.
func (o *BaseNotificationEntity) GetPolicyOk() (map[string]interface{}, bool)
GetPolicyOk returns a tuple with the Policy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BaseNotificationEntity) HasPolicy() bool
HasPolicy returns a boolean if a field has been set.
func (o *BaseNotificationEntity) SetPolicy(v map[string]interface{})
SetPolicy gets a reference to the given map[string]interface{} and assigns it to the Policy field.
func (o *BaseNotificationEntity) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *BaseNotificationEntity) GetEnabledOk() (bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BaseNotificationEntity) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *BaseNotificationEntity) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.