/** * 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'; import { HasEmailMarketingConsentConsentStatus } from './hasEmailMarketingConsentConsentStatus'; export class HasEmailMarketingConsent { 'channel': HasEmailMarketingConsent.ChannelEnum | 'email'; 'canReceiveMarketing': boolean; 'consentStatus': HasEmailMarketingConsentConsentStatus; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "channel", "baseName": "channel", "type": "HasEmailMarketingConsent.ChannelEnum" }, { "name": "canReceiveMarketing", "baseName": "can_receive_marketing", "type": "boolean" }, { "name": "consentStatus", "baseName": "consent_status", "type": "HasEmailMarketingConsentConsentStatus" } ]; static getAttributeTypeMap() { return HasEmailMarketingConsent.attributeTypeMap; } } export namespace HasEmailMarketingConsent { export enum ChannelEnum { Email = 'email' } }