Skip to content

Latest commit

 

History

History
166 lines (89 loc) · 4.9 KB

WebhookEndpoint.md

File metadata and controls

166 lines (89 loc) · 4.9 KB

WebhookEndpoint

Properties

Name Type Description Notes
Url string The webhook endpoint URL.
SubscribedEvents []WebhookEventType The event types subscribed by a webhook endpoint.
CreatedTimestamp int64 The time when the endpoint was registered, in Unix timestamp format, measured in seconds.
EndpointId Pointer to string The webhook endpoint ID. [optional]
Status WebhookEndpointStatus
Description Pointer to string The description of the webhook endpoint. [optional]

Methods

NewWebhookEndpoint

func NewWebhookEndpoint(url string, subscribedEvents []WebhookEventType, createdTimestamp int64, status WebhookEndpointStatus, ) *WebhookEndpoint

NewWebhookEndpoint instantiates a new WebhookEndpoint 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

NewWebhookEndpointWithDefaults

func NewWebhookEndpointWithDefaults() *WebhookEndpoint

NewWebhookEndpointWithDefaults instantiates a new WebhookEndpoint 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

GetUrl

func (o *WebhookEndpoint) GetUrl() string

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

GetUrlOk

func (o *WebhookEndpoint) 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 *WebhookEndpoint) SetUrl(v string)

SetUrl sets Url field to given value.

GetSubscribedEvents

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

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

GetSubscribedEventsOk

func (o *WebhookEndpoint) 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 *WebhookEndpoint) SetSubscribedEvents(v []WebhookEventType)

SetSubscribedEvents sets SubscribedEvents field to given value.

GetCreatedTimestamp

func (o *WebhookEndpoint) GetCreatedTimestamp() int64

GetCreatedTimestamp returns the CreatedTimestamp field if non-nil, zero value otherwise.

GetCreatedTimestampOk

func (o *WebhookEndpoint) GetCreatedTimestampOk() (*int64, bool)

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

SetCreatedTimestamp

func (o *WebhookEndpoint) SetCreatedTimestamp(v int64)

SetCreatedTimestamp sets CreatedTimestamp field to given value.

GetEndpointId

func (o *WebhookEndpoint) GetEndpointId() string

GetEndpointId returns the EndpointId field if non-nil, zero value otherwise.

GetEndpointIdOk

func (o *WebhookEndpoint) GetEndpointIdOk() (*string, bool)

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

SetEndpointId

func (o *WebhookEndpoint) SetEndpointId(v string)

SetEndpointId sets EndpointId field to given value.

HasEndpointId

func (o *WebhookEndpoint) HasEndpointId() bool

HasEndpointId returns a boolean if a field has been set.

GetStatus

func (o *WebhookEndpoint) GetStatus() WebhookEndpointStatus

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

GetStatusOk

func (o *WebhookEndpoint) GetStatusOk() (*WebhookEndpointStatus, 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 *WebhookEndpoint) SetStatus(v WebhookEndpointStatus)

SetStatus sets Status field to given value.

GetDescription

func (o *WebhookEndpoint) GetDescription() string

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

GetDescriptionOk

func (o *WebhookEndpoint) 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 *WebhookEndpoint) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *WebhookEndpoint) HasDescription() bool

HasDescription returns a boolean if a field has been set.

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