/** * 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 { BTLocationInfo } from './bTLocationInfo'; import { BTNodeReference } from './bTNodeReference'; import { BTObjectId } from './bTObjectId'; export class BTNotice { 'locationInfos'?: Array; 'message'?: string; 'stackTrace'?: Array; 'type'?: BTNotice.TypeEnum; 'level'?: BTNotice.LevelEnum; 'parameterId'?: string; 'changeableChildFieldIndices'?: Array; 'firstChildField'?: number; 'childListIndices'?: Array; 'tryNode'?: BTNodeReference; 'nodeId'?: string; 'childMapIndices'?: Array; 'atomicChildIndices'?: Array; 'nodeIdRaw'?: BTObjectId; 'typeId'?: number; 'exportTypeName'?: string; 'connectionSource'?: BTConnection; 'unknownClass'?: boolean; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "locationInfos", "baseName": "locationInfos", "type": "Array" }, { "name": "message", "baseName": "message", "type": "string" }, { "name": "stackTrace", "baseName": "stackTrace", "type": "Array" }, { "name": "type", "baseName": "type", "type": "BTNotice.TypeEnum" }, { "name": "level", "baseName": "level", "type": "BTNotice.LevelEnum" }, { "name": "parameterId", "baseName": "parameterId", "type": "string" }, { "name": "changeableChildFieldIndices", "baseName": "changeableChildFieldIndices", "type": "Array" }, { "name": "firstChildField", "baseName": "firstChildField", "type": "number" }, { "name": "childListIndices", "baseName": "childListIndices", "type": "Array" }, { "name": "tryNode", "baseName": "tryNode", "type": "BTNodeReference" }, { "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": "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 BTNotice.attributeTypeMap; } } export namespace BTNotice { export enum TypeEnum { PARSE = 'PARSE', SEMANTIC = 'SEMANTIC', EXECUTION = 'EXECUTION', GEOMETRY = 'GEOMETRY', TEST = 'TEST', OTHER = 'OTHER', UNKNOWN = 'UNKNOWN' } export enum LevelEnum { INTERNAL = 'INTERNAL', ERROR = 'ERROR', WARNING = 'WARNING', INFO = 'INFO', UNKNOWN = 'UNKNOWN' } }