Skip to content

Latest commit

 

History

History
187 lines (100 loc) · 5.95 KB

WebhookConnectionAllOf.md

File metadata and controls

187 lines (100 loc) · 5.95 KB

WebhookConnectionAllOf

Properties

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]

Methods

NewWebhookConnectionAllOf

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

NewWebhookConnectionAllOfWithDefaults

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

GetUrl

func (o *WebhookConnectionAllOf) GetUrl() string

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

GetUrlOk

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.

SetUrl

func (o *WebhookConnectionAllOf) SetUrl(v string)

SetUrl sets Url field to given value.

GetHeaders

func (o *WebhookConnectionAllOf) GetHeaders() []Header

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

GetHeadersOk

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.

SetHeaders

func (o *WebhookConnectionAllOf) SetHeaders(v []Header)

SetHeaders sets Headers field to given value.

GetCustomHeaders

func (o *WebhookConnectionAllOf) GetCustomHeaders() []Header

GetCustomHeaders returns the CustomHeaders field if non-nil, zero value otherwise.

GetCustomHeadersOk

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.

SetCustomHeaders

func (o *WebhookConnectionAllOf) SetCustomHeaders(v []Header)

SetCustomHeaders sets CustomHeaders field to given value.

GetDefaultPayload

func (o *WebhookConnectionAllOf) GetDefaultPayload() string

GetDefaultPayload returns the DefaultPayload field if non-nil, zero value otherwise.

GetDefaultPayloadOk

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.

SetDefaultPayload

func (o *WebhookConnectionAllOf) SetDefaultPayload(v string)

SetDefaultPayload sets DefaultPayload field to given value.

GetWebhookType

func (o *WebhookConnectionAllOf) GetWebhookType() string

GetWebhookType returns the WebhookType field if non-nil, zero value otherwise.

GetWebhookTypeOk

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.

SetWebhookType

func (o *WebhookConnectionAllOf) SetWebhookType(v string)

SetWebhookType sets WebhookType field to given value.

GetConnectionSubtype

func (o *WebhookConnectionAllOf) GetConnectionSubtype() string

GetConnectionSubtype returns the ConnectionSubtype field if non-nil, zero value otherwise.

GetConnectionSubtypeOk

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.

SetConnectionSubtype

func (o *WebhookConnectionAllOf) SetConnectionSubtype(v string)

SetConnectionSubtype sets ConnectionSubtype field to given value.

HasConnectionSubtype

func (o *WebhookConnectionAllOf) HasConnectionSubtype() bool

HasConnectionSubtype returns a boolean if a field has been set.

GetWarnings

func (o *WebhookConnectionAllOf) GetWarnings() []string

GetWarnings returns the Warnings field if non-nil, zero value otherwise.

GetWarningsOk

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.

SetWarnings

func (o *WebhookConnectionAllOf) SetWarnings(v []string)

SetWarnings sets Warnings field to given value.

HasWarnings

func (o *WebhookConnectionAllOf) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

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