/** * Klaviyo API * The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. * * Contact: developers@klaviyo.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'; export class EmailMarketingSuppression { /** * The reason the profile was suppressed. */ 'reason': EmailMarketingSuppression.ReasonEnum | 'HARD_BOUNCE' | 'INVALID_EMAIL' | 'SPAM_COMPLAINT' | 'UNSUBSCRIBE' | 'USER_SUPPRESSED'; /** * The timestamp when the profile was suppressed, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm). */ 'timestamp': Date; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "reason", "baseName": "reason", "type": "EmailMarketingSuppression.ReasonEnum" }, { "name": "timestamp", "baseName": "timestamp", "type": "Date" } ]; static getAttributeTypeMap() { return EmailMarketingSuppression.attributeTypeMap; } } export namespace EmailMarketingSuppression { export enum ReasonEnum { HardBounce = 'HARD_BOUNCE', InvalidEmail = 'INVALID_EMAIL', SpamComplaint = 'SPAM_COMPLAINT', Unsubscribe = 'UNSUBSCRIBE', UserSuppressed = 'USER_SUPPRESSED' } }