/** * 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 EmailAction */ export interface EmailAction { /** * * @type {ActionKind} * @memberof EmailAction */ 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 EmailAction */ name: string; /** * An array of email addresses to include as recipients. Requires a special permission set for use. Please DO NOT include actual bouncing emails in automated testing. * @type {Array} * @memberof EmailAction */ addresses?: Array; /** * HTML content to send as the body of the email. You can use a template in this field. * @type {string} * @memberof EmailAction */ body?: string; /** * Optional text to send as the text/plain part of the email. If this field is not set for an email action, the Action service converts the value from the body field to text and sends that as the text/plain part when invoking the action. You can use a template in this field. * @type {string} * @memberof EmailAction */ bodyPlainText?: string; /** * The date and time this action template was created (ISO-8601 date/time with zone). * @type {string} * @memberof EmailAction */ readonly createdAt?: string; /** * The principal that created this action template. * @type {string} * @memberof EmailAction */ readonly createdBy?: string; /** * Optional text providing a human-friendly name for the sender. Must be less than or equal to 81 characters. You can use a template in this field. * @type {string} * @memberof EmailAction */ fromName?: string; /** * An array of tenant member names, whose profile email addresses will be included as recipients. * @type {Array} * @memberof EmailAction */ members?: Array; /** * The subject of the email. You can use a template in this field. * @type {string} * @memberof EmailAction */ subject?: string; /** * A human-readable title for the action. Must be less than or equal to 128 characters. * @type {string} * @memberof EmailAction */ title?: string; /** * The date and time this action template was updated (ISO-8601 date/time with zone). * @type {string} * @memberof EmailAction */ readonly updatedAt?: string; /** * The principal that updated this action template. * @type {string} * @memberof EmailAction */ readonly updatedBy?: string; }