webhooks

package
v0.8.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

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 (*WebhookAccountCreateService) Do added in v0.8.0

func (*WebhookAccountCreateService) Events added in v0.8.0

func (*WebhookAccountCreateService) Secret added in v0.8.0

func (*WebhookAccountCreateService) Url added in v0.8.0

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 (*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 (*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 (*WebhookGroupCreateService) Do added in v0.8.0

func (*WebhookGroupCreateService) Events added in v0.8.0

func (*WebhookGroupCreateService) GroupId added in v0.8.0

func (*WebhookGroupCreateService) Secret added in v0.8.0

func (*WebhookGroupCreateService) Url added in v0.8.0

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 (*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 (*WebhookModifyService) Do added in v0.8.0

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 (*WebhookModifyService) Url added in v0.8.0

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 WebhookTestResponse struct {
	Code string `json:"code"`
	Data struct {
		Succeed bool   `json:"succeed"`
		Status  int    `json:"status"`
		Message string `json:"message"`
	} `json:"data"`
}

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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL