Skip to content

Latest commit

 

History

History
129 lines (70 loc) · 3.31 KB

WebhookResponse.md

File metadata and controls

129 lines (70 loc) · 3.31 KB

WebhookResponse

Properties

Name Type Description Notes
Id string The unique identifier of the webhook.
Url Pointer to string The url that will listen to notifications (must be https). [optional]
Token Pointer to string Webhook secret token used to sign the webhook's payload. [optional]
Href Pointer to string The API endpoint to retrieve the webhook. [optional]

Methods

NewWebhookResponse

func NewWebhookResponse(id string, ) *WebhookResponse

NewWebhookResponse instantiates a new WebhookResponse 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

NewWebhookResponseWithDefaults

func NewWebhookResponseWithDefaults() *WebhookResponse

NewWebhookResponseWithDefaults instantiates a new WebhookResponse 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

GetId

func (o *WebhookResponse) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *WebhookResponse) GetIdOk() (*string, bool)

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

SetId

func (o *WebhookResponse) SetId(v string)

SetId sets Id field to given value.

GetUrl

func (o *WebhookResponse) GetUrl() string

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

GetUrlOk

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

SetUrl sets Url field to given value.

HasUrl

func (o *WebhookResponse) HasUrl() bool

HasUrl returns a boolean if a field has been set.

GetToken

func (o *WebhookResponse) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

func (o *WebhookResponse) GetTokenOk() (*string, bool)

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

SetToken

func (o *WebhookResponse) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *WebhookResponse) HasToken() bool

HasToken returns a boolean if a field has been set.

GetHref

func (o *WebhookResponse) GetHref() string

GetHref returns the Href field if non-nil, zero value otherwise.

GetHrefOk

func (o *WebhookResponse) GetHrefOk() (*string, bool)

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

SetHref

func (o *WebhookResponse) SetHref(v string)

SetHref sets Href field to given value.

HasHref

func (o *WebhookResponse) HasHref() bool

HasHref returns a boolean if a field has been set.

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