Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int32 | Internal ID of this entity. | |
Created | Pointer to time.Time | The time this entity was created. | |
Modified | Pointer to time.Time | The time this entity was last modified. | |
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 *BaseNotificationWebhook) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *BaseNotificationWebhook) GetIdOk() (int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BaseNotificationWebhook) HasId() bool
HasId returns a boolean if a field has been set.
func (o *BaseNotificationWebhook) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (o *BaseNotificationWebhook) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *BaseNotificationWebhook) GetCreatedOk() (time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BaseNotificationWebhook) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *BaseNotificationWebhook) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (o *BaseNotificationWebhook) GetModified() time.Time
GetModified returns the Modified field if non-nil, zero value otherwise.
func (o *BaseNotificationWebhook) GetModifiedOk() (time.Time, bool)
GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BaseNotificationWebhook) HasModified() bool
HasModified returns a boolean if a field has been set.
func (o *BaseNotificationWebhook) SetModified(v time.Time)
SetModified gets a reference to the given time.Time and assigns it to the Modified field.
func (o *BaseNotificationWebhook) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *BaseNotificationWebhook) 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 *BaseNotificationWebhook) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (o *BaseNotificationWebhook) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (o *BaseNotificationWebhook) GetHeaders() []string
GetHeaders returns the Headers field if non-nil, zero value otherwise.
func (o *BaseNotificationWebhook) 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 *BaseNotificationWebhook) HasHeaders() bool
HasHeaders returns a boolean if a field has been set.
func (o *BaseNotificationWebhook) SetHeaders(v []string)
SetHeaders gets a reference to the given []string and assigns it to the Headers field.
func (o *BaseNotificationWebhook) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *BaseNotificationWebhook) 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 *BaseNotificationWebhook) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *BaseNotificationWebhook) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.