/** * 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 BTImportForeignDataParams { 'size'?: number; 'fileFormat'?: BTImportForeignDataParams.FileFormatEnum; 'publicDocument'?: boolean; 'notifyUser'?: boolean; 'ownerType'?: BTImportForeignDataParams.OwnerTypeEnum; 'filename'?: string; 'documentId'?: string; 'mediaType'?: string; 'ownerId'?: string; 'foreignId'?: string; 'uploadId'?: string; 'projectId'?: string; 'parentId'?: string; 'updateExistingImportFeatures'?: boolean; 'blobMicroversionId'?: string; 'originalForeignId'?: string; 'blobElementId'?: string; 'specifyUnits'?: boolean; 'splitAssembliesIntoMultipleDocuments'?: boolean; 'flattenAssemblies'?: boolean; 'getyAxisIsUp'?: boolean; 'allowFaultyParts'?: boolean; 'unit'?: string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "size", "baseName": "size", "type": "number" }, { "name": "fileFormat", "baseName": "fileFormat", "type": "BTImportForeignDataParams.FileFormatEnum" }, { "name": "publicDocument", "baseName": "publicDocument", "type": "boolean" }, { "name": "notifyUser", "baseName": "notifyUser", "type": "boolean" }, { "name": "ownerType", "baseName": "ownerType", "type": "BTImportForeignDataParams.OwnerTypeEnum" }, { "name": "filename", "baseName": "filename", "type": "string" }, { "name": "documentId", "baseName": "documentId", "type": "string" }, { "name": "mediaType", "baseName": "mediaType", "type": "string" }, { "name": "ownerId", "baseName": "ownerId", "type": "string" }, { "name": "foreignId", "baseName": "foreignId", "type": "string" }, { "name": "uploadId", "baseName": "uploadId", "type": "string" }, { "name": "projectId", "baseName": "projectId", "type": "string" }, { "name": "parentId", "baseName": "parentId", "type": "string" }, { "name": "updateExistingImportFeatures", "baseName": "updateExistingImportFeatures", "type": "boolean" }, { "name": "blobMicroversionId", "baseName": "blobMicroversionId", "type": "string" }, { "name": "originalForeignId", "baseName": "originalForeignId", "type": "string" }, { "name": "blobElementId", "baseName": "blobElementId", "type": "string" }, { "name": "specifyUnits", "baseName": "specifyUnits", "type": "boolean" }, { "name": "splitAssembliesIntoMultipleDocuments", "baseName": "splitAssembliesIntoMultipleDocuments", "type": "boolean" }, { "name": "flattenAssemblies", "baseName": "flattenAssemblies", "type": "boolean" }, { "name": "getyAxisIsUp", "baseName": "getyAxisIsUp", "type": "boolean" }, { "name": "allowFaultyParts", "baseName": "allowFaultyParts", "type": "boolean" }, { "name": "unit", "baseName": "unit", "type": "string" } ]; static getAttributeTypeMap() { return BTImportForeignDataParams.attributeTypeMap; } } export namespace BTImportForeignDataParams { export enum FileFormatEnum { ONSHAPEONSHAPE = 'ONSHAPE_ONSHAPE', PARASOLIDXT = 'PARASOLID_XT', PARASOLIDXB = 'PARASOLID_XB', PARASOLIDXMTTXT = 'PARASOLID_XMT_TXT', PARASOLIDXMTBIN = 'PARASOLID_XMT_BIN', ACISSAT = 'ACIS_SAT', STEPSTEP = 'STEP_STEP', IGESIGES = 'IGES_IGES', SOLIDWORKSSLDPRT = 'SOLIDWORKS_SLDPRT', SOLIDWORKSSLDASM = 'SOLIDWORKS_SLDASM', SOLIDWORKSZIP = 'SOLIDWORKS_ZIP', INVENTORIPRT = 'INVENTOR_IPRT', INVENTORIAM = 'INVENTOR_IAM', PROEPRTORNX = 'PROE_PRT_OR_NX', PROEASM = 'PROE_ASM', SOLIDEDGEPAR = 'SOLIDEDGE_PAR', CATIAV5CATPART = 'CATIAV5_CATPART', CATIAV5CATPRODUCT = 'CATIAV5_CATPRODUCT', JTJT = 'JT_JT', COLLADADAE = 'COLLADA_DAE', RHINO3DM = 'RHINO_3DM', STLSTL = 'STL_STL', OBJOBJ = 'OBJ_OBJ' } export enum OwnerTypeEnum { USER = 'USER', COMPANY = 'COMPANY', ONSHAPE = 'ONSHAPE' } }