onshape-clients
Version:
The meta package for creating the various Onshape clients
67 lines (60 loc) • 1.76 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';
export class BTCurveDescription {
'type'?: BTCurveDescription.TypeEnum;
'typeId'?: number;
'exportTypeName'?: string;
'connectionSource'?: BTConnection;
'unknownClass'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "type",
"baseName": "type",
"type": "BTCurveDescription.TypeEnum"
},
{
"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 BTCurveDescription.attributeTypeMap;
}
}
export namespace BTCurveDescription {
export enum TypeEnum {
OTHER = <any> 'OTHER',
LINE = <any> 'LINE',
CIRCLE = <any> 'CIRCLE',
ELLIPSE = <any> 'ELLIPSE',
BCURVE = <any> 'BCURVE',
ICURVE = <any> 'ICURVE',
UNKNOWN = <any> 'UNKNOWN'
}
}