UNPKG

onshape-clients

Version:

The meta package for creating the various Onshape clients

116 lines (109 loc) 3.04 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 BTTranslationRequestInfo { 'requestElementId'?: string; 'requestState'?: BTTranslationRequestInfo.RequestStateEnum; 'resultExternalDataIds'?: Array<string>; 'workspaceId'?: string; 'resultElementIds'?: Array<string>; 'resultDocumentId'?: string; 'failureReason'?: string; 'resultWorkspaceId'?: string; 'versionId'?: string; 'documentId'?: string; 'name'?: string; 'id'?: string; 'href'?: string; 'viewRef'?: string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "requestElementId", "baseName": "requestElementId", "type": "string" }, { "name": "requestState", "baseName": "requestState", "type": "BTTranslationRequestInfo.RequestStateEnum" }, { "name": "resultExternalDataIds", "baseName": "resultExternalDataIds", "type": "Array<string>" }, { "name": "workspaceId", "baseName": "workspaceId", "type": "string" }, { "name": "resultElementIds", "baseName": "resultElementIds", "type": "Array<string>" }, { "name": "resultDocumentId", "baseName": "resultDocumentId", "type": "string" }, { "name": "failureReason", "baseName": "failureReason", "type": "string" }, { "name": "resultWorkspaceId", "baseName": "resultWorkspaceId", "type": "string" }, { "name": "versionId", "baseName": "versionId", "type": "string" }, { "name": "documentId", "baseName": "documentId", "type": "string" }, { "name": "name", "baseName": "name", "type": "string" }, { "name": "id", "baseName": "id", "type": "string" }, { "name": "href", "baseName": "href", "type": "string" }, { "name": "viewRef", "baseName": "viewRef", "type": "string" } ]; static getAttributeTypeMap() { return BTTranslationRequestInfo.attributeTypeMap; } } export namespace BTTranslationRequestInfo { export enum RequestStateEnum { ACTIVE = <any> 'ACTIVE', DONE = <any> 'DONE', FAILED = <any> 'FAILED' } }