/** * Zero Notification Service * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { EmailRecipient } from '../models/EmailRecipient'; import { EmailSender } from '../models/EmailSender'; import { MailMessage } from '../models/MailMessage'; import { HttpFile } from '../http/http'; export class SendMailRequest { 'toAddresses': Array; 'ccAddresses'?: Array; 'bccAddresses'?: Array; 'fromAddress': EmailSender; 'message'?: MailMessage; 'headers'?: { [key: string]: string; }; 'tags'?: Array; /** * Custom arguments are key/value pairs passed to the mail provider. These will be passed through to the mail provider and can be used to provide additional information about the message. For example, if the mail provider is SendGrid, these will be passed through as custom_args. */ 'customArgs'?: { [key: string]: string; }; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "toAddresses", "baseName": "toAddresses", "type": "Array", "format": "" }, { "name": "ccAddresses", "baseName": "ccAddresses", "type": "Array", "format": "" }, { "name": "bccAddresses", "baseName": "bccAddresses", "type": "Array", "format": "" }, { "name": "fromAddress", "baseName": "fromAddress", "type": "EmailSender", "format": "" }, { "name": "message", "baseName": "message", "type": "MailMessage", "format": "" }, { "name": "headers", "baseName": "headers", "type": "{ [key: string]: string; }", "format": "" }, { "name": "tags", "baseName": "tags", "type": "Array", "format": "" }, { "name": "customArgs", "baseName": "customArgs", "type": "{ [key: string]: string; }", "format": "" } ]; static getAttributeTypeMap() { return SendMailRequest.attributeTypeMap; } public constructor() { } }