onshape-clients
Version:
The meta package for creating the various Onshape clients
89 lines (82 loc) • 2.34 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 { BTBoundingBox } from './bTBoundingBox';
import { BTConnection } from './bTConnection';
import { BTExportModelLoop } from './bTExportModelLoop';
import { BTSurfaceDescription } from './bTSurfaceDescription';
export class BTExportModelFace {
'id'?: string;
'orientation'?: boolean;
'area'?: number;
'surface'?: BTSurfaceDescription;
'loops'?: Array<BTExportModelLoop>;
'box'?: BTBoundingBox;
'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": "orientation",
"baseName": "orientation",
"type": "boolean"
},
{
"name": "area",
"baseName": "area",
"type": "number"
},
{
"name": "surface",
"baseName": "surface",
"type": "BTSurfaceDescription"
},
{
"name": "loops",
"baseName": "loops",
"type": "Array<BTExportModelLoop>"
},
{
"name": "box",
"baseName": "box",
"type": "BTBoundingBox"
},
{
"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 BTExportModelFace.attributeTypeMap;
}
}