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] |
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
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
func (o *WebhookEndpoint) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
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.
func (o *WebhookEndpoint) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *WebhookEndpoint) GetSubscribedEvents() []WebhookEventType
GetSubscribedEvents returns the SubscribedEvents field if non-nil, zero value otherwise.
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.
func (o *WebhookEndpoint) SetSubscribedEvents(v []WebhookEventType)
SetSubscribedEvents sets SubscribedEvents field to given value.
func (o *WebhookEndpoint) GetCreatedTimestamp() int64
GetCreatedTimestamp returns the CreatedTimestamp field if non-nil, zero value otherwise.
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.
func (o *WebhookEndpoint) SetCreatedTimestamp(v int64)
SetCreatedTimestamp sets CreatedTimestamp field to given value.
func (o *WebhookEndpoint) GetEndpointId() string
GetEndpointId returns the EndpointId field if non-nil, zero value otherwise.
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.
func (o *WebhookEndpoint) SetEndpointId(v string)
SetEndpointId sets EndpointId field to given value.
func (o *WebhookEndpoint) HasEndpointId() bool
HasEndpointId returns a boolean if a field has been set.
func (o *WebhookEndpoint) GetStatus() WebhookEndpointStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
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.
func (o *WebhookEndpoint) SetStatus(v WebhookEndpointStatus)
SetStatus sets Status field to given value.
func (o *WebhookEndpoint) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *WebhookEndpoint) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *WebhookEndpoint) HasDescription() bool
HasDescription returns a boolean if a field has been set.