UNPKG

onshape-clients

Version:

The meta package for creating the various Onshape clients

159 lines (152 loc) 4.47 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. */ export class BTAppElementReferenceResolveInfo { 'targetElementMicroversionId'?: string; 'resolvedElementMicroversionId'?: string; 'revision'?: string; 'changeId'?: string; 'targetDocumentId'?: string; 'targetElementId'?: string; 'targetConfiguration'?: string; 'targetVersionId'?: string; 'isSketchOnly'?: boolean; 'sketchIds'?: Array<string>; 'idTag'?: string; 'partNumber'?: string; 'referenceId'?: string; 'targetDocumentMicroversionId'?: string; 'isConfigurable'?: boolean; 'resolvedDocumentMicroversionId'?: string; 'idTagIsValid'?: boolean; 'trackNewVersions'?: boolean; 'errorCode'?: number; 'errorValue'?: BTAppElementReferenceResolveInfo.ErrorValueEnum; 'errorDescription'?: string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "targetElementMicroversionId", "baseName": "targetElementMicroversionId", "type": "string" }, { "name": "resolvedElementMicroversionId", "baseName": "resolvedElementMicroversionId", "type": "string" }, { "name": "revision", "baseName": "revision", "type": "string" }, { "name": "changeId", "baseName": "changeId", "type": "string" }, { "name": "targetDocumentId", "baseName": "targetDocumentId", "type": "string" }, { "name": "targetElementId", "baseName": "targetElementId", "type": "string" }, { "name": "targetConfiguration", "baseName": "targetConfiguration", "type": "string" }, { "name": "targetVersionId", "baseName": "targetVersionId", "type": "string" }, { "name": "isSketchOnly", "baseName": "isSketchOnly", "type": "boolean" }, { "name": "sketchIds", "baseName": "sketchIds", "type": "Array<string>" }, { "name": "idTag", "baseName": "idTag", "type": "string" }, { "name": "partNumber", "baseName": "partNumber", "type": "string" }, { "name": "referenceId", "baseName": "referenceId", "type": "string" }, { "name": "targetDocumentMicroversionId", "baseName": "targetDocumentMicroversionId", "type": "string" }, { "name": "isConfigurable", "baseName": "isConfigurable", "type": "boolean" }, { "name": "resolvedDocumentMicroversionId", "baseName": "resolvedDocumentMicroversionId", "type": "string" }, { "name": "idTagIsValid", "baseName": "idTagIsValid", "type": "boolean" }, { "name": "trackNewVersions", "baseName": "trackNewVersions", "type": "boolean" }, { "name": "errorCode", "baseName": "errorCode", "type": "number" }, { "name": "errorValue", "baseName": "errorValue", "type": "BTAppElementReferenceResolveInfo.ErrorValueEnum" }, { "name": "errorDescription", "baseName": "errorDescription", "type": "string" } ]; static getAttributeTypeMap() { return BTAppElementReferenceResolveInfo.attributeTypeMap; } } export namespace BTAppElementReferenceResolveInfo { export enum ErrorValueEnum { OK = <any> 'OK', TRANSACTIONCONFLICT = <any> 'TRANSACTION_CONFLICT', NOTFOUND = <any> 'NOT_FOUND', INCONSISTENTCHANGES = <any> 'INCONSISTENT_CHANGES' } }