Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 3.93 KB

UpdateWebhookEndpointByIdRequest.md

File metadata and controls

108 lines (59 loc) · 3.93 KB

UpdateWebhookEndpointByIdRequest

Properties

Name Type Description Notes
SubscribedEvents Pointer to []WebhookEventType The new event types you want to subscribe to for this webhook endpoint. You can call Get webhook event types to retrieve all available event types. [optional]
Status Pointer to string The new status you want to set the webhook endpoint to. If you set `status` to `STATUS_INACTIVE`, the endpoint will be revoked, meaning it will no longer receive any webhook events. [optional]
Description Pointer to string The webhook endpoint description. [optional]

Methods

NewUpdateWebhookEndpointByIdRequest

func NewUpdateWebhookEndpointByIdRequest() *UpdateWebhookEndpointByIdRequest

NewUpdateWebhookEndpointByIdRequest instantiates a new UpdateWebhookEndpointByIdRequest 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

NewUpdateWebhookEndpointByIdRequestWithDefaults

func NewUpdateWebhookEndpointByIdRequestWithDefaults() *UpdateWebhookEndpointByIdRequest

NewUpdateWebhookEndpointByIdRequestWithDefaults instantiates a new UpdateWebhookEndpointByIdRequest 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

GetSubscribedEvents

func (o *UpdateWebhookEndpointByIdRequest) GetSubscribedEvents() []WebhookEventType

GetSubscribedEvents returns the SubscribedEvents field if non-nil, zero value otherwise.

GetSubscribedEventsOk

func (o *UpdateWebhookEndpointByIdRequest) GetSubscribedEventsOk() (*[]WebhookEventType, bool)

GetSubscribedEventsOk returns a tuple with the SubscribedEvents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSubscribedEvents

func (o *UpdateWebhookEndpointByIdRequest) SetSubscribedEvents(v []WebhookEventType)

SetSubscribedEvents sets SubscribedEvents field to given value.

HasSubscribedEvents

func (o *UpdateWebhookEndpointByIdRequest) HasSubscribedEvents() bool

HasSubscribedEvents returns a boolean if a field has been set.

GetStatus

func (o *UpdateWebhookEndpointByIdRequest) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *UpdateWebhookEndpointByIdRequest) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStatus

func (o *UpdateWebhookEndpointByIdRequest) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *UpdateWebhookEndpointByIdRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetDescription

func (o *UpdateWebhookEndpointByIdRequest) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *UpdateWebhookEndpointByIdRequest) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *UpdateWebhookEndpointByIdRequest) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *UpdateWebhookEndpointByIdRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

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