Name | Type | Description | Notes |
---|---|---|---|
Enabled | Pointer to bool | Determine if the webhook is active. | [optional] |
Events | Pointer to []WebhookEventType | The events that will be published to the webhook. If the events parameter is omitted all the events will be subscribed. | [optional] |
Environments | Pointer to []string | The environments from which the webhook will receive events. Allowed values are “sandbox” and “live”. If the environments parameter is omitted the webhook will receive events from both environments. | [optional] |
PayloadVersion | Pointer to int32 | Webhook version used to control the payload object when sending webhooks. | [optional] |
Url | Pointer to string | The url that will listen to notifications (must be https). | [optional] |
func NewWebhookUpdater() *WebhookUpdater
NewWebhookUpdater instantiates a new WebhookUpdater 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 NewWebhookUpdaterWithDefaults() *WebhookUpdater
NewWebhookUpdaterWithDefaults instantiates a new WebhookUpdater 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 *WebhookUpdater) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *WebhookUpdater) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WebhookUpdater) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *WebhookUpdater) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *WebhookUpdater) GetEvents() []WebhookEventType
GetEvents returns the Events field if non-nil, zero value otherwise.
func (o *WebhookUpdater) GetEventsOk() (*[]WebhookEventType, bool)
GetEventsOk returns a tuple with the Events field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WebhookUpdater) SetEvents(v []WebhookEventType)
SetEvents sets Events field to given value.
func (o *WebhookUpdater) HasEvents() bool
HasEvents returns a boolean if a field has been set.
func (o *WebhookUpdater) GetEnvironments() []string
GetEnvironments returns the Environments field if non-nil, zero value otherwise.
func (o *WebhookUpdater) GetEnvironmentsOk() (*[]string, bool)
GetEnvironmentsOk returns a tuple with the Environments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WebhookUpdater) SetEnvironments(v []string)
SetEnvironments sets Environments field to given value.
func (o *WebhookUpdater) HasEnvironments() bool
HasEnvironments returns a boolean if a field has been set.
func (o *WebhookUpdater) GetPayloadVersion() int32
GetPayloadVersion returns the PayloadVersion field if non-nil, zero value otherwise.
func (o *WebhookUpdater) GetPayloadVersionOk() (*int32, bool)
GetPayloadVersionOk returns a tuple with the PayloadVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WebhookUpdater) SetPayloadVersion(v int32)
SetPayloadVersion sets PayloadVersion field to given value.
func (o *WebhookUpdater) HasPayloadVersion() bool
HasPayloadVersion returns a boolean if a field has been set.
func (o *WebhookUpdater) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *WebhookUpdater) 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.
func (o *WebhookUpdater) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *WebhookUpdater) HasUrl() bool
HasUrl returns a boolean if a field has been set.