UNPKG

onshape-clients

Version:

The meta package for creating the various Onshape clients

92 lines (85 loc) 2.27 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 { Example } from './example'; import { Schema } from './schema'; export class Header { 'description'?: string; 'get$ref'?: string; 'required'?: boolean; 'deprecated'?: boolean; 'style'?: Header.StyleEnum; 'explode'?: boolean; 'schema'?: Schema; 'examples'?: { [key: string]: Example; }; 'example'?: any; 'extensions'?: { [key: string]: any; }; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "description", "baseName": "description", "type": "string" }, { "name": "get$ref", "baseName": "get$ref", "type": "string" }, { "name": "required", "baseName": "required", "type": "boolean" }, { "name": "deprecated", "baseName": "deprecated", "type": "boolean" }, { "name": "style", "baseName": "style", "type": "Header.StyleEnum" }, { "name": "explode", "baseName": "explode", "type": "boolean" }, { "name": "schema", "baseName": "schema", "type": "Schema" }, { "name": "examples", "baseName": "examples", "type": "{ [key: string]: Example; }" }, { "name": "example", "baseName": "example", "type": "any" }, { "name": "extensions", "baseName": "extensions", "type": "{ [key: string]: any; }" } ]; static getAttributeTypeMap() { return Header.attributeTypeMap; } } export namespace Header { export enum StyleEnum { Simple = <any> 'simple' } }