onshape-clients
Version:
The meta package for creating the various Onshape clients
161 lines (154 loc) • 4.27 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 { BTCommentInfo } from './bTCommentInfo';
import { BTMetadataPropertyInfo } from './bTMetadataPropertyInfo';
import { BTReleasePackageItemInfo } from './bTReleasePackageItemInfo';
import { BTWorkflowInfo } from './bTWorkflowInfo';
export class BTReleasePackageInfo {
'properties'?: Array<BTMetadataPropertyInfo>;
'isSetup'?: boolean;
'detailed'?: boolean;
'columnNames'?: { [key: string]: string; };
'comments'?: Array<BTCommentInfo>;
'items'?: Array<BTReleasePackageItemInfo>;
'packageThumbnail'?: string;
'description'?: string;
'workspaceId'?: string;
'isObsoletion'?: boolean;
'versionId'?: string;
'documentId'?: string;
'companyId'?: string;
'workflow'?: BTWorkflowInfo;
'isFrozen'?: boolean;
'revisionRuleId'?: string;
'linkedVersionIds'?: Array<string>;
'isDiscarded'?: boolean;
'name'?: string;
'id'?: string;
'href'?: string;
'viewRef'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "properties",
"baseName": "properties",
"type": "Array<BTMetadataPropertyInfo>"
},
{
"name": "isSetup",
"baseName": "isSetup",
"type": "boolean"
},
{
"name": "detailed",
"baseName": "detailed",
"type": "boolean"
},
{
"name": "columnNames",
"baseName": "columnNames",
"type": "{ [key: string]: string; }"
},
{
"name": "comments",
"baseName": "comments",
"type": "Array<BTCommentInfo>"
},
{
"name": "items",
"baseName": "items",
"type": "Array<BTReleasePackageItemInfo>"
},
{
"name": "packageThumbnail",
"baseName": "packageThumbnail",
"type": "string"
},
{
"name": "description",
"baseName": "description",
"type": "string"
},
{
"name": "workspaceId",
"baseName": "workspaceId",
"type": "string"
},
{
"name": "isObsoletion",
"baseName": "isObsoletion",
"type": "boolean"
},
{
"name": "versionId",
"baseName": "versionId",
"type": "string"
},
{
"name": "documentId",
"baseName": "documentId",
"type": "string"
},
{
"name": "companyId",
"baseName": "companyId",
"type": "string"
},
{
"name": "workflow",
"baseName": "workflow",
"type": "BTWorkflowInfo"
},
{
"name": "isFrozen",
"baseName": "isFrozen",
"type": "boolean"
},
{
"name": "revisionRuleId",
"baseName": "revisionRuleId",
"type": "string"
},
{
"name": "linkedVersionIds",
"baseName": "linkedVersionIds",
"type": "Array<string>"
},
{
"name": "isDiscarded",
"baseName": "isDiscarded",
"type": "boolean"
},
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "href",
"baseName": "href",
"type": "string"
},
{
"name": "viewRef",
"baseName": "viewRef",
"type": "string"
} ];
static getAttributeTypeMap() {
return BTReleasePackageInfo.attributeTypeMap;
}
}