/** * 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 PushMarketing { /** * Whether or not this profile is subscribed to receive mobile push. */ 'canReceivePushMarketing': boolean; /** * The consent status for mobile push marketing. */ 'consent': string; /** * The timestamp when the consent was last changed, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm). */ 'consentTimestamp'?: Date | null; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "canReceivePushMarketing", "baseName": "can_receive_push_marketing", "type": "boolean" }, { "name": "consent", "baseName": "consent", "type": "string" }, { "name": "consentTimestamp", "baseName": "consent_timestamp", "type": "Date" } ]; static getAttributeTypeMap() { return PushMarketing.attributeTypeMap; } }