onshape-clients
Version:
The meta package for creating the various Onshape clients
90 lines (83 loc) • 2.45 kB
text/typescript
/**
* 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 { BTConnection } from './bTConnection';
import { BTExportModelEdge } from './bTExportModelEdge';
import { BTExportModelFace } from './bTExportModelFace';
import { BTExportModelVertex } from './bTExportModelVertex';
export class BTExportModelBody {
'id'?: string;
'type'?: BTExportModelBody.TypeEnum;
'edges'?: Array<BTExportModelEdge>;
'faces'?: Array<BTExportModelFace>;
'vertices'?: Array<BTExportModelVertex>;
'typeId'?: number;
'exportTypeName'?: string;
'connectionSource'?: BTConnection;
'unknownClass'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "BTExportModelBody.TypeEnum"
},
{
"name": "edges",
"baseName": "edges",
"type": "Array<BTExportModelEdge>"
},
{
"name": "faces",
"baseName": "faces",
"type": "Array<BTExportModelFace>"
},
{
"name": "vertices",
"baseName": "vertices",
"type": "Array<BTExportModelVertex>"
},
{
"name": "typeId",
"baseName": "typeId",
"type": "number"
},
{
"name": "exportTypeName",
"baseName": "exportTypeName",
"type": "string"
},
{
"name": "connectionSource",
"baseName": "connectionSource",
"type": "BTConnection"
},
{
"name": "unknownClass",
"baseName": "unknownClass",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return BTExportModelBody.attributeTypeMap;
}
}
export namespace BTExportModelBody {
export enum TypeEnum {
SOLID = <any> 'SOLID',
SURFACE = <any> 'SURFACE',
UNKNOWN = <any> 'UNKNOWN'
}
}