Name | Type | Description | Notes |
---|---|---|---|
Policy | Pointer to map[string]interface{} | ||
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) 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.