onshape-clients
Version:
The meta package for creating the various Onshape clients
131 lines (124 loc) • 3.82 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 { BTInsertionLocation } from './bTInsertionLocation';
import { BTNodeReference } from './bTNodeReference';
import { BTObjectId } from './bTObjectId';
export class BTMSuppressionState {
'forExport'?: boolean;
'importMicroversion'?: string;
'childNodes'?: { [key: string]: BTNodeReference; };
'changeableChildFieldIndices'?: Array<number>;
'hasUserCode'?: boolean;
'childLocations'?: { [key: string]: BTInsertionLocation; };
'sourceParseTreeNodes'?: { [key: string]: Array<BTNodeReference>; };
'nodeId'?: string;
'childMapIndices'?: Array<number>;
'atomicChildIndices'?: Array<number>;
'nodeIdRaw'?: BTObjectId;
'firstChildField'?: number;
'childListIndices'?: Array<number>;
'typeId'?: number;
'exportTypeName'?: string;
'connectionSource'?: BTConnection;
'unknownClass'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "forExport",
"baseName": "forExport",
"type": "boolean"
},
{
"name": "importMicroversion",
"baseName": "importMicroversion",
"type": "string"
},
{
"name": "childNodes",
"baseName": "childNodes",
"type": "{ [key: string]: BTNodeReference; }"
},
{
"name": "changeableChildFieldIndices",
"baseName": "changeableChildFieldIndices",
"type": "Array<number>"
},
{
"name": "hasUserCode",
"baseName": "hasUserCode",
"type": "boolean"
},
{
"name": "childLocations",
"baseName": "childLocations",
"type": "{ [key: string]: BTInsertionLocation; }"
},
{
"name": "sourceParseTreeNodes",
"baseName": "sourceParseTreeNodes",
"type": "{ [key: string]: Array<BTNodeReference>; }"
},
{
"name": "nodeId",
"baseName": "nodeId",
"type": "string"
},
{
"name": "childMapIndices",
"baseName": "childMapIndices",
"type": "Array<number>"
},
{
"name": "atomicChildIndices",
"baseName": "atomicChildIndices",
"type": "Array<number>"
},
{
"name": "nodeIdRaw",
"baseName": "nodeIdRaw",
"type": "BTObjectId"
},
{
"name": "firstChildField",
"baseName": "firstChildField",
"type": "number"
},
{
"name": "childListIndices",
"baseName": "childListIndices",
"type": "Array<number>"
},
{
"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 BTMSuppressionState.attributeTypeMap;
}
}