Name | Type | Description | Notes |
---|---|---|---|
Policy | Pointer to map[string]interface{} | Indicates which notification properties to apply. | |
Enabled | Pointer to bool | Indicates whether the notification is activated. | [optional] [default to true] |
Webhook | Pointer to NewNotificationWebhook |
func (o *NewBaseNotification) GetPolicy() map[string]interface{}
GetPolicy returns the Policy field if non-nil, zero value otherwise.
func (o *NewBaseNotification) 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 *NewBaseNotification) HasPolicy() bool
HasPolicy returns a boolean if a field has been set.
func (o *NewBaseNotification) SetPolicy(v map[string]interface{})
SetPolicy gets a reference to the given map[string]interface{} and assigns it to the Policy field.
func (o *NewBaseNotification) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *NewBaseNotification) 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 *NewBaseNotification) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *NewBaseNotification) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (o *NewBaseNotification) GetWebhook() NewNotificationWebhook
GetWebhook returns the Webhook field if non-nil, zero value otherwise.
func (o *NewBaseNotification) GetWebhookOk() (NewNotificationWebhook, bool)
GetWebhookOk returns a tuple with the Webhook field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewBaseNotification) HasWebhook() bool
HasWebhook returns a boolean if a field has been set.
func (o *NewBaseNotification) SetWebhook(v NewNotificationWebhook)
SetWebhook gets a reference to the given NewNotificationWebhook and assigns it to the Webhook field.