Name | Type | Description | Notes |
---|---|---|---|
Url | string | URL for the webhook connection. | |
Headers | []Header | List of access authorization headers. | |
CustomHeaders | []Header | List of custom webhook headers. | |
DefaultPayload | string | Default payload of the webhook. | |
WebhookType | string | Type of webhook connection. Valid values are `AWSLambda`, `Azure`, `Datadog`, `HipChat`, `NewRelic`, `Opsgenie`, `PagerDuty`, `Slack`, `MicrosoftTeams`, `ServiceNow`, `SumoCloudSOAR` and `Webhook`. | |
ConnectionSubtype | Pointer to string | The subtype of the connection. Valid values are `Event` or `Incident`. | [optional] |
Warnings | Pointer to []string | Webhook endpoint warning for incorrect variable names and syntax. | [optional] |
func NewWebhookConnectionAllOf(url string, headers []Header, customHeaders []Header, defaultPayload string, webhookType string, ) *WebhookConnectionAllOf
NewWebhookConnectionAllOf instantiates a new WebhookConnectionAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWebhookConnectionAllOfWithDefaults() *WebhookConnectionAllOf
NewWebhookConnectionAllOfWithDefaults instantiates a new WebhookConnectionAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *WebhookConnectionAllOf) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *WebhookConnectionAllOf) 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 *WebhookConnectionAllOf) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *WebhookConnectionAllOf) GetHeaders() []Header
GetHeaders returns the Headers field if non-nil, zero value otherwise.
func (o *WebhookConnectionAllOf) GetHeadersOk() (*[]Header, 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 *WebhookConnectionAllOf) SetHeaders(v []Header)
SetHeaders sets Headers field to given value.
func (o *WebhookConnectionAllOf) GetCustomHeaders() []Header
GetCustomHeaders returns the CustomHeaders field if non-nil, zero value otherwise.
func (o *WebhookConnectionAllOf) GetCustomHeadersOk() (*[]Header, bool)
GetCustomHeadersOk returns a tuple with the CustomHeaders field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WebhookConnectionAllOf) SetCustomHeaders(v []Header)
SetCustomHeaders sets CustomHeaders field to given value.
func (o *WebhookConnectionAllOf) GetDefaultPayload() string
GetDefaultPayload returns the DefaultPayload field if non-nil, zero value otherwise.
func (o *WebhookConnectionAllOf) GetDefaultPayloadOk() (*string, bool)
GetDefaultPayloadOk returns a tuple with the DefaultPayload field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WebhookConnectionAllOf) SetDefaultPayload(v string)
SetDefaultPayload sets DefaultPayload field to given value.
func (o *WebhookConnectionAllOf) GetWebhookType() string
GetWebhookType returns the WebhookType field if non-nil, zero value otherwise.
func (o *WebhookConnectionAllOf) GetWebhookTypeOk() (*string, bool)
GetWebhookTypeOk returns a tuple with the WebhookType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WebhookConnectionAllOf) SetWebhookType(v string)
SetWebhookType sets WebhookType field to given value.
func (o *WebhookConnectionAllOf) GetConnectionSubtype() string
GetConnectionSubtype returns the ConnectionSubtype field if non-nil, zero value otherwise.
func (o *WebhookConnectionAllOf) GetConnectionSubtypeOk() (*string, bool)
GetConnectionSubtypeOk returns a tuple with the ConnectionSubtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WebhookConnectionAllOf) SetConnectionSubtype(v string)
SetConnectionSubtype sets ConnectionSubtype field to given value.
func (o *WebhookConnectionAllOf) HasConnectionSubtype() bool
HasConnectionSubtype returns a boolean if a field has been set.
func (o *WebhookConnectionAllOf) GetWarnings() []string
GetWarnings returns the Warnings field if non-nil, zero value otherwise.
func (o *WebhookConnectionAllOf) GetWarningsOk() (*[]string, bool)
GetWarningsOk returns a tuple with the Warnings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WebhookConnectionAllOf) SetWarnings(v []string)
SetWarnings sets Warnings field to given value.
func (o *WebhookConnectionAllOf) HasWarnings() bool
HasWarnings returns a boolean if a field has been set.