onshape-clients
Version:
The meta package for creating the various Onshape clients
67 lines (60 loc) • 1.65 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 BTRevisionRuleParams {
'name'?: string;
'description'?: string;
'script'?: string;
'companyId'?: string;
'revisionList'?: Array<string>;
'ruleType'?: number;
'validationRegex'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "description",
"baseName": "description",
"type": "string"
},
{
"name": "script",
"baseName": "script",
"type": "string"
},
{
"name": "companyId",
"baseName": "companyId",
"type": "string"
},
{
"name": "revisionList",
"baseName": "revisionList",
"type": "Array<string>"
},
{
"name": "ruleType",
"baseName": "ruleType",
"type": "number"
},
{
"name": "validationRegex",
"baseName": "validationRegex",
"type": "string"
} ];
static getAttributeTypeMap() {
return BTRevisionRuleParams.attributeTypeMap;
}
}