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. | |
ApplicationIds | Pointer to []int32 | The IDs of the Applications that are related to this entity. The IDs of the Applications that are related to this entity. | |
Title | Pointer to string | Name or title for this webhook. | |
Description | Pointer to string | A description of the webhook. | [optional] |
Verb | Pointer to string | API method for this webhook. | |
Url | Pointer to string | API URL (supports templating using parameters) for this webhook. | |
Headers | Pointer to []string | List of API HTTP headers for this webhook. | |
Payload | Pointer to string | API payload (supports templating using parameters) for this webhook. | [optional] |
Params | Pointer to []TemplateArgDef | Array of template argument definitions. | |
Enabled | Pointer to bool | Enables or disables webhook from showing in the Rule Builder. |
func (o *Webhook) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Webhook) 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 *Webhook) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Webhook) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (o *Webhook) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *Webhook) 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 *Webhook) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *Webhook) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (o *Webhook) GetModified() time.Time
GetModified returns the Modified field if non-nil, zero value otherwise.
func (o *Webhook) 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 *Webhook) HasModified() bool
HasModified returns a boolean if a field has been set.
func (o *Webhook) SetModified(v time.Time)
SetModified gets a reference to the given time.Time and assigns it to the Modified field.
func (o *Webhook) GetApplicationIds() []int32
GetApplicationIds returns the ApplicationIds field if non-nil, zero value otherwise.
func (o *Webhook) GetApplicationIdsOk() ([]int32, bool)
GetApplicationIdsOk returns a tuple with the ApplicationIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Webhook) HasApplicationIds() bool
HasApplicationIds returns a boolean if a field has been set.
func (o *Webhook) SetApplicationIds(v []int32)
SetApplicationIds gets a reference to the given []int32 and assigns it to the ApplicationIds field.
func (o *Webhook) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *Webhook) GetTitleOk() (string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Webhook) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (o *Webhook) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (o *Webhook) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Webhook) GetDescriptionOk() (string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Webhook) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Webhook) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *Webhook) GetVerb() string
GetVerb returns the Verb field if non-nil, zero value otherwise.
func (o *Webhook) GetVerbOk() (string, bool)
GetVerbOk returns a tuple with the Verb field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Webhook) HasVerb() bool
HasVerb returns a boolean if a field has been set.
func (o *Webhook) SetVerb(v string)
SetVerb gets a reference to the given string and assigns it to the Verb field.
func (o *Webhook) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *Webhook) 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 *Webhook) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (o *Webhook) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (o *Webhook) GetHeaders() []string
GetHeaders returns the Headers field if non-nil, zero value otherwise.
func (o *Webhook) 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 *Webhook) HasHeaders() bool
HasHeaders returns a boolean if a field has been set.
func (o *Webhook) SetHeaders(v []string)
SetHeaders gets a reference to the given []string and assigns it to the Headers field.
func (o *Webhook) GetPayload() string
GetPayload returns the Payload field if non-nil, zero value otherwise.
func (o *Webhook) GetPayloadOk() (string, bool)
GetPayloadOk returns a tuple with the Payload field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Webhook) HasPayload() bool
HasPayload returns a boolean if a field has been set.
func (o *Webhook) SetPayload(v string)
SetPayload gets a reference to the given string and assigns it to the Payload field.
func (o *Webhook) GetParams() []TemplateArgDef
GetParams returns the Params field if non-nil, zero value otherwise.
func (o *Webhook) GetParamsOk() ([]TemplateArgDef, bool)
GetParamsOk returns a tuple with the Params field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Webhook) HasParams() bool
HasParams returns a boolean if a field has been set.
func (o *Webhook) SetParams(v []TemplateArgDef)
SetParams gets a reference to the given []TemplateArgDef and assigns it to the Params field.
func (o *Webhook) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *Webhook) 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 *Webhook) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *Webhook) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.