onshape-clients
Version:
The meta package for creating the various Onshape clients
58 lines (51 loc) • 1.68 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 { BTAppElementHistoryEntryInfo } from './bTAppElementHistoryEntryInfo';
export class BTAppElementHistoryInfo {
'changes'?: Array<BTAppElementHistoryEntryInfo>;
'errorCode'?: number;
'errorValue'?: BTAppElementHistoryInfo.ErrorValueEnum;
'errorDescription'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "changes",
"baseName": "changes",
"type": "Array<BTAppElementHistoryEntryInfo>"
},
{
"name": "errorCode",
"baseName": "errorCode",
"type": "number"
},
{
"name": "errorValue",
"baseName": "errorValue",
"type": "BTAppElementHistoryInfo.ErrorValueEnum"
},
{
"name": "errorDescription",
"baseName": "errorDescription",
"type": "string"
} ];
static getAttributeTypeMap() {
return BTAppElementHistoryInfo.attributeTypeMap;
}
}
export namespace BTAppElementHistoryInfo {
export enum ErrorValueEnum {
OK = <any> 'OK',
TRANSACTIONCONFLICT = <any> 'TRANSACTION_CONFLICT',
NOTFOUND = <any> 'NOT_FOUND',
INCONSISTENTCHANGES = <any> 'INCONSISTENT_CHANGES'
}
}