UNPKG

onshape-clients

Version:

The meta package for creating the various Onshape clients

74 lines (67 loc) 1.97 kB
/** * 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 { BTESDocumentHit } from './bTESDocumentHit'; export class BTDocumentSearchHitInfo { 'name'?: string; 'type'?: string; 'documentId'?: string; 'sourceMap'?: { [key: string]: any; }; 'highlightedFields'?: { [key: string]: Array<string>; }; 'hit'?: BTESDocumentHit; 'versionOrWorkspaceName'?: string; 'elementName'?: string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", "type": "string" }, { "name": "type", "baseName": "type", "type": "string" }, { "name": "documentId", "baseName": "documentId", "type": "string" }, { "name": "sourceMap", "baseName": "sourceMap", "type": "{ [key: string]: any; }" }, { "name": "highlightedFields", "baseName": "highlightedFields", "type": "{ [key: string]: Array<string>; }" }, { "name": "hit", "baseName": "hit", "type": "BTESDocumentHit" }, { "name": "versionOrWorkspaceName", "baseName": "versionOrWorkspaceName", "type": "string" }, { "name": "elementName", "baseName": "elementName", "type": "string" } ]; static getAttributeTypeMap() { return BTDocumentSearchHitInfo.attributeTypeMap; } }