/** * 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 { BTDocumentWithVersionAndElementId } from './bTDocumentWithVersionAndElementId'; import { BTDocumentWithVersionId } from './bTDocumentWithVersionId'; import { BTObjectId } from './bTObjectId'; import { BTPLiteralString } from './bTPLiteralString'; import { BTPSpace } from './bTPSpace'; export class BTPModuleId { 'importedElementId'?: string; 'elementImport'?: boolean; 'potentiallyValid'?: boolean; 'validLegacyVersion'?: boolean; 'pathVersion'?: string; 'importedVersionId'?: string; 'dbimportString'?: string; 'versionAndMicroversion'?: string; 'externalImport'?: boolean; 'importedDocumentId'?: string; 'legacy'?: boolean; 'externalDocumentWithVersionAndElementId'?: BTDocumentWithVersionAndElementId; 'externalDocumentWithVersion'?: BTDocumentWithVersionId; 'shortDescriptor'?: string; 'path'?: BTPLiteralString; 'microversion'?: string; 'version'?: BTPLiteralString; 'changeableChildFieldIndices'?: Array; 'firstChildField'?: number; 'spaceBeforePath'?: BTPSpace; 'spaceAfterPath'?: BTPSpace; 'spaceBeforeVersion'?: BTPSpace; 'spaceAfterVersion'?: BTPSpace; 'atomic'?: boolean; 'startSourceLocation'?: number; 'endSourceLocation'?: number; 'documentationType'?: BTPModuleId.DocumentationTypeEnum; 'spaceBefore'?: BTPSpace; 'spaceAfter'?: BTPSpace; 'spaceDefault'?: boolean; 'nodeId'?: string; 'childMapIndices'?: Array; 'atomicChildIndices'?: Array; 'nodeIdRaw'?: BTObjectId; 'childListIndices'?: Array; 'typeId'?: number; 'exportTypeName'?: string; 'connectionSource'?: BTConnection; 'unknownClass'?: boolean; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "importedElementId", "baseName": "importedElementId", "type": "string" }, { "name": "elementImport", "baseName": "elementImport", "type": "boolean" }, { "name": "potentiallyValid", "baseName": "potentiallyValid", "type": "boolean" }, { "name": "validLegacyVersion", "baseName": "validLegacyVersion", "type": "boolean" }, { "name": "pathVersion", "baseName": "pathVersion", "type": "string" }, { "name": "importedVersionId", "baseName": "importedVersionId", "type": "string" }, { "name": "dbimportString", "baseName": "dbimportString", "type": "string" }, { "name": "versionAndMicroversion", "baseName": "versionAndMicroversion", "type": "string" }, { "name": "externalImport", "baseName": "externalImport", "type": "boolean" }, { "name": "importedDocumentId", "baseName": "importedDocumentId", "type": "string" }, { "name": "legacy", "baseName": "legacy", "type": "boolean" }, { "name": "externalDocumentWithVersionAndElementId", "baseName": "externalDocumentWithVersionAndElementId", "type": "BTDocumentWithVersionAndElementId" }, { "name": "externalDocumentWithVersion", "baseName": "externalDocumentWithVersion", "type": "BTDocumentWithVersionId" }, { "name": "shortDescriptor", "baseName": "shortDescriptor", "type": "string" }, { "name": "path", "baseName": "path", "type": "BTPLiteralString" }, { "name": "microversion", "baseName": "microversion", "type": "string" }, { "name": "version", "baseName": "version", "type": "BTPLiteralString" }, { "name": "changeableChildFieldIndices", "baseName": "changeableChildFieldIndices", "type": "Array" }, { "name": "firstChildField", "baseName": "firstChildField", "type": "number" }, { "name": "spaceBeforePath", "baseName": "spaceBeforePath", "type": "BTPSpace" }, { "name": "spaceAfterPath", "baseName": "spaceAfterPath", "type": "BTPSpace" }, { "name": "spaceBeforeVersion", "baseName": "spaceBeforeVersion", "type": "BTPSpace" }, { "name": "spaceAfterVersion", "baseName": "spaceAfterVersion", "type": "BTPSpace" }, { "name": "atomic", "baseName": "atomic", "type": "boolean" }, { "name": "startSourceLocation", "baseName": "startSourceLocation", "type": "number" }, { "name": "endSourceLocation", "baseName": "endSourceLocation", "type": "number" }, { "name": "documentationType", "baseName": "documentationType", "type": "BTPModuleId.DocumentationTypeEnum" }, { "name": "spaceBefore", "baseName": "spaceBefore", "type": "BTPSpace" }, { "name": "spaceAfter", "baseName": "spaceAfter", "type": "BTPSpace" }, { "name": "spaceDefault", "baseName": "spaceDefault", "type": "boolean" }, { "name": "nodeId", "baseName": "nodeId", "type": "string" }, { "name": "childMapIndices", "baseName": "childMapIndices", "type": "Array" }, { "name": "atomicChildIndices", "baseName": "atomicChildIndices", "type": "Array" }, { "name": "nodeIdRaw", "baseName": "nodeIdRaw", "type": "BTObjectId" }, { "name": "childListIndices", "baseName": "childListIndices", "type": "Array" }, { "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 BTPModuleId.attributeTypeMap; } } export namespace BTPModuleId { export enum DocumentationTypeEnum { FUNCTION = 'FUNCTION', PREDICATE = 'PREDICATE', CONSTANT = 'CONSTANT', ENUM = 'ENUM', USERTYPE = 'USER_TYPE', FEATUREDEFINITION = 'FEATURE_DEFINITION', FILEHEADER = 'FILE_HEADER', UNDOCUMENTABLE = 'UNDOCUMENTABLE', UNKNOWN = 'UNKNOWN' } }