/** * 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 { Link } from './link'; import { SendPushNotificationActionData } from './sendPushNotificationActionData'; export class SendPushNotificationAction { /** * The real ID of an action. Not allowed on create. */ 'id'?: string | null; /** * A temporary ID to use only during a create operation. Existing actions should use the id field. */ 'temporaryId'?: string | null; 'type': SendPushNotificationAction.TypeEnum | 'send-mobile-push'; 'links'?: Link; 'data'?: SendPushNotificationActionData; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "id", "baseName": "id", "type": "string" }, { "name": "temporaryId", "baseName": "temporary_id", "type": "string" }, { "name": "type", "baseName": "type", "type": "SendPushNotificationAction.TypeEnum" }, { "name": "links", "baseName": "links", "type": "Link" }, { "name": "data", "baseName": "data", "type": "SendPushNotificationActionData" } ]; static getAttributeTypeMap() { return SendPushNotificationAction.attributeTypeMap; } } export namespace SendPushNotificationAction { export enum TypeEnum { SendMobilePush = 'send-mobile-push' } }