Skip to content

Latest commit

 

History

History
169 lines (90 loc) · 4.55 KB

NewNotificationTest.md

File metadata and controls

169 lines (90 loc) · 4.55 KB

NewNotificationTest

Properties

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.

Methods

GetType

func (o *NewNotificationTest) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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.

HasType

func (o *NewNotificationTest) HasType() bool

HasType returns a boolean if a field has been set.

SetType

func (o *NewNotificationTest) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

GetQueryParams

func (o *NewNotificationTest) GetQueryParams() map[string]string

GetQueryParams returns the QueryParams field if non-nil, zero value otherwise.

GetQueryParamsOk

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.

HasQueryParams

func (o *NewNotificationTest) HasQueryParams() bool

HasQueryParams returns a boolean if a field has been set.

SetQueryParams

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.

GetHeaders

func (o *NewNotificationTest) GetHeaders() map[string]string

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

GetHeadersOk

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.

HasHeaders

func (o *NewNotificationTest) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

SetHeaders

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.

GetVerb

func (o *NewNotificationTest) GetVerb() string

GetVerb returns the Verb field if non-nil, zero value otherwise.

GetVerbOk

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.

HasVerb

func (o *NewNotificationTest) HasVerb() bool

HasVerb returns a boolean if a field has been set.

SetVerb

func (o *NewNotificationTest) SetVerb(v string)

SetVerb gets a reference to the given string and assigns it to the Verb field.

GetUrl

func (o *NewNotificationTest) GetUrl() string

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

GetUrlOk

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.

HasUrl

func (o *NewNotificationTest) HasUrl() bool

HasUrl returns a boolean if a field has been set.

SetUrl

func (o *NewNotificationTest) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

GetPayload

func (o *NewNotificationTest) GetPayload() string

GetPayload returns the Payload field if non-nil, zero value otherwise.

GetPayloadOk

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.

HasPayload

func (o *NewNotificationTest) HasPayload() bool

HasPayload returns a boolean if a field has been set.

SetPayload

func (o *NewNotificationTest) SetPayload(v string)

SetPayload gets a reference to the given string and assigns it to the Payload field.

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