UNPKG

onshape-clients

Version:

The meta package for creating the various Onshape clients

64 lines (57 loc) 1.82 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 { BTAppElementContentEntryInfo } from './bTAppElementContentEntryInfo'; export class BTAppElementContentInfo { 'data'?: Array<BTAppElementContentEntryInfo>; 'changeId'?: string; 'errorCode'?: number; 'errorValue'?: BTAppElementContentInfo.ErrorValueEnum; 'errorDescription'?: string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "data", "baseName": "data", "type": "Array<BTAppElementContentEntryInfo>" }, { "name": "changeId", "baseName": "changeId", "type": "string" }, { "name": "errorCode", "baseName": "errorCode", "type": "number" }, { "name": "errorValue", "baseName": "errorValue", "type": "BTAppElementContentInfo.ErrorValueEnum" }, { "name": "errorDescription", "baseName": "errorDescription", "type": "string" } ]; static getAttributeTypeMap() { return BTAppElementContentInfo.attributeTypeMap; } } export namespace BTAppElementContentInfo { export enum ErrorValueEnum { OK = <any> 'OK', TRANSACTIONCONFLICT = <any> 'TRANSACTION_CONFLICT', NOTFOUND = <any> 'NOT_FOUND', INCONSISTENTCHANGES = <any> 'INCONSISTENT_CHANGES' } }