UNPKG

onshape-clients

Version:

The meta package for creating the various Onshape clients

122 lines (115 loc) 2.93 kB
/** * Onshape REST API * The Onshape REST API consumed by all clients. * * OpenAPI spec version: 1.93 * Contact: api-support@onshape.zendesk.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 { BTWebhookOptions } from './bTWebhookOptions'; export class BTWebhookParams { 'id'?: string; 'events'?: Array<string>; 'options'?: BTWebhookOptions; 'data'?: string; 'partId'?: string; 'filter'?: string; 'url'?: string; 'userId'?: string; 'versionId'?: string; 'documentId'?: string; 'companyId'?: string; 'clientId'?: string; 'workspaceId'?: string; 'elementId'?: string; 'projectId'?: string; 'folderId'?: string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "id", "baseName": "id", "type": "string" }, { "name": "events", "baseName": "events", "type": "Array<string>" }, { "name": "options", "baseName": "options", "type": "BTWebhookOptions" }, { "name": "data", "baseName": "data", "type": "string" }, { "name": "partId", "baseName": "partId", "type": "string" }, { "name": "filter", "baseName": "filter", "type": "string" }, { "name": "url", "baseName": "url", "type": "string" }, { "name": "userId", "baseName": "userId", "type": "string" }, { "name": "versionId", "baseName": "versionId", "type": "string" }, { "name": "documentId", "baseName": "documentId", "type": "string" }, { "name": "companyId", "baseName": "companyId", "type": "string" }, { "name": "clientId", "baseName": "clientId", "type": "string" }, { "name": "workspaceId", "baseName": "workspaceId", "type": "string" }, { "name": "elementId", "baseName": "elementId", "type": "string" }, { "name": "projectId", "baseName": "projectId", "type": "string" }, { "name": "folderId", "baseName": "folderId", "type": "string" } ]; static getAttributeTypeMap() { return BTWebhookParams.attributeTypeMap; } }