onshape-clients
Version:
The meta package for creating the various Onshape clients
169 lines (162 loc) • 4.4 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 BTMoveElementParams {
'name'?: string;
'isCopy'?: boolean;
'generateUnknownMessages'?: boolean;
'needNewVersion'?: boolean;
'isDeepCopy'?: boolean;
'anchorElementId'?: string;
'description'?: string;
'tags'?: Array<string>;
'targetDocumentId'?: string;
'sourceDocumentId'?: string;
'sourceWorkspaceId'?: string;
'ownerId'?: string;
'ownerType'?: number;
'isGroupAnchor'?: boolean;
'targetWorkspaceId'?: string;
'elements'?: Array<string>;
'projectId'?: string;
'parentId'?: string;
'isPublic'?: boolean;
'versionName'?: string;
'importData'?: Array<string>;
'elementOriginalToNewMap'?: { [key: string]: string; };
'isNewDocument'?: boolean;
'ownerEmail'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "isCopy",
"baseName": "isCopy",
"type": "boolean"
},
{
"name": "generateUnknownMessages",
"baseName": "generateUnknownMessages",
"type": "boolean"
},
{
"name": "needNewVersion",
"baseName": "needNewVersion",
"type": "boolean"
},
{
"name": "isDeepCopy",
"baseName": "isDeepCopy",
"type": "boolean"
},
{
"name": "anchorElementId",
"baseName": "anchorElementId",
"type": "string"
},
{
"name": "description",
"baseName": "description",
"type": "string"
},
{
"name": "tags",
"baseName": "tags",
"type": "Array<string>"
},
{
"name": "targetDocumentId",
"baseName": "targetDocumentId",
"type": "string"
},
{
"name": "sourceDocumentId",
"baseName": "sourceDocumentId",
"type": "string"
},
{
"name": "sourceWorkspaceId",
"baseName": "sourceWorkspaceId",
"type": "string"
},
{
"name": "ownerId",
"baseName": "ownerId",
"type": "string"
},
{
"name": "ownerType",
"baseName": "ownerType",
"type": "number"
},
{
"name": "isGroupAnchor",
"baseName": "isGroupAnchor",
"type": "boolean"
},
{
"name": "targetWorkspaceId",
"baseName": "targetWorkspaceId",
"type": "string"
},
{
"name": "elements",
"baseName": "elements",
"type": "Array<string>"
},
{
"name": "projectId",
"baseName": "projectId",
"type": "string"
},
{
"name": "parentId",
"baseName": "parentId",
"type": "string"
},
{
"name": "isPublic",
"baseName": "isPublic",
"type": "boolean"
},
{
"name": "versionName",
"baseName": "versionName",
"type": "string"
},
{
"name": "importData",
"baseName": "importData",
"type": "Array<string>"
},
{
"name": "elementOriginalToNewMap",
"baseName": "elementOriginalToNewMap",
"type": "{ [key: string]: string; }"
},
{
"name": "isNewDocument",
"baseName": "isNewDocument",
"type": "boolean"
},
{
"name": "ownerEmail",
"baseName": "ownerEmail",
"type": "string"
} ];
static getAttributeTypeMap() {
return BTMoveElementParams.attributeTypeMap;
}
}