UNPKG

onshape-clients

Version:

The meta package for creating the various Onshape clients

56 lines (49 loc) 1.42 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 { BodyPartHeaders } from './bodyPartHeaders'; export class RequestBody { 'description'?: string; 'content'?: BodyPartHeaders; 'required'?: boolean; 'extensions'?: { [key: string]: any; }; 'get$ref'?: string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "description", "baseName": "description", "type": "string" }, { "name": "content", "baseName": "content", "type": "BodyPartHeaders" }, { "name": "required", "baseName": "required", "type": "boolean" }, { "name": "extensions", "baseName": "extensions", "type": "{ [key: string]: any; }" }, { "name": "get$ref", "baseName": "get$ref", "type": "string" } ]; static getAttributeTypeMap() { return RequestBody.attributeTypeMap; } }