onshape-clients
Version:
The meta package for creating the various Onshape clients
64 lines (57 loc) • 1.69 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 { BodyPartHeaders } from './bodyPartHeaders';
import { Header } from './header';
import { Link } from './link';
export class ApiResponse {
'description'?: string;
'headers'?: { [key: string]: Header; };
'content'?: BodyPartHeaders;
'links'?: { [key: string]: Link; };
'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": "headers",
"baseName": "headers",
"type": "{ [key: string]: Header; }"
},
{
"name": "content",
"baseName": "content",
"type": "BodyPartHeaders"
},
{
"name": "links",
"baseName": "links",
"type": "{ [key: string]: Link; }"
},
{
"name": "extensions",
"baseName": "extensions",
"type": "{ [key: string]: any; }"
},
{
"name": "get$ref",
"baseName": "get$ref",
"type": "string"
} ];
static getAttributeTypeMap() {
return ApiResponse.attributeTypeMap;
}
}