/** * 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 { SubscriptionCreateJobCreateQueryResourceObjectAttributesProfiles } from './subscriptionCreateJobCreateQueryResourceObjectAttributesProfiles'; export class SubscriptionCreateJobCreateQueryResourceObjectAttributes { /** * A custom method detail or source to store on the consent records. */ 'customSource'?: string | null; 'profiles': SubscriptionCreateJobCreateQueryResourceObjectAttributesProfiles; /** * Whether this subscription is part of a historical import. If true, the consented_at field must be provided for each profile. */ 'historicalImport'?: boolean | null = false; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "customSource", "baseName": "custom_source", "type": "string" }, { "name": "profiles", "baseName": "profiles", "type": "SubscriptionCreateJobCreateQueryResourceObjectAttributesProfiles" }, { "name": "historicalImport", "baseName": "historical_import", "type": "boolean" } ]; static getAttributeTypeMap() { return SubscriptionCreateJobCreateQueryResourceObjectAttributes.attributeTypeMap; } }