/** * 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 { BooleanBranchLinks } from './booleanBranchLinks'; import { TriggerBranchActionData } from './triggerBranchActionData'; export class TriggerBranchAction { /** * 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': TriggerBranchAction.TypeEnum | 'trigger-split'; 'links'?: BooleanBranchLinks; 'data'?: TriggerBranchActionData; 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": "TriggerBranchAction.TypeEnum" }, { "name": "links", "baseName": "links", "type": "BooleanBranchLinks" }, { "name": "data", "baseName": "data", "type": "TriggerBranchActionData" } ]; static getAttributeTypeMap() { return TriggerBranchAction.attributeTypeMap; } } export namespace TriggerBranchAction { export enum TypeEnum { TriggerSplit = 'trigger-split' } }