/** * SendinBlue API * SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | * * The version of the OpenAPI document: 3.0.0 * Contact: contact@sendinblue.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 { GetSmtpTemplateOverviewSender } from './getSmtpTemplateOverviewSender'; export class GetSmtpTemplateOverview { /** * ID of the template */ 'id': number; /** * Name of the template */ 'name': string; /** * Subject of the template */ 'subject': string; /** * Status of template (true=active, false=inactive) */ 'isActive': boolean; /** * Status of test sending for the template (true=test email has been sent, false=test email has not been sent) */ 'testSent': boolean; 'sender': GetSmtpTemplateOverviewSender; /** * Email defined as the \"Reply to\" for the template */ 'replyTo': string; /** * Customisation of the \"to\" field for the template */ 'toField': string; /** * Tag of the template */ 'tag': string; /** * HTML content of the template */ 'htmlContent': string; /** * Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) */ 'createdAt': string; /** * Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) */ 'modifiedAt': string; /** * It is true if template is a valid Double opt-in (DOI) template, otherwise it is false. This field will be available only in case of single template detail call. */ 'doiTemplate'?: boolean; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "id", "baseName": "id", "type": "number" }, { "name": "name", "baseName": "name", "type": "string" }, { "name": "subject", "baseName": "subject", "type": "string" }, { "name": "isActive", "baseName": "isActive", "type": "boolean" }, { "name": "testSent", "baseName": "testSent", "type": "boolean" }, { "name": "sender", "baseName": "sender", "type": "GetSmtpTemplateOverviewSender" }, { "name": "replyTo", "baseName": "replyTo", "type": "string" }, { "name": "toField", "baseName": "toField", "type": "string" }, { "name": "tag", "baseName": "tag", "type": "string" }, { "name": "htmlContent", "baseName": "htmlContent", "type": "string" }, { "name": "createdAt", "baseName": "createdAt", "type": "string" }, { "name": "modifiedAt", "baseName": "modifiedAt", "type": "string" }, { "name": "doiTemplate", "baseName": "doiTemplate", "type": "boolean" } ]; static getAttributeTypeMap() { return GetSmtpTemplateOverview.attributeTypeMap; } }