github.com/launchdarkly/api-client-go@v5.3.0+incompatible/model_webhook_body.go (about) 1 /* 2 * LaunchDarkly REST API 3 * 4 * Build custom integrations with the LaunchDarkly REST API 5 * 6 * API version: 5.3.0 7 * Contact: support@launchdarkly.com 8 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 9 */ 10 11 package ldapi 12 13 type WebhookBody struct { 14 // The URL of the remote webhook. 15 Url string `json:"url"` 16 // If sign is true, and the secret attribute is omitted, LaunchDarkly will automatically generate a secret for you. 17 Secret string `json:"secret,omitempty"` 18 // If sign is false, the webhook will not include a signature header, and the secret can be omitted. 19 Sign bool `json:"sign"` 20 // Whether this webhook is enabled or not. 21 On bool `json:"on"` 22 // The name of the webhook. 23 Name string `json:"name,omitempty"` 24 Statements []Statement `json:"statements,omitempty"` 25 // Tags for the webhook. 26 Tags []string `json:"tags,omitempty"` 27 }