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