/** * 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 { WebhookEnum } from './webhookEnum'; import { WebhookPartialUpdateQueryResourceObjectAttributes } from './webhookPartialUpdateQueryResourceObjectAttributes'; import { WebhookPartialUpdateQueryResourceObjectRelationships } from './webhookPartialUpdateQueryResourceObjectRelationships'; export class WebhookPartialUpdateQueryResourceObject { 'type': WebhookEnum | 'webhook'; /** * The ID of the webhook. */ 'id': string; 'attributes': WebhookPartialUpdateQueryResourceObjectAttributes; 'relationships'?: WebhookPartialUpdateQueryResourceObjectRelationships; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "type", "baseName": "type", "type": "WebhookEnum" }, { "name": "id", "baseName": "id", "type": "string" }, { "name": "attributes", "baseName": "attributes", "type": "WebhookPartialUpdateQueryResourceObjectAttributes" }, { "name": "relationships", "baseName": "relationships", "type": "WebhookPartialUpdateQueryResourceObjectRelationships" } ]; static getAttributeTypeMap() { return WebhookPartialUpdateQueryResourceObject.attributeTypeMap; } } export namespace WebhookPartialUpdateQueryResourceObject { }