Name | Type | Description | Notes |
---|---|---|---|
Url | string | Here you must place the URL of your Webhook remember that you must program what you will do with the events received. Also do not forget to handle the HTTPS protocol for greater security. | |
Synchronous | Pointer to bool | It is a value that allows to decide if the events will be synchronous or asynchronous. We recommend asynchronous = false | [optional] [default to false] |
Events | Pointer to []string | [optional] |
func NewWebhookUpdateRequest(url string, ) *WebhookUpdateRequest
NewWebhookUpdateRequest instantiates a new WebhookUpdateRequest 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 NewWebhookUpdateRequestWithDefaults() *WebhookUpdateRequest
NewWebhookUpdateRequestWithDefaults instantiates a new WebhookUpdateRequest 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 *WebhookUpdateRequest) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *WebhookUpdateRequest) 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 *WebhookUpdateRequest) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *WebhookUpdateRequest) GetSynchronous() bool
GetSynchronous returns the Synchronous field if non-nil, zero value otherwise.
func (o *WebhookUpdateRequest) GetSynchronousOk() (*bool, bool)
GetSynchronousOk returns a tuple with the Synchronous field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WebhookUpdateRequest) SetSynchronous(v bool)
SetSynchronous sets Synchronous field to given value.
func (o *WebhookUpdateRequest) HasSynchronous() bool
HasSynchronous returns a boolean if a field has been set.
func (o *WebhookUpdateRequest) GetEvents() []string
GetEvents returns the Events field if non-nil, zero value otherwise.
func (o *WebhookUpdateRequest) GetEventsOk() (*[]string, 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 *WebhookUpdateRequest) SetEvents(v []string)
SetEvents sets Events field to given value.
func (o *WebhookUpdateRequest) HasEvents() bool
HasEvents returns a boolean if a field has been set.