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