onshape-clients
Version:
The meta package for creating the various Onshape clients
105 lines (98 loc) • 2.8 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 { BTObjectId } from './bTObjectId';
export class BTPSpace {
'text'?: string;
'lines'?: Array<string>;
'changeableChildFieldIndices'?: Array<number>;
'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": "text",
"baseName": "text",
"type": "string"
},
{
"name": "lines",
"baseName": "lines",
"type": "Array<string>"
},
{
"name": "changeableChildFieldIndices",
"baseName": "changeableChildFieldIndices",
"type": "Array<number>"
},
{
"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 BTPSpace.attributeTypeMap;
}
}