onshape-clients
Version:
The meta package for creating the various Onshape clients
132 lines (125 loc) • 3.32 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 { BTNameValuePair } from './bTNameValuePair';
export class BTPDMMetadataParams {
'name'?: string;
'id'?: string;
'state'?: BTPDMMetadataParams.StateEnum;
'description'?: string;
'revision'?: string;
'customProperties'?: Array<BTNameValuePair>;
'vendor'?: string;
'productLine'?: string;
'title1'?: string;
'title2'?: string;
'title3'?: string;
'partId'?: string;
'configuration'?: string;
'elementId'?: string;
'project'?: string;
'partNumber'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "state",
"baseName": "state",
"type": "BTPDMMetadataParams.StateEnum"
},
{
"name": "description",
"baseName": "description",
"type": "string"
},
{
"name": "revision",
"baseName": "revision",
"type": "string"
},
{
"name": "customProperties",
"baseName": "customProperties",
"type": "Array<BTNameValuePair>"
},
{
"name": "vendor",
"baseName": "vendor",
"type": "string"
},
{
"name": "productLine",
"baseName": "productLine",
"type": "string"
},
{
"name": "title1",
"baseName": "title1",
"type": "string"
},
{
"name": "title2",
"baseName": "title2",
"type": "string"
},
{
"name": "title3",
"baseName": "title3",
"type": "string"
},
{
"name": "partId",
"baseName": "partId",
"type": "string"
},
{
"name": "configuration",
"baseName": "configuration",
"type": "string"
},
{
"name": "elementId",
"baseName": "elementId",
"type": "string"
},
{
"name": "project",
"baseName": "project",
"type": "string"
},
{
"name": "partNumber",
"baseName": "partNumber",
"type": "string"
} ];
static getAttributeTypeMap() {
return BTPDMMetadataParams.attributeTypeMap;
}
}
export namespace BTPDMMetadataParams {
export enum StateEnum {
INPROGRESS = <any> 'IN_PROGRESS',
PENDING = <any> 'PENDING',
RELEASED = <any> 'RELEASED',
OBSOLETE = <any> 'OBSOLETE',
REJECTED = <any> 'REJECTED',
DISCARDED = <any> 'DISCARDED'
}
}