4.1 KiB
WebhookUpdateEndpointIn
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Description | Pointer to string | Description is a free-text label for the console. Optional, clipped to 1024 bytes. | [optional] |
| Events | Pointer to []string | Events are NATS subject patterns to subscribe to. An empty or omitted list means EVERY event. Max 64 patterns, each max 256 bytes. | [optional] |
| Status | Pointer to string | Status is "active" or "disabled". Empty defaults to active. | [optional] |
| Url | Pointer to string | URL is the https:// address each matching event is POSTed to. Required, max 2048 bytes; http:// and every other scheme is refused. | [optional] |
Methods
NewWebhookUpdateEndpointIn
func NewWebhookUpdateEndpointIn() *WebhookUpdateEndpointIn
NewWebhookUpdateEndpointIn instantiates a new WebhookUpdateEndpointIn 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
NewWebhookUpdateEndpointInWithDefaults
func NewWebhookUpdateEndpointInWithDefaults() *WebhookUpdateEndpointIn
NewWebhookUpdateEndpointInWithDefaults instantiates a new WebhookUpdateEndpointIn 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
GetDescription
func (o *WebhookUpdateEndpointIn) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
GetDescriptionOk
func (o *WebhookUpdateEndpointIn) 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 *WebhookUpdateEndpointIn) SetDescription(v string)
SetDescription sets Description field to given value.
HasDescription
func (o *WebhookUpdateEndpointIn) HasDescription() bool
HasDescription returns a boolean if a field has been set.
GetEvents
func (o *WebhookUpdateEndpointIn) GetEvents() []string
GetEvents returns the Events field if non-nil, zero value otherwise.
GetEventsOk
func (o *WebhookUpdateEndpointIn) 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.
SetEvents
func (o *WebhookUpdateEndpointIn) SetEvents(v []string)
SetEvents sets Events field to given value.
HasEvents
func (o *WebhookUpdateEndpointIn) HasEvents() bool
HasEvents returns a boolean if a field has been set.
GetStatus
func (o *WebhookUpdateEndpointIn) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
GetStatusOk
func (o *WebhookUpdateEndpointIn) 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 *WebhookUpdateEndpointIn) SetStatus(v string)
SetStatus sets Status field to given value.
HasStatus
func (o *WebhookUpdateEndpointIn) HasStatus() bool
HasStatus returns a boolean if a field has been set.
GetUrl
func (o *WebhookUpdateEndpointIn) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
GetUrlOk
func (o *WebhookUpdateEndpointIn) 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 *WebhookUpdateEndpointIn) SetUrl(v string)
SetUrl sets Url field to given value.
HasUrl
func (o *WebhookUpdateEndpointIn) HasUrl() bool
HasUrl returns a boolean if a field has been set.