webhooks

package
v0.7.14 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 WebhookListResponse

type WebhookListResponse struct {
	Code string `json:"code"`
	Data struct {
		Items      []WebhookCommonData `json:"items"`
		NextCursor string              `json:"next_cursor"`
	} `json:"data"`
}

type WebhookResponse

type WebhookResponse struct {
	common.CommonResponse
	Data struct {
		WebhookCommonData
	} `json:"data"`
}

Jump to

Keyboard shortcuts

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