onshape-clients
Version:
The meta package for creating the various Onshape clients
75 lines (68 loc) • 2.01 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.
*/
export class BTAppElementModifyInfo {
'elementId'?: string;
'changeId'?: string;
'parentChangeId'?: string;
'transactionId'?: string;
'errorCode'?: number;
'errorValue'?: BTAppElementModifyInfo.ErrorValueEnum;
'errorDescription'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "elementId",
"baseName": "elementId",
"type": "string"
},
{
"name": "changeId",
"baseName": "changeId",
"type": "string"
},
{
"name": "parentChangeId",
"baseName": "parentChangeId",
"type": "string"
},
{
"name": "transactionId",
"baseName": "transactionId",
"type": "string"
},
{
"name": "errorCode",
"baseName": "errorCode",
"type": "number"
},
{
"name": "errorValue",
"baseName": "errorValue",
"type": "BTAppElementModifyInfo.ErrorValueEnum"
},
{
"name": "errorDescription",
"baseName": "errorDescription",
"type": "string"
} ];
static getAttributeTypeMap() {
return BTAppElementModifyInfo.attributeTypeMap;
}
}
export namespace BTAppElementModifyInfo {
export enum ErrorValueEnum {
OK = <any> 'OK',
TRANSACTIONCONFLICT = <any> 'TRANSACTION_CONFLICT',
NOTFOUND = <any> 'NOT_FOUND',
INCONSISTENTCHANGES = <any> 'INCONSISTENT_CHANGES'
}
}