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] |
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
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
func (o *NotificationTransportRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *NotificationTransportRequest) SetName(v string)
SetName sets Name field to given value.
func (o *NotificationTransportRequest) GetMode() NotificationTransportModeEnum
GetMode returns the Mode field if non-nil, zero value otherwise.
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.
func (o *NotificationTransportRequest) SetMode(v NotificationTransportModeEnum)
SetMode sets Mode field to given value.
func (o *NotificationTransportRequest) HasMode() bool
HasMode returns a boolean if a field has been set.
func (o *NotificationTransportRequest) GetWebhookUrl() string
GetWebhookUrl returns the WebhookUrl field if non-nil, zero value otherwise.
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.
func (o *NotificationTransportRequest) SetWebhookUrl(v string)
SetWebhookUrl sets WebhookUrl field to given value.
func (o *NotificationTransportRequest) HasWebhookUrl() bool
HasWebhookUrl returns a boolean if a field has been set.
func (o *NotificationTransportRequest) GetWebhookMapping() string
GetWebhookMapping returns the WebhookMapping field if non-nil, zero value otherwise.
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.
func (o *NotificationTransportRequest) SetWebhookMapping(v string)
SetWebhookMapping sets WebhookMapping field to given value.
func (o *NotificationTransportRequest) HasWebhookMapping() bool
HasWebhookMapping returns a boolean if a field has been set.
func (o *NotificationTransportRequest) SetWebhookMappingNil(b bool)
SetWebhookMappingNil sets the value for WebhookMapping to be an explicit nil
func (o *NotificationTransportRequest) UnsetWebhookMapping()
UnsetWebhookMapping ensures that no value is present for WebhookMapping, not even an explicit nil
func (o *NotificationTransportRequest) GetSendOnce() bool
GetSendOnce returns the SendOnce field if non-nil, zero value otherwise.
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.
func (o *NotificationTransportRequest) SetSendOnce(v bool)
SetSendOnce sets SendOnce field to given value.
func (o *NotificationTransportRequest) HasSendOnce() bool
HasSendOnce returns a boolean if a field has been set.