Documentation
¶
Index ¶
- type WebhookAccountCreateService
- func (s *WebhookAccountCreateService) Active(value bool) *WebhookAccountCreateService
- func (s *WebhookAccountCreateService) Do(ctx context.Context) (WebhookResponse, error)
- func (s *WebhookAccountCreateService) Events(value []string) *WebhookAccountCreateService
- func (s *WebhookAccountCreateService) Secret(value string) *WebhookAccountCreateService
- func (s *WebhookAccountCreateService) Url(value string) *WebhookAccountCreateService
- type WebhookCommonData
- type WebhookDeleteService
- type WebhookDetailsService
- type WebhookGroupCreateService
- func (s *WebhookGroupCreateService) Active(value bool) *WebhookGroupCreateService
- func (s *WebhookGroupCreateService) Do(ctx context.Context) (WebhookResponse, error)
- func (s *WebhookGroupCreateService) Events(value []string) *WebhookGroupCreateService
- func (s *WebhookGroupCreateService) GroupId(value string) *WebhookGroupCreateService
- func (s *WebhookGroupCreateService) Secret(value string) *WebhookGroupCreateService
- func (s *WebhookGroupCreateService) Url(value string) *WebhookGroupCreateService
- type WebhookListResponse
- type WebhookListService
- type WebhookModifyService
- func (s *WebhookModifyService) Active(value bool) *WebhookModifyService
- func (s *WebhookModifyService) Do(ctx context.Context) (WebhookResponse, error)
- func (s *WebhookModifyService) Events(value []string) *WebhookModifyService
- func (s *WebhookModifyService) RunTests(value bool) *WebhookModifyService
- func (s *WebhookModifyService) Secret(value string) *WebhookModifyService
- func (s *WebhookModifyService) Url(value string) *WebhookModifyService
- func (s *WebhookModifyService) WebhookId(value string) *WebhookModifyService
- type WebhookResponse
- type WebhookTestResponse
- type WebhookTestService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebhookAccountCreateService ¶ added in v0.8.0
type WebhookAccountCreateService struct { httputils.HttpService // contains filtered or unexported fields }
WebhookAccountCreateService implements the Webhook Management, Create a Account Webhook. Ref. https://fivetran.com/docs/rest-api/webhooks#createaccountwebhook
func (*WebhookAccountCreateService) Active ¶ added in v0.8.0
func (s *WebhookAccountCreateService) Active(value bool) *WebhookAccountCreateService
func (*WebhookAccountCreateService) Do ¶ added in v0.8.0
func (s *WebhookAccountCreateService) Do(ctx context.Context) (WebhookResponse, error)
func (*WebhookAccountCreateService) Events ¶ added in v0.8.0
func (s *WebhookAccountCreateService) Events(value []string) *WebhookAccountCreateService
func (*WebhookAccountCreateService) Secret ¶ added in v0.8.0
func (s *WebhookAccountCreateService) Secret(value string) *WebhookAccountCreateService
func (*WebhookAccountCreateService) Url ¶ added in v0.8.0
func (s *WebhookAccountCreateService) Url(value string) *WebhookAccountCreateService
type WebhookCommonData ¶
type WebhookCommonData struct { Id string `json:"id"` Type string `json:"type"` Url string `json:"url"` Events []string `json:"events"` Active bool `json:"active"` Secret string `json:"secret"` GroupId string `json:"group_id"` CreatedAt string `json:"created_at"` CreatedBy string `json:"created_by"` }
type WebhookDeleteService ¶ added in v0.8.0
type WebhookDeleteService struct { httputils.HttpService // contains filtered or unexported fields }
WebhookDeleteService implements the Webhook Management, Delete a Webhook. Ref. https://fivetran.com/docs/rest-api/webhooks#deletewebhook
func (*WebhookDeleteService) Do ¶ added in v0.8.0
func (s *WebhookDeleteService) Do(ctx context.Context) (common.CommonResponse, error)
func (*WebhookDeleteService) WebhookId ¶ added in v0.8.0
func (s *WebhookDeleteService) WebhookId(value string) *WebhookDeleteService
type WebhookDetailsService ¶ added in v0.8.0
type WebhookDetailsService struct { httputils.HttpService // contains filtered or unexported fields }
WebhookDetailsService implements the Webhook Management, retrieve Webhook Details. Ref. https://fivetran.com/docs/rest-api/webhooks#retrievewebhookdetails
func (*WebhookDetailsService) Do ¶ added in v0.8.0
func (s *WebhookDetailsService) Do(ctx context.Context) (WebhookResponse, error)
func (*WebhookDetailsService) WebhookId ¶ added in v0.8.0
func (s *WebhookDetailsService) WebhookId(value string) *WebhookDetailsService
type WebhookGroupCreateService ¶ added in v0.8.0
type WebhookGroupCreateService struct { httputils.HttpService // contains filtered or unexported fields }
WebhookGroupCreateService implements the Webhook Management, Create a Group Webhook. Ref. https://fivetran.com/docs/rest-api/webhooks#creategroupwebhook
func (*WebhookGroupCreateService) Active ¶ added in v0.8.0
func (s *WebhookGroupCreateService) Active(value bool) *WebhookGroupCreateService
func (*WebhookGroupCreateService) Do ¶ added in v0.8.0
func (s *WebhookGroupCreateService) Do(ctx context.Context) (WebhookResponse, error)
func (*WebhookGroupCreateService) Events ¶ added in v0.8.0
func (s *WebhookGroupCreateService) Events(value []string) *WebhookGroupCreateService
func (*WebhookGroupCreateService) GroupId ¶ added in v0.8.0
func (s *WebhookGroupCreateService) GroupId(value string) *WebhookGroupCreateService
func (*WebhookGroupCreateService) Secret ¶ added in v0.8.0
func (s *WebhookGroupCreateService) Secret(value string) *WebhookGroupCreateService
func (*WebhookGroupCreateService) Url ¶ added in v0.8.0
func (s *WebhookGroupCreateService) Url(value string) *WebhookGroupCreateService
type WebhookListResponse ¶
type WebhookListResponse struct { Code string `json:"code"` Data struct { Items []WebhookCommonData `json:"items"` NextCursor string `json:"next_cursor"` } `json:"data"` }
type WebhookListService ¶ added in v0.8.0
type WebhookListService struct { httputils.HttpService // contains filtered or unexported fields }
WebhookListService implements the Webhook Management, retrieve List Webhook. Ref. https://fivetran.com/docs/rest-api/webhooks#retrievethelistofwebhooks
func (*WebhookListService) Cursor ¶ added in v0.8.0
func (s *WebhookListService) Cursor(value string) *WebhookListService
func (*WebhookListService) Do ¶ added in v0.8.0
func (s *WebhookListService) Do(ctx context.Context) (WebhookListResponse, error)
func (*WebhookListService) Limit ¶ added in v0.8.0
func (s *WebhookListService) Limit(value int) *WebhookListService
type WebhookModifyService ¶ added in v0.8.0
type WebhookModifyService struct { httputils.HttpService // contains filtered or unexported fields }
WebhookModifyService implements the Webhook Management, Modify a Webhook. Ref. https://fivetran.com/docs/rest-api/webhooks#updatewebhook
func (*WebhookModifyService) Active ¶ added in v0.8.0
func (s *WebhookModifyService) Active(value bool) *WebhookModifyService
func (*WebhookModifyService) Do ¶ added in v0.8.0
func (s *WebhookModifyService) Do(ctx context.Context) (WebhookResponse, error)
func (*WebhookModifyService) Events ¶ added in v0.8.0
func (s *WebhookModifyService) Events(value []string) *WebhookModifyService
func (*WebhookModifyService) RunTests ¶ added in v0.8.0
func (s *WebhookModifyService) RunTests(value bool) *WebhookModifyService
func (*WebhookModifyService) Secret ¶ added in v0.8.0
func (s *WebhookModifyService) Secret(value string) *WebhookModifyService
func (*WebhookModifyService) Url ¶ added in v0.8.0
func (s *WebhookModifyService) Url(value string) *WebhookModifyService
func (*WebhookModifyService) WebhookId ¶ added in v0.8.0
func (s *WebhookModifyService) WebhookId(value string) *WebhookModifyService
type WebhookResponse ¶
type WebhookResponse struct { common.CommonResponse Data struct { WebhookCommonData } `json:"data"` }
type WebhookTestResponse ¶ added in v0.8.0
type WebhookTestService ¶ added in v0.8.0
type WebhookTestService struct { httputils.HttpService // contains filtered or unexported fields }
WebhookTestService implements the test method for Webhook Management API. Ref. https://fivetran.com/docs/rest-api/webhooks#testwebhook
func (*WebhookTestService) Do ¶ added in v0.8.0
func (s *WebhookTestService) Do(ctx context.Context) (WebhookTestResponse, error)
func (*WebhookTestService) Event ¶ added in v0.8.0
func (s *WebhookTestService) Event(value string) *WebhookTestService
func (*WebhookTestService) WebhookId ¶ added in v0.8.0
func (s *WebhookTestService) WebhookId(value string) *WebhookTestService