/** * Copyright 2022 Splunk, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"): you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations * under the License. * * Action Service * With the Action service in Splunk Cloud Services, you can receive incoming trigger events and use pre-defined action templates to turn these events into meaningful actions. * * OpenAPI spec version: v1beta2.12 (recommended default) * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ActionKind } from './'; /** * * @export * @interface WebhookAction */ export interface WebhookAction { /** * * @type {ActionKind} * @memberof WebhookAction */ kind: ActionKind; /** * The name of the action, as one or more identifier strings separated by periods. Each identifier string consists of lowercase letters, digits, and underscores, and cannot start with a digit. * @type {string} * @memberof WebhookAction */ name: string; /** * The (possibly) templated payload body, which is POSTed to the webhookUrl when invoked. * @type {string} * @memberof WebhookAction */ webhookPayload: string; /** * Only HTTPS is allowed. * @type {string} * @memberof WebhookAction */ webhookUrl: string; /** * The date and time this action template was created (ISO-8601 date/time with zone). * @type {string} * @memberof WebhookAction */ readonly createdAt?: string; /** * The principal that created this action template. * @type {string} * @memberof WebhookAction */ readonly createdBy?: string; /** * A human-readable title for the action. Must be less than 128 characters. * @type {string} * @memberof WebhookAction */ title?: string; /** * The date and time this action template was updated (ISO-8601 date/time with zone). * @type {string} * @memberof WebhookAction */ readonly updatedAt?: string; /** * The principal that updated this action template. * @type {string} * @memberof WebhookAction */ readonly updatedBy?: string; /** * * @type {{ [key: string]: Array; }} * @memberof WebhookAction */ webhookHeaders?: { [key: string]: Array; }; }