onshape-clients
Version:
The meta package for creating the various Onshape clients
70 lines (63 loc) • 1.82 kB
text/typescript
/**
* 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 { Header } from './header';
export class Encoding {
'contentType'?: string;
'headers'?: { [key: string]: Header; };
'style'?: Encoding.StyleEnum;
'explode'?: boolean;
'allowReserved'?: boolean;
'extensions'?: { [key: string]: any; };
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "contentType",
"baseName": "contentType",
"type": "string"
},
{
"name": "headers",
"baseName": "headers",
"type": "{ [key: string]: Header; }"
},
{
"name": "style",
"baseName": "style",
"type": "Encoding.StyleEnum"
},
{
"name": "explode",
"baseName": "explode",
"type": "boolean"
},
{
"name": "allowReserved",
"baseName": "allowReserved",
"type": "boolean"
},
{
"name": "extensions",
"baseName": "extensions",
"type": "{ [key: string]: any; }"
} ];
static getAttributeTypeMap() {
return Encoding.attributeTypeMap;
}
}
export namespace Encoding {
export enum StyleEnum {
Form = <any> 'form',
SpaceDelimited = <any> 'spaceDelimited',
PipeDelimited = <any> 'pipeDelimited',
DeepObject = <any> 'deepObject'
}
}