onshape-clients
Version:
The meta package for creating the various Onshape clients
65 lines (58 loc) • 1.72 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 BTFeatureState {
'featureStatus'?: BTFeatureState.FeatureStatusEnum;
'typeId'?: number;
'exportTypeName'?: string;
'connectionSource'?: BTConnection;
'unknownClass'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "featureStatus",
"baseName": "featureStatus",
"type": "BTFeatureState.FeatureStatusEnum"
},
{
"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 BTFeatureState.attributeTypeMap;
}
}
export namespace BTFeatureState {
export enum FeatureStatusEnum {
OK = <any> 'OK',
INFO = <any> 'INFO',
WARNING = <any> 'WARNING',
ERROR = <any> 'ERROR',
UNKNOWN = <any> 'UNKNOWN'
}
}