Skip to content

Latest commit

 

History

History
154 lines (85 loc) · 4.02 KB

Webhook.md

File metadata and controls

154 lines (85 loc) · 4.02 KB

Webhook

Properties

Name Type Description Notes
CreatedAt Pointer to NullableTime Timestamp the webhook subscription was created [optional]
Id Pointer to int32 ID of the webhook subscription [optional]
SubscriptionUrl Pointer to NullableString URL subscription events will be posted to [optional]
Topic Pointer to Topics [optional]

Methods

NewWebhook

func NewWebhook() *Webhook

NewWebhook instantiates a new Webhook 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

NewWebhookWithDefaults

func NewWebhookWithDefaults() *Webhook

NewWebhookWithDefaults instantiates a new Webhook 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

GetCreatedAt

func (o *Webhook) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *Webhook) GetCreatedAtOk() (*time.Time, bool)

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

SetCreatedAt

func (o *Webhook) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *Webhook) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

SetCreatedAtNil

func (o *Webhook) SetCreatedAtNil(b bool)

SetCreatedAtNil sets the value for CreatedAt to be an explicit nil

UnsetCreatedAt

func (o *Webhook) UnsetCreatedAt()

UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil

GetId

func (o *Webhook) GetId() int32

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

GetIdOk

func (o *Webhook) GetIdOk() (*int32, 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 *Webhook) SetId(v int32)

SetId sets Id field to given value.

HasId

func (o *Webhook) HasId() bool

HasId returns a boolean if a field has been set.

GetSubscriptionUrl

func (o *Webhook) GetSubscriptionUrl() string

GetSubscriptionUrl returns the SubscriptionUrl field if non-nil, zero value otherwise.

GetSubscriptionUrlOk

func (o *Webhook) GetSubscriptionUrlOk() (*string, bool)

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

SetSubscriptionUrl

func (o *Webhook) SetSubscriptionUrl(v string)

SetSubscriptionUrl sets SubscriptionUrl field to given value.

HasSubscriptionUrl

func (o *Webhook) HasSubscriptionUrl() bool

HasSubscriptionUrl returns a boolean if a field has been set.

SetSubscriptionUrlNil

func (o *Webhook) SetSubscriptionUrlNil(b bool)

SetSubscriptionUrlNil sets the value for SubscriptionUrl to be an explicit nil

UnsetSubscriptionUrl

func (o *Webhook) UnsetSubscriptionUrl()

UnsetSubscriptionUrl ensures that no value is present for SubscriptionUrl, not even an explicit nil

GetTopic

func (o *Webhook) GetTopic() Topics

GetTopic returns the Topic field if non-nil, zero value otherwise.

GetTopicOk

func (o *Webhook) GetTopicOk() (*Topics, bool)

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

SetTopic

func (o *Webhook) SetTopic(v Topics)

SetTopic sets Topic field to given value.

HasTopic

func (o *Webhook) HasTopic() bool

HasTopic returns a boolean if a field has been set.

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