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] |
func (o *NewNotificationWebhook) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
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.
func (o *NewNotificationWebhook) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (o *NewNotificationWebhook) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (o *NewNotificationWebhook) GetHeaders() []string
GetHeaders returns the Headers field if non-nil, zero value otherwise.
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.
func (o *NewNotificationWebhook) HasHeaders() bool
HasHeaders returns a boolean if a field has been set.
func (o *NewNotificationWebhook) SetHeaders(v []string)
SetHeaders gets a reference to the given []string and assigns it to the Headers field.
func (o *NewNotificationWebhook) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
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.
func (o *NewNotificationWebhook) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *NewNotificationWebhook) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.