/** * Whispir Platform API * Whispir Platform API for cross channel and multi channel communications. Documentation on each endpoint is available at https://developers.whispir.com. * * The version of the OpenAPI document: 1.0.0 * Contact: support@whispir.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { RequestFile } from './models'; import { EmailResources } from './emailResources'; /** * The email channel payload, used when sending an email Message. Not required when a template is provided. */ export class Email { /** * The email message body. */ 'body': string; /** * Plain text or html displayed at the bottom of your email message. */ 'footer'?: string; /** * The email Message content type. */ 'type'?: Email.TypeEnum = Email.TypeEnum.Plain; 'resources'?: EmailResources; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "body", "baseName": "body", "type": "string" }, { "name": "footer", "baseName": "footer", "type": "string" }, { "name": "type", "baseName": "type", "type": "Email.TypeEnum" }, { "name": "resources", "baseName": "resources", "type": "EmailResources" } ]; static getAttributeTypeMap() { return Email.attributeTypeMap; } } export namespace Email { export enum TypeEnum { Plain = 'text/plain', Html = 'text/html' } }