Skip to content

Latest commit

 

History

History
135 lines (72 loc) · 4.77 KB

File metadata and controls

135 lines (72 loc) · 4.77 KB

V2WebhooksGet200ResponseDataInner

Properties

Name Type Description Notes
TargetUrl string URL where the webhook events will be delivered to.
Subscriptions []V2WebhooksGet200ResponseDataInnerSubscriptionsInner One or more events the webhook is subscribed to.
Id V2WebhooksGet200ResponseDataInnerId
Status string The state of the webhook. Webhooks marked as active and degraded will receive events, inactive ones will not. If a webhook remains in the degraded state for 7 days, it will be marked inactive.
CreatedAt string When the webhook was created.

Methods

NewV2WebhooksGet200ResponseDataInner

func NewV2WebhooksGet200ResponseDataInner(targetUrl string, subscriptions []V2WebhooksGet200ResponseDataInnerSubscriptionsInner, id V2WebhooksGet200ResponseDataInnerId, status string, createdAt string, ) *V2WebhooksGet200ResponseDataInner

NewV2WebhooksGet200ResponseDataInner instantiates a new V2WebhooksGet200ResponseDataInner 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

NewV2WebhooksGet200ResponseDataInnerWithDefaults

func NewV2WebhooksGet200ResponseDataInnerWithDefaults() *V2WebhooksGet200ResponseDataInner

NewV2WebhooksGet200ResponseDataInnerWithDefaults instantiates a new V2WebhooksGet200ResponseDataInner 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

GetTargetUrl

func (o *V2WebhooksGet200ResponseDataInner) GetTargetUrl() string

GetTargetUrl returns the TargetUrl field if non-nil, zero value otherwise.

GetTargetUrlOk

func (o *V2WebhooksGet200ResponseDataInner) GetTargetUrlOk() (*string, bool)

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

SetTargetUrl

func (o *V2WebhooksGet200ResponseDataInner) SetTargetUrl(v string)

SetTargetUrl sets TargetUrl field to given value.

GetSubscriptions

func (o *V2WebhooksGet200ResponseDataInner) GetSubscriptions() []V2WebhooksGet200ResponseDataInnerSubscriptionsInner

GetSubscriptions returns the Subscriptions field if non-nil, zero value otherwise.

GetSubscriptionsOk

func (o *V2WebhooksGet200ResponseDataInner) GetSubscriptionsOk() (*[]V2WebhooksGet200ResponseDataInnerSubscriptionsInner, bool)

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

SetSubscriptions

func (o *V2WebhooksGet200ResponseDataInner) SetSubscriptions(v []V2WebhooksGet200ResponseDataInnerSubscriptionsInner)

SetSubscriptions sets Subscriptions field to given value.

GetId

func (o *V2WebhooksGet200ResponseDataInner) GetId() V2WebhooksGet200ResponseDataInnerId

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

GetIdOk

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

SetId sets Id field to given value.

GetStatus

func (o *V2WebhooksGet200ResponseDataInner) GetStatus() string

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

GetStatusOk

func (o *V2WebhooksGet200ResponseDataInner) 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 *V2WebhooksGet200ResponseDataInner) SetStatus(v string)

SetStatus sets Status field to given value.

GetCreatedAt

func (o *V2WebhooksGet200ResponseDataInner) GetCreatedAt() string

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

GetCreatedAtOk

func (o *V2WebhooksGet200ResponseDataInner) GetCreatedAtOk() (*string, 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 *V2WebhooksGet200ResponseDataInner) SetCreatedAt(v string)

SetCreatedAt sets CreatedAt field to given value.

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