UNPKG

onshape-clients

Version:

The meta package for creating the various Onshape clients

87 lines (80 loc) 2.26 kB
/** * 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 { BTPermissionSet } from './bTPermissionSet'; import { BTShareEntryParams } from './bTShareEntryParams'; export class BTShareParams { 'message'?: string; 'entries'?: Array<BTShareEntryParams>; 'permission'?: number; 'encodedConfiguration'?: string; 'documentId'?: string; 'workspaceId'?: string; 'elementId'?: string; 'folderId'?: string; 'permissionSet'?: BTPermissionSet; 'update'?: boolean; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "message", "baseName": "message", "type": "string" }, { "name": "entries", "baseName": "entries", "type": "Array<BTShareEntryParams>" }, { "name": "permission", "baseName": "permission", "type": "number" }, { "name": "encodedConfiguration", "baseName": "encodedConfiguration", "type": "string" }, { "name": "documentId", "baseName": "documentId", "type": "string" }, { "name": "workspaceId", "baseName": "workspaceId", "type": "string" }, { "name": "elementId", "baseName": "elementId", "type": "string" }, { "name": "folderId", "baseName": "folderId", "type": "string" }, { "name": "permissionSet", "baseName": "permissionSet", "type": "BTPermissionSet" }, { "name": "update", "baseName": "update", "type": "boolean" } ]; static getAttributeTypeMap() { return BTShareParams.attributeTypeMap; } }