/** * MailSlurp API * MailSlurp is an API for sending and receiving emails and SMS from dynamically allocated email addresses and phone numbers. It\'s designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository * * The version of the OpenAPI document: 6.5.2 * Contact: contact@mailslurp.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface GenerateSpfRecordOptions */ export interface GenerateSpfRecordOptions { /** * Domain the SPF record applies to * @type {string} * @memberof GenerateSpfRecordOptions */ domain: string; /** * Optional include domains * @type {Array} * @memberof GenerateSpfRecordOptions */ includeDomains?: Array | null; /** * Optional IPv4 CIDRs or hosts * @type {Array} * @memberof GenerateSpfRecordOptions */ ip4?: Array | null; /** * Optional IPv6 CIDRs or hosts * @type {Array} * @memberof GenerateSpfRecordOptions */ ip6?: Array | null; /** * Whether to include the MX mechanism * @type {boolean} * @memberof GenerateSpfRecordOptions */ mx: boolean; /** * Whether to include the A mechanism * @type {boolean} * @memberof GenerateSpfRecordOptions */ a: boolean; /** * * @type {string} * @memberof GenerateSpfRecordOptions */ allPolicy: GenerateSpfRecordOptionsAllPolicyEnum; } /** * @export * @enum {string} */ export declare enum GenerateSpfRecordOptionsAllPolicyEnum { FAIL = "FAIL", SOFTFAIL = "SOFTFAIL", NEUTRAL = "NEUTRAL" } export declare function GenerateSpfRecordOptionsFromJSON(json: any): GenerateSpfRecordOptions; export declare function GenerateSpfRecordOptionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): GenerateSpfRecordOptions; export declare function GenerateSpfRecordOptionsToJSON(value?: GenerateSpfRecordOptions | null): any;