/** * 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 { CampaignsEmailTrackingOptionsCustomTrackingParamsInner } from './campaignsEmailTrackingOptionsCustomTrackingParamsInner'; export class CampaignsEmailTrackingOptions { /** * Whether the campaign needs custom tracking parameters. If set to False, tracking params will not be used. */ 'addTrackingParams'?: boolean | null; /** * A list of custom tracking parameters. If an empty list is given and add_tracking_params is True, uses company defaults. */ 'customTrackingParams'?: Array | null; /** * Whether the campaign is tracking click events. If not specified, uses company defaults. */ 'isTrackingClicks'?: boolean | null; /** * Whether the campaign is tracking open events. If not specified, uses company defaults. */ 'isTrackingOpens'?: boolean | null; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "addTrackingParams", "baseName": "add_tracking_params", "type": "boolean" }, { "name": "customTrackingParams", "baseName": "custom_tracking_params", "type": "Array" }, { "name": "isTrackingClicks", "baseName": "is_tracking_clicks", "type": "boolean" }, { "name": "isTrackingOpens", "baseName": "is_tracking_opens", "type": "boolean" } ]; static getAttributeTypeMap() { return CampaignsEmailTrackingOptions.attributeTypeMap; } }