Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 4.7 KB

WebhookUpdater.md

File metadata and controls

160 lines (87 loc) · 4.7 KB

WebhookUpdater

Properties

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]

Methods

NewWebhookUpdater

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

NewWebhookUpdaterWithDefaults

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

GetEnabled

func (o *WebhookUpdater) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

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.

SetEnabled

func (o *WebhookUpdater) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

HasEnabled

func (o *WebhookUpdater) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

GetEvents

func (o *WebhookUpdater) GetEvents() []WebhookEventType

GetEvents returns the Events field if non-nil, zero value otherwise.

GetEventsOk

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.

SetEvents

func (o *WebhookUpdater) SetEvents(v []WebhookEventType)

SetEvents sets Events field to given value.

HasEvents

func (o *WebhookUpdater) HasEvents() bool

HasEvents returns a boolean if a field has been set.

GetEnvironments

func (o *WebhookUpdater) GetEnvironments() []string

GetEnvironments returns the Environments field if non-nil, zero value otherwise.

GetEnvironmentsOk

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.

SetEnvironments

func (o *WebhookUpdater) SetEnvironments(v []string)

SetEnvironments sets Environments field to given value.

HasEnvironments

func (o *WebhookUpdater) HasEnvironments() bool

HasEnvironments returns a boolean if a field has been set.

GetPayloadVersion

func (o *WebhookUpdater) GetPayloadVersion() int32

GetPayloadVersion returns the PayloadVersion field if non-nil, zero value otherwise.

GetPayloadVersionOk

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.

SetPayloadVersion

func (o *WebhookUpdater) SetPayloadVersion(v int32)

SetPayloadVersion sets PayloadVersion field to given value.

HasPayloadVersion

func (o *WebhookUpdater) HasPayloadVersion() bool

HasPayloadVersion returns a boolean if a field has been set.

GetUrl

func (o *WebhookUpdater) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

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.

SetUrl

func (o *WebhookUpdater) SetUrl(v string)

SetUrl sets Url field to given value.

HasUrl

func (o *WebhookUpdater) HasUrl() bool

HasUrl returns a boolean if a field has been set.

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