Skip to content

Latest commit

 

History

History
91 lines (48 loc) · 2.59 KB

NewBaseNotification.md

File metadata and controls

91 lines (48 loc) · 2.59 KB

NewBaseNotification

Properties

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

Methods

GetPolicy

func (o *NewBaseNotification) GetPolicy() map[string]interface{}

GetPolicy returns the Policy field if non-nil, zero value otherwise.

GetPolicyOk

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.

HasPolicy

func (o *NewBaseNotification) HasPolicy() bool

HasPolicy returns a boolean if a field has been set.

SetPolicy

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.

GetEnabled

func (o *NewBaseNotification) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

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.

HasEnabled

func (o *NewBaseNotification) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

SetEnabled

func (o *NewBaseNotification) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

GetWebhook

func (o *NewBaseNotification) GetWebhook() NewNotificationWebhook

GetWebhook returns the Webhook field if non-nil, zero value otherwise.

GetWebhookOk

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.

HasWebhook

func (o *NewBaseNotification) HasWebhook() bool

HasWebhook returns a boolean if a field has been set.

SetWebhook

func (o *NewBaseNotification) SetWebhook(v NewNotificationWebhook)

SetWebhook gets a reference to the given NewNotificationWebhook and assigns it to the Webhook field.

[Back to Model list] [Back to API list] [Back to README]