Name | Type | Description | Notes |
---|---|---|---|
Type | Pointer to string | The notification type. | |
QueryParams | Pointer to map[string]string | Array of query parameters. | [optional] |
Headers | Pointer to map[string]string | List of API HTTP headers for the given webhook-based notification. | [optional] |
Verb | Pointer to string | API method for this notification. | |
Url | Pointer to string | API URL for the given notification. | |
Payload | Pointer to string | API payload of this notification. |
func (o *NewNotificationTest) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *NewNotificationTest) GetTypeOk() (string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewNotificationTest) HasType() bool
HasType returns a boolean if a field has been set.
func (o *NewNotificationTest) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (o *NewNotificationTest) GetQueryParams() map[string]string
GetQueryParams returns the QueryParams field if non-nil, zero value otherwise.
func (o *NewNotificationTest) GetQueryParamsOk() (map[string]string, bool)
GetQueryParamsOk returns a tuple with the QueryParams field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewNotificationTest) HasQueryParams() bool
HasQueryParams returns a boolean if a field has been set.
func (o *NewNotificationTest) SetQueryParams(v map[string]string)
SetQueryParams gets a reference to the given map[string]string and assigns it to the QueryParams field.
func (o *NewNotificationTest) GetHeaders() map[string]string
GetHeaders returns the Headers field if non-nil, zero value otherwise.
func (o *NewNotificationTest) GetHeadersOk() (map[string]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 *NewNotificationTest) HasHeaders() bool
HasHeaders returns a boolean if a field has been set.
func (o *NewNotificationTest) SetHeaders(v map[string]string)
SetHeaders gets a reference to the given map[string]string and assigns it to the Headers field.
func (o *NewNotificationTest) GetVerb() string
GetVerb returns the Verb field if non-nil, zero value otherwise.
func (o *NewNotificationTest) 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 *NewNotificationTest) HasVerb() bool
HasVerb returns a boolean if a field has been set.
func (o *NewNotificationTest) SetVerb(v string)
SetVerb gets a reference to the given string and assigns it to the Verb field.
func (o *NewNotificationTest) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *NewNotificationTest) 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 *NewNotificationTest) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (o *NewNotificationTest) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (o *NewNotificationTest) GetPayload() string
GetPayload returns the Payload field if non-nil, zero value otherwise.
func (o *NewNotificationTest) 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 *NewNotificationTest) HasPayload() bool
HasPayload returns a boolean if a field has been set.
func (o *NewNotificationTest) SetPayload(v string)
SetPayload gets a reference to the given string and assigns it to the Payload field.