Skip to content

Latest commit

 

History

History
103 lines (56 loc) · 2.86 KB

File metadata and controls

103 lines (56 loc) · 2.86 KB

CreateWebhookRequest

Properties

Name Type Description Notes
Url string The callback url for Eduframe to send a HTTP POST payload to.
Active Pointer to bool State of webhook. [optional]
Events Pointer to []WebhookEvent Array of events. [optional]

Methods

NewCreateWebhookRequest

func NewCreateWebhookRequest(url string, ) *CreateWebhookRequest

NewCreateWebhookRequest instantiates a new CreateWebhookRequest 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

NewCreateWebhookRequestWithDefaults

func NewCreateWebhookRequestWithDefaults() *CreateWebhookRequest

NewCreateWebhookRequestWithDefaults instantiates a new CreateWebhookRequest 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

GetUrl

func (o *CreateWebhookRequest) GetUrl() string

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

GetUrlOk

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

SetUrl sets Url field to given value.

GetActive

func (o *CreateWebhookRequest) GetActive() bool

GetActive returns the Active field if non-nil, zero value otherwise.

GetActiveOk

func (o *CreateWebhookRequest) GetActiveOk() (*bool, bool)

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

SetActive

func (o *CreateWebhookRequest) SetActive(v bool)

SetActive sets Active field to given value.

HasActive

func (o *CreateWebhookRequest) HasActive() bool

HasActive returns a boolean if a field has been set.

GetEvents

func (o *CreateWebhookRequest) GetEvents() []WebhookEvent

GetEvents returns the Events field if non-nil, zero value otherwise.

GetEventsOk

func (o *CreateWebhookRequest) GetEventsOk() (*[]WebhookEvent, 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 *CreateWebhookRequest) SetEvents(v []WebhookEvent)

SetEvents sets Events field to given value.

HasEvents

func (o *CreateWebhookRequest) HasEvents() bool

HasEvents returns a boolean if a field has been set.

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