/** * 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 PushActionButton { 'label': string; /** * The action type for a push notification action button. */ 'actionType': PushActionButton.ActionTypeEnum | 'deep_link' | 'dismiss' | 'open_app' | 'open_url'; 'url'?: string | null; 'icon'?: string | null; 'customActionId'?: string | null; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "label", "baseName": "label", "type": "string" }, { "name": "actionType", "baseName": "action_type", "type": "PushActionButton.ActionTypeEnum" }, { "name": "url", "baseName": "url", "type": "string" }, { "name": "icon", "baseName": "icon", "type": "string" }, { "name": "customActionId", "baseName": "custom_action_id", "type": "string" } ]; static getAttributeTypeMap() { return PushActionButton.attributeTypeMap; } } export namespace PushActionButton { export enum ActionTypeEnum { DeepLink = 'deep_link', Dismiss = 'dismiss', OpenApp = 'open_app', OpenUrl = 'open_url' } }