Skip to content

Latest commit

 

History

History
165 lines (90 loc) · 4.98 KB

NotificationTransportRequest.md

File metadata and controls

165 lines (90 loc) · 4.98 KB

NotificationTransportRequest

Properties

Name Type Description Notes
Name string
Mode Pointer to NotificationTransportModeEnum [optional]
WebhookUrl Pointer to string [optional]
WebhookMapping Pointer to NullableString [optional]
SendOnce Pointer to bool Only send notification once, for example when sending a webhook into a chat channel. [optional]

Methods

NewNotificationTransportRequest

func NewNotificationTransportRequest(name string, ) *NotificationTransportRequest

NewNotificationTransportRequest instantiates a new NotificationTransportRequest 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

NewNotificationTransportRequestWithDefaults

func NewNotificationTransportRequestWithDefaults() *NotificationTransportRequest

NewNotificationTransportRequestWithDefaults instantiates a new NotificationTransportRequest 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

GetName

func (o *NotificationTransportRequest) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *NotificationTransportRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *NotificationTransportRequest) SetName(v string)

SetName sets Name field to given value.

GetMode

func (o *NotificationTransportRequest) GetMode() NotificationTransportModeEnum

GetMode returns the Mode field if non-nil, zero value otherwise.

GetModeOk

func (o *NotificationTransportRequest) GetModeOk() (*NotificationTransportModeEnum, bool)

GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMode

func (o *NotificationTransportRequest) SetMode(v NotificationTransportModeEnum)

SetMode sets Mode field to given value.

HasMode

func (o *NotificationTransportRequest) HasMode() bool

HasMode returns a boolean if a field has been set.

GetWebhookUrl

func (o *NotificationTransportRequest) GetWebhookUrl() string

GetWebhookUrl returns the WebhookUrl field if non-nil, zero value otherwise.

GetWebhookUrlOk

func (o *NotificationTransportRequest) GetWebhookUrlOk() (*string, bool)

GetWebhookUrlOk returns a tuple with the WebhookUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetWebhookUrl

func (o *NotificationTransportRequest) SetWebhookUrl(v string)

SetWebhookUrl sets WebhookUrl field to given value.

HasWebhookUrl

func (o *NotificationTransportRequest) HasWebhookUrl() bool

HasWebhookUrl returns a boolean if a field has been set.

GetWebhookMapping

func (o *NotificationTransportRequest) GetWebhookMapping() string

GetWebhookMapping returns the WebhookMapping field if non-nil, zero value otherwise.

GetWebhookMappingOk

func (o *NotificationTransportRequest) GetWebhookMappingOk() (*string, bool)

GetWebhookMappingOk returns a tuple with the WebhookMapping field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetWebhookMapping

func (o *NotificationTransportRequest) SetWebhookMapping(v string)

SetWebhookMapping sets WebhookMapping field to given value.

HasWebhookMapping

func (o *NotificationTransportRequest) HasWebhookMapping() bool

HasWebhookMapping returns a boolean if a field has been set.

SetWebhookMappingNil

func (o *NotificationTransportRequest) SetWebhookMappingNil(b bool)

SetWebhookMappingNil sets the value for WebhookMapping to be an explicit nil

UnsetWebhookMapping

func (o *NotificationTransportRequest) UnsetWebhookMapping()

UnsetWebhookMapping ensures that no value is present for WebhookMapping, not even an explicit nil

GetSendOnce

func (o *NotificationTransportRequest) GetSendOnce() bool

GetSendOnce returns the SendOnce field if non-nil, zero value otherwise.

GetSendOnceOk

func (o *NotificationTransportRequest) GetSendOnceOk() (*bool, bool)

GetSendOnceOk returns a tuple with the SendOnce field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSendOnce

func (o *NotificationTransportRequest) SetSendOnce(v bool)

SetSendOnce sets SendOnce field to given value.

HasSendOnce

func (o *NotificationTransportRequest) HasSendOnce() bool

HasSendOnce returns a boolean if a field has been set.

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