Skip to content

Latest commit

 

History

History
170 lines (93 loc) · 5.33 KB

PatchedNotificationTransportRequest.md

File metadata and controls

170 lines (93 loc) · 5.33 KB

PatchedNotificationTransportRequest

Properties

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]

Methods

NewPatchedNotificationTransportRequest

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

NewPatchedNotificationTransportRequestWithDefaults

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

GetName

func (o *PatchedNotificationTransportRequest) GetName() string

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

GetNameOk

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.

SetName

func (o *PatchedNotificationTransportRequest) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *PatchedNotificationTransportRequest) HasName() bool

HasName returns a boolean if a field has been set.

GetMode

func (o *PatchedNotificationTransportRequest) GetMode() NotificationTransportModeEnum

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

GetModeOk

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.

SetMode

func (o *PatchedNotificationTransportRequest) SetMode(v NotificationTransportModeEnum)

SetMode sets Mode field to given value.

HasMode

func (o *PatchedNotificationTransportRequest) HasMode() bool

HasMode returns a boolean if a field has been set.

GetWebhookUrl

func (o *PatchedNotificationTransportRequest) GetWebhookUrl() string

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

GetWebhookUrlOk

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.

SetWebhookUrl

func (o *PatchedNotificationTransportRequest) SetWebhookUrl(v string)

SetWebhookUrl sets WebhookUrl field to given value.

HasWebhookUrl

func (o *PatchedNotificationTransportRequest) HasWebhookUrl() bool

HasWebhookUrl returns a boolean if a field has been set.

GetWebhookMapping

func (o *PatchedNotificationTransportRequest) GetWebhookMapping() string

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

GetWebhookMappingOk

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.

SetWebhookMapping

func (o *PatchedNotificationTransportRequest) SetWebhookMapping(v string)

SetWebhookMapping sets WebhookMapping field to given value.

HasWebhookMapping

func (o *PatchedNotificationTransportRequest) HasWebhookMapping() bool

HasWebhookMapping returns a boolean if a field has been set.

SetWebhookMappingNil

func (o *PatchedNotificationTransportRequest) SetWebhookMappingNil(b bool)

SetWebhookMappingNil sets the value for WebhookMapping to be an explicit nil

UnsetWebhookMapping

func (o *PatchedNotificationTransportRequest) UnsetWebhookMapping()

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

GetSendOnce

func (o *PatchedNotificationTransportRequest) GetSendOnce() bool

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

GetSendOnceOk

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.

SetSendOnce

func (o *PatchedNotificationTransportRequest) SetSendOnce(v bool)

SetSendOnce sets SendOnce field to given value.

HasSendOnce

func (o *PatchedNotificationTransportRequest) HasSendOnce() bool

HasSendOnce returns a boolean if a field has been set.

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