/** * 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'; import { BTPSpace } from './bTPSpace'; export class BTPLiteralString { 'value'?: string; 'text'?: string; 'shortDescriptor'?: string; 'changeableChildFieldIndices'?: Array; 'firstChildField'?: number; 'atomic'?: boolean; 'startSourceLocation'?: number; 'endSourceLocation'?: number; 'documentationType'?: BTPLiteralString.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": "value", "baseName": "value", "type": "string" }, { "name": "text", "baseName": "text", "type": "string" }, { "name": "shortDescriptor", "baseName": "shortDescriptor", "type": "string" }, { "name": "changeableChildFieldIndices", "baseName": "changeableChildFieldIndices", "type": "Array" }, { "name": "firstChildField", "baseName": "firstChildField", "type": "number" }, { "name": "atomic", "baseName": "atomic", "type": "boolean" }, { "name": "startSourceLocation", "baseName": "startSourceLocation", "type": "number" }, { "name": "endSourceLocation", "baseName": "endSourceLocation", "type": "number" }, { "name": "documentationType", "baseName": "documentationType", "type": "BTPLiteralString.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 BTPLiteralString.attributeTypeMap; } } export namespace BTPLiteralString { export enum DocumentationTypeEnum { FUNCTION = 'FUNCTION', PREDICATE = 'PREDICATE', CONSTANT = 'CONSTANT', ENUM = 'ENUM', USERTYPE = 'USER_TYPE', FEATUREDEFINITION = 'FEATURE_DEFINITION', FILEHEADER = 'FILE_HEADER', UNDOCUMENTABLE = 'UNDOCUMENTABLE', UNKNOWN = 'UNKNOWN' } }