Skip to content

Latest commit

 

History

History
91 lines (48 loc) · 2.47 KB

NewNotificationWebhook.md

File metadata and controls

91 lines (48 loc) · 2.47 KB

NewNotificationWebhook

Properties

Name Type Description Notes
Url Pointer to string API URL for the given webhook-based notification.
Headers Pointer to []string List of API HTTP headers for the given webhook-based notification.
Enabled Pointer to bool Indicates whether the notification is activated. [optional] [default to true]

Methods

GetUrl

func (o *NewNotificationWebhook) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *NewNotificationWebhook) GetUrlOk() (string, bool)

GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasUrl

func (o *NewNotificationWebhook) HasUrl() bool

HasUrl returns a boolean if a field has been set.

SetUrl

func (o *NewNotificationWebhook) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

GetHeaders

func (o *NewNotificationWebhook) GetHeaders() []string

GetHeaders returns the Headers field if non-nil, zero value otherwise.

GetHeadersOk

func (o *NewNotificationWebhook) GetHeadersOk() ([]string, bool)

GetHeadersOk returns a tuple with the Headers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasHeaders

func (o *NewNotificationWebhook) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

SetHeaders

func (o *NewNotificationWebhook) SetHeaders(v []string)

SetHeaders gets a reference to the given []string and assigns it to the Headers field.

GetEnabled

func (o *NewNotificationWebhook) GetEnabled() bool

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

GetEnabledOk

func (o *NewNotificationWebhook) 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 *NewNotificationWebhook) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

SetEnabled

func (o *NewNotificationWebhook) SetEnabled(v bool)

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

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